@ckbox/i18n 0.0.5 → 1.0.0

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -3
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  */
4
- const _0x4b7700=_0x2347;(function(_0x235731,_0x5ea4f8){const _0x2ed073=_0x2347,_0x2348c3=_0x235731();while(!![]){try{const _0x585e63=-parseInt(_0x2ed073(0x1f0))/0x1+-parseInt(_0x2ed073(0x205))/0x2*(-parseInt(_0x2ed073(0x206))/0x3)+parseInt(_0x2ed073(0x1ec))/0x4+-parseInt(_0x2ed073(0x204))/0x5+parseInt(_0x2ed073(0x1ef))/0x6*(-parseInt(_0x2ed073(0x1ee))/0x7)+parseInt(_0x2ed073(0x1e7))/0x8*(parseInt(_0x2ed073(0x210))/0x9)+parseInt(_0x2ed073(0x21a))/0xa;if(_0x585e63===_0x5ea4f8)break;else _0x2348c3['push'](_0x2348c3['shift']());}catch(_0x298225){_0x2348c3['push'](_0x2348c3['shift']());}}}(_0x3ff8,0xa00a6));import*as _0x15af98 from'react';import{__rest}from'tslib';function _0x3ff8(){const _0x469724=['18EsKlUp','warn','Plural\x20rules\x20could\x20not\x20be\x20created.\x20Perhaps\x20`Intl.PluralRules`\x20is\x20not\x20supported?','exec','\x27\x20is\x20missing.','tag',']:\x20Translation\x20for\x20key\x20\x27','loadTranslations','filter','payload','711UKCFdV','useContext','lang','charAt','translations','length','push','code','type','\x22\x20is\x20not\x20supported.','5032270wTceyR','then','indexOf','children','92760ulDedB','createElement','Provider','includes','_one','5152012ecAMFg','changeLang','7Qqxaqx','2863686UwUbwJ','1299740OKHDnL','resources','CKBOX_TRANSLATIONS','plural','json','slice','select','useEffect','log','strong','values','assign','text','pluralUtils','map','_rules','createContext','processTags','PluralRules','isSupported','5948800IObqCi','305024AtjqRF'];_0x3ff8=function(){return _0x469724;};return _0x3ff8();}import{sprintf}from'sprintf-js';class Plural{constructor(_0x3742ad){const _0x46f07b=_0x2347;this['lang']=_0x3742ad;try{this[_0x46f07b(0x1ff)]=new Intl[(_0x46f07b(0x202))](_0x3742ad);}catch(_0x3b9ecd){console[_0x46f07b(0x207)](_0x46f07b(0x208));}}['getKey'](_0x1c9f22,_0x2e1f03){const _0x106484=_0x2347;if(!this[_0x106484(0x1ff)])return _0x1c9f22+_0x106484(0x1eb);const _0x1e43fd=this[_0x106484(0x1ff)][_0x106484(0x1f6)](_0x2e1f03);return _0x1c9f22+'_'+_0x1e43fd;}}Plural['isSupported']=_0x5d405a=>{const _0x236936=_0x2347;try{return Intl[_0x236936(0x202)]['supportedLocalesOf']([_0x5d405a])[_0x236936(0x215)]>0x0;}catch(_0x138db2){return![];}};const I18nContext=_0x15af98[_0x4b7700(0x200)]({'changeLang':()=>{},'debug':![],'lang':'en','resources':{},'pluralUtils':new Plural('en')});function _0x2347(_0x1ebfda,_0x30b216){const _0x3ff80c=_0x3ff8();return _0x2347=function(_0x234791,_0x5cfc2c){_0x234791=_0x234791-0x1e4;let _0x3a14c6=_0x3ff80c[_0x234791];return _0x3a14c6;},_0x2347(_0x1ebfda,_0x30b216);}function reducer(_0x4d98c8,_0x4c3294){const _0x32f1d4=_0x4b7700;switch(_0x4c3294[_0x32f1d4(0x218)]){case _0x32f1d4(0x1ed):return Object[_0x32f1d4(0x1fb)](Object[_0x32f1d4(0x1fb)]({},_0x4d98c8),{'lang':_0x4c3294['payload']});case _0x32f1d4(0x20d):return Object[_0x32f1d4(0x1fb)](Object[_0x32f1d4(0x1fb)]({},_0x4d98c8),{'lang':_0x4c3294[_0x32f1d4(0x20f)][_0x32f1d4(0x212)],'resources':Object['assign'](Object[_0x32f1d4(0x1fb)]({},_0x4d98c8[_0x32f1d4(0x1f1)]),{[_0x4c3294[_0x32f1d4(0x20f)][_0x32f1d4(0x212)]]:_0x4c3294[_0x32f1d4(0x20f)][_0x32f1d4(0x214)]})});}}const useI18n=({debug:debug=![],loadURL:_0x51add9,lang:_0x158dd4='en',resources:_0xd0391={}})=>{const _0x351b49=_0x4b7700,[{lang:_0xa22ab8,resources:_0x4b6a3e},_0x3620d0]=_0x15af98['useReducer'](reducer,{'lang':_0x158dd4,'resources':_0xd0391});_0x15af98[_0x351b49(0x1f7)](()=>{const _0x31cf26=_0x351b49,_0x2a02d3=Plural[_0x31cf26(0x203)](_0xa22ab8);!_0x2a02d3&&console[_0x31cf26(0x207)]('Plural\x20form\x20for\x20language\x20\x22'+_0xa22ab8+_0x31cf26(0x219));},[_0xa22ab8]),_0x15af98[_0x351b49(0x1f7)](()=>{const _0x53cfa0=_0x351b49;if(_0x4b6a3e[_0xa22ab8]||!_0x51add9)return;fetch(_0x51add9(_0xa22ab8))[_0x53cfa0(0x1e4)](_0x11251b=>_0x11251b[_0x53cfa0(0x1f4)]())['then'](_0x5d505d=>{const _0x265ebb=_0x53cfa0;_0x3620d0({'type':_0x265ebb(0x20d),'payload':{'lang':_0xa22ab8,'translations':_0x5d505d}});});},[_0xa22ab8,_0x51add9,_0x4b6a3e]);const _0x384a19=_0x396ef8=>{_0x3620d0({'type':'changeLang','payload':_0x396ef8});};return{'changeLang':_0x384a19,'debug':debug,'lang':_0xa22ab8,'pluralUtils':new Plural(_0xa22ab8),'resources':_0x4b6a3e};},I18nProvider=_0x7a4b99=>{const _0x185640=_0x4b7700;var {children:_0x194ebc}=_0x7a4b99,_0x472bde=__rest(_0x7a4b99,[_0x185640(0x1e6)]);const _0xde8f1e=useI18n(_0x472bde);return _0x15af98[_0x185640(0x1e8)](I18nContext[_0x185640(0x1e9)],{'value':_0xde8f1e},_0x194ebc);},getTranslations=_0x108916=>{const _0x493237=_0x4b7700;var _0x520b00,_0x2a8770;const _0x3b9ba6=typeof globalThis!=='undefined'?globalThis:global||self;return(_0x2a8770=(_0x520b00=_0x3b9ba6===null||_0x3b9ba6===void 0x0?void 0x0:_0x3b9ba6[_0x493237(0x1f2)])===null||_0x520b00===void 0x0?void 0x0:_0x520b00[_0x108916])!==null&&_0x2a8770!==void 0x0?_0x2a8770:{};},TAG_REGEX=/<[a-zA-Z0-9\-!/](?:"[^"]*"|'[^']*'|[^'">])*>/g,ALLOWED_TAGS=['em',_0x4b7700(0x1f9),_0x4b7700(0x217)],getMsg=(_0x255072,_0xeaf72a={},_0x127b7b)=>{const _0x31da7f=_0x4b7700,_0x4e9d34=_0x127b7b[_0x31da7f(0x1f3)];if(_0xeaf72a[_0x255072]&&_0x4e9d34===undefined)return{'found':!![],'msg':_0xeaf72a[_0x255072]};const _0x4d7547=Object['keys'](_0xeaf72a)[_0x31da7f(0x20e)](_0x1ca7b5=>_0x1ca7b5[_0x31da7f(0x1e5)](_0x255072)===0x0);if(_0x4d7547[_0x31da7f(0x215)]===0x0||_0x4e9d34===undefined)return{'found':![],'msg':_0x255072};const _0x354b53=_0x127b7b[_0x31da7f(0x1fd)]['getKey'](_0x255072,_0x4e9d34);return{'found':!![],'msg':_0xeaf72a[_0x354b53]};},parseMsgTags=_0x932ab5=>{const _0x29a742=_0x4b7700,_0x119156=[];let _0x3f56d5=0x0,_0x138c9e;while((_0x138c9e=TAG_REGEX[_0x29a742(0x209)](_0x932ab5))!==null){const _0x54adef=_0x138c9e[0x0],{index:_0x358742}=_0x138c9e,_0x3491d9=_0x54adef[_0x29a742(0x213)](0x1)==='/',_0x15ff8a=_0x3491d9?_0x54adef[_0x29a742(0x1f5)](0x2,-0x1):_0x54adef[_0x29a742(0x1f5)](0x1,-0x1),_0x3ebc7f=ALLOWED_TAGS[_0x29a742(0x1ea)](_0x15ff8a);if(!_0x3ebc7f)continue;const _0x30264b=_0x932ab5[_0x29a742(0x1f5)](_0x3f56d5,_0x358742);if(!_0x30264b){_0x3f56d5=_0x358742+_0x54adef[_0x29a742(0x215)];continue;}_0x3491d9?_0x119156[_0x29a742(0x216)]({'type':_0x29a742(0x20b),'name':_0x54adef[_0x29a742(0x1f5)](0x2,-0x1),'content':_0x30264b}):_0x119156[_0x29a742(0x216)]({'type':'text','content':_0x30264b}),_0x3f56d5=_0x358742+_0x54adef[_0x29a742(0x215)];}return _0x3f56d5<_0x932ab5[_0x29a742(0x215)]&&_0x119156['push']({'type':_0x29a742(0x1fc),'content':_0x932ab5[_0x29a742(0x1f5)](_0x3f56d5)}),_0x119156;};function formatMsgWithTags(_0x1b5260){const _0x1cef66=_0x4b7700,_0x4d2951=parseMsgTags(_0x1b5260),_0x2f850b=_0x4d2951[_0x1cef66(0x1fe)](({content:_0x2a6a8a,type:_0x147c94,name:_0x5293ec},_0x17ac7f)=>{const _0x6348f2=_0x1cef66,_0x9607b1=_0x147c94!==_0x6348f2(0x1fc)&&_0x5293ec?_0x5293ec:_0x15af98['Fragment'];return _0x15af98[_0x6348f2(0x1e8)](_0x9607b1,{'key':''+_0x17ac7f},_0x2a6a8a);});return _0x2f850b;}function formatMsg(_0x149d0a,_0x1a29bd,_0x3110bd){const _0x1c3666=sprintf(_0x149d0a,..._0x1a29bd!==null&&_0x1a29bd!==void 0x0?_0x1a29bd:[]);if(!_0x3110bd)return _0x1c3666;return formatMsgWithTags(_0x1c3666);}const useTranslation=()=>{const _0x51ab09=_0x4b7700,{lang:_0x344b88,debug:_0xfead55,pluralUtils:_0x2d191d,resources:_0x34ca70}=_0x15af98[_0x51ab09(0x211)](I18nContext);function _0x4d86d2(_0x363a63,_0x1028a8){const _0x36a362=_0x51ab09,{found:_0xe2d0ea,msg:_0x3fda4a}=getMsg(_0x363a63,_0x34ca70[_0x344b88],{'plural':_0x1028a8===null||_0x1028a8===void 0x0?void 0x0:_0x1028a8[_0x36a362(0x1f3)],'pluralUtils':_0x2d191d});_0xfead55&&!_0xe2d0ea&&console[_0x36a362(0x1f8)]('['+_0x344b88+_0x36a362(0x20c)+_0x363a63+_0x36a362(0x20a));if(_0x1028a8===null||_0x1028a8===void 0x0?void 0x0:_0x1028a8[_0x36a362(0x201)])return formatMsg(_0x3fda4a,_0x1028a8===null||_0x1028a8===void 0x0?void 0x0:_0x1028a8[_0x36a362(0x1fa)],!![]);return formatMsg(_0x3fda4a,_0x1028a8===null||_0x1028a8===void 0x0?void 0x0:_0x1028a8[_0x36a362(0x1fa)],![]);}return{'t':_0x4d86d2,'lang':_0x344b88};};export{I18nContext,I18nProvider,getTranslations,useTranslation};
4
+ const _0x26a27a=_0x12cb;(function(_0x2166b6,_0x59d9d3){const _0x381162=_0x12cb,_0x3298ee=_0x2166b6();while(!![]){try{const _0x588d03=parseInt(_0x381162(0x136))/0x1*(parseInt(_0x381162(0x142))/0x2)+-parseInt(_0x381162(0x125))/0x3*(parseInt(_0x381162(0x11d))/0x4)+-parseInt(_0x381162(0x143))/0x5*(parseInt(_0x381162(0x123))/0x6)+parseInt(_0x381162(0x13c))/0x7+-parseInt(_0x381162(0x11b))/0x8*(-parseInt(_0x381162(0x11c))/0x9)+-parseInt(_0x381162(0x138))/0xa*(parseInt(_0x381162(0x132))/0xb)+parseInt(_0x381162(0x140))/0xc;if(_0x588d03===_0x59d9d3)break;else _0x3298ee['push'](_0x3298ee['shift']());}catch(_0x232a6b){_0x3298ee['push'](_0x3298ee['shift']());}}}(_0x183d,0xce71c));import*as _0x3a81ad from'react';import{sprintf}from'sprintf-js';class Plural{constructor(_0x21ef02){const _0x5ecc5d=_0x12cb;this[_0x5ecc5d(0x11e)]=_0x21ef02;try{this[_0x5ecc5d(0x11a)]=new Intl[(_0x5ecc5d(0x117))](_0x21ef02);}catch(_0x2ceb09){console[_0x5ecc5d(0x122)]('Plural\x20rules\x20could\x20not\x20be\x20created.\x20Perhaps\x20`Intl.PluralRules`\x20is\x20not\x20supported?');}}['getKey'](_0x5ccdb2,_0x59a9ca){const _0x4b56f5=_0x12cb;if(!this[_0x4b56f5(0x11a)])return _0x5ccdb2+'_one';const _0x448765=this[_0x4b56f5(0x11a)][_0x4b56f5(0x13b)](_0x59a9ca);return _0x5ccdb2+'_'+_0x448765;}}Plural[_0x26a27a(0x12d)]=_0x3bdd4f=>{const _0x3ec673=_0x26a27a;try{return Intl['PluralRules'][_0x3ec673(0x134)]([_0x3bdd4f])[_0x3ec673(0x133)]>0x0;}catch(_0x12322a){return![];}};function _0x12cb(_0x1bae0,_0x21d010){const _0x183d01=_0x183d();return _0x12cb=function(_0x12cb9d,_0x1fefde){_0x12cb9d=_0x12cb9d-0x114;let _0x18e890=_0x183d01[_0x12cb9d];return _0x18e890;},_0x12cb(_0x1bae0,_0x21d010);}const I18nContext=_0x3a81ad['createContext']({'changeLang':()=>{},'debug':![],'lang':'en','resources':{},'pluralUtils':new Plural('en')});function reducer(_0x1b4fea,_0x3bfbba){const _0x2b3a58=_0x26a27a;switch(_0x3bfbba[_0x2b3a58(0x13a)]){case _0x2b3a58(0x11f):return{..._0x1b4fea,'lang':_0x3bfbba[_0x2b3a58(0x144)]};case'loadTranslations':return{..._0x1b4fea,'lang':_0x3bfbba['payload'][_0x2b3a58(0x11e)],'resources':{..._0x1b4fea[_0x2b3a58(0x12b)],[_0x3bfbba['payload'][_0x2b3a58(0x11e)]]:_0x3bfbba[_0x2b3a58(0x144)][_0x2b3a58(0x139)]}};}}const useI18n=({debug:debug=![],loadURL:_0x36d2af,lang:_0x59748d='en',resources:_0x4f549d={}})=>{const _0x514ba0=_0x26a27a,[{lang:_0x120374,resources:_0x44702b},_0x516eea]=_0x3a81ad[_0x514ba0(0x121)](reducer,{'lang':_0x59748d,'resources':_0x4f549d});_0x3a81ad[_0x514ba0(0x135)](()=>{const _0x272581=Plural['isSupported'](_0x120374);!_0x272581&&console['warn']('Plural\x20form\x20for\x20language\x20\x22'+_0x120374+'\x22\x20is\x20not\x20supported.');},[_0x120374]),_0x3a81ad[_0x514ba0(0x135)](()=>{const _0x3b52c9=_0x514ba0;if(_0x44702b[_0x120374]||!_0x36d2af)return;fetch(_0x36d2af(_0x120374))[_0x3b52c9(0x115)](_0x3f4e95=>_0x3f4e95[_0x3b52c9(0x127)]())[_0x3b52c9(0x115)](_0x34a5b6=>{const _0x520471=_0x3b52c9;_0x516eea({'type':_0x520471(0x131),'payload':{'lang':_0x120374,'translations':_0x34a5b6}});});},[_0x120374,_0x36d2af,_0x44702b]);const _0x51a72e=_0x29e326=>{const _0x3883c8=_0x514ba0;_0x516eea({'type':_0x3883c8(0x11f),'payload':_0x29e326});};return{'changeLang':_0x51a72e,'debug':debug,'lang':_0x120374,'pluralUtils':new Plural(_0x120374),'resources':_0x44702b};},I18nProvider=({children:_0x3c165a,..._0x4c09b4})=>{const _0x530a59=_0x26a27a,_0x340e74=useI18n(_0x4c09b4);return _0x3a81ad[_0x530a59(0x116)](I18nContext[_0x530a59(0x114)],{'value':_0x340e74},_0x3c165a);},getTranslations=_0x3faa02=>{const _0x27000f=_0x26a27a;var _0x324190,_0x220873;const _0x4cf53d=globalThis;return(_0x220873=(_0x324190=_0x4cf53d===null||_0x4cf53d===void 0x0?void 0x0:_0x4cf53d[_0x27000f(0x118)])===null||_0x324190===void 0x0?void 0x0:_0x324190[_0x3faa02])!==null&&_0x220873!==void 0x0?_0x220873:{};},TAG_REGEX=/<[a-zA-Z0-9\-!/](?:"[^"]*"|'[^']*'|[^'">])*>/g,ALLOWED_TAGS=['em',_0x26a27a(0x129),'code'],getMsg=(_0x500b3b,_0x40cd66={},_0x37cbed)=>{const _0x5440e0=_0x26a27a,_0x1a63fe=_0x37cbed[_0x5440e0(0x13f)];if(_0x40cd66[_0x500b3b]&&_0x1a63fe===undefined)return{'found':!![],'msg':_0x40cd66[_0x500b3b]};const _0x39e094=Object[_0x5440e0(0x119)](_0x40cd66)['filter'](_0x34d232=>_0x34d232['indexOf'](_0x500b3b)===0x0);if(_0x39e094[_0x5440e0(0x133)]===0x0||_0x1a63fe===undefined)return{'found':![],'msg':_0x500b3b};const _0x1339bc=_0x37cbed[_0x5440e0(0x130)][_0x5440e0(0x13d)](_0x500b3b,_0x1a63fe);return{'found':!![],'msg':_0x40cd66[_0x1339bc]};},parseMsgTags=_0x1ada1f=>{const _0x2fae1e=_0x26a27a,_0x2d65f5=[];let _0x5f004e=0x0,_0x59e2dc;while((_0x59e2dc=TAG_REGEX[_0x2fae1e(0x124)](_0x1ada1f))!==null){const _0x1b23bb=_0x59e2dc[0x0],{index:_0x13aea7}=_0x59e2dc,_0x56233e=_0x1b23bb[_0x2fae1e(0x13e)](0x1)==='/',_0x2855fd=_0x56233e?_0x1b23bb['slice'](0x2,-0x1):_0x1b23bb[_0x2fae1e(0x12a)](0x1,-0x1),_0x557ccb=ALLOWED_TAGS[_0x2fae1e(0x137)](_0x2855fd);if(!_0x557ccb)continue;const _0x47fd0c=_0x1ada1f[_0x2fae1e(0x12a)](_0x5f004e,_0x13aea7);if(!_0x47fd0c){_0x5f004e=_0x13aea7+_0x1b23bb[_0x2fae1e(0x133)];continue;}_0x56233e?_0x2d65f5[_0x2fae1e(0x141)]({'type':'tag','name':_0x1b23bb[_0x2fae1e(0x12a)](0x2,-0x1),'content':_0x47fd0c}):_0x2d65f5[_0x2fae1e(0x141)]({'type':_0x2fae1e(0x12e),'content':_0x47fd0c}),_0x5f004e=_0x13aea7+_0x1b23bb[_0x2fae1e(0x133)];}return _0x5f004e<_0x1ada1f[_0x2fae1e(0x133)]&&_0x2d65f5[_0x2fae1e(0x141)]({'type':'text','content':_0x1ada1f[_0x2fae1e(0x12a)](_0x5f004e)}),_0x2d65f5;};function _0x183d(){const _0x56fddd=['charAt','plural','5454672DfDnFc','push','769262LggZAP','355jMbPEa','payload','Provider','then','createElement','PluralRules','CKBOX_TRANSLATIONS','keys','_rules','40792UIsfuI','1017ucBsFM','203876qSLxJC','lang','changeLang','map','useReducer','warn','92382vgxifI','exec','48HCRYMH','useContext','json','\x27\x20is\x20missing.','strong','slice','resources','values','isSupported','text',']:\x20Translation\x20for\x20key\x20\x27','pluralUtils','loadTranslations','3083047kCczbp','length','supportedLocalesOf','useEffect','4jGKWzO','includes','20EFATgx','translations','type','select','5219018WNTATC','getKey'];_0x183d=function(){return _0x56fddd;};return _0x183d();}function formatMsgWithTags(_0x306aff){const _0x518a2e=_0x26a27a,_0x243ace=parseMsgTags(_0x306aff),_0x31a327=_0x243ace[_0x518a2e(0x120)](({content:_0x2a1576,type:_0x41fe99,name:_0x17998a},_0x43a167)=>{const _0x502fbe=_0x518a2e,_0x1a1d6f=_0x41fe99!==_0x502fbe(0x12e)&&_0x17998a?_0x17998a:_0x3a81ad['Fragment'];return _0x3a81ad['createElement'](_0x1a1d6f,{'key':''+_0x43a167},_0x2a1576);});return _0x31a327;}function formatMsg(_0x14f2ce,_0x1f0627,_0x12b89){const _0x263118=sprintf(_0x14f2ce,..._0x1f0627!==null&&_0x1f0627!==void 0x0?_0x1f0627:[]);if(!_0x12b89)return _0x263118;return formatMsgWithTags(_0x263118);}const useTranslation=()=>{const _0x47e8c9=_0x26a27a,{lang:_0x19b75b,debug:_0x1ee20a,pluralUtils:_0x5dd018,resources:_0x2219f2}=_0x3a81ad[_0x47e8c9(0x126)](I18nContext);function _0x35c74e(_0x1ebbc7,_0x57f192){const _0x310abd=_0x47e8c9,{found:_0x48fa83,msg:_0x88f7ce}=getMsg(_0x1ebbc7,_0x2219f2[_0x19b75b],{'plural':_0x57f192===null||_0x57f192===void 0x0?void 0x0:_0x57f192[_0x310abd(0x13f)],'pluralUtils':_0x5dd018});_0x1ee20a&&!_0x48fa83&&console['log']('['+_0x19b75b+_0x310abd(0x12f)+_0x1ebbc7+_0x310abd(0x128));if(_0x57f192===null||_0x57f192===void 0x0?void 0x0:_0x57f192['processTags'])return formatMsg(_0x88f7ce,_0x57f192===null||_0x57f192===void 0x0?void 0x0:_0x57f192[_0x310abd(0x12c)],!![]);return formatMsg(_0x88f7ce,_0x57f192===null||_0x57f192===void 0x0?void 0x0:_0x57f192[_0x310abd(0x12c)],![]);}return{'t':_0x35c74e,'lang':_0x19b75b};};export{I18nContext,I18nProvider,getTranslations,useTranslation};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckbox/i18n",
3
- "version": "0.0.5",
3
+ "version": "1.0.0",
4
4
  "description": "i18n functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,6 +11,5 @@
11
11
  "dependencies": {
12
12
  "sprintf-js": "^1.1.2",
13
13
  "tslib": "^2.4.0"
14
- },
15
- "readme": "## @ckbox/i18n\n\nTo be filled in.\n"
14
+ }
16
15
  }