Comparing version 0.3.22 to 0.3.23
{ | ||
"name": "jsonld", | ||
"version": "0.3.22", | ||
"version": "0.3.23", | ||
"description": "A JSON-LD Processor and API implementation in JavaScript.", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "jsonld", | ||
"version": "0.3.22", | ||
"version": "0.3.23", | ||
"description": "A JSON-LD Processor and API implementation in JavaScript.", | ||
@@ -25,27 +25,20 @@ "homepage": "http://github.com/digitalbazaar/jsonld.js", | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "BSD", | ||
"url": "https://github.com/digitalbazaar/jsonld.js/raw/master/LICENSE" | ||
} | ||
], | ||
"license": "BSD-3-Clause", | ||
"main": "js/jsonld.js", | ||
"dependencies": { | ||
"async": "~0.9.0", | ||
"commander": "~1.3.0", | ||
"commander": "~2.6.0", | ||
"es6-promise": "~2.0.1", | ||
"jsdom": "~0.7.0", | ||
"jsdom": "~3.1.0", | ||
"pkginfo": "~0.3.0", | ||
"request": "~2.44.0", | ||
"xmldom": "0.1.19", | ||
"through": "~2.3.4", | ||
"jsonldify": "~0.1.0" | ||
"request": "~2.53.0", | ||
"xmldom": "0.1.19" | ||
}, | ||
"devDependencies": { | ||
"chai": "~1.9.1", | ||
"istanbul": "^0.3.2", | ||
"jscs": "^1.8.0", | ||
"mocha": "~1.21.4", | ||
"mocha-phantomjs": "~3.5.0", | ||
"phantomjs": "~1.9.0" | ||
"chai": "~2.3.0", | ||
"istanbul": "^0.3.14", | ||
"jscs": "^1.13.1", | ||
"mocha": "~2.2.5", | ||
"mocha-phantomjs": "~3.5.3", | ||
"phantomjs": "~1.9.17" | ||
}, | ||
@@ -52,0 +45,0 @@ "engines": { |
@@ -227,3 +227,9 @@ jsonld.js | ||
} | ||
// call the underlining documentLoader using the callback API. | ||
nodeDocumentLoader(url, callback); | ||
/* Note: By default, the node.js document loader uses a callback, but | ||
browser-based document loaders (xhr or jquery) return promises if they | ||
are supported (or polyfilled) in the browser. This behavior can be | ||
controlled with the 'usePromise' option when constructing the document | ||
loader. For example: jsonld.documentLoaders.xhr({usePromise: false}); */ | ||
}; | ||
@@ -230,0 +236,0 @@ jsonld.documentLoader = customLoader; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
566942
7
13906
345
+ Addedacorn@0.11.02.7.0(transitive)
+ Addedacorn-globals@1.0.9(transitive)
+ Addedboom@2.10.1(transitive)
+ Addedbrowser-request@0.3.3(transitive)
+ Addedcaseless@0.9.0(transitive)
+ Addedcommander@2.6.0(transitive)
+ Addedcryptiles@2.0.5(transitive)
+ Addeddeep-is@0.1.4(transitive)
+ Addedescodegen@1.14.3(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedestraverse@4.3.0(transitive)
+ Addedesutils@2.0.3(transitive)
+ Addedfast-levenshtein@2.0.6(transitive)
+ Addedform-data@0.2.0(transitive)
+ Addedhawk@2.3.1(transitive)
+ Addedhoek@2.16.3(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsdom@3.1.2(transitive)
+ Addedlevn@0.3.0(transitive)
+ Addedmime-db@1.12.0(transitive)
+ Addedmime-types@2.0.14(transitive)
+ Addednwmatcher@1.4.4(transitive)
+ Addedoauth-sign@0.6.0(transitive)
+ Addedoptionator@0.8.3(transitive)
+ Addedparse5@1.5.1(transitive)
+ Addedprelude-ls@1.1.2(transitive)
+ Addedqs@2.3.3(transitive)
+ Addedrequest@2.53.0(transitive)
+ Addedsntp@1.0.9(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedtype-check@0.3.2(transitive)
+ Addedword-wrap@1.2.5(transitive)
+ Addedxml-name-validator@1.0.0(transitive)
+ Addedxmlhttprequest@1.8.0(transitive)
- Removedjsonldify@~0.1.0
- Removedthrough@~2.3.4
- Removedboom@0.4.2(transitive)
- Removedcaseless@0.6.0(transitive)
- Removedcommander@1.3.2(transitive)
- Removedcryptiles@0.2.2(transitive)
- Removedcssom@0.2.5(transitive)
- Removedform-data@0.1.4(transitive)
- Removedhawk@1.1.1(transitive)
- Removedhoek@0.9.1(transitive)
- Removedjsdom@0.7.0(transitive)
- Removedjsonldify@0.1.2(transitive)
- Removedkeypress@0.1.0(transitive)
- Removedmime@1.2.11(transitive)
- Removedmime-types@1.0.2(transitive)
- Removednwmatcher@1.3.9(transitive)
- Removedoauth-sign@0.4.0(transitive)
- Removedqs@1.2.2(transitive)
- Removedrequest@2.44.0(transitive)
- Removedsntp@0.2.4(transitive)
- Removedthrough@2.3.8(transitive)
Updatedcommander@~2.6.0
Updatedjsdom@~3.1.0
Updatedrequest@~2.53.0