@dargmuesli/nuxt-cookie-control 5.0.0-beta.7 → 5.0.0-beta.8
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/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +5 -2
- package/dist/runtime/types.d.ts +1 -1
- package/package.json +3 -3
package/dist/module.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ interface ModuleOptions {
|
|
|
49
49
|
initialState: boolean;
|
|
50
50
|
};
|
|
51
51
|
locales: Locale[];
|
|
52
|
-
localeTexts: PartialRecord<Locale, LocaleStrings
|
|
52
|
+
localeTexts: PartialRecord<Locale, Partial<LocaleStrings>>;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { resolve } from 'node:path';
|
|
|
2
2
|
import { createResolver, defineNuxtModule, addPlugin, addImports, addTemplate, extendWebpackConfig, resolvePath } from '@nuxt/kit';
|
|
3
3
|
|
|
4
4
|
const name = "@dargmuesli/nuxt-cookie-control";
|
|
5
|
-
const version = "5.0.0-beta.
|
|
5
|
+
const version = "5.0.0-beta.8";
|
|
6
6
|
|
|
7
7
|
const en = {
|
|
8
8
|
accept: "Accept",
|
|
@@ -151,7 +151,10 @@ const loadLocales = async (moduleOptions) => {
|
|
|
151
151
|
if (!text)
|
|
152
152
|
throw new Error(`Could not import text for locale ${locale}`);
|
|
153
153
|
moduleOptions.locales.push(locale);
|
|
154
|
-
moduleOptions.localeTexts[locale] =
|
|
154
|
+
moduleOptions.localeTexts[locale] = {
|
|
155
|
+
...text,
|
|
156
|
+
...moduleOptions.localeTexts[locale]
|
|
157
|
+
};
|
|
155
158
|
}
|
|
156
159
|
};
|
|
157
160
|
const pushCss = (moduleOptions, nuxt) => {
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export interface ModuleOptions {
|
|
|
52
52
|
initialState: boolean;
|
|
53
53
|
};
|
|
54
54
|
locales: Locale[];
|
|
55
|
-
localeTexts: PartialRecord<Locale, LocaleStrings
|
|
55
|
+
localeTexts: PartialRecord<Locale, Partial<LocaleStrings>>;
|
|
56
56
|
}
|
|
57
57
|
export declare const DEFAULTS: Required<ModuleOptions>;
|
|
58
58
|
export interface State {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.8",
|
|
4
4
|
"description": "Nuxt Cookies Control Module",
|
|
5
5
|
"author": "Dario Ferderber <dario.ferderber@broj42.com>",
|
|
6
6
|
"maintainers": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@nuxt/module-builder": "0.2.1",
|
|
48
48
|
"@nuxtjs/eslint-config-typescript": "12.0.0",
|
|
49
49
|
"@types/js-cookie": "3.0.3",
|
|
50
|
-
"eslint": "8.
|
|
50
|
+
"eslint": "8.35.0",
|
|
51
51
|
"eslint-config-prettier": "8.6.0",
|
|
52
52
|
"eslint-plugin-prettier": "4.2.1",
|
|
53
53
|
"husky": "8.0.3",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"prettier": "2.8.4",
|
|
57
57
|
"typescript": "4.9.5",
|
|
58
58
|
"vue": "3.2.47",
|
|
59
|
-
"vue-tsc": "1.
|
|
59
|
+
"vue-tsc": "1.2.0",
|
|
60
60
|
"webpack": "5.75.0"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|