@changesets/get-release-plan
Advanced tools
Comparing version 4.0.3 to 4.0.4
# @changesets/get-release-plan | ||
## 4.0.4 | ||
### Patch Changes | ||
- [#1445](https://github.com/changesets/changesets/pull/1445) [`52c302a`](https://github.com/changesets/changesets/commit/52c302a48a662f71585f18f91dad3cbe49d75890) Thanks [@bluwy](https://github.com/bluwy)! - Remove unused `@babel/runtime` dependency | ||
- Updated dependencies [[`bc75c1a`](https://github.com/changesets/changesets/commit/bc75c1a74c2d46e08620c7aa0e9f4f5ef40a9b55), [`52c302a`](https://github.com/changesets/changesets/commit/52c302a48a662f71585f18f91dad3cbe49d75890)]: | ||
- @changesets/read@0.6.1 | ||
- @changesets/assemble-release-plan@6.0.4 | ||
- @changesets/pre@2.0.1 | ||
- @changesets/config@3.0.3 | ||
## 4.0.3 | ||
@@ -4,0 +16,0 @@ |
@@ -5,3 +5,2 @@ 'use strict'; | ||
var _objectSpread = require('@babel/runtime/helpers/objectSpread2'); | ||
var assembleReleasePlan = require('@changesets/assemble-release-plan'); | ||
@@ -18,2 +17,51 @@ var readChangesets = require('@changesets/read'); | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
function ownKeys(object, enumerableOnly) { | ||
var keys = Object.keys(object); | ||
if (Object.getOwnPropertySymbols) { | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
if (enumerableOnly) symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}); | ||
keys.push.apply(keys, symbols); | ||
} | ||
return keys; | ||
} | ||
function _objectSpread2(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
if (i % 2) { | ||
ownKeys(Object(source), true).forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} else if (Object.getOwnPropertyDescriptors) { | ||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); | ||
} else { | ||
ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
}); | ||
} | ||
} | ||
return target; | ||
} | ||
async function getReleasePlan(cwd, sinceRef, passedConfig) { | ||
@@ -23,3 +71,3 @@ const packages = await getPackages.getPackages(cwd); | ||
const readConfig = await config.read(cwd, packages); | ||
const config$1 = passedConfig ? _objectSpread(_objectSpread({}, readConfig), passedConfig) : readConfig; | ||
const config$1 = passedConfig ? _objectSpread2(_objectSpread2({}, readConfig), passedConfig) : readConfig; | ||
const changesets = await readChangesets__default["default"](cwd, sinceRef); | ||
@@ -26,0 +74,0 @@ return assembleReleasePlan__default["default"](changesets, packages, config$1, preState); |
@@ -1,2 +0,1 @@ | ||
import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; | ||
import assembleReleasePlan from '@changesets/assemble-release-plan'; | ||
@@ -8,2 +7,51 @@ import readChangesets from '@changesets/read'; | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
function ownKeys(object, enumerableOnly) { | ||
var keys = Object.keys(object); | ||
if (Object.getOwnPropertySymbols) { | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
if (enumerableOnly) symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}); | ||
keys.push.apply(keys, symbols); | ||
} | ||
return keys; | ||
} | ||
function _objectSpread2(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
if (i % 2) { | ||
ownKeys(Object(source), true).forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} else if (Object.getOwnPropertyDescriptors) { | ||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); | ||
} else { | ||
ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); | ||
}); | ||
} | ||
} | ||
return target; | ||
} | ||
async function getReleasePlan(cwd, sinceRef, passedConfig) { | ||
@@ -13,3 +61,3 @@ const packages = await getPackages(cwd); | ||
const readConfig = await read(cwd, packages); | ||
const config = passedConfig ? _objectSpread(_objectSpread({}, readConfig), passedConfig) : readConfig; | ||
const config = passedConfig ? _objectSpread2(_objectSpread2({}, readConfig), passedConfig) : readConfig; | ||
const changesets = await readChangesets(cwd, sinceRef); | ||
@@ -16,0 +64,0 @@ return assembleReleasePlan(changesets, packages, config, preState); |
{ | ||
"name": "@changesets/get-release-plan", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Reads changesets and adds information on dependents that need bumping", | ||
@@ -22,7 +22,6 @@ "main": "dist/changesets-get-release-plan.cjs.js", | ||
"dependencies": { | ||
"@babel/runtime": "^7.20.1", | ||
"@changesets/assemble-release-plan": "^6.0.3", | ||
"@changesets/config": "^3.0.2", | ||
"@changesets/pre": "^2.0.0", | ||
"@changesets/read": "^0.6.0", | ||
"@changesets/assemble-release-plan": "^6.0.4", | ||
"@changesets/config": "^3.0.3", | ||
"@changesets/pre": "^2.0.1", | ||
"@changesets/read": "^0.6.1", | ||
"@changesets/types": "^6.0.0", | ||
@@ -29,0 +28,0 @@ "@manypkg/get-packages": "^1.1.3" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26287
6
142
1
- Removed@babel/runtime@^7.20.1
Updated@changesets/config@^3.0.3
Updated@changesets/pre@^2.0.1
Updated@changesets/read@^0.6.1