mirror of
https://gitee.com/openharmony/developtools_ace_js2bundle
synced 2024-11-23 07:20:22 +00:00
Signed-off-by: bojiang <jiangbo91@huawei.com> Change-Id: I246917d0219270c28ac405b9977a27f119b25b3d
This commit is contained in:
parent
b875fa66a8
commit
857349c35f
@ -16,7 +16,7 @@
|
||||
var path = require('path')
|
||||
var fs = require('fs')
|
||||
var shell = require('shelljs');
|
||||
const md5 = require('md5');
|
||||
const crypto = require("crypto")
|
||||
|
||||
const red = '\u001b[31m';
|
||||
const reset = '\u001b[39m';
|
||||
@ -147,7 +147,9 @@ function validateCardModule(moduleJsonConfig) {
|
||||
}
|
||||
|
||||
function hashProjectPath(projectPath) {
|
||||
process.env.hashProjectPath = "_" + md5(projectPath);
|
||||
const hash = crypto.createHash('sha256')
|
||||
hash.update(projectPath.toString())
|
||||
process.env.hashProjectPath = "_" + hash.digest('hex');
|
||||
}
|
||||
|
||||
function checkMultiResourceBuild(aceBuildJson) {
|
||||
|
30
ace-loader/package-lock.json
generated
30
ace-loader/package-lock.json
generated
@ -2034,11 +2034,6 @@
|
||||
"supports-color": "^5.3.0"
|
||||
}
|
||||
},
|
||||
"charenc": {
|
||||
"version": "0.0.2",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/charenc/-/charenc-0.0.2.tgz",
|
||||
"integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA=="
|
||||
},
|
||||
"check-error": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/check-error/-/check-error-1.0.2.tgz",
|
||||
@ -2195,11 +2190,6 @@
|
||||
"which": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"crypt": {
|
||||
"version": "0.0.2",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/crypt/-/crypt-0.0.2.tgz",
|
||||
"integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow=="
|
||||
},
|
||||
"css": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/css/-/css-3.0.0.tgz",
|
||||
@ -2960,11 +2950,6 @@
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/has-symbols/-/has-symbols-1.0.3.tgz",
|
||||
"integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
|
||||
},
|
||||
"hash-sum": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/hash-sum/-/hash-sum-1.0.2.tgz",
|
||||
"integrity": "sha512-fUs4B4L+mlt8/XAtSOGMUO1TXmAelItBPtJG7CyHJfYTdDjwisntGO2JQz7oUsatOY9o68+57eziUVNw/mRHmA=="
|
||||
},
|
||||
"he": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/he/-/he-1.2.0.tgz",
|
||||
@ -3081,11 +3066,6 @@
|
||||
"binary-extensions": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"is-buffer": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/is-buffer/-/is-buffer-1.1.6.tgz",
|
||||
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
|
||||
},
|
||||
"is-core-module": {
|
||||
"version": "2.9.0",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/is-core-module/-/is-core-module-2.9.0.tgz",
|
||||
@ -3481,16 +3461,6 @@
|
||||
"semver": "^5.6.0"
|
||||
}
|
||||
},
|
||||
"md5": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/md5/-/md5-2.3.0.tgz",
|
||||
"integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==",
|
||||
"requires": {
|
||||
"charenc": "0.0.2",
|
||||
"crypt": "0.0.2",
|
||||
"is-buffer": "~1.1.6"
|
||||
}
|
||||
},
|
||||
"merge-stream": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://repo.huaweicloud.com/repository/npm/merge-stream/-/merge-stream-2.0.0.tgz",
|
||||
|
@ -44,12 +44,10 @@
|
||||
"css": "^3.0.0",
|
||||
"css-loader": "6.7.1",
|
||||
"deccjsunit": "^1.0.8",
|
||||
"hash-sum": "^1.0.2",
|
||||
"jimp": "0.22.4",
|
||||
"less": "4.1.3",
|
||||
"less-loader": "11.1.0",
|
||||
"loader-utils": "1.4.2",
|
||||
"md5": "^2.1.0",
|
||||
"parse5": "7.0.0",
|
||||
"resolve-bin": "1.0.1",
|
||||
"sass": "1.62.0",
|
||||
|
Loading…
Reference in New Issue
Block a user