jscrambler-metro-plugin 8.4.44 → 8.4.46
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/README.md +1 -1
- package/lib/index.js +6 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ const jscramblerMetroPlugin = require('jscrambler-metro-plugin')(
|
|
|
28
28
|
/* optional */
|
|
29
29
|
{
|
|
30
30
|
enable: true,
|
|
31
|
-
enabledHermes:
|
|
31
|
+
enabledHermes: true, // true by default. If you are not using Hermes engine, set to false
|
|
32
32
|
ignoreFile: resolve(__dirname, '.jscramblerignore'),
|
|
33
33
|
params: [
|
|
34
34
|
{
|
package/lib/index.js
CHANGED
|
@@ -291,7 +291,12 @@ module.exports = function (_config = {}, projectRoot = process.cwd()) {
|
|
|
291
291
|
let calledByMetro = false;
|
|
292
292
|
const fileNames = new Set();
|
|
293
293
|
const sourceMapFiles = [];
|
|
294
|
-
const config = Object.assign(
|
|
294
|
+
const config = Object.assign(
|
|
295
|
+
{},
|
|
296
|
+
{ enabledHermes: true },
|
|
297
|
+
jscrambler.config,
|
|
298
|
+
_config,
|
|
299
|
+
);
|
|
295
300
|
const instrument = !!config.instrument;
|
|
296
301
|
let entryPointCode;
|
|
297
302
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jscrambler-metro-plugin",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.46",
|
|
4
4
|
"description": "A plugin to use metro with Jscrambler Code Integrity",
|
|
5
5
|
"exports": "./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": "8.10.
|
|
12
|
+
"jscrambler": "8.10.9"
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
15
15
|
"jscrambler",
|