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

classified

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classified - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

13

classified.js

@@ -5,2 +5,7 @@ (function() {

var classified = function() {
/* Constants
-------------------------------*/
var INVALID_DEFINE = 'Expecting argument 1 in define() to be an object or return an object.';
var INVALID_EXTEND = 'Expecting argument 1 in extend() to be an object or return an object.';
/* Properties

@@ -29,3 +34,3 @@ -------------------------------*/

if(typeof prototype !== 'object') {
throw 'Expecting argument 1 in define() to be an object or return an object.';
throw INVALID_DEFINE;
}

@@ -87,3 +92,3 @@

if(typeof prototype !== 'object') {
throw 'Expecting argument 1 in extend() to be an object or return an object.';
throw INVALID_EXTEND;
}

@@ -437,3 +442,3 @@

return classified().define(definition);
}
};
});

@@ -448,3 +453,3 @@ //how about jQuery?

});
} else if(window) {
} else if(typeof window === 'object') {
window.classified = function(definition) {

@@ -451,0 +456,0 @@ definition = definition || {};

{
"name": "classified",
"description": "Real OOP for Javascript",
"version": "0.0.3",
"version": "0.0.4",
"author": {

@@ -6,0 +6,0 @@ "name": "Christian Blanquera",

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