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

pjs

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pjs - npm Package Compare versions

Comparing version 0.2.0 to 1.0.0

.npmignore

5

build/p.commonjs.js

@@ -50,6 +50,5 @@ // pass

// if the superclass isn't given
C[prototype] = new _superclass;
var proto = C[prototype] = new _superclass
var proto = C[prototype]
, _super = _superclass[prototype]
var _super = _superclass[prototype]
, extensions = {}

@@ -56,0 +55,0 @@ ;

4

package.json
{
"name": "pjs",
"version": "0.2.0",
"version": "1.0.0",
"description": "A lightweight class system. It's just prototypes!",

@@ -13,3 +13,3 @@ "keywords": ["class", "pjs", "P", "inheritance", "super"],

"mocha": "*",
"uglifyjs": "*"
"uglify-js": "*"
},

@@ -16,0 +16,0 @@ "scripts": {

@@ -49,6 +49,5 @@ var P = (function(prototype, hasOwnProperty, undefined) {

// if the superclass isn't given
C[prototype] = new _superclass;
var proto = C[prototype] = new _superclass
var proto = C[prototype]
, _super = _superclass[prototype]
var _super = _superclass[prototype]
, extensions = {}

@@ -55,0 +54,0 @@ ;

@@ -38,2 +38,3 @@ var assert = require('assert')

assert.equal(3, MyClass(1,2,3).initArgs[2]);
assert.equal(2, MyClass.apply(null, [1, 2, 3]).initArgs[1]);
});

@@ -40,0 +41,0 @@

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