@changesets/read
Advanced tools
Comparing version 0.5.3 to 0.5.4
# @changesets/read | ||
## 0.5.4 | ||
### Patch Changes | ||
- Updated dependencies [[`27a5a82`](https://github.com/changesets/changesets/commit/27a5a82188914570d192162f9d045dfd082a3c15)]: | ||
- @changesets/types@4.1.0 | ||
- @changesets/git@1.3.1 | ||
- @changesets/parse@0.3.12 | ||
## 0.5.3 | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "@changesets/read", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Read changesets from disc, and return the information as JSON", | ||
@@ -11,6 +11,6 @@ "main": "dist/read.cjs.js", | ||
"@babel/runtime": "^7.10.4", | ||
"@changesets/git": "^1.3.0", | ||
"@changesets/git": "^1.3.1", | ||
"@changesets/logger": "^0.0.5", | ||
"@changesets/parse": "^0.3.11", | ||
"@changesets/types": "^4.0.2", | ||
"@changesets/parse": "^0.3.12", | ||
"@changesets/types": "^4.1.0", | ||
"chalk": "^2.1.0", | ||
@@ -17,0 +17,0 @@ "fs-extra": "^7.0.1", |
@@ -5,7 +5,7 @@ import fixtures from "fixturez"; | ||
import read from "./"; | ||
import { temporarilySilenceLogs } from "@changesets/test-utils"; | ||
import { silenceLogsInBlock } from "@changesets/test-utils"; | ||
const f = fixtures(__dirname); | ||
temporarilySilenceLogs(); | ||
silenceLogsInBlock(); | ||
@@ -81,3 +81,3 @@ describe("read changesets from disc", () => { | ||
} catch (e) { | ||
expect(e.message).toBe( | ||
expect((e as Error).message).toBe( | ||
"There is no .changeset directory in this project" | ||
@@ -84,0 +84,0 @@ ); |
@@ -31,3 +31,3 @@ import fs from "fs-extra"; | ||
} catch (err) { | ||
if (err.code === "ENOENT") { | ||
if ((err as any).code === "ENOENT") { | ||
throw new Error("There is no .changeset directory in this project"); | ||
@@ -34,0 +34,0 @@ } |
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
31589
Updated@changesets/git@^1.3.1
Updated@changesets/parse@^0.3.12
Updated@changesets/types@^4.1.0