es6-module.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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.github.io/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. "76":"y"
  74. },
  75. "firefox":{
  76. "2":"n",
  77. "3":"n",
  78. "3.5":"n",
  79. "3.6":"n",
  80. "4":"n",
  81. "5":"n",
  82. "6":"n",
  83. "7":"n",
  84. "8":"n",
  85. "9":"n",
  86. "10":"n",
  87. "11":"n",
  88. "12":"n",
  89. "13":"n",
  90. "14":"n",
  91. "15":"n",
  92. "16":"n",
  93. "17":"n",
  94. "18":"n",
  95. "19":"n",
  96. "20":"n",
  97. "21":"n",
  98. "22":"n",
  99. "23":"n",
  100. "24":"n",
  101. "25":"n",
  102. "26":"n",
  103. "27":"n",
  104. "28":"n",
  105. "29":"n",
  106. "30":"n",
  107. "31":"n",
  108. "32":"n",
  109. "33":"n",
  110. "34":"n",
  111. "35":"n",
  112. "36":"n",
  113. "37":"n",
  114. "38":"n",
  115. "39":"n",
  116. "40":"n",
  117. "41":"n",
  118. "42":"n",
  119. "43":"n",
  120. "44":"n",
  121. "45":"n",
  122. "46":"n",
  123. "47":"n",
  124. "48":"n",
  125. "49":"n",
  126. "50":"n",
  127. "51":"n",
  128. "52":"n",
  129. "53":"n",
  130. "54":"n d #2",
  131. "55":"n d #2",
  132. "56":"n d #2",
  133. "57":"n d #2",
  134. "58":"n d #2",
  135. "59":"n d #2",
  136. "60":"y",
  137. "61":"y",
  138. "62":"y",
  139. "63":"y",
  140. "64":"y",
  141. "65":"y",
  142. "66":"y",
  143. "67":"y",
  144. "68":"y",
  145. "69":"y",
  146. "70":"y",
  147. "71":"y"
  148. },
  149. "chrome":{
  150. "4":"n",
  151. "5":"n",
  152. "6":"n",
  153. "7":"n",
  154. "8":"n",
  155. "9":"n",
  156. "10":"n",
  157. "11":"n",
  158. "12":"n",
  159. "13":"n",
  160. "14":"n",
  161. "15":"n",
  162. "16":"n",
  163. "17":"n",
  164. "18":"n",
  165. "19":"n",
  166. "20":"n",
  167. "21":"n",
  168. "22":"n",
  169. "23":"n",
  170. "24":"n",
  171. "25":"n",
  172. "26":"n",
  173. "27":"n",
  174. "28":"n",
  175. "29":"n",
  176. "30":"n",
  177. "31":"n",
  178. "32":"n",
  179. "33":"n",
  180. "34":"n",
  181. "35":"n",
  182. "36":"n",
  183. "37":"n",
  184. "38":"n",
  185. "39":"n",
  186. "40":"n",
  187. "41":"n",
  188. "42":"n",
  189. "43":"n",
  190. "44":"n",
  191. "45":"n",
  192. "46":"n",
  193. "47":"n",
  194. "48":"n",
  195. "49":"n",
  196. "50":"n",
  197. "51":"n",
  198. "52":"n",
  199. "53":"n",
  200. "54":"n",
  201. "55":"n",
  202. "56":"n",
  203. "57":"n",
  204. "58":"n",
  205. "59":"n",
  206. "60":"n d #1",
  207. "61":"y",
  208. "62":"y",
  209. "63":"y",
  210. "64":"y",
  211. "65":"y",
  212. "66":"y",
  213. "67":"y",
  214. "68":"y",
  215. "69":"y",
  216. "70":"y",
  217. "71":"y",
  218. "72":"y",
  219. "73":"y",
  220. "74":"y",
  221. "75":"y",
  222. "76":"y",
  223. "77":"y",
  224. "78":"y",
  225. "79":"y"
  226. },
  227. "safari":{
  228. "3.1":"n",
  229. "3.2":"n",
  230. "4":"n",
  231. "5":"n",
  232. "5.1":"n",
  233. "6":"n",
  234. "6.1":"n",
  235. "7":"n",
  236. "7.1":"n",
  237. "8":"n",
  238. "9":"n",
  239. "9.1":"n",
  240. "10":"n",
  241. "10.1":"a #4 #5",
  242. "11":"y",
  243. "11.1":"y",
  244. "12":"y",
  245. "12.1":"y",
  246. "13":"y",
  247. "TP":"y"
  248. },
  249. "opera":{
  250. "9":"n",
  251. "9.5-9.6":"n",
  252. "10.0-10.1":"n",
  253. "10.5":"n",
  254. "10.6":"n",
  255. "11":"n",
  256. "11.1":"n",
  257. "11.5":"n",
  258. "11.6":"n",
  259. "12":"n",
  260. "12.1":"n",
  261. "15":"n",
  262. "16":"n",
  263. "17":"n",
  264. "18":"n",
  265. "19":"n",
  266. "20":"n",
  267. "21":"n",
  268. "22":"n",
  269. "23":"n",
  270. "24":"n",
  271. "25":"n",
  272. "26":"n",
  273. "27":"n",
  274. "28":"n",
  275. "29":"n",
  276. "30":"n",
  277. "31":"n",
  278. "32":"n",
  279. "33":"n",
  280. "34":"n",
  281. "35":"n",
  282. "36":"n",
  283. "37":"n",
  284. "38":"n",
  285. "39":"n",
  286. "40":"n",
  287. "41":"n",
  288. "42":"n",
  289. "43":"n",
  290. "44":"n",
  291. "45":"n",
  292. "46":"n",
  293. "47":"n d #1",
  294. "48":"y",
  295. "49":"y",
  296. "50":"y",
  297. "51":"y",
  298. "52":"y",
  299. "53":"y",
  300. "54":"y",
  301. "55":"y",
  302. "56":"y",
  303. "57":"y",
  304. "58":"y",
  305. "60":"y",
  306. "62":"y"
  307. },
  308. "ios_saf":{
  309. "3.2":"n",
  310. "4.0-4.1":"n",
  311. "4.2-4.3":"n",
  312. "5.0-5.1":"n",
  313. "6.0-6.1":"n",
  314. "7.0-7.1":"n",
  315. "8":"n",
  316. "8.1-8.4":"n",
  317. "9.0-9.2":"n",
  318. "9.3":"n",
  319. "10.0-10.2":"n",
  320. "10.3":"a #4 #5",
  321. "11.0-11.2":"y",
  322. "11.3-11.4":"y",
  323. "12.0-12.1":"y",
  324. "12.2-12.3":"y",
  325. "13":"y"
  326. },
  327. "op_mini":{
  328. "all":"n"
  329. },
  330. "android":{
  331. "2.1":"n",
  332. "2.2":"n",
  333. "2.3":"n",
  334. "3":"n",
  335. "4":"n",
  336. "4.1":"n",
  337. "4.2-4.3":"n",
  338. "4.4":"n",
  339. "4.4.3-4.4.4":"n",
  340. "67":"y"
  341. },
  342. "bb":{
  343. "7":"n",
  344. "10":"n"
  345. },
  346. "op_mob":{
  347. "10":"n",
  348. "11":"n",
  349. "11.1":"n",
  350. "11.5":"n",
  351. "12":"n",
  352. "12.1":"n",
  353. "46":"n"
  354. },
  355. "and_chr":{
  356. "75":"y"
  357. },
  358. "and_ff":{
  359. "67":"y"
  360. },
  361. "ie_mob":{
  362. "10":"n",
  363. "11":"n"
  364. },
  365. "and_uc":{
  366. "12.12":"n"
  367. },
  368. "samsung":{
  369. "4":"n",
  370. "5.0-5.4":"n",
  371. "6.2-6.4":"n",
  372. "7.2-7.4":"n",
  373. "8.2":"y",
  374. "9.2":"y"
  375. },
  376. "and_qq":{
  377. "1.2":"n"
  378. },
  379. "baidu":{
  380. "7.12":"n"
  381. },
  382. "kaios":{
  383. "2.5":"n"
  384. }
  385. },
  386. "notes":"",
  387. "notes_by_num":{
  388. "1":"Support can be enabled via `about:flags`",
  389. "2":"Support can be enabled via `about:config`",
  390. "3":"Support can be enabled via the `experimental-web-platform-features` flag",
  391. "4":"Does not support the `nomodule` attribute",
  392. "5":"A [polyfill is available](https://gist.github.com/samthor/64b114e4a4f539915a95b91ffd340acc) for Safari 10.1/iOS Safari 10.3",
  393. "6":"`nomodule` scripts are not executed, but they're still fetched"
  394. },
  395. "usage_perc_y":86.73,
  396. "usage_perc_a":0.29,
  397. "ucprefix":false,
  398. "parent":"",
  399. "keywords":"es6,javascript,module,import,export,nomodule",
  400. "ie_id":"moduleses6",
  401. "chrome_id":"5365692190687232",
  402. "firefox_id":"",
  403. "webkit_id":"feature-modules",
  404. "shown":true
  405. }