ejson-shell-parser
Advanced tools
Comparing version 1.1.4 to 1.2.0
@@ -734,3 +734,5 @@ 'use strict'; | ||
var _buildAST = buildAST("(".concat(input, ")")), | ||
var _buildAST = buildAST( // Wrapping input into brackets with newlines so that parser can correctly | ||
// process an expression and handle possible trailing comments | ||
"(\n".concat(input, "\n)")), | ||
hasComments = _buildAST.hasComments, | ||
@@ -737,0 +739,0 @@ ast = _buildAST.ast; |
@@ -734,3 +734,5 @@ 'use strict'; | ||
var _buildAST = buildAST("(".concat(input, ")")), | ||
var _buildAST = buildAST( // Wrapping input into brackets with newlines so that parser can correctly | ||
// process an expression and handle possible trailing comments | ||
"(\n".concat(input, "\n)")), | ||
hasComments = _buildAST.hasComments, | ||
@@ -737,0 +739,0 @@ ast = _buildAST.ast; |
@@ -710,3 +710,5 @@ import { parse as parse$1 } from 'acorn'; | ||
var _buildAST = buildAST("(".concat(input, ")")), | ||
var _buildAST = buildAST( // Wrapping input into brackets with newlines so that parser can correctly | ||
// process an expression and handle possible trailing comments | ||
"(\n".concat(input, "\n)")), | ||
hasComments = _buildAST.hasComments, | ||
@@ -713,0 +715,0 @@ ast = _buildAST.ast; |
{ | ||
"name": "ejson-shell-parser", | ||
"version": "1.1.4", | ||
"version": "1.2.0", | ||
"main": "dist/ejson-shell-parser.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/ejson-shell-parser.esm.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
547154
2351