jscrambler 8.7.1-next.2 → 8.7.1-next.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # jscrambler
2
2
 
3
+ ## 8.7.1-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - []: Only parse js files
8
+
3
9
  ## 8.7.1-next.2
4
10
 
5
11
  ### Patch Changes
package/dist/utils.js CHANGED
@@ -59,6 +59,9 @@ const WEBPACK_IGNORE_VENDORS = exports.WEBPACK_IGNORE_VENDORS = 'webpack-ignore-
59
59
  * @param {string} fileName file name
60
60
  */
61
61
  function webpackAttachDisableAnnotations(beforeProtection, cwd, path, buffer, fileName) {
62
+ if (!isJavascriptFile(fileName)) {
63
+ return buffer;
64
+ }
62
65
  const {
63
66
  excludeModules
64
67
  } = beforeProtection;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jscrambler",
3
3
  "description": "Jscrambler API client.",
4
- "version": "8.7.1-next.2",
4
+ "version": "8.7.1-next.3",
5
5
  "homepage": "https://github.com/jscrambler/jscrambler",
6
6
  "author": "Jscrambler <support@jscrambler.com>",
7
7
  "repository": {