release-please 13.18.2 → 13.18.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/release-please?activeTab=versions
6
6
 
7
+ ## [13.18.3](https://github.com/googleapis/release-please/compare/v13.18.2...v13.18.3) (2022-06-08)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * handle malformed manifest JSON and throw ConfigurationError ([#1469](https://github.com/googleapis/release-please/issues/1469)) ([e3af138](https://github.com/googleapis/release-please/commit/e3af1383d8ba5c127a1e19187081353565e673f8))
13
+
7
14
  ## [13.18.2](https://github.com/googleapis/release-please/compare/v13.18.1...v13.18.2) (2022-06-08)
8
15
 
9
16
 
@@ -789,6 +789,9 @@ async function fetchManifestConfig(github, configFile, branch) {
789
789
  if (e instanceof errors_1.FileNotFoundError) {
790
790
  throw new errors_1.ConfigurationError(`Missing required manifest config: ${configFile}`, 'base', `${github.repository.owner}/${github.repository.repo}`);
791
791
  }
792
+ else if (e instanceof SyntaxError) {
793
+ throw new errors_1.ConfigurationError(`Failed to parse manifest config JSON: ${configFile}\n${e.message}`, 'base', `${github.repository.owner}/${github.repository.repo}`);
794
+ }
792
795
  throw e;
793
796
  }
794
797
  }
@@ -824,6 +827,9 @@ async function fetchReleasedVersions(github, manifestFile, branch) {
824
827
  if (e instanceof errors_1.FileNotFoundError) {
825
828
  throw new errors_1.ConfigurationError(`Missing required manifest versions: ${manifestFile}`, 'base', `${github.repository.owner}/${github.repository.repo}`);
826
829
  }
830
+ else if (e instanceof SyntaxError) {
831
+ throw new errors_1.ConfigurationError(`Failed to parse manifest versions JSON: ${manifestFile}\n${e.message}`, 'base', `${github.repository.owner}/${github.repository.repo}`);
832
+ }
827
833
  throw e;
828
834
  }
829
835
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-please",
3
- "version": "13.18.2",
3
+ "version": "13.18.3",
4
4
  "description": "generate release PRs based on the conventionalcommits.org spec",
5
5
  "main": "./build/src/index.js",
6
6
  "bin": "./build/src/bin/release-please.js",