@backstage/repo-tools 0.19.1-next.1 → 0.19.1

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
@@ -1,5 +1,19 @@
1
1
  # @backstage/repo-tools
2
2
 
3
+ ## 0.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 736d84e: Use locale-insensitive Unicode casing for consistent string handling across environments.
8
+ - c0ebaa7: chore(deps): bump `js-yaml` from 4.3.1 to 4.3.2
9
+ - bf1f82d: Added the required OpenAPI types dependency for Swagger Parser.
10
+ - 0c1b8ee: Updated the OpenAPI generator tooling to avoid known security vulnerabilities.
11
+ - Updated dependencies
12
+ - @backstage/catalog-model@1.10.1
13
+ - @backstage/cli-common@0.3.1
14
+ - @backstage/backend-plugin-api@1.10.1
15
+ - @backstage/config-loader@1.11.3
16
+
3
17
  ## 0.19.1-next.1
4
18
 
5
19
  ### Patch Changes
@@ -103,7 +103,7 @@ class ApiModelTransforms {
103
103
  }
104
104
  const { name, excerptTokens } = member;
105
105
  const [firstChar] = name;
106
- if (firstChar.toLocaleUpperCase("en-US") !== firstChar) {
106
+ if (firstChar.toUpperCase() !== firstChar) {
107
107
  return member;
108
108
  }
109
109
  const tokens = new ExcerptTokenMatcher(excerptTokens);
@@ -30,7 +30,7 @@ function parseHelpPage(helpPageContent) {
30
30
  lines.shift();
31
31
  }
32
32
  if (lines.length > 0) {
33
- const sectionName = lines.shift()?.toLocaleLowerCase("en-US");
33
+ const sectionName = lines.shift()?.toLowerCase();
34
34
  const sectionEndIndex = lines.findIndex(
35
35
  (line) => line && !line.match(/^\s/)
36
36
  );
@@ -15,10 +15,7 @@ function isBackstagePackage(packageJson) {
15
15
  const isRejected = (input) => input.status === "rejected";
16
16
  const isFulfilled = (input) => input.status === "fulfilled";
17
17
  const safeEntityName = (packageName) => {
18
- return packageName.replace(/^[^\w\s]|[^a-z0-9]$/g, "").replace(/[^A-Za-z0-9_\-.]+/g, "-").replace(
19
- /([a-z])([A-Z])/g,
20
- (_, a, b) => `${a}-${b.toLocaleLowerCase("en-US")}`
21
- ).replace(/^(.)/, (_, a) => a.toLocaleLowerCase("en-US"));
18
+ return packageName.replace(/^[^\w\s]|[^a-z0-9]$/g, "").replace(/[^A-Za-z0-9_\-.]+/g, "-").replace(/([a-z])([A-Z])/g, (_, a, b) => `${a}-${b.toLowerCase()}`).replace(/^(.)/, (_, a) => a.toLowerCase());
22
19
  };
23
20
 
24
21
  exports.isBackstagePackage = isBackstagePackage;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.19.1-next.1";
3
+ var version = "0.19.1";
4
4
 
5
5
  exports.version = version;
6
6
  //# sourceMappingURL=package.json.cjs.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/repo-tools",
3
- "version": "0.19.1-next.1",
3
+ "version": "0.19.1",
4
4
  "description": "CLI for Backstage repo tooling ",
5
5
  "backstage": {
6
6
  "role": "cli"
@@ -43,12 +43,12 @@
43
43
  "dependencies": {
44
44
  "@apidevtools/swagger-parser": "^10.1.0",
45
45
  "@apisyouwonthate/style-guide": "^1.4.0",
46
- "@backstage/backend-plugin-api": "1.10.1-next.1",
47
- "@backstage/catalog-model": "1.10.0",
48
- "@backstage/cli-common": "0.3.0",
49
- "@backstage/cli-node": "0.3.4",
50
- "@backstage/config-loader": "1.11.3-next.0",
51
- "@backstage/errors": "1.3.1",
46
+ "@backstage/backend-plugin-api": "^1.10.1",
47
+ "@backstage/catalog-model": "^1.10.1",
48
+ "@backstage/cli-common": "^0.3.1",
49
+ "@backstage/cli-node": "^0.3.4",
50
+ "@backstage/config-loader": "^1.11.3",
51
+ "@backstage/errors": "^1.3.1",
52
52
  "@electric-sql/pglite": "^0.3.0",
53
53
  "@manypkg/get-packages": "^1.1.3",
54
54
  "@microsoft/api-documenter": "^7.28.1",
@@ -71,7 +71,7 @@
71
71
  "glob": "^13.0.0",
72
72
  "globby": "^11.0.0",
73
73
  "is-glob": "^4.0.3",
74
- "js-yaml": "^4.3.0",
74
+ "js-yaml": "^4.3.2",
75
75
  "just-diff": "^6.0.2",
76
76
  "knex": "^3.0.0",
77
77
  "knex-pglite": "^0.11.0",
@@ -86,9 +86,9 @@
86
86
  "zod": "^3.25.76 || ^4.0.0"
87
87
  },
88
88
  "devDependencies": {
89
- "@backstage/backend-test-utils": "1.11.7-next.1",
90
- "@backstage/cli": "0.36.6-next.1",
91
- "@backstage/types": "1.2.2",
89
+ "@backstage/backend-test-utils": "^1.11.7",
90
+ "@backstage/cli": "^0.36.6",
91
+ "@backstage/types": "^1.2.2",
92
92
  "@types/is-glob": "^4.0.2",
93
93
  "@types/node": "^22.13.14",
94
94
  "@types/prettier": "^2.0.0",