Comparing version 3.3.2 to 4.0.0
# jsonld ChangeLog | ||
## 3.3.2 - 2021-02-10 | ||
## 4.0.0 - 2021-02-11 | ||
### Fixed | ||
- Add `yallist` to packages run through babel for bundles. Fixes use of | ||
`function*`. | ||
### Removed | ||
- **BREAKING**: RDFa parser moved to `jsonld-rdfa` package, remove `xmldom` | ||
dependency. | ||
@@ -9,0 +9,0 @@ ## 3.3.1 - 2021-02-10 |
@@ -66,4 +66,2 @@ "use strict"; | ||
const Rdfa = require('./Rdfa'); | ||
const { | ||
@@ -1156,5 +1154,3 @@ expand: _expand | ||
jsonld.registerRDFParser('application/n-quads', NQuads.parse); | ||
jsonld.registerRDFParser('application/nquads', NQuads.parse); // register the RDFa API RDF parser | ||
jsonld.registerRDFParser('rdfa-api', Rdfa.parse); | ||
jsonld.registerRDFParser('application/nquads', NQuads.parse); | ||
/* URL API */ | ||
@@ -1161,0 +1157,0 @@ |
@@ -43,3 +43,2 @@ /** | ||
const NQuads = require('./NQuads'); | ||
const Rdfa = require('./Rdfa'); | ||
@@ -993,5 +992,2 @@ const {expand: _expand} = require('./expand'); | ||
// register the RDFa API RDF parser | ||
jsonld.registerRDFParser('rdfa-api', Rdfa.parse); | ||
/* URL API */ | ||
@@ -998,0 +994,0 @@ jsonld.url = require('./url'); |
{ | ||
"name": "jsonld", | ||
"version": "3.3.2", | ||
"version": "4.0.0", | ||
"description": "A JSON-LD Processor and API implementation in JavaScript.", | ||
@@ -38,4 +38,3 @@ "homepage": "https://github.com/digitalbazaar/jsonld.js", | ||
"request": "^2.88.0", | ||
"semver": "^6.3.0", | ||
"xmldom": "0.1.19" | ||
"semver": "^6.3.0" | ||
}, | ||
@@ -90,4 +89,4 @@ "devDependencies": { | ||
"JSON", | ||
"JSON-LD", | ||
"Linked Data", | ||
"JSON-LD", | ||
"RDF", | ||
@@ -129,5 +128,4 @@ "Semantic Web", | ||
"url": false, | ||
"util": false, | ||
"xmldom": false | ||
"util": false | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
1566712
53
19533
3
- Removedxmldom@0.1.19
- Removedxmldom@0.1.19(transitive)