es6-module.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. {
  2. "title":"JavaScript modules via script tag",
  3. "description":"Loading JavaScript module scripts using `<script type=\"module\">` Includes support for the `nomodule` attribute.",
  4. "spec":"https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"https://strongloop.com/strongblog/an-introduction-to-javascript-es6-modules/",
  9. "title":"Intro to ES6 modules"
  10. },
  11. {
  12. "url":"https://blogs.windows.com/msedgedev/2016/05/17/es6-modules-and-beyond/",
  13. "title":"MS Edge blog post"
  14. },
  15. {
  16. "url":"https://hacks.mozilla.org/2015/08/es6-in-depth-modules/",
  17. "title":"Mozilla hacks article"
  18. },
  19. {
  20. "url":"https://bugzilla.mozilla.org/show_bug.cgi?id=568953",
  21. "title":"Firefox support bug"
  22. },
  23. {
  24. "url":"https://blog.hospodarets.com/native-ecmascript-modules-the-first-overview",
  25. "title":"Blog post: Native ECMAScript modules - the first overview"
  26. },
  27. {
  28. "url":"https://tc39.es/ecma262/#sec-modules",
  29. "title":"Counterpart ECMAScript specification for import/export syntax"
  30. },
  31. {
  32. "url":"https://html.spec.whatwg.org/multipage/scripting.html#attr-script-nomodule",
  33. "title":"Specification for nomodule attribute"
  34. },
  35. {
  36. "url":"https://hospodarets.com/native-ecmascript-modules-nomodule",
  37. "title":"Blog post on using nomodule"
  38. },
  39. {
  40. "url":"https://gist.github.com/jakub-g/5fc11af85a061ca29cc84892f1059fec",
  41. "title":"Will it double-fetch? Browser behavior with `module` / `nomodule` scripts"
  42. }
  43. ],
  44. "bugs":[
  45. {
  46. "description":"`nomodule` scripts are not executed in Edge, but they're still fetched"
  47. },
  48. {
  49. "description":"Edge 17+ fetches HTML-declared <script type='module'> twice"
  50. }
  51. ],
  52. "categories":[
  53. "JS"
  54. ],
  55. "stats":{
  56. "ie":{
  57. "5.5":"n",
  58. "6":"n",
  59. "7":"n",
  60. "8":"n",
  61. "9":"n",
  62. "10":"n",
  63. "11":"n"
  64. },
  65. "edge":{
  66. "12":"n",
  67. "13":"n",
  68. "14":"n",
  69. "15":"n d #1 #6",
  70. "16":"y #6",
  71. "17":"y #6",
  72. "18":"y #6",
  73. "79":"y",
  74. "80":"y",
  75. "81":"y",
  76. "83":"y",
  77. "84":"y",
  78. "85":"y",
  79. "86":"y"
  80. },
  81. "firefox":{
  82. "2":"n",
  83. "3":"n",
  84. "3.5":"n",
  85. "3.6":"n",
  86. "4":"n",
  87. "5":"n",
  88. "6":"n",
  89. "7":"n",
  90. "8":"n",
  91. "9":"n",
  92. "10":"n",
  93. "11":"n",
  94. "12":"n",
  95. "13":"n",
  96. "14":"n",
  97. "15":"n",
  98. "16":"n",
  99. "17":"n",
  100. "18":"n",
  101. "19":"n",
  102. "20":"n",
  103. "21":"n",
  104. "22":"n",
  105. "23":"n",
  106. "24":"n",
  107. "25":"n",
  108. "26":"n",
  109. "27":"n",
  110. "28":"n",
  111. "29":"n",
  112. "30":"n",
  113. "31":"n",
  114. "32":"n",
  115. "33":"n",
  116. "34":"n",
  117. "35":"n",
  118. "36":"n",
  119. "37":"n",
  120. "38":"n",
  121. "39":"n",
  122. "40":"n",
  123. "41":"n",
  124. "42":"n",
  125. "43":"n",
  126. "44":"n",
  127. "45":"n",
  128. "46":"n",
  129. "47":"n",
  130. "48":"n",
  131. "49":"n",
  132. "50":"n",
  133. "51":"n",
  134. "52":"n",
  135. "53":"n",
  136. "54":"n d #2",
  137. "55":"n d #2",
  138. "56":"n d #2",
  139. "57":"n d #2",
  140. "58":"n d #2",
  141. "59":"n d #2",
  142. "60":"y",
  143. "61":"y",
  144. "62":"y",
  145. "63":"y",
  146. "64":"y",
  147. "65":"y",
  148. "66":"y",
  149. "67":"y",
  150. "68":"y",
  151. "69":"y",
  152. "70":"y",
  153. "71":"y",
  154. "72":"y",
  155. "73":"y",
  156. "74":"y",
  157. "75":"y",
  158. "76":"y",
  159. "77":"y",
  160. "78":"y",
  161. "79":"y",
  162. "80":"y",
  163. "81":"y",
  164. "82":"y",
  165. "83":"y"
  166. },
  167. "chrome":{
  168. "4":"n",
  169. "5":"n",
  170. "6":"n",
  171. "7":"n",
  172. "8":"n",
  173. "9":"n",
  174. "10":"n",
  175. "11":"n",
  176. "12":"n",
  177. "13":"n",
  178. "14":"n",
  179. "15":"n",
  180. "16":"n",
  181. "17":"n",
  182. "18":"n",
  183. "19":"n",
  184. "20":"n",
  185. "21":"n",
  186. "22":"n",
  187. "23":"n",
  188. "24":"n",
  189. "25":"n",
  190. "26":"n",
  191. "27":"n",
  192. "28":"n",
  193. "29":"n",
  194. "30":"n",
  195. "31":"n",
  196. "32":"n",
  197. "33":"n",
  198. "34":"n",
  199. "35":"n",
  200. "36":"n",
  201. "37":"n",
  202. "38":"n",
  203. "39":"n",
  204. "40":"n",
  205. "41":"n",
  206. "42":"n",
  207. "43":"n",
  208. "44":"n",
  209. "45":"n",
  210. "46":"n",
  211. "47":"n",
  212. "48":"n",
  213. "49":"n",
  214. "50":"n",
  215. "51":"n",
  216. "52":"n",
  217. "53":"n",
  218. "54":"n",
  219. "55":"n",
  220. "56":"n",
  221. "57":"n",
  222. "58":"n",
  223. "59":"n",
  224. "60":"n d #1",
  225. "61":"y",
  226. "62":"y",
  227. "63":"y",
  228. "64":"y",
  229. "65":"y",
  230. "66":"y",
  231. "67":"y",
  232. "68":"y",
  233. "69":"y",
  234. "70":"y",
  235. "71":"y",
  236. "72":"y",
  237. "73":"y",
  238. "74":"y",
  239. "75":"y",
  240. "76":"y",
  241. "77":"y",
  242. "78":"y",
  243. "79":"y",
  244. "80":"y",
  245. "81":"y",
  246. "83":"y",
  247. "84":"y",
  248. "85":"y",
  249. "86":"y",
  250. "87":"y",
  251. "88":"y",
  252. "89":"y"
  253. },
  254. "safari":{
  255. "3.1":"n",
  256. "3.2":"n",
  257. "4":"n",
  258. "5":"n",
  259. "5.1":"n",
  260. "6":"n",
  261. "6.1":"n",
  262. "7":"n",
  263. "7.1":"n",
  264. "8":"n",
  265. "9":"n",
  266. "9.1":"n",
  267. "10":"n",
  268. "10.1":"a #4 #5",
  269. "11":"y",
  270. "11.1":"y",
  271. "12":"y",
  272. "12.1":"y",
  273. "13":"y",
  274. "13.1":"y",
  275. "14":"y",
  276. "TP":"y"
  277. },
  278. "opera":{
  279. "9":"n",
  280. "9.5-9.6":"n",
  281. "10.0-10.1":"n",
  282. "10.5":"n",
  283. "10.6":"n",
  284. "11":"n",
  285. "11.1":"n",
  286. "11.5":"n",
  287. "11.6":"n",
  288. "12":"n",
  289. "12.1":"n",
  290. "15":"n",
  291. "16":"n",
  292. "17":"n",
  293. "18":"n",
  294. "19":"n",
  295. "20":"n",
  296. "21":"n",
  297. "22":"n",
  298. "23":"n",
  299. "24":"n",
  300. "25":"n",
  301. "26":"n",
  302. "27":"n",
  303. "28":"n",
  304. "29":"n",
  305. "30":"n",
  306. "31":"n",
  307. "32":"n",
  308. "33":"n",
  309. "34":"n",
  310. "35":"n",
  311. "36":"n",
  312. "37":"n",
  313. "38":"n",
  314. "39":"n",
  315. "40":"n",
  316. "41":"n",
  317. "42":"n",
  318. "43":"n",
  319. "44":"n",
  320. "45":"n",
  321. "46":"n",
  322. "47":"n d #1",
  323. "48":"y",
  324. "49":"y",
  325. "50":"y",
  326. "51":"y",
  327. "52":"y",
  328. "53":"y",
  329. "54":"y",
  330. "55":"y",
  331. "56":"y",
  332. "57":"y",
  333. "58":"y",
  334. "60":"y",
  335. "62":"y",
  336. "63":"y",
  337. "64":"y",
  338. "65":"y",
  339. "66":"y",
  340. "67":"y",
  341. "68":"y",
  342. "69":"y",
  343. "70":"y",
  344. "71":"y"
  345. },
  346. "ios_saf":{
  347. "3.2":"n",
  348. "4.0-4.1":"n",
  349. "4.2-4.3":"n",
  350. "5.0-5.1":"n",
  351. "6.0-6.1":"n",
  352. "7.0-7.1":"n",
  353. "8":"n",
  354. "8.1-8.4":"n",
  355. "9.0-9.2":"n",
  356. "9.3":"n",
  357. "10.0-10.2":"n",
  358. "10.3":"a #4 #5",
  359. "11.0-11.2":"y",
  360. "11.3-11.4":"y",
  361. "12.0-12.1":"y",
  362. "12.2-12.4":"y",
  363. "13.0-13.1":"y",
  364. "13.2":"y",
  365. "13.3":"y",
  366. "13.4-13.7":"y",
  367. "14":"y"
  368. },
  369. "op_mini":{
  370. "all":"n"
  371. },
  372. "android":{
  373. "2.1":"n",
  374. "2.2":"n",
  375. "2.3":"n",
  376. "3":"n",
  377. "4":"n",
  378. "4.1":"n",
  379. "4.2-4.3":"n",
  380. "4.4":"n",
  381. "4.4.3-4.4.4":"n",
  382. "81":"y"
  383. },
  384. "bb":{
  385. "7":"n",
  386. "10":"n"
  387. },
  388. "op_mob":{
  389. "10":"n",
  390. "11":"n",
  391. "11.1":"n",
  392. "11.5":"n",
  393. "12":"n",
  394. "12.1":"n",
  395. "59":"n"
  396. },
  397. "and_chr":{
  398. "85":"y"
  399. },
  400. "and_ff":{
  401. "79":"y"
  402. },
  403. "ie_mob":{
  404. "10":"n",
  405. "11":"n"
  406. },
  407. "and_uc":{
  408. "12.12":"n"
  409. },
  410. "samsung":{
  411. "4":"n",
  412. "5.0-5.4":"n",
  413. "6.2-6.4":"n",
  414. "7.2-7.4":"n",
  415. "8.2":"y",
  416. "9.2":"y",
  417. "10.1":"y",
  418. "11.1-11.2":"y",
  419. "12.0":"y"
  420. },
  421. "and_qq":{
  422. "10.4":"y"
  423. },
  424. "baidu":{
  425. "7.12":"n"
  426. },
  427. "kaios":{
  428. "2.5":"n"
  429. }
  430. },
  431. "notes":"",
  432. "notes_by_num":{
  433. "1":"Support can be enabled via `about:flags`",
  434. "2":"Support can be enabled via `about:config`",
  435. "3":"Support can be enabled via the `experimental-web-platform-features` flag",
  436. "4":"Does not support the `nomodule` attribute",
  437. "5":"A [polyfill is available](https://gist.github.com/samthor/64b114e4a4f539915a95b91ffd340acc) for Safari 10.1/iOS Safari 10.3",
  438. "6":"`nomodule` scripts are not executed, but they're still fetched"
  439. },
  440. "usage_perc_y":92.72,
  441. "usage_perc_a":0.27,
  442. "ucprefix":false,
  443. "parent":"",
  444. "keywords":"es6,javascript,module,import,export,nomodule",
  445. "ie_id":"moduleses6",
  446. "chrome_id":"5365692190687232",
  447. "firefox_id":"",
  448. "webkit_id":"feature-modules",
  449. "shown":true
  450. }