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 3.0.2 to 3.1.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

## version 3.1.0: 2013-06-13
* Add .p as an alias for .prototype
* slight minifier optimization
## version 3.0.2: 2013-04-04

@@ -2,0 +7,0 @@

2

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

@@ -5,0 +5,0 @@ "keywords": ["class", "pjs", "P", "inheritance", "super"],

@@ -10,3 +10,3 @@ var P = (function(prototype, ownProperty, undefined) {

function P(_superclass /* = Object */, definition) {
return function P(_superclass /* = Object */, definition) {
// handle the case where no superclass is given

@@ -42,3 +42,3 @@ if (definition === undefined) {

var _super = SuperclassBare[prototype] = _superclass[prototype];
var proto = Bare[prototype] = C[prototype] = new SuperclassBare;
var proto = Bare[prototype] = C[prototype] = C.p = new SuperclassBare;

@@ -89,7 +89,4 @@ // other variables, as a minifier optimization

// ship it
return P;
// as a minifier optimization, we've closured in a few helper functions
// and the string 'prototype' (C[p] is much shorter than C.prototype)
})('prototype', ({}).hasOwnProperty);
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