workarounds for node 17

development
Dave Morrissey 2021-11-27 17:51:03 +11:00
parent c9753a2691
commit bd70a74074
4 changed files with 31 additions and 2 deletions

28
package-lock.json generated
View File

@ -17,6 +17,7 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@lerna/filter-options": "^4.0.0", "@lerna/filter-options": "^4.0.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1", "css-loader": "^6.5.1",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"lerna": "^4.0.0", "lerna": "^4.0.0",
@ -4923,6 +4924,24 @@
"node": ">=10" "node": ">=10"
} }
}, },
"node_modules/cross-env": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
"dev": true,
"dependencies": {
"cross-spawn": "^7.0.1"
},
"bin": {
"cross-env": "src/bin/cross-env.js",
"cross-env-shell": "src/bin/cross-env-shell.js"
},
"engines": {
"node": ">=10.14",
"npm": ">=6",
"yarn": ">=1"
}
},
"node_modules/cross-spawn": { "node_modules/cross-spawn": {
"version": "7.0.3", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
@ -14917,6 +14936,15 @@
"yaml": "^1.10.0" "yaml": "^1.10.0"
} }
}, },
"cross-env": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
"dev": true,
"requires": {
"cross-spawn": "^7.0.1"
}
},
"cross-spawn": { "cross-spawn": {
"version": "7.0.3", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",

View File

@ -29,6 +29,7 @@
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@lerna/filter-options": "^4.0.0", "@lerna/filter-options": "^4.0.0",
"babel-loader": "^8.2.3", "babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1", "css-loader": "^6.5.1",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"lerna": "^4.0.0", "lerna": "^4.0.0",

View File

@ -4,7 +4,7 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "start-storybook -p 8901 -s ./public" "dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 8901 -s ./public"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",

View File

@ -4,7 +4,7 @@
"description": "", "description": "",
"main": "dist/maxgraph-react.js", "main": "dist/maxgraph-react.js",
"scripts": { "scripts": {
"dev": "start-storybook -p 8902" "dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 8902"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",