Comparing version 1.12.0 to 1.12.1
{ | ||
"name": "n3", | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"description": "Lightning fast, asynchronous, streaming Turtle / N3 / RDF library.", | ||
@@ -23,3 +23,4 @@ "author": "Ruben Verborgh <ruben.verborgh@gmail.com>", | ||
"src", | ||
"lib" | ||
"lib", | ||
"browser" | ||
], | ||
@@ -36,2 +37,3 @@ "dependencies": { | ||
"arrayify-stream": "^1.0.0", | ||
"browserify": "^17.0.0", | ||
"chai": "^4.0.2", | ||
@@ -46,6 +48,9 @@ "chai-things": "^0.2.0", | ||
"rdf-test-suite": "^1.2.0", | ||
"streamify-string": "^1.0.1" | ||
"streamify-string": "^1.0.1", | ||
"uglify-js": "^3.14.3" | ||
}, | ||
"scripts": { | ||
"build": "babel src -d lib", | ||
"build": "npm run build:node && npm run build:browser", | ||
"build:node": "babel src -d lib", | ||
"build:browser": "rm -rf browser && mkdir browser && browserify -s N3 lib/index.js | uglifyjs > browser/n3.min.js", | ||
"test": "nyc npm run mocha", | ||
@@ -52,0 +57,0 @@ "mocha": "mocha", |
@@ -51,2 +51,7 @@ # Lightning fast, asynchronous, streaming RDF for JavaScript | ||
You can also load it via CDN: | ||
```html | ||
<script src="https://unpkg.com/n3/browser/n3.min.js"></script> | ||
``` | ||
## Creating triples/quads | ||
@@ -129,3 +134,3 @@ N3.js follows the [RDF.js low-level specification](http://rdf.js.org/). | ||
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 | ||
This is done to prevent collisions of unrelated blank nodes having identical | ||
labels. The `blankNodePrefix` constructor argument can be used to modify the | ||
@@ -341,3 +346,3 @@ prefix or, if set to an empty string, completely disable prefixing: | ||
The N3.js parser and writer are also fully compatible with the RDF* variants | ||
The N3.js parser and writer are also fully compatible with the RDF* variants | ||
of the W3C specifications. | ||
@@ -344,0 +349,0 @@ |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
457611
25
6575
391
17
2
3