@hubspot/local-dev-lib 3.5.1 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/config/migrate.js CHANGED
@@ -98,8 +98,10 @@ function mergeConfigProperties(globalConfig, deprecatedConfig, force) {
98
98
  ];
99
99
  const conflicts = [];
100
100
  propertiesToCheck.forEach(prop => {
101
- if (prop in globalConfig && prop in deprecatedConfig) {
102
- if (force || globalConfig[prop] === deprecatedConfig[prop]) {
101
+ if (prop in deprecatedConfig) {
102
+ if (force ||
103
+ !(prop in globalConfig) ||
104
+ globalConfig[prop] === deprecatedConfig[prop]) {
103
105
  // @ts-expect-error Cannot reconcile CLIConfig_NEW and CLIConfig_DEPRECATED types
104
106
  globalConfig[prop] = deprecatedConfig[prop];
105
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/local-dev-lib",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "description": "Provides library functionality for HubSpot local development tooling, including the HubSpot CLI",
5
5
  "repository": {
6
6
  "type": "git",