Socket
Socket
Sign inDemoInstall

@typeonly/validator

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typeonly/validator - npm Package Compare versions

Comparing version 0.5.2 to 0.6.0

CHANGELOG.md

2

dist/validator.d.ts

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

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