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

abstract-object

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-object - npm Package Compare versions

Comparing version 1.3.6 to 1.4.0

8

lib/util.js

@@ -101,3 +101,8 @@ /** `Object#toString` result shortcuts */

},
//just replace the ctor.super to superCtor,
inheritsDirectly: function(ctor, superCtor) {
ctor.super_ = superCtor;
ctor.__super__ = superCtor.prototype; //for coffeeScirpt super keyword.
ctor.prototype = util.newPrototype(superCtor, ctor);
},
/**

@@ -149,2 +154,3 @@ * Inherit the prototype methods from one constructor into another.

}
if (result) result = ctor;
return result;

@@ -151,0 +157,0 @@ },

2

package.json
{
"name": "abstract-object",
"version": "1.3.6",
"version": "1.4.0",
"description": "AbstractObject with Object State Events Support, RefObject with RefCount and AddRef/Release Support.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/snowyu/abstract-object",

@@ -64,3 +64,3 @@ # AbtractObject

# if you do not wanna use `AbstractObject.create`, you MUST remember this:
# even the constructor is empty, you should can the parent's constructor manually.
# even the constructor is empty, you should call the parent's constructor manually.
# myObj = new MyObject()

@@ -161,3 +161,3 @@

createError(typeName, errorCode)
createError(typeName, errorCode[, parentErrorClass])

@@ -168,2 +168,3 @@ __arguments__

* errorCode: *(number)*: the error code, it should be greater than 1000.
* parentErrorClass: *(class)*: the optional parent error class. defaults to AbstractError.

@@ -170,0 +171,0 @@ __return__

Sorry, the diff of this file is not supported yet

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