@atlaspack/node-resolver-core 3.4.2-canary.3665 → 3.4.2-canary.3667
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/lib/Wrapper.js +9 -1
- package/package.json +7 -7
package/lib/Wrapper.js
CHANGED
@@ -61,6 +61,13 @@ function _module() {
|
|
61
61
|
};
|
62
62
|
return data;
|
63
63
|
}
|
64
|
+
function _featureFlags() {
|
65
|
+
const data = require("@atlaspack/feature-flags");
|
66
|
+
_featureFlags = function () {
|
67
|
+
return data;
|
68
|
+
};
|
69
|
+
return data;
|
70
|
+
}
|
64
71
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
65
72
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
66
73
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
@@ -107,7 +114,8 @@ class NodeResolver {
|
|
107
114
|
return pnp.resolveToUnqualified(
|
108
115
|
// append slash to force loading builtins from npm
|
109
116
|
module + '/', from);
|
110
|
-
} : undefined
|
117
|
+
} : undefined,
|
118
|
+
reduceStringCreation: (0, _featureFlags().getFeatureFlag)('reduceResolverStringCreation')
|
111
119
|
});
|
112
120
|
this.resolversByEnv.set(options.env.id, resolver);
|
113
121
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaspack/node-resolver-core",
|
3
|
-
"version": "3.4.2-canary.
|
3
|
+
"version": "3.4.2-canary.3667+3fbcdc329",
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -21,11 +21,11 @@
|
|
21
21
|
"lib"
|
22
22
|
],
|
23
23
|
"dependencies": {
|
24
|
-
"@atlaspack/diagnostic": "2.13.2-canary.
|
25
|
-
"@atlaspack/feature-flags": "2.13.2-canary.
|
26
|
-
"@atlaspack/fs": "2.13.2-canary.
|
27
|
-
"@atlaspack/rust": "2.13.2-canary.
|
28
|
-
"@atlaspack/utils": "2.13.2-canary.
|
24
|
+
"@atlaspack/diagnostic": "2.13.2-canary.3667+3fbcdc329",
|
25
|
+
"@atlaspack/feature-flags": "2.13.2-canary.3667+3fbcdc329",
|
26
|
+
"@atlaspack/fs": "2.13.2-canary.3667+3fbcdc329",
|
27
|
+
"@atlaspack/rust": "2.13.2-canary.3667+3fbcdc329",
|
28
|
+
"@atlaspack/utils": "2.13.2-canary.3667+3fbcdc329",
|
29
29
|
"@mischnic/json-sourcemap": "^0.1.0",
|
30
30
|
"nullthrows": "^1.1.1",
|
31
31
|
"semver": "^7.5.2"
|
@@ -57,5 +57,5 @@
|
|
57
57
|
"browser": {
|
58
58
|
"./src/builtins.js": "./src/builtins.browser.js"
|
59
59
|
},
|
60
|
-
"gitHead": "
|
60
|
+
"gitHead": "3fbcdc3299ccfb94e073cb7b6d23bc50abd182a2"
|
61
61
|
}
|