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

normalize-walker

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-walker - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

lib/dependency.js
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 @@ },

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