i18n-chain
i18n-chain copied to clipboard
High performance i18n with typescript that support React, React-Native, Taro and NodeJs
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7. Changelog Sourced from handlebars's changelog. v4.7.7 - February 15th, 2021 fix weird error in integration tests - eb860c0 fix: check prototype property access in...
 代码片段 ```ts const ApplicationNavigations = () => { const chain = i18n.use(); return ( ); }; ``` 如果直接导入的话就不会出现上面的错误,但是就无法动态更新了。 ```js "react": "16.13.1", "react-native": "0.63.4", "@react-navigation/bottom-tabs": "^5.11.7", "@react-navigation/material-top-tabs": "^5.3.15", "@react-navigation/native": "^5.9.2",...
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. Changelog Sourced from ssri's changelog. 6.0.2 (2021-04-07) Bug Fixes backport regex change from 8.0.1 (b30dfdb), closes #19 Commits b7c8c7c chore(release): 6.0.2 b30dfdb fix: backport...
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....
For `@i18n-chain/react` which is designed for React, it would be very useful to be able to have html/React components inside a translation. Currently, text or placeholder can only contain strings....
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. Commits a2c5da8 1.3.8 af5c6bb Do not use Object.create(null) 8b648a1 don't test where our devdeps don't even work c74c8af 1.3.7 024b8b5 update deps, add linting...
loader: name => import('./locales/' + name)这行代码报错是为什么?在react-native中使用的 BUNDLE [android, dev] ./index.js ▓▓▓▓▓▓▓▓▓░░░░░░░ 58.1% (828/1086)::ffff:127.0.0.1 - - [10/Nov/2020:05:51:36 +0000] "GET /index.bundle?platform=android&dev=true&minify=false HTTP/1.1" 500 - "-" "okhttp/3.12.1" error: bundling failed: src/i18n/index.ts: src/i18n/index.ts:Invalid call...
最近将项目中的 Taro 升级到了 Taro Next,然后编译时 useI18n 报错,发现是 useState 等方法是从 taro 中导出而导致的问题,像这种情况,有办法判断 taro 的版本然后从不同的 package 中导出吗?还是要开个新的分支?