jest-resolve
Advanced tools
Comparing version 30.0.0-alpha.5 to 30.0.0-alpha.6
@@ -36,3 +36,3 @@ /*! | ||
} | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
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); } | ||
@@ -101,2 +101,9 @@ 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 && {}.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; } | ||
} | ||
function _url() { | ||
const data = require("url"); | ||
_url = function () { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
function _jestPnpResolver() { | ||
@@ -120,3 +127,3 @@ const data = _interopRequireDefault(require("jest-pnp-resolver")); | ||
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 && {}.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; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
/** | ||
@@ -178,2 +185,5 @@ * Copyright (c) Meta Platforms, Inc. and affiliates. | ||
function getPathInModule(path, options) { | ||
if (path.startsWith('file://')) { | ||
path = (0, _url().fileURLToPath)(path); | ||
} | ||
if (shouldIgnoreRequestForExports(path)) { | ||
@@ -428,3 +438,3 @@ return path; | ||
}); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
/** | ||
@@ -456,3 +466,3 @@ * Copyright (c) Meta Platforms, Inc. and affiliates. | ||
} | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
/** | ||
@@ -612,3 +622,3 @@ * Copyright (c) Meta Platforms, Inc. and affiliates. | ||
var _shouldLoadAsEsm = _interopRequireWildcard(__webpack_require__("./src/shouldLoadAsEsm.ts")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
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); } | ||
@@ -1340,3 +1350,3 @@ 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 && {}.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; } | ||
var _resolver = _interopRequireDefault(__webpack_require__("./src/resolver.ts")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
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); } | ||
@@ -1343,0 +1353,0 @@ 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 && {}.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; } |
{ | ||
"name": "jest-resolve", | ||
"version": "30.0.0-alpha.5", | ||
"version": "30.0.0-alpha.6", | ||
"repository": { | ||
@@ -24,6 +24,6 @@ "type": "git", | ||
"graceful-fs": "^4.2.9", | ||
"jest-haste-map": "30.0.0-alpha.5", | ||
"jest-haste-map": "30.0.0-alpha.6", | ||
"jest-pnp-resolver": "^1.2.2", | ||
"jest-util": "30.0.0-alpha.5", | ||
"jest-validate": "30.0.0-alpha.5", | ||
"jest-util": "30.0.0-alpha.6", | ||
"jest-validate": "30.0.0-alpha.6", | ||
"resolve": "^1.20.0", | ||
@@ -44,3 +44,3 @@ "resolve.exports": "^2.0.0", | ||
}, | ||
"gitHead": "fa24a3bdd6682978d76799265016fb9d5bff135e" | ||
"gitHead": "ba74b7de1b9cca88daf33f9d1b46bfe2b7f485a5" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64608
1746
+ Added@jest/pattern@30.0.0-alpha.6(transitive)
+ Added@jest/schemas@30.0.0-alpha.6(transitive)
+ Added@jest/types@30.0.0-alpha.6(transitive)
+ Added@sinclair/typebox@0.33.17(transitive)
+ Added@types/node@22.8.2(transitive)
+ Added@ungap/structured-clone@1.2.0(transitive)
+ Addedjest-get-type@30.0.0-alpha.6(transitive)
+ Addedjest-haste-map@30.0.0-alpha.6(transitive)
+ Addedjest-regex-util@30.0.0-alpha.6(transitive)
+ Addedjest-util@30.0.0-alpha.6(transitive)
+ Addedjest-validate@30.0.0-alpha.6(transitive)
+ Addedjest-worker@30.0.0-alpha.6(transitive)
+ Addedpretty-format@30.0.0-alpha.6(transitive)
- Removed@jest/pattern@30.0.0-alpha.5(transitive)
- Removed@jest/schemas@30.0.0-alpha.5(transitive)
- Removed@jest/types@30.0.0-alpha.5(transitive)
- Removed@sinclair/typebox@0.32.35(transitive)
- Removed@types/node@22.8.4(transitive)
- Removedjest-get-type@30.0.0-alpha.5(transitive)
- Removedjest-haste-map@30.0.0-alpha.5(transitive)
- Removedjest-regex-util@30.0.0-alpha.5(transitive)
- Removedjest-util@30.0.0-alpha.5(transitive)
- Removedjest-validate@30.0.0-alpha.5(transitive)
- Removedjest-worker@30.0.0-alpha.5(transitive)
- Removedpretty-format@30.0.0-alpha.5(transitive)
Updatedjest-util@30.0.0-alpha.6
Updatedjest-validate@30.0.0-alpha.6