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

es6-class-prototype

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-class-prototype - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

index.js

@@ -9,4 +9,6 @@ "use strict";

let prototype = Object.keys(desc).reduce(function (a, b) {
// @ts-ignore
a[b] = target.prototype[b];
if (!desc[b].get && !desc[b].set) {
// @ts-ignore
a[b] = target.prototype[b];
}
return a;

@@ -13,0 +15,0 @@ }, {});

@@ -14,4 +14,7 @@ /**

{
// @ts-ignore
a[b] = target.prototype[b];
if (!desc[b].get && !desc[b].set)
{
// @ts-ignore
a[b] = target.prototype[b];
}

@@ -18,0 +21,0 @@ return a;

{
"name": "es6-class-prototype",
"version": "1.0.1",
"version": "1.0.2",
"description": "get prototype from es6 class, like old way",

@@ -5,0 +5,0 @@ "keywords": [

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