Skip to content

Commit b1f3505

Browse files
authored
Merge pull request #6 from paulmillr/no-deps
Rewrite the package. Use 3 deps instead of 39+
2 parents 451dc49 + 66b4575 commit b1f3505

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+24701
-20104
lines changed

Diff for: .github/workflows/nodejs.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Node CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [12.x, 14.x, 16.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: npm install, build, and test
21+
run: |
22+
npm install
23+
npm run test
24+
npm run browser-tests
25+
npm run lint
26+
env:
27+
CI: true

Diff for: .gitignore

+2-11
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,7 @@
22
/*.js.map
33
/*.d.ts
44
/*.d.ts.map
5-
/pure
6-
/shims
5+
/bip39
76
/test-builds
87
/node_modules
9-
/scryptsy-without-crypto-build
10-
/hdkey-without-crypto-build
11-
/bip39-without-wordlists
12-
/vendor
13-
/bip39
14-
elliptic-secp256k1.js
15-
scryptsy-without-crypto.js
16-
hdkey-without-crypto.js
17-
bip39-without-wordlists.js
8+
/.parcel-cache

Diff for: .gitmodules

-6
This file was deleted.

Diff for: .travis.yml

-22
This file was deleted.

Diff for: LICENSE

+17-22
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
1-
bip39-without-wordlist.js is based on bip39, which is released under the
2-
ISC license by the Wei Lu and Daniel Cousens. Its license complete license can be found here: https://github.com/bitcoinjs/bip39/blob/0a0e74eac9f4b753939dd6368984900fdba1975b/LICENSE
1+
The MIT License (MIT)
32

4-
hdkey-without-crypto.js is based on hdkey, which is released under the
5-
MIT license by the cryptocoinjs. Its license complete license can be found here: https://github.com/cryptocoinjs/hdkey/blob/87d5495ac8e4dfe9917ddcebf6788ce69c0695ff/LICENSE
3+
Copyright (c) 2021 Patricio Palladino, Paul Miller, ethereum-cryptography contributors
64

7-
The rest of the project is released under this license:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the “Software”), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
811

9-
Copyright 2019 The ethereum-cryptography contributors
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
1014

11-
Permission is hereby granted, free of charge, to any person obtaining a copy of
12-
this software and associated documentation files (the "Software"), to deal in
13-
the Software without restriction, including without limitation the rights to
14-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
15-
the Software, and to permit persons to whom the Software is furnished to do so,
16-
subject to the following conditions:
17-
18-
The above copyright notice and this permission notice shall be included in all
19-
copies or substantial portions of the Software.
20-
21-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
23-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
24-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
25-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
26-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)