New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

extendable-base

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

extendable-base - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

6

lib/base.js

@@ -32,7 +32,9 @@ var Extendable = require('./extendable');

// Sets up inheritance from the given parent class. If the constructor
// isn't supplied then a default constructor is added which calls
// `initialize` for each class in the inheritance hierarchy.
// isn't supplied then a default constructor is added which invokes
// the parent then calls `initialize` for each class in the
// inheritance hierarchy.
inherits: function(parent, protoProps, staticProps) {
if (!protoProps.hasOwnProperty('constructor')) {
protoProps.constructor = function() {
parent.apply(this);
Base._init_all(Object.getPrototypeOf(this), this, arguments);

@@ -39,0 +41,0 @@ };

{
"name": "extendable-base",
"version": "0.2.0",
"version": "0.3.0",
"description": "Simple library for setting up Javascript classes based on Backbone.extend",

@@ -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