@jsenv/core 41.4.30 → 41.4.32
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/build/build.js
CHANGED
|
@@ -6453,10 +6453,17 @@ const addRelationshipWithPackageJson = ({
|
|
|
6453
6453
|
hasVersioningEffect = false,
|
|
6454
6454
|
}) => {
|
|
6455
6455
|
const { ownerUrlInfo } = reference;
|
|
6456
|
+
// One file imports many packages, so it depends on many package.json: the
|
|
6457
|
+
// relationship is identified by the package.json it points at, not by the
|
|
6458
|
+
// field alone. Keying on the field alone lets the first package imported
|
|
6459
|
+
// stand for every other one, and a version bump on any of the others then
|
|
6460
|
+
// leaves this file cooked against the version it saw first — the ?v= baked
|
|
6461
|
+
// in its specifiers names a package copy nobody else resolves to anymore.
|
|
6456
6462
|
for (const referenceToOther of ownerUrlInfo.referenceToOthersSet) {
|
|
6457
6463
|
if (
|
|
6458
6464
|
referenceToOther.type === "package_json" &&
|
|
6459
|
-
referenceToOther.subtype === field
|
|
6465
|
+
referenceToOther.subtype === field &&
|
|
6466
|
+
referenceToOther.specifier === packageJsonUrl
|
|
6460
6467
|
) {
|
|
6461
6468
|
return;
|
|
6462
6469
|
}
|
|
@@ -3119,10 +3119,17 @@ const addRelationshipWithPackageJson = ({
|
|
|
3119
3119
|
hasVersioningEffect = false,
|
|
3120
3120
|
}) => {
|
|
3121
3121
|
const { ownerUrlInfo } = reference;
|
|
3122
|
+
// One file imports many packages, so it depends on many package.json: the
|
|
3123
|
+
// relationship is identified by the package.json it points at, not by the
|
|
3124
|
+
// field alone. Keying on the field alone lets the first package imported
|
|
3125
|
+
// stand for every other one, and a version bump on any of the others then
|
|
3126
|
+
// leaves this file cooked against the version it saw first — the ?v= baked
|
|
3127
|
+
// in its specifiers names a package copy nobody else resolves to anymore.
|
|
3122
3128
|
for (const referenceToOther of ownerUrlInfo.referenceToOthersSet) {
|
|
3123
3129
|
if (
|
|
3124
3130
|
referenceToOther.type === "package_json" &&
|
|
3125
|
-
referenceToOther.subtype === field
|
|
3131
|
+
referenceToOther.subtype === field &&
|
|
3132
|
+
referenceToOther.specifier === packageJsonUrl
|
|
3126
3133
|
) {
|
|
3127
3134
|
return;
|
|
3128
3135
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "41.4.
|
|
3
|
+
"version": "41.4.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tool to develop, test and build js projects",
|
|
6
6
|
"repository": {
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@jsenv/ast": "6.9.3",
|
|
77
|
-
"@jsenv/js-module-fallback": "1.5.
|
|
78
|
-
"@jsenv/plugin-bundling": "2.10.
|
|
79
|
-
"@jsenv/plugin-minification": "1.7.
|
|
80
|
-
"@jsenv/plugin-supervisor": "1.8.
|
|
81
|
-
"@jsenv/plugin-transpilation": "1.6.
|
|
77
|
+
"@jsenv/js-module-fallback": "1.5.3",
|
|
78
|
+
"@jsenv/plugin-bundling": "2.10.20",
|
|
79
|
+
"@jsenv/plugin-minification": "1.7.12",
|
|
80
|
+
"@jsenv/plugin-supervisor": "1.8.15",
|
|
81
|
+
"@jsenv/plugin-transpilation": "1.6.5",
|
|
82
82
|
"@jsenv/server": "17.6.3",
|
|
83
|
-
"@jsenv/sourcemap": "1.4.
|
|
83
|
+
"@jsenv/sourcemap": "1.4.3",
|
|
84
84
|
"react-table": "7.8.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
@@ -453,10 +453,17 @@ const addRelationshipWithPackageJson = ({
|
|
|
453
453
|
hasVersioningEffect = false,
|
|
454
454
|
}) => {
|
|
455
455
|
const { ownerUrlInfo } = reference;
|
|
456
|
+
// One file imports many packages, so it depends on many package.json: the
|
|
457
|
+
// relationship is identified by the package.json it points at, not by the
|
|
458
|
+
// field alone. Keying on the field alone lets the first package imported
|
|
459
|
+
// stand for every other one, and a version bump on any of the others then
|
|
460
|
+
// leaves this file cooked against the version it saw first — the ?v= baked
|
|
461
|
+
// in its specifiers names a package copy nobody else resolves to anymore.
|
|
456
462
|
for (const referenceToOther of ownerUrlInfo.referenceToOthersSet) {
|
|
457
463
|
if (
|
|
458
464
|
referenceToOther.type === "package_json" &&
|
|
459
|
-
referenceToOther.subtype === field
|
|
465
|
+
referenceToOther.subtype === field &&
|
|
466
|
+
referenceToOther.specifier === packageJsonUrl
|
|
460
467
|
) {
|
|
461
468
|
return;
|
|
462
469
|
}
|