npm package diff
Package: @forge/cli-shared
Versions: 5.5.1 - 5.5.2-next.0
Modified:package/out/graphql/graphql-types.js
too-big
Modified:package/out/service/i18n-resource-bundling-service.js
Index: package/out/service/i18n-resource-bundling-service.js
===================================================================
--- package/out/service/i18n-resource-bundling-service.js
+++ package/out/service/i18n-resource-bundling-service.js
@@ -5,8 +5,9 @@
const tmp_1 = tslib_1.__importDefault(require("tmp"));
const fs_1 = require("fs");
const path_1 = require("path");
const i18n_1 = require("@forge/i18n");
+const __1 = require("..");
exports.EMPTY_I18N_RESOURCE_BUNDLE = { exists: false };
const listFilesInI18nResourceBundle = (i18nResourceBundle) => {
if (!i18nResourceBundle.exists) {
return [];
@@ -43,9 +44,9 @@
translations[i18nKey] = i18nInfoEntry;
});
const defaultLocale = i18nConfig.fallback.default;
if (i18nKeys.some((key) => !translations[key][defaultLocale])) {
- throw new Error(`Default locale '${defaultLocale}' is missing translations for some keys`);
+ throw new __1.UserError(`Default locale '${defaultLocale}' is missing translations for some keys`);
}
return {
translations,
config: {
Modified:package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/cli-shared",
- "version": "5.5.1",
+ "version": "5.5.2-next.0",
"description": "Common functionality for Forge CLI",
"author": "Atlassian",
"license": "UNLICENSED",
"main": "out/index.js",
Modified:package/out/graphql/graphql-types.d.ts.map
too-big
Modified:package/out/service/i18n-resource-bundling-service.d.ts.map
Index: package/out/service/i18n-resource-bundling-service.d.ts.map
===================================================================
--- package/out/service/i18n-resource-bundling-service.d.ts.map
+++ package/out/service/i18n-resource-bundling-service.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"i18n-resource-bundling-service.d.ts","sourceRoot":"","sources":["../../src/service/i18n-resource-bundling-service.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAMjG,oBAAY,kBAAkB,GAC1B;IACE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,IAAI,CAAC;CACd,GACD;IACE,MAAM,EAAE,KAAK,CAAC;CACf,CAAC;AAEN,eAAO,MAAM,0BAA0B,EAAE,kBAAsC,CAAC;AAIhF,aAAK,wBAAwB,GAAG,CAAC,WAAW,EAAE,wBAAwB,GAAG,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;AAE3G,eAAO,MAAM,6BAA6B,uBAAwB,kBAAkB,KAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAMtG,CAAC;AAEF,qBAAa,2BAA2B;YACxB,0BAA0B;YAU1B,kBAAkB;IAUhC,OAAO,CAAC,cAAc;YAgCR,qBAAqB;IActB,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAWvF,kBAAkB,CAAC,UAAU,EAAE,YAAY,GAAG,wBAAwB;CAuB9E"}
\ No newline at end of file
+{"version":3,"file":"i18n-resource-bundling-service.d.ts","sourceRoot":"","sources":["../../src/service/i18n-resource-bundling-service.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAOjG,oBAAY,kBAAkB,GAC1B;IACE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,IAAI,CAAC;CACd,GACD;IACE,MAAM,EAAE,KAAK,CAAC;CACf,CAAC;AAEN,eAAO,MAAM,0BAA0B,EAAE,kBAAsC,CAAC;AAIhF,aAAK,wBAAwB,GAAG,CAAC,WAAW,EAAE,wBAAwB,GAAG,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;AAE3G,eAAO,MAAM,6BAA6B,uBAAwB,kBAAkB,KAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAMtG,CAAC;AAEF,qBAAa,2BAA2B;YACxB,0BAA0B;YAU1B,kBAAkB;IAUhC,OAAO,CAAC,cAAc;YAgCR,qBAAqB;IActB,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAWvF,kBAAkB,CAAC,UAAU,EAAE,YAAY,GAAG,wBAAwB;CAuB9E"}
\ No newline at end of file
Modified:package/CHANGELOG.md
too-big
Modified:package/out/graphql/graphql-types.d.ts
too-big