Socket
Socket
Sign inDemoInstall

comment-json

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comment-json - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

index.d.ts

15

package.json
{
"name": "comment-json",
"version": "2.3.1",
"version": "2.4.0",
"description": "Parse and stringify JSON with comments. It will retain comments even after saved!",
"main": "src/index.js",
"scripts": {
"test": "NODE_DEBUG=comment-json nyc ava --timeout=10s --verbose",
"test:dev": "NODE_DEBUG=comment-json nyc ava --timeout=10s --verbose && npm run report:dev",
"test": "npm run test:only",
"test:only": "npm run test:ts && npm run test:node",
"test:ts": "tsc test/ts/test-ts.ts && node test/ts/test-ts.js",
"test:node": "NODE_DEBUG=comment-json nyc ava --timeout=10s --verbose",
"test:dev": "npm run test:only && npm run report:dev",
"lint": "eslint .",

@@ -17,3 +20,4 @@ "fix": "eslint . --fix",

"files": [
"src/"
"src/",
"index.d.ts"
],

@@ -56,3 +60,4 @@ "repository": {

"nyc": "^14.1.1",
"test-fixture": "^2.4.1"
"test-fixture": "^2.4.1",
"typescript": "^3.7.4"
},

@@ -59,0 +64,0 @@ "dependencies": {

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