@lwrjs/app-service
Advanced tools
Comparing version 0.17.2-alpha.1 to 0.17.2-alpha.2
@@ -1,2 +0,2 @@ | ||
import { LwrUnresolvableError, createSingleDiagnosticError, descriptions } from '@lwrjs/diagnostics'; | ||
import { LwrUnresolvableError, descriptions } from '@lwrjs/diagnostics'; | ||
import { hashContent } from '@lwrjs/shared-utils'; | ||
@@ -43,5 +43,3 @@ import { createAppRouteViewBootstrapModule, createAppWorkerBootstrapModule } from './utils.js'; | ||
if (!moduleEntry || !route) { | ||
throw createSingleDiagnosticError({ | ||
description: descriptions.UNRESOLVABLE.MODULE(specifier), | ||
}, LwrUnresolvableError); | ||
throw new LwrUnresolvableError(descriptions.UNRESOLVABLE.MODULE(specifier), 'module'); | ||
} | ||
@@ -57,5 +55,3 @@ const { format } = appIdentity; | ||
if (!workerSpecifier) { | ||
throw createSingleDiagnosticError({ | ||
description: descriptions.UNRESOLVABLE.MODULE(specifier), | ||
}, LwrUnresolvableError); | ||
throw new LwrUnresolvableError(descriptions.UNRESOLVABLE.MODULE(workerSpecifier), 'module'); | ||
} | ||
@@ -62,0 +58,0 @@ originalSource = createAppWorkerBootstrapModule(workerSpecifier, route, { |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.17.2-alpha.1", | ||
"version": "0.17.2-alpha.2", | ||
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview", | ||
@@ -40,7 +40,7 @@ "repository": { | ||
"dependencies": { | ||
"@lwrjs/diagnostics": "0.17.2-alpha.1", | ||
"@lwrjs/shared-utils": "0.17.2-alpha.1" | ||
"@lwrjs/diagnostics": "0.17.2-alpha.2", | ||
"@lwrjs/shared-utils": "0.17.2-alpha.2" | ||
}, | ||
"devDependencies": { | ||
"@lwrjs/types": "0.17.2-alpha.1" | ||
"@lwrjs/types": "0.17.2-alpha.2" | ||
}, | ||
@@ -50,3 +50,3 @@ "engines": { | ||
}, | ||
"gitHead": "bba15ca717a242b0375decaa378af06bdee813b5" | ||
"gitHead": "739b237f5d7f2c1989142cb505a56cc763f21976" | ||
} |
Sorry, the diff of this file is not supported yet
37694
831
+ Added@lwrjs/diagnostics@0.17.2-alpha.2(transitive)
+ Added@lwrjs/shared-utils@0.17.2-alpha.2(transitive)
- Removed@lwrjs/diagnostics@0.17.2-alpha.1(transitive)
- Removed@lwrjs/shared-utils@0.17.2-alpha.1(transitive)