From 8f81d54e40e2735e8c76473561da038850ae70f5 Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Fri, 18 Jul 2025 06:27:09 -0700 Subject: [PATCH] chore(ReactNative): Change deprecated `assert` to `with` (#972) --- src/platform/react-native.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/react-native.ts b/src/platform/react-native.ts index 83118fad..922bb17b 100644 --- a/src/platform/react-native.ts +++ b/src/platform/react-native.ts @@ -2,7 +2,7 @@ import type { ICache } from '../types/Cache.js'; import { Platform } from '../utils/Utils.js'; import sha1Hash from './polyfills/web-crypto.js'; -import package_json from '../../package.json' assert { type: 'json' }; +import package_json from '../../package.json' with { type: 'json' }; import evaluate from './jsruntime/jinter.js'; class Cache implements ICache {