Socket
Socket
Sign inDemoInstall

@skypilot/steampress

Package Overview
Dependencies
52
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0-alpha to 0.3.1-alpha

2

lib/transformers/duplicateProperty.d.ts

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

export declare function duplicateProperty(obj: object, sourceProperty: string, targetProperty: string): object;
export declare function duplicateProperty(sourceProperty: string, targetProperty: string, obj: object): object;

@@ -10,3 +10,5 @@ "use strict";

* property to (giving it the value held in the source property), and return the new object. */
function duplicateProperty(obj, sourceProperty, targetProperty) {
function duplicateProperty(sourceProperty, targetProperty, obj) {
/* Clone the object and add the requested targed property, setting its value to that of the
* source property */
const newObj = Object.assign({}, obj, {

@@ -13,0 +15,0 @@ [targetProperty]: obj[sourceProperty]

{
"name": "@skypilot/steampress",
"version": "0.3.0-alpha",
"version": "0.3.1-alpha",
"description": "Parse, filter, and transform messy spreadsheets into clean object data",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc