Socket
Socket
Sign inDemoInstall

@changesets/read

Package Overview
Dependencies
Maintainers
3
Versions
28
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 0.5.3-temp.0 to 0.5.3

55

CHANGELOG.md
# @changesets/read
## 0.5.3-temp.0
## 0.5.3
### Patch Changes
- Updated dependencies [[`636c7d7`](https://github.com/changesets/changesets/commit/636c7d7c9333664c91cd4d0ff678d5acb17256ad)]:
- @changesets/types@4.1.0-temp.0
- @changesets/git@1.2.2-temp.0
- @changesets/parse@0.3.11-temp.0
- Updated dependencies [[`77c1cef`](https://github.com/changesets/changesets/commit/77c1ceff402f390c1ededec358d914ba68a31d0d), [`957e39c`](https://github.com/changesets/changesets/commit/957e39c21549dd91e03faa5cd30e44e4c3d7331f)]:
- @changesets/git@1.3.0
- @changesets/parse@0.3.11

@@ -16,3 +15,3 @@ ## 0.5.2

- Updated dependencies [[`fe8db75`](https://github.com/atlassian/changesets/commit/fe8db7500f81caea9064f8bec02bcb77e0fd8fce), [`9a993ba`](https://github.com/atlassian/changesets/commit/9a993ba09629c1620d749432520470cec49d3a96)]:
- Updated dependencies [[`fe8db75`](https://github.com/changesets/changesets/commit/fe8db7500f81caea9064f8bec02bcb77e0fd8fce), [`9a993ba`](https://github.com/changesets/changesets/commit/9a993ba09629c1620d749432520470cec49d3a96)]:
- @changesets/git@1.2.1

@@ -26,3 +25,3 @@ - @changesets/types@4.0.2

- Updated dependencies [[`2b49c39`](https://github.com/atlassian/changesets/commit/2b49c390a7cf24ce859ac932b432eb6d8f55c98b)]:
- Updated dependencies [[`2b49c39`](https://github.com/changesets/changesets/commit/2b49c390a7cf24ce859ac932b432eb6d8f55c98b)]:
- @changesets/git@1.2.0

@@ -34,7 +33,7 @@

- [#626](https://github.com/atlassian/changesets/pull/626) [`bc611cf`](https://github.com/atlassian/changesets/commit/bc611cf2104ff8170e9ea8acb10952ea8cc2a784) Thanks [@Andarist](https://github.com/Andarist)! - From now on, changeset files starting with a dot (e.g. `.ignored-temporarily.md`) will be be ignored and kept around after versioning. This allows you to prepare a changeset for something that isn't supposed to be released immediately. An example use case could involve code hidden behind a feature flag.
- [#626](https://github.com/changesets/changesets/pull/626) [`bc611cf`](https://github.com/changesets/changesets/commit/bc611cf2104ff8170e9ea8acb10952ea8cc2a784) Thanks [@Andarist](https://github.com/Andarist)! - From now on, changeset files starting with a dot (e.g. `.ignored-temporarily.md`) will be be ignored and kept around after versioning. This allows you to prepare a changeset for something that isn't supposed to be released immediately. An example use case could involve code hidden behind a feature flag.
### Patch Changes
- Updated dependencies [[`e89e28a`](https://github.com/atlassian/changesets/commit/e89e28a05f5fa43307db73812a6bcd269b62ddee)]:
- Updated dependencies [[`e89e28a`](https://github.com/changesets/changesets/commit/e89e28a05f5fa43307db73812a6bcd269b62ddee)]:
- @changesets/types@4.0.1

@@ -48,3 +47,3 @@ - @changesets/git@1.1.2

- Updated dependencies [[`de2b4a5`](https://github.com/atlassian/changesets/commit/de2b4a5a7b244a37d94625bcb70ecde9dde5b612)]:
- Updated dependencies [[`de2b4a5`](https://github.com/changesets/changesets/commit/de2b4a5a7b244a37d94625bcb70ecde9dde5b612)]:
- @changesets/types@4.0.0

@@ -58,3 +57,3 @@ - @changesets/git@1.1.1

- Updated dependencies [[`89f0c49`](https://github.com/atlassian/changesets/commit/89f0c497ac21b8d008da67caff8032947836c7b1), [`2b49d66`](https://github.com/atlassian/changesets/commit/2b49d668ecaa1333bc5c7c5be4648dda1b11528d), [`09f62f9`](https://github.com/atlassian/changesets/commit/09f62f9c822f31899a48cbd93c7801d72a80b97e)]:
- Updated dependencies [[`89f0c49`](https://github.com/changesets/changesets/commit/89f0c497ac21b8d008da67caff8032947836c7b1), [`2b49d66`](https://github.com/changesets/changesets/commit/2b49d668ecaa1333bc5c7c5be4648dda1b11528d), [`09f62f9`](https://github.com/changesets/changesets/commit/09f62f9c822f31899a48cbd93c7801d72a80b97e)]:
- @changesets/git@1.0.5

@@ -68,5 +67,5 @@ - @changesets/types@3.0.0

- [`1706fb7`](https://github.com/atlassian/changesets/commit/1706fb751ecc2f5a792c42f467b2063078d58716) [#321](https://github.com/atlassian/changesets/pull/321) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix TypeScript declarations
- [`1706fb7`](https://github.com/changesets/changesets/commit/1706fb751ecc2f5a792c42f467b2063078d58716) [#321](https://github.com/changesets/changesets/pull/321) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fix TypeScript declarations
- Updated dependencies [[`1706fb7`](https://github.com/atlassian/changesets/commit/1706fb751ecc2f5a792c42f467b2063078d58716)]:
- Updated dependencies [[`1706fb7`](https://github.com/changesets/changesets/commit/1706fb751ecc2f5a792c42f467b2063078d58716)]:
- @changesets/git@1.0.3

@@ -81,3 +80,3 @@ - @changesets/logger@0.0.5

- Updated dependencies [[`011d57f`](https://github.com/atlassian/changesets/commit/011d57f1edf9e37f75a8bef4f918e72166af096e)]:
- Updated dependencies [[`011d57f`](https://github.com/changesets/changesets/commit/011d57f1edf9e37f75a8bef4f918e72166af096e)]:
- @changesets/types@2.0.0

@@ -91,5 +90,5 @@ - @changesets/git@1.0.2

- [`04ddfd7`](https://github.com/atlassian/changesets/commit/04ddfd7c3acbfb84ef9c92873fe7f9dea1f5145c) [#305](https://github.com/atlassian/changesets/pull/305) Thanks [@Noviny](https://github.com/Noviny)! - Add link to changelog in readme
- [`04ddfd7`](https://github.com/changesets/changesets/commit/04ddfd7c3acbfb84ef9c92873fe7f9dea1f5145c) [#305](https://github.com/changesets/changesets/pull/305) Thanks [@Noviny](https://github.com/Noviny)! - Add link to changelog in readme
- Updated dependencies [[`04ddfd7`](https://github.com/atlassian/changesets/commit/04ddfd7c3acbfb84ef9c92873fe7f9dea1f5145c), [`e56928b`](https://github.com/atlassian/changesets/commit/e56928bbd6f9096def06ac37487bdbf28efec9d1), [`b49e1cf`](https://github.com/atlassian/changesets/commit/b49e1cff65dca7fe9e341a35aa91704aa0e51cb3)]:
- Updated dependencies [[`04ddfd7`](https://github.com/changesets/changesets/commit/04ddfd7c3acbfb84ef9c92873fe7f9dea1f5145c), [`e56928b`](https://github.com/changesets/changesets/commit/e56928bbd6f9096def06ac37487bdbf28efec9d1), [`b49e1cf`](https://github.com/changesets/changesets/commit/b49e1cff65dca7fe9e341a35aa91704aa0e51cb3)]:
- @changesets/git@1.0.1

@@ -105,3 +104,3 @@ - @changesets/logger@0.0.4

- Updated dependencies [[`41e2e3d`](https://github.com/atlassian/changesets/commit/41e2e3dd1053ff2f35a1a07e60793c9099f26997), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`cc8c921`](https://github.com/atlassian/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`2363366`](https://github.com/atlassian/changesets/commit/2363366756d1b15bddf6d803911baccfca03cbdf), [`41e2e3d`](https://github.com/atlassian/changesets/commit/41e2e3dd1053ff2f35a1a07e60793c9099f26997)]:
- Updated dependencies [[`41e2e3d`](https://github.com/changesets/changesets/commit/41e2e3dd1053ff2f35a1a07e60793c9099f26997), [`cc8c921`](https://github.com/changesets/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`cc8c921`](https://github.com/changesets/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`cc8c921`](https://github.com/changesets/changesets/commit/cc8c92143d4c4b7cca8b9917dfc830a40b5cda20), [`2363366`](https://github.com/changesets/changesets/commit/2363366756d1b15bddf6d803911baccfca03cbdf), [`41e2e3d`](https://github.com/changesets/changesets/commit/41e2e3dd1053ff2f35a1a07e60793c9099f26997)]:
- @changesets/types@1.0.0

@@ -115,3 +114,3 @@ - @changesets/git@1.0.0

- Updated dependencies [[`fe0d9192`](https://github.com/atlassian/changesets/commit/fe0d9192544646e1a755202b87dfe850c1c200a3)]:
- Updated dependencies [[`fe0d9192`](https://github.com/changesets/changesets/commit/fe0d9192544646e1a755202b87dfe850c1c200a3)]:
- @changesets/git@0.4.0

@@ -123,9 +122,9 @@

- [`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2) [#221](https://github.com/atlassian/changesets/pull/221) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added support for reading old changesets from v1
- [`bca8865`](https://github.com/changesets/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2) [#221](https://github.com/changesets/changesets/pull/221) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added support for reading old changesets from v1
* [`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2) [#221](https://github.com/atlassian/changesets/pull/221) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Replaced sinceMaster parameter with sinceRef parameter which can be any git ref such as a branch, tag, commit or etc.
* [`bca8865`](https://github.com/changesets/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2) [#221](https://github.com/changesets/changesets/pull/221) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Replaced sinceMaster parameter with sinceRef parameter which can be any git ref such as a branch, tag, commit or etc.
### Patch Changes
- Updated dependencies [[`bca8865`](https://github.com/atlassian/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2)]:
- Updated dependencies [[`bca8865`](https://github.com/changesets/changesets/commit/bca88652d38caa31e789c4564230ba0b49562ad2)]:
- @changesets/git@0.3.0

@@ -137,3 +136,3 @@

- Updated dependencies [[`8f0a1ef`](https://github.com/atlassian/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0)]:
- Updated dependencies [[`8f0a1ef`](https://github.com/changesets/changesets/commit/8f0a1ef327563512f471677ef0ca99d30da009c0)]:
- @changesets/types@0.4.0

@@ -147,7 +146,7 @@ - @changesets/git@0.2.4

- [`8dce96f`](https://github.com/atlassian/changesets/commit/8dce96f8aec43f82b35e65f54b06cbeed3275885) [#187](https://github.com/atlassian/changesets/pull/187) Thanks [@gardnerjack](https://github.com/gardnerjack)! - Added --empty flag to the add command for empty changeset files. New tests for adding, writing, parsing, and reading empty changesets.
- [`8dce96f`](https://github.com/changesets/changesets/commit/8dce96f8aec43f82b35e65f54b06cbeed3275885) [#187](https://github.com/changesets/changesets/pull/187) Thanks [@gardnerjack](https://github.com/gardnerjack)! - Added --empty flag to the add command for empty changeset files. New tests for adding, writing, parsing, and reading empty changesets.
### Patch Changes
- Updated dependencies [[`8dce96f`](https://github.com/atlassian/changesets/commit/8dce96f8aec43f82b35e65f54b06cbeed3275885)]:
- Updated dependencies [[`8dce96f`](https://github.com/changesets/changesets/commit/8dce96f8aec43f82b35e65f54b06cbeed3275885)]:
- @changesets/parse@0.3.0

@@ -159,3 +158,3 @@

- [89c0894](https://github.com/atlassian/changesets/commit/89c08944fac84f71241305e359e9717ad4ec1b62) [#167](https://github.com/atlassian/changesets/pull/167) Thanks [@Noviny](https://github.com/Noviny)! - Fix broken `sinceMaster` arg - which was not working with v2 changesets
- [89c0894](https://github.com/changesets/changesets/commit/89c08944fac84f71241305e359e9717ad4ec1b62) [#167](https://github.com/changesets/changesets/pull/167) Thanks [@Noviny](https://github.com/Noviny)! - Fix broken `sinceMaster` arg - which was not working with v2 changesets

@@ -169,5 +168,5 @@ - Updated dependencies [89c0894]:

- [8c43fa0](https://github.com/atlassian/changesets/commit/8c43fa061e2a5a01e4f32504ed351d261761c8dc) [#155](https://github.com/atlassian/changesets/pull/155) Thanks [@Noviny](https://github.com/Noviny)! - Add Readme
- [8c43fa0](https://github.com/changesets/changesets/commit/8c43fa061e2a5a01e4f32504ed351d261761c8dc) [#155](https://github.com/changesets/changesets/pull/155) Thanks [@Noviny](https://github.com/Noviny)! - Add Readme
* [0320391](https://github.com/atlassian/changesets/commit/0320391699a73621d0e51ce031062a06cbdefadc) [#163](https://github.com/atlassian/changesets/pull/163) Thanks [@Noviny](https://github.com/Noviny)! - Reordered dependencies in the package json (this should have no impact)
* [0320391](https://github.com/changesets/changesets/commit/0320391699a73621d0e51ce031062a06cbdefadc) [#163](https://github.com/changesets/changesets/pull/163) Thanks [@Noviny](https://github.com/Noviny)! - Reordered dependencies in the package json (this should have no impact)

@@ -183,3 +182,3 @@ * Updated dependencies [8c43fa0, 0320391, 1ff73b7]:

- [296a6731](https://github.com/atlassian/changesets/commit/296a6731) - Safety bump: Towards the end of preparing changesets v2, there was a lot of chaos - this bump is to ensure every package on npm matches what is found in the repository.
- [296a6731](https://github.com/changesets/changesets/commit/296a6731) - Safety bump: Towards the end of preparing changesets v2, there was a lot of chaos - this bump is to ensure every package on npm matches what is found in the repository.

@@ -186,0 +185,0 @@ ### Patch Changes

@@ -99,3 +99,3 @@ 'use strict';

logger.warn("There were old changesets from version 1 found");
logger.warn("Theses are being applied now but the dependents graph may have changed");
logger.warn("These are being applied now but the dependents graph may have changed");
logger.warn("Make sure you validate all your dependencies");

@@ -112,4 +112,4 @@ logger.warn("In a future major version, we will no longer apply these old changesets, and will instead throw here");

});
const newHahses = newChangesets.map(c => c.split("/")[1]);
return changesets.filter(dir => newHahses.includes(dir));
const newHashes = newChangesets.map(c => c.split("/")[1]);
return changesets.filter(dir => newHashes.includes(dir));
}

@@ -116,0 +116,0 @@

@@ -66,3 +66,3 @@ "use strict";

return 0 === oldChangesets.length ? [] : (logger.warn(importantSeparator), logger.warn("There were old changesets from version 1 found"),
logger.warn("Theses are being applied now but the dependents graph may have changed"),
logger.warn("These are being applied now but the dependents graph may have changed"),
logger.warn("Make sure you validate all your dependencies"), logger.warn("In a future major version, we will no longer apply these old changesets, and will instead throw here"),

@@ -73,7 +73,7 @@ logger.warn(importantEnd), oldChangesets);

async function filterChangesetsSinceRef(changesets, changesetBase, sinceRef) {
const newHahses = (await git.getChangedChangesetFilesSinceRef({
const newHashes = (await git.getChangedChangesetFilesSinceRef({
cwd: changesetBase,
ref: sinceRef
})).map((c => c.split("/")[1]));
return changesets.filter((dir => newHahses.includes(dir)));
return changesets.filter((dir => newHashes.includes(dir)));
}

@@ -80,0 +80,0 @@

@@ -87,3 +87,3 @@ import fs, { lstat, readFile, readJson } from 'fs-extra';

warn("There were old changesets from version 1 found");
warn("Theses are being applied now but the dependents graph may have changed");
warn("These are being applied now but the dependents graph may have changed");
warn("Make sure you validate all your dependencies");

@@ -100,4 +100,4 @@ warn("In a future major version, we will no longer apply these old changesets, and will instead throw here");

});
const newHahses = newChangesets.map(c => c.split("/")[1]);
return changesets.filter(dir => newHahses.includes(dir));
const newHashes = newChangesets.map(c => c.split("/")[1]);
return changesets.filter(dir => newHashes.includes(dir));
}

@@ -104,0 +104,0 @@

{
"name": "@changesets/read",
"version": "0.5.3-temp.0",
"version": "0.5.3",
"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.2.2-temp.0",
"@changesets/git": "^1.3.0",
"@changesets/logger": "^0.0.5",
"@changesets/parse": "^0.3.11-temp.0",
"@changesets/types": "^4.1.0-temp.0",
"@changesets/parse": "^0.3.11",
"@changesets/types": "^4.0.2",
"chalk": "^2.1.0",

@@ -21,3 +21,3 @@ "fs-extra": "^7.0.1",

"devDependencies": {
"@changesets/test-utils": "0.0.5",
"@changesets/test-utils": "*",
"fixturez": "^1.1.0",

@@ -24,0 +24,0 @@ "outdent": "^0.5.0"

@@ -80,3 +80,3 @@ import fixtures from "fixturez";

} catch (e) {
expect((e as Error).message).toBe(
expect(e.message).toBe(
"There is no .changeset directory in this project"

@@ -101,3 +101,3 @@ );

});
it("should return no releases and empty summary when the changeset is emtpy", async () => {
it("should return no releases and empty summary when the changeset is empty", async () => {
const changesetPath = f.find("empty-changeset");

@@ -104,0 +104,0 @@

@@ -17,5 +17,5 @@ import fs from "fs-extra";

});
const newHahses = newChangesets.map(c => c.split("/")[1]);
const newHashes = newChangesets.map(c => c.split("/")[1]);
return changesets.filter(dir => newHahses.includes(dir));
return changesets.filter(dir => newHashes.includes(dir));
}

@@ -32,3 +32,3 @@

} catch (err) {
if ((err as any).code === "ENOENT") {
if (err.code === "ENOENT") {
throw new Error("There is no .changeset directory in this project");

@@ -35,0 +35,0 @@ }

@@ -55,5 +55,3 @@ import chalk from "chalk";

warn("There were old changesets from version 1 found");
warn(
"Theses are being applied now but the dependents graph may have changed"
);
warn("These are being applied now but the dependents graph may have changed");
warn("Make sure you validate all your dependencies");

@@ -60,0 +58,0 @@ warn(

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