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

uberproto

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uberproto - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

11

CHANGELOG.md
# Change Log
## [v2.0.3](https://github.com/daffl/uberproto/tree/v2.0.3) (2018-06-18)
[Full Changelog](https://github.com/daffl/uberproto/compare/v2.0.2...v2.0.3)
**Closed issues:**
- Istanbul Dependency? [\#17](https://github.com/daffl/uberproto/issues/17)
**Merged pull requests:**
- Fix dependencies [\#18](https://github.com/daffl/uberproto/pull/18) ([daffl](https://github.com/daffl))
## [v2.0.2](https://github.com/daffl/uberproto/tree/v2.0.2) (2018-06-16)

@@ -4,0 +15,0 @@ [Full Changelog](https://github.com/daffl/uberproto/compare/v2.0.1...v2.0.2)

8

dist/proto.js
/* global define */
/**
* Uberproto
*
*
* A base object for ECMAScript 5 style prototypal inheritance.

@@ -78,4 +78,6 @@ *

var processProperty = function (name) {
if (!descriptors[name]) {
descriptors[name] = Object.getOwnPropertyDescriptor(proto, name);
var descriptor = Object.getOwnPropertyDescriptor(proto, name);
if (!descriptors[name] && descriptor) {
descriptors[name] = descriptor;
}

@@ -82,0 +84,0 @@ };

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

!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.Proto=e()}(this,function(){var a="function"==typeof Object.getOwnPropertySymbols;return{create:function(){var t=Object.create(this),e="string"==typeof t.__init?t.__init:"init";return"function"==typeof t[e]&&t[e].apply(t,arguments),t},mixin:function(t,e){for(var p=e||this,u=/\b_super\b/,y=Object.getPrototypeOf(p)||p.prototype,s={},r=t,o=function(t){s[t]||(s[t]=Object.getOwnPropertyDescriptor(r,t))};Object.getOwnPropertyNames(r).forEach(o),a&&Object.getOwnPropertySymbols(r).forEach(o),(r=Object.getPrototypeOf(r))&&Object.getPrototypeOf(r););var n=function(t){var r,o,n,i,c,e,f=s[t];"function"==typeof f.value&&u.test(f.value)&&(f.value=(r=y,o=p[t],n=t,i=f.value,e=function(){var t=this._super;this._super=c?o:r[n];var e=i.apply(this,arguments);return this._super=t,e},(c="function"==typeof o)&&a&&Object.getOwnPropertySymbols(o).forEach(function(t){e[t]=o[t]}),e)),Object.defineProperty(p,t,f)};return Object.keys(s).forEach(n),a&&Object.getOwnPropertySymbols(s).forEach(n),p},extend:function(t,e){return this.mixin(t,Object.create(e||this))},proxy:function(t){var e=this[t],r=Array.prototype.slice.call(arguments,1);return r.unshift(this),e.bind.apply(e,r)}}});
!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.Proto=e()}(this,function(){var s="function"==typeof Object.getOwnPropertySymbols;return{create:function(){var t=Object.create(this),e="string"==typeof t.__init?t.__init:"init";return"function"==typeof t[e]&&t[e].apply(t,arguments),t},mixin:function(t,e){for(var p=e||this,u=/\b_super\b/,y=Object.getPrototypeOf(p)||p.prototype,a={},r=t,o=function(t){var e=Object.getOwnPropertyDescriptor(r,t);!a[t]&&e&&(a[t]=e)};Object.getOwnPropertyNames(r).forEach(o),s&&Object.getOwnPropertySymbols(r).forEach(o),(r=Object.getPrototypeOf(r))&&Object.getPrototypeOf(r););var n=function(t){var r,o,n,i,c,e,f=a[t];"function"==typeof f.value&&u.test(f.value)&&(f.value=(r=y,o=p[t],n=t,i=f.value,e=function(){var t=this._super;this._super=c?o:r[n];var e=i.apply(this,arguments);return this._super=t,e},(c="function"==typeof o)&&s&&Object.getOwnPropertySymbols(o).forEach(function(t){e[t]=o[t]}),e)),Object.defineProperty(p,t,f)};return Object.keys(a).forEach(n),s&&Object.getOwnPropertySymbols(a).forEach(n),p},extend:function(t,e){return this.mixin(t,Object.create(e||this))},proxy:function(t){var e=this[t],r=Array.prototype.slice.call(arguments,1);return r.unshift(this),e.bind.apply(e,r)}}});
/* global define */
/**
* Uberproto
*
*
* A base object for ECMAScript 5 style prototypal inheritance.

@@ -78,4 +78,6 @@ *

var processProperty = function (name) {
if (!descriptors[name]) {
descriptors[name] = Object.getOwnPropertyDescriptor(proto, name);
var descriptor = Object.getOwnPropertyDescriptor(proto, name);
if (!descriptors[name] && descriptor) {
descriptors[name] = descriptor;
}

@@ -82,0 +84,0 @@ };

{
"name": "uberproto",
"description": "JavaScript object inheritance sugar: Easy extension, mixins, super methods, proxies",
"version": "2.0.3",
"version": "2.0.4",
"homepage": "http://daffl.github.com/uberproto",

@@ -6,0 +6,0 @@ "repository": {

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