🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

js-plugin

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

js-plugin - npm Package Compare versions

Comparing version
1.0.6
to
1.0.7
+1
-1
package.json
{
"name": "js-plugin",
"version": "1.0.6",
"version": "1.0.7",
"repository": "rekit/js-plugin",

@@ -5,0 +5,0 @@ "main": "plugin.js",

@@ -28,2 +28,3 @@ var _plugins = [];

module.exports = {
config: {},
register: function(p) {

@@ -104,4 +105,4 @@ if (!p.name) {

var noCall = /^!/.test(prop);
var throws = /!$/.test(prop);
prop = prop.replace(/^!|!$/, '');
var throws = this.config.throws || /!$/.test(prop);
prop = prop.replace(/^!|!$/g, '');
var arr = prop.split('.');

@@ -108,0 +109,0 @@ arr.pop();