@koine/next 1.0.67 → 1.0.68
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/load.d.ts +1 -1
- package/load.js +1 -1
- package/node/load.js +1 -1
- package/package.json +3 -3
- package/to.d.ts +2 -2
package/load.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Utility to load a component with an optional pre-determined delay.
|
|
3
3
|
*
|
|
4
|
-
* This was designed to improve anti spam
|
|
4
|
+
* This was designed to improve anti spam with async form loading.
|
|
5
5
|
*
|
|
6
6
|
* @see https://github.com/vercel/next.js/blob/main/packages/next/next-server/lib/dynamic.tsx
|
|
7
7
|
* @see https://github.com/vercel/next.js/blob/canary/examples/with-dynamic-import/pages/index.js
|
package/load.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Utility to load a component with an optional pre-determined delay.
|
|
3
3
|
*
|
|
4
|
-
* This was designed to improve anti spam
|
|
4
|
+
* This was designed to improve anti spam with async form loading.
|
|
5
5
|
*
|
|
6
6
|
* @see https://github.com/vercel/next.js/blob/main/packages/next/next-server/lib/dynamic.tsx
|
|
7
7
|
* @see https://github.com/vercel/next.js/blob/canary/examples/with-dynamic-import/pages/index.js
|
package/node/load.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.load = void 0;
|
|
|
4
4
|
/**
|
|
5
5
|
* Utility to load a component with an optional pre-determined delay.
|
|
6
6
|
*
|
|
7
|
-
* This was designed to improve anti spam
|
|
7
|
+
* This was designed to improve anti spam with async form loading.
|
|
8
8
|
*
|
|
9
9
|
* @see https://github.com/vercel/next.js/blob/main/packages/next/next-server/lib/dynamic.tsx
|
|
10
10
|
* @see https://github.com/vercel/next.js/blob/canary/examples/with-dynamic-import/pages/index.js
|
package/package.json
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"react": "^16.8 || ^17 || ^18",
|
|
20
20
|
"next": "^12.2.3",
|
|
21
|
-
"@koine/utils": "1.0.
|
|
21
|
+
"@koine/utils": "1.0.68",
|
|
22
22
|
"framer-motion": "^6.5.1",
|
|
23
|
-
"@koine/react": "1.0.
|
|
23
|
+
"@koine/react": "1.0.68",
|
|
24
24
|
"styled-components": "^5.3.5",
|
|
25
25
|
"@mui/base": "^5.0.0-alpha.90",
|
|
26
26
|
"react-icons": "^4.4.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"next-seo": "^5.5.0",
|
|
42
42
|
"@hookform/resolvers": "^2.9.6"
|
|
43
43
|
},
|
|
44
|
-
"version": "1.0.
|
|
44
|
+
"version": "1.0.68",
|
|
45
45
|
"module": "./index.js",
|
|
46
46
|
"types": "./index.d.ts"
|
|
47
47
|
}
|
package/to.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TranslateNamespaced, TranslatedRoute } from "./types-i18n";
|
|
2
|
-
declare type OnlyStatic<T extends string> = T extends `${string}.[${string}]` | `[${string}].${string}` | `[${string}]` ? never : T;
|
|
3
|
-
declare type OnlyDynamic<T extends string> = T extends `${string}.[${string}]` | `[${string}].${string}` | `[${string}]` ? T : never;
|
|
2
|
+
declare type OnlyStatic<T extends string> = T extends `${string}.[${string}].${string}` | `${string}.[${string}]` | `[${string}].${string}` | `[${string}]` ? never : T;
|
|
3
|
+
declare type OnlyDynamic<T extends string> = T extends `${string}.[${string}].${string}` | `${string}.[${string}]` | `[${string}].${string}` | `[${string}]` ? T : never;
|
|
4
4
|
/**
|
|
5
5
|
* @borrows [awesome-template-literal-types](https://github.com/ghoullier/awesome-template-literal-types#router-params-parsing)
|
|
6
6
|
*/
|