@tapjs/fixture
Advanced tools
Comparing version 3.0.3 to 4.0.0
@@ -86,3 +86,5 @@ "use strict"; | ||
const rel = (0, node_path_1.relative)(process.cwd(), dir); | ||
if (rel === '' || rel === '..' || rel.startsWith(`..${node_path_1.sep}`)) { | ||
if (rel === '' || | ||
rel === '..' || | ||
rel.startsWith(`..${node_path_1.sep}`)) { | ||
// cd out of it first, or else Windows fails with EBUSY every time | ||
@@ -89,0 +91,0 @@ process.chdir((0, node_path_1.dirname)(dir)); |
@@ -69,3 +69,5 @@ // module code goes here | ||
const rel = relative(process.cwd(), dir); | ||
if (rel === '' || rel === '..' || rel.startsWith(`..${sep}`)) { | ||
if (rel === '' || | ||
rel === '..' || | ||
rel.startsWith(`..${sep}`)) { | ||
// cd out of it first, or else Windows fails with EBUSY every time | ||
@@ -72,0 +74,0 @@ process.chdir(dirname(dir)); |
{ | ||
"name": "@tapjs/fixture", | ||
"version": "3.0.3", | ||
"version": "4.0.0", | ||
"description": "Tap plugin to provide t.testdir() and t.fixture()", | ||
@@ -19,3 +19,2 @@ "tshy": { | ||
"import": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/esm/index.d.ts", | ||
@@ -25,3 +24,2 @@ "default": "./dist/esm/index.js" | ||
"require": { | ||
"source": "./src/index.ts", | ||
"types": "./dist/commonjs/index.d.ts", | ||
@@ -48,6 +46,6 @@ "default": "./dist/commonjs/index.js" | ||
"mkdirp": "^3.0.0", | ||
"rimraf": "^5.0.5" | ||
"rimraf": "^6.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@tapjs/core": "3.0.3" | ||
"@tapjs/core": "4.0.0" | ||
}, | ||
@@ -68,5 +66,6 @@ "tap": { | ||
}, | ||
"module": "./dist/esm/index.js", | ||
"engines": { | ||
"node": ">= 18.6.0" | ||
"node": "20 || >=22" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
68334
729
+ Added@tapjs/after@3.0.0(transitive)
+ Added@tapjs/after-each@4.0.0(transitive)
+ Added@tapjs/asserts@4.0.0(transitive)
+ Added@tapjs/before@4.0.0(transitive)
+ Added@tapjs/before-each@4.0.0(transitive)
+ Added@tapjs/chdir@3.0.0(transitive)
+ Added@tapjs/core@4.0.0(transitive)
+ Added@tapjs/error-serdes@4.0.0(transitive)
+ Added@tapjs/filter@4.0.0(transitive)
+ Added@tapjs/intercept@4.0.0(transitive)
+ Added@tapjs/mock@4.0.0(transitive)
+ Added@tapjs/node-serialize@4.0.0(transitive)
+ Added@tapjs/snapshot@4.0.0(transitive)
+ Added@tapjs/spawn@4.0.0(transitive)
+ Added@tapjs/stack@4.0.0(transitive)
+ Added@tapjs/stdin@4.0.0(transitive)
+ Added@tapjs/test@4.0.0(transitive)
+ Added@tapjs/typescript@3.0.0(transitive)
+ Added@tapjs/worker@4.0.0(transitive)
+ Addedglob@11.0.0(transitive)
+ Addedjackspeak@4.0.1(transitive)
+ Addedlru-cache@11.0.1(transitive)
+ Addedminimatch@10.0.1(transitive)
+ Addedpath-scurry@2.0.0(transitive)
+ Addedresolve-import@2.0.0(transitive)
+ Addedrimraf@6.0.1(transitive)
+ Addedsync-content@2.0.1(transitive)
+ Addedtap-parser@18.0.0(transitive)
+ Addedtap-yaml@4.0.0(transitive)
+ Addedtcompare@9.0.0(transitive)
+ Addedtshy@3.0.2(transitive)
+ Addedwalk-up-path@4.0.0(transitive)
+ Addedyaml-types@0.4.0(transitive)
- Removed@tapjs/after@2.0.3(transitive)
- Removed@tapjs/after-each@3.0.3(transitive)
- Removed@tapjs/asserts@3.0.3(transitive)
- Removed@tapjs/before@3.0.3(transitive)
- Removed@tapjs/before-each@3.0.3(transitive)
- Removed@tapjs/chdir@2.0.3(transitive)
- Removed@tapjs/core@3.0.3(transitive)
- Removed@tapjs/error-serdes@3.0.0(transitive)
- Removed@tapjs/filter@3.0.3(transitive)
- Removed@tapjs/intercept@3.0.3(transitive)
- Removed@tapjs/mock@3.0.3(transitive)
- Removed@tapjs/node-serialize@3.0.3(transitive)
- Removed@tapjs/snapshot@3.0.3(transitive)
- Removed@tapjs/spawn@3.0.3(transitive)
- Removed@tapjs/stack@3.0.0(transitive)
- Removed@tapjs/stdin@3.0.3(transitive)
- Removed@tapjs/test@3.0.3(transitive)
- Removed@tapjs/typescript@2.0.3(transitive)
- Removed@tapjs/worker@3.0.3(transitive)
- Removedglob@10.4.5(transitive)
- Removedjackspeak@3.4.3(transitive)
- Removedlru-cache@10.4.3(transitive)
- Removedminimatch@9.0.5(transitive)
- Removedpath-scurry@1.11.1(transitive)
- Removedresolve-import@1.4.6(transitive)
- Removedrimraf@5.0.10(transitive)
- Removedsync-content@1.0.2(transitive)
- Removedtap-parser@17.0.0(transitive)
- Removedtap-yaml@3.0.0(transitive)
- Removedtcompare@8.0.0(transitive)
- Removedtshy@1.18.0(transitive)
- Removedwalk-up-path@3.0.1(transitive)
- Removedyaml-types@0.3.0(transitive)
Updatedrimraf@^6.0.0