Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

destr

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

destr - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

CHANGELOG.md

3

dist/index.d.ts

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

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