@accordproject/concerto-cto 3.20.1 → 3.20.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@accordproject/concerto-cto",
|
|
3
|
-
"version": "3.20.
|
|
3
|
+
"version": "3.20.2",
|
|
4
4
|
"description": "Parser for Concerto CTO files",
|
|
5
5
|
"homepage": "https://github.com/accordproject/concerto",
|
|
6
6
|
"engines": {
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"eslint": "8.57.1",
|
|
46
46
|
"jsdoc": "^4.0.4",
|
|
47
47
|
"mocha": "10.8.2",
|
|
48
|
+
"node-polyfill-webpack-plugin": "4.0.0",
|
|
48
49
|
"nyc": "17.1.0",
|
|
49
50
|
"peggy": "4.2.0",
|
|
50
51
|
"sinon": "19.0.2",
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
},
|
|
53
54
|
"dependencies": {
|
|
54
55
|
"@accordproject/concerto-metamodel": "3.10.4",
|
|
55
|
-
"@accordproject/concerto-util": "3.20.
|
|
56
|
+
"@accordproject/concerto-util": "3.20.2"
|
|
56
57
|
},
|
|
57
58
|
"browserslist": "> 0.25%, not dead",
|
|
58
59
|
"nyc": {
|
package/webpack.config.js
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
let path = require('path');
|
|
18
18
|
const webpack = require('webpack');
|
|
19
|
+
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');
|
|
19
20
|
|
|
20
21
|
const packageJson = require('./package.json');
|
|
21
22
|
|
|
@@ -45,6 +46,7 @@ module.exports = {
|
|
|
45
46
|
'NODE_ENV': JSON.stringify('production')
|
|
46
47
|
}
|
|
47
48
|
}),
|
|
49
|
+
new NodePolyfillPlugin(),
|
|
48
50
|
],
|
|
49
51
|
module: {
|
|
50
52
|
rules: [
|
|
@@ -64,7 +66,18 @@ module.exports = {
|
|
|
64
66
|
// Webpack 5 no longer polyfills Node.js core modules automatically.
|
|
65
67
|
// see https://webpack.js.org/configuration/resolve/#resolvefallback
|
|
66
68
|
// for the list of Node.js core module polyfills.
|
|
67
|
-
'
|
|
69
|
+
'fs': false,
|
|
70
|
+
'tls': false,
|
|
71
|
+
'net': false,
|
|
72
|
+
'child_process': false,
|
|
73
|
+
'os': false,
|
|
74
|
+
'path': false,
|
|
75
|
+
// 'crypto': require.resolve('crypto-browserify'),
|
|
76
|
+
// 'stream': require.resolve('stream-browserify'),
|
|
77
|
+
// 'http': require.resolve('stream-http'),
|
|
78
|
+
// 'https': require.resolve('https-browserify'),
|
|
79
|
+
// 'zlib': require.resolve('browserify-zlib'),
|
|
80
|
+
// 'vm2': require.resolve('vm-browserify'),
|
|
68
81
|
}
|
|
69
82
|
}
|
|
70
|
-
};
|
|
83
|
+
};
|