@garfish/core
Advanced tools
Comparing version 1.17.5 to 1.17.6-beta-20240321114158.0
@@ -86,5 +86,13 @@ var __defProp = Object.defineProperty; | ||
}; | ||
function getGlobalInsulationVariable() { | ||
return window["__GARFISH_INSULATION_VARIABLE__"] || []; | ||
} | ||
var generateAppOptions = (appName, garfish, options) => { | ||
let appInfo = garfish.appInfos[appName] || { name: appName }; | ||
const insulationVariable = Array.from(/* @__PURE__ */ new Set([ | ||
...getGlobalInsulationVariable(), | ||
...(options == null ? void 0 : options.insulationVariable) || [] | ||
])); | ||
appInfo = getAppConfig(garfish.options, __spreadProps(__spreadValues(__spreadValues({}, appInfo), options), { | ||
insulationVariable, | ||
props: __spreadValues(__spreadValues({}, appInfo.props || {}), (options == null ? void 0 : options.props) || {}) | ||
@@ -1103,3 +1111,3 @@ })); | ||
name: "fix-hmr", | ||
version: "1.17.5", | ||
version: "1.17.6-beta-20240321114158.0", | ||
bootstrap() { | ||
@@ -1151,3 +1159,3 @@ if (hasInit) | ||
name, | ||
version: "1.17.5" | ||
version: "1.17.6-beta-20240321114158.0" | ||
}, options); | ||
@@ -1318,3 +1326,3 @@ }; | ||
name: "preload", | ||
version: "1.17.5", | ||
version: "1.17.6-beta-20240321114158.0", | ||
beforeLoad(appInfo) { | ||
@@ -1565,3 +1573,3 @@ if (Garfish2.options.disablePreloadApp) { | ||
name: "garfish-logger", | ||
version: "1.17.5", | ||
version: "1.17.6-beta-20240321114158.0", | ||
beforeLoad(appInfo, ...args) { | ||
@@ -1618,3 +1626,3 @@ coreLog2(`${appInfo.name} beforeLoad`, [appInfo, ...args]); | ||
this.running = false; | ||
this.version = "1.17.5"; | ||
this.version = "1.17.6-beta-20240321114158.0"; | ||
this.flag = __GARFISH_FLAG__; | ||
@@ -1621,0 +1629,0 @@ this.loader = new Loader2(); |
{ | ||
"name": "@garfish/core", | ||
"version": "1.17.5", | ||
"version": "1.17.6-beta-20240321114158.0", | ||
"description": "core module.", | ||
@@ -33,9 +33,9 @@ "keywords": [ | ||
"@alioth-org/es-module-lexer": "^1.1.0", | ||
"@garfish/hooks": "1.17.5", | ||
"@garfish/loader": "1.17.5", | ||
"@garfish/utils": "1.17.5", | ||
"@garfish/hooks": "1.17.6-beta-20240321114158.0", | ||
"@garfish/loader": "1.17.6-beta-20240321114158.0", | ||
"@garfish/utils": "1.17.6-beta-20240321114158.0", | ||
"eventemitter2": "^6.4.5" | ||
}, | ||
"devDependencies": { | ||
"@garfish/test-suite": "1.17.5" | ||
"@garfish/test-suite": "1.17.6-beta-20240321114158.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "publishConfig": { |
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
147655
3836
1
+ Added@garfish/hooks@1.17.6-beta-20240321114158.0(transitive)
+ Added@garfish/loader@1.17.6-beta-20240321114158.0(transitive)
+ Added@garfish/utils@1.17.6-beta-20240321114158.0(transitive)
- Removed@garfish/hooks@1.17.5(transitive)
- Removed@garfish/loader@1.17.5(transitive)
- Removed@garfish/utils@1.17.5(transitive)