Skip to content

Commit

Permalink
INCOMPLETE: webcrypto detection depends on a release after nodejs/nod…
Browse files Browse the repository at this point in the history
…e#45987

feat: use built-in webcrypto and update for latest Node
  • Loading branch information
brettz9 committed Jan 18, 2023
1 parent 86ae602 commit e37fa3a
Show file tree
Hide file tree
Showing 6 changed files with 735 additions and 716 deletions.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {rollup} from 'rollup';
import {babel} from '@rollup/plugin-babel';
import {nodeResolve} from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import {terser} from 'rollup-plugin-terser';
import terser from '@rollup/plugin-terser';

// fs.promises is not available until Node 11 (and need for URL until 10.0.0)

Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,22 @@
"node": "^14.17.0 || >=16.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/eslint-parser": "^7.19.1",
"@babel/preset-env": "^7.20.2",
"@brettz9/eslint-plugin": "^1.0.4",
"@brettz9/node-static": "^0.1.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.3.0",
"c8": "^7.12.0",
"canvas": "^2.11.0",
"chai": "^4.3.7",
"eslint": "^8.31.0",
"eslint-config-ash-nazg": "^34.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-array-func": "^3.1.7",
"eslint-plugin-array-func": "^3.1.8",
"eslint-plugin-chai-expect": "^3.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-compat": "^4.0.2",
Expand All @@ -109,17 +110,15 @@
"eslint-plugin-unicorn": "^45.0.2",
"jsdom": "^20.0.3",
"mocha": "^10.2.0",
"node-webcrypto-ossl": "^2.1.3",
"open-cli": "^7.1.0",
"rollup": "^3.9.0",
"rollup-plugin-terser": "^7.0.2",
"rollup": "^3.9.1",
"socket.io": "^4.5.4",
"socket.io-client": "^4.5.4"
},
"dependencies": {
"base64-arraybuffer-es6": "^1.0.0",
"typeson": "^8.0.1",
"whatwg-url": "^11.0.0"
"whatwg-url": "^12.0.0"
},
"tonicExample": "var Typeson = require('typeson');\nvar TSON = new Typeson().register(require('typeson-registry/dist/presets/builtin'));\n\nTSON.stringify({foo: new Date()}, null, 2);"
}
Loading

0 comments on commit e37fa3a

Please sign in to comment.