Socket
Socket
Sign inDemoInstall

extend-me

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extend-me - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

9

index.js

@@ -26,6 +26,10 @@ 'use strict';

*
* @param {string} [extendedClassName] - This is simply added to the prototype as $$CLASS_NAME. Useful for debugging because all derived constructors appear to have the same name ("Constructor") in the debugger. This property is ignored when `extend.extendedClassNames` is set to `false`.
* @param {string} [extendedClassName] - This is simply added to the prototype as $$CLASS_NAME. Useful for debugging because all derived constructors appear to have the same name ("Constructor") in the debugger. This property is ignored unless `extend.debug` is explicitly set to a truthy value.
*
* @param {extendedPrototypeAdditionsObject} [prototypeAdditions] - Object with members to copy to new constructor's prototype. Most members will be copied to the prototype. Some members, however, have special meanings as explained in the {@link extendedPrototypeAdditionsObject|type definition} (and may or may not be copied to the prototype).
*
* @property {boolean} [debug] - See parameter `extendedClassName` _(above)_.
*
* @property {object} Base - A convenient base class from which all other classes can be extended.
*
* @memberOf extend-me

@@ -71,3 +75,3 @@ */

if (extend.extendedClassNames) {
if (extendedClassName && extend.debug) {
prototype.$$CLASS_NAME = extendedClassName;

@@ -106,3 +110,2 @@ }

}
extend.extendedClassName = true;

@@ -109,0 +112,0 @@ extend.Base = function () {};

{
"name": "extend-me",
"version": "2.1.0",
"version": "2.2.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "description": "Yet another Backbone-like class extender",

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