@typeonly/validator
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -11,3 +11,3 @@ // -- API Definitions -- | ||
} | ||
export declare type CreateValidatorOptions = SyncReadModulesValidatorOptions | AsyncReadModulesValidatorOptions | ||
export type CreateValidatorOptions = SyncReadModulesValidatorOptions | AsyncReadModulesValidatorOptions | ||
export declare function createValidator(options: SyncReadModulesValidatorOptions): TypeOnlyValidator | ||
@@ -14,0 +14,0 @@ export declare function createValidator(options: AsyncReadModulesValidatorOptions): Promise<TypeOnlyValidator> |
{ | ||
"name": "@typeonly/validator", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "An API to validate JSON data or JavaScript objects, using TypeScript typing definitions.", | ||
"author": "Paroi", | ||
"scripts": { | ||
"prepublishOnly": "npm run build && npm run test", | ||
"clear": "rimraf 'dist/*' 'bundle-tsd/declarations/*'", | ||
"prepublishOnly": "npm run test", | ||
"clear": "rimraf dist/* bundle-tsd/declarations/*", | ||
"tsc": "tsc", | ||
@@ -18,13 +18,13 @@ "tsc:watch": "tsc --watch", | ||
"dependencies": { | ||
"@typeonly/loader": "^0.5.4" | ||
"@typeonly/loader": "^0.6.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^27.4.1", | ||
"@types/node": "16", | ||
"jest": "^27.5.1", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.1.4", | ||
"tslint": "^6.1.2", | ||
"typeonly": "^0.4.5", | ||
"typescript": "^4.6.3" | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "20", | ||
"jest": "^29.7.0", | ||
"rimraf": "^5.0.5", | ||
"ts-jest": "^29.1.2", | ||
"tslint": "^6.1.3", | ||
"typeonly": "^0.5.0", | ||
"typescript": "^5.4.2" | ||
}, | ||
@@ -37,3 +37,3 @@ "main": "dist/api.js", | ||
}, | ||
"homepage": "https://github.com/paroi-tech/typeonly/tree/master/validator", | ||
"homepage": "https://github.com/paroi-tech/typeonly/tree/master/packages/validator", | ||
"license": "CC0-1.0", | ||
@@ -45,2 +45,2 @@ "keywords": [ | ||
] | ||
} | ||
} |
@@ -8,3 +8,3 @@ # @typeonly/validator | ||
[TypeOnly](https://github.com/paroi-tech/typeonly/tree/master/typeonly) aims to be the pure typing part of TypeScript. This package provides an API to validate JSON and JavaScript objects with TypeScript definitions, using the TypeOnly parser. | ||
[TypeOnly](https://github.com/paroi-tech/typeonly/tree/master/packages/typeonly) aims to be the pure typing part of TypeScript. This package provides an API to validate JSON and JavaScript objects with TypeScript definitions, using the TypeOnly parser. | ||
@@ -11,0 +11,0 @@ ## Tutorial: How to programmatically validate JSON data |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
67748
21
1
1
+ Added@typeonly/loader@0.6.0(transitive)
- Removed@typeonly/loader@0.5.4(transitive)
Updated@typeonly/loader@^0.6.0