Socket
Socket
Sign inDemoInstall

saxen

Package Overview
Dependencies
0
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.1 to 7.0.0

dist/index.js

20

CHANGELOG.md

@@ -9,7 +9,23 @@ # Changelog

## 7.0.0
### Breaking Changes
* `FEAT`: expose `Parser` and `decode` via single export only. Use `import` or destructuring to access it:
```javascript
var { Parser } = require('saxen');
```
### Other Improvements
* `FEAT`: generate pre-built distributions for CommonJS and Browser targets
* `FEAT`: generate UMD bundle
* `CHORE`: Migrate code base to ES6
## 6.0.1
_This is a re-publish of the broken `v6.0.0` version_
_This is a re-publish of the broken `v6.0.0` version._
* `FEAT`: recover from attribute parse errors; instead of skipping attributes all together attempt to parse what's possible [#13](https://github.com/nikku/saxen/issues/13)
* `FEAT`: recover from attribute parse errors [#13](https://github.com/nikku/saxen/issues/13)

@@ -16,0 +32,0 @@ ## 6.0.0

11

package.json

@@ -6,3 +6,4 @@ {

"all": "run-s lint test-coverage test-perf",
"lint": "eslint parser.js test/*.js",
"lint": "eslint .",
"pretest": "rollup -c",
"test": "mocha test/index.js",

@@ -18,4 +19,6 @@ "test-coverage": "NO_PERF=1 nyc --check-coverage --statements 95 npm test",

],
"version": "6.0.1",
"main": "./parser.js",
"version": "7.0.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"browser": "./dist/saxen.umd.js",
"bugs": {

@@ -46,4 +49,6 @@ "url": "https://github.com/nikku/saxen/issues"

"nyc": "^11.3.0",
"rollup": "^0.57.1",
"rollup-plugin-uglify": "^3.0.0",
"table": "^4.0.2"
}
}

@@ -20,3 +20,5 @@ # `/saxen/` parser <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Coat_of_arms_of_Saxony.svg/220px-Coat_of_arms_of_Saxony.svg.png" align="right" />

```javascript
var Parser = require('saxen');
var {
Parser
} = require('saxen');

@@ -23,0 +25,0 @@ var parser = new Parser();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc