New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-options-defaults

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-options-defaults - npm Package Compare versions

Comparing version 0.0.3-3 to 0.0.3-4

13

dist/index.js

@@ -35,9 +35,8 @@ "use strict";

// Handle classes and merge their functions.
var prototype = Object.getPrototypeOf(source);
Object.entries(prototype).forEach(function (_a) {
var _b = __read(_a, 2), key = _b[0], value = _b[1];
if (typeof value === 'function') {
object[key] = value.bind(object);
}
});
// const prototype = Object.getPrototypeOf(source);
// Object.entries(prototype).forEach(([key, value]) => {
// if (typeof value === 'function') {
// object[key] = value.bind(object);
// }
// });
Object.entries(source).forEach(function (_a) {

@@ -44,0 +43,0 @@ var _b = __read(_a, 2), key = _b[0], value = _b[1];

{
"name": "ts-options-defaults",
"version": "0.0.3-3",
"version": "0.0.3-4",
"license": "GPL-3.0",

@@ -16,5 +16,5 @@ "author": "Artur Kurowski <radarsu@gmail.com>",

"ts-essentials": "^7.0.0",
"ts-import": "0.0.9-6",
"ts-import": "0.0.9-7",
"typescript": "^3.9.5"
}
}

@@ -9,8 +9,8 @@ export const merge = (object: any, ...sources: any[]) => {

// Handle classes and merge their functions.
const prototype = Object.getPrototypeOf(source);
Object.entries(prototype).forEach(([key, value]) => {
if (typeof value === 'function') {
object[key] = value.bind(object);
}
});
// const prototype = Object.getPrototypeOf(source);
// Object.entries(prototype).forEach(([key, value]) => {
// if (typeof value === 'function') {
// object[key] = value.bind(object);
// }
// });

@@ -17,0 +17,0 @@ Object.entries(source).forEach(([key, value]) => {

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