rdf-canonize
Advanced tools
Comparing version 2.0.1 to 3.0.0
# rdf-canonize ChangeLog | ||
## 3.0.0 - 2021-04-07 | ||
### Changed | ||
- **BREAKING**: Only support Node.js >= 12. Remove related tests, dependencies, | ||
and generated `node6` output. | ||
- **BREAKING**: Remove browser bundles. Simplifies package and reduces install | ||
size. If you have a use case that requires the bundles, please file an issue. | ||
- Fix browser override file path style. | ||
## 2.0.1 - 2021-01-21 | ||
@@ -4,0 +13,0 @@ |
@@ -6,8 +6,4 @@ /** | ||
* | ||
* Copyright 2010-2017 Digital Bazaar, Inc. | ||
* Copyright 2010-2021 Digital Bazaar, Inc. | ||
*/ | ||
if(require('semver').gte(process.version, '8.0.0')) { | ||
module.exports = require('./lib'); | ||
} else { | ||
module.exports = require('./dist/node6/lib'); | ||
} | ||
module.exports = require('./lib'); |
/* | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -4,0 +4,0 @@ 'use strict'; |
@@ -6,3 +6,3 @@ /** | ||
* BSD 3-Clause License | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. | ||
* All rights reserved. | ||
@@ -9,0 +9,0 @@ * |
/* | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -4,0 +4,0 @@ 'use strict'; |
/* | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -4,0 +4,0 @@ 'use strict'; |
/* | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -4,0 +4,0 @@ 'use strict'; |
/* | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -4,0 +4,0 @@ 'use strict'; |
/* | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -4,0 +4,0 @@ 'use strict'; |
/* | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -4,0 +4,0 @@ 'use strict'; |
/* | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -4,0 +4,0 @@ 'use strict'; |
/* | ||
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved. | ||
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved. | ||
*/ | ||
@@ -4,0 +4,0 @@ 'use strict'; |
{ | ||
"name": "rdf-canonize", | ||
"version": "2.0.1", | ||
"version": "3.0.0", | ||
"description": "An implementation of the RDF Dataset Normalization Algorithm in JavaScript", | ||
@@ -25,5 +25,2 @@ "homepage": "https://github.com/digitalbazaar/rdf-canonize", | ||
"files": [ | ||
"dist/*.js", | ||
"dist/*.js.map", | ||
"dist/node6/**/*.js", | ||
"index.js", | ||
@@ -33,30 +30,17 @@ "lib/*.js" | ||
"dependencies": { | ||
"semver": "^6.3.0", | ||
"setimmediate": "^1.0.5" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.2.2", | ||
"@babel/plugin-transform-modules-commonjs": "^7.2.0", | ||
"@babel/plugin-transform-runtime": "^7.2.0", | ||
"@babel/preset-env": "^7.3.1", | ||
"@babel/runtime": "^7.3.1", | ||
"babel-loader": "^8.0.5", | ||
"benchmark": "^2.1.4", | ||
"chai": "^4.2.0", | ||
"commander": "^2.19.0", | ||
"core-js": "^2.6.3", | ||
"delay": "^4.4.0", | ||
"eslint": "^7.10.0", | ||
"delay": "^5.0.0", | ||
"eslint": "^7.23.0", | ||
"eslint-config-digitalbazaar": "^2.6.1", | ||
"mocha": "^5.2.0", | ||
"mocha": "^8.3.2", | ||
"mocha-lcov-reporter": "^1.3.0", | ||
"nsolid": "0.0.0", | ||
"nyc": "^13.1.0", | ||
"webpack": "^4.29.0", | ||
"webpack-cli": "^3.2.1", | ||
"webpack-merge": "^4.2.1" | ||
"nyc": "^15.1.0" | ||
}, | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=12" | ||
}, | ||
@@ -72,6 +56,2 @@ "keywords": [ | ||
"scripts": { | ||
"prepublish": "npm run build", | ||
"build": "npm run build-webpack && npm run build-node6", | ||
"build-webpack": "webpack", | ||
"build-node6": "BROWSERSLIST='node 6' babel --no-babelrc lib --out-dir dist/node6/lib --presets=@babel/preset-env", | ||
"fetch-test-suite": "if [ ! -e test-suites/normalization ]; then git clone --depth 1 https://github.com/json-ld/normalization.git test-suites/normalization; fi", | ||
@@ -87,6 +67,5 @@ "test": "npm run test-node", | ||
"browser": { | ||
"./index.js": "./lib/index.js", | ||
"./lib/MessageDigest": "./lib/MessageDigest-browser.js", | ||
"./lib/MessageDigest.js": "./lib/MessageDigest-browser.js", | ||
"rdf-canonize-native": false | ||
} | ||
} |
@@ -17,3 +17,3 @@ # rdf-canonize | ||
### node.js + npm | ||
### Node.js + npm | ||
@@ -28,3 +28,3 @@ ``` | ||
### node.js + npm + native bindings | ||
### Node.js + npm + native bindings | ||
@@ -53,14 +53,6 @@ This package has support for [rdf-canonize-native][]. This package can be | ||
### Browser (AMD) + npm | ||
### Browser + npm | ||
``` | ||
npm install rdf-canonize | ||
``` | ||
Install in your project with npm and use your favorite browser bundler tool. | ||
Use your favorite technology to load `node_modules/dist/rdf-canonize.min.js`. | ||
### HTML | ||
Various NPM proxy CDN sites offer direct access to NPM files. | ||
Examples | ||
@@ -120,2 +112,4 @@ -------- | ||
Browser testing with karma is done indirectly through [jsonld.js][]. | ||
Benchmark | ||
@@ -122,0 +116,0 @@ --------- |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1
9
76794
15
1738
134
1
- Removedsemver@^6.3.0
- Removedsemver@6.3.1(transitive)