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

jscrambler

Package Overview
Dependencies
Maintainers
0
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscrambler - npm Package Compare versions

Comparing version 8.7.1-next.0 to 8.7.1-next.1

2

CHANGELOG.md
# jscrambler
## 8.7.1-next.0
## 8.7.1-next.1

@@ -5,0 +5,0 @@ ### Patch Changes

@@ -59,4 +59,5 @@ "use strict";

* @param {Buffer} buffer file contents
* @param {string} fileName file name
*/
function webpackAttachDisableAnnotations(beforeProtection, cwd, path, buffer) {
function webpackAttachDisableAnnotations(beforeProtection, cwd, path, buffer, fileName) {
const {

@@ -73,3 +74,3 @@ excludeModules

} catch (e) {
console.log("Error on beforeProtection (".concat(WEBPACK_IGNORE_VENDORS, "): invalid source file."));
console.log("Error on beforeProtection (".concat(WEBPACK_IGNORE_VENDORS, "): \"").concat(fileName, "\" could not be parsed."));
process.exit(1);

@@ -90,3 +91,3 @@ }

if (debug) {
console.debug("beforeProtection (".concat(WEBPACK_IGNORE_VENDORS, "): ignoring ").concat(excludeModules.get(moduleId)));
console.debug("beforeProtection (".concat(WEBPACK_IGNORE_VENDORS, "): ignoring ").concat(excludeModules.get(moduleId), " module on \"").concat(fileName, "\""));
}

@@ -111,3 +112,3 @@ return null;

} catch (e) {
console.log("Error on beforeProtection (".concat(WEBPACK_IGNORE_VENDORS, "): ignoring webpack vendors produced an invalid javascript file."));
console.log("Error on beforeProtection (".concat(WEBPACK_IGNORE_VENDORS, "): unsupported structure on \"").concat(fileName, "\"."));
process.exit(1);

@@ -117,3 +118,3 @@ }

}
console.log("beforeProtection (".concat(WEBPACK_IGNORE_VENDORS, "): ").concat(appendDisableAnnotationAt.length, " module(s) ignored"));
console.log("beforeProtection (".concat(WEBPACK_IGNORE_VENDORS, "): ").concat(appendDisableAnnotationAt.length, " module(s) ignored for \"").concat(fileName, "\""));
return buffer;

@@ -120,0 +121,0 @@ }

@@ -74,6 +74,6 @@ "use strict";

case _utils.PREPEND_JS_TYPE:
buffer = (0, _utils.concatenate)(element, cwd, sPath, buffer);
buffer = (0, _utils.concatenate)(element, cwd, sPath, buffer, name);
break;
case _utils.WEBPACK_IGNORE_VENDORS:
buffer = (0, _utils.webpackAttachDisableAnnotations)(element, cwd, sPath, buffer);
buffer = (0, _utils.webpackAttachDisableAnnotations)(element, cwd, sPath, buffer, name);
break;

@@ -80,0 +80,0 @@ }

{
"name": "jscrambler",
"description": "Jscrambler API client.",
"version": "8.7.1-next.0",
"version": "8.7.1-next.1",
"homepage": "https://github.com/jscrambler/jscrambler",

@@ -6,0 +6,0 @@ "author": "Jscrambler <support@jscrambler.com>",

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