@intlify/unplugin-vue-i18n 3.0.0 → 3.0.1
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/lib/index.cjs +4 -4
- package/lib/index.mjs +4 -4
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -135,20 +135,20 @@ const unplugin = unplugin$1.createUnplugin((options = {}, meta) => {
|
|
|
135
135
|
debug("bridge", bridge);
|
|
136
136
|
if (bridge) {
|
|
137
137
|
warn(
|
|
138
|
-
`'bridge' option is deprecated,
|
|
138
|
+
`'bridge' option is deprecated, since Vue 2 was EOL on 2023. that option will be removed in 4.0.`
|
|
139
139
|
);
|
|
140
140
|
}
|
|
141
141
|
const legacy = !!options.legacy;
|
|
142
142
|
debug("legacy", legacy);
|
|
143
143
|
if (legacy) {
|
|
144
144
|
warn(
|
|
145
|
-
`'legacy' option is deprecated,
|
|
145
|
+
`'legacy' option is deprecated, since Vue 2 was EOL on 2023. that option will be removed in 4.0.`
|
|
146
146
|
);
|
|
147
147
|
}
|
|
148
148
|
const vueVersion = shared.isString(options.vueVersion) ? options.vueVersion : void 0;
|
|
149
|
-
if (
|
|
149
|
+
if (vueVersion) {
|
|
150
150
|
warn(
|
|
151
|
-
`'vueVersion' option is deprecated,
|
|
151
|
+
`'vueVersion' option is deprecated, since Vue 2 was EOL on 2023. that option will be removed in 4.0.`
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
const runtimeOnly = shared.isBoolean(options.runtimeOnly) ? options.runtimeOnly : true;
|
package/lib/index.mjs
CHANGED
|
@@ -123,20 +123,20 @@ const unplugin = createUnplugin((options = {}, meta) => {
|
|
|
123
123
|
debug("bridge", bridge);
|
|
124
124
|
if (bridge) {
|
|
125
125
|
warn(
|
|
126
|
-
`'bridge' option is deprecated,
|
|
126
|
+
`'bridge' option is deprecated, since Vue 2 was EOL on 2023. that option will be removed in 4.0.`
|
|
127
127
|
);
|
|
128
128
|
}
|
|
129
129
|
const legacy = !!options.legacy;
|
|
130
130
|
debug("legacy", legacy);
|
|
131
131
|
if (legacy) {
|
|
132
132
|
warn(
|
|
133
|
-
`'legacy' option is deprecated,
|
|
133
|
+
`'legacy' option is deprecated, since Vue 2 was EOL on 2023. that option will be removed in 4.0.`
|
|
134
134
|
);
|
|
135
135
|
}
|
|
136
136
|
const vueVersion = isString(options.vueVersion) ? options.vueVersion : void 0;
|
|
137
|
-
if (
|
|
137
|
+
if (vueVersion) {
|
|
138
138
|
warn(
|
|
139
|
-
`'vueVersion' option is deprecated,
|
|
139
|
+
`'vueVersion' option is deprecated, since Vue 2 was EOL on 2023. that option will be removed in 4.0.`
|
|
140
140
|
);
|
|
141
141
|
}
|
|
142
142
|
const runtimeOnly = isBoolean(options.runtimeOnly) ? options.runtimeOnly : true;
|