Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"func-style": "off",
"multiline-comment-style": "off",
"sort-keys": "off",
"no-magic-numbers": "off",
"max-params": "off"
},

"ignorePatterns": [
Expand Down
12 changes: 0 additions & 12 deletions .github/FUNDING.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
name: Test
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm i

- name: Run tests
run: npm test

- name: Upload coverage reports
uses: codecov/codecov-action@v3
if: matrix.node-version == '18.x'
with:
file: ./coverage/lcov.info
fail_ci_if_error: false

lint:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'

- name: Install dependencies
run: npm i

- name: Run linting
run: npm run lint
12 changes: 0 additions & 12 deletions .github/workflows/node-aught.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/node-pretest.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/node-tens.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/rebase.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/require-allow-edits.yml

This file was deleted.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Incompatibilities

* `randomBytes` is removed and will throw an exception. Bring your own CSPRNG for your runtime
* `randomfill`
* `createSign()` & `createVerify()` are carved out (could not get noble to work with it)

# crypto-browserify <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

A port of node's `crypto` module to the browser.
Expand Down
Loading
Loading