npm package diff
Package: @forge/tunnel
Versions: 5.4.1-next.8-experimental-c7a7d36 - 5.5.0-next.11
File: package/out/command/start-tunnel-command.js
Index: package/out/command/start-tunnel-command.js
===================================================================
--- package/out/command/start-tunnel-command.js
+++ package/out/command/start-tunnel-command.js
@@ -56,9 +56,9 @@
};
};
startResourceBasedTunnelsServers = async (resourceDetails, options) => {
const portMap = options.resourcePortMap ?? JSON.parse(process.env.RESOURCE_PORT_MAP ?? '{}');
- const { permissions = {}, remotes = [] } = await this.configFile.readConfig();
+ const { permissions = {}, remotes = [], translations: i18nConfig } = await this.configFile.readConfig();
const availablePort = await (0, portfinder_1.getPortPromise)({ port: 4000 });
const cspReporterPort = process.env.CSP_REPORTER_PORT ? parseInt(process.env.CSP_REPORTER_PORT, 10) : availablePort;
if (resourceDetails.length === 0)
return [];
@@ -74,9 +74,10 @@
host: options.host,
logger: this.logger,
cspReporterServerPort: cspReporterPort,
permissions,
- remotes
+ remotes,
+ i18nConfig
});
return this.tunnelServers[key].start();
}));
};