New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

n3

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n3 - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

5

lib/N3Parser.js

@@ -68,3 +68,6 @@ "use strict";

_setBase(baseIRI) {
if (!baseIRI) this._base = null;else {
if (!baseIRI) {
this._base = '';
this._basePath = '';
} else {
// Remove fragment if present

@@ -71,0 +74,0 @@ var fragmentPos = baseIRI.indexOf('#');

2

package.json
{
"name": "n3",
"version": "1.2.0",
"version": "1.2.1",
"description": "Lightning fast, asynchronous, streaming Turtle / N3 / RDF library.",

@@ -5,0 +5,0 @@ "author": "Ruben Verborgh <ruben.verborgh@gmail.com>",

@@ -122,2 +122,10 @@ # Lightning fast, asynchronous, streaming RDF for JavaScript

By default, `N3.Parser` will prefix blank node labels with a `b{digit}_` prefix.
This is done to prevent collisions of unrelated blank nodes having identical
labels. The `blankNodePrefix` constructor argument can be used to modify the
prefix or, if set to an empty string, completely disable prefixing:
```JavaScript
const parser = new N3.Parser({ blankNodePrefix: '' });
```
### From an RDF stream to quads

@@ -124,0 +132,0 @@

@@ -56,4 +56,6 @@ // **N3Parser** parses N3 documents.

_setBase(baseIRI) {
if (!baseIRI)
this._base = null;
if (!baseIRI) {
this._base = '';
this._basePath = '';
}
else {

@@ -60,0 +62,0 @@ // Remove fragment if present

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