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

jsonc-simple-parser

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonc-simple-parser - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

dist/grammar.js

@@ -22,5 +22,5 @@ "use strict";

/* NUMBER LITERAL */
const NumberLiteral = /[-+]?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][-+]?\d+)?/;
const NumberLiteral = /-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][-+]?\d+)?/;
/* STRING LITERAL */
const StringLiteral = /"(?:[^\0-\x1F\\"]+|\\["bfnrt\\/]|\\u[0-9a-fA-F]{4})*"/;
const StringLiteral = /"(?:[^\u0000-\u001F\\"]+|\\["bfnrt\\/]|\\u[0-9a-fA-F]{4})*"/;
/* ARRAY LITERAL */

@@ -27,0 +27,0 @@ const ArrayDelimiterStart = '[';

{
"name": "jsonc-simple-parser",
"description": "A simple JSON parser that supports comments and optional trailing commas.",
"version": "1.0.0",
"version": "1.0.1",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "types": "dist/index.d.ts",

@@ -46,3 +46,3 @@

const NumberLiteral
= /[-+]?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][-+]?\d+)?/;
= /-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][-+]?\d+)?/;

@@ -52,3 +52,3 @@ /* STRING LITERAL */

const StringLiteral
= /"(?:[^\0-\x1F\\"]+|\\["bfnrt\\/]|\\u[0-9a-fA-F]{4})*"/;
= /"(?:[^\u0000-\u001F\\"]+|\\["bfnrt\\/]|\\u[0-9a-fA-F]{4})*"/;

@@ -55,0 +55,0 @@ /* ARRAY LITERAL */

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