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

@opencreek/ext

Package Overview
Dependencies
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencreek/ext - npm Package Compare versions

Comparing version 1.6.0--canary.10.4956bdf444030df5906eb957192f3ad7f0eed4f7.0 to 1.6.0--canary.10.78cea1d40cc3fe776c9a1efbcde8139d5d8afb8c.0

6

build/extendPrototype.js

@@ -15,3 +15,7 @@ "use strict";

function extendPrototypeWithName(target, wrap) {
const name = Object.keys(wrap)[0];
const keys = Object.keys(wrap);
if (keys.length != 1) {
throw Error("You must give extendPrototypeWithName an object with one key");
}
const name = keys[0];
extendProtoype(target, wrap[name], name);

@@ -18,0 +22,0 @@ }

2

package.json
{
"name": "@opencreek/ext",
"version": "1.6.0--canary.10.4956bdf444030df5906eb957192f3ad7f0eed4f7.0",
"version": "1.6.0--canary.10.78cea1d40cc3fe776c9a1efbcde8139d5d8afb8c.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -19,3 +19,7 @@ /* eslint-disable @typescript-eslint/ban-types */

): void {
const name = Object.keys(wrap)[0]
const keys = Object.keys(wrap)
if (keys.length != 1) {
throw Error("You must give extendPrototypeWithName an object with one key")
}
const name = keys[0]

@@ -22,0 +26,0 @@ extendProtoype(target, wrap[name], name)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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