Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jscrambler-metro-plugin

Package Overview
Dependencies
Maintainers
8
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscrambler-metro-plugin - npm Package Compare versions

Comparing version 5.4.0 to 5.4.1

9

lib/index.js

@@ -1,2 +0,2 @@

const {emptyDir, mkdirp, readFile, writeFile} = require('fs-extra');
const {emptyDir, remove, mkdirp, readFile, writeFile} = require('fs-extra');
const jscrambler = require('jscrambler').default;

@@ -13,2 +13,3 @@ const commander = require('commander');

const JSCRAMBLER_SRC_TEMP_FOLDER = `${JSCRAMBLER_TEMP_FOLDER}/src`;
const JSCRAMBLER_PROTECTION_ID_FILE = `${JSCRAMBLER_TEMP_FOLDER}/protectionId`;
const JSCRAMBLER_BEG_ANNOTATION = '"JSCRAMBLER-BEG";';

@@ -33,3 +34,4 @@ const JSCRAMBLER_END_ANNOTATION = '"JSCRAMBLER-END";';

emptyDir(JSCRAMBLER_SRC_TEMP_FOLDER),
emptyDir(JSCRAMBLER_DIST_TEMP_FOLDER)
emptyDir(JSCRAMBLER_DIST_TEMP_FOLDER),
remove(JSCRAMBLER_PROTECTION_ID_FILE)
])

@@ -66,2 +68,5 @@ .then(() => readFile(bundlePath, 'utf8'))

})
.then(protectionId =>
writeFile(JSCRAMBLER_PROTECTION_ID_FILE, protectionId)
)
.then(() =>

@@ -68,0 +73,0 @@ Promise.all(

{
"name": "jscrambler-metro-plugin",
"version": "5.4.0",
"version": "5.4.1",
"description": "A plugin to use metro with Jscrambler",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc