message-format
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -12,2 +12,7 @@ # Changelog | ||
## 1.2.0 | ||
* **Spec Compliancy** | ||
* Update to CLDR 27 (adds 'as' and 'ce' locales) | ||
## 1.1.0 | ||
@@ -14,0 +19,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(r){function t(n){if(e[n])return e[n].exports;var a=e[n]={exports:{},id:n,loaded:!1};return r[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var e={};return t.m=r,t.c=e,t.p="/",t(0)}([function(r,t,e){r.exports=e(1)},function(r,t,e){"use strict";(window.Intl||(window.Intl={})).MessageFormat=e(6)},function(r,t,e){"use strict";var n=function(r){return r&&r.__esModule?r["default"]:r},a=n(e(4)),l={locales:{},formats:{cache:{},number:{currency:{style:"currency",currency:"USD"},percent:{style:"percent"}},date:{"short":{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},"long":{month:"long",day:"numeric",year:"numeric"},full:{month:"long",day:"numeric",year:"numeric",weekday:"long"}},time:{"short":{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},"long":{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}};Object.keys(a).forEach(function(r){var t=a[r],e=t.plural,n=t.ordinal;l.locales[r]={locale:r,plural:e,ordinal:n}}),r.exports=l},function(r){"use strict";var t=function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")},e=function(){function r(){var e=void 0===arguments[0]?{}:arguments[0],n=e.locale,a=e.data,l=e.formats,i=e.cache;t(this,r),this.originalLocale=n,this.localeData=a,this.formats=l,this.enableCache="boolean"==typeof i?i:!0}return r.prototype.interpret=function(r){return this.interpretSubs(r)},r.prototype.interpretSubs=function(r,t){var e=this;return r=r.map(function(r){return e.interpretElement(r,t)}),1===r.length?r[0]:function(t){for(var e="",n=0,a=r.length;a>n;++n)e+=r[n](t);return e}},r.prototype.interpretElement=function(r,t){if("string"==typeof r)return function(){return r};var e=r[0],n=r[1],a=r[2],l=0,i=void 0;switch("#"===e&&(e=t[0],n="selectordinal"===t[1]?"ordinal":"number",l=t[2],a=null),n){case"number":case"ordinal":case"spellout":case"duration":return this.interpretNumber(e,l,a);case"date":case"time":return this.interpretDateTime(e,n,a);case"plural":case"selectordinal":return l=r[2],i=r[3],this.interpretPlural(e,n,l,i);case"select":return this.interpretSelect(e,a);default:return this.interpretSimple(e)}},r.prototype.interpretNumber=function(r,t){var e=this,n=void 0===arguments[2]?"medium":arguments[2];t=t||0;var a=this.originalLocale,l=this.formats,i=l.cache,o=a+":number:"+n,u=void 0;return this.enableCache&&o in i?u=i[o]:!function(){var r=l.number[n];u="undefined"!=typeof Intl&&Intl.NumberFormat?new Intl.NumberFormat(a,r).format:function(t){return Number(t).toLocaleString(a,r)},e.enableCache&&(i[o]=u)}(),function(e){return u(+e[r]-t)}},r.prototype.interpretDateTime=function(r,t){var e=this,n=void 0===arguments[2]?"medium":arguments[2],a=this.originalLocale,l=this.formats,i=l.cache,o=a+":"+t+":"+n,u=void 0;return this.enableCache&&o in i?u=i[o]:!function(){var r=l[t][n],s="time"===t?"toLocaleTimeString":"toLocaleDateString";u="undefined"!=typeof Intl&&Intl.DateTimeFormat?new Intl.DateTimeFormat(a,r).format:function(t){return new Date(t)[s](a,r)},e.enableCache&&(i[o]=u)}(),function(t){return u(t[r])}},r.prototype.interpretPlural=function(r,t,e,n){var a=this,l="selectordinal"===t?this.localeData.ordinal:this.localeData.plural,i=[r,t,e],o={};return Object.keys(n).forEach(function(r){o[r]=a.interpretSubs(n[r],i)}),function(t){var n=+t[r],a="="+n,i=l?l(n-e):"other",u=o[a]||o[i]||o.other;return u(t)}},r.prototype.interpretSelect=function(r,t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e.interpretSubs(t[r],null)}),function(t){var e=t[r],a=n[e]||n.other;return a(t)}},r.prototype.interpretSimple=function(r){return function(t){return""+t[r]}},r.interpret=function(t,e){return new r(e).interpret(t)},r}();r.exports=e},function(r){"use strict";var t=[function(r){var t=+r;return 1===t?"one":"other"},function(r){var t=+r;return t>=0&&1>=t?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+r;return 0===t||1===e?"one":"other"},function(r){var t=+r;return 0===t?"zero":1===t?"one":2===t?"two":t%100>=3&&10>=t%100?"few":t%100>=11&&99>=t%100?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 1===t&&0===e?"one":"other"},function(r){var t=+r;return t%10===1&&t%100!==11?"one":t%10>=2&&4>=t%10&&(12>t%100||t%100>14)?"few":t%10===0||t%10>=5&&9>=t%10||t%100>=11&&14>=t%100?"many":"other"},function(){return"other"},function(r){var t=+r;return t%10===1&&t%100!==11&&t%100!==71&&t%100!==91?"one":t%10===2&&t%100!==12&&t%100!==72&&t%100!==92?"two":(t%10>=3&&4>=t%10||t%10===9)&&(10>t%100||t%100>19)&&(70>t%100||t%100>79)&&(90>t%100||t%100>99)?"few":0!==t&&t%1e6===0?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+(r+".").split(".")[1];return 0===e&&t%10===1&&t%100!==11||n%10===1&&n%100!==11?"one":0===e&&t%10>=2&&4>=t%10&&(12>t%100||t%100>14)||n%10>=2&&4>=n%10&&(12>n%100||n%100>14)?"few":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 1===t&&0===e?"one":t>=2&&4>=t&&0===e?"few":0!==e?"many":"other"},function(r){var t=+r;return 0===t?"zero":1===t?"one":2===t?"two":3===t?"few":6===t?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+(""+r).replace(/^[^.]*.?|0+$/g,""),n=+r;return 1===n||0!==e&&(0===t||1===t)?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+(r+".").split(".")[1];return 0===e&&t%100===1||n%100===1?"one":0===e&&t%100===2||n%100===2?"two":0===e&&t%100>=3&&4>=t%100||n%100>=3&&4>=n%100?"few":"other"},function(r){var t=Math.floor(Math.abs(+r));return 0===t||1===t?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+(r+".").split(".")[1];return 0===e&&(1===t||2===t||3===t)||0===e&&t%10!==4&&t%10!==6&&t%10!==9||0!==e&&n%10!==4&&n%10!==6&&n%10!==9?"one":"other"},function(r){var t=+r;return 1===t?"one":2===t?"two":t>=3&&6>=t?"few":t>=7&&10>=t?"many":"other"},function(r){var t=+r;return 1===t||11===t?"one":2===t||12===t?"two":t>=3&&10>=t||t>=13&&19>=t?"few":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 0===e&&t%10===1?"one":0===e&&t%10===2?"two":0!==e||t%100!==0&&t%100!==20&&t%100!==40&&t%100!==60&&t%100!==80?0!==e?"many":"other":"few"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+r;return 1===t&&0===e?"one":2===t&&0===e?"two":0===e&&(0>n||n>10)&&n%10===0?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+(""+r).replace(/^[^.]*.?|0+$/g,"");return 0===e&&t%10===1&&t%100!==11||0!==e?"one":"other"},function(r){var t=+r;return 1===t?"one":2===t?"two":"other"},function(r){var t=+r;return 0===t?"zero":1===t?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+r;return 0===e?"zero":0!==t&&1!==t||0===e?"other":"one"},function(r){var t=+(r+".").split(".")[1],e=+r;return e%10===1&&(11>e%100||e%100>19)?"one":e%10>=2&&9>=e%10&&(11>e%100||e%100>19)?"few":0!==t?"many":"other"},function(r){var t=(r+".").split(".")[1].length,e=+(r+".").split(".")[1],n=+r;return n%10===0||n%100>=11&&19>=n%100||2===t&&e%100>=11&&19>=e%100?"zero":n%10===1&&n%100!==11||2===t&&e%10===1&&e%100!==11||2!==t&&e%10===1?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+(r+".").split(".")[1];return 0===e&&t%10===1||n%10===1?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+r;return 1===t&&0===e?"one":0!==e||0===n||1!==n&&n%100>=1&&19>=n%100?"few":"other"},function(r){var t=+r;return 1===t?"one":0===t||t%100>=2&&10>=t%100?"few":t%100>=11&&19>=t%100?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 1===t&&0===e?"one":0===e&&t%10>=2&&4>=t%10&&(12>t%100||t%100>14)?"few":0===e&&1!==t&&t%10>=0&&1>=t%10||0===e&&t%10>=5&&9>=t%10||0===e&&t%100>=12&&14>=t%100?"many":"other"},function(r){var t=+r;return t>=0&&2>=t&&2!==t?"one":"other"},function(r){var t=(r+".").split(".")[1].length,e=+r;return 1===e&&0===t?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 0===e&&t%10===1&&t%100!==11?"one":0===e&&t%10>=2&&4>=t%10&&(12>t%100||t%100>14)?"few":0===e&&t%10===0||0===e&&t%10>=5&&9>=t%10||0===e&&t%100>=11&&14>=t%100?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+r;return 0===t||1===e?"one":e>=2&&10>=e?"few":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+(r+".").split(".")[1],n=+r;return 0===n||1===n||0===t&&1===e?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 0===e&&t%100===1?"one":0===e&&t%100===2?"two":0===e&&t%100>=3&&4>=t%100||0!==e?"few":"other"},function(r){var t=+r;return t>=0&&1>=t||t>=11&&99>=t?"one":"other"},function(r){var t=Math.floor(Math.abs(+r));return t%10===1||t%10===2||t%10===5||t%10===7||t%10===8||t%100===20||t%100===50||t%100===70||t%100===80?"one":t%10===3||t%10===4||t%1e3===100||t%1e3===200||t%1e3===300||t%1e3===400||t%1e3===500||t%1e3===600||t%1e3===700||t%1e3===800||t%1e3===900?"few":0===t||t%10===6||t%100===40||t%100===60||t%100===90?"many":"other"},function(r){var t=+r;return 1===t||5===t||7===t||8===t||9===t||10===t?"one":2===t||3===t?"two":4===t?"few":6===t?"many":"other"},function(r){var t=+r;return 1===t||3===t?"one":2===t?"two":4===t?"few":"other"},function(r){var t=+r;return 0===t||7===t||8===t||9===t?"zero":1===t?"one":2===t?"two":3===t||4===t?"few":5===t||6===t?"many":"other"},function(r){var t=+r;return t%10===1&&t%100!==11?"one":t%10===2&&t%100!==12?"two":t%10===3&&t%100!==13?"few":"other"},function(r){var t=+r;return 1===t?"one":2===t||3===t?"two":4===t?"few":6===t?"many":"other"},function(r){var t=+r;return 1===t||5===t?"one":"other"},function(r){var t=+r;return 11===t||8===t||80===t||800===t?"many":"other"},function(r){var t=Math.floor(Math.abs(+r));return 1===t?"one":0===t||t%100>=2&&20>=t%100||t%100===40||t%100===60||t%100===80?"many":"other"},function(r){var t=+r;return t%10===6||t%10===9||t%10===0&&0!==t?"many":"other"},function(r){var t=Math.floor(Math.abs(+r));return t%10===1&&t%100!==11?"one":t%10===2&&t%100!==12?"two":t%10!==7&&t%10!==8||t%100===17||t%100===18?"other":"many"},function(r){var t=+r;return 1===t?"one":2===t||3===t?"two":4===t?"few":"other"},function(r){var t=+r;return t>=1&&4>=t?"one":"other"},function(r){var t=+r;return 1===t?"one":t%10===4&&t%100!==14?"many":"other"},function(r){var t=+r;return t%10!==1&&t%10!==2||t%100===11||t%100===12?"other":"one"},function(r){var t=+r;return t%10===3&&t%100!==13?"few":"other"}];r.exports={af:{plural:t[0],ordinal:t[6]},ak:{plural:t[1]},am:{plural:t[2],ordinal:t[6]},ar:{plural:t[3],ordinal:t[6]},asa:{plural:t[0]},ast:{plural:t[4]},az:{plural:t[0],ordinal:t[36]},be:{plural:t[5]},bem:{plural:t[0]},bez:{plural:t[0]},bg:{plural:t[0],ordinal:t[6]},bh:{plural:t[1]},bm:{plural:t[6]},bn:{plural:t[2],ordinal:t[37]},bo:{plural:t[6]},br:{plural:t[7]},brx:{plural:t[0]},bs:{plural:t[8],ordinal:t[6]},ca:{plural:t[4],ordinal:t[38]},cgg:{plural:t[0]},chr:{plural:t[0]},ckb:{plural:t[0]},cs:{plural:t[9],ordinal:t[6]},cy:{plural:t[10],ordinal:t[39]},da:{plural:t[11],ordinal:t[6]},de:{plural:t[4],ordinal:t[6]},dsb:{plural:t[12],ordinal:t[6]},dv:{plural:t[0]},dz:{plural:t[6]},ee:{plural:t[0]},el:{plural:t[0],ordinal:t[6]},en:{plural:t[4],ordinal:t[40]},eo:{plural:t[0]},es:{plural:t[0],ordinal:t[6]},et:{plural:t[4],ordinal:t[6]},eu:{plural:t[0],ordinal:t[6]},fa:{plural:t[2],ordinal:t[6]},ff:{plural:t[13]},fi:{plural:t[4],ordinal:t[6]},fil:{plural:t[14],ordinal:t[0]},fo:{plural:t[0]},fr:{plural:t[13],ordinal:t[0]},fur:{plural:t[0]},fy:{plural:t[4],ordinal:t[6]},ga:{plural:t[15]},gd:{plural:t[16]},gl:{plural:t[4],ordinal:t[6]},gsw:{plural:t[0]},gu:{plural:t[2],ordinal:t[41]},guw:{plural:t[1]},gv:{plural:t[17]},ha:{plural:t[0]},haw:{plural:t[0]},he:{plural:t[18],ordinal:t[6]},hi:{plural:t[2],ordinal:t[41]},hr:{plural:t[8],ordinal:t[6]},hsb:{plural:t[12],ordinal:t[6]},hu:{plural:t[0],ordinal:t[42]},hy:{plural:t[13],ordinal:t[0]},id:{plural:t[6],ordinal:t[6]},ig:{plural:t[6]},ii:{plural:t[6]},"in":{plural:t[6],ordinal:t[6]},is:{plural:t[19],ordinal:t[6]},it:{plural:t[4],ordinal:t[43]},iu:{plural:t[20]},iw:{plural:t[18],ordinal:t[6]},ja:{plural:t[6],ordinal:t[6]},jbo:{plural:t[6]},jgo:{plural:t[0]},ji:{plural:t[4]},jmc:{plural:t[0]},jv:{plural:t[6]},jw:{plural:t[6]},ka:{plural:t[0],ordinal:t[44]},kab:{plural:t[13]},kaj:{plural:t[0]},kcg:{plural:t[0]},kde:{plural:t[6]},kea:{plural:t[6]},kk:{plural:t[0],ordinal:t[45]},kkj:{plural:t[0]},kl:{plural:t[0]},km:{plural:t[6],ordinal:t[6]},kn:{plural:t[2],ordinal:t[6]},ko:{plural:t[6],ordinal:t[6]},ks:{plural:t[0]},ksb:{plural:t[0]},ksh:{plural:t[21]},ku:{plural:t[0]},kw:{plural:t[20]},ky:{plural:t[0],ordinal:t[6]},lag:{plural:t[22]},lb:{plural:t[0]},lg:{plural:t[0]},lkt:{plural:t[6]},ln:{plural:t[1]},lo:{plural:t[6],ordinal:t[0]},lt:{plural:t[23],ordinal:t[6]},lv:{plural:t[24],ordinal:t[6]},mas:{plural:t[0]},mg:{plural:t[1]},mgo:{plural:t[0]},mk:{plural:t[25],ordinal:t[46]},ml:{plural:t[0],ordinal:t[6]},mn:{plural:t[0],ordinal:t[6]},mo:{plural:t[26],ordinal:t[0]},mr:{plural:t[2],ordinal:t[47]},ms:{plural:t[6],ordinal:t[0]},mt:{plural:t[27]},my:{plural:t[6],ordinal:t[6]},nah:{plural:t[0]},naq:{plural:t[20]},nb:{plural:t[0],ordinal:t[6]},nd:{plural:t[0]},ne:{plural:t[0],ordinal:t[48]},nl:{plural:t[4],ordinal:t[6]},nn:{plural:t[0]},nnh:{plural:t[0]},no:{plural:t[0]},nqo:{plural:t[6]},nr:{plural:t[0]},nso:{plural:t[1]},ny:{plural:t[0]},nyn:{plural:t[0]},om:{plural:t[0]},or:{plural:t[0]},os:{plural:t[0]},pa:{plural:t[1],ordinal:t[6]},pap:{plural:t[0]},pl:{plural:t[28],ordinal:t[6]},prg:{plural:t[24],ordinal:t[6]},ps:{plural:t[0]},pt:{plural:t[29],ordinal:t[6]},"pt-PT":{plural:t[30]},rm:{plural:t[0]},ro:{plural:t[26],ordinal:t[0]},rof:{plural:t[0]},root:{plural:t[6],ordinal:t[6]},ru:{plural:t[31],ordinal:t[6]},rwk:{plural:t[0]},sah:{plural:t[6]},saq:{plural:t[0]},se:{plural:t[20]},seh:{plural:t[0]},ses:{plural:t[6]},sg:{plural:t[6]},sh:{plural:t[8],ordinal:t[6]},shi:{plural:t[32]},si:{plural:t[33],ordinal:t[6]},sk:{plural:t[9],ordinal:t[6]},sl:{plural:t[34],ordinal:t[6]},sma:{plural:t[20]},smi:{plural:t[20]},smj:{plural:t[20]},smn:{plural:t[20]},sms:{plural:t[20]},sn:{plural:t[0]},so:{plural:t[0]},sq:{plural:t[0],ordinal:t[49]},sr:{plural:t[8],ordinal:t[6]},ss:{plural:t[0]},ssy:{plural:t[0]},st:{plural:t[0]},sv:{plural:t[4],ordinal:t[50]},sw:{plural:t[4],ordinal:t[6]},syr:{plural:t[0]},ta:{plural:t[0],ordinal:t[6]},te:{plural:t[0],ordinal:t[6]},teo:{plural:t[0]},th:{plural:t[6],ordinal:t[6]},ti:{plural:t[1]},tig:{plural:t[0]},tk:{plural:t[0]},tl:{plural:t[14],ordinal:t[0]},tn:{plural:t[0]},to:{plural:t[6]},tr:{plural:t[0],ordinal:t[6]},ts:{plural:t[0]},tzm:{plural:t[35]},ug:{plural:t[0]},uk:{plural:t[31],ordinal:t[51]},ur:{plural:t[4],ordinal:t[6]},uz:{plural:t[0],ordinal:t[6]},ve:{plural:t[0]},vi:{plural:t[6],ordinal:t[0]},vo:{plural:t[0]},vun:{plural:t[0]},wa:{plural:t[1]},wae:{plural:t[0]},wo:{plural:t[6]},xh:{plural:t[0]},xog:{plural:t[0]},yi:{plural:t[4]},yo:{plural:t[6]},zh:{plural:t[6],ordinal:t[6]},zu:{plural:t[2],ordinal:t[6]}}},function(r){"use strict";function t(r,t){for(var e=[].concat(r||[]),n=0,a=e.length;a>n;++n)for(var l=e[n].split("-");l.length;){if(l.join("-")in t)return l.join("-");l.pop()}return"en"}r.exports=t},function(r,t,e){"use strict";function n(r,t){var e=void 0===arguments[2]?{}:arguments[2];if("object"!=typeof this||!(this instanceof n))return new n(r,t,e);if("string"!=typeof r)throw new TypeError("message pattern must be a string");var a=o(t,n.data.locales),u=n.data.locales[a],s="cache"in e?e.cache:!0,p=n.data.formats.cache,h=a+":message:"+r,c=n.data.formats,f=void 0;s&&h in p?f=p[h]:(f=i.interpret(l.parse(r,{escape:e.escape}),{locale:t,data:u,formats:c,cache:s}),s&&(p[h]=f)),this.resolvedOptions=function(){return u},this.format=f}var a=function(r){return r&&r.__esModule?r["default"]:r};r.exports=n;/*! | ||
!function(r){function t(n){if(e[n])return e[n].exports;var a=e[n]={exports:{},id:n,loaded:!1};return r[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var e={};return t.m=r,t.c=e,t.p="/",t(0)}([function(r,t,e){r.exports=e(1)},function(r,t,e){"use strict";(window.Intl||(window.Intl={})).MessageFormat=e(6)},function(r,t,e){"use strict";var n=function(r){return r&&r.__esModule?r["default"]:r},a=n(e(4)),l={locales:{},formats:{cache:{},number:{currency:{style:"currency",currency:"USD"},percent:{style:"percent"}},date:{"short":{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},"long":{month:"long",day:"numeric",year:"numeric"},full:{month:"long",day:"numeric",year:"numeric",weekday:"long"}},time:{"short":{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},"long":{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}};Object.keys(a).forEach(function(r){var t=a[r],e=t.plural,n=t.ordinal;l.locales[r]={locale:r,plural:e,ordinal:n}}),r.exports=l},function(r){"use strict";var t=function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")},e=function(){function r(){var e=void 0===arguments[0]?{}:arguments[0],n=e.locale,a=e.data,l=e.formats,i=e.cache;t(this,r),this.originalLocale=n,this.localeData=a,this.formats=l,this.enableCache="boolean"==typeof i?i:!0}return r.prototype.interpret=function(r){return this.interpretSubs(r)},r.prototype.interpretSubs=function(r,t){var e=this;return r=r.map(function(r){return e.interpretElement(r,t)}),1===r.length?r[0]:function(t){for(var e="",n=0,a=r.length;a>n;++n)e+=r[n](t);return e}},r.prototype.interpretElement=function(r,t){if("string"==typeof r)return function(){return r};var e=r[0],n=r[1],a=r[2],l=0,i=void 0;switch("#"===e&&(e=t[0],n="selectordinal"===t[1]?"ordinal":"number",l=t[2],a=null),n){case"number":case"ordinal":case"spellout":case"duration":return this.interpretNumber(e,l,a);case"date":case"time":return this.interpretDateTime(e,n,a);case"plural":case"selectordinal":return l=r[2],i=r[3],this.interpretPlural(e,n,l,i);case"select":return this.interpretSelect(e,a);default:return this.interpretSimple(e)}},r.prototype.interpretNumber=function(r,t){var e=this,n=void 0===arguments[2]?"medium":arguments[2];t=t||0;var a=this.originalLocale,l=this.formats,i=l.cache,o=a+":number:"+n,u=void 0;return this.enableCache&&o in i?u=i[o]:!function(){var r=l.number[n];u="undefined"!=typeof Intl&&Intl.NumberFormat?new Intl.NumberFormat(a,r).format:function(t){return Number(t).toLocaleString(a,r)},e.enableCache&&(i[o]=u)}(),function(e){return u(+e[r]-t)}},r.prototype.interpretDateTime=function(r,t){var e=this,n=void 0===arguments[2]?"medium":arguments[2],a=this.originalLocale,l=this.formats,i=l.cache,o=a+":"+t+":"+n,u=void 0;return this.enableCache&&o in i?u=i[o]:!function(){var r=l[t][n],s="time"===t?"toLocaleTimeString":"toLocaleDateString";u="undefined"!=typeof Intl&&Intl.DateTimeFormat?new Intl.DateTimeFormat(a,r).format:function(t){return new Date(t)[s](a,r)},e.enableCache&&(i[o]=u)}(),function(t){return u(t[r])}},r.prototype.interpretPlural=function(r,t,e,n){var a=this,l="selectordinal"===t?this.localeData.ordinal:this.localeData.plural,i=[r,t,e],o={};return Object.keys(n).forEach(function(r){o[r]=a.interpretSubs(n[r],i)}),function(t){var n=+t[r],a="="+n,i=l?l(n-e):"other",u=o[a]||o[i]||o.other;return u(t)}},r.prototype.interpretSelect=function(r,t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e.interpretSubs(t[r],null)}),function(t){var e=t[r],a=n[e]||n.other;return a(t)}},r.prototype.interpretSimple=function(r){return function(t){return""+t[r]}},r.interpret=function(t,e){return new r(e).interpret(t)},r}();r.exports=e},function(r){"use strict";var t=[function(r){var t=+r;return 1===t?"one":"other"},function(r){var t=+r;return t>=0&&1>=t?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+r;return 0===t||1===e?"one":"other"},function(r){var t=+r;return 0===t?"zero":1===t?"one":2===t?"two":t%100>=3&&10>=t%100?"few":t%100>=11&&99>=t%100?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 1===t&&0===e?"one":"other"},function(r){var t=+r;return t%10===1&&t%100!==11?"one":t%10>=2&&4>=t%10&&(12>t%100||t%100>14)?"few":t%10===0||t%10>=5&&9>=t%10||t%100>=11&&14>=t%100?"many":"other"},function(){return"other"},function(r){var t=+r;return t%10===1&&t%100!==11&&t%100!==71&&t%100!==91?"one":t%10===2&&t%100!==12&&t%100!==72&&t%100!==92?"two":(t%10>=3&&4>=t%10||t%10===9)&&(10>t%100||t%100>19)&&(70>t%100||t%100>79)&&(90>t%100||t%100>99)?"few":0!==t&&t%1e6===0?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+(r+".").split(".")[1];return 0===e&&t%10===1&&t%100!==11||n%10===1&&n%100!==11?"one":0===e&&t%10>=2&&4>=t%10&&(12>t%100||t%100>14)||n%10>=2&&4>=n%10&&(12>n%100||n%100>14)?"few":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 1===t&&0===e?"one":t>=2&&4>=t&&0===e?"few":0!==e?"many":"other"},function(r){var t=+r;return 0===t?"zero":1===t?"one":2===t?"two":3===t?"few":6===t?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+(""+r).replace(/^[^.]*.?|0+$/g,""),n=+r;return 1===n||0!==e&&(0===t||1===t)?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+(r+".").split(".")[1];return 0===e&&t%100===1||n%100===1?"one":0===e&&t%100===2||n%100===2?"two":0===e&&t%100>=3&&4>=t%100||n%100>=3&&4>=n%100?"few":"other"},function(r){var t=Math.floor(Math.abs(+r));return 0===t||1===t?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+(r+".").split(".")[1];return 0===e&&(1===t||2===t||3===t)||0===e&&t%10!==4&&t%10!==6&&t%10!==9||0!==e&&n%10!==4&&n%10!==6&&n%10!==9?"one":"other"},function(r){var t=+r;return 1===t?"one":2===t?"two":t>=3&&6>=t?"few":t>=7&&10>=t?"many":"other"},function(r){var t=+r;return 1===t||11===t?"one":2===t||12===t?"two":t>=3&&10>=t||t>=13&&19>=t?"few":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 0===e&&t%10===1?"one":0===e&&t%10===2?"two":0!==e||t%100!==0&&t%100!==20&&t%100!==40&&t%100!==60&&t%100!==80?0!==e?"many":"other":"few"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+r;return 1===t&&0===e?"one":2===t&&0===e?"two":0===e&&(0>n||n>10)&&n%10===0?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+(""+r).replace(/^[^.]*.?|0+$/g,"");return 0===e&&t%10===1&&t%100!==11||0!==e?"one":"other"},function(r){var t=+r;return 1===t?"one":2===t?"two":"other"},function(r){var t=+r;return 0===t?"zero":1===t?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+r;return 0===e?"zero":0!==t&&1!==t||0===e?"other":"one"},function(r){var t=+(r+".").split(".")[1],e=+r;return e%10===1&&(11>e%100||e%100>19)?"one":e%10>=2&&9>=e%10&&(11>e%100||e%100>19)?"few":0!==t?"many":"other"},function(r){var t=(r+".").split(".")[1].length,e=+(r+".").split(".")[1],n=+r;return n%10===0||n%100>=11&&19>=n%100||2===t&&e%100>=11&&19>=e%100?"zero":n%10===1&&n%100!==11||2===t&&e%10===1&&e%100!==11||2!==t&&e%10===1?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+(r+".").split(".")[1];return 0===e&&t%10===1||n%10===1?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length,n=+r;return 1===t&&0===e?"one":0!==e||0===n||1!==n&&n%100>=1&&19>=n%100?"few":"other"},function(r){var t=+r;return 1===t?"one":0===t||t%100>=2&&10>=t%100?"few":t%100>=11&&19>=t%100?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 1===t&&0===e?"one":0===e&&t%10>=2&&4>=t%10&&(12>t%100||t%100>14)?"few":0===e&&1!==t&&t%10>=0&&1>=t%10||0===e&&t%10>=5&&9>=t%10||0===e&&t%100>=12&&14>=t%100?"many":"other"},function(r){var t=+r;return t>=0&&2>=t&&2!==t?"one":"other"},function(r){var t=(r+".").split(".")[1].length,e=+r;return 1===e&&0===t?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 0===e&&t%10===1&&t%100!==11?"one":0===e&&t%10>=2&&4>=t%10&&(12>t%100||t%100>14)?"few":0===e&&t%10===0||0===e&&t%10>=5&&9>=t%10||0===e&&t%100>=11&&14>=t%100?"many":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+r;return 0===t||1===e?"one":e>=2&&10>=e?"few":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=+(r+".").split(".")[1],n=+r;return 0===n||1===n||0===t&&1===e?"one":"other"},function(r){var t=Math.floor(Math.abs(+r)),e=(r+".").split(".")[1].length;return 0===e&&t%100===1?"one":0===e&&t%100===2?"two":0===e&&t%100>=3&&4>=t%100||0!==e?"few":"other"},function(r){var t=+r;return t>=0&&1>=t||t>=11&&99>=t?"one":"other"},function(r){var t=+r;return 1===t||5===t||7===t||8===t||9===t||10===t?"one":2===t||3===t?"two":4===t?"few":6===t?"many":"other"},function(r){var t=Math.floor(Math.abs(+r));return t%10===1||t%10===2||t%10===5||t%10===7||t%10===8||t%100===20||t%100===50||t%100===70||t%100===80?"one":t%10===3||t%10===4||t%1e3===100||t%1e3===200||t%1e3===300||t%1e3===400||t%1e3===500||t%1e3===600||t%1e3===700||t%1e3===800||t%1e3===900?"few":0===t||t%10===6||t%100===40||t%100===60||t%100===90?"many":"other"},function(r){var t=+r;return 1===t||3===t?"one":2===t?"two":4===t?"few":"other"},function(r){var t=+r;return 0===t||7===t||8===t||9===t?"zero":1===t?"one":2===t?"two":3===t||4===t?"few":5===t||6===t?"many":"other"},function(r){var t=+r;return t%10===1&&t%100!==11?"one":t%10===2&&t%100!==12?"two":t%10===3&&t%100!==13?"few":"other"},function(r){var t=+r;return 1===t?"one":2===t||3===t?"two":4===t?"few":6===t?"many":"other"},function(r){var t=+r;return 1===t||5===t?"one":"other"},function(r){var t=+r;return 11===t||8===t||80===t||800===t?"many":"other"},function(r){var t=Math.floor(Math.abs(+r));return 1===t?"one":0===t||t%100>=2&&20>=t%100||t%100===40||t%100===60||t%100===80?"many":"other"},function(r){var t=+r;return t%10===6||t%10===9||t%10===0&&0!==t?"many":"other"},function(r){var t=Math.floor(Math.abs(+r));return t%10===1&&t%100!==11?"one":t%10===2&&t%100!==12?"two":t%10!==7&&t%10!==8||t%100===17||t%100===18?"other":"many"},function(r){var t=+r;return 1===t?"one":2===t||3===t?"two":4===t?"few":"other"},function(r){var t=+r;return t>=1&&4>=t?"one":"other"},function(r){var t=+r;return 1===t?"one":t%10===4&&t%100!==14?"many":"other"},function(r){var t=+r;return t%10!==1&&t%10!==2||t%100===11||t%100===12?"other":"one"},function(r){var t=+r;return t%10===3&&t%100!==13?"few":"other"}];r.exports={af:{plural:t[0],ordinal:t[6]},ak:{plural:t[1]},am:{plural:t[2],ordinal:t[6]},ar:{plural:t[3],ordinal:t[6]},as:{plural:t[2],ordinal:t[36]},asa:{plural:t[0]},ast:{plural:t[4]},az:{plural:t[0],ordinal:t[37]},be:{plural:t[5]},bem:{plural:t[0]},bez:{plural:t[0]},bg:{plural:t[0],ordinal:t[6]},bh:{plural:t[1]},bm:{plural:t[6]},bn:{plural:t[2],ordinal:t[36]},bo:{plural:t[6]},br:{plural:t[7]},brx:{plural:t[0]},bs:{plural:t[8],ordinal:t[6]},ca:{plural:t[4],ordinal:t[38]},ce:{plural:t[0],ordinal:t[6]},cgg:{plural:t[0]},chr:{plural:t[0]},ckb:{plural:t[0]},cs:{plural:t[9],ordinal:t[6]},cy:{plural:t[10],ordinal:t[39]},da:{plural:t[11],ordinal:t[6]},de:{plural:t[4],ordinal:t[6]},dsb:{plural:t[12],ordinal:t[6]},dv:{plural:t[0]},dz:{plural:t[6]},ee:{plural:t[0]},el:{plural:t[0],ordinal:t[6]},en:{plural:t[4],ordinal:t[40]},eo:{plural:t[0]},es:{plural:t[0],ordinal:t[6]},et:{plural:t[4],ordinal:t[6]},eu:{plural:t[0],ordinal:t[6]},fa:{plural:t[2],ordinal:t[6]},ff:{plural:t[13]},fi:{plural:t[4],ordinal:t[6]},fil:{plural:t[14],ordinal:t[0]},fo:{plural:t[0]},fr:{plural:t[13],ordinal:t[0]},fur:{plural:t[0]},fy:{plural:t[4],ordinal:t[6]},ga:{plural:t[15]},gd:{plural:t[16]},gl:{plural:t[4],ordinal:t[6]},gsw:{plural:t[0]},gu:{plural:t[2],ordinal:t[41]},guw:{plural:t[1]},gv:{plural:t[17]},ha:{plural:t[0]},haw:{plural:t[0]},he:{plural:t[18],ordinal:t[6]},hi:{plural:t[2],ordinal:t[41]},hr:{plural:t[8],ordinal:t[6]},hsb:{plural:t[12],ordinal:t[6]},hu:{plural:t[0],ordinal:t[42]},hy:{plural:t[13],ordinal:t[0]},id:{plural:t[6],ordinal:t[6]},ig:{plural:t[6]},ii:{plural:t[6]},"in":{plural:t[6],ordinal:t[6]},is:{plural:t[19],ordinal:t[6]},it:{plural:t[4],ordinal:t[43]},iu:{plural:t[20]},iw:{plural:t[18],ordinal:t[6]},ja:{plural:t[6],ordinal:t[6]},jbo:{plural:t[6]},jgo:{plural:t[0]},ji:{plural:t[4]},jmc:{plural:t[0]},jv:{plural:t[6]},jw:{plural:t[6]},ka:{plural:t[0],ordinal:t[44]},kab:{plural:t[13]},kaj:{plural:t[0]},kcg:{plural:t[0]},kde:{plural:t[6]},kea:{plural:t[6]},kk:{plural:t[0],ordinal:t[45]},kkj:{plural:t[0]},kl:{plural:t[0]},km:{plural:t[6],ordinal:t[6]},kn:{plural:t[2],ordinal:t[6]},ko:{plural:t[6],ordinal:t[6]},ks:{plural:t[0]},ksb:{plural:t[0]},ksh:{plural:t[21]},ku:{plural:t[0]},kw:{plural:t[20]},ky:{plural:t[0],ordinal:t[6]},lag:{plural:t[22]},lb:{plural:t[0]},lg:{plural:t[0]},lkt:{plural:t[6]},ln:{plural:t[1]},lo:{plural:t[6],ordinal:t[0]},lt:{plural:t[23],ordinal:t[6]},lv:{plural:t[24],ordinal:t[6]},mas:{plural:t[0]},mg:{plural:t[1]},mgo:{plural:t[0]},mk:{plural:t[25],ordinal:t[46]},ml:{plural:t[0],ordinal:t[6]},mn:{plural:t[0],ordinal:t[6]},mo:{plural:t[26],ordinal:t[0]},mr:{plural:t[2],ordinal:t[47]},ms:{plural:t[6],ordinal:t[0]},mt:{plural:t[27]},my:{plural:t[6],ordinal:t[6]},nah:{plural:t[0]},naq:{plural:t[20]},nb:{plural:t[0],ordinal:t[6]},nd:{plural:t[0]},ne:{plural:t[0],ordinal:t[48]},nl:{plural:t[4],ordinal:t[6]},nn:{plural:t[0]},nnh:{plural:t[0]},no:{plural:t[0]},nqo:{plural:t[6]},nr:{plural:t[0]},nso:{plural:t[1]},ny:{plural:t[0]},nyn:{plural:t[0]},om:{plural:t[0]},or:{plural:t[0]},os:{plural:t[0]},pa:{plural:t[1],ordinal:t[6]},pap:{plural:t[0]},pl:{plural:t[28],ordinal:t[6]},prg:{plural:t[24],ordinal:t[6]},ps:{plural:t[0]},pt:{plural:t[29],ordinal:t[6]},"pt-PT":{plural:t[30]},rm:{plural:t[0]},ro:{plural:t[26],ordinal:t[0]},rof:{plural:t[0]},root:{plural:t[6],ordinal:t[6]},ru:{plural:t[31],ordinal:t[6]},rwk:{plural:t[0]},sah:{plural:t[6]},saq:{plural:t[0]},se:{plural:t[20]},seh:{plural:t[0]},ses:{plural:t[6]},sg:{plural:t[6]},sh:{plural:t[8],ordinal:t[6]},shi:{plural:t[32]},si:{plural:t[33],ordinal:t[6]},sk:{plural:t[9],ordinal:t[6]},sl:{plural:t[34],ordinal:t[6]},sma:{plural:t[20]},smi:{plural:t[20]},smj:{plural:t[20]},smn:{plural:t[20]},sms:{plural:t[20]},sn:{plural:t[0]},so:{plural:t[0]},sq:{plural:t[0],ordinal:t[49]},sr:{plural:t[8],ordinal:t[6]},ss:{plural:t[0]},ssy:{plural:t[0]},st:{plural:t[0]},sv:{plural:t[4],ordinal:t[50]},sw:{plural:t[4],ordinal:t[6]},syr:{plural:t[0]},ta:{plural:t[0],ordinal:t[6]},te:{plural:t[0],ordinal:t[6]},teo:{plural:t[0]},th:{plural:t[6],ordinal:t[6]},ti:{plural:t[1]},tig:{plural:t[0]},tk:{plural:t[0]},tl:{plural:t[14],ordinal:t[0]},tn:{plural:t[0]},to:{plural:t[6]},tr:{plural:t[0],ordinal:t[6]},ts:{plural:t[0]},tzm:{plural:t[35]},ug:{plural:t[0]},uk:{plural:t[31],ordinal:t[51]},ur:{plural:t[4],ordinal:t[6]},uz:{plural:t[0],ordinal:t[6]},ve:{plural:t[0]},vi:{plural:t[6],ordinal:t[0]},vo:{plural:t[0]},vun:{plural:t[0]},wa:{plural:t[1]},wae:{plural:t[0]},wo:{plural:t[6]},xh:{plural:t[0]},xog:{plural:t[0]},yi:{plural:t[4]},yo:{plural:t[6]},zh:{plural:t[6],ordinal:t[6]},zu:{plural:t[2],ordinal:t[6]}}},function(r){"use strict";function t(r,t){for(var e=[].concat(r||[]),n=0,a=e.length;a>n;++n)for(var l=e[n].split("-");l.length;){if(l.join("-")in t)return l.join("-");l.pop()}return"en"}r.exports=t},function(r,t,e){"use strict";function n(r,t){var e=void 0===arguments[2]?{}:arguments[2];if("object"!=typeof this||!(this instanceof n))return new n(r,t,e);if("string"!=typeof r)throw new TypeError("message pattern must be a string");var a=o(t,n.data.locales),u=n.data.locales[a],s="cache"in e?e.cache:!0,p=n.data.formats.cache,h=a+":message:"+r,c=n.data.formats,f=void 0;s&&h in p?f=p[h]:(f=i.interpret(l.parse(r,{escape:e.escape}),{locale:t,data:u,formats:c,cache:s}),s&&(p[h]=f)),this.resolvedOptions=function(){return u},this.format=f}var a=function(r){return r&&r.__esModule?r["default"]:r};r.exports=n;/*! | ||
* Intl.MessageFormat polyfill | ||
@@ -3,0 +3,0 @@ * Copyright(c) 2015 Andy VanWagoner |
@@ -299,11 +299,2 @@ "use strict"; | ||
}, function (s) { | ||
var i = Math.floor(Math.abs(+s)); | ||
// i % 10 = 1,2,5,7,8 or i % 100 = 20,50,70,80 | ||
if (i % 10 === 1 || i % 10 === 2 || i % 10 === 5 || i % 10 === 7 || i % 10 === 8 || (i % 100 === 20 || i % 100 === 50 || i % 100 === 70 || i % 100 === 80)) return "one"; | ||
// i % 10 = 3,4 or i % 1000 = 100,200,300,400,500,600,700,800,900 | ||
if (i % 10 === 3 || i % 10 === 4 || (i % 1000 === 100 || i % 1000 === 200 || i % 1000 === 300 || i % 1000 === 400 || i % 1000 === 500 || i % 1000 === 600 || i % 1000 === 700 || i % 1000 === 800 || i % 1000 === 900)) return "few"; | ||
// i = 0 or i % 10 = 6 or i % 100 = 40,60,90 | ||
if (i === 0 || i % 10 === 6 || (i % 100 === 40 || i % 100 === 60 || i % 100 === 90)) return "many"; | ||
return "other"; | ||
}, function (s) { | ||
var n = +s; | ||
@@ -320,2 +311,11 @@ // n = 1,5,7,8,9,10 | ||
}, function (s) { | ||
var i = Math.floor(Math.abs(+s)); | ||
// i % 10 = 1,2,5,7,8 or i % 100 = 20,50,70,80 | ||
if (i % 10 === 1 || i % 10 === 2 || i % 10 === 5 || i % 10 === 7 || i % 10 === 8 || (i % 100 === 20 || i % 100 === 50 || i % 100 === 70 || i % 100 === 80)) return "one"; | ||
// i % 10 = 3,4 or i % 1000 = 100,200,300,400,500,600,700,800,900 | ||
if (i % 10 === 3 || i % 10 === 4 || (i % 1000 === 100 || i % 1000 === 200 || i % 1000 === 300 || i % 1000 === 400 || i % 1000 === 500 || i % 1000 === 600 || i % 1000 === 700 || i % 1000 === 800 || i % 1000 === 900)) return "few"; | ||
// i = 0 or i % 10 = 6 or i % 100 = 40,60,90 | ||
if (i === 0 || i % 10 === 6 || (i % 100 === 40 || i % 100 === 60 || i % 100 === 90)) return "many"; | ||
return "other"; | ||
}, function (s) { | ||
var n = +s; | ||
@@ -431,5 +431,6 @@ // n = 1,3 | ||
ar: { plural: p[3], ordinal: p[6] }, | ||
as: { plural: p[2], ordinal: p[36] }, | ||
asa: { plural: p[0] }, | ||
ast: { plural: p[4] }, | ||
az: { plural: p[0], ordinal: p[36] }, | ||
az: { plural: p[0], ordinal: p[37] }, | ||
be: { plural: p[5] }, | ||
@@ -441,3 +442,3 @@ bem: { plural: p[0] }, | ||
bm: { plural: p[6] }, | ||
bn: { plural: p[2], ordinal: p[37] }, | ||
bn: { plural: p[2], ordinal: p[36] }, | ||
bo: { plural: p[6] }, | ||
@@ -448,2 +449,3 @@ br: { plural: p[7] }, | ||
ca: { plural: p[4], ordinal: p[38] }, | ||
ce: { plural: p[0], ordinal: p[6] }, | ||
cgg: { plural: p[0] }, | ||
@@ -450,0 +452,0 @@ chr: { plural: p[0] }, |
{ | ||
"name": "message-format", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Intl.MessageFormat polyfill supporting ICU message format", | ||
@@ -27,2 +27,3 @@ "keywords": [ | ||
"chai": "2.1.2", | ||
"cldr-core": "27.0.0", | ||
"intl": "0.1.4", | ||
@@ -48,3 +49,3 @@ "intl-messageformat": "1.1.0", | ||
"benchmark": "babel-node --loose=all scripts/benchmark.js", | ||
"cldr": "scripts/cldr.sh", | ||
"cldr": "babel-node --loose=all scripts/cldr.js", | ||
"lint": "standard", | ||
@@ -51,0 +52,0 @@ "prepublish": "babel --loose=all src --out-dir lib && webpack -p", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210642
1496
23