Socket
Socket
Sign inDemoInstall

tapable

Package Overview
Dependencies
0
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

6

lib/Tapable.js

@@ -137,1 +137,7 @@ /*

};
Tapable.prototype.apply = function apply() {
for(var i = 0; i < arguments.length; i++) {
arguments[i].apply(this);
}
};

2

package.json
{
"name": "tapable",
"version": "0.1.0",
"version": "0.1.1",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "Just a little module for plugins.",

@@ -38,2 +38,8 @@ # Tapable

``` javascript
void apply(plugins: Plugin...)
```
Attaches all plugins passed as arguments to the instance, by calling `apply` on them.
``` javascript
void plugin(name: string, handler: Function)

@@ -40,0 +46,0 @@ ```

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

/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var Tapable = require("../lib/Tapable");

@@ -2,0 +6,0 @@ var should = require("should");

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc