🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@changesets/read

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@changesets/read - npm Package Compare versions

Comparing version
1.0.0-next.0
to
1.0.0-next.1
+13
-0
CHANGELOG.md
# @changesets/read
## 1.0.0-next.1
### Minor Changes
- [#1656](https://github.com/changesets/changesets/pull/1656) [`268a29f`](https://github.com/changesets/changesets/commit/268a29fedc948f22c672a3b1e3e51df4427f478d) Thanks [@bluwy](https://github.com/bluwy)! - Bumps minimum node version to `>=20.0.0`
### Patch Changes
- Updated dependencies [[`268a29f`](https://github.com/changesets/changesets/commit/268a29fedc948f22c672a3b1e3e51df4427f478d)]:
- @changesets/parse@1.0.0-next.1
- @changesets/types@7.0.0-next.1
- @changesets/git@4.0.0-next.1
## 1.0.0-next.0

@@ -4,0 +17,0 @@

+7
-7
{
"name": "@changesets/read",
"version": "1.0.0-next.0",
"version": "1.0.0-next.1",
"description": "Read changesets from disc, and return the information as JSON",

@@ -13,15 +13,15 @@ "type": "module",

"dependencies": {
"@changesets/git": "^4.0.0-next.0",
"@changesets/parse": "^1.0.0-next.0",
"@changesets/types": "^7.0.0-next.0",
"@changesets/git": "^4.0.0-next.1",
"@changesets/parse": "^1.0.0-next.1",
"@changesets/types": "^7.0.0-next.1",
"picocolors": "^1.1.0"
},
"devDependencies": {
"@changesets/test-utils": "0.0.9-next.0",
"@changesets/write": "1.0.0-next.0",
"@changesets/test-utils": "0.0.9-next.1",
"@changesets/write": "1.0.0-next.1",
"outdent": "^0.8.0"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}

@@ -9,7 +9,7 @@ # @changesets/read

```js
import read from "@changesets/read";
import readChangesets from "@changesets/read";
let changesets = await getChangesets(cwd);
let changesets = await readChangesets(cwd);
```
This returns an array of formatted changesets.
import path from "node:path";
import { outdent } from "outdent";
// eslint-disable-next-line import/no-extraneous-dependencies
import { describe, expect, it } from "vitest";

@@ -4,0 +6,0 @@ import read from "./index.ts";