@tarojs/runtime 3.6.6-alpha.3 → 3.6.7-alpha.0
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/index.d.ts +1 -1
- package/dist/runtime.esm.d.ts +2 -1
- package/dist/runtime.esm.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export { TaroText } from './dom/text';
|
|
|
20
20
|
export { MutationObserver } from './dom-external/mutation-observer';
|
|
21
21
|
export { Current, getCurrentInstance } from './current';
|
|
22
22
|
export { eventSource } from './dom/event-source';
|
|
23
|
-
export { addLeadingSlash, createComponentConfig, createPageConfig, createRecursiveComponentConfig, getPageInstance, injectPageInstance, removePageInstance, safeExecute, stringify } from './dsl/common';
|
|
23
|
+
export { addLeadingSlash, createComponentConfig, createPageConfig, createRecursiveComponentConfig, getPageInstance, getPath, injectPageInstance, removePageInstance, safeExecute, stringify } from './dsl/common';
|
|
24
24
|
export * from './emitter/emitter';
|
|
25
25
|
export { hydrate } from './hydrate';
|
|
26
26
|
export { nextTick } from './next-tick';
|
package/dist/runtime.esm.d.ts
CHANGED
|
@@ -692,6 +692,7 @@ declare function removePageInstance(id: string): void;
|
|
|
692
692
|
declare function addLeadingSlash(path?: string): string;
|
|
693
693
|
declare function safeExecute(path: string, lifecycle: string, ...args: unknown[]): any;
|
|
694
694
|
declare function stringify(obj?: Record<string, unknown>): string;
|
|
695
|
+
declare function getPath(id: string, options?: Record<string, unknown>): string;
|
|
695
696
|
declare function createPageConfig(component: any, pageName?: string, data?: Record<string, unknown>, pageConfig?: PageConfig): PageInstance;
|
|
696
697
|
declare function createComponentConfig(component: React.ComponentClass, componentName?: string, data?: Record<string, unknown>): any;
|
|
697
698
|
declare function createRecursiveComponentConfig(componentName?: string): any;
|
|
@@ -706,4 +707,4 @@ declare const nextTick: (cb: Func, ctx?: Record<string, any>) => void;
|
|
|
706
707
|
declare const options: Options;
|
|
707
708
|
declare const incrementId: () => () => string;
|
|
708
709
|
export { hooks } from '@tarojs/shared';
|
|
709
|
-
export { document, getComputedStyle, History, Location, nav as navigator, _caf as cancelAnimationFrame, now, _raf as requestAnimationFrame, parseUrl, URL, URLSearchParams, history, location, window, TaroElement, createEvent, eventHandler, TaroEvent, FormElement, TaroNode, TaroRootElement, Style, SVGElement, TaroText, MutationObserver, Current, getCurrentInstance, eventSource, addLeadingSlash, createComponentConfig, createPageConfig, createRecursiveComponentConfig, getPageInstance, injectPageInstance, removePageInstance, safeExecute, stringify, EventsType, eventCenter, Events, hydrate, nextTick, options, incrementId, Instance, VueAppInstance, VueInstance, PageProps, ReactPageComponent, ReactPageInstance, ReactAppInstance, PageLifeCycle, PageInstance, AppInstance, Attributes, EventOptions, MpEvent, EventListenerOptions, AddEventListenerOptions, EventHandler, MpInstance, MiniElementData, MiniData, HydratedData, UpdatePayloadValue, DataTree, UpdatePayload, Options$0 as Options, Func, Ctx };
|
|
710
|
+
export { document, getComputedStyle, History, Location, nav as navigator, _caf as cancelAnimationFrame, now, _raf as requestAnimationFrame, parseUrl, URL, URLSearchParams, history, location, window, TaroElement, createEvent, eventHandler, TaroEvent, FormElement, TaroNode, TaroRootElement, Style, SVGElement, TaroText, MutationObserver, Current, getCurrentInstance, eventSource, addLeadingSlash, createComponentConfig, createPageConfig, createRecursiveComponentConfig, getPageInstance, getPath, injectPageInstance, removePageInstance, safeExecute, stringify, EventsType, eventCenter, Events, hydrate, nextTick, options, incrementId, Instance, VueAppInstance, VueInstance, PageProps, ReactPageComponent, ReactPageInstance, ReactAppInstance, PageLifeCycle, PageInstance, AppInstance, Attributes, EventOptions, MpEvent, EventListenerOptions, AddEventListenerOptions, EventHandler, MpInstance, MiniElementData, MiniData, HydratedData, UpdatePayloadValue, DataTree, UpdatePayload, Options$0 as Options, Func, Ctx };
|
package/dist/runtime.esm.js
CHANGED
|
@@ -4175,5 +4175,5 @@ const nextTick = (cb, ctx) => {
|
|
|
4175
4175
|
}
|
|
4176
4176
|
};
|
|
4177
4177
|
|
|
4178
|
-
export { Current, FormElement, History, Location, MutationObserver, SVGElement, Style, TaroElement, TaroEvent, TaroNode, TaroRootElement, TaroText, URL, URLSearchParams, addLeadingSlash, _caf as cancelAnimationFrame, createComponentConfig, createEvent, createPageConfig, createRecursiveComponentConfig, document$1 as document, eventCenter, eventHandler, eventSource, getComputedStyle, getCurrentInstance, getPageInstance, history, hydrate, incrementId, injectPageInstance, location, nav as navigator, nextTick, now, options, parseUrl, removePageInstance, _raf as requestAnimationFrame, safeExecute, stringify, window$1 as window };
|
|
4178
|
+
export { Current, FormElement, History, Location, MutationObserver, SVGElement, Style, TaroElement, TaroEvent, TaroNode, TaroRootElement, TaroText, URL, URLSearchParams, addLeadingSlash, _caf as cancelAnimationFrame, createComponentConfig, createEvent, createPageConfig, createRecursiveComponentConfig, document$1 as document, eventCenter, eventHandler, eventSource, getComputedStyle, getCurrentInstance, getPageInstance, getPath, history, hydrate, incrementId, injectPageInstance, location, nav as navigator, nextTick, now, options, parseUrl, removePageInstance, _raf as requestAnimationFrame, safeExecute, stringify, window$1 as window };
|
|
4179
4179
|
//# sourceMappingURL=runtime.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/runtime",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.7-alpha.0",
|
|
4
4
|
"description": "taro runtime for mini apps.",
|
|
5
5
|
"main": "dist/runtime.esm.js",
|
|
6
6
|
"module": "dist/runtime.esm.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"lodash-es": "4.17.21",
|
|
22
|
-
"@tarojs/shared": "3.6.
|
|
22
|
+
"@tarojs/shared": "3.6.7-alpha.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@rollup/plugin-buble": "^0.21.3",
|