@akemona-org/strapi-admin 3.8.1 → 3.8.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 +4 -4
- package/webpack.config.js +5 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "3.8.
|
|
6
|
+
"version": "3.8.2",
|
|
7
7
|
"description": "Strapi Admin",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@akemona-org/strapi-helper-plugin": "3.8.
|
|
21
|
-
"@akemona-org/strapi-utils": "3.8.
|
|
20
|
+
"@akemona-org/strapi-helper-plugin": "3.8.2",
|
|
21
|
+
"@akemona-org/strapi-utils": "3.8.2",
|
|
22
22
|
"@babel/core": "^7.14.0",
|
|
23
23
|
"@babel/plugin-proposal-async-generator-functions": "^7.13.15",
|
|
24
24
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
@@ -125,5 +125,5 @@
|
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"webpack-bundle-analyzer": "4.4.0"
|
|
127
127
|
},
|
|
128
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "5a43a32df993d5c7da278e02db5e1b9d06fa4189"
|
|
129
129
|
}
|
package/webpack.config.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const path = require('path');
|
|
4
|
+
const crypto = require('crypto');
|
|
5
|
+
// * patch for md4 ssl error (ERR_OSSL_EVP_UNSUPPORTED) in Node 18 (https://github.com/webpack/webpack/issues/13572#issuecomment-923736472)
|
|
6
|
+
const crypto_orig_createHash = crypto.createHash;
|
|
7
|
+
crypto.createHash = (algorithm) =>
|
|
8
|
+
crypto_orig_createHash(algorithm == 'md4' ? 'sha256' : algorithm);
|
|
4
9
|
const webpack = require('webpack');
|
|
5
10
|
|
|
6
11
|
// Webpack plugins
|