@xylabs/assert
Advanced tools
Comparing version 2.9.1 to 2.9.2
{ | ||
"id": 0, | ||
"name": "@xylabs/assert", | ||
"variant": "project", | ||
"kind": 1, | ||
"kindString": "Project", | ||
"flags": {}, | ||
"originalName": "", | ||
"children": [ | ||
@@ -12,4 +11,4 @@ { | ||
"name": "default", | ||
"variant": "reference", | ||
"kind": 8388608, | ||
"kindString": "Reference", | ||
"flags": {}, | ||
@@ -21,3 +20,3 @@ "sources": [ | ||
"character": 0, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L27" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L27" | ||
} | ||
@@ -30,4 +29,4 @@ ], | ||
"name": "AssertExErrorFunc", | ||
"variant": "declaration", | ||
"kind": 4194304, | ||
"kindString": "Type alias", | ||
"flags": {}, | ||
@@ -39,3 +38,3 @@ "sources": [ | ||
"character": 12, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L2" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L2" | ||
} | ||
@@ -47,4 +46,4 @@ ], | ||
"name": "T", | ||
"variant": "typeParam", | ||
"kind": 131072, | ||
"kindString": "Type parameter", | ||
"flags": {} | ||
@@ -55,9 +54,12 @@ }, | ||
"name": "R", | ||
"variant": "typeParam", | ||
"kind": 131072, | ||
"kindString": "Type parameter", | ||
"flags": {}, | ||
"type": { | ||
"type": "reference", | ||
"target": { | ||
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", | ||
"qualifiedName": "Error" | ||
}, | ||
"name": "Error", | ||
"qualifiedName": "Error", | ||
"package": "typescript" | ||
@@ -72,4 +74,4 @@ } | ||
"name": "__type", | ||
"variant": "declaration", | ||
"kind": 65536, | ||
"kindString": "Type literal", | ||
"flags": {}, | ||
@@ -81,3 +83,3 @@ "sources": [ | ||
"character": 52, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L2" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L2" | ||
} | ||
@@ -89,4 +91,4 @@ ], | ||
"name": "__type", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
@@ -97,4 +99,4 @@ "parameters": [ | ||
"name": "value", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -108,4 +110,5 @@ "isOptional": true | ||
"type": "reference", | ||
"id": 10, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
}, | ||
@@ -122,4 +125,5 @@ { | ||
"type": "reference", | ||
"id": 11, | ||
"name": "R" | ||
"target": -1, | ||
"name": "R", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -134,4 +138,4 @@ } | ||
"name": "AssertExMessageFunc", | ||
"variant": "declaration", | ||
"kind": 4194304, | ||
"kindString": "Type alias", | ||
"flags": {}, | ||
@@ -143,3 +147,3 @@ "sources": [ | ||
"character": 12, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L1" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L1" | ||
} | ||
@@ -151,4 +155,4 @@ ], | ||
"name": "T", | ||
"variant": "typeParam", | ||
"kind": 131072, | ||
"kindString": "Type parameter", | ||
"flags": {} | ||
@@ -162,4 +166,4 @@ } | ||
"name": "__type", | ||
"variant": "declaration", | ||
"kind": 65536, | ||
"kindString": "Type literal", | ||
"flags": {}, | ||
@@ -171,3 +175,3 @@ "sources": [ | ||
"character": 37, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L1" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L1" | ||
} | ||
@@ -179,4 +183,4 @@ ], | ||
"name": "__type", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
@@ -187,4 +191,4 @@ "parameters": [ | ||
"name": "value", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -198,4 +202,5 @@ "isOptional": true | ||
"type": "reference", | ||
"id": 5, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
}, | ||
@@ -222,4 +227,4 @@ { | ||
"name": "assertEx", | ||
"variant": "declaration", | ||
"kind": 64, | ||
"kindString": "Function", | ||
"flags": {}, | ||
@@ -231,3 +236,3 @@ "sources": [ | ||
"character": 9, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L13" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L13" | ||
}, | ||
@@ -238,3 +243,3 @@ { | ||
"character": 9, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L14" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L14" | ||
}, | ||
@@ -245,3 +250,3 @@ { | ||
"character": 9, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L15" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L15" | ||
}, | ||
@@ -252,3 +257,3 @@ { | ||
"character": 9, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L16" | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L16" | ||
} | ||
@@ -260,4 +265,4 @@ ], | ||
"name": "assertEx", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
@@ -292,2 +297,10 @@ "comment": { | ||
}, | ||
"sources": [ | ||
{ | ||
"fileName": "index.ts", | ||
"line": 13, | ||
"character": 0, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L13" | ||
} | ||
], | ||
"typeParameter": [ | ||
@@ -297,4 +310,4 @@ { | ||
"name": "T", | ||
"variant": "typeParam", | ||
"kind": 131072, | ||
"kindString": "Type parameter", | ||
"flags": {} | ||
@@ -307,4 +320,4 @@ } | ||
"name": "expr", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -330,4 +343,5 @@ "isOptional": true | ||
"type": "reference", | ||
"id": 14, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -340,4 +354,4 @@ ] | ||
"name": "message", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -362,4 +376,5 @@ "isOptional": true | ||
"type": "reference", | ||
"id": 14, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -370,5 +385,13 @@ }, | ||
"name": "assertEx", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "index.ts", | ||
"line": 14, | ||
"character": 0, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L14" | ||
} | ||
], | ||
"typeParameter": [ | ||
@@ -378,4 +401,4 @@ { | ||
"name": "T", | ||
"variant": "typeParam", | ||
"kind": 131072, | ||
"kindString": "Type parameter", | ||
"flags": {} | ||
@@ -388,4 +411,4 @@ } | ||
"name": "expr", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -403,4 +426,5 @@ "isOptional": true | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -413,4 +437,4 @@ ] | ||
"name": "messageFunc", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -421,11 +445,13 @@ "isOptional": true | ||
"type": "reference", | ||
"id": 1, | ||
"target": 1, | ||
"typeArguments": [ | ||
{ | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
], | ||
"name": "AssertExMessageFunc" | ||
"name": "AssertExMessageFunc", | ||
"package": "@xylabs/assert" | ||
} | ||
@@ -436,4 +462,5 @@ } | ||
"type": "reference", | ||
"id": 18, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -444,5 +471,13 @@ }, | ||
"name": "assertEx", | ||
"variant": "signature", | ||
"kind": 4096, | ||
"kindString": "Call signature", | ||
"flags": {}, | ||
"sources": [ | ||
{ | ||
"fileName": "index.ts", | ||
"line": 15, | ||
"character": 0, | ||
"url": "https://github.com/xylabs/sdk-js/blob/88ada5a/packages/assert/src/index.ts#L15" | ||
} | ||
], | ||
"typeParameter": [ | ||
@@ -452,4 +487,4 @@ { | ||
"name": "T", | ||
"variant": "typeParam", | ||
"kind": 131072, | ||
"kindString": "Type parameter", | ||
"flags": {} | ||
@@ -460,9 +495,12 @@ }, | ||
"name": "R", | ||
"variant": "typeParam", | ||
"kind": 131072, | ||
"kindString": "Type parameter", | ||
"flags": {}, | ||
"type": { | ||
"type": "reference", | ||
"target": { | ||
"sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", | ||
"qualifiedName": "Error" | ||
}, | ||
"name": "Error", | ||
"qualifiedName": "Error", | ||
"package": "typescript" | ||
@@ -476,4 +514,4 @@ } | ||
"name": "expr", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -491,4 +529,5 @@ "isOptional": true | ||
"type": "reference", | ||
"id": 22, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -501,4 +540,4 @@ ] | ||
"name": "errorFunc", | ||
"variant": "param", | ||
"kind": 32768, | ||
"kindString": "Parameter", | ||
"flags": { | ||
@@ -509,16 +548,19 @@ "isOptional": true | ||
"type": "reference", | ||
"id": 6, | ||
"target": 6, | ||
"typeArguments": [ | ||
{ | ||
"type": "reference", | ||
"id": 22, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
}, | ||
{ | ||
"type": "reference", | ||
"id": 23, | ||
"name": "R" | ||
"target": -1, | ||
"name": "R", | ||
"refersToTypeParameter": true | ||
} | ||
], | ||
"name": "AssertExErrorFunc" | ||
"name": "AssertExErrorFunc", | ||
"package": "@xylabs/assert" | ||
} | ||
@@ -529,4 +571,5 @@ } | ||
"type": "reference", | ||
"id": 22, | ||
"name": "T" | ||
"target": -1, | ||
"name": "T", | ||
"refersToTypeParameter": true | ||
} | ||
@@ -558,10 +601,135 @@ } | ||
], | ||
"sources": [ | ||
"packageName": "@xylabs/assert", | ||
"readme": [ | ||
{ | ||
"fileName": "index.ts", | ||
"line": 1, | ||
"character": 0, | ||
"url": "https://github.com/xylabs/sdk-js/blob/d4fefe1/packages/assert/src/index.ts#L1" | ||
"kind": "text", | ||
"text": "[![logo][]](https://xylabs.com)\n\n# @xylabs/sdk-js\n\n[![main-build][]][main-build-link]\n[![beta-build][]][beta-build-link]\n[![npm-badge][]][npm-link]\n[![bch-badge][]][bch-link]\n[![codacy-badge][]][codacy-link]\n[![codeclimate-badge][]][codeclimate-link]\n[![snyk-badge][]][snyk-link]\n\n## Table of Contents\n\n- [Description](#description)\n- [Install](#install)\n- [Scripts](#scripts)\n- [Maintainers](#maintainers)\n- [License](#license)\n- [Credits](#credits)\n\n## Description\n\nSDK for base code for Typescript and Javascript Libraries.\n\n## Install\n\nUsing npm:\n\n" | ||
}, | ||
{ | ||
"kind": "code", | ||
"text": "```sh\nnpm i --save @xylabs/sdk-js\n```" | ||
}, | ||
{ | ||
"kind": "text", | ||
"text": "\n\nUsing yarn:\n\n" | ||
}, | ||
{ | ||
"kind": "code", | ||
"text": "```sh\nyarn add @xylabs/sdk-js\n```" | ||
}, | ||
{ | ||
"kind": "text", | ||
"text": "\n\n## Scripts\n\nSee [ts-scripts](https://github.com/xylabs/ts-scripts/blob/main/README.md)\nfor list of shared scripts.\n\n## Maintainers\n\n- [Arie Trouw](https://github.com/arietrouw) (<https://arietrouw.com>)\n\n## License\n\nSee the [LICENSE](LICENSE) file for license details\n\n## Credits\n\n[Made with 🔥 and ❄️ by XY Labs](https://xylabs.com)\n\n[logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg\n[main-build]: https://github.com/xylabs/sdk-js/actions/workflows/build-main.yml/badge.svg\n[main-build-link]: https://github.com/xylabs/sdk-js/actions/workflows/build-main.yml\n[beta-build]: https://github.com/xylabs/sdk-js/actions/workflows/build-beta.yml/badge.svg\n[beta-build-link]: https://github.com/xylabs/sdk-js/actions/workflows/build-beta.yml\n[npm-badge]: https://img.shields.io/npm/v/@xylabs/sdk-js.svg\n[npm-link]: https://www.npmjs.com/package/@xylabs/sdk-js\n[bch-badge]: https://bettercodehub.com/edge/badge/xylabs/sdk-js?branch=main\n[bch-link]: https://bettercodehub.com/results/xylabs/sdk-js\n[codacy-badge]: https://app.codacy.com/project/badge/Grade/c8e15e14f37741c18cfb47ac7245c698\n[codacy-link]: https://www.codacy.com/gh/xylabs/sdk-js/dashboard?utm_source=github.com&utm_medium=referral&utm_content=xylabs/sdk-js&utm_campaign=Badge_Grade\n[codeclimate-badge]: https://api.codeclimate.com/v1/badges/c5eb068f806f0b047ea7/maintainability\n[codeclimate-link]: https://codeclimate.com/github/xylabs/sdk-js/maintainability\n[snyk-badge]: https://snyk.io/test/github/xylabs/sdk-js/badge.svg?targetFile=package.json\n[snyk-link]: https://snyk.io/test/github/xylabs/sdk-js?targetFile=package.json" | ||
} | ||
] | ||
], | ||
"symbolIdMap": { | ||
"0": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "" | ||
}, | ||
"1": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "AssertExMessageFunc" | ||
}, | ||
"2": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "__type" | ||
}, | ||
"3": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "__type" | ||
}, | ||
"4": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "value" | ||
}, | ||
"5": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "T" | ||
}, | ||
"6": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "AssertExErrorFunc" | ||
}, | ||
"7": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "__type" | ||
}, | ||
"8": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "__type" | ||
}, | ||
"9": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "value" | ||
}, | ||
"10": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "T" | ||
}, | ||
"11": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "R" | ||
}, | ||
"12": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "assertEx" | ||
}, | ||
"13": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "assertEx" | ||
}, | ||
"14": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "T" | ||
}, | ||
"15": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "expr" | ||
}, | ||
"16": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "message" | ||
}, | ||
"17": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "assertEx" | ||
}, | ||
"18": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "T" | ||
}, | ||
"19": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "expr" | ||
}, | ||
"20": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "messageFunc" | ||
}, | ||
"21": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "assertEx" | ||
}, | ||
"22": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "T" | ||
}, | ||
"23": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "R" | ||
}, | ||
"24": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "expr" | ||
}, | ||
"25": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "errorFunc" | ||
}, | ||
"26": { | ||
"sourceFileName": "src/index.ts", | ||
"qualifiedName": "default" | ||
} | ||
} | ||
} |
@@ -37,3 +37,3 @@ { | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^2.17.13" | ||
"@xylabs/ts-scripts-yarn3": "^2.17.17" | ||
}, | ||
@@ -55,3 +55,3 @@ "homepage": "https://xylabs.com", | ||
"sideEffects": false, | ||
"version": "2.9.1" | ||
"version": "2.9.2" | ||
} |
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
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
165997
20
2286
1