lepu-test-platform-web/node_modules/caniuse-db/features-json/es6-module.json

446 lines
8.3 KiB
JSON
Raw Normal View History

{
"title":"JavaScript modules via script tag",
"description":"Loading JavaScript module scripts using `<script type=\"module\">` Includes support for the `nomodule` attribute.",
"spec":"https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type",
"status":"ls",
"links":[
{
"url":"https://strongloop.com/strongblog/an-introduction-to-javascript-es6-modules/",
"title":"Intro to ES6 modules"
},
{
"url":"https://blogs.windows.com/msedgedev/2016/05/17/es6-modules-and-beyond/",
"title":"MS Edge blog post"
},
{
"url":"https://hacks.mozilla.org/2015/08/es6-in-depth-modules/",
"title":"Mozilla hacks article"
},
{
"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=568953",
"title":"Firefox support bug"
},
{
"url":"https://blog.hospodarets.com/native-ecmascript-modules-the-first-overview",
"title":"Blog post: Native ECMAScript modules - the first overview"
},
{
"url":"https://tc39.es/ecma262/#sec-modules",
"title":"Counterpart ECMAScript specification for import/export syntax"
},
{
"url":"https://html.spec.whatwg.org/multipage/scripting.html#attr-script-nomodule",
"title":"Specification for nomodule attribute"
},
{
"url":"https://hospodarets.com/native-ecmascript-modules-nomodule",
"title":"Blog post on using nomodule"
},
{
"url":"https://gist.github.com/jakub-g/5fc11af85a061ca29cc84892f1059fec",
"title":"Will it double-fetch? Browser behavior with `module` / `nomodule` scripts"
}
],
"bugs":[
{
"description":"`nomodule` scripts are not executed in Edge, but they're still fetched"
},
{
"description":"Edge 17+ fetches HTML-declared <script type='module'> twice"
}
],
"categories":[
"JS"
],
"stats":{
"ie":{
"5.5":"n",
"6":"n",
"7":"n",
"8":"n",
"9":"n",
"10":"n",
"11":"n"
},
"edge":{
"12":"n",
"13":"n",
"14":"n",
"15":"n d #1 #6",
"16":"y #6",
"17":"y #6",
"18":"y #6",
"79":"y",
"80":"y",
"81":"y",
"83":"y",
"84":"y"
},
"firefox":{
"2":"n",
"3":"n",
"3.5":"n",
"3.6":"n",
"4":"n",
"5":"n",
"6":"n",
"7":"n",
"8":"n",
"9":"n",
"10":"n",
"11":"n",
"12":"n",
"13":"n",
"14":"n",
"15":"n",
"16":"n",
"17":"n",
"18":"n",
"19":"n",
"20":"n",
"21":"n",
"22":"n",
"23":"n",
"24":"n",
"25":"n",
"26":"n",
"27":"n",
"28":"n",
"29":"n",
"30":"n",
"31":"n",
"32":"n",
"33":"n",
"34":"n",
"35":"n",
"36":"n",
"37":"n",
"38":"n",
"39":"n",
"40":"n",
"41":"n",
"42":"n",
"43":"n",
"44":"n",
"45":"n",
"46":"n",
"47":"n",
"48":"n",
"49":"n",
"50":"n",
"51":"n",
"52":"n",
"53":"n",
"54":"n d #2",
"55":"n d #2",
"56":"n d #2",
"57":"n d #2",
"58":"n d #2",
"59":"n d #2",
"60":"y",
"61":"y",
"62":"y",
"63":"y",
"64":"y",
"65":"y",
"66":"y",
"67":"y",
"68":"y",
"69":"y",
"70":"y",
"71":"y",
"72":"y",
"73":"y",
"74":"y",
"75":"y",
"76":"y",
"77":"y",
"78":"y",
"79":"y",
"80":"y",
"81":"y",
"82":"y"
},
"chrome":{
"4":"n",
"5":"n",
"6":"n",
"7":"n",
"8":"n",
"9":"n",
"10":"n",
"11":"n",
"12":"n",
"13":"n",
"14":"n",
"15":"n",
"16":"n",
"17":"n",
"18":"n",
"19":"n",
"20":"n",
"21":"n",
"22":"n",
"23":"n",
"24":"n",
"25":"n",
"26":"n",
"27":"n",
"28":"n",
"29":"n",
"30":"n",
"31":"n",
"32":"n",
"33":"n",
"34":"n",
"35":"n",
"36":"n",
"37":"n",
"38":"n",
"39":"n",
"40":"n",
"41":"n",
"42":"n",
"43":"n",
"44":"n",
"45":"n",
"46":"n",
"47":"n",
"48":"n",
"49":"n",
"50":"n",
"51":"n",
"52":"n",
"53":"n",
"54":"n",
"55":"n",
"56":"n",
"57":"n",
"58":"n",
"59":"n",
"60":"n d #1",
"61":"y",
"62":"y",
"63":"y",
"64":"y",
"65":"y",
"66":"y",
"67":"y",
"68":"y",
"69":"y",
"70":"y",
"71":"y",
"72":"y",
"73":"y",
"74":"y",
"75":"y",
"76":"y",
"77":"y",
"78":"y",
"79":"y",
"80":"y",
"81":"y",
"83":"y",
"84":"y",
"85":"y",
"86":"y",
"87":"y",
"88":"y"
},
"safari":{
"3.1":"n",
"3.2":"n",
"4":"n",
"5":"n",
"5.1":"n",
"6":"n",
"6.1":"n",
"7":"n",
"7.1":"n",
"8":"n",
"9":"n",
"9.1":"n",
"10":"n",
"10.1":"a #4 #5",
"11":"y",
"11.1":"y",
"12":"y",
"12.1":"y",
"13":"y",
"13.1":"y",
"14":"y",
"TP":"y"
},
"opera":{
"9":"n",
"9.5-9.6":"n",
"10.0-10.1":"n",
"10.5":"n",
"10.6":"n",
"11":"n",
"11.1":"n",
"11.5":"n",
"11.6":"n",
"12":"n",
"12.1":"n",
"15":"n",
"16":"n",
"17":"n",
"18":"n",
"19":"n",
"20":"n",
"21":"n",
"22":"n",
"23":"n",
"24":"n",
"25":"n",
"26":"n",
"27":"n",
"28":"n",
"29":"n",
"30":"n",
"31":"n",
"32":"n",
"33":"n",
"34":"n",
"35":"n",
"36":"n",
"37":"n",
"38":"n",
"39":"n",
"40":"n",
"41":"n",
"42":"n",
"43":"n",
"44":"n",
"45":"n",
"46":"n",
"47":"n d #1",
"48":"y",
"49":"y",
"50":"y",
"51":"y",
"52":"y",
"53":"y",
"54":"y",
"55":"y",
"56":"y",
"57":"y",
"58":"y",
"60":"y",
"62":"y",
"63":"y",
"64":"y",
"65":"y",
"66":"y",
"67":"y",
"68":"y",
"69":"y",
"70":"y"
},
"ios_saf":{
"3.2":"n",
"4.0-4.1":"n",
"4.2-4.3":"n",
"5.0-5.1":"n",
"6.0-6.1":"n",
"7.0-7.1":"n",
"8":"n",
"8.1-8.4":"n",
"9.0-9.2":"n",
"9.3":"n",
"10.0-10.2":"n",
"10.3":"a #4 #5",
"11.0-11.2":"y",
"11.3-11.4":"y",
"12.0-12.1":"y",
"12.2-12.4":"y",
"13.0-13.1":"y",
"13.2":"y",
"13.3":"y",
"13.4-13.5":"y",
"14.0":"y"
},
"op_mini":{
"all":"n"
},
"android":{
"2.1":"n",
"2.2":"n",
"2.3":"n",
"3":"n",
"4":"n",
"4.1":"n",
"4.2-4.3":"n",
"4.4":"n",
"4.4.3-4.4.4":"n",
"81":"y"
},
"bb":{
"7":"n",
"10":"n"
},
"op_mob":{
"10":"n",
"11":"n",
"11.1":"n",
"11.5":"n",
"12":"n",
"12.1":"n",
"46":"n"
},
"and_chr":{
"84":"y"
},
"and_ff":{
"79":"y"
},
"ie_mob":{
"10":"n",
"11":"n"
},
"and_uc":{
"12.12":"n"
},
"samsung":{
"4":"n",
"5.0-5.4":"n",
"6.2-6.4":"n",
"7.2-7.4":"n",
"8.2":"y",
"9.2":"y",
"10.1":"y",
"11.1-11.2":"y",
"12.0":"y"
},
"and_qq":{
"10.4":"y"
},
"baidu":{
"7.12":"n"
},
"kaios":{
"2.5":"n"
}
},
"notes":"",
"notes_by_num":{
"1":"Support can be enabled via `about:flags`",
"2":"Support can be enabled via `about:config`",
"3":"Support can be enabled via the `experimental-web-platform-features` flag",
"4":"Does not support the `nomodule` attribute",
"5":"A [polyfill is available](https://gist.github.com/samthor/64b114e4a4f539915a95b91ffd340acc) for Safari 10.1/iOS Safari 10.3",
"6":"`nomodule` scripts are not executed, but they're still fetched"
},
"usage_perc_y":91.55,
"usage_perc_a":0.37,
"ucprefix":false,
"parent":"",
"keywords":"es6,javascript,module,import,export,nomodule",
"ie_id":"moduleses6",
"chrome_id":"5365692190687232",
"firefox_id":"",
"webkit_id":"feature-modules",
"shown":true
}