es6-module.json 7.3 KB

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