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

@salesforce/source-tracking

Package Overview
Dependencies
Maintainers
73
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/source-tracking

API for tracking local and remote Salesforce metadata changes

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
196K
increased by1.42%
Maintainers
73
Weekly downloads
 
Created
Source

source-tracking

JavaScript library for tracking local and remote Salesforce metadata changes.

_ UNDER DEVELOPMENT _

You should use the class named sourceTracking.

Use cases:

  1. push => deployLocalChanges()
  2. pull => retrieveRemoteChanges()
  3. push,pull,status: getConflicts()
  4. retrieve/retrieve: updateLocalTracking(),updateRemoteTracking

TODO

NUT for tracking file compatibility check logic pollSourceMembers should better handle aggregated types. ex:

DEBUG Could not find 2 SourceMembers (using ebikes): AuraDefinition__pageTemplate_2_7_3/pageTemplate_2_7_3.cmp-meta.xml,[object Object],CustomObject__Account,[object Object]

Enhancements

  • for updating ST after deploy/retrieve, we need a quick way for those commands to ask, "is this an ST org?" OR a graceful "ifSupported" wrapper for those methods.
  • ensureRemoteTracking could have 2 options in an object
    1. ensureQueryHasReturned which will make sure the query has run at least once
    2. forceQuery will re-query even if the query already ran (cache-buster typically)

Cleanup

  • review commented code
  • review public methods for whether they should be public
  • organize any shared types
  • export top-level stuff

Keywords

FAQs

Package last updated on 21 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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