jscrambler-metro-plugin 6.4.7 → 6.4.8
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/index.js +1 -1
- package/lib/utils.js +1 -1
- package/package.json +2 -2
package/lib/index.js
CHANGED
@@ -247,7 +247,7 @@ function validateModule(modulePath, config, projectRoot) {
|
|
247
247
|
/**
|
248
248
|
* Add serialize.processModuleFilter option to metro and attach listener to beforeExit event.
|
249
249
|
* *config.fileSrc* and *config.filesDest* will be ignored.
|
250
|
-
* @param {{enable: boolean,
|
250
|
+
* @param {{enable: boolean, enabledHermes: boolean }} _config
|
251
251
|
* @param {string} [projectRoot=process.cwd()]
|
252
252
|
* @returns {{serializer: {processModuleFilter(*): boolean}}}
|
253
253
|
*/
|
package/lib/utils.js
CHANGED
@@ -297,7 +297,7 @@ function handleAntiTampering(config, processedMetroBundle) {
|
|
297
297
|
if (antiTampering) {
|
298
298
|
antiTampering.options = antiTampering.options || {};
|
299
299
|
antiTampering.options.mode = antiTampering.options.mode || [JSCRAMBLER_ANTI_TAMPERING_MODE_RCK, JSCRAMBLER_ANTI_TAMPERING_MODE_SKL];
|
300
|
-
if (config.
|
300
|
+
if (config.enabledHermes) {
|
301
301
|
addShowSource = true;
|
302
302
|
if (
|
303
303
|
Array.isArray(antiTampering.options.mode) &&
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "jscrambler-metro-plugin",
|
3
|
-
"version": "6.4.
|
3
|
+
"version": "6.4.8",
|
4
4
|
"description": "A plugin to use metro with Jscrambler",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"peerDependencies": {
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"dependencies": {
|
10
10
|
"commander": "^2.20.0",
|
11
11
|
"fs-extra": "^8.0.1",
|
12
|
-
"jscrambler": "^6.4.
|
12
|
+
"jscrambler": "^6.4.8"
|
13
13
|
},
|
14
14
|
"keywords": [
|
15
15
|
"jscrambler",
|