Skip to content

Commit

Permalink
chore(deps): update rollup (#1941)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Sep 11, 2024
1 parent 4c54f2f commit 8b13c36
Show file tree
Hide file tree
Showing 6 changed files with 203 additions and 51 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"prettier": "^3.3.3",
"rc": "^1.2.8",
"rimraf": "^6.0.0",
"rollup": "^3.29.2",
"rollup": "^4.21.2",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-typescript2": "^0.36.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/core-base/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ export function registerLocaleFallbacker(fallbacker: LocaleFallbacker): void {
}

// Additional Meta for Intlify DevTools
let _additionalMeta: MetaInfo | null = /* #__PURE__*/ null
let _additionalMeta: MetaInfo | null = null

/* #__NO_SIDE_EFFECTS__ */
export const setAdditionalMeta = (meta: MetaInfo | null): void => {
Expand Down Expand Up @@ -512,12 +512,12 @@ export function createCoreContext<Message = string>(options: any = {}): any {
? isPlainObject(options.datetimeFormats)
? options.datetimeFormats
: { [_locale]: {} }
: /* #__PURE__*/ { [_locale]: {} }
: { [_locale]: {} }
const numberFormats = !__LITE__
? isPlainObject(options.numberFormats)
? options.numberFormats
: { [_locale]: {} }
: /* #__PURE__*/ { [_locale]: {} }
: { [_locale]: {} }
const modifiers = assign(
{},
options.modifiers || {},
Expand Down
4 changes: 2 additions & 2 deletions packages/core-base/src/resolver.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isObject, isFunction } from '@intlify/shared'
import { isFunction, isObject } from '@intlify/shared'

/** @VueI18nGeneral */
export type Path = string
Expand Down Expand Up @@ -43,7 +43,7 @@ const enum PathCharTypes {
type PathState = StateAction | States.ERROR
type PathStateMachine = Record<string, PathState>

const pathStateMachine = /* #__PURE__*/ [] as PathStateMachine[]
const pathStateMachine = [] as PathStateMachine[]

pathStateMachine[States.BEFORE_PATH] = {
[PathCharTypes.WORKSPACE]: [States.BEFORE_PATH],
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-i18n-core/src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ declare module 'vue' {
}

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

/**
* I18n Options for `createI18n`
Expand Down
Loading

0 comments on commit 8b13c36

Please sign in to comment.