@tapjs/node-serialize
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -69,4 +69,4 @@ "use strict"; | ||
// just report the first failure | ||
const fe = (0, result_to_error_js_1.resultToError)(t.lists.fail[0] || | ||
results.failures[0] /* c8 ignore start */ || { | ||
const fe = (0, result_to_error_js_1.resultToError)(t.lists.fail[0] /* c8 ignore start */ || | ||
results.failures[0] || { | ||
ok: false, | ||
@@ -86,3 +86,5 @@ name: 'Unknown test failure', | ||
failureType: 'testCodeFailure', | ||
/* c8 ignore start */ | ||
failures: results.failures.map(f => f.name || f.tapError), | ||
/* c8 ignore stop */ | ||
stack: (0, stack_1.expandStack)(t.options.stack).trimEnd(), | ||
@@ -89,0 +91,0 @@ }), |
@@ -66,4 +66,4 @@ import { expandStack } from '@tapjs/stack'; | ||
// just report the first failure | ||
const fe = resultToError(t.lists.fail[0] || | ||
results.failures[0] /* c8 ignore start */ || { | ||
const fe = resultToError(t.lists.fail[0] /* c8 ignore start */ || | ||
results.failures[0] || { | ||
ok: false, | ||
@@ -83,3 +83,5 @@ name: 'Unknown test failure', | ||
failureType: 'testCodeFailure', | ||
/* c8 ignore start */ | ||
failures: results.failures.map(f => f.name || f.tapError), | ||
/* c8 ignore stop */ | ||
stack: expandStack(t.options.stack).trimEnd(), | ||
@@ -86,0 +88,0 @@ }), |
{ | ||
"name": "@tapjs/node-serialize", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "Stream TAP test data as a serialized node:test stream", | ||
"author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)", | ||
"type": "module", | ||
"tshy": { | ||
"main": true, | ||
"exports": { | ||
@@ -13,16 +12,21 @@ ".": "./src/index.ts", | ||
}, | ||
"type": "module", | ||
"main": "./dist/commonjs/index.js", | ||
"types": "./dist/commonjs/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.js" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [ | ||
"v8", | ||
"error", | ||
"serialization", | ||
"serialize", | ||
"tapjs plugin", | ||
"node --test", | ||
"node:test", | ||
"serdes" | ||
], | ||
"license": "BlueOak-1.0.0", | ||
"scripts": { | ||
@@ -37,2 +41,10 @@ "prepare": "tshy", | ||
}, | ||
"author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)", | ||
"license": "BlueOak-1.0.0", | ||
"dependencies": { | ||
"@tapjs/error-serdes": "1.1.0" | ||
}, | ||
"peerDependencies": { | ||
"@tapjs/core": "1.3.0" | ||
}, | ||
"tap": { | ||
@@ -44,2 +56,12 @@ "fail-skip": true, | ||
}, | ||
"keywords": [ | ||
"v8", | ||
"error", | ||
"serialization", | ||
"serialize", | ||
"tapjs plugin", | ||
"node --test", | ||
"node:test", | ||
"serdes" | ||
], | ||
"engines": { | ||
@@ -54,22 +76,3 @@ "node": ">=16" | ||
"url": "git+https://github.com/tapjs/tapjs.git" | ||
}, | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.js" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"dependencies": { | ||
"@tapjs/error-serdes": "1.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@tapjs/core": "1.2.0" | ||
} | ||
} |
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
106753
908
+ Added@tapjs/after@1.1.0(transitive)
+ Added@tapjs/after-each@1.1.0(transitive)
+ Added@tapjs/asserts@1.1.0(transitive)
+ Added@tapjs/before@1.1.0(transitive)
+ Added@tapjs/before-each@1.1.0(transitive)
+ Added@tapjs/core@1.3.0(transitive)
+ Added@tapjs/error-serdes@1.1.0(transitive)
+ Added@tapjs/filter@1.2.0(transitive)
+ Added@tapjs/fixture@1.2.0(transitive)
+ Added@tapjs/intercept@1.2.0(transitive)
+ Added@tapjs/mock@1.1.0(transitive)
+ Added@tapjs/snapshot@1.2.0(transitive)
+ Added@tapjs/spawn@1.1.0(transitive)
+ Added@tapjs/stack@1.2.0(transitive)
+ Added@tapjs/stdin@1.1.0(transitive)
+ Added@tapjs/test@1.3.0(transitive)
+ Added@tapjs/typescript@1.2.0(transitive)
+ Added@tapjs/worker@1.1.0(transitive)
+ Addedtap-parser@15.2.0(transitive)
+ Addedtap-yaml@2.2.0(transitive)
+ Addedtcompare@6.2.0(transitive)
- Removed@tapjs/after@1.0.7(transitive)
- Removed@tapjs/after-each@1.0.7(transitive)
- Removed@tapjs/asserts@1.0.7(transitive)
- Removed@tapjs/before@1.0.7(transitive)
- Removed@tapjs/before-each@1.0.7(transitive)
- Removed@tapjs/core@1.2.0(transitive)
- Removed@tapjs/error-serdes@1.0.0(transitive)
- Removed@tapjs/filter@1.1.3(transitive)
- Removed@tapjs/fixture@1.1.0(transitive)
- Removed@tapjs/intercept@1.1.4(transitive)
- Removed@tapjs/mock@1.0.8(transitive)
- Removed@tapjs/snapshot@1.1.0(transitive)
- Removed@tapjs/spawn@1.0.7(transitive)
- Removed@tapjs/stack@1.1.0(transitive)
- Removed@tapjs/stdin@1.0.7(transitive)
- Removed@tapjs/test@1.2.0(transitive)
- Removed@tapjs/typescript@1.1.3(transitive)
- Removed@tapjs/worker@1.0.7(transitive)
- Removedtap-parser@15.1.0(transitive)
- Removedtap-yaml@2.1.1(transitive)
- Removedtcompare@6.1.0(transitive)
Updated@tapjs/error-serdes@1.1.0