Comparing version 0.1.0 to 0.1.1
@@ -5,3 +5,2 @@ export declare type JSONObject = { | ||
export declare type JSONValue = true | false | null | string | Number | JSONObject | JSONValue[]; | ||
export declare type DestrValue = JSONValue | undefined; | ||
export default function destr(val: string | any): DestrValue; | ||
export default function destr(val: string | any): JSONValue | undefined; |
{ | ||
"name": "destr", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A faster, secure and convenient alternative for JSON.parse", | ||
@@ -14,6 +14,6 @@ "repository": "nuxt-contrib/destr", | ||
"bench": "yarn build && node ./bench.js", | ||
"build": "bili src/index.ts", | ||
"lint": "eslint --ext .ts .", | ||
"test": "yarn lint", | ||
"build": "bili src/index.ts", | ||
"release": "release-it" | ||
"release": "yarn test && yarn build && standard-version && git push --follow-tags && npm publish", | ||
"test": "yarn lint" | ||
}, | ||
@@ -25,6 +25,6 @@ "devDependencies": { | ||
"eslint": "latest", | ||
"release-it": "latest", | ||
"rollup-plugin-typescript2": "latest", | ||
"standard-version": "latest", | ||
"typescript": "latest" | ||
} | ||
} |
@@ -113,3 +113,3 @@ # destr | ||
```ts | ||
function destr(val: string | any): DestrValue | ||
function destr(val: string | any): JSONValue | undefined | ||
``` | ||
@@ -116,0 +116,0 @@ |
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
6107
6
35