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

ember-cli-jscrambler

Package Overview
Dependencies
Maintainers
11
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-jscrambler - npm Package Compare versions

Comparing version 5.4.3 to 5.5.0

14

jscrambler-plugin.js

@@ -14,2 +14,7 @@ const jscrambler = require('jscrambler').default;

const instrument = !!jscrambler.config.instrument;
const jscramblerOp = instrument
? jscrambler.instrumentAndDownload
: jscrambler.protectAndDownload;
const ensureDir = memoize(filename => {

@@ -39,3 +44,3 @@ const p = path.dirname(filename);

jscrambler: {},
sourcemaps: true
sourcemaps: false
});

@@ -110,4 +115,5 @@

return jscrambler
.protectAndDownload(
return jscramblerOp
.call(
jscrambler,
Object.assign({}, this.options.jscrambler, {

@@ -132,3 +138,3 @@ sources,

.then(protectionId => {
if (this.options.sourcemaps) {
if (this.options.sourcemaps && !instrument) {
return new Promise((resolve, reject) =>

@@ -135,0 +141,0 @@ jscrambler.downloadSourceMaps(

{
"name": "ember-cli-jscrambler",
"version": "5.4.3",
"version": "5.5.0",
"description": "Jscrambler JavaScript protection for Ember-CLI",

@@ -17,3 +17,3 @@ "keywords": [

"broccoli-plugin": "^1.3.0",
"jscrambler": "^5.4.3",
"jscrambler": "^5.5.0",
"lodash.defaultsdeep": "^4.6.0",

@@ -20,0 +20,0 @@ "lodash.memoize": "^4.1.2",

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