@formatjs/intl-pluralrules 5.1.0 → 5.1.2
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.
- package/abstract/GetOperands.d.ts +32 -0
- package/abstract/GetOperands.d.ts.map +1 -0
- package/abstract/GetOperands.js +50 -0
- package/abstract/InitializePluralRules.d.ts +9 -0
- package/abstract/InitializePluralRules.d.ts.map +1 -0
- package/abstract/InitializePluralRules.js +21 -0
- package/abstract/ResolvePlural.d.ts +13 -0
- package/abstract/ResolvePlural.d.ts.map +1 -0
- package/abstract/ResolvePlural.js +27 -0
- package/get_internal_slots.d.ts +3 -0
- package/get_internal_slots.d.ts.map +1 -0
- package/get_internal_slots.js +12 -0
- package/index.d.ts +21 -0
- package/index.d.ts.map +1 -0
- package/index.js +141 -0
- package/lib/abstract/GetOperands.d.ts +32 -0
- package/lib/abstract/GetOperands.d.ts.map +1 -0
- package/lib/abstract/GetOperands.js +46 -0
- package/lib/abstract/InitializePluralRules.d.ts +9 -0
- package/lib/abstract/InitializePluralRules.d.ts.map +1 -0
- package/lib/abstract/InitializePluralRules.js +17 -0
- package/lib/abstract/ResolvePlural.d.ts +13 -0
- package/lib/abstract/ResolvePlural.d.ts.map +1 -0
- package/lib/abstract/ResolvePlural.js +23 -0
- package/lib/get_internal_slots.d.ts +3 -0
- package/lib/get_internal_slots.d.ts.map +1 -0
- package/lib/get_internal_slots.js +9 -0
- package/lib/index.d.ts +21 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +138 -0
- package/lib/polyfill-force.d.ts +2 -0
- package/lib/polyfill-force.d.ts.map +1 -0
- package/lib/polyfill-force.js +7 -0
- package/lib/polyfill.d.ts +2 -0
- package/lib/polyfill.d.ts.map +1 -0
- package/lib/polyfill.js +10 -0
- package/lib/should-polyfill.d.ts +2 -0
- package/lib/should-polyfill.d.ts.map +1 -0
- package/lib/should-polyfill.js +18 -0
- package/lib/supported-locales.generated.d.ts +2 -0
- package/lib/supported-locales.generated.d.ts.map +1 -0
- package/lib/supported-locales.generated.js +1 -0
- package/locale-data/af.d.ts +1 -0
- package/locale-data/af.js +8 -0
- package/locale-data/ak.d.ts +1 -0
- package/locale-data/ak.js +8 -0
- package/locale-data/am.d.ts +1 -0
- package/locale-data/am.js +8 -0
- package/locale-data/an.d.ts +1 -0
- package/locale-data/an.js +8 -0
- package/locale-data/ar.d.ts +1 -0
- package/locale-data/ar.js +14 -0
- package/locale-data/ars.d.ts +1 -0
- package/locale-data/ars.js +14 -0
- package/locale-data/as.d.ts +1 -0
- package/locale-data/as.js +12 -0
- package/locale-data/asa.d.ts +1 -0
- package/locale-data/asa.js +8 -0
- package/locale-data/ast.d.ts +1 -0
- package/locale-data/ast.js +9 -0
- package/locale-data/az.d.ts +1 -0
- package/locale-data/az.js +12 -0
- package/locale-data/bal.d.ts +1 -0
- package/locale-data/bal.js +7 -0
- package/locale-data/be.d.ts +1 -0
- package/locale-data/be.js +12 -0
- package/locale-data/bem.d.ts +1 -0
- package/locale-data/bem.js +8 -0
- package/locale-data/bez.d.ts +1 -0
- package/locale-data/bez.js +8 -0
- package/locale-data/bg.d.ts +1 -0
- package/locale-data/bg.js +8 -0
- package/locale-data/bho.d.ts +1 -0
- package/locale-data/bho.js +8 -0
- package/locale-data/bm.d.ts +1 -0
- package/locale-data/bm.js +7 -0
- package/locale-data/bn.d.ts +1 -0
- package/locale-data/bn.js +12 -0
- package/locale-data/bo.d.ts +1 -0
- package/locale-data/bo.js +7 -0
- package/locale-data/br.d.ts +1 -0
- package/locale-data/br.js +13 -0
- package/locale-data/brx.d.ts +1 -0
- package/locale-data/brx.js +8 -0
- package/locale-data/bs.d.ts +1 -0
- package/locale-data/bs.js +11 -0
- package/locale-data/ca.d.ts +1 -0
- package/locale-data/ca.js +12 -0
- package/locale-data/ce.d.ts +1 -0
- package/locale-data/ce.js +8 -0
- package/locale-data/ceb.d.ts +1 -0
- package/locale-data/ceb.js +9 -0
- package/locale-data/cgg.d.ts +1 -0
- package/locale-data/cgg.js +8 -0
- package/locale-data/chr.d.ts +1 -0
- package/locale-data/chr.js +8 -0
- package/locale-data/ckb.d.ts +1 -0
- package/locale-data/ckb.js +8 -0
- package/locale-data/cs.d.ts +1 -0
- package/locale-data/cs.js +12 -0
- package/locale-data/cy.d.ts +1 -0
- package/locale-data/cy.js +18 -0
- package/locale-data/da.d.ts +1 -0
- package/locale-data/da.js +9 -0
- package/locale-data/de.d.ts +1 -0
- package/locale-data/de.js +9 -0
- package/locale-data/doi.d.ts +1 -0
- package/locale-data/doi.js +8 -0
- package/locale-data/dsb.d.ts +1 -0
- package/locale-data/dsb.js +12 -0
- package/locale-data/dv.d.ts +1 -0
- package/locale-data/dv.js +8 -0
- package/locale-data/dz.d.ts +1 -0
- package/locale-data/dz.js +7 -0
- package/locale-data/ee.d.ts +1 -0
- package/locale-data/ee.js +8 -0
- package/locale-data/el.d.ts +1 -0
- package/locale-data/el.js +8 -0
- package/locale-data/en.d.ts +1 -0
- package/{tests/locale-data/en.ts → locale-data/en.js} +4 -3
- package/locale-data/eo.d.ts +1 -0
- package/locale-data/eo.js +8 -0
- package/locale-data/es.d.ts +1 -0
- package/locale-data/es.js +11 -0
- package/locale-data/et.d.ts +1 -0
- package/locale-data/et.js +9 -0
- package/locale-data/eu.d.ts +1 -0
- package/locale-data/eu.js +8 -0
- package/locale-data/fa.d.ts +1 -0
- package/locale-data/fa.js +8 -0
- package/locale-data/ff.d.ts +1 -0
- package/locale-data/ff.js +8 -0
- package/locale-data/fi.d.ts +1 -0
- package/locale-data/fi.js +9 -0
- package/locale-data/fil.d.ts +1 -0
- package/locale-data/fil.js +9 -0
- package/locale-data/fo.d.ts +1 -0
- package/locale-data/fo.js +8 -0
- package/locale-data/fr.d.ts +1 -0
- package/{tests/locale-data/fr.ts → locale-data/fr.js} +4 -3
- package/locale-data/fur.d.ts +1 -0
- package/locale-data/fur.js +8 -0
- package/locale-data/fy.d.ts +1 -0
- package/locale-data/fy.js +9 -0
- package/locale-data/ga.d.ts +1 -0
- package/locale-data/ga.js +13 -0
- package/locale-data/gd.d.ts +1 -0
- package/locale-data/gd.js +15 -0
- package/locale-data/gl.d.ts +1 -0
- package/locale-data/gl.js +9 -0
- package/locale-data/gsw.d.ts +1 -0
- package/locale-data/gsw.js +8 -0
- package/locale-data/gu.d.ts +1 -0
- package/locale-data/gu.js +12 -0
- package/locale-data/guw.d.ts +1 -0
- package/locale-data/guw.js +8 -0
- package/locale-data/gv.d.ts +1 -0
- package/locale-data/gv.js +13 -0
- package/locale-data/ha.d.ts +1 -0
- package/locale-data/ha.js +8 -0
- package/locale-data/haw.d.ts +1 -0
- package/locale-data/haw.js +8 -0
- package/locale-data/he.d.ts +1 -0
- package/locale-data/he.js +12 -0
- package/locale-data/hi.d.ts +1 -0
- package/locale-data/hi.js +12 -0
- package/locale-data/hnj.d.ts +1 -0
- package/locale-data/hnj.js +7 -0
- package/locale-data/hr.d.ts +1 -0
- package/locale-data/hr.js +11 -0
- package/locale-data/hsb.d.ts +1 -0
- package/locale-data/hsb.js +12 -0
- package/locale-data/hu.d.ts +1 -0
- package/locale-data/hu.js +8 -0
- package/locale-data/hy.d.ts +1 -0
- package/locale-data/hy.js +8 -0
- package/locale-data/ia.d.ts +1 -0
- package/locale-data/ia.js +9 -0
- package/locale-data/id.d.ts +1 -0
- package/locale-data/id.js +7 -0
- package/locale-data/ig.d.ts +1 -0
- package/locale-data/ig.js +7 -0
- package/locale-data/ii.d.ts +1 -0
- package/locale-data/ii.js +7 -0
- package/locale-data/io.d.ts +1 -0
- package/locale-data/io.js +9 -0
- package/locale-data/is.d.ts +1 -0
- package/locale-data/is.js +9 -0
- package/locale-data/it.d.ts +1 -0
- package/locale-data/it.js +11 -0
- package/locale-data/iu.d.ts +1 -0
- package/locale-data/iu.js +10 -0
- package/locale-data/ja.d.ts +1 -0
- package/locale-data/ja.js +7 -0
- package/locale-data/jbo.d.ts +1 -0
- package/locale-data/jbo.js +7 -0
- package/locale-data/jgo.d.ts +1 -0
- package/locale-data/jgo.js +8 -0
- package/locale-data/jmc.d.ts +1 -0
- package/locale-data/jmc.js +8 -0
- package/locale-data/jv.d.ts +1 -0
- package/locale-data/jv.js +7 -0
- package/locale-data/jw.d.ts +1 -0
- package/locale-data/jw.js +7 -0
- package/locale-data/ka.d.ts +1 -0
- package/locale-data/ka.js +11 -0
- package/locale-data/kab.d.ts +1 -0
- package/locale-data/kab.js +8 -0
- package/locale-data/kaj.d.ts +1 -0
- package/locale-data/kaj.js +8 -0
- package/locale-data/kcg.d.ts +1 -0
- package/locale-data/kcg.js +8 -0
- package/locale-data/kde.d.ts +1 -0
- package/locale-data/kde.js +7 -0
- package/locale-data/kea.d.ts +1 -0
- package/locale-data/kea.js +7 -0
- package/locale-data/kk.d.ts +1 -0
- package/locale-data/kk.js +9 -0
- package/locale-data/kkj.d.ts +1 -0
- package/locale-data/kkj.js +8 -0
- package/locale-data/kl.d.ts +1 -0
- package/locale-data/kl.js +8 -0
- package/locale-data/km.d.ts +1 -0
- package/locale-data/km.js +7 -0
- package/locale-data/kn.d.ts +1 -0
- package/locale-data/kn.js +8 -0
- package/locale-data/ko.d.ts +1 -0
- package/locale-data/ko.js +7 -0
- package/locale-data/ks.d.ts +1 -0
- package/locale-data/ks.js +8 -0
- package/locale-data/ksb.d.ts +1 -0
- package/locale-data/ksb.js +8 -0
- package/locale-data/ksh.d.ts +1 -0
- package/locale-data/ksh.js +10 -0
- package/locale-data/ku.d.ts +1 -0
- package/locale-data/ku.js +8 -0
- package/locale-data/kw.d.ts +1 -0
- package/locale-data/kw.js +16 -0
- package/locale-data/ky.d.ts +1 -0
- package/locale-data/ky.js +8 -0
- package/locale-data/lag.d.ts +1 -0
- package/locale-data/lag.js +11 -0
- package/locale-data/lb.d.ts +1 -0
- package/locale-data/lb.js +8 -0
- package/locale-data/lg.d.ts +1 -0
- package/locale-data/lg.js +8 -0
- package/locale-data/lij.d.ts +1 -0
- package/locale-data/lij.js +9 -0
- package/locale-data/lkt.d.ts +1 -0
- package/locale-data/lkt.js +7 -0
- package/locale-data/ln.d.ts +1 -0
- package/locale-data/ln.js +8 -0
- package/locale-data/lo.d.ts +1 -0
- package/locale-data/lo.js +8 -0
- package/locale-data/lt.d.ts +1 -0
- package/locale-data/lt.js +12 -0
- package/locale-data/lv.d.ts +1 -0
- package/locale-data/lv.js +11 -0
- package/locale-data/mas.d.ts +1 -0
- package/locale-data/mas.js +8 -0
- package/locale-data/mg.d.ts +1 -0
- package/locale-data/mg.js +8 -0
- package/locale-data/mgo.d.ts +1 -0
- package/locale-data/mgo.js +8 -0
- package/locale-data/mk.d.ts +1 -0
- package/locale-data/mk.js +12 -0
- package/locale-data/ml.d.ts +1 -0
- package/locale-data/ml.js +8 -0
- package/locale-data/mn.d.ts +1 -0
- package/locale-data/mn.js +8 -0
- package/locale-data/mo.d.ts +1 -0
- package/locale-data/mo.js +11 -0
- package/locale-data/mr.d.ts +1 -0
- package/locale-data/mr.js +11 -0
- package/locale-data/ms.d.ts +1 -0
- package/locale-data/ms.js +8 -0
- package/locale-data/mt.d.ts +1 -0
- package/locale-data/mt.js +12 -0
- package/locale-data/my.d.ts +1 -0
- package/locale-data/my.js +7 -0
- package/locale-data/nah.d.ts +1 -0
- package/locale-data/nah.js +8 -0
- package/locale-data/naq.d.ts +1 -0
- package/locale-data/naq.js +10 -0
- package/locale-data/nb.d.ts +1 -0
- package/locale-data/nb.js +8 -0
- package/locale-data/nd.d.ts +1 -0
- package/locale-data/nd.js +8 -0
- package/locale-data/ne.d.ts +1 -0
- package/locale-data/ne.js +9 -0
- package/locale-data/nl.d.ts +1 -0
- package/locale-data/nl.js +9 -0
- package/locale-data/nn.d.ts +1 -0
- package/locale-data/nn.js +8 -0
- package/locale-data/nnh.d.ts +1 -0
- package/locale-data/nnh.js +8 -0
- package/locale-data/no.d.ts +1 -0
- package/locale-data/no.js +8 -0
- package/locale-data/nqo.d.ts +1 -0
- package/locale-data/nqo.js +7 -0
- package/locale-data/nr.d.ts +1 -0
- package/locale-data/nr.js +8 -0
- package/locale-data/nso.d.ts +1 -0
- package/locale-data/nso.js +8 -0
- package/locale-data/ny.d.ts +1 -0
- package/locale-data/ny.js +8 -0
- package/locale-data/nyn.d.ts +1 -0
- package/locale-data/nyn.js +8 -0
- package/locale-data/om.d.ts +1 -0
- package/locale-data/om.js +8 -0
- package/locale-data/or.d.ts +1 -0
- package/locale-data/or.js +13 -0
- package/locale-data/os.d.ts +1 -0
- package/locale-data/os.js +8 -0
- package/locale-data/osa.d.ts +1 -0
- package/locale-data/osa.js +7 -0
- package/locale-data/pa.d.ts +1 -0
- package/locale-data/pa.js +8 -0
- package/locale-data/pap.d.ts +1 -0
- package/locale-data/pap.js +8 -0
- package/locale-data/pcm.d.ts +1 -0
- package/locale-data/pcm.js +8 -0
- package/locale-data/pl.d.ts +1 -0
- package/locale-data/pl.js +12 -0
- package/locale-data/prg.d.ts +1 -0
- package/locale-data/prg.js +11 -0
- package/locale-data/ps.d.ts +1 -0
- package/locale-data/ps.js +8 -0
- package/locale-data/pt-PT.d.ts +1 -0
- package/locale-data/pt-PT.js +11 -0
- package/locale-data/pt.d.ts +1 -0
- package/locale-data/pt.js +11 -0
- package/locale-data/rm.d.ts +1 -0
- package/locale-data/rm.js +8 -0
- package/locale-data/ro.d.ts +1 -0
- package/locale-data/ro.js +11 -0
- package/locale-data/rof.d.ts +1 -0
- package/locale-data/rof.js +8 -0
- package/locale-data/ru.d.ts +1 -0
- package/locale-data/ru.js +12 -0
- package/locale-data/rwk.d.ts +1 -0
- package/locale-data/rwk.js +8 -0
- package/locale-data/sah.d.ts +1 -0
- package/locale-data/sah.js +7 -0
- package/locale-data/saq.d.ts +1 -0
- package/locale-data/saq.js +8 -0
- package/locale-data/sat.d.ts +1 -0
- package/locale-data/sat.js +10 -0
- package/locale-data/sc.d.ts +1 -0
- package/locale-data/sc.js +9 -0
- package/locale-data/scn.d.ts +1 -0
- package/locale-data/scn.js +9 -0
- package/locale-data/sd.d.ts +1 -0
- package/locale-data/sd.js +8 -0
- package/locale-data/sdh.d.ts +1 -0
- package/locale-data/sdh.js +8 -0
- package/locale-data/se.d.ts +1 -0
- package/locale-data/se.js +10 -0
- package/locale-data/seh.d.ts +1 -0
- package/locale-data/seh.js +8 -0
- package/locale-data/ses.d.ts +1 -0
- package/locale-data/ses.js +7 -0
- package/locale-data/sg.d.ts +1 -0
- package/locale-data/sg.js +7 -0
- package/locale-data/sh.d.ts +1 -0
- package/locale-data/sh.js +11 -0
- package/locale-data/shi.d.ts +1 -0
- package/locale-data/shi.js +11 -0
- package/locale-data/si.d.ts +1 -0
- package/locale-data/si.js +9 -0
- package/locale-data/sk.d.ts +1 -0
- package/locale-data/sk.js +12 -0
- package/locale-data/sl.d.ts +1 -0
- package/locale-data/sl.js +12 -0
- package/locale-data/sma.d.ts +1 -0
- package/locale-data/sma.js +10 -0
- package/locale-data/smi.d.ts +1 -0
- package/locale-data/smi.js +10 -0
- package/locale-data/smj.d.ts +1 -0
- package/locale-data/smj.js +10 -0
- package/locale-data/smn.d.ts +1 -0
- package/locale-data/smn.js +10 -0
- package/locale-data/sms.d.ts +1 -0
- package/locale-data/sms.js +10 -0
- package/locale-data/sn.d.ts +1 -0
- package/locale-data/sn.js +8 -0
- package/locale-data/so.d.ts +1 -0
- package/locale-data/so.js +8 -0
- package/locale-data/sq.d.ts +1 -0
- package/locale-data/sq.js +11 -0
- package/locale-data/sr.d.ts +1 -0
- package/locale-data/sr.js +11 -0
- package/locale-data/ss.d.ts +1 -0
- package/locale-data/ss.js +8 -0
- package/locale-data/ssy.d.ts +1 -0
- package/locale-data/ssy.js +8 -0
- package/locale-data/st.d.ts +1 -0
- package/locale-data/st.js +8 -0
- package/locale-data/su.d.ts +1 -0
- package/locale-data/su.js +7 -0
- package/locale-data/sv.d.ts +1 -0
- package/locale-data/sv.js +9 -0
- package/locale-data/sw.d.ts +1 -0
- package/locale-data/sw.js +9 -0
- package/locale-data/syr.d.ts +1 -0
- package/locale-data/syr.js +8 -0
- package/locale-data/ta.d.ts +1 -0
- package/locale-data/ta.js +8 -0
- package/locale-data/te.d.ts +1 -0
- package/locale-data/te.js +8 -0
- package/locale-data/teo.d.ts +1 -0
- package/locale-data/teo.js +8 -0
- package/locale-data/th.d.ts +1 -0
- package/locale-data/th.js +7 -0
- package/locale-data/ti.d.ts +1 -0
- package/locale-data/ti.js +8 -0
- package/locale-data/tig.d.ts +1 -0
- package/locale-data/tig.js +8 -0
- package/locale-data/tk.d.ts +1 -0
- package/locale-data/tk.js +9 -0
- package/locale-data/tl.d.ts +1 -0
- package/locale-data/tl.js +9 -0
- package/locale-data/tn.d.ts +1 -0
- package/locale-data/tn.js +8 -0
- package/locale-data/to.d.ts +1 -0
- package/locale-data/to.js +7 -0
- package/locale-data/tpi.d.ts +1 -0
- package/locale-data/tpi.js +7 -0
- package/locale-data/tr.d.ts +1 -0
- package/locale-data/tr.js +8 -0
- package/locale-data/ts.d.ts +1 -0
- package/locale-data/ts.js +8 -0
- package/locale-data/tzm.d.ts +1 -0
- package/locale-data/tzm.js +9 -0
- package/locale-data/ug.d.ts +1 -0
- package/locale-data/ug.js +8 -0
- package/locale-data/uk.d.ts +1 -0
- package/locale-data/uk.js +12 -0
- package/locale-data/und.d.ts +1 -0
- package/locale-data/und.js +7 -0
- package/locale-data/ur.d.ts +1 -0
- package/locale-data/ur.js +9 -0
- package/locale-data/uz.d.ts +1 -0
- package/locale-data/uz.js +8 -0
- package/locale-data/ve.d.ts +1 -0
- package/locale-data/ve.js +8 -0
- package/locale-data/vi.d.ts +1 -0
- package/locale-data/vi.js +8 -0
- package/locale-data/vo.d.ts +1 -0
- package/locale-data/vo.js +8 -0
- package/locale-data/vun.d.ts +1 -0
- package/locale-data/vun.js +8 -0
- package/locale-data/wa.d.ts +1 -0
- package/locale-data/wa.js +8 -0
- package/locale-data/wae.d.ts +1 -0
- package/locale-data/wae.js +8 -0
- package/locale-data/wo.d.ts +1 -0
- package/locale-data/wo.js +7 -0
- package/locale-data/xh.d.ts +1 -0
- package/locale-data/xh.js +8 -0
- package/locale-data/xog.d.ts +1 -0
- package/locale-data/xog.js +8 -0
- package/locale-data/yi.d.ts +1 -0
- package/locale-data/yi.js +9 -0
- package/locale-data/yo.d.ts +1 -0
- package/locale-data/yo.js +7 -0
- package/locale-data/yue.d.ts +1 -0
- package/locale-data/yue.js +7 -0
- package/locale-data/zh.d.ts +1 -0
- package/locale-data/zh.js +7 -0
- package/locale-data/zu.d.ts +1 -0
- package/locale-data/zu.js +8 -0
- package/package.json +5 -5
- package/polyfill-force.d.ts +2 -0
- package/polyfill-force.d.ts.map +1 -0
- package/polyfill-force.js +9 -0
- package/polyfill.d.ts +2 -0
- package/polyfill.d.ts.map +1 -0
- package/polyfill.iife.js +901 -0
- package/polyfill.js +12 -0
- package/should-polyfill.d.ts +2 -0
- package/should-polyfill.d.ts.map +1 -0
- package/should-polyfill.js +22 -0
- package/supported-locales.generated.d.ts +2 -0
- package/supported-locales.generated.d.ts.map +1 -0
- package/supported-locales.generated.js +4 -0
- package/BUILD +0 -465
- package/CHANGELOG.md +0 -659
- package/abstract/GetOperands.ts +0 -75
- package/abstract/InitializePluralRules.ts +0 -61
- package/abstract/ResolvePlural.ts +0 -47
- package/get_internal_slots.ts +0 -14
- package/index.ts +0 -174
- package/polyfill-force.ts +0 -8
- package/polyfill.ts +0 -11
- package/scripts/cldr-raw.ts +0 -70
- package/scripts/cldr.ts +0 -29
- package/scripts/test262-main-gen.ts +0 -28
- package/should-polyfill.ts +0 -21
- package/supported-locales.generated.ts +0 -1
- package/test262-main.ts +0 -1071
- package/tests/index.test.ts +0 -57
- package/tests/locale-data/zh.ts +0 -6
- package/tests/supported-locales-of.test.ts +0 -23
- package/tsconfig.json +0 -5
package/polyfill.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var _1 = require("./");
|
|
4
|
+
var should_polyfill_1 = require("./should-polyfill");
|
|
5
|
+
if ((0, should_polyfill_1.shouldPolyfill)()) {
|
|
6
|
+
Object.defineProperty(Intl, 'PluralRules', {
|
|
7
|
+
value: _1.PluralRules,
|
|
8
|
+
writable: true,
|
|
9
|
+
enumerable: false,
|
|
10
|
+
configurable: true,
|
|
11
|
+
});
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"should-polyfill.d.ts","sourceRoot":"","sources":["should-polyfill.ts"],"names":[],"mappings":"AAWA,wBAAgB,cAAc,CAAC,MAAM,SAAO,sBAS3C"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.shouldPolyfill = void 0;
|
|
4
|
+
var intl_localematcher_1 = require("@formatjs/intl-localematcher");
|
|
5
|
+
var supported_locales_generated_1 = require("./supported-locales.generated");
|
|
6
|
+
function supportedLocalesOf(locale) {
|
|
7
|
+
if (!locale) {
|
|
8
|
+
return true;
|
|
9
|
+
}
|
|
10
|
+
var locales = Array.isArray(locale) ? locale : [locale];
|
|
11
|
+
return Intl.PluralRules.supportedLocalesOf(locales).length === locales.length;
|
|
12
|
+
}
|
|
13
|
+
function shouldPolyfill(locale) {
|
|
14
|
+
if (locale === void 0) { locale = 'en'; }
|
|
15
|
+
if (!('PluralRules' in Intl) ||
|
|
16
|
+
new Intl.PluralRules('en', { minimumFractionDigits: 2 }).select(1) ===
|
|
17
|
+
'one' ||
|
|
18
|
+
!supportedLocalesOf(locale)) {
|
|
19
|
+
return locale ? (0, intl_localematcher_1.match)([locale], supported_locales_generated_1.supportedLocales, 'en') : undefined;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.shouldPolyfill = shouldPolyfill;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supported-locales.generated.d.ts","sourceRoot":"","sources":["supported-locales.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAE,MAAM,EAA21C,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.supportedLocales = void 0;
|
|
4
|
+
exports.supportedLocales = ["af", "ak", "am", "an", "ar", "ars", "as", "asa", "ast", "az", "bal", "be", "bem", "bez", "bg", "bho", "bm", "bn", "bo", "br", "brx", "bs", "ca", "ce", "ceb", "cgg", "chr", "ckb", "cs", "cy", "da", "de", "doi", "dsb", "dv", "dz", "ee", "el", "en", "eo", "es", "et", "eu", "fa", "ff", "fi", "fil", "fo", "fr", "fur", "fy", "ga", "gd", "gl", "gsw", "gu", "guw", "gv", "ha", "haw", "he", "hi", "hnj", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "io", "is", "it", "iu", "ja", "jbo", "jgo", "jmc", "jv", "jw", "ka", "kab", "kaj", "kcg", "kde", "kea", "kk", "kkj", "kl", "km", "kn", "ko", "ks", "ksb", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lij", "lkt", "ln", "lo", "lt", "lv", "mas", "mg", "mgo", "mk", "ml", "mn", "mo", "mr", "ms", "mt", "my", "nah", "naq", "nb", "nd", "ne", "nl", "nn", "nnh", "no", "nqo", "nr", "nso", "ny", "nyn", "om", "or", "os", "osa", "pa", "pap", "pcm", "pl", "prg", "ps", "pt", "pt-PT", "rm", "ro", "rof", "ru", "rwk", "sah", "saq", "sat", "sc", "scn", "sd", "sdh", "se", "seh", "ses", "sg", "sh", "shi", "si", "sk", "sl", "sma", "smi", "smj", "smn", "sms", "sn", "so", "sq", "sr", "ss", "ssy", "st", "su", "sv", "sw", "syr", "ta", "te", "teo", "th", "ti", "tig", "tk", "tl", "tn", "to", "tpi", "tr", "ts", "tzm", "ug", "uk", "und", "ur", "uz", "ve", "vi", "vo", "vun", "wa", "wae", "wo", "xh", "xog", "yi", "yo", "yue", "zh", "zu"];
|
package/BUILD
DELETED
|
@@ -1,465 +0,0 @@
|
|
|
1
|
-
load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_files")
|
|
2
|
-
load("@aspect_rules_esbuild//esbuild:defs.bzl", "esbuild")
|
|
3
|
-
load("@aspect_rules_js//npm/private:npm_package.bzl", "npm_package")
|
|
4
|
-
load("@aspect_rules_ts//ts:defs.bzl", "ts_project")
|
|
5
|
-
load("@npm//:defs.bzl", "npm_link_all_packages")
|
|
6
|
-
load("@npm//:test262-harness/package_json.bzl", test262_harness_bin = "bin")
|
|
7
|
-
load("//tools:index.bzl", "bundle_karma_tests", "check_format", "generate_src_file", "package_json_test", "ts_compile", "ts_script")
|
|
8
|
-
load("//tools:jest.bzl", "jest_test")
|
|
9
|
-
|
|
10
|
-
npm_link_all_packages(name = "node_modules")
|
|
11
|
-
|
|
12
|
-
ALL_LOCALES = [
|
|
13
|
-
"af",
|
|
14
|
-
"ak",
|
|
15
|
-
"am",
|
|
16
|
-
"an",
|
|
17
|
-
"ar",
|
|
18
|
-
"ars",
|
|
19
|
-
"as",
|
|
20
|
-
"asa",
|
|
21
|
-
"ast",
|
|
22
|
-
"az",
|
|
23
|
-
"bal",
|
|
24
|
-
"be",
|
|
25
|
-
"bem",
|
|
26
|
-
"bez",
|
|
27
|
-
"bg",
|
|
28
|
-
"bho",
|
|
29
|
-
"bm",
|
|
30
|
-
"bn",
|
|
31
|
-
"bo",
|
|
32
|
-
"br",
|
|
33
|
-
"brx",
|
|
34
|
-
"bs",
|
|
35
|
-
"ca",
|
|
36
|
-
"ce",
|
|
37
|
-
"ceb",
|
|
38
|
-
"cgg",
|
|
39
|
-
"chr",
|
|
40
|
-
"ckb",
|
|
41
|
-
"cs",
|
|
42
|
-
"cy",
|
|
43
|
-
"da",
|
|
44
|
-
"de",
|
|
45
|
-
"doi",
|
|
46
|
-
"dsb",
|
|
47
|
-
"dv",
|
|
48
|
-
"dz",
|
|
49
|
-
"ee",
|
|
50
|
-
"el",
|
|
51
|
-
"en",
|
|
52
|
-
"eo",
|
|
53
|
-
"es",
|
|
54
|
-
"et",
|
|
55
|
-
"eu",
|
|
56
|
-
"fa",
|
|
57
|
-
"ff",
|
|
58
|
-
"fi",
|
|
59
|
-
"fil",
|
|
60
|
-
"fo",
|
|
61
|
-
"fr",
|
|
62
|
-
"fur",
|
|
63
|
-
"fy",
|
|
64
|
-
"ga",
|
|
65
|
-
"gd",
|
|
66
|
-
"gl",
|
|
67
|
-
"gsw",
|
|
68
|
-
"gu",
|
|
69
|
-
"guw",
|
|
70
|
-
"gv",
|
|
71
|
-
"ha",
|
|
72
|
-
"haw",
|
|
73
|
-
"he",
|
|
74
|
-
"hi",
|
|
75
|
-
"hnj",
|
|
76
|
-
"hr",
|
|
77
|
-
"hsb",
|
|
78
|
-
"hu",
|
|
79
|
-
"hy",
|
|
80
|
-
"ia",
|
|
81
|
-
"id",
|
|
82
|
-
"ig",
|
|
83
|
-
"ii",
|
|
84
|
-
"io",
|
|
85
|
-
"is",
|
|
86
|
-
"it",
|
|
87
|
-
"iu",
|
|
88
|
-
"ja",
|
|
89
|
-
"jbo",
|
|
90
|
-
"jgo",
|
|
91
|
-
"jmc",
|
|
92
|
-
"jv",
|
|
93
|
-
"jw",
|
|
94
|
-
"ka",
|
|
95
|
-
"kab",
|
|
96
|
-
"kaj",
|
|
97
|
-
"kcg",
|
|
98
|
-
"kde",
|
|
99
|
-
"kea",
|
|
100
|
-
"kk",
|
|
101
|
-
"kkj",
|
|
102
|
-
"kl",
|
|
103
|
-
"km",
|
|
104
|
-
"kn",
|
|
105
|
-
"ko",
|
|
106
|
-
"ks",
|
|
107
|
-
"ksb",
|
|
108
|
-
"ksh",
|
|
109
|
-
"ku",
|
|
110
|
-
"kw",
|
|
111
|
-
"ky",
|
|
112
|
-
"lag",
|
|
113
|
-
"lb",
|
|
114
|
-
"lg",
|
|
115
|
-
"lij",
|
|
116
|
-
"lkt",
|
|
117
|
-
"ln",
|
|
118
|
-
"lo",
|
|
119
|
-
"lt",
|
|
120
|
-
"lv",
|
|
121
|
-
"mas",
|
|
122
|
-
"mg",
|
|
123
|
-
"mgo",
|
|
124
|
-
"mk",
|
|
125
|
-
"ml",
|
|
126
|
-
"mn",
|
|
127
|
-
"mo",
|
|
128
|
-
"mr",
|
|
129
|
-
"ms",
|
|
130
|
-
"mt",
|
|
131
|
-
"my",
|
|
132
|
-
"nah",
|
|
133
|
-
"naq",
|
|
134
|
-
"nb",
|
|
135
|
-
"nd",
|
|
136
|
-
"ne",
|
|
137
|
-
"nl",
|
|
138
|
-
"nn",
|
|
139
|
-
"nnh",
|
|
140
|
-
"no",
|
|
141
|
-
"nqo",
|
|
142
|
-
"nr",
|
|
143
|
-
"nso",
|
|
144
|
-
"ny",
|
|
145
|
-
"nyn",
|
|
146
|
-
"om",
|
|
147
|
-
"or",
|
|
148
|
-
"os",
|
|
149
|
-
"osa",
|
|
150
|
-
"pa",
|
|
151
|
-
"pap",
|
|
152
|
-
"pcm",
|
|
153
|
-
"pl",
|
|
154
|
-
"prg",
|
|
155
|
-
"ps",
|
|
156
|
-
"pt",
|
|
157
|
-
"pt-PT",
|
|
158
|
-
"rm",
|
|
159
|
-
"ro",
|
|
160
|
-
"rof",
|
|
161
|
-
"ru",
|
|
162
|
-
"rwk",
|
|
163
|
-
"sah",
|
|
164
|
-
"saq",
|
|
165
|
-
"sat",
|
|
166
|
-
"sc",
|
|
167
|
-
"scn",
|
|
168
|
-
"sd",
|
|
169
|
-
"sdh",
|
|
170
|
-
"se",
|
|
171
|
-
"seh",
|
|
172
|
-
"ses",
|
|
173
|
-
"sg",
|
|
174
|
-
"sh",
|
|
175
|
-
"shi",
|
|
176
|
-
"si",
|
|
177
|
-
"sk",
|
|
178
|
-
"sl",
|
|
179
|
-
"sma",
|
|
180
|
-
"smi",
|
|
181
|
-
"smj",
|
|
182
|
-
"smn",
|
|
183
|
-
"sms",
|
|
184
|
-
"sn",
|
|
185
|
-
"so",
|
|
186
|
-
"sq",
|
|
187
|
-
"sr",
|
|
188
|
-
"ss",
|
|
189
|
-
"ssy",
|
|
190
|
-
"st",
|
|
191
|
-
"su",
|
|
192
|
-
"sv",
|
|
193
|
-
"sw",
|
|
194
|
-
"syr",
|
|
195
|
-
"ta",
|
|
196
|
-
"te",
|
|
197
|
-
"teo",
|
|
198
|
-
"th",
|
|
199
|
-
"ti",
|
|
200
|
-
"tig",
|
|
201
|
-
"tk",
|
|
202
|
-
"tl",
|
|
203
|
-
"tn",
|
|
204
|
-
"to",
|
|
205
|
-
"tpi",
|
|
206
|
-
"tr",
|
|
207
|
-
"ts",
|
|
208
|
-
"tzm",
|
|
209
|
-
"ug",
|
|
210
|
-
"uk",
|
|
211
|
-
"und",
|
|
212
|
-
"ur",
|
|
213
|
-
"uz",
|
|
214
|
-
"ve",
|
|
215
|
-
"vi",
|
|
216
|
-
"vo",
|
|
217
|
-
"vun",
|
|
218
|
-
"wa",
|
|
219
|
-
"wae",
|
|
220
|
-
"wo",
|
|
221
|
-
"xh",
|
|
222
|
-
"xog",
|
|
223
|
-
"yi",
|
|
224
|
-
"yo",
|
|
225
|
-
"yue",
|
|
226
|
-
"zh",
|
|
227
|
-
"zu",
|
|
228
|
-
]
|
|
229
|
-
|
|
230
|
-
PACKAGE_NAME = "intl-pluralrules"
|
|
231
|
-
|
|
232
|
-
TEST_LOCALES = [
|
|
233
|
-
"en",
|
|
234
|
-
"zh",
|
|
235
|
-
"fr",
|
|
236
|
-
]
|
|
237
|
-
|
|
238
|
-
TEST_LOCALE_DATA = ["tests/locale-data/%s.ts" % locale for locale in TEST_LOCALES]
|
|
239
|
-
|
|
240
|
-
npm_package(
|
|
241
|
-
name = PACKAGE_NAME,
|
|
242
|
-
srcs = [
|
|
243
|
-
"LICENSE.md",
|
|
244
|
-
"README.md",
|
|
245
|
-
"package.json",
|
|
246
|
-
":dist",
|
|
247
|
-
":locale-data",
|
|
248
|
-
# polyfill-library uses this
|
|
249
|
-
"polyfill.iife.js",
|
|
250
|
-
],
|
|
251
|
-
package = "@formatjs/%s" % PACKAGE_NAME,
|
|
252
|
-
visibility = ["//visibility:public"],
|
|
253
|
-
)
|
|
254
|
-
|
|
255
|
-
SRCS = glob(
|
|
256
|
-
[
|
|
257
|
-
"*.ts",
|
|
258
|
-
"abstract/*.ts",
|
|
259
|
-
],
|
|
260
|
-
exclude = ["test*.*"],
|
|
261
|
-
)
|
|
262
|
-
|
|
263
|
-
TESTS = glob([
|
|
264
|
-
"tests/*.test.ts",
|
|
265
|
-
])
|
|
266
|
-
|
|
267
|
-
SRC_DEPS = [
|
|
268
|
-
":node_modules/@formatjs/ecma402-abstract",
|
|
269
|
-
":node_modules/@formatjs/intl-localematcher",
|
|
270
|
-
]
|
|
271
|
-
|
|
272
|
-
ts_compile(
|
|
273
|
-
name = "dist",
|
|
274
|
-
srcs = SRCS,
|
|
275
|
-
skip_esm = False,
|
|
276
|
-
deps = SRC_DEPS,
|
|
277
|
-
)
|
|
278
|
-
|
|
279
|
-
jest_test(
|
|
280
|
-
name = "unit",
|
|
281
|
-
srcs = SRCS + TESTS + TEST_LOCALE_DATA,
|
|
282
|
-
deps = SRC_DEPS + [
|
|
283
|
-
":node_modules/@formatjs/intl-getcanonicallocales",
|
|
284
|
-
":node_modules/@formatjs/intl-locale",
|
|
285
|
-
"//:node_modules/@types/node",
|
|
286
|
-
],
|
|
287
|
-
)
|
|
288
|
-
|
|
289
|
-
# CLDR
|
|
290
|
-
CLDR_RAW_FILES = ["cldr-raw/%s.js" % locale for locale in ALL_LOCALES]
|
|
291
|
-
|
|
292
|
-
ts_script(
|
|
293
|
-
name = "cldr-raw",
|
|
294
|
-
outs = CLDR_RAW_FILES,
|
|
295
|
-
args = [
|
|
296
|
-
"--outDir",
|
|
297
|
-
package_name() + "/cldr-raw",
|
|
298
|
-
],
|
|
299
|
-
data = [
|
|
300
|
-
":node_modules/@formatjs/ecma402-abstract",
|
|
301
|
-
"//:node_modules/@types/serialize-javascript",
|
|
302
|
-
"//:node_modules/cldr-core",
|
|
303
|
-
"//:node_modules/make-plural-compiler",
|
|
304
|
-
"//:node_modules/serialize-javascript",
|
|
305
|
-
],
|
|
306
|
-
entry_point = "scripts/cldr-raw.ts",
|
|
307
|
-
)
|
|
308
|
-
|
|
309
|
-
genrule(
|
|
310
|
-
name = "supported-locales-gen",
|
|
311
|
-
srcs = [],
|
|
312
|
-
outs = ["supported-locales.tmp"],
|
|
313
|
-
cmd = "echo 'export const supportedLocales: string[] = %s' > $@" % ALL_LOCALES,
|
|
314
|
-
)
|
|
315
|
-
|
|
316
|
-
ts_script(
|
|
317
|
-
name = "locale-data",
|
|
318
|
-
outs = ["locale-data/%s.js" % locale for locale in ALL_LOCALES] + ["locale-data/%s.d.ts" % locale for locale in ALL_LOCALES],
|
|
319
|
-
args = [
|
|
320
|
-
"--cldrFile %s/%s" % (
|
|
321
|
-
package_name(),
|
|
322
|
-
f,
|
|
323
|
-
)
|
|
324
|
-
for f in CLDR_RAW_FILES
|
|
325
|
-
] + [
|
|
326
|
-
"--outDir",
|
|
327
|
-
package_name() + "/locale-data",
|
|
328
|
-
],
|
|
329
|
-
data = CLDR_RAW_FILES,
|
|
330
|
-
entry_point = "scripts/cldr.ts",
|
|
331
|
-
visibility = ["//visibility:public"],
|
|
332
|
-
)
|
|
333
|
-
|
|
334
|
-
[genrule(
|
|
335
|
-
name = "tests-locale-data-%s" % locale,
|
|
336
|
-
srcs = ["cldr-raw/%s.js" % locale],
|
|
337
|
-
outs = ["tests-locale-data/%s.ts" % locale],
|
|
338
|
-
cmd = "printf \"%s %s\n\" \"/* @generated */\n// prettier-ignore\n// @ts-nocheck\nexport default\" \"$$(cat $<)\" > $@",
|
|
339
|
-
) for locale in TEST_LOCALES]
|
|
340
|
-
|
|
341
|
-
generate_src_file(
|
|
342
|
-
name = "test262-main",
|
|
343
|
-
src = "test262-main.ts",
|
|
344
|
-
args = [
|
|
345
|
-
"--cldrFile %s/%s" % (
|
|
346
|
-
package_name(),
|
|
347
|
-
f,
|
|
348
|
-
)
|
|
349
|
-
for f in CLDR_RAW_FILES
|
|
350
|
-
],
|
|
351
|
-
data = [":cldr-raw"],
|
|
352
|
-
entry_point = "scripts/test262-main-gen.ts",
|
|
353
|
-
visibility = [
|
|
354
|
-
"//:__pkg__",
|
|
355
|
-
],
|
|
356
|
-
)
|
|
357
|
-
|
|
358
|
-
# Test262
|
|
359
|
-
ts_project(
|
|
360
|
-
name = "test262-main-bundle",
|
|
361
|
-
srcs = SRCS + ["test262-main.ts"],
|
|
362
|
-
declaration = True,
|
|
363
|
-
declaration_map = True,
|
|
364
|
-
extends =
|
|
365
|
-
"//:tsconfig",
|
|
366
|
-
out_dir = "test262",
|
|
367
|
-
resolve_json_module = True,
|
|
368
|
-
tsconfig = "//:tsconfig.es6",
|
|
369
|
-
visibility = ["//visibility:public"],
|
|
370
|
-
deps = SRC_DEPS,
|
|
371
|
-
)
|
|
372
|
-
|
|
373
|
-
esbuild(
|
|
374
|
-
name = "test262-polyfill",
|
|
375
|
-
entry_point = "test262/test262-main.js",
|
|
376
|
-
target = "es6",
|
|
377
|
-
deps = [
|
|
378
|
-
":test262-main-bundle",
|
|
379
|
-
] + SRC_DEPS,
|
|
380
|
-
)
|
|
381
|
-
|
|
382
|
-
test262_harness_bin.test262_harness_test(
|
|
383
|
-
name = "test262",
|
|
384
|
-
size = "large",
|
|
385
|
-
data = [
|
|
386
|
-
"test262-polyfill.js",
|
|
387
|
-
"@com_github_tc39_test262//:test262-harness-copy",
|
|
388
|
-
"@com_github_tc39_test262//:test262-pluralrules-copy",
|
|
389
|
-
],
|
|
390
|
-
args = [
|
|
391
|
-
"--reporter-keys",
|
|
392
|
-
"file,attrs,result",
|
|
393
|
-
"--errorForFailures",
|
|
394
|
-
"--timeout",
|
|
395
|
-
"30000",
|
|
396
|
-
"--prelude",
|
|
397
|
-
"$(rootpath test262-polyfill.js)",
|
|
398
|
-
"--test262Dir",
|
|
399
|
-
"../com_github_tc39_test262",
|
|
400
|
-
"../com_github_tc39_test262/test/intl402/PluralRules/**/*.js",
|
|
401
|
-
],
|
|
402
|
-
)
|
|
403
|
-
|
|
404
|
-
bundle_karma_tests(
|
|
405
|
-
name = "bundled-karma-tests",
|
|
406
|
-
srcs = SRCS,
|
|
407
|
-
data = TEST_LOCALE_DATA,
|
|
408
|
-
esbuild_deps = [
|
|
409
|
-
":node_modules/@formatjs/intl-getcanonicallocales",
|
|
410
|
-
":node_modules/@formatjs/intl-locale",
|
|
411
|
-
],
|
|
412
|
-
tests = TESTS,
|
|
413
|
-
deps = SRC_DEPS + [
|
|
414
|
-
"//:node_modules/@types/node",
|
|
415
|
-
],
|
|
416
|
-
)
|
|
417
|
-
|
|
418
|
-
write_source_files(
|
|
419
|
-
name = "generated-files",
|
|
420
|
-
files = {
|
|
421
|
-
"supported-locales.generated.ts": ":supported-locales-gen",
|
|
422
|
-
"tsconfig.json": "//tools:tsconfig.golden.json",
|
|
423
|
-
},
|
|
424
|
-
visibility = ["//:__pkg__"],
|
|
425
|
-
)
|
|
426
|
-
|
|
427
|
-
write_source_files(
|
|
428
|
-
name = "generated-test-files",
|
|
429
|
-
files = {
|
|
430
|
-
"tests/locale-data/%s.ts" % k: ":tests-locale-data/%s.ts" % k
|
|
431
|
-
for k in TEST_LOCALES
|
|
432
|
-
},
|
|
433
|
-
visibility = ["//:__pkg__"],
|
|
434
|
-
)
|
|
435
|
-
|
|
436
|
-
esbuild(
|
|
437
|
-
name = "polyfill.iife",
|
|
438
|
-
entry_point = "lib/polyfill.js",
|
|
439
|
-
target = "es6",
|
|
440
|
-
# TODO: fix this and set it back to es5
|
|
441
|
-
deps = [
|
|
442
|
-
":dist-esm",
|
|
443
|
-
"//:node_modules/tslib",
|
|
444
|
-
] + SRC_DEPS,
|
|
445
|
-
)
|
|
446
|
-
|
|
447
|
-
check_format(
|
|
448
|
-
name = "prettier",
|
|
449
|
-
srcs = glob(
|
|
450
|
-
[
|
|
451
|
-
"**/*",
|
|
452
|
-
],
|
|
453
|
-
exclude = [
|
|
454
|
-
"CHANGELOG.md",
|
|
455
|
-
"tests/locale-data/*",
|
|
456
|
-
"test262-main.ts",
|
|
457
|
-
"supported-locales.generated.ts",
|
|
458
|
-
],
|
|
459
|
-
),
|
|
460
|
-
)
|
|
461
|
-
|
|
462
|
-
package_json_test(
|
|
463
|
-
name = "package_json_test",
|
|
464
|
-
deps = SRC_DEPS,
|
|
465
|
-
)
|