Socket
Socket
Sign inDemoInstall

@changesets/apply-release-plan

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@changesets/apply-release-plan - npm Package Compare versions

Comparing version 6.1.4 to 7.0.0

dist/changesets-apply-release-plan.cjs.d.mts

18

CHANGELOG.md
# @changesets/apply-release-plan
## 7.0.0
### Major Changes
- [#1185](https://github.com/changesets/changesets/pull/1185) [`a971652`](https://github.com/changesets/changesets/commit/a971652ec1403aab3fb89eb2f1640bd5012b895a) Thanks [@Andarist](https://github.com/Andarist)! - `package.json#exports` have been added to limit what (and how) code might be imported from the package.
### Minor Changes
- [#1236](https://github.com/changesets/changesets/pull/1236) [`dfd4cca`](https://github.com/changesets/changesets/commit/dfd4cca84118df913feedfeac37a4939566ae447) Thanks [@camertron](https://github.com/camertron)! - Avoid using short commit IDs
### Patch Changes
- Updated dependencies [[`a971652`](https://github.com/changesets/changesets/commit/a971652ec1403aab3fb89eb2f1640bd5012b895a)]:
- @changesets/get-version-range-type@0.4.0
- @changesets/config@3.0.0
- @changesets/types@6.0.0
- @changesets/git@3.0.0
## 6.1.4

@@ -4,0 +22,0 @@

0

dist/declarations/src/index.d.ts
import { ReleasePlan, Config } from "@changesets/types";
import { Packages } from "@manypkg/get-packages";
export default function applyReleasePlan(releasePlan: ReleasePlan, packages: Packages, config?: Config, snapshot?: string | boolean): Promise<string[]>;

26

package.json
{
"name": "@changesets/apply-release-plan",
"version": "6.1.4",
"version": "7.0.0",
"description": "Takes a release plan and applies it to packages",
"main": "dist/apply-release-plan.cjs.js",
"module": "dist/apply-release-plan.esm.js",
"main": "dist/changesets-apply-release-plan.cjs.js",
"module": "dist/changesets-apply-release-plan.esm.js",
"exports": {
".": {
"types": {
"import": "./dist/changesets-apply-release-plan.cjs.mjs",
"default": "./dist/changesets-apply-release-plan.cjs.js"
},
"module": "./dist/changesets-apply-release-plan.esm.js",
"import": "./dist/changesets-apply-release-plan.cjs.mjs",
"default": "./dist/changesets-apply-release-plan.cjs.js"
},
"./package.json": "./package.json"
},
"license": "MIT",

@@ -11,6 +23,6 @@ "repository": "https://github.com/changesets/changesets/tree/main/packages/apply-release-plan",

"@babel/runtime": "^7.20.1",
"@changesets/config": "^2.3.1",
"@changesets/get-version-range-type": "^0.3.2",
"@changesets/git": "^2.0.0",
"@changesets/types": "^5.2.1",
"@changesets/config": "^3.0.0",
"@changesets/get-version-range-type": "^0.4.0",
"@changesets/git": "^3.0.0",
"@changesets/types": "^6.0.0",
"@manypkg/get-packages": "^1.1.3",

@@ -17,0 +29,0 @@ "detect-indent": "^6.0.0",

@@ -41,3 +41,3 @@ import {

const paths = changesetIds.map((id) => `.changeset/${id}.md`);
const commits = await git.getCommitsThatAddFiles(paths, { cwd, short: true });
const commits = await git.getCommitsThatAddFiles(paths, { cwd });

@@ -57,3 +57,2 @@ if (commits.every(stringDefined)) {

cwd,
short: true,
});

@@ -60,0 +59,0 @@

@@ -15,3 +15,3 @@ /* eslint-disable import/no-extraneous-dependencies */

[`.changeset/${changeset.id}.md`],
{ cwd, short: true }
{ cwd }
);

@@ -18,0 +18,0 @@

@@ -1,12 +0,4 @@

/*
BAD CODE ALERT!
You should never reach out of one package and into another in a multi-package repository.
(doing so is a leading cause of 'works on my machine' but then failure when the packages are published)
We are doing it here to avoide adding a circular dependency and as this is only used in testing.
This is wicked, and please don't copy us.
*/
export { default } from "../../../cli/changelog";
// We are doing it here to avoide adding a circular dependency and as this is only used in testing.
// This is wicked, and please don't copy us.
// eslint-disable-next-line import/no-extraneous-dependencies
export { default } from "@changesets/cli/changelog";

@@ -1,12 +0,4 @@

/*
BAD CODE ALERT!
You should never reach out of one package and into another in a multi-package repository.
(doing so is a leading cause of 'works on my machine' but then failure when the packages are published)
We are doing it here to avoide adding a circular dependency and as this is only used in testing.
This is wicked, and please don't copy us.
*/
export { default } from "../../../cli/commit";
// We are doing it here to avoide adding a circular dependency and as this is only used in testing.
// This is wicked, and please don't copy us.
// eslint-disable-next-line import/no-extraneous-dependencies
export { default } from "@changesets/cli/commit";
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