Socket
Socket
Sign inDemoInstall

@tapjs/node-serialize

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tapjs/node-serialize - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

6

dist/commonjs/test-results.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc