normalize-walker
Advanced tools
Comparing version 0.1.0 to 0.1.1
var path = require('path') | ||
var mime = require('mime-types') | ||
var typeis = require('type-is').is | ||
var mime = require('mime-extended') | ||
var debug = require('debug')('normalize-walker:dependency') | ||
@@ -6,0 +6,0 @@ |
var debug = require('debug')('normalize-walker:file') | ||
var calculate = require('hash-stream') | ||
var mime = require('mime-extended') | ||
var typeis = require('type-is').is | ||
var mime = require('mime-types') | ||
var pathis = require('path-is') | ||
var path = require('path') | ||
var fs = require('co-fs') | ||
var fs = require('mz/fs') | ||
@@ -10,0 +10,0 @@ module.exports = File |
@@ -6,3 +6,3 @@ | ||
var mime = require('mime-extended') | ||
var mime = require('mime-types') | ||
var typeis = require('type-is').is | ||
@@ -9,0 +9,0 @@ |
@@ -6,4 +6,4 @@ | ||
var cache = require('lru-cache-dummy') | ||
var EventEmitter = require('events').EventEmitter | ||
var isGeneratorFunction = require('is-generator').fn | ||
var EventEmitter = require('events').EventEmitter | ||
var debug = require('debug')('normalize-walker:walker') | ||
@@ -105,3 +105,3 @@ | ||
if (!uri) throw new Error('Every dependency must have a URI.') | ||
if (!pathis.absolute(uri)) throw new Error('Dependency URIs must be a local, absolute path.') | ||
if (!pathis.absolute(uri)) throw new Error('Dependency URIs must be a local, absolute path: ' + uri) | ||
debug('resolving %s', uri) | ||
@@ -108,0 +108,0 @@ |
{ | ||
"name": "normalize-walker", | ||
"description": "Walk down dependencies of JS, CSS, HTML, etc. and create a tree. ", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": { | ||
@@ -20,7 +20,6 @@ "name": "Jonathan Ong", | ||
"path-is": "^1.1.0", | ||
"mime": "^1.2.11", | ||
"mime-extended": "^1.0.0", | ||
"mime-types": "1", | ||
"debug": "*", | ||
"co": "^3", | ||
"co-fs": "1", | ||
"mz": "0", | ||
"is-generator": "0" | ||
@@ -27,0 +26,0 @@ }, |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11
0
26306
+ Addedmime-types@1
+ Addedmz@0
+ Addedmime-types@1.0.2(transitive)
+ Addedmz@0.1.6(transitive)
- Removedco-fs@1
- Removedmime@^1.2.11
- Removedmime-extended@^1.0.0
- Removedco-from-stream@0.0.0(transitive)
- Removedco-fs@1.2.0(transitive)
- Removedco-read@0.0.1(transitive)
- Removedmime@1.6.0(transitive)
- Removedmime-extended@1.0.1(transitive)
- Removedthunkify@0.0.1(transitive)