Skip to content

Commit 8b13c36

Browse files
authored
chore(deps): update rollup (#1941)
1 parent 4c54f2f commit 8b13c36

File tree

6 files changed

+203
-51
lines changed

6 files changed

+203
-51
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"prettier": "^3.3.3",
117117
"rc": "^1.2.8",
118118
"rimraf": "^6.0.0",
119-
"rollup": "^3.29.2",
119+
"rollup": "^4.21.2",
120120
"rollup-plugin-node-builtins": "^2.1.2",
121121
"rollup-plugin-node-globals": "^1.4.0",
122122
"rollup-plugin-typescript2": "^0.36.0",

packages/core-base/src/context.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ export function registerLocaleFallbacker(fallbacker: LocaleFallbacker): void {
409409
}
410410

411411
// Additional Meta for Intlify DevTools
412-
let _additionalMeta: MetaInfo | null = /* #__PURE__*/ null
412+
let _additionalMeta: MetaInfo | null = null
413413

414414
/* #__NO_SIDE_EFFECTS__ */
415415
export const setAdditionalMeta = (meta: MetaInfo | null): void => {
@@ -512,12 +512,12 @@ export function createCoreContext<Message = string>(options: any = {}): any {
512512
? isPlainObject(options.datetimeFormats)
513513
? options.datetimeFormats
514514
: { [_locale]: {} }
515-
: /* #__PURE__*/ { [_locale]: {} }
515+
: { [_locale]: {} }
516516
const numberFormats = !__LITE__
517517
? isPlainObject(options.numberFormats)
518518
? options.numberFormats
519519
: { [_locale]: {} }
520-
: /* #__PURE__*/ { [_locale]: {} }
520+
: { [_locale]: {} }
521521
const modifiers = assign(
522522
{},
523523
options.modifiers || {},

packages/core-base/src/resolver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { isObject, isFunction } from '@intlify/shared'
1+
import { isFunction, isObject } from '@intlify/shared'
22

33
/** @VueI18nGeneral */
44
export type Path = string
@@ -43,7 +43,7 @@ const enum PathCharTypes {
4343
type PathState = StateAction | States.ERROR
4444
type PathStateMachine = Record<string, PathState>
4545

46-
const pathStateMachine = /* #__PURE__*/ [] as PathStateMachine[]
46+
const pathStateMachine = [] as PathStateMachine[]
4747

4848
pathStateMachine[States.BEFORE_PATH] = {
4949
[PathCharTypes.WORKSPACE]: [States.BEFORE_PATH],

packages/vue-i18n-core/src/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ declare module 'vue' {
7979
}
8080

8181
// for bridge
82-
const _legacyVueI18n: any = /* #__PURE__*/ null // eslint-disable-line @typescript-eslint/no-explicit-any
82+
const _legacyVueI18n: any = null // eslint-disable-line @typescript-eslint/no-explicit-any
8383

8484
/**
8585
* I18n Options for `createI18n`

0 commit comments

Comments
 (0)