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
126
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 0.4.0 to 0.4.1

2

lib/N3Lexer.js

@@ -308,3 +308,3 @@ // **N3Lexer** tokenizes N3 documents.

if (isNaN(charCode)) throw new Error(); // can never happen (regex), but helps performance
if (charCode < 0xFFFF) return fromCharCode(charCode);
if (charCode <= 0xFFFF) return fromCharCode(charCode);
return fromCharCode(0xD800 + ((charCode -= 0x10000) / 0x400), 0xDC00 + (charCode & 0x3FF));

@@ -311,0 +311,0 @@ }

@@ -161,3 +161,3 @@ // **N3Writer** writes N3 documents.

// The triple was given as a triple object, so shift parameters
if (!object)
if (typeof object !== 'string')
this._writeTriple(subject.subject, subject.predicate, subject.object,

@@ -164,0 +164,0 @@ subject.graph || '', predicate);

{
"name": "n3",
"version": "0.4.0",
"version": "0.4.1",
"description": "Lightning fast, asynchronous, streaming Turtle / N3 / RDF library.",

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

@@ -50,3 +50,3 @@ # Lightning fast, asynchronous, streaming RDF for JavaScript

## Triple representation
For maximum performance and easy of use,
For maximum performance and ease of use,
triples are simple objects with string properties.

@@ -53,0 +53,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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