@transitive-sdk/utils-caps 0.2.2 → 0.2.4
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/docker.sh +2 -2
- package/package.json +1 -1
- package/publish.sh +1 -1
- package/subScript +3 -0
package/docker.sh
CHANGED
|
@@ -25,8 +25,8 @@ function findOffset() {
|
|
|
25
25
|
|
|
26
26
|
OFFSET=$(findOffset)
|
|
27
27
|
PORT=$(( $BASE_PORT + $OFFSET ))
|
|
28
|
-
MIN_PORT=$((
|
|
29
|
-
MAX_PORT=$((
|
|
28
|
+
MIN_PORT=$((60000 + $OFFSET * 100))
|
|
29
|
+
MAX_PORT=$((60080 + $OFFSET * 100))
|
|
30
30
|
|
|
31
31
|
echo "using port offset $OFFSET, i.e., port $PORT and port range $MIN_PORT-$MAX_PORT"
|
|
32
32
|
|
package/package.json
CHANGED
package/publish.sh
CHANGED
|
@@ -52,7 +52,7 @@ npm run prepare
|
|
|
52
52
|
|
|
53
53
|
npm install --no-save javascript-obfuscator@4.0.0
|
|
54
54
|
|
|
55
|
-
FILES=$(find . -name "*.js" -not -path "**/hi-perf/*" -not -path "**/node_modules/*" -not -path "./dist/*")
|
|
55
|
+
FILES=$(find . -name "*.js" -not -path "**/hi-perf/*" -not -path "**/node_modules/*" -not -path "./dist/*" -not -path "**/var/*")
|
|
56
56
|
for f in $FILES; do
|
|
57
57
|
npx javascript-obfuscator --split-strings true --split-strings-chunk-length 8 --string-array-encoding base64 --ignore-imports true --output $f $f
|
|
58
58
|
# Maybe add later: --self-defending true
|
package/subScript
CHANGED