silgi 0.20.15 → 0.20.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/index.mjs +1 -1
- package/dist/core/index.mjs +2 -2
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { createConsola } from 'consola';
|
|
|
2
2
|
import defu, { defu as defu$1 } from 'defu';
|
|
3
3
|
import { createHooks } from 'hookable';
|
|
4
4
|
import { c as createRouteRules } from '../_chunks/routeRules.mjs';
|
|
5
|
-
import { getContext } from 'unctx';
|
|
5
|
+
import { getContext, createContext } from 'unctx';
|
|
6
6
|
import { Buffer } from 'node:buffer';
|
|
7
7
|
import { klona } from 'klona';
|
|
8
8
|
import { createStorage as createStorage$1, builtinDrivers, prefixStorage } from 'unstorage';
|
|
@@ -716,7 +716,7 @@ function createShared(shared) {
|
|
|
716
716
|
return shared;
|
|
717
717
|
}
|
|
718
718
|
|
|
719
|
-
const silgiCLICtx =
|
|
719
|
+
const silgiCLICtx = createContext();
|
|
720
720
|
function useSilgiCLI() {
|
|
721
721
|
const instance = silgiCLICtx.tryUse();
|
|
722
722
|
if (!instance) {
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED