Comparing version 2.1.0 to 2.1.1-1
@@ -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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
0
21879
53
170
2
+ Addedyaml-types@0.3.0(transitive)
- Removedyaml-types@0.2.0(transitive)
Updatedyaml-types@^0.3.0