es6-module.json 7.5 KB

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