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

defiler

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

defiler - npm Package Compare versions

Comparing version 0.18.0 to 0.18.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# v0.18.1
- Defer resolving the `dir` passed to the `Defiler` constructor until `defiler.exec()` is called
# v0.18.0

@@ -2,0 +6,0 @@

2

dist/index.cjs.js

@@ -269,3 +269,2 @@ 'use strict';

}
dir = path.resolve(dir);
return (new Watcher({ dir, filter, read, enc, pre, watch, debounce }));

@@ -287,2 +286,3 @@ });

await Promise.all(this._watchers.map(async (watcher) => {
watcher.dir = path.resolve(watcher.dir);
watcher.on('', event => this._enqueue(watcher, event));

@@ -289,0 +289,0 @@ await Promise.all((await watcher.init()).map(async (file) => {

@@ -1,2 +0,2 @@

import { readdir, readFile, stat, watch } from 'fs';
import { watch, readdir, readFile, stat } from 'fs';
import { promisify } from 'util';

@@ -265,3 +265,2 @@ import * as EventEmitter from 'events';

}
dir = resolve(dir);
return (new Watcher({ dir, filter, read, enc, pre, watch: watch$$1, debounce }));

@@ -283,2 +282,3 @@ });

await Promise.all(this._watchers.map(async (watcher) => {
watcher.dir = resolve(watcher.dir);
watcher.on('', event => this._enqueue(watcher, event));

@@ -285,0 +285,0 @@ await Promise.all((await watcher.init()).map(async (file) => {

{
"name": "defiler",
"version": "0.18.0",
"version": "0.18.1",
"description": "A small, strange building block",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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