Comparing version 3.1.2 to 4.0.0
@@ -1,6 +0,6 @@ | ||
export declare type Json = string | number | boolean | null | { | ||
[property: string]: Json; | ||
} | Json[]; | ||
export interface Jsonable<T extends Json | Record<string, Json | Jsonable<any>> | Array<Json | Jsonable<any>>> { | ||
export declare type JSONValue = string | number | boolean | null | { | ||
[property: string]: JSONValue; | ||
} | JSONValue[]; | ||
export interface JSONSerializable<T extends JSONValue | Record<string, JSONValue | JSONSerializable<any>> | Array<JSONValue | JSONSerializable<any>>> { | ||
toJSON(key: string): T; | ||
} |
{ | ||
"name": "justypes", | ||
"version": "3.1.2", | ||
"version": "4.0.0", | ||
"description": "Dumb types for TypeScript in the real world", | ||
@@ -38,21 +38,20 @@ "keywords": [ | ||
"devDependencies": { | ||
"@blackglory/pass": "^1.0.1", | ||
"@commitlint/cli": "^17.0.3", | ||
"@commitlint/config-conventional": "^17.0.3", | ||
"@types/jest": "^27.4.1", | ||
"@typescript-eslint/eslint-plugin": "^5.33.1", | ||
"@typescript-eslint/parser": "^5.33.1", | ||
"eslint": "^8.22.0", | ||
"@blackglory/pass": "^1.1.0", | ||
"@commitlint/cli": "^17.3.0", | ||
"@commitlint/config-conventional": "^17.3.0", | ||
"@types/jest": "^29.2.4", | ||
"@typescript-eslint/eslint-plugin": "^5.46.1", | ||
"@typescript-eslint/parser": "^5.46.1", | ||
"eslint": "^8.30.0", | ||
"husky": "^4.3.8", | ||
"jest": "^27.5.1", | ||
"jest-extended": "^2.0.0", | ||
"jest": "^29.3.1", | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^3.0.2", | ||
"standard-version": "^9.5.0", | ||
"ts-jest": "^27.1.3", | ||
"ts-jest": "^29.0.3", | ||
"tscpaths": "^0.0.9", | ||
"tsd": "^0.19.1", | ||
"tslib": "^2.4.0", | ||
"tsd": "^0.25.0", | ||
"tslib": "^2.4.1", | ||
"typescript": "^4.7.4" | ||
} | ||
} |
@@ -24,4 +24,4 @@ # justypes | ||
- Getter | ||
- Json | ||
- Jsonable | ||
- JSONValue | ||
- JSONSerializable | ||
- NonEmptyArray | ||
@@ -28,0 +28,0 @@ - Nullish |
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
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
10681
17