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

bh-property-helpers

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bh-property-helpers - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

10

index.js

@@ -9,3 +9,5 @@ function Builder (ctx) {

Builder.prototype.before = function before (func) {
this._before = func.bind(this._ctx);
if (func) {
this._before = func.bind(this._ctx);
}
return this;

@@ -15,3 +17,5 @@ };

Builder.prototype.after = function after (func) {
this._after = func.bind(this._ctx);
if (func) {
this._after = func.bind(this._ctx);
}
return this;

@@ -76,3 +80,3 @@ };

});
return new Builder(this._ctx);
return new Builder(this._ctx).before(this._before).after(this._after);
};

@@ -79,0 +83,0 @@ });

{
"name": "bh-property-helpers",
"version": "0.0.3",
"version": "0.0.4",
"description": "Helpers for nice property setters/getters creation",

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

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