meteor-node-stubs 1.2.6 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ v1.2.8 - 2024-04-01
2
+ * Add new dependency `@meteorjs/crypto-browserify` to replace `crypto-browserify` as it had unsafe dependencies.
3
+
1
4
  v1.2.1 - 2022-03-17
2
5
 
3
6
  * Fix the missing dependencies.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "meteor-node-stubs",
3
3
  "author": "Ben Newman <ben@meteor.com>",
4
4
  "description": "Stub implementations of Node built-in modules, a la Browserify",
5
- "version": "1.2.6",
5
+ "version": "1.2.8",
6
6
  "main": "index.js",
7
7
  "license": "MIT",
8
8
  "homepage": "https://github.com/meteor/meteor/blob/devel/npm-packages/meteor-node-stubs/README.md",
@@ -11,12 +11,12 @@
11
11
  "prepare": "node scripts/build-deps.js"
12
12
  },
13
13
  "dependencies": {
14
+ "@meteorjs/crypto-browserify": "^3.12.1",
14
15
  "assert": "^2.1.0",
15
16
  "browserify-zlib": "^0.2.0",
16
17
  "buffer": "^5.7.1",
17
18
  "console-browserify": "^1.2.0",
18
19
  "constants-browserify": "^1.0.0",
19
- "crypto-browserify": "^3.12.0",
20
20
  "domain-browser": "^4.23.0",
21
21
  "elliptic": "^6.5.4",
22
22
  "events": "^3.3.0",
@@ -37,12 +37,12 @@
37
37
  "vm-browserify": "^1.1.2"
38
38
  },
39
39
  "bundledDependencies": [
40
+ "@meteorjs/crypto-browserify",
40
41
  "assert",
41
42
  "browserify-zlib",
42
43
  "buffer",
43
44
  "console-browserify",
44
45
  "constants-browserify",
45
- "crypto-browserify",
46
46
  "domain-browser",
47
47
  "events",
48
48
  "https-browserify",
@@ -1,2 +1,2 @@
1
1
  global.Buffer = global.Buffer || require("buffer").Buffer;
2
- module.exports = require("crypto-browserify");
2
+ module.exports = require("@meteorjs/crypto-browserify");