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

sfdx-git-delta

Package Overview
Dependencies
Maintainers
1
Versions
360
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sfdx-git-delta - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

26

lib/service/subCustomObjectHandler.js
'use strict'
const StandardHandler = require('./standardHandler')
const path = require('path')
const fse = require('fs-extra')
const OBJECT_META_XML_SUFFIX = `object${StandardHandler.METAFILE_SUFFIX}`
class SubCustomObjectHandler extends StandardHandler {

@@ -13,4 +17,26 @@ handleDeletion() {

}
handleAddtion() {
super.handleAddtion()
const customObjectPath = this.splittedLine
.slice(0, [this.splittedLine.indexOf(this.type)])
.join(path.sep)
const customObject = this.splittedLine[
this.splittedLine.indexOf(this.type) - 1
]
const commonPath = `${customObjectPath +
path.sep +
customObject}.${OBJECT_META_XML_SUFFIX}`
this.promises.push(
fse.copy(
path.join(this.config.repo, commonPath),
path.join(this.config.output, commonPath)
)
)
}
}
module.exports = SubCustomObjectHandler

2

package.json
{
"name": "sfdx-git-delta",
"version": "2.0.2",
"version": "2.0.3",
"description": "Generate the sfdx content in source format and destructive change from two git commits",

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

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