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

jsonld

Package Overview
Dependencies
Maintainers
3
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonld - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

tests/manifest.jsonld

5

js/Promise.js

@@ -413,4 +413,9 @@ // Copyright (C) 2013:

// hack to support phantomJS
if(typeof window !== 'undefined') {
window.DomPromise = Promise;
}
})(this,
(typeof window !== 'undefined') ? window : {},
this.runningUnderTest||false);

9

package.json
{
"name": "jsonld",
"version": "0.1.0",
"version": "0.1.1",
"description": "A JSON-LD Processor and API implementation in JavaScript.",

@@ -33,3 +33,6 @@ "homepage": "http://github.com/digitalbazaar/jsonld.js",

"devDependencies": {
"chai": "~1.7.0",
"phantomjs": "~1.9.0",
"mocha": "~1.12.0",
"mocha-phantomjs": "~3.1.0",
"visionmedia-jscoverage": "~1.0.0"

@@ -51,4 +54,6 @@ },

"scripts": {
"test": "make test"
"test-node": "mocha -R list tests/test.js",
"test-browser": "./node_modules/phantomjs/bin/phantomjs tests/test.js",
"test": "mocha -R list tests/test.js"
}
}

@@ -60,7 +60,7 @@ jsonld.js

./bin/jsonld compact -c "http://w3id.org/payswarm/v1" "http://recipes.payswarm.com/?p=10554"
./bin/jsonld compact -c "https://w3id.org/payswarm/v1" "http://recipes.payswarm.com/?p=10554"
The command above will read in a PaySwarm Asset and Listing in RDFa 1.0 format,
convert it to JSON-LD expanded form, compact it using the
'http://w3id.org/payswarm/v1' context, and dump it out to the console in
'https://w3id.org/payswarm/v1' context, and dump it out to the console in
compacted form.

@@ -67,0 +67,0 @@

Sorry, the diff of this file is too big to display

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