Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rdf-esm/formats-common

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rdf-esm/formats-common - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.5.3](https://github.com/rdf-esm/formats-common/compare/v0.5.2...v0.5.3) (2020-08-14)
### Bug Fixes
* cater for rdf/xml parser's inconsistent export ([f571fcb](https://github.com/rdf-esm/formats-common/commit/f571fcb95c91b1d3065f6ae4310c4448be4c87a1))
### [0.5.2](https://github.com/rdf-esm/formats-common/compare/v0.5.1...v0.5.2) (2020-06-12)

@@ -7,0 +14,0 @@

12

package.json
{
"name": "@rdf-esm/formats-common",
"version": "0.5.2",
"version": "0.5.3",
"description": "Parsers and serializers for common RDF formats",

@@ -30,7 +30,7 @@ "main": "index.js",

"@rdf-esm/sink-map": "^0.5.1",
"@rdfjs/parser-jsonld": "^1.1.1",
"@rdfjs/parser-n3": "^1.1.2",
"@rdfjs/serializer-jsonld": "^1.2.0",
"@rdfjs/serializer-ntriples": "^1.0.1",
"rdfxml-streaming-parser": "^1.2.0"
"@rdfjs/parser-jsonld": "^1.2.1",
"@rdfjs/parser-n3": "^1.1.4",
"@rdfjs/serializer-jsonld": "^1.2.2",
"@rdfjs/serializer-ntriples": "^1.0.3",
"rdfxml-streaming-parser": "^1.3.6"
},

@@ -37,0 +37,0 @@ "devDependencies": {

@@ -13,4 +13,13 @@ export async function jsonLdParser () {

export async function rdfXmlParser () {
const { RdfXmlParser } = (await import('rdfxml-streaming-parser')).default
const module = await import('rdfxml-streaming-parser')
let RdfXmlParser
if (module.default) {
RdfXmlParser = module.default.RdfXmlParser
}
else {
RdfXmlParser = module.RdfXmlParser
}
return new RdfXmlParser()
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc