@wixc3/engine-runtime-node
Advanced tools
Comparing version 47.0.0 to 47.1.0
@@ -13,3 +13,3 @@ "use strict"; | ||
...(options.config ?? []), | ||
engine_core_1.COM.use({ | ||
engine_core_1.COM.configure({ | ||
config: { | ||
@@ -16,0 +16,0 @@ connectedEnvironments: { |
@@ -16,3 +16,3 @@ "use strict"; | ||
} | ||
catch (e) { | ||
catch { | ||
return undefined; | ||
@@ -19,0 +19,0 @@ } |
@@ -37,3 +37,3 @@ "use strict"; | ||
const disposeMetricsListener = (0, metrics_utils_1.bindMetricsListener)(() => this.collectMetricsFromAllOpenEnvironments()); | ||
const verbose = Boolean(runtimeOptions.get('verbose')) ?? false; | ||
const verbose = Boolean(runtimeOptions.get('verbose')); | ||
const topLevelConfigInject = (0, engine_core_1.parseInjectRuntimeConfigConfig)(runtimeOptions); | ||
@@ -161,3 +161,3 @@ const staticDirPath = (0, node_url_1.fileURLToPath)(new URL('../web', this.importMeta.url)); | ||
for (const modulePath of modulePaths) { | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
// eslint-disable-next-line @typescript-eslint/no-require-imports | ||
load.push(require(modulePath)); | ||
@@ -164,0 +164,0 @@ } |
@@ -31,3 +31,3 @@ "use strict"; | ||
if (host) { | ||
config.push(engine_core_1.COM.use({ | ||
config.push(engine_core_1.COM.configure({ | ||
config: { | ||
@@ -39,3 +39,3 @@ host, | ||
} | ||
config.push(engine_core_1.RuntimeMetadata.use({ | ||
config.push(engine_core_1.RuntimeMetadata.configure({ | ||
engineerMetadataConfig: { | ||
@@ -54,3 +54,3 @@ applicationPath: bundlePath, | ||
const engine = new engine_core_1.RuntimeEngine(env, [ | ||
engine_core_1.COM.use({ | ||
engine_core_1.COM.configure({ | ||
config: { | ||
@@ -57,0 +57,0 @@ resolvedContexts, |
@@ -139,3 +139,3 @@ "use strict"; | ||
const config = []; | ||
config.push(engine_core_1.COM.use({ config: { topology, connectedEnvironments } })); | ||
config.push(engine_core_1.COM.configure({ config: { topology, connectedEnvironments } })); | ||
config.push(...(await (0, load_top_level_config_js_1.loadTopLevelConfigs)(originalConfigName, this.options.configurations)), ...overrideConfigs); | ||
@@ -142,0 +142,0 @@ const preparedEnvironment = await this.prepareEnvironment({ |
@@ -55,3 +55,3 @@ "use strict"; | ||
...(message.data.config ?? []), | ||
engine_core_1.COM.use({ | ||
engine_core_1.COM.configure({ | ||
config: { | ||
@@ -58,0 +58,0 @@ connectedEnvironments, |
@@ -15,3 +15,3 @@ "use strict"; | ||
const host = new engine_core_1.UniversalWorkerHost(worker_scope_1.worker, worker_scope_1.worker.workerData.name); | ||
config.push(engine_core_1.COM.use({ | ||
config.push(engine_core_1.COM.configure({ | ||
config: { | ||
@@ -18,0 +18,0 @@ connectedEnvironments: { |
{ | ||
"name": "@wixc3/engine-runtime-node", | ||
"version": "47.0.0", | ||
"version": "47.1.0", | ||
"main": "dist/index.js", | ||
@@ -14,5 +14,5 @@ "exports": { | ||
"dependencies": { | ||
"@file-services/node": "^9.4.0", | ||
"@file-services/node": "^9.4.1", | ||
"@wixc3/common": "^17.1.1", | ||
"@wixc3/engine-core": "^47.0.0", | ||
"@wixc3/engine-core": "^47.1.0", | ||
"@wixc3/isomorphic-worker": "^1.2.5", | ||
@@ -19,0 +19,0 @@ "@wixc3/patterns": "^17.1.1", |
@@ -16,3 +16,3 @@ import { COM } from '@wixc3/engine-core'; | ||
...(options.config ?? []), | ||
COM.use({ | ||
COM.configure({ | ||
config: { | ||
@@ -19,0 +19,0 @@ connectedEnvironments: { |
@@ -6,3 +6,3 @@ import fs from '@file-services/node'; | ||
type FeatureEnvironmentMapping, | ||
createFeatureEnvironmentsMapping, | ||
type createFeatureEnvironmentsMapping, | ||
} from './node-env-manager'; | ||
@@ -19,3 +19,3 @@ | ||
return { featureEnvironmentsMapping, configMapping }; | ||
} catch (e) { | ||
} catch { | ||
return undefined; | ||
@@ -22,0 +22,0 @@ } |
@@ -56,3 +56,3 @@ import { | ||
const disposeMetricsListener = bindMetricsListener(() => this.collectMetricsFromAllOpenEnvironments()); | ||
const verbose = Boolean(runtimeOptions.get('verbose')) ?? false; | ||
const verbose = Boolean(runtimeOptions.get('verbose')); | ||
const topLevelConfigInject = parseInjectRuntimeConfigConfig(runtimeOptions); | ||
@@ -214,3 +214,3 @@ | ||
for (const modulePath of modulePaths) { | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
// eslint-disable-next-line @typescript-eslint/no-require-imports | ||
load.push(require(modulePath)); | ||
@@ -217,0 +217,0 @@ } |
@@ -27,3 +27,3 @@ import { | ||
config.push( | ||
COM.use({ | ||
COM.configure({ | ||
config: { | ||
@@ -38,3 +38,3 @@ host, | ||
config.push( | ||
RuntimeMetadata.use({ | ||
RuntimeMetadata.configure({ | ||
engineerMetadataConfig: { | ||
@@ -62,3 +62,3 @@ applicationPath: bundlePath, | ||
[ | ||
COM.use({ | ||
COM.configure({ | ||
config: { | ||
@@ -65,0 +65,0 @@ resolvedContexts, |
@@ -226,3 +226,3 @@ import { | ||
config.push(COM.use({ config: { topology, connectedEnvironments } })); | ||
config.push(COM.configure({ config: { topology, connectedEnvironments } })); | ||
config.push( | ||
@@ -229,0 +229,0 @@ ...(await loadTopLevelConfigs(originalConfigName, this.options.configurations)), |
@@ -76,3 +76,3 @@ import { BaseHost, COM, type ConfigEnvironmentRecord, type PartialFeatureConfig } from '@wixc3/engine-core'; | ||
...(message.data.config ?? []), | ||
COM.use({ | ||
COM.configure({ | ||
config: { | ||
@@ -79,0 +79,0 @@ connectedEnvironments, |
@@ -30,3 +30,3 @@ import { COM, reportError, UniversalWorkerHost } from '@wixc3/engine-core'; | ||
config.push( | ||
COM.use({ | ||
COM.configure({ | ||
config: { | ||
@@ -33,0 +33,0 @@ connectedEnvironments: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
278065
Updated@file-services/node@^9.4.1
Updated@wixc3/engine-core@^47.1.0