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.6.0 to 0.6.1

4

CHANGELOG.md

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

# v0.6.1
- Add second argument to transform and generator callbacks which is a convenience function calling `defiler.get` with the appropriate `dependent`.
# v0.6.0

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

9

dist/index.cjs.js

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

this._processing = true;
this._ready = new Promise(async res => {
this._ready = (async () => {
await Promise.all(this._gazePromises);

@@ -179,4 +179,3 @@ this._gazePromises = null;

this._processing = false;
res();
});
})();

@@ -291,3 +290,3 @@ return this

if (!if_ || (await if_.call(this, file))) {
await transform.call(this, file);
await transform.call(this, file, dependency => this.get(dependency, path$$1));
}

@@ -304,3 +303,3 @@ }

file = new File(path$$1);
await this._customGenerators.get(path$$1).call(this, file);
await this._customGenerators.get(path$$1).call(this, file, dependency => this.get(dependency, path$$1));
await this.addFile(file);

@@ -307,0 +306,0 @@ } catch (err) {

@@ -130,3 +130,3 @@ import EventEmitter from 'events';

this._processing = true;
this._ready = new Promise(async res => {
this._ready = (async () => {
await Promise.all(this._gazePromises);

@@ -175,4 +175,3 @@ this._gazePromises = null;

this._processing = false;
res();
});
})();

@@ -287,3 +286,3 @@ return this

if (!if_ || (await if_.call(this, file))) {
await transform.call(this, file);
await transform.call(this, file, dependency => this.get(dependency, path$$1));
}

@@ -300,3 +299,3 @@ }

file = new File(path$$1);
await this._customGenerators.get(path$$1).call(this, file);
await this._customGenerators.get(path$$1).call(this, file, dependency => this.get(dependency, path$$1));
await this.addFile(file);

@@ -303,0 +302,0 @@ } catch (err) {

{
"name": "defiler",
"version": "0.6.0",
"version": "0.6.1",
"description": "A small, strange building block",

@@ -5,0 +5,0 @@ "main": "./dist/index.cjs.js",

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