@rollup/plugin-commonjs 25.0.8 → 26.0.0
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/dist/cjs/index.js +4 -2
- package/dist/es/index.js +4 -2
- package/package.json +3 -4
package/dist/cjs/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var estreeWalker = require('estree-walker');
|
|
|
11
11
|
var MagicString = require('magic-string');
|
|
12
12
|
var isReference = require('is-reference');
|
|
13
13
|
|
|
14
|
-
var version = "
|
|
14
|
+
var version = "26.0.0";
|
|
15
15
|
var peerDependencies = {
|
|
16
16
|
rollup: "^2.68.0||^3.0.0||^4.0.0"
|
|
17
17
|
};
|
|
@@ -178,7 +178,9 @@ function getDynamicRequireModules(patterns, dynamicRequireRoot) {
|
|
|
178
178
|
isNegated
|
|
179
179
|
? dynamicRequireModules.delete(targetPath)
|
|
180
180
|
: dynamicRequireModules.set(targetPath, resolvedPath);
|
|
181
|
-
for (const path$1 of glob
|
|
181
|
+
for (const path$1 of glob
|
|
182
|
+
.sync(isNegated ? pattern.substr(1) : pattern)
|
|
183
|
+
.sort((a, b) => a.localeCompare(b, 'en'))) {
|
|
182
184
|
const resolvedPath = path.resolve(path$1);
|
|
183
185
|
const requirePath = normalizePathSlashes(resolvedPath);
|
|
184
186
|
if (isDirectory(resolvedPath)) {
|
package/dist/es/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { walk } from 'estree-walker';
|
|
|
7
7
|
import MagicString from 'magic-string';
|
|
8
8
|
import isReference from 'is-reference';
|
|
9
9
|
|
|
10
|
-
var version = "
|
|
10
|
+
var version = "26.0.0";
|
|
11
11
|
var peerDependencies = {
|
|
12
12
|
rollup: "^2.68.0||^3.0.0||^4.0.0"
|
|
13
13
|
};
|
|
@@ -174,7 +174,9 @@ function getDynamicRequireModules(patterns, dynamicRequireRoot) {
|
|
|
174
174
|
isNegated
|
|
175
175
|
? dynamicRequireModules.delete(targetPath)
|
|
176
176
|
: dynamicRequireModules.set(targetPath, resolvedPath);
|
|
177
|
-
for (const path of glob
|
|
177
|
+
for (const path of glob
|
|
178
|
+
.sync(isNegated ? pattern.substr(1) : pattern)
|
|
179
|
+
.sort((a, b) => a.localeCompare(b, 'en'))) {
|
|
178
180
|
const resolvedPath = resolve(path);
|
|
179
181
|
const requirePath = normalizePathSlashes(resolvedPath);
|
|
180
182
|
if (isDirectory(resolvedPath)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/plugin-commonjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"default": "./dist/cjs/index.js"
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">=16.0.0 || 14 >= 14.17"
|
|
25
25
|
},
|
|
26
26
|
"files": [
|
|
27
27
|
"dist",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@rollup/pluginutils": "^5.0.1",
|
|
51
51
|
"commondir": "^1.0.1",
|
|
52
52
|
"estree-walker": "^2.0.2",
|
|
53
|
-
"glob": "^
|
|
53
|
+
"glob": "^10.4.1",
|
|
54
54
|
"is-reference": "1.2.1",
|
|
55
55
|
"magic-string": "^0.30.3"
|
|
56
56
|
},
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"locate-character": "^2.0.5",
|
|
61
61
|
"require-relative": "^0.8.7",
|
|
62
62
|
"rollup": "^4.0.0-24",
|
|
63
|
-
"shx": "^0.3.4",
|
|
64
63
|
"source-map": "^0.7.4",
|
|
65
64
|
"source-map-support": "^0.5.21",
|
|
66
65
|
"typescript": "^4.8.3"
|