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 2.0.2 to 2.1.0

2

API.md

@@ -131,2 +131,4 @@ The API consists of two classes, `File` and `Defiler`.

Returns a `Promise` resolving when the file has been completely processed. (However, there is generally not a need to wait for this `Promise` to resolve. Processing the added files will proceed in parallel, and dependence relationships between files will be maintained.)
The object does not need to be a `File` instance, and in fact there is no benefit to doing so. A new `File` instance is always created with properties `Object.assign`ed from `file`.

@@ -133,0 +135,0 @@

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

# v2.1.0
- Return a `Promise` from `defiler.add(file)` indicating when processing is complete
# v2.0.2

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

2

dist/index.cjs.js

@@ -328,3 +328,3 @@ 'use strict';

this._orig_data.set(file.path, file);
this._process_file(file, 'add');
return this._process_file(file, 'add');
}

@@ -331,0 +331,0 @@ resolve(path) {

@@ -324,3 +324,3 @@ import { AsyncLocalStorage } from 'async_hooks';

this._orig_data.set(file.path, file);
this._process_file(file, 'add');
return this._process_file(file, 'add');
}

@@ -327,0 +327,0 @@ resolve(path) {

{
"name": "defiler",
"version": "2.0.2",
"version": "2.1.0",
"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