@tapjs/node-serialize
Advanced tools
Comparing version 1.3.4 to 2.0.0
@@ -8,4 +8,4 @@ "use strict"; | ||
nesting: t.nestingLevel + 1, | ||
...(res.diag?.at | ||
? (0, loc_from_callsite_js_1.locFromCallSite)(res.diag.at) | ||
...(res.diag?.at ? | ||
(0, loc_from_callsite_js_1.locFromCallSite)(res.diag.at) | ||
: (0, loc_from_callsite_js_1.locFromCallSite)(t.options.at)), | ||
@@ -12,0 +12,0 @@ }); |
@@ -11,4 +11,4 @@ "use strict"; | ||
testNumber, | ||
...(res.diag?.at | ||
? (0, loc_from_callsite_js_1.locFromCallSite)(res.diag.at) | ||
...(res.diag?.at ? | ||
(0, loc_from_callsite_js_1.locFromCallSite)(res.diag.at) | ||
: (0, loc_from_callsite_js_1.locFromCallSite)(t.options.at)), | ||
@@ -15,0 +15,0 @@ nesting: t.nestingLevel + 1, |
@@ -24,4 +24,4 @@ "use strict"; | ||
}; | ||
const skip = results.plan.skipAll | ||
? results.plan.skipReason || true | ||
const skip = results.plan.skipAll ? | ||
results.plan.skipReason || true | ||
: t.options.skip; | ||
@@ -50,4 +50,4 @@ if (skip) | ||
failures: results.failures.map(f => f.name || f.tapError), | ||
stack: t.options.stack | ||
? (0, stack_1.expandStack)(t.options.stack) | ||
stack: t.options.stack ? | ||
(0, stack_1.expandStack)(t.options.stack) | ||
: undefined, | ||
@@ -54,0 +54,0 @@ /* c8 ignore stop */ |
@@ -5,6 +5,6 @@ import { locFromCallSite } from './loc-from-callsite.js'; | ||
nesting: t.nestingLevel + 1, | ||
...(res.diag?.at | ||
? locFromCallSite(res.diag.at) | ||
...(res.diag?.at ? | ||
locFromCallSite(res.diag.at) | ||
: locFromCallSite(t.options.at)), | ||
}); | ||
//# sourceMappingURL=test-point-message-data.js.map |
@@ -8,4 +8,4 @@ import { expandStack } from '@tapjs/stack'; | ||
testNumber, | ||
...(res.diag?.at | ||
? locFromCallSite(res.diag.at) | ||
...(res.diag?.at ? | ||
locFromCallSite(res.diag.at) | ||
: locFromCallSite(t.options.at)), | ||
@@ -12,0 +12,0 @@ nesting: t.nestingLevel + 1, |
@@ -21,4 +21,4 @@ import { expandStack } from '@tapjs/stack'; | ||
}; | ||
const skip = results.plan.skipAll | ||
? results.plan.skipReason || true | ||
const skip = results.plan.skipAll ? | ||
results.plan.skipReason || true | ||
: t.options.skip; | ||
@@ -47,4 +47,4 @@ if (skip) | ||
failures: results.failures.map(f => f.name || f.tapError), | ||
stack: t.options.stack | ||
? expandStack(t.options.stack) | ||
stack: t.options.stack ? | ||
expandStack(t.options.stack) | ||
: undefined, | ||
@@ -51,0 +51,0 @@ /* c8 ignore stop */ |
{ | ||
"name": "@tapjs/node-serialize", | ||
"version": "1.3.4", | ||
"version": "2.0.0", | ||
"description": "Stream TAP test data as a serialized node:test stream", | ||
@@ -43,8 +43,8 @@ "tshy": { | ||
"dependencies": { | ||
"@tapjs/error-serdes": "1.2.2", | ||
"@tapjs/stack": "1.2.8", | ||
"tap-parser": "15.3.2" | ||
"@tapjs/error-serdes": "2.0.0", | ||
"@tapjs/stack": "2.0.0", | ||
"tap-parser": "16.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@tapjs/core": "1.5.4" | ||
"@tapjs/core": "2.0.0" | ||
}, | ||
@@ -51,0 +51,0 @@ "tap": { |
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
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
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
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
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
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
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
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
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
126881
+ Added@tapjs/after@1.1.23(transitive)
+ Added@tapjs/after-each@2.0.0(transitive)
+ Added@tapjs/asserts@2.0.0(transitive)
+ Added@tapjs/before@2.0.0(transitive)
+ Added@tapjs/before-each@2.0.0(transitive)
+ Added@tapjs/core@2.0.0(transitive)
+ Added@tapjs/error-serdes@2.0.0(transitive)
+ Added@tapjs/filter@2.0.0(transitive)
+ Added@tapjs/fixture@2.0.0(transitive)
+ Added@tapjs/intercept@2.0.0(transitive)
+ Added@tapjs/mock@2.0.0(transitive)
+ Added@tapjs/snapshot@2.0.0(transitive)
+ Added@tapjs/spawn@2.0.0(transitive)
+ Added@tapjs/stack@2.0.0(transitive)
+ Added@tapjs/stdin@2.0.0(transitive)
+ Added@tapjs/test@2.0.0(transitive)
+ Added@tapjs/typescript@1.4.5(transitive)
+ Added@tapjs/worker@2.0.0(transitive)
+ Addedtap-parser@16.0.0(transitive)
+ Addedtcompare@7.0.0(transitive)
+ Addedtypescript@5.4.5(transitive)
- Removed@tapjs/after@1.1.22(transitive)
- Removed@tapjs/after-each@1.1.22(transitive)
- Removed@tapjs/asserts@1.2.0(transitive)
- Removed@tapjs/before@1.1.22(transitive)
- Removed@tapjs/before-each@1.1.22(transitive)
- Removed@tapjs/core@1.5.4(transitive)
- Removed@tapjs/error-serdes@1.2.2(transitive)
- Removed@tapjs/filter@1.2.22(transitive)
- Removed@tapjs/fixture@1.2.22(transitive)
- Removed@tapjs/intercept@1.2.22(transitive)
- Removed@tapjs/mock@1.3.4(transitive)
- Removed@tapjs/snapshot@1.2.22(transitive)
- Removed@tapjs/spawn@1.1.22(transitive)
- Removed@tapjs/stack@1.2.8(transitive)
- Removed@tapjs/stdin@1.1.22(transitive)
- Removed@tapjs/test@1.4.4(transitive)
- Removed@tapjs/typescript@1.4.4(transitive)
- Removed@tapjs/worker@1.1.22(transitive)
- Removedjackspeak@2.3.6(transitive)
- Removedtap-parser@15.3.2(transitive)
- Removedtcompare@6.4.6(transitive)
- Removedtypescript@5.2.2(transitive)
Updated@tapjs/error-serdes@2.0.0
Updated@tapjs/stack@2.0.0
Updatedtap-parser@16.0.0