fast-xml-parser
Advanced tools
Comparing version
@@ -0,1 +1,3 @@ | ||
3.12.18 / 2019-07-27 | ||
* remove configstore dependency | ||
3.12.17 / 2019-07-14 | ||
@@ -2,0 +4,0 @@ * Fix #167: '>' in attribute value |
{ | ||
"name": "fast-xml-parser", | ||
"version": "3.12.17", | ||
"version": "3.12.18", | ||
"description": "Validate XML or Parse XML to JS/JSON very fast without C/C++ based libraries", | ||
@@ -90,3 +90,2 @@ "main": "./src/parser.js", | ||
"dependencies": { | ||
"configstore": "^4.0.0", | ||
"nimnjs": "^1.3.2" | ||
@@ -93,0 +92,0 @@ }, |
@@ -272,4 +272,9 @@ # [fast-xml-parser](https://www.npmjs.com/package/fast-xml-parser) | ||
<a href="https://tradle.io/" title="Tradle" > <img src="https://avatars2.githubusercontent.com/u/9482126" width="80px" ></a> | ||
<a href="http://www.anl.gov/" title="Argonne National Laboratory" > <img src="https://avatars0.githubusercontent.com/u/10468712" width="80px" ></a> | ||
<a href="https://simpleicons.org/" title="Simple Icons" > <img src="https://avatars2.githubusercontent.com/u/29872746" width="80px" ></a> | ||
<a href="https://vmware.com/" title="vmware" > <img src="https://avatars0.githubusercontent.com/u/473334" width="80px" ></a> | ||
<a href="https://opensource.microsoft.com/" title="microsoft" > <img src="https://avatars0.githubusercontent.com/u/6154722" width="80px" ></a> | ||
<a href="https://github.com/notable/notable" title="notable" > <img src="https://avatars3.githubusercontent.com/u/46467536" width="80px" ></a> | ||
<a href="http://ibm.github.io/" title="notable" > <img src="https://avatars2.githubusercontent.com/u/1459110" width="80px" ></a> | ||
## Contributors | ||
@@ -276,0 +281,0 @@ |
#!/usr/bin/env node | ||
function main() { | ||
if (process.env.SUPPRESS_SUPPORT) { | ||
return; | ||
} | ||
const msg = '\u001b[32mLove fast-xml-parser? You can now support the project on following:\u001b[22m\u001b[39m\n > \u001b[96m\u001b[1mhttps://opencollective.com/fast-xml-parser/donate\u001b[0m\n > \u001b[96m\u001b[1mhttps://www.patreon.com/bePatron?u=9531404\u001b[0m\n'; | ||
try { | ||
const Configstore = require('configstore'); | ||
const pkg = require(__dirname + '/../package.json'); | ||
const now = Date.now(); | ||
var week = 1000 * 60 * 60 * 24 * 7; | ||
// create a Configstore instance with an unique ID e.g. | ||
// Package name and optionally some default values | ||
const conf = new Configstore(pkg.name); | ||
const last = conf.get('lastCheck'); | ||
if (!last || now - week > last) { | ||
console.log(msg); | ||
conf.set('lastCheck', now); | ||
} | ||
} catch (e) { | ||
console.log(msg); | ||
} | ||
} | ||
main(); | ||
const msg = '\u001b[96m\u001b[1mLove fast-xml-parser? Check \u001b[32mhttps://amitkumargupta.work \u001b[96m\u001b[1mfor more projects and contribution.\u001b[0m\n'; | ||
console.log(msg) |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
361328
0.04%1
-50%312
1.63%3
-50%1338
-1.55%- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed