Comparing version 1.3.0 to 2.0.0
@@ -1,3 +0,3 @@ | ||
module.exports = exports = require('vigour-js/util').isNode | ||
? require('./lib/server') | ||
: require('./lib/client') | ||
module.exports = exports = (typeof window === 'undefined') ? | ||
require('./lib/server') : | ||
require('./lib/client') |
@@ -6,3 +6,2 @@ var http = require('http') | ||
, concat = require('concat-stream') | ||
, ajax = require('vigour-js/browser/network/ajax') | ||
@@ -72,3 +71,3 @@ module.exports = exports | ||
exports.ajaxGet = function (url, options, cb) { | ||
ajax({ | ||
require('vigour-js/browser/network/ajax')({ | ||
url: url | ||
@@ -75,0 +74,0 @@ , complete: function (data, xhrProgressEvent) { |
{ | ||
"name": "vigour-fs", | ||
"version": "1.3.0", | ||
"version": "2.0.0", | ||
"description": "node's `fs` module with sugar on top + native support.", | ||
@@ -47,6 +47,8 @@ "main": "index.js", | ||
"through2": "^0.6.1", | ||
"vigour-js": "git+ssh://git@github.com:vigour-io/vigour-js.git#master", | ||
"xml2js": "^0.4.10" | ||
}, | ||
"optDependencies": { | ||
"vigour-js": "git+ssh://git@github.com:vigour-io/vigour-js#master" | ||
}, | ||
"homepage": "https://github.com/vigour-io/vigour-fs" | ||
} |
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
8104972
8
0
7
12616