intor 1.0.31 → 1.0.32
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/next/index.cjs +3 -4
- package/dist/next/index.js +3 -4
- package/package.json +1 -1
package/dist/next/index.cjs
CHANGED
|
@@ -787,10 +787,9 @@ var Link = (_a) => {
|
|
|
787
787
|
});
|
|
788
788
|
href = localePrefixedPathname;
|
|
789
789
|
const handleClick = (e) => {
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
if (e.defaultPrevented) {
|
|
790
|
+
var _a2;
|
|
791
|
+
(_a2 = props.onClick) == null ? void 0 : _a2.call(props, e);
|
|
792
|
+
if (e.defaultPrevented && !shouldUseFullReload(config.loaderOptions)) {
|
|
794
793
|
return;
|
|
795
794
|
}
|
|
796
795
|
if (shouldUseFullReload(config.loaderOptions)) {
|
package/dist/next/index.js
CHANGED
|
@@ -762,10 +762,9 @@ var Link = (_a) => {
|
|
|
762
762
|
});
|
|
763
763
|
href = localePrefixedPathname;
|
|
764
764
|
const handleClick = (e) => {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
if (e.defaultPrevented) {
|
|
765
|
+
var _a2;
|
|
766
|
+
(_a2 = props.onClick) == null ? void 0 : _a2.call(props, e);
|
|
767
|
+
if (e.defaultPrevented && !shouldUseFullReload(config.loaderOptions)) {
|
|
769
768
|
return;
|
|
770
769
|
}
|
|
771
770
|
if (shouldUseFullReload(config.loaderOptions)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"description": "A modular and extensible i18n core designed for TypeScript and JavaScript projects. Intor enables custom translation logic with support for both frontend and backend environments, featuring runtime configuration, caching, adapters, and message loaders.",
|
|
5
5
|
"author": "Yiming Liao",
|
|
6
6
|
"license": "MIT",
|