Socket
Socket
Sign inDemoInstall

tap-yaml

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tap-yaml - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1-1

LICENSE.md

1

dist/cjs/types/date.js

@@ -16,3 +16,2 @@ "use strict";

const t = d.getTime();
/* istanbul ignore else */
if (t !== t) {

@@ -19,0 +18,0 @@ throw new Error(`Invalid date string: ${src}`);

@@ -7,3 +7,2 @@ "use strict";

const timestamp_js_1 = require("./timestamp.js");
const bigint_js_1 = require("./bigint.js");
// prepend our custom tags so that they take priority over anything

@@ -15,3 +14,3 @@ // enabled by default in the schema.

yaml_types_1.symbol,
bigint_js_1.bigint,
yaml_types_1.bigint,
yaml_types_1.nullobject,

@@ -27,6 +26,4 @@ yaml_types_1.error,

];
const customTags = (tags) => [
...new Set(t.concat(tags)),
];
const customTags = (tags) => [...new Set(t.concat(tags))];
exports.customTags = customTags;
//# sourceMappingURL=index.js.map

@@ -13,3 +13,2 @@ export const date = {

const t = d.getTime();
/* istanbul ignore else */
if (t !== t) {

@@ -16,0 +15,0 @@ throw new Error(`Invalid date string: ${src}`);

@@ -1,5 +0,4 @@

import { classTag, error, functionTag, nullobject, regexp, sharedSymbol, symbol, } from 'yaml-types';
import { classTag, error, functionTag, nullobject, regexp, sharedSymbol, symbol, bigint, } from 'yaml-types';
import { date } from './date.js';
import { timestamp } from './timestamp.js';
import { bigint } from './bigint.js';
// prepend our custom tags so that they take priority over anything

@@ -22,5 +21,3 @@ // enabled by default in the schema.

];
export const customTags = (tags) => [
...new Set(t.concat(tags)),
];
export const customTags = (tags) => [...new Set(t.concat(tags))];
//# sourceMappingURL=index.js.map
{
"name": "tap-yaml",
"version": "2.1.0",
"version": "2.1.1-1",
"description": "Yaml handling for TAP parsers and generators",

@@ -25,14 +25,9 @@ "module": "dist/mjs/index.js",

"scripts": {
"snap": "c8 tap",
"test": "c8 tap",
"preprepare": "rm -rf dist",
"prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json",
"postprepare": "bash ./scripts/fixup.sh",
"snap": "tap",
"test": "tap",
"prepare": "tsc -p tsconfig/cjs.json && tsc -p tsconfig/esm.json && bash ./scripts/fixup.sh",
"pretest": "npm run prepare",
"presnap": "npm run prepare",
"format": "prettier --write . --loglevel warn",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts"
"format": "prettier --write . --loglevel warn --ignore-path ../../.prettierignore --cache",
"typedoc": "typedoc --tsconfig tsconfig/esm.json ./src/*.ts"
},

@@ -43,13 +38,2 @@ "repository": {

},
"prettier": {
"semi": false,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"jsxSingleQuote": false,
"bracketSameLine": true,
"arrowParens": "avoid",
"endOfLine": "lf"
},
"keywords": [

@@ -62,17 +46,7 @@ "tap",

"author": "Isaac Z. Schlueter <i@izs.me>",
"license": "ISC",
"license": "BlueOak-1.0.0",
"dependencies": {
"yaml": "^2.3.0",
"yaml-types": "^0.2.0"
"yaml-types": "^0.3.0"
},
"devDependencies": {
"@types/node": "^20.2.3",
"@types/tap": "^15.0.6",
"c8": "^7.12.0",
"prettier": "^2.7.1",
"tap": "^16.3.2",
"ts-node": "^10.9.1",
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"files": [

@@ -82,10 +56,4 @@ "dist"

"tap": {
"coverage": false,
"node-arg": [
"--no-warnings",
"--loader",
"ts-node/esm"
],
"ts": false
"coverage-map": "map.js"
}
}

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

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