@daytona/lds-parser
Advanced tools
+3
-2
| var path = require('path'); | ||
| var fs = require('fs'); | ||
| var jsonlint = require('jsonlint'); | ||
| var trace = require('./lib/trace'); | ||
@@ -101,3 +102,3 @@ var pathExists = require('./lib/path-exists'); | ||
| var json = tree['index.json'] || tree['default.json']; | ||
| componentData = JSON.parse(json); | ||
| componentData = jsonlint.parse(json); | ||
| } catch (err) { | ||
@@ -112,3 +113,3 @@ console.error('Invalid JSON data in component', encodeURI(`/${options.group}/${name}`)); | ||
| var json = tree['config.json']; | ||
| componentConfig = JSON.parse(json); | ||
| componentConfig = jsonlint.parse(json); | ||
| } catch (err) { | ||
@@ -115,0 +116,0 @@ console.error('Invalid JSON config in component', encodeURI(`/${options.group}/${name}`)); |
+2
-1
| { | ||
| "name": "@daytona/lds-parser", | ||
| "version": "0.3.2", | ||
| "version": "0.3.3", | ||
| "description": "Parse LDS structure and return indexable object", | ||
@@ -13,2 +13,3 @@ "main": "index.js", | ||
| "fs": "0.0.2", | ||
| "jsonlint": "^1.6.2", | ||
| "path": "^0.12.7", | ||
@@ -15,0 +16,0 @@ "postcss": "^5.0.19", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
13819
0.51%325
0.31%6
20%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed