diff --git a/data.json b/data.json new file mode 100644 index 000000000..81086dd9b --- /dev/null +++ b/data.json @@ -0,0 +1 @@ +{"recipes":[{"title":"0","ingredients":"e","instructions":"f","id":2},{"title":"1","ingredients":"p","instructions":"p","id":1},{"title":"2","ingredients":"pr","instructions":"pr","id":2},{"title":"3","ingredients":"prz","instructions":"prz","id":3},{"title":"4","ingredients":"prza","instructions":"prza","id":4}]} diff --git a/index.js b/index.js new file mode 100644 index 000000000..c29a594c4 --- /dev/null +++ b/index.js @@ -0,0 +1,134 @@ +// const jsonfile = require('jsonfile'); +// const express = require('express'); +// const methodOverride = require('method-override'); + +// const app = express(); + +// app.use(methodOverride('_method')); +// app.use(express.json()); +// app.use(express.urlencoded ({ +// extended: true, +// })) + +// const reactEngine = require('express-react-views').createEngine(); + +// app.engine('jsx', reactEngine); + +// app.set('views',__dirname+'/views'); + +// app.set('view engine', 'jsx'); + +const jsonfile = require('jsonfile'); + +const file = 'data.json'; + +const express = require('express'); + +const app = express(); + +app.use(express.static(__dirname+'/public/')); + +app.use(express.json()); + +app.use(express.urlencoded({ + extended: true, +})); + +const methodOverride = require('method-override'); +const { response } = require('express'); + +app.use(methodOverride('_method')); + +const reactEngine = require('express-react-views').createEngine(); + +app.engine('jsx', reactEngine); + +app.set('views', __dirname + '/views'); + +app.set('view engine', 'jsx'); + +app.get('/', (req,res) => { + res.send('hello!'); +}) + +app.get('/recipes/new', (req,res) => { + res.render('form') +}) + +app.post('/recipes', (req,res) => { + + jsonfile.readFile( 'data.json', (err,obj) => { + + let id = obj.recipes.length; + req.body.id = id; + obj.recipes.push(req.body); + + jsonfile.writeFile( 'data.json', obj, (err) => { + if (err) throw (err); + } ); + }) + res.send(req.body); +}) + +app.get('/recipes/', (req, res) => { + jsonfile.readFile( 'data.json', (err,obj) => { + res.render('recipes', obj); + }) +}) + +app.get('/recipes/:id', (req,res) => { + jsonfile.readFile( 'data.json', (err,obj) => { + let recipes = obj.recipes; + let id = req.params.id - 1; + let selectedRecipe = recipes[id]; + + res.render('recipe', selectedRecipe); + }) +}) + +app.get('/recipes/:userInput/edit', (req,res) => { + jsonfile.readFile( 'data.json', (err,obj) => { + let recipes = obj.recipes; + let id = req.params.userInput - 1; + let selectedRecipe = recipes[id]; + + res.render('edit', selectedRecipe); + }) +}) + +app.put('/recipes/:userInput', (req,res) => { + jsonfile.readFile( 'data.json', (err,obj) => { + let recipes = obj.recipes; + let id = req.params.userInput - 1; + let updatedRecipe = recipes[id]; + + updatedRecipe.ingredients = req.body.ingredients; + updatedRecipe.instructions = req.body.instructions; + + jsonfile.writeFile( 'data.json', obj, (err) =>{ + if (err) throw (err); + }) + + res.send(updatedRecipe); + }) +}) + +app.delete( '/recipes/:userInput', (req,res) => { + jsonfile.readFile( 'data.json', (err,obj) => { + let recipes = obj.recipes; + let id = req.params.userInput - 1; + let updatedRecipe = recipes[id]; + + let totalRecipes = recipes.splice(id, 1); + + jsonfile.writeFile( 'data.json', obj, (err) =>{ + if (err) throw (err); + }) + + res.send('deleted'); + }) +}) + +app.listen(3000, ()=>{ + console.log("Server is listening at port 3000") +}); \ No newline at end of file diff --git a/node_modules/.bin/browserslist b/node_modules/.bin/browserslist new file mode 120000 index 000000000..3cd991b25 --- /dev/null +++ b/node_modules/.bin/browserslist @@ -0,0 +1 @@ +../browserslist/cli.js \ No newline at end of file diff --git a/node_modules/.bin/css-beautify b/node_modules/.bin/css-beautify new file mode 120000 index 000000000..d9b8ee281 --- /dev/null +++ b/node_modules/.bin/css-beautify @@ -0,0 +1 @@ +../js-beautify/js/bin/css-beautify.js \ No newline at end of file diff --git a/node_modules/.bin/editorconfig b/node_modules/.bin/editorconfig new file mode 120000 index 000000000..a151e0b8d --- /dev/null +++ b/node_modules/.bin/editorconfig @@ -0,0 +1 @@ +../editorconfig/bin/editorconfig \ No newline at end of file diff --git a/node_modules/.bin/html-beautify b/node_modules/.bin/html-beautify new file mode 120000 index 000000000..c17c69c37 --- /dev/null +++ b/node_modules/.bin/html-beautify @@ -0,0 +1 @@ +../js-beautify/js/bin/html-beautify.js \ No newline at end of file diff --git a/node_modules/.bin/js-beautify b/node_modules/.bin/js-beautify new file mode 120000 index 000000000..548ddf4be --- /dev/null +++ b/node_modules/.bin/js-beautify @@ -0,0 +1 @@ +../js-beautify/js/bin/js-beautify.js \ No newline at end of file diff --git a/node_modules/.bin/jsesc b/node_modules/.bin/jsesc new file mode 120000 index 000000000..7237604c3 --- /dev/null +++ b/node_modules/.bin/jsesc @@ -0,0 +1 @@ +../jsesc/bin/jsesc \ No newline at end of file diff --git a/node_modules/.bin/json5 b/node_modules/.bin/json5 new file mode 120000 index 000000000..217f37981 --- /dev/null +++ b/node_modules/.bin/json5 @@ -0,0 +1 @@ +../json5/lib/cli.js \ No newline at end of file diff --git a/node_modules/.bin/loose-envify b/node_modules/.bin/loose-envify new file mode 120000 index 000000000..ed9009c5a --- /dev/null +++ b/node_modules/.bin/loose-envify @@ -0,0 +1 @@ +../loose-envify/cli.js \ No newline at end of file diff --git a/node_modules/.bin/mime b/node_modules/.bin/mime new file mode 120000 index 000000000..fbb7ee0ee --- /dev/null +++ b/node_modules/.bin/mime @@ -0,0 +1 @@ +../mime/cli.js \ No newline at end of file diff --git a/node_modules/.bin/mkdirp b/node_modules/.bin/mkdirp new file mode 120000 index 000000000..017896ceb --- /dev/null +++ b/node_modules/.bin/mkdirp @@ -0,0 +1 @@ +../mkdirp/bin/cmd.js \ No newline at end of file diff --git a/node_modules/.bin/nopt b/node_modules/.bin/nopt new file mode 120000 index 000000000..6b6566ea7 --- /dev/null +++ b/node_modules/.bin/nopt @@ -0,0 +1 @@ +../nopt/bin/nopt.js \ No newline at end of file diff --git a/node_modules/.bin/parser b/node_modules/.bin/parser new file mode 120000 index 000000000..ce7bf97ef --- /dev/null +++ b/node_modules/.bin/parser @@ -0,0 +1 @@ +../@babel/parser/bin/babel-parser.js \ No newline at end of file diff --git a/node_modules/.bin/regjsparser b/node_modules/.bin/regjsparser new file mode 120000 index 000000000..91cec777d --- /dev/null +++ b/node_modules/.bin/regjsparser @@ -0,0 +1 @@ +../regjsparser/bin/parser \ No newline at end of file diff --git a/node_modules/.bin/semver b/node_modules/.bin/semver new file mode 120000 index 000000000..317eb293d --- /dev/null +++ b/node_modules/.bin/semver @@ -0,0 +1 @@ +../semver/bin/semver \ No newline at end of file diff --git a/node_modules/.cache/@babel/register/.babel.7.11.4.development.json b/node_modules/.cache/@babel/register/.babel.7.11.4.development.json new file mode 100644 index 000000000..25af08bdc --- /dev/null +++ b/node_modules/.cache/@babel/register/.babel.7.11.4.development.json @@ -0,0 +1,2759 @@ +{ + "{\"sourceRoot\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/\",\"caller\":{\"name\":\"@babel/register\"},\"cwd\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper\",\"filename\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/form.jsx\",\"cloneInputAst\":true,\"babelrc\":false,\"configFile\":false,\"passPerPreset\":false,\"envName\":\"development\",\"root\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper\",\"plugins\":[{\"key\":\"transform-flow-strip-types\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]},\"ImportDeclaration\":{\"enter\":[null,null]},\"ClassPrivateProperty\":{\"enter\":[null]},\"AssignmentPattern\":{\"enter\":[null]},\"TypeCastExpression\":{\"enter\":[null,null]},\"CallExpression\":{\"enter\":[null]},\"OptionalCallExpression\":{\"enter\":[null]},\"NewExpression\":{\"enter\":[null]},\"ImportSpecifier\":{\"enter\":[null]},\"ClassExpression\":{\"enter\":[null]},\"ClassDeclaration\":{\"enter\":[null]},\"FunctionDeclaration\":{\"enter\":[null]},\"FunctionExpression\":{\"enter\":[null]},\"ObjectMethod\":{\"enter\":[null]},\"ArrowFunctionExpression\":{\"enter\":[null]},\"ClassMethod\":{\"enter\":[null]},\"ClassPrivateMethod\":{\"enter\":[null]},\"AnyTypeAnnotation\":{\"enter\":[null]},\"ArrayTypeAnnotation\":{\"enter\":[null]},\"BooleanTypeAnnotation\":{\"enter\":[null]},\"BooleanLiteralTypeAnnotation\":{\"enter\":[null]},\"NullLiteralTypeAnnotation\":{\"enter\":[null]},\"ClassImplements\":{\"enter\":[null]},\"DeclareClass\":{\"enter\":[null]},\"DeclareFunction\":{\"enter\":[null]},\"DeclareInterface\":{\"enter\":[null]},\"DeclareModule\":{\"enter\":[null]},\"DeclareModuleExports\":{\"enter\":[null]},\"DeclareTypeAlias\":{\"enter\":[null]},\"DeclareOpaqueType\":{\"enter\":[null]},\"DeclareVariable\":{\"enter\":[null]},\"DeclareExportDeclaration\":{\"enter\":[null]},\"DeclareExportAllDeclaration\":{\"enter\":[null]},\"DeclaredPredicate\":{\"enter\":[null]},\"ExistsTypeAnnotation\":{\"enter\":[null]},\"FunctionTypeAnnotation\":{\"enter\":[null]},\"FunctionTypeParam\":{\"enter\":[null]},\"GenericTypeAnnotation\":{\"enter\":[null]},\"InferredPredicate\":{\"enter\":[null]},\"InterfaceExtends\":{\"enter\":[null]},\"InterfaceDeclaration\":{\"enter\":[null]},\"InterfaceTypeAnnotation\":{\"enter\":[null]},\"IntersectionTypeAnnotation\":{\"enter\":[null]},\"MixedTypeAnnotation\":{\"enter\":[null]},\"EmptyTypeAnnotation\":{\"enter\":[null]},\"NullableTypeAnnotation\":{\"enter\":[null]},\"NumberLiteralTypeAnnotation\":{\"enter\":[null]},\"NumberTypeAnnotation\":{\"enter\":[null]},\"ObjectTypeAnnotation\":{\"enter\":[null]},\"ObjectTypeInternalSlot\":{\"enter\":[null]},\"ObjectTypeCallProperty\":{\"enter\":[null]},\"ObjectTypeIndexer\":{\"enter\":[null]},\"ObjectTypeProperty\":{\"enter\":[null]},\"ObjectTypeSpreadProperty\":{\"enter\":[null]},\"OpaqueType\":{\"enter\":[null]},\"QualifiedTypeIdentifier\":{\"enter\":[null]},\"StringLiteralTypeAnnotation\":{\"enter\":[null]},\"StringTypeAnnotation\":{\"enter\":[null]},\"SymbolTypeAnnotation\":{\"enter\":[null]},\"ThisTypeAnnotation\":{\"enter\":[null]},\"TupleTypeAnnotation\":{\"enter\":[null]},\"TypeofTypeAnnotation\":{\"enter\":[null]},\"TypeAlias\":{\"enter\":[null]},\"TypeAnnotation\":{\"enter\":[null]},\"TypeParameter\":{\"enter\":[null]},\"TypeParameterDeclaration\":{\"enter\":[null]},\"TypeParameterInstantiation\":{\"enter\":[null]},\"UnionTypeAnnotation\":{\"enter\":[null]},\"Variance\":{\"enter\":[null]},\"VoidTypeAnnotation\":{\"enter\":[null]},\"ExportAllDeclaration\":{\"enter\":[null]},\"ExportDefaultDeclaration\":{\"enter\":[null]},\"ExportNamedDeclaration\":{\"enter\":[null]}},\"options\":{}},{\"key\":\"syntax-numeric-separator\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-logical-assignment-operators\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"AssignmentExpression\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-nullish-coalescing-operator\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-optional-chaining\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-json-strings\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-optional-catch-binding\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-async-generators\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-object-rest-spread\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-modules-commonjs\",\"visitor\":{\"CallExpression\":{\"enter\":[null]},\"Program\":{\"exit\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-dynamic-import\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-export-namespace-from\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"ExportNamedDeclaration\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-react-jsx\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"JSXNamespacedName\":{\"enter\":[null]},\"JSXSpreadChild\":{\"enter\":[null]},\"JSXElement\":{\"exit\":[null]},\"JSXFragment\":{\"exit\":[null]},\"Program\":{\"enter\":[null],\"exit\":[null]},\"JSXAttribute\":{\"enter\":[null]}},\"options\":{\"pragma\":\"React.createElement\",\"pragmaFrag\":\"React.Fragment\",\"runtime\":\"classic\",\"throwIfNamespace\":true,\"useBuiltIns\":false}},{\"key\":\"transform-react-display-name\",\"visitor\":{\"ExportDefaultDeclaration\":{\"enter\":[null]},\"CallExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}},{\"key\":\"transform-react-pure-annotations\",\"visitor\":{\"CallExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}}],\"presets\":[]}:7.11.4": { + "metadata": {}, + "options": { + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "caller": { + "name": "@babel/register" + }, + "cwd": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper", + "filename": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/form.jsx", + "cloneInputAst": true, + "babelrc": false, + "configFile": false, + "envName": "development", + "root": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper", + "sourceMaps": "both", + "ast": false, + "passPerPreset": false, + "plugins": [ + { + "key": "transform-flow-strip-types", + "visitor": { + "_exploded": {}, + "_verified": {}, + "Program": { + "enter": [ + null + ] + }, + "ImportDeclaration": { + "enter": [ + null, + null + ] + }, + "ClassPrivateProperty": { + "enter": [ + null + ] + }, + "AssignmentPattern": { + "enter": [ + null + ] + }, + "TypeCastExpression": { + "enter": [ + null, + null + ] + }, + "CallExpression": { + "enter": [ + null + ] + }, + "OptionalCallExpression": { + "enter": [ + null + ] + }, + "NewExpression": { + "enter": [ + null + ] + }, + "ImportSpecifier": { + "enter": [ + null + ] + }, + "ClassExpression": { + "enter": [ + null + ] + }, + "ClassDeclaration": { + "enter": [ + null + ] + }, + "FunctionDeclaration": { + "enter": [ + null + ] + }, + "FunctionExpression": { + "enter": [ + null + ] + }, + "ObjectMethod": { + "enter": [ + null + ] + }, + "ArrowFunctionExpression": { + "enter": [ + null + ] + }, + "ClassMethod": { + "enter": [ + null + ] + }, + "ClassPrivateMethod": { + "enter": [ + null + ] + }, + "AnyTypeAnnotation": { + "enter": [ + null + ] + }, + "ArrayTypeAnnotation": { + "enter": [ + null + ] + }, + "BooleanTypeAnnotation": { + "enter": [ + null + ] + }, + "BooleanLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "NullLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "ClassImplements": { + "enter": [ + null + ] + }, + "DeclareClass": { + "enter": [ + null + ] + }, + "DeclareFunction": { + "enter": [ + null + ] + }, + "DeclareInterface": { + "enter": [ + null + ] + }, + "DeclareModule": { + "enter": [ + null + ] + }, + "DeclareModuleExports": { + "enter": [ + null + ] + }, + "DeclareTypeAlias": { + "enter": [ + null + ] + }, + "DeclareOpaqueType": { + "enter": [ + null + ] + }, + "DeclareVariable": { + "enter": [ + null + ] + }, + "DeclareExportDeclaration": { + "enter": [ + null + ] + }, + "DeclareExportAllDeclaration": { + "enter": [ + null + ] + }, + "DeclaredPredicate": { + "enter": [ + null + ] + }, + "ExistsTypeAnnotation": { + "enter": [ + null + ] + }, + "FunctionTypeAnnotation": { + "enter": [ + null + ] + }, + "FunctionTypeParam": { + "enter": [ + null + ] + }, + "GenericTypeAnnotation": { + "enter": [ + null + ] + }, + "InferredPredicate": { + "enter": [ + null + ] + }, + "InterfaceExtends": { + "enter": [ + null + ] + }, + "InterfaceDeclaration": { + "enter": [ + null + ] + }, + "InterfaceTypeAnnotation": { + "enter": [ + null + ] + }, + "IntersectionTypeAnnotation": { + "enter": [ + null + ] + }, + "MixedTypeAnnotation": { + "enter": [ + null + ] + }, + "EmptyTypeAnnotation": { + "enter": [ + null + ] + }, + "NullableTypeAnnotation": { + "enter": [ + null + ] + }, + "NumberLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "NumberTypeAnnotation": { + "enter": [ + null + ] + }, + "ObjectTypeAnnotation": { + "enter": [ + null + ] + }, + "ObjectTypeInternalSlot": { + "enter": [ + null + ] + }, + "ObjectTypeCallProperty": { + "enter": [ + null + ] + }, + "ObjectTypeIndexer": { + "enter": [ + null + ] + }, + "ObjectTypeProperty": { + "enter": [ + null + ] + }, + "ObjectTypeSpreadProperty": { + "enter": [ + null + ] + }, + "OpaqueType": { + "enter": [ + null + ] + }, + "QualifiedTypeIdentifier": { + "enter": [ + null + ] + }, + "StringLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "StringTypeAnnotation": { + "enter": [ + null + ] + }, + "SymbolTypeAnnotation": { + "enter": [ + null + ] + }, + "ThisTypeAnnotation": { + "enter": [ + null + ] + }, + "TupleTypeAnnotation": { + "enter": [ + null + ] + }, + "TypeofTypeAnnotation": { + "enter": [ + null + ] + }, + "TypeAlias": { + "enter": [ + null + ] + }, + "TypeAnnotation": { + "enter": [ + null + ] + }, + "TypeParameter": { + "enter": [ + null + ] + }, + "TypeParameterDeclaration": { + "enter": [ + null + ] + }, + "TypeParameterInstantiation": { + "enter": [ + null + ] + }, + "UnionTypeAnnotation": { + "enter": [ + null + ] + }, + "Variance": { + "enter": [ + null + ] + }, + "VoidTypeAnnotation": { + "enter": [ + null + ] + }, + "ExportAllDeclaration": { + "enter": [ + null + ] + }, + "ExportDefaultDeclaration": { + "enter": [ + null + ] + }, + "ExportNamedDeclaration": { + "enter": [ + null + ] + } + }, + "options": {} + }, + { + "key": "syntax-numeric-separator", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-logical-assignment-operators", + "visitor": { + "_exploded": {}, + "_verified": {}, + "AssignmentExpression": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-nullish-coalescing-operator", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-optional-chaining", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-json-strings", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-optional-catch-binding", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-async-generators", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-object-rest-spread", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "transform-modules-commonjs", + "visitor": { + "CallExpression": { + "enter": [ + null + ] + }, + "Program": { + "exit": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-dynamic-import", + "visitor": { + "_exploded": {}, + "_verified": {}, + "Program": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-export-namespace-from", + "visitor": { + "_exploded": {}, + "_verified": {}, + "ExportNamedDeclaration": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "transform-react-jsx", + "visitor": { + "_exploded": {}, + "_verified": {}, + "JSXNamespacedName": { + "enter": [ + null + ] + }, + "JSXSpreadChild": { + "enter": [ + null + ] + }, + "JSXElement": { + "exit": [ + null + ] + }, + "JSXFragment": { + "exit": [ + null + ] + }, + "Program": { + "enter": [ + null + ], + "exit": [ + null + ] + }, + "JSXAttribute": { + "enter": [ + null + ] + } + }, + "options": { + "pragma": "React.createElement", + "pragmaFrag": "React.Fragment", + "runtime": "classic", + "throwIfNamespace": true, + "useBuiltIns": false + } + }, + { + "key": "transform-react-display-name", + "visitor": { + "ExportDefaultDeclaration": { + "enter": [ + null + ] + }, + "CallExpression": { + "enter": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": {} + }, + { + "key": "transform-react-pure-annotations", + "visitor": { + "CallExpression": { + "enter": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": {} + } + ], + "presets": [], + "parserOpts": { + "sourceType": "module", + "sourceFileName": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/form.jsx", + "plugins": [ + [ + "flow", + {} + ], + "numericSeparator", + "logicalAssignment", + "nullishCoalescingOperator", + "optionalChaining", + "jsonStrings", + "optionalCatchBinding", + "asyncGenerators", + "objectRestSpread", + "dynamicImport", + "exportNamespaceFrom", + "jsx" + ] + }, + "generatorOpts": { + "filename": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/form.jsx", + "comments": true, + "compact": "auto", + "sourceMaps": "both", + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "sourceFileName": "form.jsx" + } + }, + "ast": null, + "code": "\"use strict\";\n\nconst React = require('React');\n\nclass Form extends React.Component {\n render() {\n return /*#__PURE__*/React.createElement(\"form\", {\n method: \"POST\",\n action: \"/recipes\"\n }, \"Recipe Title: \", /*#__PURE__*/React.createElement(\"input\", {\n type: \"text\",\n name: \"title\"\n }), /*#__PURE__*/React.createElement(\"br\", null), \"Recipe Ingredients: \", /*#__PURE__*/React.createElement(\"input\", {\n type: \"text\",\n name: \"ingredients\"\n }), /*#__PURE__*/React.createElement(\"br\", null), \"Recipe Instructions: \", /*#__PURE__*/React.createElement(\"input\", {\n type: \"text\",\n name: \"instructions\"\n }), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"input\", {\n type: \"submit\",\n value: \"submit\"\n }));\n }\n\n}\n\nmodule.exports = Form;\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZvcm0uanN4Il0sIm5hbWVzIjpbIlJlYWN0IiwicmVxdWlyZSIsIkZvcm0iLCJDb21wb25lbnQiLCJyZW5kZXIiLCJtb2R1bGUiLCJleHBvcnRzIl0sIm1hcHBpbmdzIjoiOztBQUFBLE1BQU1BLEtBQUssR0FBR0MsT0FBTyxDQUFDLE9BQUQsQ0FBckI7O0FBRUEsTUFBTUMsSUFBTixTQUFtQkYsS0FBSyxDQUFDRyxTQUF6QixDQUFtQztBQUMvQkMsRUFBQUEsTUFBTSxHQUFJO0FBRU4sd0JBQ0k7QUFBTSxNQUFBLE1BQU0sRUFBRyxNQUFmO0FBQXNCLE1BQUEsTUFBTSxFQUFHO0FBQS9CLHNDQUNrQjtBQUFPLE1BQUEsSUFBSSxFQUFDLE1BQVo7QUFBbUIsTUFBQSxJQUFJLEVBQUc7QUFBMUIsTUFEbEIsZUFFSSwrQkFGSix1Q0FHd0I7QUFBTyxNQUFBLElBQUksRUFBQyxNQUFaO0FBQW1CLE1BQUEsSUFBSSxFQUFHO0FBQTFCLE1BSHhCLGVBSUksK0JBSkosd0NBS3lCO0FBQU8sTUFBQSxJQUFJLEVBQUMsTUFBWjtBQUFtQixNQUFBLElBQUksRUFBRztBQUExQixNQUx6QixlQU1JLCtCQU5KLGVBT0k7QUFBTyxNQUFBLElBQUksRUFBRyxRQUFkO0FBQXVCLE1BQUEsS0FBSyxFQUFHO0FBQS9CLE1BUEosQ0FESjtBQVdIOztBQWQ4Qjs7QUFpQm5DQyxNQUFNLENBQUNDLE9BQVAsR0FBaUJKLElBQWpCIiwic291cmNlUm9vdCI6Ii9Vc2Vycy93b25nam9leS9EZXNrdG9wL2dlbmVyYWwtYXNzZW1ibHkvU0VJLTI0L2Fzc2lnbm1lbnRzL3dlZWs0L3JlY2lwZS1rZWVwZXIvdmlld3MvIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgUmVhY3QgPSByZXF1aXJlKCdSZWFjdCcpO1xuXG5jbGFzcyBGb3JtIGV4dGVuZHMgUmVhY3QuQ29tcG9uZW50IHtcbiAgICByZW5kZXIgKCkge1xuXG4gICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8Zm9ybSBtZXRob2QgPSBcIlBPU1RcIiBhY3Rpb24gPSBcIi9yZWNpcGVzXCI+XG4gICAgICAgICAgICAgICAgUmVjaXBlIFRpdGxlOiA8aW5wdXQgdHlwZT1cInRleHRcIiBuYW1lID0gXCJ0aXRsZVwiLz5cbiAgICAgICAgICAgICAgICA8YnIvPlxuICAgICAgICAgICAgICAgIFJlY2lwZSBJbmdyZWRpZW50czogPGlucHV0IHR5cGU9XCJ0ZXh0XCIgbmFtZSA9IFwiaW5ncmVkaWVudHNcIi8+XG4gICAgICAgICAgICAgICAgPGJyLz5cbiAgICAgICAgICAgICAgICBSZWNpcGUgSW5zdHJ1Y3Rpb25zOiA8aW5wdXQgdHlwZT1cInRleHRcIiBuYW1lID0gXCJpbnN0cnVjdGlvbnNcIi8+XG4gICAgICAgICAgICAgICAgPGJyLz5cbiAgICAgICAgICAgICAgICA8aW5wdXQgdHlwZSA9IFwic3VibWl0XCIgdmFsdWUgPSBcInN1Ym1pdFwiLz5cbiAgICAgICAgICAgIDwvZm9ybT5cbiAgICAgICAgKVxuICAgIH1cbn1cblxubW9kdWxlLmV4cG9ydHMgPSBGb3JtOyJdfQ==", + "map": { + "version": 3, + "sources": [ + "form.jsx" + ], + "names": [ + "React", + "require", + "Form", + "Component", + "render", + "module", + "exports" + ], + "mappings": ";;AAAA,MAAMA,KAAK,GAAGC,OAAO,CAAC,OAAD,CAArB;;AAEA,MAAMC,IAAN,SAAmBF,KAAK,CAACG,SAAzB,CAAmC;AAC/BC,EAAAA,MAAM,GAAI;AAEN,wBACI;AAAM,MAAA,MAAM,EAAG,MAAf;AAAsB,MAAA,MAAM,EAAG;AAA/B,sCACkB;AAAO,MAAA,IAAI,EAAC,MAAZ;AAAmB,MAAA,IAAI,EAAG;AAA1B,MADlB,eAEI,+BAFJ,uCAGwB;AAAO,MAAA,IAAI,EAAC,MAAZ;AAAmB,MAAA,IAAI,EAAG;AAA1B,MAHxB,eAII,+BAJJ,wCAKyB;AAAO,MAAA,IAAI,EAAC,MAAZ;AAAmB,MAAA,IAAI,EAAG;AAA1B,MALzB,eAMI,+BANJ,eAOI;AAAO,MAAA,IAAI,EAAG,QAAd;AAAuB,MAAA,KAAK,EAAG;AAA/B,MAPJ,CADJ;AAWH;;AAd8B;;AAiBnCC,MAAM,CAACC,OAAP,GAAiBJ,IAAjB", + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "sourcesContent": [ + "const React = require('React');\n\nclass Form extends React.Component {\n render () {\n\n return (\n
\n Recipe Title: \n
\n Recipe Ingredients: \n
\n Recipe Instructions: \n
\n \n
\n )\n }\n}\n\nmodule.exports = Form;" + ] + }, + "sourceType": "script", + "mtime": 1598372827165 + }, + "{\"sourceRoot\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/\",\"caller\":{\"name\":\"@babel/register\"},\"cwd\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper\",\"filename\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/recipes.jsx\",\"cloneInputAst\":true,\"babelrc\":false,\"configFile\":false,\"passPerPreset\":false,\"envName\":\"development\",\"root\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper\",\"plugins\":[{\"key\":\"transform-flow-strip-types\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]},\"ImportDeclaration\":{\"enter\":[null,null]},\"ClassPrivateProperty\":{\"enter\":[null]},\"AssignmentPattern\":{\"enter\":[null]},\"TypeCastExpression\":{\"enter\":[null,null]},\"CallExpression\":{\"enter\":[null]},\"OptionalCallExpression\":{\"enter\":[null]},\"NewExpression\":{\"enter\":[null]},\"ImportSpecifier\":{\"enter\":[null]},\"ClassExpression\":{\"enter\":[null]},\"ClassDeclaration\":{\"enter\":[null]},\"FunctionDeclaration\":{\"enter\":[null]},\"FunctionExpression\":{\"enter\":[null]},\"ObjectMethod\":{\"enter\":[null]},\"ArrowFunctionExpression\":{\"enter\":[null]},\"ClassMethod\":{\"enter\":[null]},\"ClassPrivateMethod\":{\"enter\":[null]},\"AnyTypeAnnotation\":{\"enter\":[null]},\"ArrayTypeAnnotation\":{\"enter\":[null]},\"BooleanTypeAnnotation\":{\"enter\":[null]},\"BooleanLiteralTypeAnnotation\":{\"enter\":[null]},\"NullLiteralTypeAnnotation\":{\"enter\":[null]},\"ClassImplements\":{\"enter\":[null]},\"DeclareClass\":{\"enter\":[null]},\"DeclareFunction\":{\"enter\":[null]},\"DeclareInterface\":{\"enter\":[null]},\"DeclareModule\":{\"enter\":[null]},\"DeclareModuleExports\":{\"enter\":[null]},\"DeclareTypeAlias\":{\"enter\":[null]},\"DeclareOpaqueType\":{\"enter\":[null]},\"DeclareVariable\":{\"enter\":[null]},\"DeclareExportDeclaration\":{\"enter\":[null]},\"DeclareExportAllDeclaration\":{\"enter\":[null]},\"DeclaredPredicate\":{\"enter\":[null]},\"ExistsTypeAnnotation\":{\"enter\":[null]},\"FunctionTypeAnnotation\":{\"enter\":[null]},\"FunctionTypeParam\":{\"enter\":[null]},\"GenericTypeAnnotation\":{\"enter\":[null]},\"InferredPredicate\":{\"enter\":[null]},\"InterfaceExtends\":{\"enter\":[null]},\"InterfaceDeclaration\":{\"enter\":[null]},\"InterfaceTypeAnnotation\":{\"enter\":[null]},\"IntersectionTypeAnnotation\":{\"enter\":[null]},\"MixedTypeAnnotation\":{\"enter\":[null]},\"EmptyTypeAnnotation\":{\"enter\":[null]},\"NullableTypeAnnotation\":{\"enter\":[null]},\"NumberLiteralTypeAnnotation\":{\"enter\":[null]},\"NumberTypeAnnotation\":{\"enter\":[null]},\"ObjectTypeAnnotation\":{\"enter\":[null]},\"ObjectTypeInternalSlot\":{\"enter\":[null]},\"ObjectTypeCallProperty\":{\"enter\":[null]},\"ObjectTypeIndexer\":{\"enter\":[null]},\"ObjectTypeProperty\":{\"enter\":[null]},\"ObjectTypeSpreadProperty\":{\"enter\":[null]},\"OpaqueType\":{\"enter\":[null]},\"QualifiedTypeIdentifier\":{\"enter\":[null]},\"StringLiteralTypeAnnotation\":{\"enter\":[null]},\"StringTypeAnnotation\":{\"enter\":[null]},\"SymbolTypeAnnotation\":{\"enter\":[null]},\"ThisTypeAnnotation\":{\"enter\":[null]},\"TupleTypeAnnotation\":{\"enter\":[null]},\"TypeofTypeAnnotation\":{\"enter\":[null]},\"TypeAlias\":{\"enter\":[null]},\"TypeAnnotation\":{\"enter\":[null]},\"TypeParameter\":{\"enter\":[null]},\"TypeParameterDeclaration\":{\"enter\":[null]},\"TypeParameterInstantiation\":{\"enter\":[null]},\"UnionTypeAnnotation\":{\"enter\":[null]},\"Variance\":{\"enter\":[null]},\"VoidTypeAnnotation\":{\"enter\":[null]},\"ExportAllDeclaration\":{\"enter\":[null]},\"ExportDefaultDeclaration\":{\"enter\":[null]},\"ExportNamedDeclaration\":{\"enter\":[null]}},\"options\":{}},{\"key\":\"syntax-numeric-separator\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-logical-assignment-operators\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"AssignmentExpression\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-nullish-coalescing-operator\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-optional-chaining\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-json-strings\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-optional-catch-binding\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-async-generators\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-object-rest-spread\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-modules-commonjs\",\"visitor\":{\"CallExpression\":{\"enter\":[null]},\"Program\":{\"exit\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-dynamic-import\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-export-namespace-from\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"ExportNamedDeclaration\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-react-jsx\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"JSXNamespacedName\":{\"enter\":[null]},\"JSXSpreadChild\":{\"enter\":[null]},\"JSXElement\":{\"exit\":[null]},\"JSXFragment\":{\"exit\":[null]},\"Program\":{\"enter\":[null],\"exit\":[null]},\"JSXAttribute\":{\"enter\":[null]}},\"options\":{\"pragma\":\"React.createElement\",\"pragmaFrag\":\"React.Fragment\",\"runtime\":\"classic\",\"throwIfNamespace\":true,\"useBuiltIns\":false}},{\"key\":\"transform-react-display-name\",\"visitor\":{\"ExportDefaultDeclaration\":{\"enter\":[null]},\"CallExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}},{\"key\":\"transform-react-pure-annotations\",\"visitor\":{\"CallExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}}],\"presets\":[]}:7.11.4": { + "metadata": {}, + "options": { + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "caller": { + "name": "@babel/register" + }, + "cwd": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper", + "filename": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/recipes.jsx", + "cloneInputAst": true, + "babelrc": false, + "configFile": false, + "envName": "development", + "root": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper", + "sourceMaps": "both", + "ast": false, + "passPerPreset": false, + "plugins": [ + { + "key": "transform-flow-strip-types", + "visitor": { + "_exploded": {}, + "_verified": {}, + "Program": { + "enter": [ + null + ] + }, + "ImportDeclaration": { + "enter": [ + null, + null + ] + }, + "ClassPrivateProperty": { + "enter": [ + null + ] + }, + "AssignmentPattern": { + "enter": [ + null + ] + }, + "TypeCastExpression": { + "enter": [ + null, + null + ] + }, + "CallExpression": { + "enter": [ + null + ] + }, + "OptionalCallExpression": { + "enter": [ + null + ] + }, + "NewExpression": { + "enter": [ + null + ] + }, + "ImportSpecifier": { + "enter": [ + null + ] + }, + "ClassExpression": { + "enter": [ + null + ] + }, + "ClassDeclaration": { + "enter": [ + null + ] + }, + "FunctionDeclaration": { + "enter": [ + null + ] + }, + "FunctionExpression": { + "enter": [ + null + ] + }, + "ObjectMethod": { + "enter": [ + null + ] + }, + "ArrowFunctionExpression": { + "enter": [ + null + ] + }, + "ClassMethod": { + "enter": [ + null + ] + }, + "ClassPrivateMethod": { + "enter": [ + null + ] + }, + "AnyTypeAnnotation": { + "enter": [ + null + ] + }, + "ArrayTypeAnnotation": { + "enter": [ + null + ] + }, + "BooleanTypeAnnotation": { + "enter": [ + null + ] + }, + "BooleanLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "NullLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "ClassImplements": { + "enter": [ + null + ] + }, + "DeclareClass": { + "enter": [ + null + ] + }, + "DeclareFunction": { + "enter": [ + null + ] + }, + "DeclareInterface": { + "enter": [ + null + ] + }, + "DeclareModule": { + "enter": [ + null + ] + }, + "DeclareModuleExports": { + "enter": [ + null + ] + }, + "DeclareTypeAlias": { + "enter": [ + null + ] + }, + "DeclareOpaqueType": { + "enter": [ + null + ] + }, + "DeclareVariable": { + "enter": [ + null + ] + }, + "DeclareExportDeclaration": { + "enter": [ + null + ] + }, + "DeclareExportAllDeclaration": { + "enter": [ + null + ] + }, + "DeclaredPredicate": { + "enter": [ + null + ] + }, + "ExistsTypeAnnotation": { + "enter": [ + null + ] + }, + "FunctionTypeAnnotation": { + "enter": [ + null + ] + }, + "FunctionTypeParam": { + "enter": [ + null + ] + }, + "GenericTypeAnnotation": { + "enter": [ + null + ] + }, + "InferredPredicate": { + "enter": [ + null + ] + }, + "InterfaceExtends": { + "enter": [ + null + ] + }, + "InterfaceDeclaration": { + "enter": [ + null + ] + }, + "InterfaceTypeAnnotation": { + "enter": [ + null + ] + }, + "IntersectionTypeAnnotation": { + "enter": [ + null + ] + }, + "MixedTypeAnnotation": { + "enter": [ + null + ] + }, + "EmptyTypeAnnotation": { + "enter": [ + null + ] + }, + "NullableTypeAnnotation": { + "enter": [ + null + ] + }, + "NumberLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "NumberTypeAnnotation": { + "enter": [ + null + ] + }, + "ObjectTypeAnnotation": { + "enter": [ + null + ] + }, + "ObjectTypeInternalSlot": { + "enter": [ + null + ] + }, + "ObjectTypeCallProperty": { + "enter": [ + null + ] + }, + "ObjectTypeIndexer": { + "enter": [ + null + ] + }, + "ObjectTypeProperty": { + "enter": [ + null + ] + }, + "ObjectTypeSpreadProperty": { + "enter": [ + null + ] + }, + "OpaqueType": { + "enter": [ + null + ] + }, + "QualifiedTypeIdentifier": { + "enter": [ + null + ] + }, + "StringLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "StringTypeAnnotation": { + "enter": [ + null + ] + }, + "SymbolTypeAnnotation": { + "enter": [ + null + ] + }, + "ThisTypeAnnotation": { + "enter": [ + null + ] + }, + "TupleTypeAnnotation": { + "enter": [ + null + ] + }, + "TypeofTypeAnnotation": { + "enter": [ + null + ] + }, + "TypeAlias": { + "enter": [ + null + ] + }, + "TypeAnnotation": { + "enter": [ + null + ] + }, + "TypeParameter": { + "enter": [ + null + ] + }, + "TypeParameterDeclaration": { + "enter": [ + null + ] + }, + "TypeParameterInstantiation": { + "enter": [ + null + ] + }, + "UnionTypeAnnotation": { + "enter": [ + null + ] + }, + "Variance": { + "enter": [ + null + ] + }, + "VoidTypeAnnotation": { + "enter": [ + null + ] + }, + "ExportAllDeclaration": { + "enter": [ + null + ] + }, + "ExportDefaultDeclaration": { + "enter": [ + null + ] + }, + "ExportNamedDeclaration": { + "enter": [ + null + ] + } + }, + "options": {} + }, + { + "key": "syntax-numeric-separator", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-logical-assignment-operators", + "visitor": { + "_exploded": {}, + "_verified": {}, + "AssignmentExpression": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-nullish-coalescing-operator", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-optional-chaining", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-json-strings", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-optional-catch-binding", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-async-generators", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-object-rest-spread", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "transform-modules-commonjs", + "visitor": { + "CallExpression": { + "enter": [ + null + ] + }, + "Program": { + "exit": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-dynamic-import", + "visitor": { + "_exploded": {}, + "_verified": {}, + "Program": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-export-namespace-from", + "visitor": { + "_exploded": {}, + "_verified": {}, + "ExportNamedDeclaration": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "transform-react-jsx", + "visitor": { + "_exploded": {}, + "_verified": {}, + "JSXNamespacedName": { + "enter": [ + null + ] + }, + "JSXSpreadChild": { + "enter": [ + null + ] + }, + "JSXElement": { + "exit": [ + null + ] + }, + "JSXFragment": { + "exit": [ + null + ] + }, + "Program": { + "enter": [ + null + ], + "exit": [ + null + ] + }, + "JSXAttribute": { + "enter": [ + null + ] + } + }, + "options": { + "pragma": "React.createElement", + "pragmaFrag": "React.Fragment", + "runtime": "classic", + "throwIfNamespace": true, + "useBuiltIns": false + } + }, + { + "key": "transform-react-display-name", + "visitor": { + "ExportDefaultDeclaration": { + "enter": [ + null + ] + }, + "CallExpression": { + "enter": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": {} + }, + { + "key": "transform-react-pure-annotations", + "visitor": { + "CallExpression": { + "enter": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": {} + } + ], + "presets": [], + "parserOpts": { + "sourceType": "module", + "sourceFileName": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/recipes.jsx", + "plugins": [ + [ + "flow", + {} + ], + "numericSeparator", + "logicalAssignment", + "nullishCoalescingOperator", + "optionalChaining", + "jsonStrings", + "optionalCatchBinding", + "asyncGenerators", + "objectRestSpread", + "dynamicImport", + "exportNamespaceFrom", + "jsx" + ] + }, + "generatorOpts": { + "filename": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/recipes.jsx", + "comments": true, + "compact": "auto", + "sourceMaps": "both", + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "sourceFileName": "recipes.jsx" + } + }, + "ast": null, + "code": "\"use strict\";\n\nconst React = require('React');\n\nclass Recipes extends React.Component {\n render() {\n let {\n recipes\n } = this.props;\n const recipe = recipes.map(recipe => {\n return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(\"h1\", null, recipe.title), /*#__PURE__*/React.createElement(\"p\", null, recipe.ingredients), /*#__PURE__*/React.createElement(\"p\", null, recipe.instructions));\n });\n return /*#__PURE__*/React.createElement(\"html\", null, /*#__PURE__*/React.createElement(\"body\", null, /*#__PURE__*/React.createElement(\"div\", null, recipe)));\n }\n\n}\n\nmodule.exports = Recipes;\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlY2lwZXMuanN4Il0sIm5hbWVzIjpbIlJlYWN0IiwicmVxdWlyZSIsIlJlY2lwZXMiLCJDb21wb25lbnQiLCJyZW5kZXIiLCJyZWNpcGVzIiwicHJvcHMiLCJyZWNpcGUiLCJtYXAiLCJ0aXRsZSIsImluZ3JlZGllbnRzIiwiaW5zdHJ1Y3Rpb25zIiwibW9kdWxlIiwiZXhwb3J0cyJdLCJtYXBwaW5ncyI6Ijs7QUFBQSxNQUFNQSxLQUFLLEdBQUdDLE9BQU8sQ0FBQyxPQUFELENBQXJCOztBQUVBLE1BQU1DLE9BQU4sU0FBc0JGLEtBQUssQ0FBQ0csU0FBNUIsQ0FBc0M7QUFDbENDLEVBQUFBLE1BQU0sR0FBRztBQUVMLFFBQUk7QUFBQ0MsTUFBQUE7QUFBRCxRQUFZLEtBQUtDLEtBQXJCO0FBQ0EsVUFBTUMsTUFBTSxHQUFHRixPQUFPLENBQUNHLEdBQVIsQ0FBYUQsTUFBTSxJQUFJO0FBQ2xDLDBCQUFRLDhDQUNJLGdDQUFLQSxNQUFNLENBQUNFLEtBQVosQ0FESixlQUVJLCtCQUFJRixNQUFNLENBQUNHLFdBQVgsQ0FGSixlQUdJLCtCQUFJSCxNQUFNLENBQUNJLFlBQVgsQ0FISixDQUFSO0FBS0gsS0FOYyxDQUFmO0FBUUYsd0JBQ0UsK0NBQ0UsK0NBQ0UsaUNBQ0dKLE1BREgsQ0FERixDQURGLENBREY7QUFTRDs7QUFyQmlDOztBQXdCdENLLE1BQU0sQ0FBQ0MsT0FBUCxHQUFpQlgsT0FBakIiLCJzb3VyY2VSb290IjoiL1VzZXJzL3dvbmdqb2V5L0Rlc2t0b3AvZ2VuZXJhbC1hc3NlbWJseS9TRUktMjQvYXNzaWdubWVudHMvd2VlazQvcmVjaXBlLWtlZXBlci92aWV3cy8iLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBSZWFjdCA9IHJlcXVpcmUoJ1JlYWN0Jyk7XG5cbmNsYXNzIFJlY2lwZXMgZXh0ZW5kcyBSZWFjdC5Db21wb25lbnQge1xuICAgIHJlbmRlcigpIHtcblxuICAgICAgICBsZXQge3JlY2lwZXN9ID0gdGhpcy5wcm9wcztcbiAgICAgICAgY29uc3QgcmVjaXBlID0gcmVjaXBlcy5tYXAoIHJlY2lwZSA9PiB7ICAgICAgICAgICAgXG4gICAgICAgICAgICByZXR1cm4gIDxkaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICA8aDE+e3JlY2lwZS50aXRsZX08L2gxPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHA+e3JlY2lwZS5pbmdyZWRpZW50c308L3A+XG4gICAgICAgICAgICAgICAgICAgICAgICA8cD57cmVjaXBlLmluc3RydWN0aW9uc308L3A+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICB9KVxuXG4gICAgICByZXR1cm4gKFxuICAgICAgICA8aHRtbD5cbiAgICAgICAgICA8Ym9keT5cbiAgICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICAgIHtyZWNpcGV9XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2JvZHk+XG4gICAgICAgIDwvaHRtbD5cbiAgICAgICk7XG4gICAgfVxuICB9XG5cbm1vZHVsZS5leHBvcnRzID0gUmVjaXBlczsiXX0=", + "map": { + "version": 3, + "sources": [ + "recipes.jsx" + ], + "names": [ + "React", + "require", + "Recipes", + "Component", + "render", + "recipes", + "props", + "recipe", + "map", + "title", + "ingredients", + "instructions", + "module", + "exports" + ], + "mappings": ";;AAAA,MAAMA,KAAK,GAAGC,OAAO,CAAC,OAAD,CAArB;;AAEA,MAAMC,OAAN,SAAsBF,KAAK,CAACG,SAA5B,CAAsC;AAClCC,EAAAA,MAAM,GAAG;AAEL,QAAI;AAACC,MAAAA;AAAD,QAAY,KAAKC,KAArB;AACA,UAAMC,MAAM,GAAGF,OAAO,CAACG,GAAR,CAAaD,MAAM,IAAI;AAClC,0BAAQ,8CACI,gCAAKA,MAAM,CAACE,KAAZ,CADJ,eAEI,+BAAIF,MAAM,CAACG,WAAX,CAFJ,eAGI,+BAAIH,MAAM,CAACI,YAAX,CAHJ,CAAR;AAKH,KANc,CAAf;AAQF,wBACE,+CACE,+CACE,iCACGJ,MADH,CADF,CADF,CADF;AASD;;AArBiC;;AAwBtCK,MAAM,CAACC,OAAP,GAAiBX,OAAjB", + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "sourcesContent": [ + "const React = require('React');\n\nclass Recipes extends React.Component {\n render() {\n\n let {recipes} = this.props;\n const recipe = recipes.map( recipe => { \n return
\n

{recipe.title}

\n

{recipe.ingredients}

\n

{recipe.instructions}

\n
\n })\n\n return (\n \n \n
\n {recipe}\n
\n \n \n );\n }\n }\n\nmodule.exports = Recipes;" + ] + }, + "sourceType": "script", + "mtime": 1598372828450 + }, + "{\"sourceRoot\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/\",\"caller\":{\"name\":\"@babel/register\"},\"cwd\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper\",\"filename\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/edit.jsx\",\"cloneInputAst\":true,\"babelrc\":false,\"configFile\":false,\"passPerPreset\":false,\"envName\":\"development\",\"root\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper\",\"plugins\":[{\"key\":\"transform-flow-strip-types\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]},\"ImportDeclaration\":{\"enter\":[null,null]},\"ClassPrivateProperty\":{\"enter\":[null]},\"AssignmentPattern\":{\"enter\":[null]},\"TypeCastExpression\":{\"enter\":[null,null]},\"CallExpression\":{\"enter\":[null]},\"OptionalCallExpression\":{\"enter\":[null]},\"NewExpression\":{\"enter\":[null]},\"ImportSpecifier\":{\"enter\":[null]},\"ClassExpression\":{\"enter\":[null]},\"ClassDeclaration\":{\"enter\":[null]},\"FunctionDeclaration\":{\"enter\":[null]},\"FunctionExpression\":{\"enter\":[null]},\"ObjectMethod\":{\"enter\":[null]},\"ArrowFunctionExpression\":{\"enter\":[null]},\"ClassMethod\":{\"enter\":[null]},\"ClassPrivateMethod\":{\"enter\":[null]},\"AnyTypeAnnotation\":{\"enter\":[null]},\"ArrayTypeAnnotation\":{\"enter\":[null]},\"BooleanTypeAnnotation\":{\"enter\":[null]},\"BooleanLiteralTypeAnnotation\":{\"enter\":[null]},\"NullLiteralTypeAnnotation\":{\"enter\":[null]},\"ClassImplements\":{\"enter\":[null]},\"DeclareClass\":{\"enter\":[null]},\"DeclareFunction\":{\"enter\":[null]},\"DeclareInterface\":{\"enter\":[null]},\"DeclareModule\":{\"enter\":[null]},\"DeclareModuleExports\":{\"enter\":[null]},\"DeclareTypeAlias\":{\"enter\":[null]},\"DeclareOpaqueType\":{\"enter\":[null]},\"DeclareVariable\":{\"enter\":[null]},\"DeclareExportDeclaration\":{\"enter\":[null]},\"DeclareExportAllDeclaration\":{\"enter\":[null]},\"DeclaredPredicate\":{\"enter\":[null]},\"ExistsTypeAnnotation\":{\"enter\":[null]},\"FunctionTypeAnnotation\":{\"enter\":[null]},\"FunctionTypeParam\":{\"enter\":[null]},\"GenericTypeAnnotation\":{\"enter\":[null]},\"InferredPredicate\":{\"enter\":[null]},\"InterfaceExtends\":{\"enter\":[null]},\"InterfaceDeclaration\":{\"enter\":[null]},\"InterfaceTypeAnnotation\":{\"enter\":[null]},\"IntersectionTypeAnnotation\":{\"enter\":[null]},\"MixedTypeAnnotation\":{\"enter\":[null]},\"EmptyTypeAnnotation\":{\"enter\":[null]},\"NullableTypeAnnotation\":{\"enter\":[null]},\"NumberLiteralTypeAnnotation\":{\"enter\":[null]},\"NumberTypeAnnotation\":{\"enter\":[null]},\"ObjectTypeAnnotation\":{\"enter\":[null]},\"ObjectTypeInternalSlot\":{\"enter\":[null]},\"ObjectTypeCallProperty\":{\"enter\":[null]},\"ObjectTypeIndexer\":{\"enter\":[null]},\"ObjectTypeProperty\":{\"enter\":[null]},\"ObjectTypeSpreadProperty\":{\"enter\":[null]},\"OpaqueType\":{\"enter\":[null]},\"QualifiedTypeIdentifier\":{\"enter\":[null]},\"StringLiteralTypeAnnotation\":{\"enter\":[null]},\"StringTypeAnnotation\":{\"enter\":[null]},\"SymbolTypeAnnotation\":{\"enter\":[null]},\"ThisTypeAnnotation\":{\"enter\":[null]},\"TupleTypeAnnotation\":{\"enter\":[null]},\"TypeofTypeAnnotation\":{\"enter\":[null]},\"TypeAlias\":{\"enter\":[null]},\"TypeAnnotation\":{\"enter\":[null]},\"TypeParameter\":{\"enter\":[null]},\"TypeParameterDeclaration\":{\"enter\":[null]},\"TypeParameterInstantiation\":{\"enter\":[null]},\"UnionTypeAnnotation\":{\"enter\":[null]},\"Variance\":{\"enter\":[null]},\"VoidTypeAnnotation\":{\"enter\":[null]},\"ExportAllDeclaration\":{\"enter\":[null]},\"ExportDefaultDeclaration\":{\"enter\":[null]},\"ExportNamedDeclaration\":{\"enter\":[null]}},\"options\":{}},{\"key\":\"syntax-numeric-separator\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-logical-assignment-operators\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"AssignmentExpression\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-nullish-coalescing-operator\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-optional-chaining\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-json-strings\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-optional-catch-binding\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-async-generators\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-object-rest-spread\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-modules-commonjs\",\"visitor\":{\"CallExpression\":{\"enter\":[null]},\"Program\":{\"exit\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-dynamic-import\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-export-namespace-from\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"ExportNamedDeclaration\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-react-jsx\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"JSXNamespacedName\":{\"enter\":[null]},\"JSXSpreadChild\":{\"enter\":[null]},\"JSXElement\":{\"exit\":[null]},\"JSXFragment\":{\"exit\":[null]},\"Program\":{\"enter\":[null],\"exit\":[null]},\"JSXAttribute\":{\"enter\":[null]}},\"options\":{\"pragma\":\"React.createElement\",\"pragmaFrag\":\"React.Fragment\",\"runtime\":\"classic\",\"throwIfNamespace\":true,\"useBuiltIns\":false}},{\"key\":\"transform-react-display-name\",\"visitor\":{\"ExportDefaultDeclaration\":{\"enter\":[null]},\"CallExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}},{\"key\":\"transform-react-pure-annotations\",\"visitor\":{\"CallExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}}],\"presets\":[]}:7.11.4": { + "metadata": {}, + "options": { + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "caller": { + "name": "@babel/register" + }, + "cwd": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper", + "filename": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/edit.jsx", + "cloneInputAst": true, + "babelrc": false, + "configFile": false, + "envName": "development", + "root": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper", + "sourceMaps": "both", + "ast": false, + "passPerPreset": false, + "plugins": [ + { + "key": "transform-flow-strip-types", + "visitor": { + "_exploded": {}, + "_verified": {}, + "Program": { + "enter": [ + null + ] + }, + "ImportDeclaration": { + "enter": [ + null, + null + ] + }, + "ClassPrivateProperty": { + "enter": [ + null + ] + }, + "AssignmentPattern": { + "enter": [ + null + ] + }, + "TypeCastExpression": { + "enter": [ + null, + null + ] + }, + "CallExpression": { + "enter": [ + null + ] + }, + "OptionalCallExpression": { + "enter": [ + null + ] + }, + "NewExpression": { + "enter": [ + null + ] + }, + "ImportSpecifier": { + "enter": [ + null + ] + }, + "ClassExpression": { + "enter": [ + null + ] + }, + "ClassDeclaration": { + "enter": [ + null + ] + }, + "FunctionDeclaration": { + "enter": [ + null + ] + }, + "FunctionExpression": { + "enter": [ + null + ] + }, + "ObjectMethod": { + "enter": [ + null + ] + }, + "ArrowFunctionExpression": { + "enter": [ + null + ] + }, + "ClassMethod": { + "enter": [ + null + ] + }, + "ClassPrivateMethod": { + "enter": [ + null + ] + }, + "AnyTypeAnnotation": { + "enter": [ + null + ] + }, + "ArrayTypeAnnotation": { + "enter": [ + null + ] + }, + "BooleanTypeAnnotation": { + "enter": [ + null + ] + }, + "BooleanLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "NullLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "ClassImplements": { + "enter": [ + null + ] + }, + "DeclareClass": { + "enter": [ + null + ] + }, + "DeclareFunction": { + "enter": [ + null + ] + }, + "DeclareInterface": { + "enter": [ + null + ] + }, + "DeclareModule": { + "enter": [ + null + ] + }, + "DeclareModuleExports": { + "enter": [ + null + ] + }, + "DeclareTypeAlias": { + "enter": [ + null + ] + }, + "DeclareOpaqueType": { + "enter": [ + null + ] + }, + "DeclareVariable": { + "enter": [ + null + ] + }, + "DeclareExportDeclaration": { + "enter": [ + null + ] + }, + "DeclareExportAllDeclaration": { + "enter": [ + null + ] + }, + "DeclaredPredicate": { + "enter": [ + null + ] + }, + "ExistsTypeAnnotation": { + "enter": [ + null + ] + }, + "FunctionTypeAnnotation": { + "enter": [ + null + ] + }, + "FunctionTypeParam": { + "enter": [ + null + ] + }, + "GenericTypeAnnotation": { + "enter": [ + null + ] + }, + "InferredPredicate": { + "enter": [ + null + ] + }, + "InterfaceExtends": { + "enter": [ + null + ] + }, + "InterfaceDeclaration": { + "enter": [ + null + ] + }, + "InterfaceTypeAnnotation": { + "enter": [ + null + ] + }, + "IntersectionTypeAnnotation": { + "enter": [ + null + ] + }, + "MixedTypeAnnotation": { + "enter": [ + null + ] + }, + "EmptyTypeAnnotation": { + "enter": [ + null + ] + }, + "NullableTypeAnnotation": { + "enter": [ + null + ] + }, + "NumberLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "NumberTypeAnnotation": { + "enter": [ + null + ] + }, + "ObjectTypeAnnotation": { + "enter": [ + null + ] + }, + "ObjectTypeInternalSlot": { + "enter": [ + null + ] + }, + "ObjectTypeCallProperty": { + "enter": [ + null + ] + }, + "ObjectTypeIndexer": { + "enter": [ + null + ] + }, + "ObjectTypeProperty": { + "enter": [ + null + ] + }, + "ObjectTypeSpreadProperty": { + "enter": [ + null + ] + }, + "OpaqueType": { + "enter": [ + null + ] + }, + "QualifiedTypeIdentifier": { + "enter": [ + null + ] + }, + "StringLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "StringTypeAnnotation": { + "enter": [ + null + ] + }, + "SymbolTypeAnnotation": { + "enter": [ + null + ] + }, + "ThisTypeAnnotation": { + "enter": [ + null + ] + }, + "TupleTypeAnnotation": { + "enter": [ + null + ] + }, + "TypeofTypeAnnotation": { + "enter": [ + null + ] + }, + "TypeAlias": { + "enter": [ + null + ] + }, + "TypeAnnotation": { + "enter": [ + null + ] + }, + "TypeParameter": { + "enter": [ + null + ] + }, + "TypeParameterDeclaration": { + "enter": [ + null + ] + }, + "TypeParameterInstantiation": { + "enter": [ + null + ] + }, + "UnionTypeAnnotation": { + "enter": [ + null + ] + }, + "Variance": { + "enter": [ + null + ] + }, + "VoidTypeAnnotation": { + "enter": [ + null + ] + }, + "ExportAllDeclaration": { + "enter": [ + null + ] + }, + "ExportDefaultDeclaration": { + "enter": [ + null + ] + }, + "ExportNamedDeclaration": { + "enter": [ + null + ] + } + }, + "options": {} + }, + { + "key": "syntax-numeric-separator", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-logical-assignment-operators", + "visitor": { + "_exploded": {}, + "_verified": {}, + "AssignmentExpression": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-nullish-coalescing-operator", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-optional-chaining", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-json-strings", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-optional-catch-binding", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-async-generators", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-object-rest-spread", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "transform-modules-commonjs", + "visitor": { + "CallExpression": { + "enter": [ + null + ] + }, + "Program": { + "exit": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-dynamic-import", + "visitor": { + "_exploded": {}, + "_verified": {}, + "Program": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-export-namespace-from", + "visitor": { + "_exploded": {}, + "_verified": {}, + "ExportNamedDeclaration": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "transform-react-jsx", + "visitor": { + "_exploded": {}, + "_verified": {}, + "JSXNamespacedName": { + "enter": [ + null + ] + }, + "JSXSpreadChild": { + "enter": [ + null + ] + }, + "JSXElement": { + "exit": [ + null + ] + }, + "JSXFragment": { + "exit": [ + null + ] + }, + "Program": { + "enter": [ + null + ], + "exit": [ + null + ] + }, + "JSXAttribute": { + "enter": [ + null + ] + } + }, + "options": { + "pragma": "React.createElement", + "pragmaFrag": "React.Fragment", + "runtime": "classic", + "throwIfNamespace": true, + "useBuiltIns": false + } + }, + { + "key": "transform-react-display-name", + "visitor": { + "ExportDefaultDeclaration": { + "enter": [ + null + ] + }, + "CallExpression": { + "enter": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": {} + }, + { + "key": "transform-react-pure-annotations", + "visitor": { + "CallExpression": { + "enter": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": {} + } + ], + "presets": [], + "parserOpts": { + "sourceType": "module", + "sourceFileName": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/edit.jsx", + "plugins": [ + [ + "flow", + {} + ], + "numericSeparator", + "logicalAssignment", + "nullishCoalescingOperator", + "optionalChaining", + "jsonStrings", + "optionalCatchBinding", + "asyncGenerators", + "objectRestSpread", + "dynamicImport", + "exportNamespaceFrom", + "jsx" + ] + }, + "generatorOpts": { + "filename": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/edit.jsx", + "comments": true, + "compact": "auto", + "sourceMaps": "both", + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "sourceFileName": "edit.jsx" + } + }, + "ast": null, + "code": "\"use strict\";\n\nconst React = require('react');\n\nclass Edit extends React.Component {\n render() {\n let {\n title,\n ingredients,\n instructions,\n id\n } = this.props;\n return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(\"h1\", null, title), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"h2\", null, \"Ingredients: \", ingredients, /*#__PURE__*/React.createElement(\"br\", null), \"Instructions: \", instructions, /*#__PURE__*/React.createElement(\"br\", null)), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"form\", {\n method: \"POST\",\n action: `/recipes/${id}?_method=put`\n }, /*#__PURE__*/React.createElement(\"h1\", null, \"Edit Recipe\"), \"Recipe Ingredients: \", /*#__PURE__*/React.createElement(\"input\", {\n type: \"text\",\n name: \"ingredients\"\n }), /*#__PURE__*/React.createElement(\"br\", null), \"Recipe Instructions: \", /*#__PURE__*/React.createElement(\"input\", {\n type: \"text\",\n name: \"instructions\"\n }), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"input\", {\n type: \"submit\",\n value: \"submit\"\n })));\n }\n\n}\n\nmodule.exports = Edit;\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVkaXQuanN4Il0sIm5hbWVzIjpbIlJlYWN0IiwicmVxdWlyZSIsIkVkaXQiLCJDb21wb25lbnQiLCJyZW5kZXIiLCJ0aXRsZSIsImluZ3JlZGllbnRzIiwiaW5zdHJ1Y3Rpb25zIiwiaWQiLCJwcm9wcyIsIm1vZHVsZSIsImV4cG9ydHMiXSwibWFwcGluZ3MiOiI7O0FBQUEsTUFBTUEsS0FBSyxHQUFHQyxPQUFPLENBQUMsT0FBRCxDQUFyQjs7QUFFQSxNQUFNQyxJQUFOLFNBQW1CRixLQUFLLENBQUNHLFNBQXpCLENBQW1DO0FBQy9CQyxFQUFBQSxNQUFNLEdBQUk7QUFFTixRQUFJO0FBQUNDLE1BQUFBLEtBQUQ7QUFBUUMsTUFBQUEsV0FBUjtBQUFxQkMsTUFBQUEsWUFBckI7QUFBbUNDLE1BQUFBO0FBQW5DLFFBQXlDLEtBQUtDLEtBQWxEO0FBRUEsd0JBQ0ksOENBQ0ksZ0NBQUtKLEtBQUwsQ0FESixlQUNvQiwrQkFEcEIsZUFFSSxpREFBa0JDLFdBQWxCLGVBQThCLCtCQUE5QixvQkFDbUJDLFlBRG5CLGVBQ2dDLCtCQURoQyxDQUZKLGVBRzhDLCtCQUg5QyxlQUlJO0FBQU0sTUFBQSxNQUFNLEVBQUcsTUFBZjtBQUFzQixNQUFBLE1BQU0sRUFBSyxZQUFXQyxFQUFHO0FBQS9DLG9CQUNJLDhDQURKLHVDQUV3QjtBQUFPLE1BQUEsSUFBSSxFQUFDLE1BQVo7QUFBbUIsTUFBQSxJQUFJLEVBQUc7QUFBMUIsTUFGeEIsZUFHSSwrQkFISix3Q0FJeUI7QUFBTyxNQUFBLElBQUksRUFBQyxNQUFaO0FBQW1CLE1BQUEsSUFBSSxFQUFHO0FBQTFCLE1BSnpCLGVBS0ksK0JBTEosZUFNSTtBQUFPLE1BQUEsSUFBSSxFQUFHLFFBQWQ7QUFBdUIsTUFBQSxLQUFLLEVBQUc7QUFBL0IsTUFOSixDQUpKLENBREo7QUFlSDs7QUFwQjhCOztBQXVCbkNFLE1BQU0sQ0FBQ0MsT0FBUCxHQUFpQlQsSUFBakIiLCJzb3VyY2VSb290IjoiL1VzZXJzL3dvbmdqb2V5L0Rlc2t0b3AvZ2VuZXJhbC1hc3NlbWJseS9TRUktMjQvYXNzaWdubWVudHMvd2VlazQvcmVjaXBlLWtlZXBlci92aWV3cy8iLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBSZWFjdCA9IHJlcXVpcmUoJ3JlYWN0Jyk7XG5cbmNsYXNzIEVkaXQgZXh0ZW5kcyBSZWFjdC5Db21wb25lbnQge1xuICAgIHJlbmRlciAoKSB7XG5cbiAgICAgICAgbGV0IHt0aXRsZSwgaW5ncmVkaWVudHMsIGluc3RydWN0aW9ucywgaWR9ID0gdGhpcy5wcm9wcztcblxuICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPGRpdj5cbiAgICAgICAgICAgICAgICA8aDE+e3RpdGxlfTwvaDE+PGJyLz5cbiAgICAgICAgICAgICAgICA8aDI+SW5ncmVkaWVudHM6IHtpbmdyZWRpZW50c308YnIvPlxuICAgICAgICAgICAgICAgICAgICBJbnN0cnVjdGlvbnM6IHtpbnN0cnVjdGlvbnN9PGJyLz48L2gyPjxici8+XG4gICAgICAgICAgICAgICAgPGZvcm0gbWV0aG9kID0gXCJQT1NUXCIgYWN0aW9uID0ge2AvcmVjaXBlcy8ke2lkfT9fbWV0aG9kPXB1dGB9PlxuICAgICAgICAgICAgICAgICAgICA8aDE+RWRpdCBSZWNpcGU8L2gxPlxuICAgICAgICAgICAgICAgICAgICBSZWNpcGUgSW5ncmVkaWVudHM6IDxpbnB1dCB0eXBlPVwidGV4dFwiIG5hbWUgPSBcImluZ3JlZGllbnRzXCIvPlxuICAgICAgICAgICAgICAgICAgICA8YnIvPlxuICAgICAgICAgICAgICAgICAgICBSZWNpcGUgSW5zdHJ1Y3Rpb25zOiA8aW5wdXQgdHlwZT1cInRleHRcIiBuYW1lID0gXCJpbnN0cnVjdGlvbnNcIi8+XG4gICAgICAgICAgICAgICAgICAgIDxici8+XG4gICAgICAgICAgICAgICAgICAgIDxpbnB1dCB0eXBlID0gXCJzdWJtaXRcIiB2YWx1ZSA9IFwic3VibWl0XCIvPlxuICAgICAgICAgICAgICAgIDwvZm9ybT5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICApXG4gICAgfVxufVxuXG5tb2R1bGUuZXhwb3J0cyA9IEVkaXQ7Il19", + "map": { + "version": 3, + "sources": [ + "edit.jsx" + ], + "names": [ + "React", + "require", + "Edit", + "Component", + "render", + "title", + "ingredients", + "instructions", + "id", + "props", + "module", + "exports" + ], + "mappings": ";;AAAA,MAAMA,KAAK,GAAGC,OAAO,CAAC,OAAD,CAArB;;AAEA,MAAMC,IAAN,SAAmBF,KAAK,CAACG,SAAzB,CAAmC;AAC/BC,EAAAA,MAAM,GAAI;AAEN,QAAI;AAACC,MAAAA,KAAD;AAAQC,MAAAA,WAAR;AAAqBC,MAAAA,YAArB;AAAmCC,MAAAA;AAAnC,QAAyC,KAAKC,KAAlD;AAEA,wBACI,8CACI,gCAAKJ,KAAL,CADJ,eACoB,+BADpB,eAEI,iDAAkBC,WAAlB,eAA8B,+BAA9B,oBACmBC,YADnB,eACgC,+BADhC,CAFJ,eAG8C,+BAH9C,eAII;AAAM,MAAA,MAAM,EAAG,MAAf;AAAsB,MAAA,MAAM,EAAK,YAAWC,EAAG;AAA/C,oBACI,8CADJ,uCAEwB;AAAO,MAAA,IAAI,EAAC,MAAZ;AAAmB,MAAA,IAAI,EAAG;AAA1B,MAFxB,eAGI,+BAHJ,wCAIyB;AAAO,MAAA,IAAI,EAAC,MAAZ;AAAmB,MAAA,IAAI,EAAG;AAA1B,MAJzB,eAKI,+BALJ,eAMI;AAAO,MAAA,IAAI,EAAG,QAAd;AAAuB,MAAA,KAAK,EAAG;AAA/B,MANJ,CAJJ,CADJ;AAeH;;AApB8B;;AAuBnCE,MAAM,CAACC,OAAP,GAAiBT,IAAjB", + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "sourcesContent": [ + "const React = require('react');\n\nclass Edit extends React.Component {\n render () {\n\n let {title, ingredients, instructions, id} = this.props;\n\n return (\n
\n

{title}


\n

Ingredients: {ingredients}
\n Instructions: {instructions}


\n
\n

Edit Recipe

\n Recipe Ingredients: \n
\n Recipe Instructions: \n
\n \n
\n
\n )\n }\n}\n\nmodule.exports = Edit;" + ] + }, + "sourceType": "script", + "mtime": 1598374054007 + }, + "{\"sourceRoot\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/\",\"caller\":{\"name\":\"@babel/register\"},\"cwd\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper\",\"filename\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/recipe.jsx\",\"cloneInputAst\":true,\"babelrc\":false,\"configFile\":false,\"passPerPreset\":false,\"envName\":\"development\",\"root\":\"/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper\",\"plugins\":[{\"key\":\"transform-flow-strip-types\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]},\"ImportDeclaration\":{\"enter\":[null,null]},\"ClassPrivateProperty\":{\"enter\":[null]},\"AssignmentPattern\":{\"enter\":[null]},\"TypeCastExpression\":{\"enter\":[null,null]},\"CallExpression\":{\"enter\":[null]},\"OptionalCallExpression\":{\"enter\":[null]},\"NewExpression\":{\"enter\":[null]},\"ImportSpecifier\":{\"enter\":[null]},\"ClassExpression\":{\"enter\":[null]},\"ClassDeclaration\":{\"enter\":[null]},\"FunctionDeclaration\":{\"enter\":[null]},\"FunctionExpression\":{\"enter\":[null]},\"ObjectMethod\":{\"enter\":[null]},\"ArrowFunctionExpression\":{\"enter\":[null]},\"ClassMethod\":{\"enter\":[null]},\"ClassPrivateMethod\":{\"enter\":[null]},\"AnyTypeAnnotation\":{\"enter\":[null]},\"ArrayTypeAnnotation\":{\"enter\":[null]},\"BooleanTypeAnnotation\":{\"enter\":[null]},\"BooleanLiteralTypeAnnotation\":{\"enter\":[null]},\"NullLiteralTypeAnnotation\":{\"enter\":[null]},\"ClassImplements\":{\"enter\":[null]},\"DeclareClass\":{\"enter\":[null]},\"DeclareFunction\":{\"enter\":[null]},\"DeclareInterface\":{\"enter\":[null]},\"DeclareModule\":{\"enter\":[null]},\"DeclareModuleExports\":{\"enter\":[null]},\"DeclareTypeAlias\":{\"enter\":[null]},\"DeclareOpaqueType\":{\"enter\":[null]},\"DeclareVariable\":{\"enter\":[null]},\"DeclareExportDeclaration\":{\"enter\":[null]},\"DeclareExportAllDeclaration\":{\"enter\":[null]},\"DeclaredPredicate\":{\"enter\":[null]},\"ExistsTypeAnnotation\":{\"enter\":[null]},\"FunctionTypeAnnotation\":{\"enter\":[null]},\"FunctionTypeParam\":{\"enter\":[null]},\"GenericTypeAnnotation\":{\"enter\":[null]},\"InferredPredicate\":{\"enter\":[null]},\"InterfaceExtends\":{\"enter\":[null]},\"InterfaceDeclaration\":{\"enter\":[null]},\"InterfaceTypeAnnotation\":{\"enter\":[null]},\"IntersectionTypeAnnotation\":{\"enter\":[null]},\"MixedTypeAnnotation\":{\"enter\":[null]},\"EmptyTypeAnnotation\":{\"enter\":[null]},\"NullableTypeAnnotation\":{\"enter\":[null]},\"NumberLiteralTypeAnnotation\":{\"enter\":[null]},\"NumberTypeAnnotation\":{\"enter\":[null]},\"ObjectTypeAnnotation\":{\"enter\":[null]},\"ObjectTypeInternalSlot\":{\"enter\":[null]},\"ObjectTypeCallProperty\":{\"enter\":[null]},\"ObjectTypeIndexer\":{\"enter\":[null]},\"ObjectTypeProperty\":{\"enter\":[null]},\"ObjectTypeSpreadProperty\":{\"enter\":[null]},\"OpaqueType\":{\"enter\":[null]},\"QualifiedTypeIdentifier\":{\"enter\":[null]},\"StringLiteralTypeAnnotation\":{\"enter\":[null]},\"StringTypeAnnotation\":{\"enter\":[null]},\"SymbolTypeAnnotation\":{\"enter\":[null]},\"ThisTypeAnnotation\":{\"enter\":[null]},\"TupleTypeAnnotation\":{\"enter\":[null]},\"TypeofTypeAnnotation\":{\"enter\":[null]},\"TypeAlias\":{\"enter\":[null]},\"TypeAnnotation\":{\"enter\":[null]},\"TypeParameter\":{\"enter\":[null]},\"TypeParameterDeclaration\":{\"enter\":[null]},\"TypeParameterInstantiation\":{\"enter\":[null]},\"UnionTypeAnnotation\":{\"enter\":[null]},\"Variance\":{\"enter\":[null]},\"VoidTypeAnnotation\":{\"enter\":[null]},\"ExportAllDeclaration\":{\"enter\":[null]},\"ExportDefaultDeclaration\":{\"enter\":[null]},\"ExportNamedDeclaration\":{\"enter\":[null]}},\"options\":{}},{\"key\":\"syntax-numeric-separator\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-logical-assignment-operators\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"AssignmentExpression\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-nullish-coalescing-operator\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-optional-chaining\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-json-strings\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-optional-catch-binding\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-async-generators\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"syntax-object-rest-spread\",\"visitor\":{},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-modules-commonjs\",\"visitor\":{\"CallExpression\":{\"enter\":[null]},\"Program\":{\"exit\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-dynamic-import\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-export-namespace-from\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"ExportNamedDeclaration\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-react-jsx\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"JSXNamespacedName\":{\"enter\":[null]},\"JSXSpreadChild\":{\"enter\":[null]},\"JSXElement\":{\"exit\":[null]},\"JSXFragment\":{\"exit\":[null]},\"Program\":{\"enter\":[null],\"exit\":[null]},\"JSXAttribute\":{\"enter\":[null]}},\"options\":{\"pragma\":\"React.createElement\",\"pragmaFrag\":\"React.Fragment\",\"runtime\":\"classic\",\"throwIfNamespace\":true,\"useBuiltIns\":false}},{\"key\":\"transform-react-display-name\",\"visitor\":{\"ExportDefaultDeclaration\":{\"enter\":[null]},\"CallExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}},{\"key\":\"transform-react-pure-annotations\",\"visitor\":{\"CallExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}}],\"presets\":[]}:7.11.4": { + "metadata": {}, + "options": { + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "caller": { + "name": "@babel/register" + }, + "cwd": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper", + "filename": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/recipe.jsx", + "cloneInputAst": true, + "babelrc": false, + "configFile": false, + "envName": "development", + "root": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper", + "sourceMaps": "both", + "ast": false, + "passPerPreset": false, + "plugins": [ + { + "key": "transform-flow-strip-types", + "visitor": { + "_exploded": {}, + "_verified": {}, + "Program": { + "enter": [ + null + ] + }, + "ImportDeclaration": { + "enter": [ + null, + null + ] + }, + "ClassPrivateProperty": { + "enter": [ + null + ] + }, + "AssignmentPattern": { + "enter": [ + null + ] + }, + "TypeCastExpression": { + "enter": [ + null, + null + ] + }, + "CallExpression": { + "enter": [ + null + ] + }, + "OptionalCallExpression": { + "enter": [ + null + ] + }, + "NewExpression": { + "enter": [ + null + ] + }, + "ImportSpecifier": { + "enter": [ + null + ] + }, + "ClassExpression": { + "enter": [ + null + ] + }, + "ClassDeclaration": { + "enter": [ + null + ] + }, + "FunctionDeclaration": { + "enter": [ + null + ] + }, + "FunctionExpression": { + "enter": [ + null + ] + }, + "ObjectMethod": { + "enter": [ + null + ] + }, + "ArrowFunctionExpression": { + "enter": [ + null + ] + }, + "ClassMethod": { + "enter": [ + null + ] + }, + "ClassPrivateMethod": { + "enter": [ + null + ] + }, + "AnyTypeAnnotation": { + "enter": [ + null + ] + }, + "ArrayTypeAnnotation": { + "enter": [ + null + ] + }, + "BooleanTypeAnnotation": { + "enter": [ + null + ] + }, + "BooleanLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "NullLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "ClassImplements": { + "enter": [ + null + ] + }, + "DeclareClass": { + "enter": [ + null + ] + }, + "DeclareFunction": { + "enter": [ + null + ] + }, + "DeclareInterface": { + "enter": [ + null + ] + }, + "DeclareModule": { + "enter": [ + null + ] + }, + "DeclareModuleExports": { + "enter": [ + null + ] + }, + "DeclareTypeAlias": { + "enter": [ + null + ] + }, + "DeclareOpaqueType": { + "enter": [ + null + ] + }, + "DeclareVariable": { + "enter": [ + null + ] + }, + "DeclareExportDeclaration": { + "enter": [ + null + ] + }, + "DeclareExportAllDeclaration": { + "enter": [ + null + ] + }, + "DeclaredPredicate": { + "enter": [ + null + ] + }, + "ExistsTypeAnnotation": { + "enter": [ + null + ] + }, + "FunctionTypeAnnotation": { + "enter": [ + null + ] + }, + "FunctionTypeParam": { + "enter": [ + null + ] + }, + "GenericTypeAnnotation": { + "enter": [ + null + ] + }, + "InferredPredicate": { + "enter": [ + null + ] + }, + "InterfaceExtends": { + "enter": [ + null + ] + }, + "InterfaceDeclaration": { + "enter": [ + null + ] + }, + "InterfaceTypeAnnotation": { + "enter": [ + null + ] + }, + "IntersectionTypeAnnotation": { + "enter": [ + null + ] + }, + "MixedTypeAnnotation": { + "enter": [ + null + ] + }, + "EmptyTypeAnnotation": { + "enter": [ + null + ] + }, + "NullableTypeAnnotation": { + "enter": [ + null + ] + }, + "NumberLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "NumberTypeAnnotation": { + "enter": [ + null + ] + }, + "ObjectTypeAnnotation": { + "enter": [ + null + ] + }, + "ObjectTypeInternalSlot": { + "enter": [ + null + ] + }, + "ObjectTypeCallProperty": { + "enter": [ + null + ] + }, + "ObjectTypeIndexer": { + "enter": [ + null + ] + }, + "ObjectTypeProperty": { + "enter": [ + null + ] + }, + "ObjectTypeSpreadProperty": { + "enter": [ + null + ] + }, + "OpaqueType": { + "enter": [ + null + ] + }, + "QualifiedTypeIdentifier": { + "enter": [ + null + ] + }, + "StringLiteralTypeAnnotation": { + "enter": [ + null + ] + }, + "StringTypeAnnotation": { + "enter": [ + null + ] + }, + "SymbolTypeAnnotation": { + "enter": [ + null + ] + }, + "ThisTypeAnnotation": { + "enter": [ + null + ] + }, + "TupleTypeAnnotation": { + "enter": [ + null + ] + }, + "TypeofTypeAnnotation": { + "enter": [ + null + ] + }, + "TypeAlias": { + "enter": [ + null + ] + }, + "TypeAnnotation": { + "enter": [ + null + ] + }, + "TypeParameter": { + "enter": [ + null + ] + }, + "TypeParameterDeclaration": { + "enter": [ + null + ] + }, + "TypeParameterInstantiation": { + "enter": [ + null + ] + }, + "UnionTypeAnnotation": { + "enter": [ + null + ] + }, + "Variance": { + "enter": [ + null + ] + }, + "VoidTypeAnnotation": { + "enter": [ + null + ] + }, + "ExportAllDeclaration": { + "enter": [ + null + ] + }, + "ExportDefaultDeclaration": { + "enter": [ + null + ] + }, + "ExportNamedDeclaration": { + "enter": [ + null + ] + } + }, + "options": {} + }, + { + "key": "syntax-numeric-separator", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-logical-assignment-operators", + "visitor": { + "_exploded": {}, + "_verified": {}, + "AssignmentExpression": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-nullish-coalescing-operator", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-optional-chaining", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-json-strings", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-optional-catch-binding", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-async-generators", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "syntax-object-rest-spread", + "visitor": { + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "transform-modules-commonjs", + "visitor": { + "CallExpression": { + "enter": [ + null + ] + }, + "Program": { + "exit": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-dynamic-import", + "visitor": { + "_exploded": {}, + "_verified": {}, + "Program": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "proposal-export-namespace-from", + "visitor": { + "_exploded": {}, + "_verified": {}, + "ExportNamedDeclaration": { + "enter": [ + null + ] + } + }, + "options": { + "spec": false, + "loose": false, + "useBuiltIns": false + } + }, + { + "key": "transform-react-jsx", + "visitor": { + "_exploded": {}, + "_verified": {}, + "JSXNamespacedName": { + "enter": [ + null + ] + }, + "JSXSpreadChild": { + "enter": [ + null + ] + }, + "JSXElement": { + "exit": [ + null + ] + }, + "JSXFragment": { + "exit": [ + null + ] + }, + "Program": { + "enter": [ + null + ], + "exit": [ + null + ] + }, + "JSXAttribute": { + "enter": [ + null + ] + } + }, + "options": { + "pragma": "React.createElement", + "pragmaFrag": "React.Fragment", + "runtime": "classic", + "throwIfNamespace": true, + "useBuiltIns": false + } + }, + { + "key": "transform-react-display-name", + "visitor": { + "ExportDefaultDeclaration": { + "enter": [ + null + ] + }, + "CallExpression": { + "enter": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": {} + }, + { + "key": "transform-react-pure-annotations", + "visitor": { + "CallExpression": { + "enter": [ + null + ] + }, + "_exploded": true, + "_verified": true + }, + "options": {} + } + ], + "presets": [], + "parserOpts": { + "sourceType": "module", + "sourceFileName": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/recipe.jsx", + "plugins": [ + [ + "flow", + {} + ], + "numericSeparator", + "logicalAssignment", + "nullishCoalescingOperator", + "optionalChaining", + "jsonStrings", + "optionalCatchBinding", + "asyncGenerators", + "objectRestSpread", + "dynamicImport", + "exportNamespaceFrom", + "jsx" + ] + }, + "generatorOpts": { + "filename": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/recipe.jsx", + "comments": true, + "compact": "auto", + "sourceMaps": "both", + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "sourceFileName": "recipe.jsx" + } + }, + "ast": null, + "code": "\"use strict\";\n\nconst React = require('react');\n\nclass Recipe extends React.Component {\n render() {\n let {\n title,\n ingredients,\n instructions,\n id\n } = this.props;\n return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(\"h1\", null, title), /*#__PURE__*/React.createElement(\"h2\", null, \"Ingredients: \", ingredients, /*#__PURE__*/React.createElement(\"br\", null), \"Instructions: \", instructions, /*#__PURE__*/React.createElement(\"br\", null)), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"form\", {\n method: \"POST\",\n action: `/recipes/${id}?_method=delete`\n }, /*#__PURE__*/React.createElement(\"input\", {\n type: \"submit\",\n value: \"delete\"\n })));\n }\n\n}\n\nmodule.exports = Recipe;\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlY2lwZS5qc3giXSwibmFtZXMiOlsiUmVhY3QiLCJyZXF1aXJlIiwiUmVjaXBlIiwiQ29tcG9uZW50IiwicmVuZGVyIiwidGl0bGUiLCJpbmdyZWRpZW50cyIsImluc3RydWN0aW9ucyIsImlkIiwicHJvcHMiLCJtb2R1bGUiLCJleHBvcnRzIl0sIm1hcHBpbmdzIjoiOztBQUFBLE1BQU1BLEtBQUssR0FBR0MsT0FBTyxDQUFDLE9BQUQsQ0FBckI7O0FBRUEsTUFBTUMsTUFBTixTQUFxQkYsS0FBSyxDQUFDRyxTQUEzQixDQUFxQztBQUNqQ0MsRUFBQUEsTUFBTSxHQUFJO0FBRU4sUUFBSTtBQUFDQyxNQUFBQSxLQUFEO0FBQVFDLE1BQUFBLFdBQVI7QUFBcUJDLE1BQUFBLFlBQXJCO0FBQW1DQyxNQUFBQTtBQUFuQyxRQUF5QyxLQUFLQyxLQUFsRDtBQUVBLHdCQUNJLDhDQUNJLGdDQUFLSixLQUFMLENBREosZUFFSSxpREFBa0JDLFdBQWxCLGVBQThCLCtCQUE5QixvQkFDbUJDLFlBRG5CLGVBQ2dDLCtCQURoQyxDQUZKLGVBRzhDLCtCQUg5QyxlQUlJO0FBQU0sTUFBQSxNQUFNLEVBQUcsTUFBZjtBQUFzQixNQUFBLE1BQU0sRUFBSyxZQUFXQyxFQUFHO0FBQS9DLG9CQUNJO0FBQU8sTUFBQSxJQUFJLEVBQUcsUUFBZDtBQUF1QixNQUFBLEtBQUssRUFBRztBQUEvQixNQURKLENBSkosQ0FESjtBQVVIOztBQWZnQzs7QUFrQnJDRSxNQUFNLENBQUNDLE9BQVAsR0FBaUJULE1BQWpCIiwic291cmNlUm9vdCI6Ii9Vc2Vycy93b25nam9leS9EZXNrdG9wL2dlbmVyYWwtYXNzZW1ibHkvU0VJLTI0L2Fzc2lnbm1lbnRzL3dlZWs0L3JlY2lwZS1rZWVwZXIvdmlld3MvIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgUmVhY3QgPSByZXF1aXJlKCdyZWFjdCcpO1xuXG5jbGFzcyBSZWNpcGUgZXh0ZW5kcyBSZWFjdC5Db21wb25lbnQge1xuICAgIHJlbmRlciAoKSB7XG5cbiAgICAgICAgbGV0IHt0aXRsZSwgaW5ncmVkaWVudHMsIGluc3RydWN0aW9ucywgaWR9ID0gdGhpcy5wcm9wcztcblxuICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPGRpdj5cbiAgICAgICAgICAgICAgICA8aDE+e3RpdGxlfTwvaDE+XG4gICAgICAgICAgICAgICAgPGgyPkluZ3JlZGllbnRzOiB7aW5ncmVkaWVudHN9PGJyLz5cbiAgICAgICAgICAgICAgICAgICAgSW5zdHJ1Y3Rpb25zOiB7aW5zdHJ1Y3Rpb25zfTxici8+PC9oMj48YnIvPlxuICAgICAgICAgICAgICAgIDxmb3JtIG1ldGhvZCA9IFwiUE9TVFwiIGFjdGlvbiA9IHtgL3JlY2lwZXMvJHtpZH0/X21ldGhvZD1kZWxldGVgfT5cbiAgICAgICAgICAgICAgICAgICAgPGlucHV0IHR5cGUgPSBcInN1Ym1pdFwiIHZhbHVlID0gXCJkZWxldGVcIi8+XG4gICAgICAgICAgICAgICAgPC9mb3JtPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIClcbiAgICB9XG59XG5cbm1vZHVsZS5leHBvcnRzID0gUmVjaXBlOyJdfQ==", + "map": { + "version": 3, + "sources": [ + "recipe.jsx" + ], + "names": [ + "React", + "require", + "Recipe", + "Component", + "render", + "title", + "ingredients", + "instructions", + "id", + "props", + "module", + "exports" + ], + "mappings": ";;AAAA,MAAMA,KAAK,GAAGC,OAAO,CAAC,OAAD,CAArB;;AAEA,MAAMC,MAAN,SAAqBF,KAAK,CAACG,SAA3B,CAAqC;AACjCC,EAAAA,MAAM,GAAI;AAEN,QAAI;AAACC,MAAAA,KAAD;AAAQC,MAAAA,WAAR;AAAqBC,MAAAA,YAArB;AAAmCC,MAAAA;AAAnC,QAAyC,KAAKC,KAAlD;AAEA,wBACI,8CACI,gCAAKJ,KAAL,CADJ,eAEI,iDAAkBC,WAAlB,eAA8B,+BAA9B,oBACmBC,YADnB,eACgC,+BADhC,CAFJ,eAG8C,+BAH9C,eAII;AAAM,MAAA,MAAM,EAAG,MAAf;AAAsB,MAAA,MAAM,EAAK,YAAWC,EAAG;AAA/C,oBACI;AAAO,MAAA,IAAI,EAAG,QAAd;AAAuB,MAAA,KAAK,EAAG;AAA/B,MADJ,CAJJ,CADJ;AAUH;;AAfgC;;AAkBrCE,MAAM,CAACC,OAAP,GAAiBT,MAAjB", + "sourceRoot": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/views/", + "sourcesContent": [ + "const React = require('react');\n\nclass Recipe extends React.Component {\n render () {\n\n let {title, ingredients, instructions, id} = this.props;\n\n return (\n
\n

{title}

\n

Ingredients: {ingredients}
\n Instructions: {instructions}


\n
\n \n
\n
\n )\n }\n}\n\nmodule.exports = Recipe;" + ] + }, + "sourceType": "script", + "mtime": 1598375342924 + } +} \ No newline at end of file diff --git a/node_modules/@babel/code-frame/LICENSE b/node_modules/@babel/code-frame/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/code-frame/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/code-frame/README.md b/node_modules/@babel/code-frame/README.md new file mode 100644 index 000000000..185f93d24 --- /dev/null +++ b/node_modules/@babel/code-frame/README.md @@ -0,0 +1,19 @@ +# @babel/code-frame + +> Generate errors that contain a code frame that point to source locations. + +See our website [@babel/code-frame](https://babeljs.io/docs/en/next/babel-code-frame.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/code-frame +``` + +or using yarn: + +```sh +yarn add @babel/code-frame --dev +``` diff --git a/node_modules/@babel/code-frame/lib/index.js b/node_modules/@babel/code-frame/lib/index.js new file mode 100644 index 000000000..28d86f7bc --- /dev/null +++ b/node_modules/@babel/code-frame/lib/index.js @@ -0,0 +1,167 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.codeFrameColumns = codeFrameColumns; +exports.default = _default; + +var _highlight = _interopRequireWildcard(require("@babel/highlight")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +let deprecationWarningShown = false; + +function getDefs(chalk) { + return { + gutter: chalk.grey, + marker: chalk.red.bold, + message: chalk.red.bold + }; +} + +const NEWLINE = /\r\n|[\n\r\u2028\u2029]/; + +function getMarkerLines(loc, source, opts) { + const startLoc = Object.assign({ + column: 0, + line: -1 + }, loc.start); + const endLoc = Object.assign({}, startLoc, loc.end); + const { + linesAbove = 2, + linesBelow = 3 + } = opts || {}; + const startLine = startLoc.line; + const startColumn = startLoc.column; + const endLine = endLoc.line; + const endColumn = endLoc.column; + let start = Math.max(startLine - (linesAbove + 1), 0); + let end = Math.min(source.length, endLine + linesBelow); + + if (startLine === -1) { + start = 0; + } + + if (endLine === -1) { + end = source.length; + } + + const lineDiff = endLine - startLine; + const markerLines = {}; + + if (lineDiff) { + for (let i = 0; i <= lineDiff; i++) { + const lineNumber = i + startLine; + + if (!startColumn) { + markerLines[lineNumber] = true; + } else if (i === 0) { + const sourceLength = source[lineNumber - 1].length; + markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1]; + } else if (i === lineDiff) { + markerLines[lineNumber] = [0, endColumn]; + } else { + const sourceLength = source[lineNumber - i].length; + markerLines[lineNumber] = [0, sourceLength]; + } + } + } else { + if (startColumn === endColumn) { + if (startColumn) { + markerLines[startLine] = [startColumn, 0]; + } else { + markerLines[startLine] = true; + } + } else { + markerLines[startLine] = [startColumn, endColumn - startColumn]; + } + } + + return { + start, + end, + markerLines + }; +} + +function codeFrameColumns(rawLines, loc, opts = {}) { + const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts); + const chalk = (0, _highlight.getChalk)(opts); + const defs = getDefs(chalk); + + const maybeHighlight = (chalkFn, string) => { + return highlighted ? chalkFn(string) : string; + }; + + const lines = rawLines.split(NEWLINE); + const { + start, + end, + markerLines + } = getMarkerLines(loc, lines, opts); + const hasColumns = loc.start && typeof loc.start.column === "number"; + const numberMaxWidth = String(end).length; + const highlightedLines = highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines; + let frame = highlightedLines.split(NEWLINE).slice(start, end).map((line, index) => { + const number = start + 1 + index; + const paddedNumber = ` ${number}`.slice(-numberMaxWidth); + const gutter = ` ${paddedNumber} | `; + const hasMarker = markerLines[number]; + const lastMarkerLine = !markerLines[number + 1]; + + if (hasMarker) { + let markerLine = ""; + + if (Array.isArray(hasMarker)) { + const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " "); + const numberOfMarkers = hasMarker[1] || 1; + markerLine = ["\n ", maybeHighlight(defs.gutter, gutter.replace(/\d/g, " ")), markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join(""); + + if (lastMarkerLine && opts.message) { + markerLine += " " + maybeHighlight(defs.message, opts.message); + } + } + + return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line, markerLine].join(""); + } else { + return ` ${maybeHighlight(defs.gutter, gutter)}${line}`; + } + }).join("\n"); + + if (opts.message && !hasColumns) { + frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`; + } + + if (highlighted) { + return chalk.reset(frame); + } else { + return frame; + } +} + +function _default(rawLines, lineNumber, colNumber, opts = {}) { + if (!deprecationWarningShown) { + deprecationWarningShown = true; + const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`."; + + if (process.emitWarning) { + process.emitWarning(message, "DeprecationWarning"); + } else { + const deprecationError = new Error(message); + deprecationError.name = "DeprecationWarning"; + console.warn(new Error(message)); + } + } + + colNumber = Math.max(colNumber, 0); + const location = { + start: { + column: colNumber, + line: lineNumber + } + }; + return codeFrameColumns(rawLines, location, opts); +} \ No newline at end of file diff --git a/node_modules/@babel/code-frame/package.json b/node_modules/@babel/code-frame/package.json new file mode 100644 index 000000000..eb07dcd42 --- /dev/null +++ b/node_modules/@babel/code-frame/package.json @@ -0,0 +1,59 @@ +{ + "_from": "@babel/code-frame@^7.10.4", + "_id": "@babel/code-frame@7.10.4", + "_inBundle": false, + "_integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", + "_location": "/@babel/code-frame", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/code-frame@^7.10.4", + "name": "@babel/code-frame", + "escapedName": "@babel%2fcode-frame", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/template", + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "_shasum": "168da1a36e90da68ae8d49c0f1b48c7c6249213a", + "_spec": "@babel/code-frame@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/core", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/highlight": "^7.10.4" + }, + "deprecated": false, + "description": "Generate errors that contain a code frame that point to source locations.", + "devDependencies": { + "chalk": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/code-frame", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-code-frame" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/compat-data/LICENSE b/node_modules/@babel/compat-data/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/compat-data/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/compat-data/corejs2-built-ins.js b/node_modules/@babel/compat-data/corejs2-built-ins.js new file mode 100644 index 000000000..ccbe72f0d --- /dev/null +++ b/node_modules/@babel/compat-data/corejs2-built-ins.js @@ -0,0 +1,4 @@ +// Node < 13.3 doesn't support export maps in package.json. +// Use this proxy file as a fallback. + +module.exports = require("./data/corejs2-built-ins.json"); diff --git a/node_modules/@babel/compat-data/corejs3-shipped-proposals.js b/node_modules/@babel/compat-data/corejs3-shipped-proposals.js new file mode 100644 index 000000000..b6abc7d26 --- /dev/null +++ b/node_modules/@babel/compat-data/corejs3-shipped-proposals.js @@ -0,0 +1,4 @@ +// Node < 13.3 doesn't support export maps in package.json. +// Use this proxy file as a fallback. + +module.exports = require("./data/corejs3-shipped-proposals.json"); diff --git a/node_modules/@babel/compat-data/data/corejs2-built-ins.json b/node_modules/@babel/compat-data/data/corejs2-built-ins.json new file mode 100644 index 000000000..7efce2678 --- /dev/null +++ b/node_modules/@babel/compat-data/data/corejs2-built-ins.json @@ -0,0 +1,1690 @@ +{ + "es6.array.copy-within": { + "chrome": "45", + "opera": "32", + "edge": "12", + "firefox": "32", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "5", + "electron": "0.31" + }, + "es6.array.every": { + "chrome": "5", + "opera": "10.10", + "edge": "12", + "firefox": "2", + "safari": "3.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.fill": { + "chrome": "45", + "opera": "32", + "edge": "12", + "firefox": "31", + "safari": "7.1", + "node": "4", + "ios": "8", + "samsung": "5", + "electron": "0.31" + }, + "es6.array.filter": { + "chrome": "5", + "opera": "10.10", + "edge": "12", + "firefox": "2", + "safari": "3.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.find": { + "chrome": "45", + "opera": "32", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "4", + "ios": "8", + "samsung": "5", + "electron": "0.31" + }, + "es6.array.find-index": { + "chrome": "45", + "opera": "32", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "4", + "ios": "8", + "samsung": "5", + "electron": "0.31" + }, + "es7.array.flat-map": { + "chrome": "69", + "opera": "56", + "edge": "79", + "firefox": "62", + "safari": "12", + "node": "11", + "ios": "12", + "samsung": "10", + "electron": "4" + }, + "es6.array.for-each": { + "chrome": "5", + "opera": "10.10", + "edge": "12", + "firefox": "2", + "safari": "3.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.from": { + "chrome": "51", + "opera": "38", + "edge": "15", + "firefox": "36", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es7.array.includes": { + "chrome": "47", + "opera": "34", + "edge": "14", + "firefox": "43", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.36" + }, + "es6.array.index-of": { + "chrome": "5", + "opera": "10.10", + "edge": "12", + "firefox": "2", + "safari": "3.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.is-array": { + "chrome": "5", + "opera": "10.50", + "edge": "12", + "firefox": "4", + "safari": "4", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.iterator": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "28", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.array.last-index-of": { + "chrome": "5", + "opera": "10.10", + "edge": "12", + "firefox": "2", + "safari": "3.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.map": { + "chrome": "5", + "opera": "10.10", + "edge": "12", + "firefox": "2", + "safari": "3.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.of": { + "chrome": "45", + "opera": "32", + "edge": "12", + "firefox": "25", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "5", + "electron": "0.31" + }, + "es6.array.reduce": { + "chrome": "5", + "opera": "10.50", + "edge": "12", + "firefox": "3", + "safari": "4", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.reduce-right": { + "chrome": "5", + "opera": "10.50", + "edge": "12", + "firefox": "3", + "safari": "4", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.some": { + "chrome": "5", + "opera": "10.10", + "edge": "12", + "firefox": "2", + "safari": "3.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.array.sort": { + "chrome": "63", + "opera": "50", + "edge": "12", + "firefox": "5", + "safari": "12", + "node": "10", + "ie": "9", + "ios": "12", + "samsung": "8", + "electron": "3" + }, + "es6.array.species": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.date.now": { + "chrome": "5", + "opera": "10.50", + "edge": "12", + "firefox": "2", + "safari": "4", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.date.to-iso-string": { + "chrome": "5", + "opera": "10.50", + "edge": "12", + "firefox": "3.5", + "safari": "4", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.date.to-json": { + "chrome": "5", + "opera": "12.10", + "edge": "12", + "firefox": "4", + "safari": "10", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "10", + "samsung": "1", + "electron": "0.20" + }, + "es6.date.to-primitive": { + "chrome": "47", + "opera": "34", + "edge": "15", + "firefox": "44", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.36" + }, + "es6.date.to-string": { + "chrome": "5", + "opera": "10.50", + "edge": "12", + "firefox": "2", + "safari": "3.1", + "node": "0.10", + "ie": "10", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.function.bind": { + "chrome": "7", + "opera": "12", + "edge": "12", + "firefox": "4", + "safari": "5.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.function.has-instance": { + "chrome": "51", + "opera": "38", + "edge": "15", + "firefox": "50", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.function.name": { + "chrome": "5", + "opera": "10.50", + "edge": "14", + "firefox": "2", + "safari": "4", + "node": "0.10", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.map": { + "chrome": "51", + "opera": "38", + "edge": "15", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.math.acosh": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.asinh": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.atanh": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.cbrt": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.clz32": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "31", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.cosh": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.expm1": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.fround": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "26", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.hypot": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "27", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.imul": { + "chrome": "30", + "opera": "17", + "edge": "12", + "firefox": "23", + "safari": "7", + "node": "0.12", + "android": "4.4", + "ios": "7", + "samsung": "2", + "electron": "0.20" + }, + "es6.math.log1p": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.log10": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.log2": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.sign": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.sinh": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.tanh": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.math.trunc": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "25", + "safari": "7.1", + "node": "0.12", + "ios": "8", + "samsung": "3", + "electron": "0.20" + }, + "es6.number.constructor": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "36", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.number.epsilon": { + "chrome": "34", + "opera": "21", + "edge": "12", + "firefox": "25", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "2", + "electron": "0.20" + }, + "es6.number.is-finite": { + "chrome": "19", + "opera": "15", + "edge": "12", + "firefox": "16", + "safari": "9", + "node": "0.12", + "android": "4.1", + "ios": "9", + "samsung": "1.5", + "electron": "0.20" + }, + "es6.number.is-integer": { + "chrome": "34", + "opera": "21", + "edge": "12", + "firefox": "16", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "2", + "electron": "0.20" + }, + "es6.number.is-nan": { + "chrome": "19", + "opera": "15", + "edge": "12", + "firefox": "15", + "safari": "9", + "node": "0.12", + "android": "4.1", + "ios": "9", + "samsung": "1.5", + "electron": "0.20" + }, + "es6.number.is-safe-integer": { + "chrome": "34", + "opera": "21", + "edge": "12", + "firefox": "32", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "2", + "electron": "0.20" + }, + "es6.number.max-safe-integer": { + "chrome": "34", + "opera": "21", + "edge": "12", + "firefox": "31", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "2", + "electron": "0.20" + }, + "es6.number.min-safe-integer": { + "chrome": "34", + "opera": "21", + "edge": "12", + "firefox": "31", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "2", + "electron": "0.20" + }, + "es6.number.parse-float": { + "chrome": "34", + "opera": "21", + "edge": "12", + "firefox": "25", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "2", + "electron": "0.20" + }, + "es6.number.parse-int": { + "chrome": "34", + "opera": "21", + "edge": "12", + "firefox": "25", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "2", + "electron": "0.20" + }, + "es6.object.assign": { + "chrome": "49", + "opera": "36", + "edge": "13", + "firefox": "36", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.object.create": { + "chrome": "5", + "opera": "12", + "edge": "12", + "firefox": "4", + "safari": "4", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es7.object.define-getter": { + "chrome": "62", + "opera": "49", + "edge": "16", + "firefox": "48", + "safari": "9", + "node": "8.10", + "ios": "9", + "samsung": "8", + "electron": "3" + }, + "es7.object.define-setter": { + "chrome": "62", + "opera": "49", + "edge": "16", + "firefox": "48", + "safari": "9", + "node": "8.10", + "ios": "9", + "samsung": "8", + "electron": "3" + }, + "es6.object.define-property": { + "chrome": "5", + "opera": "12", + "edge": "12", + "firefox": "4", + "safari": "5.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.object.define-properties": { + "chrome": "5", + "opera": "12", + "edge": "12", + "firefox": "4", + "safari": "4", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es7.object.entries": { + "chrome": "54", + "opera": "41", + "edge": "14", + "firefox": "47", + "safari": "10.1", + "node": "7", + "ios": "10.3", + "samsung": "6", + "electron": "1.5" + }, + "es6.object.freeze": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "35", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "es6.object.get-own-property-descriptor": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "35", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "es7.object.get-own-property-descriptors": { + "chrome": "54", + "opera": "41", + "edge": "15", + "firefox": "50", + "safari": "10.1", + "node": "7", + "ios": "10.3", + "samsung": "6", + "electron": "1.5" + }, + "es6.object.get-own-property-names": { + "chrome": "40", + "opera": "27", + "edge": "12", + "firefox": "33", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.object.get-prototype-of": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "35", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "es7.object.lookup-getter": { + "chrome": "62", + "opera": "49", + "edge": "79", + "firefox": "36", + "safari": "9", + "node": "8.10", + "ios": "9", + "samsung": "8", + "electron": "3" + }, + "es7.object.lookup-setter": { + "chrome": "62", + "opera": "49", + "edge": "79", + "firefox": "36", + "safari": "9", + "node": "8.10", + "ios": "9", + "samsung": "8", + "electron": "3" + }, + "es6.object.prevent-extensions": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "35", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "es6.object.to-string": { + "chrome": "57", + "opera": "44", + "edge": "15", + "firefox": "51", + "safari": "10", + "node": "8", + "ios": "10", + "samsung": "7", + "electron": "1.7" + }, + "es6.object.is": { + "chrome": "19", + "opera": "15", + "edge": "12", + "firefox": "22", + "safari": "9", + "node": "0.12", + "android": "4.1", + "ios": "9", + "samsung": "1.5", + "electron": "0.20" + }, + "es6.object.is-frozen": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "35", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "es6.object.is-sealed": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "35", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "es6.object.is-extensible": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "35", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "es6.object.keys": { + "chrome": "40", + "opera": "27", + "edge": "12", + "firefox": "35", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.object.seal": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "35", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "es6.object.set-prototype-of": { + "chrome": "34", + "opera": "21", + "edge": "12", + "firefox": "31", + "safari": "9", + "node": "0.12", + "ie": "11", + "ios": "9", + "samsung": "2", + "electron": "0.20" + }, + "es7.object.values": { + "chrome": "54", + "opera": "41", + "edge": "14", + "firefox": "47", + "safari": "10.1", + "node": "7", + "ios": "10.3", + "samsung": "6", + "electron": "1.5" + }, + "es6.promise": { + "chrome": "51", + "opera": "38", + "edge": "14", + "firefox": "45", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es7.promise.finally": { + "chrome": "63", + "opera": "50", + "edge": "18", + "firefox": "58", + "safari": "11.1", + "node": "10", + "ios": "11.3", + "samsung": "8", + "electron": "3" + }, + "es6.reflect.apply": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.construct": { + "chrome": "49", + "opera": "36", + "edge": "13", + "firefox": "49", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.define-property": { + "chrome": "49", + "opera": "36", + "edge": "13", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.delete-property": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.get": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.get-own-property-descriptor": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.get-prototype-of": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.has": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.is-extensible": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.own-keys": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.prevent-extensions": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.set": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.reflect.set-prototype-of": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "42", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "es6.regexp.constructor": { + "chrome": "50", + "opera": "37", + "edge": "79", + "firefox": "40", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "1.1" + }, + "es6.regexp.flags": { + "chrome": "49", + "opera": "36", + "edge": "79", + "firefox": "37", + "safari": "9", + "node": "6", + "ios": "9", + "samsung": "5", + "electron": "0.37" + }, + "es6.regexp.match": { + "chrome": "50", + "opera": "37", + "edge": "79", + "firefox": "49", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "1.1" + }, + "es6.regexp.replace": { + "chrome": "50", + "opera": "37", + "edge": "79", + "firefox": "49", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "1.1" + }, + "es6.regexp.split": { + "chrome": "50", + "opera": "37", + "edge": "79", + "firefox": "49", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "1.1" + }, + "es6.regexp.search": { + "chrome": "50", + "opera": "37", + "edge": "79", + "firefox": "49", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "1.1" + }, + "es6.regexp.to-string": { + "chrome": "50", + "opera": "37", + "edge": "79", + "firefox": "39", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "1.1" + }, + "es6.set": { + "chrome": "51", + "opera": "38", + "edge": "15", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.symbol": { + "chrome": "51", + "opera": "38", + "edge": "79", + "firefox": "51", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es7.symbol.async-iterator": { + "chrome": "63", + "opera": "50", + "edge": "79", + "firefox": "57", + "safari": "12", + "node": "10", + "ios": "12", + "samsung": "8", + "electron": "3" + }, + "es6.string.anchor": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.big": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.blink": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.bold": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.code-point-at": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "29", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.string.ends-with": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "29", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.string.fixed": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.fontcolor": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.fontsize": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.from-code-point": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "29", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.string.includes": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "40", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.string.italics": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.iterator": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "36", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "3", + "electron": "0.20" + }, + "es6.string.link": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es7.string.pad-start": { + "chrome": "57", + "opera": "44", + "edge": "15", + "firefox": "48", + "safari": "10", + "node": "8", + "ios": "10", + "samsung": "7", + "electron": "1.7" + }, + "es7.string.pad-end": { + "chrome": "57", + "opera": "44", + "edge": "15", + "firefox": "48", + "safari": "10", + "node": "8", + "ios": "10", + "samsung": "7", + "electron": "1.7" + }, + "es6.string.raw": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "34", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.string.repeat": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "24", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.string.small": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.starts-with": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "29", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "es6.string.strike": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.sub": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.sup": { + "chrome": "5", + "opera": "15", + "edge": "12", + "firefox": "17", + "safari": "6", + "node": "0.10", + "android": "4", + "ios": "7", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.string.trim": { + "chrome": "5", + "opera": "10.50", + "edge": "12", + "firefox": "3.5", + "safari": "4", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es7.string.trim-left": { + "chrome": "66", + "opera": "53", + "edge": "79", + "firefox": "61", + "safari": "12", + "node": "10", + "ios": "12", + "samsung": "9", + "electron": "3" + }, + "es7.string.trim-right": { + "chrome": "66", + "opera": "53", + "edge": "79", + "firefox": "61", + "safari": "12", + "node": "10", + "ios": "12", + "samsung": "9", + "electron": "3" + }, + "es6.typed.array-buffer": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.typed.data-view": { + "chrome": "5", + "opera": "12", + "edge": "12", + "firefox": "15", + "safari": "5.1", + "node": "0.10", + "ie": "10", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "es6.typed.int8-array": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.typed.uint8-array": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.typed.uint8-clamped-array": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.typed.int16-array": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.typed.uint16-array": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.typed.int32-array": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.typed.uint32-array": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.typed.float32-array": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.typed.float64-array": { + "chrome": "51", + "opera": "38", + "edge": "13", + "firefox": "48", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "es6.weak-map": { + "chrome": "51", + "opera": "38", + "edge": "15", + "firefox": "53", + "safari": "9", + "node": "6.5", + "ios": "9", + "samsung": "5", + "electron": "1.2" + }, + "es6.weak-set": { + "chrome": "51", + "opera": "38", + "edge": "15", + "firefox": "53", + "safari": "9", + "node": "6.5", + "ios": "9", + "samsung": "5", + "electron": "1.2" + } +} diff --git a/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json b/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json new file mode 100644 index 000000000..7ce01ed93 --- /dev/null +++ b/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json @@ -0,0 +1,5 @@ +[ + "esnext.global-this", + "esnext.promise.all-settled", + "esnext.string.match-all" +] diff --git a/node_modules/@babel/compat-data/data/native-modules.json b/node_modules/@babel/compat-data/data/native-modules.json new file mode 100644 index 000000000..4ede11b4d --- /dev/null +++ b/node_modules/@babel/compat-data/data/native-modules.json @@ -0,0 +1,16 @@ +{ + "es6.module": { + "chrome": "61", + "and_chr": "61", + "edge": "16", + "firefox": "60", + "and_ff": "60", + "node": "13.2.0", + "opera": "48", + "op_mob": "48", + "safari": "10.1", + "ios_saf": "10.3", + "samsung": "8.2", + "android": "61" + } +} diff --git a/node_modules/@babel/compat-data/data/overlapping-plugins.json b/node_modules/@babel/compat-data/data/overlapping-plugins.json new file mode 100644 index 000000000..e5d9e4af4 --- /dev/null +++ b/node_modules/@babel/compat-data/data/overlapping-plugins.json @@ -0,0 +1,18 @@ +{ + "transform-async-to-generator": [ + "bugfix/transform-async-arrows-in-class" + ], + "transform-parameters": [ + "bugfix/transform-edge-default-parameters" + ], + "transform-function-name": [ + "bugfix/transform-edge-function-name" + ], + "transform-block-scoping": [ + "bugfix/transform-safari-block-shadowing", + "bugfix/transform-safari-for-shadowing" + ], + "transform-template-literals": [ + "bugfix/transform-tagged-template-caching" + ] +} diff --git a/node_modules/@babel/compat-data/data/plugin-bugfixes.json b/node_modules/@babel/compat-data/data/plugin-bugfixes.json new file mode 100644 index 000000000..e7c13dc51 --- /dev/null +++ b/node_modules/@babel/compat-data/data/plugin-bugfixes.json @@ -0,0 +1,125 @@ +{ + "transform-async-to-generator": { + "chrome": "55", + "opera": "42", + "edge": "15", + "firefox": "52", + "safari": "10.1", + "node": "7.6", + "ios": "10.3", + "samsung": "6", + "electron": "1.6" + }, + "bugfix/transform-async-arrows-in-class": { + "chrome": "55", + "opera": "42", + "edge": "15", + "firefox": "52", + "safari": "11", + "node": "7.6", + "ios": "11", + "samsung": "6", + "electron": "1.6" + }, + "transform-parameters": { + "chrome": "49", + "opera": "36", + "edge": "15", + "firefox": "53", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "bugfix/transform-edge-default-parameters": { + "chrome": "49", + "opera": "36", + "edge": "18", + "firefox": "52", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "transform-function-name": { + "chrome": "51", + "opera": "38", + "edge": "14", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "bugfix/transform-edge-function-name": { + "chrome": "51", + "opera": "38", + "edge": "79", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "transform-block-scoping": { + "chrome": "49", + "opera": "36", + "edge": "14", + "firefox": "51", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "bugfix/transform-safari-block-shadowing": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "44", + "safari": "11", + "node": "6", + "ie": "11", + "ios": "11", + "samsung": "5", + "electron": "0.37" + }, + "bugfix/transform-safari-for-shadowing": { + "chrome": "49", + "opera": "36", + "edge": "12", + "firefox": "4", + "safari": "11", + "node": "6", + "ie": "11", + "ios": "11", + "samsung": "5", + "electron": "0.37" + }, + "transform-template-literals": { + "chrome": "41", + "opera": "28", + "edge": "13", + "firefox": "34", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.21" + }, + "bugfix/transform-tagged-template-caching": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "34", + "safari": "13", + "node": "4", + "ios": "13", + "samsung": "3.4", + "electron": "0.21" + } +} diff --git a/node_modules/@babel/compat-data/data/plugins.json b/node_modules/@babel/compat-data/data/plugins.json new file mode 100644 index 000000000..5664681d2 --- /dev/null +++ b/node_modules/@babel/compat-data/data/plugins.json @@ -0,0 +1,433 @@ +{ + "proposal-class-properties": { + "chrome": "74", + "opera": "61", + "edge": "79", + "node": "12", + "samsung": "11", + "electron": "6" + }, + "proposal-private-methods": { + "chrome": "84", + "edge": "84", + "electron": "10" + }, + "proposal-numeric-separator": { + "chrome": "75", + "opera": "62", + "edge": "79", + "firefox": "70", + "safari": "13", + "node": "12.5", + "ios": "13", + "samsung": "11", + "electron": "6" + }, + "proposal-logical-assignment-operators": { + "chrome": "85", + "firefox": "79", + "safari": "14", + "electron": "10" + }, + "proposal-nullish-coalescing-operator": { + "chrome": "80", + "opera": "67", + "edge": "80", + "firefox": "72", + "safari": "13.1", + "node": "14", + "ios": "13.4", + "electron": "8" + }, + "proposal-optional-chaining": { + "chrome": "80", + "opera": "67", + "edge": "80", + "firefox": "74", + "safari": "13.1", + "node": "14", + "ios": "13.4", + "electron": "8" + }, + "proposal-json-strings": { + "chrome": "66", + "opera": "53", + "edge": "79", + "firefox": "62", + "safari": "12", + "node": "10", + "ios": "12", + "samsung": "9", + "electron": "3" + }, + "proposal-optional-catch-binding": { + "chrome": "66", + "opera": "53", + "edge": "79", + "firefox": "58", + "safari": "11.1", + "node": "10", + "ios": "11.3", + "samsung": "9", + "electron": "3" + }, + "transform-parameters": { + "chrome": "49", + "opera": "36", + "edge": "18", + "firefox": "53", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "proposal-async-generator-functions": { + "chrome": "63", + "opera": "50", + "edge": "79", + "firefox": "57", + "safari": "12", + "node": "10", + "ios": "12", + "samsung": "8", + "electron": "3" + }, + "proposal-object-rest-spread": { + "chrome": "60", + "opera": "47", + "edge": "79", + "firefox": "55", + "safari": "11.1", + "node": "8.3", + "ios": "11.3", + "samsung": "8", + "electron": "2" + }, + "transform-dotall-regex": { + "chrome": "62", + "opera": "49", + "edge": "79", + "firefox": "78", + "safari": "11.1", + "node": "8.10", + "ios": "11.3", + "samsung": "8", + "electron": "3" + }, + "proposal-unicode-property-regex": { + "chrome": "64", + "opera": "51", + "edge": "79", + "firefox": "78", + "safari": "11.1", + "node": "10", + "ios": "11.3", + "samsung": "9", + "electron": "3" + }, + "transform-named-capturing-groups-regex": { + "chrome": "64", + "opera": "51", + "edge": "79", + "firefox": "78", + "safari": "11.1", + "node": "10", + "ios": "11.3", + "samsung": "9", + "electron": "3" + }, + "transform-async-to-generator": { + "chrome": "55", + "opera": "42", + "edge": "15", + "firefox": "52", + "safari": "11", + "node": "7.6", + "ios": "11", + "samsung": "6", + "electron": "1.6" + }, + "transform-exponentiation-operator": { + "chrome": "52", + "opera": "39", + "edge": "14", + "firefox": "52", + "safari": "10.1", + "node": "7", + "ios": "10.3", + "samsung": "6", + "electron": "1.3" + }, + "transform-template-literals": { + "chrome": "41", + "opera": "28", + "edge": "13", + "firefox": "34", + "safari": "13", + "node": "4", + "ios": "13", + "samsung": "3.4", + "electron": "0.21" + }, + "transform-literals": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "53", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "transform-function-name": { + "chrome": "51", + "opera": "38", + "edge": "79", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "transform-arrow-functions": { + "chrome": "47", + "opera": "34", + "edge": "13", + "firefox": "45", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.36" + }, + "transform-block-scoped-functions": { + "chrome": "41", + "opera": "28", + "edge": "12", + "firefox": "46", + "safari": "10", + "node": "4", + "ie": "11", + "ios": "10", + "samsung": "3.4", + "electron": "0.21" + }, + "transform-classes": { + "chrome": "46", + "opera": "33", + "edge": "13", + "firefox": "45", + "safari": "10", + "node": "5", + "ios": "10", + "samsung": "5", + "electron": "0.36" + }, + "transform-object-super": { + "chrome": "46", + "opera": "33", + "edge": "13", + "firefox": "45", + "safari": "10", + "node": "5", + "ios": "10", + "samsung": "5", + "electron": "0.36" + }, + "transform-shorthand-properties": { + "chrome": "43", + "opera": "30", + "edge": "12", + "firefox": "33", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.27" + }, + "transform-duplicate-keys": { + "chrome": "42", + "opera": "29", + "edge": "12", + "firefox": "34", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "3.4", + "electron": "0.25" + }, + "transform-computed-properties": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "34", + "safari": "7.1", + "node": "4", + "ios": "8", + "samsung": "4", + "electron": "0.30" + }, + "transform-for-of": { + "chrome": "51", + "opera": "38", + "edge": "15", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "transform-sticky-regex": { + "chrome": "49", + "opera": "36", + "edge": "13", + "firefox": "3", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "0.37" + }, + "transform-unicode-escapes": { + "chrome": "44", + "opera": "31", + "edge": "12", + "firefox": "53", + "safari": "9", + "node": "4", + "ios": "9", + "samsung": "4", + "electron": "0.30" + }, + "transform-unicode-regex": { + "chrome": "50", + "opera": "37", + "edge": "13", + "firefox": "46", + "safari": "12", + "node": "6", + "ios": "12", + "samsung": "5", + "electron": "1.1" + }, + "transform-spread": { + "chrome": "46", + "opera": "33", + "edge": "13", + "firefox": "36", + "safari": "10", + "node": "5", + "ios": "10", + "samsung": "5", + "electron": "0.36" + }, + "transform-destructuring": { + "chrome": "51", + "opera": "38", + "edge": "15", + "firefox": "53", + "safari": "10", + "node": "6.5", + "ios": "10", + "samsung": "5", + "electron": "1.2" + }, + "transform-block-scoping": { + "chrome": "49", + "opera": "36", + "edge": "14", + "firefox": "51", + "safari": "11", + "node": "6", + "ios": "11", + "samsung": "5", + "electron": "0.37" + }, + "transform-typeof-symbol": { + "chrome": "38", + "opera": "25", + "edge": "12", + "firefox": "36", + "safari": "9", + "node": "0.12", + "ios": "9", + "samsung": "3", + "electron": "0.20" + }, + "transform-new-target": { + "chrome": "46", + "opera": "33", + "edge": "14", + "firefox": "41", + "safari": "10", + "node": "5", + "ios": "10", + "samsung": "5", + "electron": "0.36" + }, + "transform-regenerator": { + "chrome": "50", + "opera": "37", + "edge": "13", + "firefox": "53", + "safari": "10", + "node": "6", + "ios": "10", + "samsung": "5", + "electron": "1.1" + }, + "transform-member-expression-literals": { + "chrome": "7", + "opera": "12", + "edge": "12", + "firefox": "2", + "safari": "5.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "transform-property-literals": { + "chrome": "7", + "opera": "12", + "edge": "12", + "firefox": "2", + "safari": "5.1", + "node": "0.10", + "ie": "9", + "android": "4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "transform-reserved-words": { + "chrome": "13", + "opera": "10.50", + "edge": "12", + "firefox": "2", + "safari": "3.1", + "node": "0.10", + "ie": "9", + "android": "4.4", + "ios": "6", + "phantom": "2", + "samsung": "1", + "electron": "0.20" + }, + "proposal-export-namespace-from": { + "chrome": "72", + "edge": "79", + "opera": "60", + "firefox": "80", + "node": "13.2", + "samsung": "11.0" + } +} diff --git a/node_modules/@babel/compat-data/native-modules.js b/node_modules/@babel/compat-data/native-modules.js new file mode 100644 index 000000000..efa3031c0 --- /dev/null +++ b/node_modules/@babel/compat-data/native-modules.js @@ -0,0 +1,4 @@ +// Node < 13.3 doesn't support export maps in package.json. +// Use this proxy file as a fallback. + +module.exports = require("./data/native-modules.json"); diff --git a/node_modules/@babel/compat-data/overlapping-plugins.js b/node_modules/@babel/compat-data/overlapping-plugins.js new file mode 100644 index 000000000..9f7d8efde --- /dev/null +++ b/node_modules/@babel/compat-data/overlapping-plugins.js @@ -0,0 +1,4 @@ +// Node < 13.3 doesn't support export maps in package.json. +// Use this proxy file as a fallback. + +module.exports = require("./data/overlapping-plugins.json"); diff --git a/node_modules/@babel/compat-data/package.json b/node_modules/@babel/compat-data/package.json new file mode 100644 index 000000000..7dca008c1 --- /dev/null +++ b/node_modules/@babel/compat-data/package.json @@ -0,0 +1,77 @@ +{ + "_from": "@babel/compat-data@^7.11.0", + "_id": "@babel/compat-data@7.11.0", + "_inBundle": false, + "_integrity": "sha512-TPSvJfv73ng0pfnEOh17bYMPQbI95+nGWc71Ss4vZdRBHTDqmM9Z8ZV4rYz8Ks7sfzc95n30k6ODIq5UGnXcYQ==", + "_location": "/@babel/compat-data", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/compat-data@^7.11.0", + "name": "@babel/compat-data", + "escapedName": "@babel%2fcompat-data", + "scope": "@babel", + "rawSpec": "^7.11.0", + "saveSpec": null, + "fetchSpec": "^7.11.0" + }, + "_requiredBy": [ + "/@babel/helper-compilation-targets", + "/@babel/preset-env" + ], + "_resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.11.0.tgz", + "_shasum": "e9f73efe09af1355b723a7f39b11bad637d7c99c", + "_spec": "@babel/compat-data@^7.11.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/preset-env", + "author": { + "name": "The Babel Team", + "url": "https://babeljs.io/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "browserslist": "^4.12.0", + "invariant": "^2.2.4", + "semver": "^5.5.0" + }, + "deprecated": false, + "description": "", + "devDependencies": { + "@babel/helper-compilation-targets": "^7.10.4", + "electron-to-chromium": "1.3.513", + "lodash": "^4.17.19", + "mdn-browser-compat-data": "1.0.31" + }, + "exports": { + "./plugins": "./data/plugins.json", + "./native-modules": "./data/native-modules.json", + "./corejs2-built-ins": "./data/corejs2-built-ins.json", + "./corejs3-shipped-proposals": "./data/corejs3-shipped-proposals.json", + "./overlapping-plugins": "./data/overlapping-plugins.json", + "./plugin-bugfixes": "./data/plugin-bugfixes.json" + }, + "gitHead": "38dda069eeac2e31bce3f56290998d30bee1ed6b", + "homepage": "https://github.com/babel/babel#readme", + "keywords": [ + "babel", + "compat-table", + "compat-data" + ], + "license": "MIT", + "name": "@babel/compat-data", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-compat-data" + }, + "scripts": { + "build-data": "./scripts/download-compat-table.sh && node ./scripts/build-data.js && node ./scripts/build-modules-support.js && node ./scripts/build-bugfixes-targets.js" + }, + "version": "7.11.0" +} diff --git a/node_modules/@babel/compat-data/plugin-bugfixes.js b/node_modules/@babel/compat-data/plugin-bugfixes.js new file mode 100644 index 000000000..79e5bfb7b --- /dev/null +++ b/node_modules/@babel/compat-data/plugin-bugfixes.js @@ -0,0 +1,4 @@ +// Node < 13.3 doesn't support export maps in package.json. +// Use this proxy file as a fallback. + +module.exports = require("./data/plugin-bugfixes.json"); diff --git a/node_modules/@babel/compat-data/plugins.js b/node_modules/@babel/compat-data/plugins.js new file mode 100644 index 000000000..74a9d60f2 --- /dev/null +++ b/node_modules/@babel/compat-data/plugins.js @@ -0,0 +1,4 @@ +// Node < 13.3 doesn't support export maps in package.json. +// Use this proxy file as a fallback. + +module.exports = require("./data/plugins.json"); diff --git a/node_modules/@babel/core/LICENSE b/node_modules/@babel/core/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/core/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/core/README.md b/node_modules/@babel/core/README.md new file mode 100644 index 000000000..9b4b63dc4 --- /dev/null +++ b/node_modules/@babel/core/README.md @@ -0,0 +1,19 @@ +# @babel/core + +> Babel compiler core. + +See our website [@babel/core](https://babeljs.io/docs/en/next/babel-core.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen) associated with this package. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/core +``` + +or using yarn: + +```sh +yarn add @babel/core --dev +``` diff --git a/node_modules/@babel/core/lib/config/caching.js b/node_modules/@babel/core/lib/config/caching.js new file mode 100644 index 000000000..454c57b7e --- /dev/null +++ b/node_modules/@babel/core/lib/config/caching.js @@ -0,0 +1,324 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.makeWeakCache = makeWeakCache; +exports.makeWeakCacheSync = makeWeakCacheSync; +exports.makeStrongCache = makeStrongCache; +exports.makeStrongCacheSync = makeStrongCacheSync; +exports.assertSimpleType = assertSimpleType; + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +var _async = require("../gensync-utils/async"); + +var _util = require("./util"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const synchronize = gen => { + return (0, _gensync().default)(gen).sync; +}; + +function* genTrue(data) { + return true; +} + +function makeWeakCache(handler) { + return makeCachedFunction(WeakMap, handler); +} + +function makeWeakCacheSync(handler) { + return synchronize(makeWeakCache(handler)); +} + +function makeStrongCache(handler) { + return makeCachedFunction(Map, handler); +} + +function makeStrongCacheSync(handler) { + return synchronize(makeStrongCache(handler)); +} + +function makeCachedFunction(CallCache, handler) { + const callCacheSync = new CallCache(); + const callCacheAsync = new CallCache(); + const futureCache = new CallCache(); + return function* cachedFunction(arg, data) { + const asyncContext = yield* (0, _async.isAsync)(); + const callCache = asyncContext ? callCacheAsync : callCacheSync; + const cached = yield* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data); + if (cached.valid) return cached.value; + const cache = new CacheConfigurator(data); + const handlerResult = handler(arg, cache); + let finishLock; + let value; + + if ((0, _util.isIterableIterator)(handlerResult)) { + const gen = handlerResult; + value = yield* (0, _async.onFirstPause)(gen, () => { + finishLock = setupAsyncLocks(cache, futureCache, arg); + }); + } else { + value = handlerResult; + } + + updateFunctionCache(callCache, cache, arg, value); + + if (finishLock) { + futureCache.delete(arg); + finishLock.release(value); + } + + return value; + }; +} + +function* getCachedValue(cache, arg, data) { + const cachedValue = cache.get(arg); + + if (cachedValue) { + for (const { + value, + valid + } of cachedValue) { + if (yield* valid(data)) return { + valid: true, + value + }; + } + } + + return { + valid: false, + value: null + }; +} + +function* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data) { + const cached = yield* getCachedValue(callCache, arg, data); + + if (cached.valid) { + return cached; + } + + if (asyncContext) { + const cached = yield* getCachedValue(futureCache, arg, data); + + if (cached.valid) { + const value = yield* (0, _async.waitFor)(cached.value.promise); + return { + valid: true, + value + }; + } + } + + return { + valid: false, + value: null + }; +} + +function setupAsyncLocks(config, futureCache, arg) { + const finishLock = new Lock(); + updateFunctionCache(futureCache, config, arg, finishLock); + return finishLock; +} + +function updateFunctionCache(cache, config, arg, value) { + if (!config.configured()) config.forever(); + let cachedValue = cache.get(arg); + config.deactivate(); + + switch (config.mode()) { + case "forever": + cachedValue = [{ + value, + valid: genTrue + }]; + cache.set(arg, cachedValue); + break; + + case "invalidate": + cachedValue = [{ + value, + valid: config.validator() + }]; + cache.set(arg, cachedValue); + break; + + case "valid": + if (cachedValue) { + cachedValue.push({ + value, + valid: config.validator() + }); + } else { + cachedValue = [{ + value, + valid: config.validator() + }]; + cache.set(arg, cachedValue); + } + + } +} + +class CacheConfigurator { + constructor(data) { + this._active = true; + this._never = false; + this._forever = false; + this._invalidate = false; + this._configured = false; + this._pairs = []; + this._data = data; + } + + simple() { + return makeSimpleConfigurator(this); + } + + mode() { + if (this._never) return "never"; + if (this._forever) return "forever"; + if (this._invalidate) return "invalidate"; + return "valid"; + } + + forever() { + if (!this._active) { + throw new Error("Cannot change caching after evaluation has completed."); + } + + if (this._never) { + throw new Error("Caching has already been configured with .never()"); + } + + this._forever = true; + this._configured = true; + } + + never() { + if (!this._active) { + throw new Error("Cannot change caching after evaluation has completed."); + } + + if (this._forever) { + throw new Error("Caching has already been configured with .forever()"); + } + + this._never = true; + this._configured = true; + } + + using(handler) { + if (!this._active) { + throw new Error("Cannot change caching after evaluation has completed."); + } + + if (this._never || this._forever) { + throw new Error("Caching has already been configured with .never or .forever()"); + } + + this._configured = true; + const key = handler(this._data); + const fn = (0, _async.maybeAsync)(handler, `You appear to be using an async cache handler, but Babel has been called synchronously`); + + if ((0, _async.isThenable)(key)) { + return key.then(key => { + this._pairs.push([key, fn]); + + return key; + }); + } + + this._pairs.push([key, fn]); + + return key; + } + + invalidate(handler) { + this._invalidate = true; + return this.using(handler); + } + + validator() { + const pairs = this._pairs; + return function* (data) { + for (const [key, fn] of pairs) { + if (key !== (yield* fn(data))) return false; + } + + return true; + }; + } + + deactivate() { + this._active = false; + } + + configured() { + return this._configured; + } + +} + +function makeSimpleConfigurator(cache) { + function cacheFn(val) { + if (typeof val === "boolean") { + if (val) cache.forever();else cache.never(); + return; + } + + return cache.using(() => assertSimpleType(val())); + } + + cacheFn.forever = () => cache.forever(); + + cacheFn.never = () => cache.never(); + + cacheFn.using = cb => cache.using(() => assertSimpleType(cb())); + + cacheFn.invalidate = cb => cache.invalidate(() => assertSimpleType(cb())); + + return cacheFn; +} + +function assertSimpleType(value) { + if ((0, _async.isThenable)(value)) { + throw new Error(`You appear to be using an async cache handler, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously handle your caching logic.`); + } + + if (value != null && typeof value !== "string" && typeof value !== "boolean" && typeof value !== "number") { + throw new Error("Cache keys must be either string, boolean, number, null, or undefined."); + } + + return value; +} + +class Lock { + constructor() { + this.released = false; + this.promise = new Promise(resolve => { + this._resolve = resolve; + }); + } + + release(value) { + this.released = true; + + this._resolve(value); + } + +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/config-chain.js b/node_modules/@babel/core/lib/config/config-chain.js new file mode 100644 index 000000000..ef5bd6158 --- /dev/null +++ b/node_modules/@babel/core/lib/config/config-chain.js @@ -0,0 +1,519 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.buildPresetChain = buildPresetChain; +exports.buildRootChain = buildRootChain; +exports.buildPresetChainWalker = void 0; + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +function _debug() { + const data = _interopRequireDefault(require("debug")); + + _debug = function () { + return data; + }; + + return data; +} + +var _options = require("./validation/options"); + +var _patternToRegex = _interopRequireDefault(require("./pattern-to-regex")); + +var _printer = require("./printer"); + +var _files = require("./files"); + +var _caching = require("./caching"); + +var _configDescriptors = require("./config-descriptors"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const debug = (0, _debug().default)("babel:config:config-chain"); + +function* buildPresetChain(arg, context) { + const chain = yield* buildPresetChainWalker(arg, context); + if (!chain) return null; + return { + plugins: dedupDescriptors(chain.plugins), + presets: dedupDescriptors(chain.presets), + options: chain.options.map(o => normalizeOptions(o)) + }; +} + +const buildPresetChainWalker = makeChainWalker({ + root: preset => loadPresetDescriptors(preset), + env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName), + overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index), + overridesEnv: (preset, index, envName) => loadPresetOverridesEnvDescriptors(preset)(index)(envName), + createLogger: () => () => {} +}); +exports.buildPresetChainWalker = buildPresetChainWalker; +const loadPresetDescriptors = (0, _caching.makeWeakCacheSync)(preset => buildRootDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors)); +const loadPresetEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, envName))); +const loadPresetOverridesDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index))); +const loadPresetOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index, envName)))); + +function* buildRootChain(opts, context) { + let configReport, babelRcReport; + const programmaticLogger = new _printer.ConfigPrinter(); + const programmaticChain = yield* loadProgrammaticChain({ + options: opts, + dirname: context.cwd + }, context, undefined, programmaticLogger); + if (!programmaticChain) return null; + const programmaticReport = programmaticLogger.output(); + let configFile; + + if (typeof opts.configFile === "string") { + configFile = yield* (0, _files.loadConfig)(opts.configFile, context.cwd, context.envName, context.caller); + } else if (opts.configFile !== false) { + configFile = yield* (0, _files.findRootConfig)(context.root, context.envName, context.caller); + } + + let { + babelrc, + babelrcRoots + } = opts; + let babelrcRootsDirectory = context.cwd; + const configFileChain = emptyChain(); + const configFileLogger = new _printer.ConfigPrinter(); + + if (configFile) { + const validatedFile = validateConfigFile(configFile); + const result = yield* loadFileChain(validatedFile, context, undefined, configFileLogger); + if (!result) return null; + configReport = configFileLogger.output(); + + if (babelrc === undefined) { + babelrc = validatedFile.options.babelrc; + } + + if (babelrcRoots === undefined) { + babelrcRootsDirectory = validatedFile.dirname; + babelrcRoots = validatedFile.options.babelrcRoots; + } + + mergeChain(configFileChain, result); + } + + const pkgData = typeof context.filename === "string" ? yield* (0, _files.findPackageData)(context.filename) : null; + let ignoreFile, babelrcFile; + const fileChain = emptyChain(); + + if ((babelrc === true || babelrc === undefined) && pkgData && babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory)) { + ({ + ignore: ignoreFile, + config: babelrcFile + } = yield* (0, _files.findRelativeConfig)(pkgData, context.envName, context.caller)); + + if (ignoreFile && shouldIgnore(context, ignoreFile.ignore, null, ignoreFile.dirname)) { + return null; + } + + if (babelrcFile) { + const validatedFile = validateBabelrcFile(babelrcFile); + const babelrcLogger = new _printer.ConfigPrinter(); + const result = yield* loadFileChain(validatedFile, context, undefined, babelrcLogger); + if (!result) return null; + babelRcReport = babelrcLogger.output(); + mergeChain(fileChain, result); + } + } + + if (context.showConfig) { + console.log(`Babel configs on "${context.filename}" (ascending priority):\n` + [configReport, babelRcReport, programmaticReport].filter(x => !!x).join("\n\n")); + return null; + } + + const chain = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain); + return { + plugins: dedupDescriptors(chain.plugins), + presets: dedupDescriptors(chain.presets), + options: chain.options.map(o => normalizeOptions(o)), + ignore: ignoreFile || undefined, + babelrc: babelrcFile || undefined, + config: configFile || undefined + }; +} + +function babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory) { + if (typeof babelrcRoots === "boolean") return babelrcRoots; + const absoluteRoot = context.root; + + if (babelrcRoots === undefined) { + return pkgData.directories.indexOf(absoluteRoot) !== -1; + } + + let babelrcPatterns = babelrcRoots; + if (!Array.isArray(babelrcPatterns)) babelrcPatterns = [babelrcPatterns]; + babelrcPatterns = babelrcPatterns.map(pat => { + return typeof pat === "string" ? _path().default.resolve(babelrcRootsDirectory, pat) : pat; + }); + + if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) { + return pkgData.directories.indexOf(absoluteRoot) !== -1; + } + + return babelrcPatterns.some(pat => { + if (typeof pat === "string") { + pat = (0, _patternToRegex.default)(pat, babelrcRootsDirectory); + } + + return pkgData.directories.some(directory => { + return matchPattern(pat, babelrcRootsDirectory, directory, context); + }); + }); +} + +const validateConfigFile = (0, _caching.makeWeakCacheSync)(file => ({ + filepath: file.filepath, + dirname: file.dirname, + options: (0, _options.validate)("configfile", file.options) +})); +const validateBabelrcFile = (0, _caching.makeWeakCacheSync)(file => ({ + filepath: file.filepath, + dirname: file.dirname, + options: (0, _options.validate)("babelrcfile", file.options) +})); +const validateExtendFile = (0, _caching.makeWeakCacheSync)(file => ({ + filepath: file.filepath, + dirname: file.dirname, + options: (0, _options.validate)("extendsfile", file.options) +})); +const loadProgrammaticChain = makeChainWalker({ + root: input => buildRootDescriptors(input, "base", _configDescriptors.createCachedDescriptors), + env: (input, envName) => buildEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, envName), + overrides: (input, index) => buildOverrideDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index), + overridesEnv: (input, index, envName) => buildOverrideEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index, envName), + createLogger: (input, context, baseLogger) => buildProgrammaticLogger(input, context, baseLogger) +}); +const loadFileChain = makeChainWalker({ + root: file => loadFileDescriptors(file), + env: (file, envName) => loadFileEnvDescriptors(file)(envName), + overrides: (file, index) => loadFileOverridesDescriptors(file)(index), + overridesEnv: (file, index, envName) => loadFileOverridesEnvDescriptors(file)(index)(envName), + createLogger: (file, context, baseLogger) => buildFileLogger(file.filepath, context, baseLogger) +}); +const loadFileDescriptors = (0, _caching.makeWeakCacheSync)(file => buildRootDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors)); +const loadFileEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, envName))); +const loadFileOverridesDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index))); +const loadFileOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index, envName)))); + +function buildFileLogger(filepath, context, baseLogger) { + if (!baseLogger) { + return () => {}; + } + + return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Config, { + filepath + }); +} + +function buildRootDescriptors({ + dirname, + options +}, alias, descriptors) { + return descriptors(dirname, options, alias); +} + +function buildProgrammaticLogger(_, context, baseLogger) { + var _context$caller; + + if (!baseLogger) { + return () => {}; + } + + return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Programmatic, { + callerName: (_context$caller = context.caller) == null ? void 0 : _context$caller.name + }); +} + +function buildEnvDescriptors({ + dirname, + options +}, alias, descriptors, envName) { + const opts = options.env && options.env[envName]; + return opts ? descriptors(dirname, opts, `${alias}.env["${envName}"]`) : null; +} + +function buildOverrideDescriptors({ + dirname, + options +}, alias, descriptors, index) { + const opts = options.overrides && options.overrides[index]; + if (!opts) throw new Error("Assertion failure - missing override"); + return descriptors(dirname, opts, `${alias}.overrides[${index}]`); +} + +function buildOverrideEnvDescriptors({ + dirname, + options +}, alias, descriptors, index, envName) { + const override = options.overrides && options.overrides[index]; + if (!override) throw new Error("Assertion failure - missing override"); + const opts = override.env && override.env[envName]; + return opts ? descriptors(dirname, opts, `${alias}.overrides[${index}].env["${envName}"]`) : null; +} + +function makeChainWalker({ + root, + env, + overrides, + overridesEnv, + createLogger +}) { + return function* (input, context, files = new Set(), baseLogger) { + const { + dirname + } = input; + const flattenedConfigs = []; + const rootOpts = root(input); + + if (configIsApplicable(rootOpts, dirname, context)) { + flattenedConfigs.push({ + config: rootOpts, + envName: undefined, + index: undefined + }); + const envOpts = env(input, context.envName); + + if (envOpts && configIsApplicable(envOpts, dirname, context)) { + flattenedConfigs.push({ + config: envOpts, + envName: context.envName, + index: undefined + }); + } + + (rootOpts.options.overrides || []).forEach((_, index) => { + const overrideOps = overrides(input, index); + + if (configIsApplicable(overrideOps, dirname, context)) { + flattenedConfigs.push({ + config: overrideOps, + index, + envName: undefined + }); + const overrideEnvOpts = overridesEnv(input, index, context.envName); + + if (overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname, context)) { + flattenedConfigs.push({ + config: overrideEnvOpts, + index, + envName: context.envName + }); + } + } + }); + } + + if (flattenedConfigs.some(({ + config: { + options: { + ignore, + only + } + } + }) => shouldIgnore(context, ignore, only, dirname))) { + return null; + } + + const chain = emptyChain(); + const logger = createLogger(input, context, baseLogger); + + for (const { + config, + index, + envName + } of flattenedConfigs) { + if (!(yield* mergeExtendsChain(chain, config.options, dirname, context, files, baseLogger))) { + return null; + } + + logger(config, index, envName); + mergeChainOpts(chain, config); + } + + return chain; + }; +} + +function* mergeExtendsChain(chain, opts, dirname, context, files, baseLogger) { + if (opts.extends === undefined) return true; + const file = yield* (0, _files.loadConfig)(opts.extends, dirname, context.envName, context.caller); + + if (files.has(file)) { + throw new Error(`Configuration cycle detected loading ${file.filepath}.\n` + `File already loaded following the config chain:\n` + Array.from(files, file => ` - ${file.filepath}`).join("\n")); + } + + files.add(file); + const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger); + files.delete(file); + if (!fileChain) return false; + mergeChain(chain, fileChain); + return true; +} + +function mergeChain(target, source) { + target.options.push(...source.options); + target.plugins.push(...source.plugins); + target.presets.push(...source.presets); + return target; +} + +function mergeChainOpts(target, { + options, + plugins, + presets +}) { + target.options.push(options); + target.plugins.push(...plugins()); + target.presets.push(...presets()); + return target; +} + +function emptyChain() { + return { + options: [], + presets: [], + plugins: [] + }; +} + +function normalizeOptions(opts) { + const options = Object.assign({}, opts); + delete options.extends; + delete options.env; + delete options.overrides; + delete options.plugins; + delete options.presets; + delete options.passPerPreset; + delete options.ignore; + delete options.only; + delete options.test; + delete options.include; + delete options.exclude; + + if (Object.prototype.hasOwnProperty.call(options, "sourceMap")) { + options.sourceMaps = options.sourceMap; + delete options.sourceMap; + } + + return options; +} + +function dedupDescriptors(items) { + const map = new Map(); + const descriptors = []; + + for (const item of items) { + if (typeof item.value === "function") { + const fnKey = item.value; + let nameMap = map.get(fnKey); + + if (!nameMap) { + nameMap = new Map(); + map.set(fnKey, nameMap); + } + + let desc = nameMap.get(item.name); + + if (!desc) { + desc = { + value: item + }; + descriptors.push(desc); + if (!item.ownPass) nameMap.set(item.name, desc); + } else { + desc.value = item; + } + } else { + descriptors.push({ + value: item + }); + } + } + + return descriptors.reduce((acc, desc) => { + acc.push(desc.value); + return acc; + }, []); +} + +function configIsApplicable({ + options +}, dirname, context) { + return (options.test === undefined || configFieldIsApplicable(context, options.test, dirname)) && (options.include === undefined || configFieldIsApplicable(context, options.include, dirname)) && (options.exclude === undefined || !configFieldIsApplicable(context, options.exclude, dirname)); +} + +function configFieldIsApplicable(context, test, dirname) { + const patterns = Array.isArray(test) ? test : [test]; + return matchesPatterns(context, patterns, dirname); +} + +function shouldIgnore(context, ignore, only, dirname) { + if (ignore && matchesPatterns(context, ignore, dirname)) { + var _context$filename; + + const message = `No config is applied to "${(_context$filename = context.filename) != null ? _context$filename : "(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(ignore)}\` from "${dirname}"`; + debug(message); + + if (context.showConfig) { + console.log(message); + } + + return true; + } + + if (only && !matchesPatterns(context, only, dirname)) { + var _context$filename2; + + const message = `No config is applied to "${(_context$filename2 = context.filename) != null ? _context$filename2 : "(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(only)}\` from "${dirname}"`; + debug(message); + + if (context.showConfig) { + console.log(message); + } + + return true; + } + + return false; +} + +function matchesPatterns(context, patterns, dirname) { + return patterns.some(pattern => matchPattern(pattern, dirname, context.filename, context)); +} + +function matchPattern(pattern, dirname, pathToTest, context) { + if (typeof pattern === "function") { + return !!pattern(pathToTest, { + dirname, + envName: context.envName, + caller: context.caller + }); + } + + if (typeof pathToTest !== "string") { + throw new Error(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`); + } + + if (typeof pattern === "string") { + pattern = (0, _patternToRegex.default)(pattern, dirname); + } + + return pattern.test(pathToTest); +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/config-descriptors.js b/node_modules/@babel/core/lib/config/config-descriptors.js new file mode 100644 index 000000000..62efa7126 --- /dev/null +++ b/node_modules/@babel/core/lib/config/config-descriptors.js @@ -0,0 +1,211 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.createCachedDescriptors = createCachedDescriptors; +exports.createUncachedDescriptors = createUncachedDescriptors; +exports.createDescriptor = createDescriptor; + +var _files = require("./files"); + +var _item = require("./item"); + +var _caching = require("./caching"); + +function isEqualDescriptor(a, b) { + return a.name === b.name && a.value === b.value && a.options === b.options && a.dirname === b.dirname && a.alias === b.alias && a.ownPass === b.ownPass && (a.file && a.file.request) === (b.file && b.file.request) && (a.file && a.file.resolved) === (b.file && b.file.resolved); +} + +function createCachedDescriptors(dirname, options, alias) { + const { + plugins, + presets, + passPerPreset + } = options; + return { + options, + plugins: plugins ? () => createCachedPluginDescriptors(plugins, dirname)(alias) : () => [], + presets: presets ? () => createCachedPresetDescriptors(presets, dirname)(alias)(!!passPerPreset) : () => [] + }; +} + +function createUncachedDescriptors(dirname, options, alias) { + let plugins; + let presets; + return { + options, + plugins: () => { + if (!plugins) { + plugins = createPluginDescriptors(options.plugins || [], dirname, alias); + } + + return plugins; + }, + presets: () => { + if (!presets) { + presets = createPresetDescriptors(options.presets || [], dirname, alias, !!options.passPerPreset); + } + + return presets; + } + }; +} + +const PRESET_DESCRIPTOR_CACHE = new WeakMap(); +const createCachedPresetDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => { + const dirname = cache.using(dir => dir); + return (0, _caching.makeStrongCacheSync)(alias => (0, _caching.makeStrongCacheSync)(passPerPreset => createPresetDescriptors(items, dirname, alias, passPerPreset).map(desc => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc)))); +}); +const PLUGIN_DESCRIPTOR_CACHE = new WeakMap(); +const createCachedPluginDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => { + const dirname = cache.using(dir => dir); + return (0, _caching.makeStrongCacheSync)(alias => createPluginDescriptors(items, dirname, alias).map(desc => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc))); +}); +const DEFAULT_OPTIONS = {}; + +function loadCachedDescriptor(cache, desc) { + const { + value, + options = DEFAULT_OPTIONS + } = desc; + if (options === false) return desc; + let cacheByOptions = cache.get(value); + + if (!cacheByOptions) { + cacheByOptions = new WeakMap(); + cache.set(value, cacheByOptions); + } + + let possibilities = cacheByOptions.get(options); + + if (!possibilities) { + possibilities = []; + cacheByOptions.set(options, possibilities); + } + + if (possibilities.indexOf(desc) === -1) { + const matches = possibilities.filter(possibility => isEqualDescriptor(possibility, desc)); + + if (matches.length > 0) { + return matches[0]; + } + + possibilities.push(desc); + } + + return desc; +} + +function createPresetDescriptors(items, dirname, alias, passPerPreset) { + return createDescriptors("preset", items, dirname, alias, passPerPreset); +} + +function createPluginDescriptors(items, dirname, alias) { + return createDescriptors("plugin", items, dirname, alias); +} + +function createDescriptors(type, items, dirname, alias, ownPass) { + const descriptors = items.map((item, index) => createDescriptor(item, dirname, { + type, + alias: `${alias}$${index}`, + ownPass: !!ownPass + })); + assertNoDuplicates(descriptors); + return descriptors; +} + +function createDescriptor(pair, dirname, { + type, + alias, + ownPass +}) { + const desc = (0, _item.getItemDescriptor)(pair); + + if (desc) { + return desc; + } + + let name; + let options; + let value = pair; + + if (Array.isArray(value)) { + if (value.length === 3) { + [value, options, name] = value; + } else { + [value, options] = value; + } + } + + let file = undefined; + let filepath = null; + + if (typeof value === "string") { + if (typeof type !== "string") { + throw new Error("To resolve a string-based item, the type of item must be given"); + } + + const resolver = type === "plugin" ? _files.loadPlugin : _files.loadPreset; + const request = value; + ({ + filepath, + value + } = resolver(value, dirname)); + file = { + request, + resolved: filepath + }; + } + + if (!value) { + throw new Error(`Unexpected falsy value: ${String(value)}`); + } + + if (typeof value === "object" && value.__esModule) { + if (value.default) { + value = value.default; + } else { + throw new Error("Must export a default export when using ES6 modules."); + } + } + + if (typeof value !== "object" && typeof value !== "function") { + throw new Error(`Unsupported format: ${typeof value}. Expected an object or a function.`); + } + + if (filepath !== null && typeof value === "object" && value) { + throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`); + } + + return { + name, + alias: filepath || alias, + value, + options, + dirname, + ownPass, + file + }; +} + +function assertNoDuplicates(items) { + const map = new Map(); + + for (const item of items) { + if (typeof item.value !== "function") continue; + let nameMap = map.get(item.value); + + if (!nameMap) { + nameMap = new Set(); + map.set(item.value, nameMap); + } + + if (nameMap.has(item.name)) { + const conflicts = items.filter(i => i.value === item.value); + throw new Error([`Duplicate plugin/preset detected.`, `If you'd like to use two separate instances of a plugin,`, `they need separate names, e.g.`, ``, ` plugins: [`, ` ['some-plugin', {}],`, ` ['some-plugin', {}, 'some unique name'],`, ` ]`, ``, `Duplicates detected are:`, `${JSON.stringify(conflicts, null, 2)}`].join("\n")); + } + + nameMap.add(item.name); + } +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/configuration.js b/node_modules/@babel/core/lib/config/files/configuration.js new file mode 100644 index 000000000..999c3269c --- /dev/null +++ b/node_modules/@babel/core/lib/config/files/configuration.js @@ -0,0 +1,335 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.findConfigUpwards = findConfigUpwards; +exports.findRelativeConfig = findRelativeConfig; +exports.findRootConfig = findRootConfig; +exports.loadConfig = loadConfig; +exports.resolveShowConfigPath = resolveShowConfigPath; +exports.ROOT_CONFIG_FILENAMES = void 0; + +function _debug() { + const data = _interopRequireDefault(require("debug")); + + _debug = function () { + return data; + }; + + return data; +} + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +function _json() { + const data = _interopRequireDefault(require("json5")); + + _json = function () { + return data; + }; + + return data; +} + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +var _caching = require("../caching"); + +var _configApi = _interopRequireDefault(require("../helpers/config-api")); + +var _utils = require("./utils"); + +var _moduleTypes = _interopRequireDefault(require("./module-types")); + +var _patternToRegex = _interopRequireDefault(require("../pattern-to-regex")); + +var fs = _interopRequireWildcard(require("../../gensync-utils/fs")); + +var _resolve = _interopRequireDefault(require("../../gensync-utils/resolve")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const debug = (0, _debug().default)("babel:config:loading:files:configuration"); +const ROOT_CONFIG_FILENAMES = ["babel.config.js", "babel.config.cjs", "babel.config.mjs", "babel.config.json"]; +exports.ROOT_CONFIG_FILENAMES = ROOT_CONFIG_FILENAMES; +const RELATIVE_CONFIG_FILENAMES = [".babelrc", ".babelrc.js", ".babelrc.cjs", ".babelrc.mjs", ".babelrc.json"]; +const BABELIGNORE_FILENAME = ".babelignore"; + +function* findConfigUpwards(rootDir) { + let dirname = rootDir; + + while (true) { + for (const filename of ROOT_CONFIG_FILENAMES) { + if (yield* fs.exists(_path().default.join(dirname, filename))) { + return dirname; + } + } + + const nextDir = _path().default.dirname(dirname); + + if (dirname === nextDir) break; + dirname = nextDir; + } + + return null; +} + +function* findRelativeConfig(packageData, envName, caller) { + let config = null; + let ignore = null; + + const dirname = _path().default.dirname(packageData.filepath); + + for (const loc of packageData.directories) { + if (!config) { + var _packageData$pkg; + + config = yield* loadOneConfig(RELATIVE_CONFIG_FILENAMES, loc, envName, caller, ((_packageData$pkg = packageData.pkg) == null ? void 0 : _packageData$pkg.dirname) === loc ? packageToBabelConfig(packageData.pkg) : null); + } + + if (!ignore) { + const ignoreLoc = _path().default.join(loc, BABELIGNORE_FILENAME); + + ignore = yield* readIgnoreConfig(ignoreLoc); + + if (ignore) { + debug("Found ignore %o from %o.", ignore.filepath, dirname); + } + } + } + + return { + config, + ignore + }; +} + +function findRootConfig(dirname, envName, caller) { + return loadOneConfig(ROOT_CONFIG_FILENAMES, dirname, envName, caller); +} + +function* loadOneConfig(names, dirname, envName, caller, previousConfig = null) { + const configs = yield* _gensync().default.all(names.map(filename => readConfig(_path().default.join(dirname, filename), envName, caller))); + const config = configs.reduce((previousConfig, config) => { + if (config && previousConfig) { + throw new Error(`Multiple configuration files found. Please remove one:\n` + ` - ${_path().default.basename(previousConfig.filepath)}\n` + ` - ${config.filepath}\n` + `from ${dirname}`); + } + + return config || previousConfig; + }, previousConfig); + + if (config) { + debug("Found configuration %o from %o.", config.filepath, dirname); + } + + return config; +} + +function* loadConfig(name, dirname, envName, caller) { + const filepath = yield* (0, _resolve.default)(name, { + basedir: dirname + }); + const conf = yield* readConfig(filepath, envName, caller); + + if (!conf) { + throw new Error(`Config file ${filepath} contains no configuration data`); + } + + debug("Loaded config %o from %o.", name, dirname); + return conf; +} + +function readConfig(filepath, envName, caller) { + const ext = _path().default.extname(filepath); + + return ext === ".js" || ext === ".cjs" || ext === ".mjs" ? readConfigJS(filepath, { + envName, + caller + }) : readConfigJSON5(filepath); +} + +const LOADING_CONFIGS = new Set(); +const readConfigJS = (0, _caching.makeStrongCache)(function* readConfigJS(filepath, cache) { + if (!fs.exists.sync(filepath)) { + cache.forever(); + return null; + } + + if (LOADING_CONFIGS.has(filepath)) { + cache.never(); + debug("Auto-ignoring usage of config %o.", filepath); + return { + filepath, + dirname: _path().default.dirname(filepath), + options: {} + }; + } + + let options; + + try { + LOADING_CONFIGS.add(filepath); + options = yield* (0, _moduleTypes.default)(filepath, "You appear to be using a native ECMAScript module configuration " + "file, which is only supported when running Babel asynchronously."); + } catch (err) { + err.message = `${filepath}: Error while loading config - ${err.message}`; + throw err; + } finally { + LOADING_CONFIGS.delete(filepath); + } + + let assertCache = false; + + if (typeof options === "function") { + yield* []; + options = options((0, _configApi.default)(cache)); + assertCache = true; + } + + if (!options || typeof options !== "object" || Array.isArray(options)) { + throw new Error(`${filepath}: Configuration should be an exported JavaScript object.`); + } + + if (typeof options.then === "function") { + throw new Error(`You appear to be using an async configuration, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously return your config.`); + } + + if (assertCache && !cache.configured()) throwConfigError(); + return { + filepath, + dirname: _path().default.dirname(filepath), + options + }; +}); +const packageToBabelConfig = (0, _caching.makeWeakCacheSync)(file => { + const babel = file.options["babel"]; + if (typeof babel === "undefined") return null; + + if (typeof babel !== "object" || Array.isArray(babel) || babel === null) { + throw new Error(`${file.filepath}: .babel property must be an object`); + } + + return { + filepath: file.filepath, + dirname: file.dirname, + options: babel + }; +}); +const readConfigJSON5 = (0, _utils.makeStaticFileCache)((filepath, content) => { + let options; + + try { + options = _json().default.parse(content); + } catch (err) { + err.message = `${filepath}: Error while parsing config - ${err.message}`; + throw err; + } + + if (!options) throw new Error(`${filepath}: No config detected`); + + if (typeof options !== "object") { + throw new Error(`${filepath}: Config returned typeof ${typeof options}`); + } + + if (Array.isArray(options)) { + throw new Error(`${filepath}: Expected config object but found array`); + } + + return { + filepath, + dirname: _path().default.dirname(filepath), + options + }; +}); +const readIgnoreConfig = (0, _utils.makeStaticFileCache)((filepath, content) => { + const ignoreDir = _path().default.dirname(filepath); + + const ignorePatterns = content.split("\n").map(line => line.replace(/#(.*?)$/, "").trim()).filter(line => !!line); + + for (const pattern of ignorePatterns) { + if (pattern[0] === "!") { + throw new Error(`Negation of file paths is not supported.`); + } + } + + return { + filepath, + dirname: _path().default.dirname(filepath), + ignore: ignorePatterns.map(pattern => (0, _patternToRegex.default)(pattern, ignoreDir)) + }; +}); + +function* resolveShowConfigPath(dirname) { + const targetPath = process.env.BABEL_SHOW_CONFIG_FOR; + + if (targetPath != null) { + const absolutePath = _path().default.resolve(dirname, targetPath); + + const stats = yield* fs.stat(absolutePath); + + if (!stats.isFile()) { + throw new Error(`${absolutePath}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`); + } + + return absolutePath; + } + + return null; +} + +function throwConfigError() { + throw new Error(`\ +Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured +for various types of caching, using the first param of their handler functions: + +module.exports = function(api) { + // The API exposes the following: + + // Cache the returned value forever and don't call this function again. + api.cache(true); + + // Don't cache at all. Not recommended because it will be very slow. + api.cache(false); + + // Cached based on the value of some function. If this function returns a value different from + // a previously-encountered value, the plugins will re-evaluate. + var env = api.cache(() => process.env.NODE_ENV); + + // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for + // any possible NODE_ENV value that might come up during plugin execution. + var isProd = api.cache(() => process.env.NODE_ENV === "production"); + + // .cache(fn) will perform a linear search though instances to find the matching plugin based + // based on previous instantiated plugins. If you want to recreate the plugin and discard the + // previous instance whenever something changes, you may use: + var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production"); + + // Note, we also expose the following more-verbose versions of the above examples: + api.cache.forever(); // api.cache(true) + api.cache.never(); // api.cache(false) + api.cache.using(fn); // api.cache(fn) + + // Return the value that will be cached. + return { }; +};`); +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/import.js b/node_modules/@babel/core/lib/config/files/import.js new file mode 100644 index 000000000..c0acc2b66 --- /dev/null +++ b/node_modules/@babel/core/lib/config/files/import.js @@ -0,0 +1,10 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = import_; + +function import_(filepath) { + return import(filepath); +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/index-browser.js b/node_modules/@babel/core/lib/config/files/index-browser.js new file mode 100644 index 000000000..abe5fbd1b --- /dev/null +++ b/node_modules/@babel/core/lib/config/files/index-browser.js @@ -0,0 +1,68 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.findConfigUpwards = findConfigUpwards; +exports.findPackageData = findPackageData; +exports.findRelativeConfig = findRelativeConfig; +exports.findRootConfig = findRootConfig; +exports.loadConfig = loadConfig; +exports.resolveShowConfigPath = resolveShowConfigPath; +exports.resolvePlugin = resolvePlugin; +exports.resolvePreset = resolvePreset; +exports.loadPlugin = loadPlugin; +exports.loadPreset = loadPreset; +exports.ROOT_CONFIG_FILENAMES = void 0; + +function* findConfigUpwards(rootDir) { + return null; +} + +function* findPackageData(filepath) { + return { + filepath, + directories: [], + pkg: null, + isPackage: false + }; +} + +function* findRelativeConfig(pkgData, envName, caller) { + return { + pkg: null, + config: null, + ignore: null + }; +} + +function* findRootConfig(dirname, envName, caller) { + return null; +} + +function* loadConfig(name, dirname, envName, caller) { + throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`); +} + +function* resolveShowConfigPath(dirname) { + return null; +} + +const ROOT_CONFIG_FILENAMES = []; +exports.ROOT_CONFIG_FILENAMES = ROOT_CONFIG_FILENAMES; + +function resolvePlugin(name, dirname) { + return null; +} + +function resolvePreset(name, dirname) { + return null; +} + +function loadPlugin(name, dirname) { + throw new Error(`Cannot load plugin ${name} relative to ${dirname} in a browser`); +} + +function loadPreset(name, dirname) { + throw new Error(`Cannot load preset ${name} relative to ${dirname} in a browser`); +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/index.js b/node_modules/@babel/core/lib/config/files/index.js new file mode 100644 index 000000000..f75ace5ae --- /dev/null +++ b/node_modules/@babel/core/lib/config/files/index.js @@ -0,0 +1,79 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "findPackageData", { + enumerable: true, + get: function () { + return _package.findPackageData; + } +}); +Object.defineProperty(exports, "findConfigUpwards", { + enumerable: true, + get: function () { + return _configuration.findConfigUpwards; + } +}); +Object.defineProperty(exports, "findRelativeConfig", { + enumerable: true, + get: function () { + return _configuration.findRelativeConfig; + } +}); +Object.defineProperty(exports, "findRootConfig", { + enumerable: true, + get: function () { + return _configuration.findRootConfig; + } +}); +Object.defineProperty(exports, "loadConfig", { + enumerable: true, + get: function () { + return _configuration.loadConfig; + } +}); +Object.defineProperty(exports, "resolveShowConfigPath", { + enumerable: true, + get: function () { + return _configuration.resolveShowConfigPath; + } +}); +Object.defineProperty(exports, "ROOT_CONFIG_FILENAMES", { + enumerable: true, + get: function () { + return _configuration.ROOT_CONFIG_FILENAMES; + } +}); +Object.defineProperty(exports, "resolvePlugin", { + enumerable: true, + get: function () { + return _plugins.resolvePlugin; + } +}); +Object.defineProperty(exports, "resolvePreset", { + enumerable: true, + get: function () { + return _plugins.resolvePreset; + } +}); +Object.defineProperty(exports, "loadPlugin", { + enumerable: true, + get: function () { + return _plugins.loadPlugin; + } +}); +Object.defineProperty(exports, "loadPreset", { + enumerable: true, + get: function () { + return _plugins.loadPreset; + } +}); + +var _package = require("./package"); + +var _configuration = require("./configuration"); + +var _plugins = require("./plugins"); + +({}); \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/module-types.js b/node_modules/@babel/core/lib/config/files/module-types.js new file mode 100644 index 000000000..6c17b8e37 --- /dev/null +++ b/node_modules/@babel/core/lib/config/files/module-types.js @@ -0,0 +1,96 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = loadCjsOrMjsDefault; + +var _async = require("../../gensync-utils/async"); + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +function _url() { + const data = require("url"); + + _url = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + +let import_; + +try { + import_ = require("./import").default; +} catch (_unused) {} + +function* loadCjsOrMjsDefault(filepath, asyncError) { + switch (guessJSModuleType(filepath)) { + case "cjs": + return loadCjsDefault(filepath); + + case "unknown": + try { + return loadCjsDefault(filepath); + } catch (e) { + if (e.code !== "ERR_REQUIRE_ESM") throw e; + } + + case "mjs": + if (yield* (0, _async.isAsync)()) { + return yield* (0, _async.waitFor)(loadMjsDefault(filepath)); + } + + throw new Error(asyncError); + } +} + +function guessJSModuleType(filename) { + switch (_path().default.extname(filename)) { + case ".cjs": + return "cjs"; + + case ".mjs": + return "mjs"; + + default: + return "unknown"; + } +} + +function loadCjsDefault(filepath) { + const module = require(filepath); + + return (module == null ? void 0 : module.__esModule) ? module.default || undefined : module; +} + +function loadMjsDefault(_x) { + return _loadMjsDefault.apply(this, arguments); +} + +function _loadMjsDefault() { + _loadMjsDefault = _asyncToGenerator(function* (filepath) { + if (!import_) { + throw new Error("Internal error: Native ECMAScript modules aren't supported" + " by this platform.\n"); + } + + const module = yield import_((0, _url().pathToFileURL)(filepath)); + return module.default; + }); + return _loadMjsDefault.apply(this, arguments); +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/package.js b/node_modules/@babel/core/lib/config/files/package.js new file mode 100644 index 000000000..095bc0e4a --- /dev/null +++ b/node_modules/@babel/core/lib/config/files/package.js @@ -0,0 +1,78 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.findPackageData = findPackageData; + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +var _utils = require("./utils"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const PACKAGE_FILENAME = "package.json"; + +function* findPackageData(filepath) { + let pkg = null; + const directories = []; + let isPackage = true; + + let dirname = _path().default.dirname(filepath); + + while (!pkg && _path().default.basename(dirname) !== "node_modules") { + directories.push(dirname); + pkg = yield* readConfigPackage(_path().default.join(dirname, PACKAGE_FILENAME)); + + const nextLoc = _path().default.dirname(dirname); + + if (dirname === nextLoc) { + isPackage = false; + break; + } + + dirname = nextLoc; + } + + return { + filepath, + directories, + pkg, + isPackage + }; +} + +const readConfigPackage = (0, _utils.makeStaticFileCache)((filepath, content) => { + let options; + + try { + options = JSON.parse(content); + } catch (err) { + err.message = `${filepath}: Error while parsing JSON - ${err.message}`; + throw err; + } + + if (!options) throw new Error(`${filepath}: No config detected`); + + if (typeof options !== "object") { + throw new Error(`${filepath}: Config returned typeof ${typeof options}`); + } + + if (Array.isArray(options)) { + throw new Error(`${filepath}: Expected config object but found array`); + } + + return { + filepath, + dirname: _path().default.dirname(filepath), + options + }; +}); \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/plugins.js b/node_modules/@babel/core/lib/config/files/plugins.js new file mode 100644 index 000000000..6b9cb715c --- /dev/null +++ b/node_modules/@babel/core/lib/config/files/plugins.js @@ -0,0 +1,169 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.resolvePlugin = resolvePlugin; +exports.resolvePreset = resolvePreset; +exports.loadPlugin = loadPlugin; +exports.loadPreset = loadPreset; + +function _debug() { + const data = _interopRequireDefault(require("debug")); + + _debug = function () { + return data; + }; + + return data; +} + +function _resolve() { + const data = _interopRequireDefault(require("resolve")); + + _resolve = function () { + return data; + }; + + return data; +} + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const debug = (0, _debug().default)("babel:config:loading:files:plugins"); +const EXACT_RE = /^module:/; +const BABEL_PLUGIN_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-plugin-)/; +const BABEL_PRESET_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-preset-)/; +const BABEL_PLUGIN_ORG_RE = /^(@babel\/)(?!plugin-|[^/]+\/)/; +const BABEL_PRESET_ORG_RE = /^(@babel\/)(?!preset-|[^/]+\/)/; +const OTHER_PLUGIN_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/; +const OTHER_PRESET_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/; +const OTHER_ORG_DEFAULT_RE = /^(@(?!babel$)[^/]+)$/; + +function resolvePlugin(name, dirname) { + return resolveStandardizedName("plugin", name, dirname); +} + +function resolvePreset(name, dirname) { + return resolveStandardizedName("preset", name, dirname); +} + +function loadPlugin(name, dirname) { + const filepath = resolvePlugin(name, dirname); + + if (!filepath) { + throw new Error(`Plugin ${name} not found relative to ${dirname}`); + } + + const value = requireModule("plugin", filepath); + debug("Loaded plugin %o from %o.", name, dirname); + return { + filepath, + value + }; +} + +function loadPreset(name, dirname) { + const filepath = resolvePreset(name, dirname); + + if (!filepath) { + throw new Error(`Preset ${name} not found relative to ${dirname}`); + } + + const value = requireModule("preset", filepath); + debug("Loaded preset %o from %o.", name, dirname); + return { + filepath, + value + }; +} + +function standardizeName(type, name) { + if (_path().default.isAbsolute(name)) return name; + const isPreset = type === "preset"; + return name.replace(isPreset ? BABEL_PRESET_PREFIX_RE : BABEL_PLUGIN_PREFIX_RE, `babel-${type}-`).replace(isPreset ? BABEL_PRESET_ORG_RE : BABEL_PLUGIN_ORG_RE, `$1${type}-`).replace(isPreset ? OTHER_PRESET_ORG_RE : OTHER_PLUGIN_ORG_RE, `$1babel-${type}-`).replace(OTHER_ORG_DEFAULT_RE, `$1/babel-${type}`).replace(EXACT_RE, ""); +} + +function resolveStandardizedName(type, name, dirname = process.cwd()) { + const standardizedName = standardizeName(type, name); + + try { + return _resolve().default.sync(standardizedName, { + basedir: dirname + }); + } catch (e) { + if (e.code !== "MODULE_NOT_FOUND") throw e; + + if (standardizedName !== name) { + let resolvedOriginal = false; + + try { + _resolve().default.sync(name, { + basedir: dirname + }); + + resolvedOriginal = true; + } catch (_unused) {} + + if (resolvedOriginal) { + e.message += `\n- If you want to resolve "${name}", use "module:${name}"`; + } + } + + let resolvedBabel = false; + + try { + _resolve().default.sync(standardizeName(type, "@babel/" + name), { + basedir: dirname + }); + + resolvedBabel = true; + } catch (_unused2) {} + + if (resolvedBabel) { + e.message += `\n- Did you mean "@babel/${name}"?`; + } + + let resolvedOppositeType = false; + const oppositeType = type === "preset" ? "plugin" : "preset"; + + try { + _resolve().default.sync(standardizeName(oppositeType, name), { + basedir: dirname + }); + + resolvedOppositeType = true; + } catch (_unused3) {} + + if (resolvedOppositeType) { + e.message += `\n- Did you accidentally pass a ${oppositeType} as a ${type}?`; + } + + throw e; + } +} + +const LOADING_MODULES = new Set(); + +function requireModule(type, name) { + if (LOADING_MODULES.has(name)) { + throw new Error(`Reentrant ${type} detected trying to load "${name}". This module is not ignored ` + "and is trying to load itself while compiling itself, leading to a dependency cycle. " + 'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.'); + } + + try { + LOADING_MODULES.add(name); + return require(name); + } finally { + LOADING_MODULES.delete(name); + } +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/files/types.js b/node_modules/@babel/core/lib/config/files/types.js new file mode 100644 index 000000000..e69de29bb diff --git a/node_modules/@babel/core/lib/config/files/utils.js b/node_modules/@babel/core/lib/config/files/utils.js new file mode 100644 index 000000000..0b0879814 --- /dev/null +++ b/node_modules/@babel/core/lib/config/files/utils.js @@ -0,0 +1,48 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.makeStaticFileCache = makeStaticFileCache; + +var _caching = require("../caching"); + +var fs = _interopRequireWildcard(require("../../gensync-utils/fs")); + +function _fs2() { + const data = _interopRequireDefault(require("fs")); + + _fs2 = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function makeStaticFileCache(fn) { + return (0, _caching.makeStrongCache)(function* (filepath, cache) { + const cached = cache.invalidate(() => fileMtime(filepath)); + + if (cached === null) { + return null; + } + + return fn(filepath, yield* fs.readFile(filepath, "utf8")); + }); +} + +function fileMtime(filepath) { + try { + return +_fs2().default.statSync(filepath).mtime; + } catch (e) { + if (e.code !== "ENOENT" && e.code !== "ENOTDIR") throw e; + } + + return null; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/full.js b/node_modules/@babel/core/lib/config/full.js new file mode 100644 index 000000000..7946d9995 --- /dev/null +++ b/node_modules/@babel/core/lib/config/full.js @@ -0,0 +1,317 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +var _async = require("../gensync-utils/async"); + +var _util = require("./util"); + +var context = _interopRequireWildcard(require("../index")); + +var _plugin = _interopRequireDefault(require("./plugin")); + +var _item = require("./item"); + +var _configChain = require("./config-chain"); + +function _traverse() { + const data = _interopRequireDefault(require("@babel/traverse")); + + _traverse = function () { + return data; + }; + + return data; +} + +var _caching = require("./caching"); + +var _options = require("./validation/options"); + +var _plugins = require("./validation/plugins"); + +var _configApi = _interopRequireDefault(require("./helpers/config-api")); + +var _partial = _interopRequireDefault(require("./partial")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var _default = (0, _gensync().default)(function* loadFullConfig(inputOpts) { + const result = yield* (0, _partial.default)(inputOpts); + + if (!result) { + return null; + } + + const { + options, + context + } = result; + const optionDefaults = {}; + const passes = [[]]; + + try { + const { + plugins, + presets + } = options; + + if (!plugins || !presets) { + throw new Error("Assertion failure - plugins and presets exist"); + } + + const ignored = yield* function* recurseDescriptors(config, pass) { + const plugins = []; + + for (let i = 0; i < config.plugins.length; i++) { + const descriptor = config.plugins[i]; + + if (descriptor.options !== false) { + try { + plugins.push(yield* loadPluginDescriptor(descriptor, context)); + } catch (e) { + if (i > 0 && e.code === "BABEL_UNKNOWN_PLUGIN_PROPERTY") { + (0, _options.checkNoUnwrappedItemOptionPairs)(config.plugins[i - 1], descriptor, "plugin", i, e); + } + + throw e; + } + } + } + + const presets = []; + + for (let i = 0; i < config.presets.length; i++) { + const descriptor = config.presets[i]; + + if (descriptor.options !== false) { + try { + presets.push({ + preset: yield* loadPresetDescriptor(descriptor, context), + pass: descriptor.ownPass ? [] : pass + }); + } catch (e) { + if (i > 0 && e.code === "BABEL_UNKNOWN_OPTION") { + (0, _options.checkNoUnwrappedItemOptionPairs)(config.presets[i - 1], descriptor, "preset", i, e); + } + + throw e; + } + } + } + + if (presets.length > 0) { + passes.splice(1, 0, ...presets.map(o => o.pass).filter(p => p !== pass)); + + for (const { + preset, + pass + } of presets) { + if (!preset) return true; + const ignored = yield* recurseDescriptors({ + plugins: preset.plugins, + presets: preset.presets + }, pass); + if (ignored) return true; + preset.options.forEach(opts => { + (0, _util.mergeOptions)(optionDefaults, opts); + }); + } + } + + if (plugins.length > 0) { + pass.unshift(...plugins); + } + }({ + plugins: plugins.map(item => { + const desc = (0, _item.getItemDescriptor)(item); + + if (!desc) { + throw new Error("Assertion failure - must be config item"); + } + + return desc; + }), + presets: presets.map(item => { + const desc = (0, _item.getItemDescriptor)(item); + + if (!desc) { + throw new Error("Assertion failure - must be config item"); + } + + return desc; + }) + }, passes[0]); + if (ignored) return null; + } catch (e) { + if (!/^\[BABEL\]/.test(e.message)) { + e.message = `[BABEL] ${context.filename || "unknown"}: ${e.message}`; + } + + throw e; + } + + const opts = optionDefaults; + (0, _util.mergeOptions)(opts, options); + opts.plugins = passes[0]; + opts.presets = passes.slice(1).filter(plugins => plugins.length > 0).map(plugins => ({ + plugins + })); + opts.passPerPreset = opts.presets.length > 0; + return { + options: opts, + passes: passes + }; +}); + +exports.default = _default; +const loadDescriptor = (0, _caching.makeWeakCache)(function* ({ + value, + options, + dirname, + alias +}, cache) { + if (options === false) throw new Error("Assertion failure"); + options = options || {}; + let item = value; + + if (typeof value === "function") { + const api = Object.assign({}, context, (0, _configApi.default)(cache)); + + try { + item = value(api, options, dirname); + } catch (e) { + if (alias) { + e.message += ` (While processing: ${JSON.stringify(alias)})`; + } + + throw e; + } + } + + if (!item || typeof item !== "object") { + throw new Error("Plugin/Preset did not return an object."); + } + + if (typeof item.then === "function") { + yield* []; + throw new Error(`You appear to be using an async plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version.`); + } + + return { + value: item, + options, + dirname, + alias + }; +}); + +function* loadPluginDescriptor(descriptor, context) { + if (descriptor.value instanceof _plugin.default) { + if (descriptor.options) { + throw new Error("Passed options to an existing Plugin instance will not work."); + } + + return descriptor.value; + } + + return yield* instantiatePlugin(yield* loadDescriptor(descriptor, context), context); +} + +const instantiatePlugin = (0, _caching.makeWeakCache)(function* ({ + value, + options, + dirname, + alias +}, cache) { + const pluginObj = (0, _plugins.validatePluginObject)(value); + const plugin = Object.assign({}, pluginObj); + + if (plugin.visitor) { + plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor)); + } + + if (plugin.inherits) { + const inheritsDescriptor = { + name: undefined, + alias: `${alias}$inherits`, + value: plugin.inherits, + options, + dirname + }; + const inherits = yield* (0, _async.forwardAsync)(loadPluginDescriptor, run => { + return cache.invalidate(data => run(inheritsDescriptor, data)); + }); + plugin.pre = chain(inherits.pre, plugin.pre); + plugin.post = chain(inherits.post, plugin.post); + plugin.manipulateOptions = chain(inherits.manipulateOptions, plugin.manipulateOptions); + plugin.visitor = _traverse().default.visitors.merge([inherits.visitor || {}, plugin.visitor || {}]); + } + + return new _plugin.default(plugin, options, alias); +}); + +const validateIfOptionNeedsFilename = (options, descriptor) => { + if (options.test || options.include || options.exclude) { + const formattedPresetName = descriptor.name ? `"${descriptor.name}"` : "/* your preset */"; + throw new Error([`Preset ${formattedPresetName} requires a filename to be set when babel is called directly,`, `\`\`\``, `babel.transform(code, { filename: 'file.ts', presets: [${formattedPresetName}] });`, `\`\`\``, `See https://babeljs.io/docs/en/options#filename for more information.`].join("\n")); + } +}; + +const validatePreset = (preset, context, descriptor) => { + if (!context.filename) { + const { + options + } = preset; + validateIfOptionNeedsFilename(options, descriptor); + + if (options.overrides) { + options.overrides.forEach(overrideOptions => validateIfOptionNeedsFilename(overrideOptions, descriptor)); + } + } +}; + +function* loadPresetDescriptor(descriptor, context) { + const preset = instantiatePreset(yield* loadDescriptor(descriptor, context)); + validatePreset(preset, context, descriptor); + return yield* (0, _configChain.buildPresetChain)(preset, context); +} + +const instantiatePreset = (0, _caching.makeWeakCacheSync)(({ + value, + dirname, + alias +}) => { + return { + options: (0, _options.validate)("preset", value), + alias, + dirname + }; +}); + +function chain(a, b) { + const fns = [a, b].filter(Boolean); + if (fns.length <= 1) return fns[0]; + return function (...args) { + for (const fn of fns) { + fn.apply(this, args); + } + }; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/helpers/config-api.js b/node_modules/@babel/core/lib/config/helpers/config-api.js new file mode 100644 index 000000000..b94c05485 --- /dev/null +++ b/node_modules/@babel/core/lib/config/helpers/config-api.js @@ -0,0 +1,85 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = makeAPI; + +function _semver() { + const data = _interopRequireDefault(require("semver")); + + _semver = function () { + return data; + }; + + return data; +} + +var _ = require("../../"); + +var _caching = require("../caching"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function makeAPI(cache) { + const env = value => cache.using(data => { + if (typeof value === "undefined") return data.envName; + + if (typeof value === "function") { + return (0, _caching.assertSimpleType)(value(data.envName)); + } + + if (!Array.isArray(value)) value = [value]; + return value.some(entry => { + if (typeof entry !== "string") { + throw new Error("Unexpected non-string value"); + } + + return entry === data.envName; + }); + }); + + const caller = cb => cache.using(data => (0, _caching.assertSimpleType)(cb(data.caller))); + + return { + version: _.version, + cache: cache.simple(), + env, + async: () => false, + caller, + assertVersion + }; +} + +function assertVersion(range) { + if (typeof range === "number") { + if (!Number.isInteger(range)) { + throw new Error("Expected string or integer value."); + } + + range = `^${range}.0.0-0`; + } + + if (typeof range !== "string") { + throw new Error("Expected string or integer value."); + } + + if (_semver().default.satisfies(_.version, range)) return; + const limit = Error.stackTraceLimit; + + if (typeof limit === "number" && limit < 25) { + Error.stackTraceLimit = 25; + } + + const err = new Error(`Requires Babel "${range}", but was loaded with "${_.version}". ` + `If you are sure you have a compatible version of @babel/core, ` + `it is likely that something in your build process is loading the ` + `wrong version. Inspect the stack trace of this error to look for ` + `the first entry that doesn't mention "@babel/core" or "babel-core" ` + `to see what is calling Babel.`); + + if (typeof limit === "number") { + Error.stackTraceLimit = limit; + } + + throw Object.assign(err, { + code: "BABEL_VERSION_UNSUPPORTED", + version: _.version, + range + }); +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/helpers/environment.js b/node_modules/@babel/core/lib/config/helpers/environment.js new file mode 100644 index 000000000..e4bfdbc7a --- /dev/null +++ b/node_modules/@babel/core/lib/config/helpers/environment.js @@ -0,0 +1,10 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getEnv = getEnv; + +function getEnv(defaultValue = "development") { + return process.env.BABEL_ENV || process.env.NODE_ENV || defaultValue; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/index.js b/node_modules/@babel/core/lib/config/index.js new file mode 100644 index 000000000..9208224e0 --- /dev/null +++ b/node_modules/@babel/core/lib/config/index.js @@ -0,0 +1,57 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "default", { + enumerable: true, + get: function () { + return _full.default; + } +}); +exports.loadOptionsAsync = exports.loadOptionsSync = exports.loadOptions = exports.loadPartialConfigAsync = exports.loadPartialConfigSync = exports.loadPartialConfig = void 0; + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +var _full = _interopRequireDefault(require("./full")); + +var _partial = require("./partial"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const loadOptionsRunner = (0, _gensync().default)(function* (opts) { + var _config$options; + + const config = yield* (0, _full.default)(opts); + return (_config$options = config == null ? void 0 : config.options) != null ? _config$options : null; +}); + +const maybeErrback = runner => (opts, callback) => { + if (callback === undefined && typeof opts === "function") { + callback = opts; + opts = undefined; + } + + return callback ? runner.errback(opts, callback) : runner.sync(opts); +}; + +const loadPartialConfig = maybeErrback(_partial.loadPartialConfig); +exports.loadPartialConfig = loadPartialConfig; +const loadPartialConfigSync = _partial.loadPartialConfig.sync; +exports.loadPartialConfigSync = loadPartialConfigSync; +const loadPartialConfigAsync = _partial.loadPartialConfig.async; +exports.loadPartialConfigAsync = loadPartialConfigAsync; +const loadOptions = maybeErrback(loadOptionsRunner); +exports.loadOptions = loadOptions; +const loadOptionsSync = loadOptionsRunner.sync; +exports.loadOptionsSync = loadOptionsSync; +const loadOptionsAsync = loadOptionsRunner.async; +exports.loadOptionsAsync = loadOptionsAsync; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/item.js b/node_modules/@babel/core/lib/config/item.js new file mode 100644 index 000000000..11f25ac1d --- /dev/null +++ b/node_modules/@babel/core/lib/config/item.js @@ -0,0 +1,66 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.createItemFromDescriptor = createItemFromDescriptor; +exports.createConfigItem = createConfigItem; +exports.getItemDescriptor = getItemDescriptor; + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +var _configDescriptors = require("./config-descriptors"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function createItemFromDescriptor(desc) { + return new ConfigItem(desc); +} + +function createConfigItem(value, { + dirname = ".", + type +} = {}) { + const descriptor = (0, _configDescriptors.createDescriptor)(value, _path().default.resolve(dirname), { + type, + alias: "programmatic item" + }); + return createItemFromDescriptor(descriptor); +} + +function getItemDescriptor(item) { + if (item instanceof ConfigItem) { + return item._descriptor; + } + + return undefined; +} + +class ConfigItem { + constructor(descriptor) { + this._descriptor = descriptor; + Object.defineProperty(this, "_descriptor", { + enumerable: false + }); + this.value = this._descriptor.value; + this.options = this._descriptor.options; + this.dirname = this._descriptor.dirname; + this.name = this._descriptor.name; + this.file = this._descriptor.file ? { + request: this._descriptor.file.request, + resolved: this._descriptor.file.resolved + } : undefined; + Object.freeze(this); + } + +} + +Object.freeze(ConfigItem.prototype); \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/partial.js b/node_modules/@babel/core/lib/config/partial.js new file mode 100644 index 000000000..3f9f78065 --- /dev/null +++ b/node_modules/@babel/core/lib/config/partial.js @@ -0,0 +1,157 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = loadPrivatePartialConfig; +exports.loadPartialConfig = void 0; + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +var _plugin = _interopRequireDefault(require("./plugin")); + +var _util = require("./util"); + +var _item = require("./item"); + +var _configChain = require("./config-chain"); + +var _environment = require("./helpers/environment"); + +var _options = require("./validation/options"); + +var _files = require("./files"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function* resolveRootMode(rootDir, rootMode) { + switch (rootMode) { + case "root": + return rootDir; + + case "upward-optional": + { + const upwardRootDir = yield* (0, _files.findConfigUpwards)(rootDir); + return upwardRootDir === null ? rootDir : upwardRootDir; + } + + case "upward": + { + const upwardRootDir = yield* (0, _files.findConfigUpwards)(rootDir); + if (upwardRootDir !== null) return upwardRootDir; + throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not ` + `be found when searching upward from "${rootDir}".\n` + `One of the following config files must be in the directory tree: ` + `"${_files.ROOT_CONFIG_FILENAMES.join(", ")}".`), { + code: "BABEL_ROOT_NOT_FOUND", + dirname: rootDir + }); + } + + default: + throw new Error(`Assertion failure - unknown rootMode value.`); + } +} + +function* loadPrivatePartialConfig(inputOpts) { + if (inputOpts != null && (typeof inputOpts !== "object" || Array.isArray(inputOpts))) { + throw new Error("Babel options must be an object, null, or undefined"); + } + + const args = inputOpts ? (0, _options.validate)("arguments", inputOpts) : {}; + const { + envName = (0, _environment.getEnv)(), + cwd = ".", + root: rootDir = ".", + rootMode = "root", + caller, + cloneInputAst = true + } = args; + + const absoluteCwd = _path().default.resolve(cwd); + + const absoluteRootDir = yield* resolveRootMode(_path().default.resolve(absoluteCwd, rootDir), rootMode); + const filename = typeof args.filename === "string" ? _path().default.resolve(cwd, args.filename) : undefined; + const showConfigPath = yield* (0, _files.resolveShowConfigPath)(absoluteCwd); + const context = { + filename, + cwd: absoluteCwd, + root: absoluteRootDir, + envName, + caller, + showConfig: showConfigPath === filename + }; + const configChain = yield* (0, _configChain.buildRootChain)(args, context); + if (!configChain) return null; + const options = {}; + configChain.options.forEach(opts => { + (0, _util.mergeOptions)(options, opts); + }); + options.cloneInputAst = cloneInputAst; + options.babelrc = false; + options.configFile = false; + options.passPerPreset = false; + options.envName = context.envName; + options.cwd = context.cwd; + options.root = context.root; + options.filename = typeof context.filename === "string" ? context.filename : undefined; + options.plugins = configChain.plugins.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor)); + options.presets = configChain.presets.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor)); + return { + options, + context, + ignore: configChain.ignore, + babelrc: configChain.babelrc, + config: configChain.config + }; +} + +const loadPartialConfig = (0, _gensync().default)(function* (inputOpts) { + const result = yield* loadPrivatePartialConfig(inputOpts); + if (!result) return null; + const { + options, + babelrc, + ignore, + config + } = result; + (options.plugins || []).forEach(item => { + if (item.value instanceof _plugin.default) { + throw new Error("Passing cached plugin instances is not supported in " + "babel.loadPartialConfig()"); + } + }); + return new PartialConfig(options, babelrc ? babelrc.filepath : undefined, ignore ? ignore.filepath : undefined, config ? config.filepath : undefined); +}); +exports.loadPartialConfig = loadPartialConfig; + +class PartialConfig { + constructor(options, babelrc, ignore, config) { + this.options = options; + this.babelignore = ignore; + this.babelrc = babelrc; + this.config = config; + Object.freeze(this); + } + + hasFilesystemConfig() { + return this.babelrc !== undefined || this.config !== undefined; + } + +} + +Object.freeze(PartialConfig.prototype); \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/pattern-to-regex.js b/node_modules/@babel/core/lib/config/pattern-to-regex.js new file mode 100644 index 000000000..b80f4b675 --- /dev/null +++ b/node_modules/@babel/core/lib/config/pattern-to-regex.js @@ -0,0 +1,52 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = pathToPattern; + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +function _escapeRegExp() { + const data = _interopRequireDefault(require("lodash/escapeRegExp")); + + _escapeRegExp = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const sep = `\\${_path().default.sep}`; +const endSep = `(?:${sep}|$)`; +const substitution = `[^${sep}]+`; +const starPat = `(?:${substitution}${sep})`; +const starPatLast = `(?:${substitution}${endSep})`; +const starStarPat = `${starPat}*?`; +const starStarPatLast = `${starPat}*?${starPatLast}?`; + +function pathToPattern(pattern, dirname) { + const parts = _path().default.resolve(dirname, pattern).split(_path().default.sep); + + return new RegExp(["^", ...parts.map((part, i) => { + const last = i === parts.length - 1; + if (part === "**") return last ? starStarPatLast : starStarPat; + if (part === "*") return last ? starPatLast : starPat; + + if (part.indexOf("*.") === 0) { + return substitution + (0, _escapeRegExp().default)(part.slice(1)) + (last ? endSep : sep); + } + + return (0, _escapeRegExp().default)(part) + (last ? endSep : sep); + })].join("")); +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/plugin.js b/node_modules/@babel/core/lib/config/plugin.js new file mode 100644 index 000000000..3c780708d --- /dev/null +++ b/node_modules/@babel/core/lib/config/plugin.js @@ -0,0 +1,22 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +class Plugin { + constructor(plugin, options, key) { + this.key = plugin.name || key; + this.manipulateOptions = plugin.manipulateOptions; + this.post = plugin.post; + this.pre = plugin.pre; + this.visitor = plugin.visitor || {}; + this.parserOverride = plugin.parserOverride; + this.generatorOverride = plugin.generatorOverride; + this.options = options; + } + +} + +exports.default = Plugin; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/printer.js b/node_modules/@babel/core/lib/config/printer.js new file mode 100644 index 000000000..b007aa4c9 --- /dev/null +++ b/node_modules/@babel/core/lib/config/printer.js @@ -0,0 +1,127 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ConfigPrinter = exports.ChainFormatter = void 0; +const ChainFormatter = { + Programmatic: 0, + Config: 1 +}; +exports.ChainFormatter = ChainFormatter; +const Formatter = { + title(type, callerName, filepath) { + let title = ""; + + if (type === ChainFormatter.Programmatic) { + title = "programmatic options"; + + if (callerName) { + title += " from " + callerName; + } + } else { + title = "config " + filepath; + } + + return title; + }, + + loc(index, envName) { + let loc = ""; + + if (index != null) { + loc += `.overrides[${index}]`; + } + + if (envName != null) { + loc += `.env["${envName}"]`; + } + + return loc; + }, + + optionsAndDescriptors(opt) { + const content = Object.assign({}, opt.options); + delete content.overrides; + delete content.env; + const pluginDescriptors = [...opt.plugins()]; + + if (pluginDescriptors.length) { + content.plugins = pluginDescriptors.map(d => descriptorToConfig(d)); + } + + const presetDescriptors = [...opt.presets()]; + + if (presetDescriptors.length) { + content.presets = [...presetDescriptors].map(d => descriptorToConfig(d)); + } + + return JSON.stringify(content, undefined, 2); + } + +}; + +function descriptorToConfig(d) { + var _d$file; + + let name = (_d$file = d.file) == null ? void 0 : _d$file.request; + + if (name == null) { + if (typeof d.value === "object") { + name = d.value; + } else if (typeof d.value === "function") { + name = `[Function: ${d.value.toString().substr(0, 50)} ... ]`; + } + } + + if (name == null) { + name = "[Unknown]"; + } + + if (d.options === undefined) { + return name; + } else if (d.name == null) { + return [name, d.options]; + } else { + return [name, d.options, d.name]; + } +} + +class ConfigPrinter { + constructor() { + this._stack = []; + } + + configure(enabled, type, { + callerName, + filepath + }) { + if (!enabled) return () => {}; + return (content, index, envName) => { + this._stack.push({ + type, + callerName, + filepath, + content, + index, + envName + }); + }; + } + + static format(config) { + let title = Formatter.title(config.type, config.callerName, config.filepath); + const loc = Formatter.loc(config.index, config.envName); + if (loc) title += ` ${loc}`; + const content = Formatter.optionsAndDescriptors(config.content); + return `${title}\n${content}`; + } + + output() { + if (this._stack.length === 0) return ""; + return this._stack.map(s => ConfigPrinter.format(s)).join("\n\n"); + } + +} + +exports.ConfigPrinter = ConfigPrinter; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/util.js b/node_modules/@babel/core/lib/config/util.js new file mode 100644 index 000000000..5608fb9d2 --- /dev/null +++ b/node_modules/@babel/core/lib/config/util.js @@ -0,0 +1,35 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.mergeOptions = mergeOptions; +exports.isIterableIterator = isIterableIterator; + +function mergeOptions(target, source) { + for (const k of Object.keys(source)) { + if (k === "parserOpts" && source.parserOpts) { + const parserOpts = source.parserOpts; + const targetObj = target.parserOpts = target.parserOpts || {}; + mergeDefaultFields(targetObj, parserOpts); + } else if (k === "generatorOpts" && source.generatorOpts) { + const generatorOpts = source.generatorOpts; + const targetObj = target.generatorOpts = target.generatorOpts || {}; + mergeDefaultFields(targetObj, generatorOpts); + } else { + const val = source[k]; + if (val !== undefined) target[k] = val; + } + } +} + +function mergeDefaultFields(target, source) { + for (const k of Object.keys(source)) { + const val = source[k]; + if (val !== undefined) target[k] = val; + } +} + +function isIterableIterator(value) { + return !!value && typeof value.next === "function" && typeof value[Symbol.iterator] === "function"; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/option-assertions.js b/node_modules/@babel/core/lib/config/validation/option-assertions.js new file mode 100644 index 000000000..d339aad08 --- /dev/null +++ b/node_modules/@babel/core/lib/config/validation/option-assertions.js @@ -0,0 +1,268 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.msg = msg; +exports.access = access; +exports.assertRootMode = assertRootMode; +exports.assertSourceMaps = assertSourceMaps; +exports.assertCompact = assertCompact; +exports.assertSourceType = assertSourceType; +exports.assertCallerMetadata = assertCallerMetadata; +exports.assertInputSourceMap = assertInputSourceMap; +exports.assertString = assertString; +exports.assertFunction = assertFunction; +exports.assertBoolean = assertBoolean; +exports.assertObject = assertObject; +exports.assertArray = assertArray; +exports.assertIgnoreList = assertIgnoreList; +exports.assertConfigApplicableTest = assertConfigApplicableTest; +exports.assertConfigFileSearch = assertConfigFileSearch; +exports.assertBabelrcSearch = assertBabelrcSearch; +exports.assertPluginList = assertPluginList; + +function msg(loc) { + switch (loc.type) { + case "root": + return ``; + + case "env": + return `${msg(loc.parent)}.env["${loc.name}"]`; + + case "overrides": + return `${msg(loc.parent)}.overrides[${loc.index}]`; + + case "option": + return `${msg(loc.parent)}.${loc.name}`; + + case "access": + return `${msg(loc.parent)}[${JSON.stringify(loc.name)}]`; + + default: + throw new Error(`Assertion failure: Unknown type ${loc.type}`); + } +} + +function access(loc, name) { + return { + type: "access", + name, + parent: loc + }; +} + +function assertRootMode(loc, value) { + if (value !== undefined && value !== "root" && value !== "upward" && value !== "upward-optional") { + throw new Error(`${msg(loc)} must be a "root", "upward", "upward-optional" or undefined`); + } + + return value; +} + +function assertSourceMaps(loc, value) { + if (value !== undefined && typeof value !== "boolean" && value !== "inline" && value !== "both") { + throw new Error(`${msg(loc)} must be a boolean, "inline", "both", or undefined`); + } + + return value; +} + +function assertCompact(loc, value) { + if (value !== undefined && typeof value !== "boolean" && value !== "auto") { + throw new Error(`${msg(loc)} must be a boolean, "auto", or undefined`); + } + + return value; +} + +function assertSourceType(loc, value) { + if (value !== undefined && value !== "module" && value !== "script" && value !== "unambiguous") { + throw new Error(`${msg(loc)} must be "module", "script", "unambiguous", or undefined`); + } + + return value; +} + +function assertCallerMetadata(loc, value) { + const obj = assertObject(loc, value); + + if (obj) { + if (typeof obj["name"] !== "string") { + throw new Error(`${msg(loc)} set but does not contain "name" property string`); + } + + for (const prop of Object.keys(obj)) { + const propLoc = access(loc, prop); + const value = obj[prop]; + + if (value != null && typeof value !== "boolean" && typeof value !== "string" && typeof value !== "number") { + throw new Error(`${msg(propLoc)} must be null, undefined, a boolean, a string, or a number.`); + } + } + } + + return value; +} + +function assertInputSourceMap(loc, value) { + if (value !== undefined && typeof value !== "boolean" && (typeof value !== "object" || !value)) { + throw new Error(`${msg(loc)} must be a boolean, object, or undefined`); + } + + return value; +} + +function assertString(loc, value) { + if (value !== undefined && typeof value !== "string") { + throw new Error(`${msg(loc)} must be a string, or undefined`); + } + + return value; +} + +function assertFunction(loc, value) { + if (value !== undefined && typeof value !== "function") { + throw new Error(`${msg(loc)} must be a function, or undefined`); + } + + return value; +} + +function assertBoolean(loc, value) { + if (value !== undefined && typeof value !== "boolean") { + throw new Error(`${msg(loc)} must be a boolean, or undefined`); + } + + return value; +} + +function assertObject(loc, value) { + if (value !== undefined && (typeof value !== "object" || Array.isArray(value) || !value)) { + throw new Error(`${msg(loc)} must be an object, or undefined`); + } + + return value; +} + +function assertArray(loc, value) { + if (value != null && !Array.isArray(value)) { + throw new Error(`${msg(loc)} must be an array, or undefined`); + } + + return value; +} + +function assertIgnoreList(loc, value) { + const arr = assertArray(loc, value); + + if (arr) { + arr.forEach((item, i) => assertIgnoreItem(access(loc, i), item)); + } + + return arr; +} + +function assertIgnoreItem(loc, value) { + if (typeof value !== "string" && typeof value !== "function" && !(value instanceof RegExp)) { + throw new Error(`${msg(loc)} must be an array of string/Function/RegExp values, or undefined`); + } + + return value; +} + +function assertConfigApplicableTest(loc, value) { + if (value === undefined) return value; + + if (Array.isArray(value)) { + value.forEach((item, i) => { + if (!checkValidTest(item)) { + throw new Error(`${msg(access(loc, i))} must be a string/Function/RegExp.`); + } + }); + } else if (!checkValidTest(value)) { + throw new Error(`${msg(loc)} must be a string/Function/RegExp, or an array of those`); + } + + return value; +} + +function checkValidTest(value) { + return typeof value === "string" || typeof value === "function" || value instanceof RegExp; +} + +function assertConfigFileSearch(loc, value) { + if (value !== undefined && typeof value !== "boolean" && typeof value !== "string") { + throw new Error(`${msg(loc)} must be a undefined, a boolean, a string, ` + `got ${JSON.stringify(value)}`); + } + + return value; +} + +function assertBabelrcSearch(loc, value) { + if (value === undefined || typeof value === "boolean") return value; + + if (Array.isArray(value)) { + value.forEach((item, i) => { + if (!checkValidTest(item)) { + throw new Error(`${msg(access(loc, i))} must be a string/Function/RegExp.`); + } + }); + } else if (!checkValidTest(value)) { + throw new Error(`${msg(loc)} must be a undefined, a boolean, a string/Function/RegExp ` + `or an array of those, got ${JSON.stringify(value)}`); + } + + return value; +} + +function assertPluginList(loc, value) { + const arr = assertArray(loc, value); + + if (arr) { + arr.forEach((item, i) => assertPluginItem(access(loc, i), item)); + } + + return arr; +} + +function assertPluginItem(loc, value) { + if (Array.isArray(value)) { + if (value.length === 0) { + throw new Error(`${msg(loc)} must include an object`); + } + + if (value.length > 3) { + throw new Error(`${msg(loc)} may only be a two-tuple or three-tuple`); + } + + assertPluginTarget(access(loc, 0), value[0]); + + if (value.length > 1) { + const opts = value[1]; + + if (opts !== undefined && opts !== false && (typeof opts !== "object" || Array.isArray(opts) || opts === null)) { + throw new Error(`${msg(access(loc, 1))} must be an object, false, or undefined`); + } + } + + if (value.length === 3) { + const name = value[2]; + + if (name !== undefined && typeof name !== "string") { + throw new Error(`${msg(access(loc, 2))} must be a string, or undefined`); + } + } + } else { + assertPluginTarget(loc, value); + } + + return value; +} + +function assertPluginTarget(loc, value) { + if ((typeof value !== "object" || !value) && typeof value !== "string" && typeof value !== "function") { + throw new Error(`${msg(loc)} must be a string, object, function`); + } + + return value; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/options.js b/node_modules/@babel/core/lib/config/validation/options.js new file mode 100644 index 000000000..927cda7f6 --- /dev/null +++ b/node_modules/@babel/core/lib/config/validation/options.js @@ -0,0 +1,197 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.validate = validate; +exports.checkNoUnwrappedItemOptionPairs = checkNoUnwrappedItemOptionPairs; + +var _plugin = _interopRequireDefault(require("../plugin")); + +var _removed = _interopRequireDefault(require("./removed")); + +var _optionAssertions = require("./option-assertions"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const ROOT_VALIDATORS = { + cwd: _optionAssertions.assertString, + root: _optionAssertions.assertString, + rootMode: _optionAssertions.assertRootMode, + configFile: _optionAssertions.assertConfigFileSearch, + caller: _optionAssertions.assertCallerMetadata, + filename: _optionAssertions.assertString, + filenameRelative: _optionAssertions.assertString, + code: _optionAssertions.assertBoolean, + ast: _optionAssertions.assertBoolean, + cloneInputAst: _optionAssertions.assertBoolean, + envName: _optionAssertions.assertString +}; +const BABELRC_VALIDATORS = { + babelrc: _optionAssertions.assertBoolean, + babelrcRoots: _optionAssertions.assertBabelrcSearch +}; +const NONPRESET_VALIDATORS = { + extends: _optionAssertions.assertString, + ignore: _optionAssertions.assertIgnoreList, + only: _optionAssertions.assertIgnoreList +}; +const COMMON_VALIDATORS = { + inputSourceMap: _optionAssertions.assertInputSourceMap, + presets: _optionAssertions.assertPluginList, + plugins: _optionAssertions.assertPluginList, + passPerPreset: _optionAssertions.assertBoolean, + env: assertEnvSet, + overrides: assertOverridesList, + test: _optionAssertions.assertConfigApplicableTest, + include: _optionAssertions.assertConfigApplicableTest, + exclude: _optionAssertions.assertConfigApplicableTest, + retainLines: _optionAssertions.assertBoolean, + comments: _optionAssertions.assertBoolean, + shouldPrintComment: _optionAssertions.assertFunction, + compact: _optionAssertions.assertCompact, + minified: _optionAssertions.assertBoolean, + auxiliaryCommentBefore: _optionAssertions.assertString, + auxiliaryCommentAfter: _optionAssertions.assertString, + sourceType: _optionAssertions.assertSourceType, + wrapPluginVisitorMethod: _optionAssertions.assertFunction, + highlightCode: _optionAssertions.assertBoolean, + sourceMaps: _optionAssertions.assertSourceMaps, + sourceMap: _optionAssertions.assertSourceMaps, + sourceFileName: _optionAssertions.assertString, + sourceRoot: _optionAssertions.assertString, + getModuleId: _optionAssertions.assertFunction, + moduleRoot: _optionAssertions.assertString, + moduleIds: _optionAssertions.assertBoolean, + moduleId: _optionAssertions.assertString, + parserOpts: _optionAssertions.assertObject, + generatorOpts: _optionAssertions.assertObject +}; + +function getSource(loc) { + return loc.type === "root" ? loc.source : getSource(loc.parent); +} + +function validate(type, opts) { + return validateNested({ + type: "root", + source: type + }, opts); +} + +function validateNested(loc, opts) { + const type = getSource(loc); + assertNoDuplicateSourcemap(opts); + Object.keys(opts).forEach(key => { + const optLoc = { + type: "option", + name: key, + parent: loc + }; + + if (type === "preset" && NONPRESET_VALIDATORS[key]) { + throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is not allowed in preset options`); + } + + if (type !== "arguments" && ROOT_VALIDATORS[key]) { + throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is only allowed in root programmatic options`); + } + + if (type !== "arguments" && type !== "configfile" && BABELRC_VALIDATORS[key]) { + if (type === "babelrcfile" || type === "extendsfile") { + throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, ` + `or babel.config.js/config file options`); + } + + throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is only allowed in root programmatic options, or babel.config.js/config file options`); + } + + const validator = COMMON_VALIDATORS[key] || NONPRESET_VALIDATORS[key] || BABELRC_VALIDATORS[key] || ROOT_VALIDATORS[key] || throwUnknownError; + validator(optLoc, opts[key]); + }); + return opts; +} + +function throwUnknownError(loc) { + const key = loc.name; + + if (_removed.default[key]) { + const { + message, + version = 5 + } = _removed.default[key]; + throw new Error(`Using removed Babel ${version} option: ${(0, _optionAssertions.msg)(loc)} - ${message}`); + } else { + const unknownOptErr = new Error(`Unknown option: ${(0, _optionAssertions.msg)(loc)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`); + unknownOptErr.code = "BABEL_UNKNOWN_OPTION"; + throw unknownOptErr; + } +} + +function has(obj, key) { + return Object.prototype.hasOwnProperty.call(obj, key); +} + +function assertNoDuplicateSourcemap(opts) { + if (has(opts, "sourceMap") && has(opts, "sourceMaps")) { + throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both"); + } +} + +function assertEnvSet(loc, value) { + if (loc.parent.type === "env") { + throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside of another .env block`); + } + + const parent = loc.parent; + const obj = (0, _optionAssertions.assertObject)(loc, value); + + if (obj) { + for (const envName of Object.keys(obj)) { + const env = (0, _optionAssertions.assertObject)((0, _optionAssertions.access)(loc, envName), obj[envName]); + if (!env) continue; + const envLoc = { + type: "env", + name: envName, + parent + }; + validateNested(envLoc, env); + } + } + + return obj; +} + +function assertOverridesList(loc, value) { + if (loc.parent.type === "env") { + throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside an .env block`); + } + + if (loc.parent.type === "overrides") { + throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside an .overrides block`); + } + + const parent = loc.parent; + const arr = (0, _optionAssertions.assertArray)(loc, value); + + if (arr) { + for (const [index, item] of arr.entries()) { + const objLoc = (0, _optionAssertions.access)(loc, index); + const env = (0, _optionAssertions.assertObject)(objLoc, item); + if (!env) throw new Error(`${(0, _optionAssertions.msg)(objLoc)} must be an object`); + const overridesLoc = { + type: "overrides", + index, + parent + }; + validateNested(overridesLoc, env); + } + } + + return arr; +} + +function checkNoUnwrappedItemOptionPairs(lastItem, thisItem, type, index, e) { + if (lastItem.file && lastItem.options === undefined && typeof thisItem.value === "object") { + e.message += `\n- Maybe you meant to use\n` + `"${type}": [\n ["${lastItem.file.request}", ${JSON.stringify(thisItem.value, undefined, 2)}]\n]\n` + `To be a valid ${type}, its name and options should be wrapped in a pair of brackets`; + } +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/plugins.js b/node_modules/@babel/core/lib/config/validation/plugins.js new file mode 100644 index 000000000..a70cc676f --- /dev/null +++ b/node_modules/@babel/core/lib/config/validation/plugins.js @@ -0,0 +1,71 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.validatePluginObject = validatePluginObject; + +var _optionAssertions = require("./option-assertions"); + +const VALIDATORS = { + name: _optionAssertions.assertString, + manipulateOptions: _optionAssertions.assertFunction, + pre: _optionAssertions.assertFunction, + post: _optionAssertions.assertFunction, + inherits: _optionAssertions.assertFunction, + visitor: assertVisitorMap, + parserOverride: _optionAssertions.assertFunction, + generatorOverride: _optionAssertions.assertFunction +}; + +function assertVisitorMap(loc, value) { + const obj = (0, _optionAssertions.assertObject)(loc, value); + + if (obj) { + Object.keys(obj).forEach(prop => assertVisitorHandler(prop, obj[prop])); + + if (obj.enter || obj.exit) { + throw new Error(`${(0, _optionAssertions.msg)(loc)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`); + } + } + + return obj; +} + +function assertVisitorHandler(key, value) { + if (value && typeof value === "object") { + Object.keys(value).forEach(handler => { + if (handler !== "enter" && handler !== "exit") { + throw new Error(`.visitor["${key}"] may only have .enter and/or .exit handlers.`); + } + }); + } else if (typeof value !== "function") { + throw new Error(`.visitor["${key}"] must be a function`); + } + + return value; +} + +function validatePluginObject(obj) { + const rootPath = { + type: "root", + source: "plugin" + }; + Object.keys(obj).forEach(key => { + const validator = VALIDATORS[key]; + + if (validator) { + const optLoc = { + type: "option", + name: key, + parent: rootPath + }; + validator(optLoc, obj[key]); + } else { + const invalidPluginPropertyError = new Error(`.${key} is not a valid Plugin property`); + invalidPluginPropertyError.code = "BABEL_UNKNOWN_PLUGIN_PROPERTY"; + throw invalidPluginPropertyError; + } + }); + return obj; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/config/validation/removed.js b/node_modules/@babel/core/lib/config/validation/removed.js new file mode 100644 index 000000000..f0fcd7de3 --- /dev/null +++ b/node_modules/@babel/core/lib/config/validation/removed.js @@ -0,0 +1,66 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _default = { + auxiliaryComment: { + message: "Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`" + }, + blacklist: { + message: "Put the specific transforms you want in the `plugins` option" + }, + breakConfig: { + message: "This is not a necessary option in Babel 6" + }, + experimental: { + message: "Put the specific transforms you want in the `plugins` option" + }, + externalHelpers: { + message: "Use the `external-helpers` plugin instead. " + "Check out http://babeljs.io/docs/plugins/external-helpers/" + }, + extra: { + message: "" + }, + jsxPragma: { + message: "use the `pragma` option in the `react-jsx` plugin. " + "Check out http://babeljs.io/docs/plugins/transform-react-jsx/" + }, + loose: { + message: "Specify the `loose` option for the relevant plugin you are using " + "or use a preset that sets the option." + }, + metadataUsedHelpers: { + message: "Not required anymore as this is enabled by default" + }, + modules: { + message: "Use the corresponding module transform plugin in the `plugins` option. " + "Check out http://babeljs.io/docs/plugins/#modules" + }, + nonStandard: { + message: "Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. " + "Also check out the react preset http://babeljs.io/docs/plugins/preset-react/" + }, + optional: { + message: "Put the specific transforms you want in the `plugins` option" + }, + sourceMapName: { + message: "The `sourceMapName` option has been removed because it makes more sense for the " + "tooling that calls Babel to assign `map.file` themselves." + }, + stage: { + message: "Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets" + }, + whitelist: { + message: "Put the specific transforms you want in the `plugins` option" + }, + resolveModuleSource: { + version: 6, + message: "Use `babel-plugin-module-resolver@3`'s 'resolvePath' options" + }, + metadata: { + version: 6, + message: "Generated plugin metadata is always included in the output result" + }, + sourceMapTarget: { + version: 6, + message: "The `sourceMapTarget` option has been removed because it makes more sense for the tooling " + "that calls Babel to assign `map.file` themselves." + } +}; +exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/gensync-utils/async.js b/node_modules/@babel/core/lib/gensync-utils/async.js new file mode 100644 index 000000000..36b777d52 --- /dev/null +++ b/node_modules/@babel/core/lib/gensync-utils/async.js @@ -0,0 +1,89 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.maybeAsync = maybeAsync; +exports.forwardAsync = forwardAsync; +exports.isThenable = isThenable; +exports.waitFor = exports.onFirstPause = exports.isAsync = void 0; + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const id = x => x; + +const runGenerator = (0, _gensync().default)(function* (item) { + return yield* item; +}); +const isAsync = (0, _gensync().default)({ + sync: () => false, + errback: cb => cb(null, true) +}); +exports.isAsync = isAsync; + +function maybeAsync(fn, message) { + return (0, _gensync().default)({ + sync(...args) { + const result = fn.apply(this, args); + if (isThenable(result)) throw new Error(message); + return result; + }, + + async(...args) { + return Promise.resolve(fn.apply(this, args)); + } + + }); +} + +const withKind = (0, _gensync().default)({ + sync: cb => cb("sync"), + async: cb => cb("async") +}); + +function forwardAsync(action, cb) { + const g = (0, _gensync().default)(action); + return withKind(kind => { + const adapted = g[kind]; + return cb(adapted); + }); +} + +const onFirstPause = (0, _gensync().default)({ + name: "onFirstPause", + arity: 2, + sync: function (item) { + return runGenerator.sync(item); + }, + errback: function (item, firstPause, cb) { + let completed = false; + runGenerator.errback(item, (err, value) => { + completed = true; + cb(err, value); + }); + + if (!completed) { + firstPause(); + } + } +}); +exports.onFirstPause = onFirstPause; +const waitFor = (0, _gensync().default)({ + sync: id, + async: id +}); +exports.waitFor = waitFor; + +function isThenable(val) { + return !!val && (typeof val === "object" || typeof val === "function") && !!val.then && typeof val.then === "function"; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/gensync-utils/fs.js b/node_modules/@babel/core/lib/gensync-utils/fs.js new file mode 100644 index 000000000..02f445387 --- /dev/null +++ b/node_modules/@babel/core/lib/gensync-utils/fs.js @@ -0,0 +1,53 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.stat = exports.exists = exports.readFile = void 0; + +function _fs() { + const data = _interopRequireDefault(require("fs")); + + _fs = function () { + return data; + }; + + return data; +} + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const readFile = (0, _gensync().default)({ + sync: _fs().default.readFileSync, + errback: _fs().default.readFile +}); +exports.readFile = readFile; +const exists = (0, _gensync().default)({ + sync(path) { + try { + _fs().default.accessSync(path); + + return true; + } catch (_unused) { + return false; + } + }, + + errback: (path, cb) => _fs().default.access(path, undefined, err => cb(null, !err)) +}); +exports.exists = exists; +const stat = (0, _gensync().default)({ + sync: _fs().default.statSync, + errback: _fs().default.stat +}); +exports.stat = stat; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/gensync-utils/resolve.js b/node_modules/@babel/core/lib/gensync-utils/resolve.js new file mode 100644 index 000000000..2ca39d761 --- /dev/null +++ b/node_modules/@babel/core/lib/gensync-utils/resolve.js @@ -0,0 +1,35 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +function _resolve() { + const data = _interopRequireDefault(require("resolve")); + + _resolve = function () { + return data; + }; + + return data; +} + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var _default = (0, _gensync().default)({ + sync: _resolve().default.sync, + errback: _resolve().default +}); + +exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/index.js b/node_modules/@babel/core/lib/index.js new file mode 100644 index 000000000..ecd444e06 --- /dev/null +++ b/node_modules/@babel/core/lib/index.js @@ -0,0 +1,266 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Plugin = Plugin; +Object.defineProperty(exports, "File", { + enumerable: true, + get: function () { + return _file.default; + } +}); +Object.defineProperty(exports, "buildExternalHelpers", { + enumerable: true, + get: function () { + return _buildExternalHelpers.default; + } +}); +Object.defineProperty(exports, "resolvePlugin", { + enumerable: true, + get: function () { + return _files.resolvePlugin; + } +}); +Object.defineProperty(exports, "resolvePreset", { + enumerable: true, + get: function () { + return _files.resolvePreset; + } +}); +Object.defineProperty(exports, "version", { + enumerable: true, + get: function () { + return _package.version; + } +}); +Object.defineProperty(exports, "getEnv", { + enumerable: true, + get: function () { + return _environment.getEnv; + } +}); +Object.defineProperty(exports, "tokTypes", { + enumerable: true, + get: function () { + return _parser().tokTypes; + } +}); +Object.defineProperty(exports, "traverse", { + enumerable: true, + get: function () { + return _traverse().default; + } +}); +Object.defineProperty(exports, "template", { + enumerable: true, + get: function () { + return _template().default; + } +}); +Object.defineProperty(exports, "createConfigItem", { + enumerable: true, + get: function () { + return _item.createConfigItem; + } +}); +Object.defineProperty(exports, "loadPartialConfig", { + enumerable: true, + get: function () { + return _config.loadPartialConfig; + } +}); +Object.defineProperty(exports, "loadPartialConfigSync", { + enumerable: true, + get: function () { + return _config.loadPartialConfigSync; + } +}); +Object.defineProperty(exports, "loadPartialConfigAsync", { + enumerable: true, + get: function () { + return _config.loadPartialConfigAsync; + } +}); +Object.defineProperty(exports, "loadOptions", { + enumerable: true, + get: function () { + return _config.loadOptions; + } +}); +Object.defineProperty(exports, "loadOptionsSync", { + enumerable: true, + get: function () { + return _config.loadOptionsSync; + } +}); +Object.defineProperty(exports, "loadOptionsAsync", { + enumerable: true, + get: function () { + return _config.loadOptionsAsync; + } +}); +Object.defineProperty(exports, "transform", { + enumerable: true, + get: function () { + return _transform.transform; + } +}); +Object.defineProperty(exports, "transformSync", { + enumerable: true, + get: function () { + return _transform.transformSync; + } +}); +Object.defineProperty(exports, "transformAsync", { + enumerable: true, + get: function () { + return _transform.transformAsync; + } +}); +Object.defineProperty(exports, "transformFile", { + enumerable: true, + get: function () { + return _transformFile.transformFile; + } +}); +Object.defineProperty(exports, "transformFileSync", { + enumerable: true, + get: function () { + return _transformFile.transformFileSync; + } +}); +Object.defineProperty(exports, "transformFileAsync", { + enumerable: true, + get: function () { + return _transformFile.transformFileAsync; + } +}); +Object.defineProperty(exports, "transformFromAst", { + enumerable: true, + get: function () { + return _transformAst.transformFromAst; + } +}); +Object.defineProperty(exports, "transformFromAstSync", { + enumerable: true, + get: function () { + return _transformAst.transformFromAstSync; + } +}); +Object.defineProperty(exports, "transformFromAstAsync", { + enumerable: true, + get: function () { + return _transformAst.transformFromAstAsync; + } +}); +Object.defineProperty(exports, "parse", { + enumerable: true, + get: function () { + return _parse.parse; + } +}); +Object.defineProperty(exports, "parseSync", { + enumerable: true, + get: function () { + return _parse.parseSync; + } +}); +Object.defineProperty(exports, "parseAsync", { + enumerable: true, + get: function () { + return _parse.parseAsync; + } +}); +exports.types = exports.OptionManager = exports.DEFAULT_EXTENSIONS = void 0; + +var _file = _interopRequireDefault(require("./transformation/file/file")); + +var _buildExternalHelpers = _interopRequireDefault(require("./tools/build-external-helpers")); + +var _files = require("./config/files"); + +var _package = require("../package.json"); + +var _environment = require("./config/helpers/environment"); + +function _types() { + const data = _interopRequireWildcard(require("@babel/types")); + + _types = function () { + return data; + }; + + return data; +} + +Object.defineProperty(exports, "types", { + enumerable: true, + get: function () { + return _types(); + } +}); + +function _parser() { + const data = require("@babel/parser"); + + _parser = function () { + return data; + }; + + return data; +} + +function _traverse() { + const data = _interopRequireDefault(require("@babel/traverse")); + + _traverse = function () { + return data; + }; + + return data; +} + +function _template() { + const data = _interopRequireDefault(require("@babel/template")); + + _template = function () { + return data; + }; + + return data; +} + +var _item = require("./config/item"); + +var _config = require("./config"); + +var _transform = require("./transform"); + +var _transformFile = require("./transform-file"); + +var _transformAst = require("./transform-ast"); + +var _parse = require("./parse"); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs"]); +exports.DEFAULT_EXTENSIONS = DEFAULT_EXTENSIONS; + +class OptionManager { + init(opts) { + return (0, _config.loadOptions)(opts); + } + +} + +exports.OptionManager = OptionManager; + +function Plugin(alias) { + throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`); +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/parse.js b/node_modules/@babel/core/lib/parse.js new file mode 100644 index 000000000..e6c2d2662 --- /dev/null +++ b/node_modules/@babel/core/lib/parse.js @@ -0,0 +1,50 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.parseAsync = exports.parseSync = exports.parse = void 0; + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +var _config = _interopRequireDefault(require("./config")); + +var _parser = _interopRequireDefault(require("./parser")); + +var _normalizeOpts = _interopRequireDefault(require("./transformation/normalize-opts")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const parseRunner = (0, _gensync().default)(function* parse(code, opts) { + const config = yield* (0, _config.default)(opts); + + if (config === null) { + return null; + } + + return yield* (0, _parser.default)(config.passes, (0, _normalizeOpts.default)(config), code); +}); + +const parse = function parse(code, opts, callback) { + if (typeof opts === "function") { + callback = opts; + opts = undefined; + } + + if (callback === undefined) return parseRunner.sync(code, opts); + parseRunner.errback(code, opts, callback); +}; + +exports.parse = parse; +const parseSync = parseRunner.sync; +exports.parseSync = parseSync; +const parseAsync = parseRunner.async; +exports.parseAsync = parseAsync; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/parser/index.js b/node_modules/@babel/core/lib/parser/index.js new file mode 100644 index 000000000..e8fcc7fe4 --- /dev/null +++ b/node_modules/@babel/core/lib/parser/index.js @@ -0,0 +1,97 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = parser; + +function _parser() { + const data = require("@babel/parser"); + + _parser = function () { + return data; + }; + + return data; +} + +function _codeFrame() { + const data = require("@babel/code-frame"); + + _codeFrame = function () { + return data; + }; + + return data; +} + +var _missingPluginHelper = _interopRequireDefault(require("./util/missing-plugin-helper")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function* parser(pluginPasses, { + parserOpts, + highlightCode = true, + filename = "unknown" +}, code) { + try { + const results = []; + + for (const plugins of pluginPasses) { + for (const plugin of plugins) { + const { + parserOverride + } = plugin; + + if (parserOverride) { + const ast = parserOverride(code, parserOpts, _parser().parse); + if (ast !== undefined) results.push(ast); + } + } + } + + if (results.length === 0) { + return (0, _parser().parse)(code, parserOpts); + } else if (results.length === 1) { + yield* []; + + if (typeof results[0].then === "function") { + throw new Error(`You appear to be using an async parser plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`); + } + + return results[0]; + } + + throw new Error("More than one plugin attempted to override parsing."); + } catch (err) { + if (err.code === "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED") { + err.message += "\nConsider renaming the file to '.mjs', or setting sourceType:module " + "or sourceType:unambiguous in your Babel config for this file."; + } + + const { + loc, + missingPlugin + } = err; + + if (loc) { + const codeFrame = (0, _codeFrame().codeFrameColumns)(code, { + start: { + line: loc.line, + column: loc.column + 1 + } + }, { + highlightCode + }); + + if (missingPlugin) { + err.message = `${filename}: ` + (0, _missingPluginHelper.default)(missingPlugin[0], loc, codeFrame); + } else { + err.message = `${filename}: ${err.message}\n\n` + codeFrame; + } + + err.code = "BABEL_PARSE_ERROR"; + } + + throw err; + } +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js b/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js new file mode 100644 index 000000000..ae58e1eca --- /dev/null +++ b/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js @@ -0,0 +1,291 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = generateMissingPluginMessage; +const pluginNameMap = { + classProperties: { + syntax: { + name: "@babel/plugin-syntax-class-properties", + url: "https://git.io/vb4yQ" + }, + transform: { + name: "@babel/plugin-proposal-class-properties", + url: "https://git.io/vb4SL" + } + }, + classPrivateProperties: { + syntax: { + name: "@babel/plugin-syntax-class-properties", + url: "https://git.io/vb4yQ" + }, + transform: { + name: "@babel/plugin-proposal-class-properties", + url: "https://git.io/vb4SL" + } + }, + classPrivateMethods: { + syntax: { + name: "@babel/plugin-syntax-class-properties", + url: "https://git.io/vb4yQ" + }, + transform: { + name: "@babel/plugin-proposal-private-methods", + url: "https://git.io/JvpRG" + } + }, + decimal: { + syntax: { + name: "@babel/plugin-syntax-decimal", + url: "https://git.io/JfKOH" + } + }, + decorators: { + syntax: { + name: "@babel/plugin-syntax-decorators", + url: "https://git.io/vb4y9" + }, + transform: { + name: "@babel/plugin-proposal-decorators", + url: "https://git.io/vb4ST" + } + }, + doExpressions: { + syntax: { + name: "@babel/plugin-syntax-do-expressions", + url: "https://git.io/vb4yh" + }, + transform: { + name: "@babel/plugin-proposal-do-expressions", + url: "https://git.io/vb4S3" + } + }, + dynamicImport: { + syntax: { + name: "@babel/plugin-syntax-dynamic-import", + url: "https://git.io/vb4Sv" + } + }, + exportDefaultFrom: { + syntax: { + name: "@babel/plugin-syntax-export-default-from", + url: "https://git.io/vb4SO" + }, + transform: { + name: "@babel/plugin-proposal-export-default-from", + url: "https://git.io/vb4yH" + } + }, + exportNamespaceFrom: { + syntax: { + name: "@babel/plugin-syntax-export-namespace-from", + url: "https://git.io/vb4Sf" + }, + transform: { + name: "@babel/plugin-proposal-export-namespace-from", + url: "https://git.io/vb4SG" + } + }, + flow: { + syntax: { + name: "@babel/plugin-syntax-flow", + url: "https://git.io/vb4yb" + }, + transform: { + name: "@babel/preset-flow", + url: "https://git.io/JfeDn" + } + }, + functionBind: { + syntax: { + name: "@babel/plugin-syntax-function-bind", + url: "https://git.io/vb4y7" + }, + transform: { + name: "@babel/plugin-proposal-function-bind", + url: "https://git.io/vb4St" + } + }, + functionSent: { + syntax: { + name: "@babel/plugin-syntax-function-sent", + url: "https://git.io/vb4yN" + }, + transform: { + name: "@babel/plugin-proposal-function-sent", + url: "https://git.io/vb4SZ" + } + }, + importMeta: { + syntax: { + name: "@babel/plugin-syntax-import-meta", + url: "https://git.io/vbKK6" + } + }, + jsx: { + syntax: { + name: "@babel/plugin-syntax-jsx", + url: "https://git.io/vb4yA" + }, + transform: { + name: "@babel/preset-react", + url: "https://git.io/JfeDR" + } + }, + moduleAttributes: { + syntax: { + name: "@babel/plugin-syntax-module-attributes", + url: "https://git.io/JfK3k" + } + }, + numericSeparator: { + syntax: { + name: "@babel/plugin-syntax-numeric-separator", + url: "https://git.io/vb4Sq" + }, + transform: { + name: "@babel/plugin-proposal-numeric-separator", + url: "https://git.io/vb4yS" + } + }, + optionalChaining: { + syntax: { + name: "@babel/plugin-syntax-optional-chaining", + url: "https://git.io/vb4Sc" + }, + transform: { + name: "@babel/plugin-proposal-optional-chaining", + url: "https://git.io/vb4Sk" + } + }, + pipelineOperator: { + syntax: { + name: "@babel/plugin-syntax-pipeline-operator", + url: "https://git.io/vb4yj" + }, + transform: { + name: "@babel/plugin-proposal-pipeline-operator", + url: "https://git.io/vb4SU" + } + }, + privateIn: { + syntax: { + name: "@babel/plugin-syntax-private-property-in-object", + url: "https://git.io/JfK3q" + }, + transform: { + name: "@babel/plugin-proposal-private-property-in-object", + url: "https://git.io/JfK3O" + } + }, + recordAndTuple: { + syntax: { + name: "@babel/plugin-syntax-record-and-tuple", + url: "https://git.io/JvKp3" + } + }, + throwExpressions: { + syntax: { + name: "@babel/plugin-syntax-throw-expressions", + url: "https://git.io/vb4SJ" + }, + transform: { + name: "@babel/plugin-proposal-throw-expressions", + url: "https://git.io/vb4yF" + } + }, + typescript: { + syntax: { + name: "@babel/plugin-syntax-typescript", + url: "https://git.io/vb4SC" + }, + transform: { + name: "@babel/preset-typescript", + url: "https://git.io/JfeDz" + } + }, + asyncGenerators: { + syntax: { + name: "@babel/plugin-syntax-async-generators", + url: "https://git.io/vb4SY" + }, + transform: { + name: "@babel/plugin-proposal-async-generator-functions", + url: "https://git.io/vb4yp" + } + }, + logicalAssignment: { + syntax: { + name: "@babel/plugin-syntax-logical-assignment-operators", + url: "https://git.io/vAlBp" + }, + transform: { + name: "@babel/plugin-proposal-logical-assignment-operators", + url: "https://git.io/vAlRe" + } + }, + nullishCoalescingOperator: { + syntax: { + name: "@babel/plugin-syntax-nullish-coalescing-operator", + url: "https://git.io/vb4yx" + }, + transform: { + name: "@babel/plugin-proposal-nullish-coalescing-operator", + url: "https://git.io/vb4Se" + } + }, + objectRestSpread: { + syntax: { + name: "@babel/plugin-syntax-object-rest-spread", + url: "https://git.io/vb4y5" + }, + transform: { + name: "@babel/plugin-proposal-object-rest-spread", + url: "https://git.io/vb4Ss" + } + }, + optionalCatchBinding: { + syntax: { + name: "@babel/plugin-syntax-optional-catch-binding", + url: "https://git.io/vb4Sn" + }, + transform: { + name: "@babel/plugin-proposal-optional-catch-binding", + url: "https://git.io/vb4SI" + } + } +}; +pluginNameMap.privateIn.syntax = pluginNameMap.privateIn.transform; + +const getNameURLCombination = ({ + name, + url +}) => `${name} (${url})`; + +function generateMissingPluginMessage(missingPluginName, loc, codeFrame) { + let helpMessage = `Support for the experimental syntax '${missingPluginName}' isn't currently enabled ` + `(${loc.line}:${loc.column + 1}):\n\n` + codeFrame; + const pluginInfo = pluginNameMap[missingPluginName]; + + if (pluginInfo) { + const { + syntax: syntaxPlugin, + transform: transformPlugin + } = pluginInfo; + + if (syntaxPlugin) { + const syntaxPluginInfo = getNameURLCombination(syntaxPlugin); + + if (transformPlugin) { + const transformPluginInfo = getNameURLCombination(transformPlugin); + const sectionType = transformPlugin.name.startsWith("@babel/plugin") ? "plugins" : "presets"; + helpMessage += `\n\nAdd ${transformPluginInfo} to the '${sectionType}' section of your Babel config to enable transformation. +If you want to leave it as-is, add ${syntaxPluginInfo} to the 'plugins' section to enable parsing.`; + } else { + helpMessage += `\n\nAdd ${syntaxPluginInfo} to the 'plugins' section of your Babel config ` + `to enable parsing.`; + } + } + } + + return helpMessage; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/tools/build-external-helpers.js b/node_modules/@babel/core/lib/tools/build-external-helpers.js new file mode 100644 index 000000000..f30372eaf --- /dev/null +++ b/node_modules/@babel/core/lib/tools/build-external-helpers.js @@ -0,0 +1,148 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +function helpers() { + const data = _interopRequireWildcard(require("@babel/helpers")); + + helpers = function () { + return data; + }; + + return data; +} + +function _generator() { + const data = _interopRequireDefault(require("@babel/generator")); + + _generator = function () { + return data; + }; + + return data; +} + +function _template() { + const data = _interopRequireDefault(require("@babel/template")); + + _template = function () { + return data; + }; + + return data; +} + +function t() { + const data = _interopRequireWildcard(require("@babel/types")); + + t = function () { + return data; + }; + + return data; +} + +var _file = _interopRequireDefault(require("../transformation/file/file")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const buildUmdWrapper = replacements => (0, _template().default)` + (function (root, factory) { + if (typeof define === "function" && define.amd) { + define(AMD_ARGUMENTS, factory); + } else if (typeof exports === "object") { + factory(COMMON_ARGUMENTS); + } else { + factory(BROWSER_ARGUMENTS); + } + })(UMD_ROOT, function (FACTORY_PARAMETERS) { + FACTORY_BODY + }); + `(replacements); + +function buildGlobal(allowlist) { + const namespace = t().identifier("babelHelpers"); + const body = []; + const container = t().functionExpression(null, [t().identifier("global")], t().blockStatement(body)); + const tree = t().program([t().expressionStatement(t().callExpression(container, [t().conditionalExpression(t().binaryExpression("===", t().unaryExpression("typeof", t().identifier("global")), t().stringLiteral("undefined")), t().identifier("self"), t().identifier("global"))]))]); + body.push(t().variableDeclaration("var", [t().variableDeclarator(namespace, t().assignmentExpression("=", t().memberExpression(t().identifier("global"), namespace), t().objectExpression([])))])); + buildHelpers(body, namespace, allowlist); + return tree; +} + +function buildModule(allowlist) { + const body = []; + const refs = buildHelpers(body, null, allowlist); + body.unshift(t().exportNamedDeclaration(null, Object.keys(refs).map(name => { + return t().exportSpecifier(t().cloneNode(refs[name]), t().identifier(name)); + }))); + return t().program(body, [], "module"); +} + +function buildUmd(allowlist) { + const namespace = t().identifier("babelHelpers"); + const body = []; + body.push(t().variableDeclaration("var", [t().variableDeclarator(namespace, t().identifier("global"))])); + buildHelpers(body, namespace, allowlist); + return t().program([buildUmdWrapper({ + FACTORY_PARAMETERS: t().identifier("global"), + BROWSER_ARGUMENTS: t().assignmentExpression("=", t().memberExpression(t().identifier("root"), namespace), t().objectExpression([])), + COMMON_ARGUMENTS: t().identifier("exports"), + AMD_ARGUMENTS: t().arrayExpression([t().stringLiteral("exports")]), + FACTORY_BODY: body, + UMD_ROOT: t().identifier("this") + })]); +} + +function buildVar(allowlist) { + const namespace = t().identifier("babelHelpers"); + const body = []; + body.push(t().variableDeclaration("var", [t().variableDeclarator(namespace, t().objectExpression([]))])); + const tree = t().program(body); + buildHelpers(body, namespace, allowlist); + body.push(t().expressionStatement(namespace)); + return tree; +} + +function buildHelpers(body, namespace, allowlist) { + const getHelperReference = name => { + return namespace ? t().memberExpression(namespace, t().identifier(name)) : t().identifier(`_${name}`); + }; + + const refs = {}; + helpers().list.forEach(function (name) { + if (allowlist && allowlist.indexOf(name) < 0) return; + const ref = refs[name] = getHelperReference(name); + helpers().ensure(name, _file.default); + const { + nodes + } = helpers().get(name, getHelperReference, ref); + body.push(...nodes); + }); + return refs; +} + +function _default(allowlist, outputType = "global") { + let tree; + const build = { + global: buildGlobal, + module: buildModule, + umd: buildUmd, + var: buildVar + }[outputType]; + + if (build) { + tree = build(allowlist); + } else { + throw new Error(`Unsupported output type ${outputType}`); + } + + return (0, _generator().default)(tree).code; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform-ast.js b/node_modules/@babel/core/lib/transform-ast.js new file mode 100644 index 000000000..e43bf0278 --- /dev/null +++ b/node_modules/@babel/core/lib/transform-ast.js @@ -0,0 +1,48 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.transformFromAstAsync = exports.transformFromAstSync = exports.transformFromAst = void 0; + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +var _config = _interopRequireDefault(require("./config")); + +var _transformation = require("./transformation"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const transformFromAstRunner = (0, _gensync().default)(function* (ast, code, opts) { + const config = yield* (0, _config.default)(opts); + if (config === null) return null; + if (!ast) throw new Error("No AST given"); + return yield* (0, _transformation.run)(config, code, ast); +}); + +const transformFromAst = function transformFromAst(ast, code, opts, callback) { + if (typeof opts === "function") { + callback = opts; + opts = undefined; + } + + if (callback === undefined) { + return transformFromAstRunner.sync(ast, code, opts); + } + + transformFromAstRunner.errback(ast, code, opts, callback); +}; + +exports.transformFromAst = transformFromAst; +const transformFromAstSync = transformFromAstRunner.sync; +exports.transformFromAstSync = transformFromAstSync; +const transformFromAstAsync = transformFromAstRunner.async; +exports.transformFromAstAsync = transformFromAstAsync; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform-file-browser.js b/node_modules/@babel/core/lib/transform-file-browser.js new file mode 100644 index 000000000..6442c9821 --- /dev/null +++ b/node_modules/@babel/core/lib/transform-file-browser.js @@ -0,0 +1,26 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.transformFileSync = transformFileSync; +exports.transformFileAsync = transformFileAsync; +exports.transformFile = void 0; + +const transformFile = function transformFile(filename, opts, callback) { + if (typeof opts === "function") { + callback = opts; + } + + callback(new Error("Transforming files is not supported in browsers"), null); +}; + +exports.transformFile = transformFile; + +function transformFileSync() { + throw new Error("Transforming files is not supported in browsers"); +} + +function transformFileAsync() { + return Promise.reject(new Error("Transforming files is not supported in browsers")); +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform-file.js b/node_modules/@babel/core/lib/transform-file.js new file mode 100644 index 000000000..df376d78e --- /dev/null +++ b/node_modules/@babel/core/lib/transform-file.js @@ -0,0 +1,45 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.transformFileAsync = exports.transformFileSync = exports.transformFile = void 0; + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +var _config = _interopRequireDefault(require("./config")); + +var _transformation = require("./transformation"); + +var fs = _interopRequireWildcard(require("./gensync-utils/fs")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +({}); +const transformFileRunner = (0, _gensync().default)(function* (filename, opts) { + const options = Object.assign({}, opts, { + filename + }); + const config = yield* (0, _config.default)(options); + if (config === null) return null; + const code = yield* fs.readFile(filename, "utf8"); + return yield* (0, _transformation.run)(config, code); +}); +const transformFile = transformFileRunner.errback; +exports.transformFile = transformFile; +const transformFileSync = transformFileRunner.sync; +exports.transformFileSync = transformFileSync; +const transformFileAsync = transformFileRunner.async; +exports.transformFileAsync = transformFileAsync; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transform.js b/node_modules/@babel/core/lib/transform.js new file mode 100644 index 000000000..32d4de783 --- /dev/null +++ b/node_modules/@babel/core/lib/transform.js @@ -0,0 +1,44 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.transformAsync = exports.transformSync = exports.transform = void 0; + +function _gensync() { + const data = _interopRequireDefault(require("gensync")); + + _gensync = function () { + return data; + }; + + return data; +} + +var _config = _interopRequireDefault(require("./config")); + +var _transformation = require("./transformation"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const transformRunner = (0, _gensync().default)(function* transform(code, opts) { + const config = yield* (0, _config.default)(opts); + if (config === null) return null; + return yield* (0, _transformation.run)(config, code); +}); + +const transform = function transform(code, opts, callback) { + if (typeof opts === "function") { + callback = opts; + opts = undefined; + } + + if (callback === undefined) return transformRunner.sync(code, opts); + transformRunner.errback(code, opts, callback); +}; + +exports.transform = transform; +const transformSync = transformRunner.sync; +exports.transformSync = transformSync; +const transformAsync = transformRunner.async; +exports.transformAsync = transformAsync; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js b/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js new file mode 100644 index 000000000..55eb06dfe --- /dev/null +++ b/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js @@ -0,0 +1,68 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = loadBlockHoistPlugin; + +function _sortBy() { + const data = _interopRequireDefault(require("lodash/sortBy")); + + _sortBy = function () { + return data; + }; + + return data; +} + +var _config = _interopRequireDefault(require("../config")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +let LOADED_PLUGIN; + +function loadBlockHoistPlugin() { + if (!LOADED_PLUGIN) { + const config = _config.default.sync({ + babelrc: false, + configFile: false, + plugins: [blockHoistPlugin] + }); + + LOADED_PLUGIN = config ? config.passes[0][0] : undefined; + if (!LOADED_PLUGIN) throw new Error("Assertion failure"); + } + + return LOADED_PLUGIN; +} + +const blockHoistPlugin = { + name: "internal.blockHoist", + visitor: { + Block: { + exit({ + node + }) { + let hasChange = false; + + for (let i = 0; i < node.body.length; i++) { + const bodyNode = node.body[i]; + + if ((bodyNode == null ? void 0 : bodyNode._blockHoist) != null) { + hasChange = true; + break; + } + } + + if (!hasChange) return; + node.body = (0, _sortBy().default)(node.body, function (bodyNode) { + let priority = bodyNode == null ? void 0 : bodyNode._blockHoist; + if (priority == null) priority = 1; + if (priority === true) priority = 2; + return -1 * priority; + }); + } + + } + } +}; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/file/file.js b/node_modules/@babel/core/lib/transformation/file/file.js new file mode 100644 index 000000000..f2d54fa52 --- /dev/null +++ b/node_modules/@babel/core/lib/transformation/file/file.js @@ -0,0 +1,253 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +function helpers() { + const data = _interopRequireWildcard(require("@babel/helpers")); + + helpers = function () { + return data; + }; + + return data; +} + +function _traverse() { + const data = _interopRequireWildcard(require("@babel/traverse")); + + _traverse = function () { + return data; + }; + + return data; +} + +function _codeFrame() { + const data = require("@babel/code-frame"); + + _codeFrame = function () { + return data; + }; + + return data; +} + +function t() { + const data = _interopRequireWildcard(require("@babel/types")); + + t = function () { + return data; + }; + + return data; +} + +function _helperModuleTransforms() { + const data = require("@babel/helper-module-transforms"); + + _helperModuleTransforms = function () { + return data; + }; + + return data; +} + +function _semver() { + const data = _interopRequireDefault(require("semver")); + + _semver = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const errorVisitor = { + enter(path, state) { + const loc = path.node.loc; + + if (loc) { + state.loc = loc; + path.stop(); + } + } + +}; + +class File { + constructor(options, { + code, + ast, + inputMap + }) { + this._map = new Map(); + this.declarations = {}; + this.path = null; + this.ast = {}; + this.metadata = {}; + this.code = ""; + this.inputMap = null; + this.hub = { + file: this, + getCode: () => this.code, + getScope: () => this.scope, + addHelper: this.addHelper.bind(this), + buildError: this.buildCodeFrameError.bind(this) + }; + this.opts = options; + this.code = code; + this.ast = ast; + this.inputMap = inputMap; + this.path = _traverse().NodePath.get({ + hub: this.hub, + parentPath: null, + parent: this.ast, + container: this.ast, + key: "program" + }).setContext(); + this.scope = this.path.scope; + } + + get shebang() { + const { + interpreter + } = this.path.node; + return interpreter ? interpreter.value : ""; + } + + set shebang(value) { + if (value) { + this.path.get("interpreter").replaceWith(t().interpreterDirective(value)); + } else { + this.path.get("interpreter").remove(); + } + } + + set(key, val) { + if (key === "helpersNamespace") { + throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility." + "If you are using @babel/plugin-external-helpers you will need to use a newer " + "version than the one you currently have installed. " + "If you have your own implementation, you'll want to explore using 'helperGenerator' " + "alongside 'file.availableHelper()'."); + } + + this._map.set(key, val); + } + + get(key) { + return this._map.get(key); + } + + has(key) { + return this._map.has(key); + } + + getModuleName() { + return (0, _helperModuleTransforms().getModuleName)(this.opts, this.opts); + } + + addImport() { + throw new Error("This API has been removed. If you're looking for this " + "functionality in Babel 7, you should import the " + "'@babel/helper-module-imports' module and use the functions exposed " + " from that module, such as 'addNamed' or 'addDefault'."); + } + + availableHelper(name, versionRange) { + let minVersion; + + try { + minVersion = helpers().minVersion(name); + } catch (err) { + if (err.code !== "BABEL_HELPER_UNKNOWN") throw err; + return false; + } + + if (typeof versionRange !== "string") return true; + if (_semver().default.valid(versionRange)) versionRange = `^${versionRange}`; + return !_semver().default.intersects(`<${minVersion}`, versionRange) && !_semver().default.intersects(`>=8.0.0`, versionRange); + } + + addHelper(name) { + const declar = this.declarations[name]; + if (declar) return t().cloneNode(declar); + const generator = this.get("helperGenerator"); + + if (generator) { + const res = generator(name); + if (res) return res; + } + + helpers().ensure(name, File); + const uid = this.declarations[name] = this.scope.generateUidIdentifier(name); + const dependencies = {}; + + for (const dep of helpers().getDependencies(name)) { + dependencies[dep] = this.addHelper(dep); + } + + const { + nodes, + globals + } = helpers().get(name, dep => dependencies[dep], uid, Object.keys(this.scope.getAllBindings())); + globals.forEach(name => { + if (this.path.scope.hasBinding(name, true)) { + this.path.scope.rename(name); + } + }); + nodes.forEach(node => { + node._compact = true; + }); + this.path.unshiftContainer("body", nodes); + this.path.get("body").forEach(path => { + if (nodes.indexOf(path.node) === -1) return; + if (path.isVariableDeclaration()) this.scope.registerDeclaration(path); + }); + return uid; + } + + addTemplateObject() { + throw new Error("This function has been moved into the template literal transform itself."); + } + + buildCodeFrameError(node, msg, Error = SyntaxError) { + let loc = node && (node.loc || node._loc); + + if (!loc && node) { + const state = { + loc: null + }; + (0, _traverse().default)(node, errorVisitor, this.scope, state); + loc = state.loc; + let txt = "This is an error on an internal node. Probably an internal error."; + if (loc) txt += " Location has been estimated."; + msg += ` (${txt})`; + } + + if (loc) { + const { + highlightCode = true + } = this.opts; + msg += "\n" + (0, _codeFrame().codeFrameColumns)(this.code, { + start: { + line: loc.start.line, + column: loc.start.column + 1 + }, + end: loc.end && loc.start.line === loc.end.line ? { + line: loc.end.line, + column: loc.end.column + 1 + } : undefined + }, { + highlightCode + }); + } + + return new Error(msg); + } + +} + +exports.default = File; \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/file/generate.js b/node_modules/@babel/core/lib/transformation/file/generate.js new file mode 100644 index 000000000..3301b56d2 --- /dev/null +++ b/node_modules/@babel/core/lib/transformation/file/generate.js @@ -0,0 +1,89 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = generateCode; + +function _convertSourceMap() { + const data = _interopRequireDefault(require("convert-source-map")); + + _convertSourceMap = function () { + return data; + }; + + return data; +} + +function _generator() { + const data = _interopRequireDefault(require("@babel/generator")); + + _generator = function () { + return data; + }; + + return data; +} + +var _mergeMap = _interopRequireDefault(require("./merge-map")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function generateCode(pluginPasses, file) { + const { + opts, + ast, + code, + inputMap + } = file; + const results = []; + + for (const plugins of pluginPasses) { + for (const plugin of plugins) { + const { + generatorOverride + } = plugin; + + if (generatorOverride) { + const result = generatorOverride(ast, opts.generatorOpts, code, _generator().default); + if (result !== undefined) results.push(result); + } + } + } + + let result; + + if (results.length === 0) { + result = (0, _generator().default)(ast, opts.generatorOpts, code); + } else if (results.length === 1) { + result = results[0]; + + if (typeof result.then === "function") { + throw new Error(`You appear to be using an async codegen plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version.`); + } + } else { + throw new Error("More than one plugin attempted to override codegen."); + } + + let { + code: outputCode, + map: outputMap + } = result; + + if (outputMap && inputMap) { + outputMap = (0, _mergeMap.default)(inputMap.toObject(), outputMap); + } + + if (opts.sourceMaps === "inline" || opts.sourceMaps === "both") { + outputCode += "\n" + _convertSourceMap().default.fromObject(outputMap).toComment(); + } + + if (opts.sourceMaps === "inline") { + outputMap = null; + } + + return { + outputCode, + outputMap + }; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/file/merge-map.js b/node_modules/@babel/core/lib/transformation/file/merge-map.js new file mode 100644 index 000000000..d49c994a2 --- /dev/null +++ b/node_modules/@babel/core/lib/transformation/file/merge-map.js @@ -0,0 +1,247 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = mergeSourceMap; + +function _sourceMap() { + const data = _interopRequireDefault(require("source-map")); + + _sourceMap = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function mergeSourceMap(inputMap, map) { + const input = buildMappingData(inputMap); + const output = buildMappingData(map); + const mergedGenerator = new (_sourceMap().default.SourceMapGenerator)(); + + for (const { + source + } of input.sources) { + if (typeof source.content === "string") { + mergedGenerator.setSourceContent(source.path, source.content); + } + } + + if (output.sources.length === 1) { + const defaultSource = output.sources[0]; + const insertedMappings = new Map(); + eachInputGeneratedRange(input, (generated, original, source) => { + eachOverlappingGeneratedOutputRange(defaultSource, generated, item => { + const key = makeMappingKey(item); + if (insertedMappings.has(key)) return; + insertedMappings.set(key, item); + mergedGenerator.addMapping({ + source: source.path, + original: { + line: original.line, + column: original.columnStart + }, + generated: { + line: item.line, + column: item.columnStart + }, + name: original.name + }); + }); + }); + + for (const item of insertedMappings.values()) { + if (item.columnEnd === Infinity) { + continue; + } + + const clearItem = { + line: item.line, + columnStart: item.columnEnd + }; + const key = makeMappingKey(clearItem); + + if (insertedMappings.has(key)) { + continue; + } + + mergedGenerator.addMapping({ + generated: { + line: clearItem.line, + column: clearItem.columnStart + } + }); + } + } + + const result = mergedGenerator.toJSON(); + + if (typeof input.sourceRoot === "string") { + result.sourceRoot = input.sourceRoot; + } + + return result; +} + +function makeMappingKey(item) { + return `${item.line}/${item.columnStart}`; +} + +function eachOverlappingGeneratedOutputRange(outputFile, inputGeneratedRange, callback) { + const overlappingOriginal = filterApplicableOriginalRanges(outputFile, inputGeneratedRange); + + for (const { + generated + } of overlappingOriginal) { + for (const item of generated) { + callback(item); + } + } +} + +function filterApplicableOriginalRanges({ + mappings +}, { + line, + columnStart, + columnEnd +}) { + return filterSortedArray(mappings, ({ + original: outOriginal + }) => { + if (line > outOriginal.line) return -1; + if (line < outOriginal.line) return 1; + if (columnStart >= outOriginal.columnEnd) return -1; + if (columnEnd <= outOriginal.columnStart) return 1; + return 0; + }); +} + +function eachInputGeneratedRange(map, callback) { + for (const { + source, + mappings + } of map.sources) { + for (const { + original, + generated + } of mappings) { + for (const item of generated) { + callback(item, original, source); + } + } + } +} + +function buildMappingData(map) { + const consumer = new (_sourceMap().default.SourceMapConsumer)(Object.assign({}, map, { + sourceRoot: null + })); + const sources = new Map(); + const mappings = new Map(); + let last = null; + consumer.computeColumnSpans(); + consumer.eachMapping(m => { + if (m.originalLine === null) return; + let source = sources.get(m.source); + + if (!source) { + source = { + path: m.source, + content: consumer.sourceContentFor(m.source, true) + }; + sources.set(m.source, source); + } + + let sourceData = mappings.get(source); + + if (!sourceData) { + sourceData = { + source, + mappings: [] + }; + mappings.set(source, sourceData); + } + + const obj = { + line: m.originalLine, + columnStart: m.originalColumn, + columnEnd: Infinity, + name: m.name + }; + + if (last && last.source === source && last.mapping.line === m.originalLine) { + last.mapping.columnEnd = m.originalColumn; + } + + last = { + source, + mapping: obj + }; + sourceData.mappings.push({ + original: obj, + generated: consumer.allGeneratedPositionsFor({ + source: m.source, + line: m.originalLine, + column: m.originalColumn + }).map(item => ({ + line: item.line, + columnStart: item.column, + columnEnd: item.lastColumn + 1 + })) + }); + }, null, _sourceMap().default.SourceMapConsumer.ORIGINAL_ORDER); + return { + file: map.file, + sourceRoot: map.sourceRoot, + sources: Array.from(mappings.values()) + }; +} + +function findInsertionLocation(array, callback) { + let left = 0; + let right = array.length; + + while (left < right) { + const mid = Math.floor((left + right) / 2); + const item = array[mid]; + const result = callback(item); + + if (result === 0) { + left = mid; + break; + } + + if (result >= 0) { + right = mid; + } else { + left = mid + 1; + } + } + + let i = left; + + if (i < array.length) { + while (i >= 0 && callback(array[i]) >= 0) { + i--; + } + + return i + 1; + } + + return i; +} + +function filterSortedArray(array, callback) { + const start = findInsertionLocation(array, callback); + const results = []; + + for (let i = start; i < array.length && callback(array[i]) === 0; i++) { + results.push(array[i]); + } + + return results; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/index.js b/node_modules/@babel/core/lib/transformation/index.js new file mode 100644 index 000000000..bb35bbe0f --- /dev/null +++ b/node_modules/@babel/core/lib/transformation/index.js @@ -0,0 +1,126 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.run = run; + +function _traverse() { + const data = _interopRequireDefault(require("@babel/traverse")); + + _traverse = function () { + return data; + }; + + return data; +} + +var _pluginPass = _interopRequireDefault(require("./plugin-pass")); + +var _blockHoistPlugin = _interopRequireDefault(require("./block-hoist-plugin")); + +var _normalizeOpts = _interopRequireDefault(require("./normalize-opts")); + +var _normalizeFile = _interopRequireDefault(require("./normalize-file")); + +var _generate = _interopRequireDefault(require("./file/generate")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function* run(config, code, ast) { + const file = yield* (0, _normalizeFile.default)(config.passes, (0, _normalizeOpts.default)(config), code, ast); + const opts = file.opts; + + try { + yield* transformFile(file, config.passes); + } catch (e) { + var _opts$filename; + + e.message = `${(_opts$filename = opts.filename) != null ? _opts$filename : "unknown"}: ${e.message}`; + + if (!e.code) { + e.code = "BABEL_TRANSFORM_ERROR"; + } + + throw e; + } + + let outputCode, outputMap; + + try { + if (opts.code !== false) { + ({ + outputCode, + outputMap + } = (0, _generate.default)(config.passes, file)); + } + } catch (e) { + var _opts$filename2; + + e.message = `${(_opts$filename2 = opts.filename) != null ? _opts$filename2 : "unknown"}: ${e.message}`; + + if (!e.code) { + e.code = "BABEL_GENERATE_ERROR"; + } + + throw e; + } + + return { + metadata: file.metadata, + options: opts, + ast: opts.ast === true ? file.ast : null, + code: outputCode === undefined ? null : outputCode, + map: outputMap === undefined ? null : outputMap, + sourceType: file.ast.program.sourceType + }; +} + +function* transformFile(file, pluginPasses) { + for (const pluginPairs of pluginPasses) { + const passPairs = []; + const passes = []; + const visitors = []; + + for (const plugin of pluginPairs.concat([(0, _blockHoistPlugin.default)()])) { + const pass = new _pluginPass.default(file, plugin.key, plugin.options); + passPairs.push([plugin, pass]); + passes.push(pass); + visitors.push(plugin.visitor); + } + + for (const [plugin, pass] of passPairs) { + const fn = plugin.pre; + + if (fn) { + const result = fn.call(pass, file); + yield* []; + + if (isThenable(result)) { + throw new Error(`You appear to be using an plugin with an async .pre, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`); + } + } + } + + const visitor = _traverse().default.visitors.merge(visitors, passes, file.opts.wrapPluginVisitorMethod); + + (0, _traverse().default)(file.ast, visitor, file.scope); + + for (const [plugin, pass] of passPairs) { + const fn = plugin.post; + + if (fn) { + const result = fn.call(pass, file); + yield* []; + + if (isThenable(result)) { + throw new Error(`You appear to be using an plugin with an async .post, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`); + } + } + } + } +} + +function isThenable(val) { + return !!val && (typeof val === "object" || typeof val === "function") && !!val.then && typeof val.then === "function"; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/normalize-file.js b/node_modules/@babel/core/lib/transformation/normalize-file.js new file mode 100644 index 000000000..b6006bca7 --- /dev/null +++ b/node_modules/@babel/core/lib/transformation/normalize-file.js @@ -0,0 +1,179 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = normalizeFile; + +function _fs() { + const data = _interopRequireDefault(require("fs")); + + _fs = function () { + return data; + }; + + return data; +} + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +function _debug() { + const data = _interopRequireDefault(require("debug")); + + _debug = function () { + return data; + }; + + return data; +} + +function _cloneDeep() { + const data = _interopRequireDefault(require("lodash/cloneDeep")); + + _cloneDeep = function () { + return data; + }; + + return data; +} + +function t() { + const data = _interopRequireWildcard(require("@babel/types")); + + t = function () { + return data; + }; + + return data; +} + +function _convertSourceMap() { + const data = _interopRequireDefault(require("convert-source-map")); + + _convertSourceMap = function () { + return data; + }; + + return data; +} + +var _file = _interopRequireDefault(require("./file/file")); + +var _parser = _interopRequireDefault(require("../parser")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const debug = (0, _debug().default)("babel:transform:file"); +const LARGE_INPUT_SOURCEMAP_THRESHOLD = 1000000; + +function* normalizeFile(pluginPasses, options, code, ast) { + code = `${code || ""}`; + + if (ast) { + if (ast.type === "Program") { + ast = t().file(ast, [], []); + } else if (ast.type !== "File") { + throw new Error("AST root must be a Program or File node"); + } + + const { + cloneInputAst + } = options; + + if (cloneInputAst) { + ast = (0, _cloneDeep().default)(ast); + } + } else { + ast = yield* (0, _parser.default)(pluginPasses, options, code); + } + + let inputMap = null; + + if (options.inputSourceMap !== false) { + if (typeof options.inputSourceMap === "object") { + inputMap = _convertSourceMap().default.fromObject(options.inputSourceMap); + } + + if (!inputMap) { + const lastComment = extractComments(INLINE_SOURCEMAP_REGEX, ast); + + if (lastComment) { + try { + inputMap = _convertSourceMap().default.fromComment(lastComment); + } catch (err) { + debug("discarding unknown inline input sourcemap", err); + } + } + } + + if (!inputMap) { + const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast); + + if (typeof options.filename === "string" && lastComment) { + try { + const match = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment); + + const inputMapContent = _fs().default.readFileSync(_path().default.resolve(_path().default.dirname(options.filename), match[1])); + + if (inputMapContent.length > LARGE_INPUT_SOURCEMAP_THRESHOLD) { + debug("skip merging input map > 1 MB"); + } else { + inputMap = _convertSourceMap().default.fromJSON(inputMapContent); + } + } catch (err) { + debug("discarding unknown file input sourcemap", err); + } + } else if (lastComment) { + debug("discarding un-loadable file input sourcemap"); + } + } + } + + return new _file.default(options, { + code, + ast, + inputMap + }); +} + +const INLINE_SOURCEMAP_REGEX = /^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/; +const EXTERNAL_SOURCEMAP_REGEX = /^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/; + +function extractCommentsFromList(regex, comments, lastComment) { + if (comments) { + comments = comments.filter(({ + value + }) => { + if (regex.test(value)) { + lastComment = value; + return false; + } + + return true; + }); + } + + return [comments, lastComment]; +} + +function extractComments(regex, ast) { + let lastComment = null; + t().traverseFast(ast, node => { + [node.leadingComments, lastComment] = extractCommentsFromList(regex, node.leadingComments, lastComment); + [node.innerComments, lastComment] = extractCommentsFromList(regex, node.innerComments, lastComment); + [node.trailingComments, lastComment] = extractCommentsFromList(regex, node.trailingComments, lastComment); + }); + return lastComment; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/normalize-opts.js b/node_modules/@babel/core/lib/transformation/normalize-opts.js new file mode 100644 index 000000000..1465ad698 --- /dev/null +++ b/node_modules/@babel/core/lib/transformation/normalize-opts.js @@ -0,0 +1,65 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = normalizeOptions; + +function _path() { + const data = _interopRequireDefault(require("path")); + + _path = function () { + return data; + }; + + return data; +} + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function normalizeOptions(config) { + const { + filename, + cwd, + filenameRelative = typeof filename === "string" ? _path().default.relative(cwd, filename) : "unknown", + sourceType = "module", + inputSourceMap, + sourceMaps = !!inputSourceMap, + moduleRoot, + sourceRoot = moduleRoot, + sourceFileName = _path().default.basename(filenameRelative), + comments = true, + compact = "auto" + } = config.options; + const opts = config.options; + const options = Object.assign({}, opts, { + parserOpts: Object.assign({ + sourceType: _path().default.extname(filenameRelative) === ".mjs" ? "module" : sourceType, + sourceFileName: filename, + plugins: [] + }, opts.parserOpts), + generatorOpts: Object.assign({ + filename, + auxiliaryCommentBefore: opts.auxiliaryCommentBefore, + auxiliaryCommentAfter: opts.auxiliaryCommentAfter, + retainLines: opts.retainLines, + comments, + shouldPrintComment: opts.shouldPrintComment, + compact, + minified: opts.minified, + sourceMaps, + sourceRoot, + sourceFileName + }, opts.generatorOpts) + }); + + for (const plugins of config.passes) { + for (const plugin of plugins) { + if (plugin.manipulateOptions) { + plugin.manipulateOptions(options, options.parserOpts); + } + } + } + + return options; +} \ No newline at end of file diff --git a/node_modules/@babel/core/lib/transformation/plugin-pass.js b/node_modules/@babel/core/lib/transformation/plugin-pass.js new file mode 100644 index 000000000..2c746d1d6 --- /dev/null +++ b/node_modules/@babel/core/lib/transformation/plugin-pass.js @@ -0,0 +1,48 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +class PluginPass { + constructor(file, key, options) { + this._map = new Map(); + this.key = key; + this.file = file; + this.opts = options || {}; + this.cwd = file.opts.cwd; + this.filename = file.opts.filename; + } + + set(key, val) { + this._map.set(key, val); + } + + get(key) { + return this._map.get(key); + } + + availableHelper(name, versionRange) { + return this.file.availableHelper(name, versionRange); + } + + addHelper(name) { + return this.file.addHelper(name); + } + + addImport() { + return this.file.addImport(); + } + + getModuleName() { + return this.file.getModuleName(); + } + + buildCodeFrameError(node, msg, Error) { + return this.file.buildCodeFrameError(node, msg, Error); + } + +} + +exports.default = PluginPass; \ No newline at end of file diff --git a/node_modules/@babel/core/node_modules/debug/CHANGELOG.md b/node_modules/@babel/core/node_modules/debug/CHANGELOG.md new file mode 100644 index 000000000..820d21e33 --- /dev/null +++ b/node_modules/@babel/core/node_modules/debug/CHANGELOG.md @@ -0,0 +1,395 @@ + +3.1.0 / 2017-09-26 +================== + + * Add `DEBUG_HIDE_DATE` env var (#486) + * Remove ReDoS regexp in %o formatter (#504) + * Remove "component" from package.json + * Remove `component.json` + * Ignore package-lock.json + * Examples: fix colors printout + * Fix: browser detection + * Fix: spelling mistake (#496, @EdwardBetts) + +3.0.1 / 2017-08-24 +================== + + * Fix: Disable colors in Edge and Internet Explorer (#489) + +3.0.0 / 2017-08-08 +================== + + * Breaking: Remove DEBUG_FD (#406) + * Breaking: Use `Date#toISOString()` instead to `Date#toUTCString()` when output is not a TTY (#418) + * Breaking: Make millisecond timer namespace specific and allow 'always enabled' output (#408) + * Addition: document `enabled` flag (#465) + * Addition: add 256 colors mode (#481) + * Addition: `enabled()` updates existing debug instances, add `destroy()` function (#440) + * Update: component: update "ms" to v2.0.0 + * Update: separate the Node and Browser tests in Travis-CI + * Update: refactor Readme, fixed documentation, added "Namespace Colors" section, redid screenshots + * Update: separate Node.js and web browser examples for organization + * Update: update "browserify" to v14.4.0 + * Fix: fix Readme typo (#473) + +2.6.9 / 2017-09-22 +================== + + * remove ReDoS regexp in %o formatter (#504) + +2.6.8 / 2017-05-18 +================== + + * Fix: Check for undefined on browser globals (#462, @marbemac) + +2.6.7 / 2017-05-16 +================== + + * Fix: Update ms to 2.0.0 to fix regular expression denial of service vulnerability (#458, @hubdotcom) + * Fix: Inline extend function in node implementation (#452, @dougwilson) + * Docs: Fix typo (#455, @msasad) + +2.6.5 / 2017-04-27 +================== + + * Fix: null reference check on window.documentElement.style.WebkitAppearance (#447, @thebigredgeek) + * Misc: clean up browser reference checks (#447, @thebigredgeek) + * Misc: add npm-debug.log to .gitignore (@thebigredgeek) + + +2.6.4 / 2017-04-20 +================== + + * Fix: bug that would occur if process.env.DEBUG is a non-string value. (#444, @LucianBuzzo) + * Chore: ignore bower.json in npm installations. (#437, @joaovieira) + * Misc: update "ms" to v0.7.3 (@tootallnate) + +2.6.3 / 2017-03-13 +================== + + * Fix: Electron reference to `process.env.DEBUG` (#431, @paulcbetts) + * Docs: Changelog fix (@thebigredgeek) + +2.6.2 / 2017-03-10 +================== + + * Fix: DEBUG_MAX_ARRAY_LENGTH (#420, @slavaGanzin) + * Docs: Add backers and sponsors from Open Collective (#422, @piamancini) + * Docs: Add Slackin invite badge (@tootallnate) + +2.6.1 / 2017-02-10 +================== + + * Fix: Module's `export default` syntax fix for IE8 `Expected identifier` error + * Fix: Whitelist DEBUG_FD for values 1 and 2 only (#415, @pi0) + * Fix: IE8 "Expected identifier" error (#414, @vgoma) + * Fix: Namespaces would not disable once enabled (#409, @musikov) + +2.6.0 / 2016-12-28 +================== + + * Fix: added better null pointer checks for browser useColors (@thebigredgeek) + * Improvement: removed explicit `window.debug` export (#404, @tootallnate) + * Improvement: deprecated `DEBUG_FD` environment variable (#405, @tootallnate) + +2.5.2 / 2016-12-25 +================== + + * Fix: reference error on window within webworkers (#393, @KlausTrainer) + * Docs: fixed README typo (#391, @lurch) + * Docs: added notice about v3 api discussion (@thebigredgeek) + +2.5.1 / 2016-12-20 +================== + + * Fix: babel-core compatibility + +2.5.0 / 2016-12-20 +================== + + * Fix: wrong reference in bower file (@thebigredgeek) + * Fix: webworker compatibility (@thebigredgeek) + * Fix: output formatting issue (#388, @kribblo) + * Fix: babel-loader compatibility (#383, @escwald) + * Misc: removed built asset from repo and publications (@thebigredgeek) + * Misc: moved source files to /src (#378, @yamikuronue) + * Test: added karma integration and replaced babel with browserify for browser tests (#378, @yamikuronue) + * Test: coveralls integration (#378, @yamikuronue) + * Docs: simplified language in the opening paragraph (#373, @yamikuronue) + +2.4.5 / 2016-12-17 +================== + + * Fix: `navigator` undefined in Rhino (#376, @jochenberger) + * Fix: custom log function (#379, @hsiliev) + * Improvement: bit of cleanup + linting fixes (@thebigredgeek) + * Improvement: rm non-maintainted `dist/` dir (#375, @freewil) + * Docs: simplified language in the opening paragraph. (#373, @yamikuronue) + +2.4.4 / 2016-12-14 +================== + + * Fix: work around debug being loaded in preload scripts for electron (#368, @paulcbetts) + +2.4.3 / 2016-12-14 +================== + + * Fix: navigation.userAgent error for react native (#364, @escwald) + +2.4.2 / 2016-12-14 +================== + + * Fix: browser colors (#367, @tootallnate) + * Misc: travis ci integration (@thebigredgeek) + * Misc: added linting and testing boilerplate with sanity check (@thebigredgeek) + +2.4.1 / 2016-12-13 +================== + + * Fix: typo that broke the package (#356) + +2.4.0 / 2016-12-13 +================== + + * Fix: bower.json references unbuilt src entry point (#342, @justmatt) + * Fix: revert "handle regex special characters" (@tootallnate) + * Feature: configurable util.inspect()`options for NodeJS (#327, @tootallnate) + * Feature: %O`(big O) pretty-prints objects (#322, @tootallnate) + * Improvement: allow colors in workers (#335, @botverse) + * Improvement: use same color for same namespace. (#338, @lchenay) + +2.3.3 / 2016-11-09 +================== + + * Fix: Catch `JSON.stringify()` errors (#195, Jovan Alleyne) + * Fix: Returning `localStorage` saved values (#331, Levi Thomason) + * Improvement: Don't create an empty object when no `process` (Nathan Rajlich) + +2.3.2 / 2016-11-09 +================== + + * Fix: be super-safe in index.js as well (@TooTallNate) + * Fix: should check whether process exists (Tom Newby) + +2.3.1 / 2016-11-09 +================== + + * Fix: Added electron compatibility (#324, @paulcbetts) + * Improvement: Added performance optimizations (@tootallnate) + * Readme: Corrected PowerShell environment variable example (#252, @gimre) + * Misc: Removed yarn lock file from source control (#321, @fengmk2) + +2.3.0 / 2016-11-07 +================== + + * Fix: Consistent placement of ms diff at end of output (#215, @gorangajic) + * Fix: Escaping of regex special characters in namespace strings (#250, @zacronos) + * Fix: Fixed bug causing crash on react-native (#282, @vkarpov15) + * Feature: Enabled ES6+ compatible import via default export (#212 @bucaran) + * Feature: Added %O formatter to reflect Chrome's console.log capability (#279, @oncletom) + * Package: Update "ms" to 0.7.2 (#315, @DevSide) + * Package: removed superfluous version property from bower.json (#207 @kkirsche) + * Readme: fix USE_COLORS to DEBUG_COLORS + * Readme: Doc fixes for format string sugar (#269, @mlucool) + * Readme: Updated docs for DEBUG_FD and DEBUG_COLORS environment variables (#232, @mattlyons0) + * Readme: doc fixes for PowerShell (#271 #243, @exoticknight @unreadable) + * Readme: better docs for browser support (#224, @matthewmueller) + * Tooling: Added yarn integration for development (#317, @thebigredgeek) + * Misc: Renamed History.md to CHANGELOG.md (@thebigredgeek) + * Misc: Added license file (#226 #274, @CantemoInternal @sdaitzman) + * Misc: Updated contributors (@thebigredgeek) + +2.2.0 / 2015-05-09 +================== + + * package: update "ms" to v0.7.1 (#202, @dougwilson) + * README: add logging to file example (#193, @DanielOchoa) + * README: fixed a typo (#191, @amir-s) + * browser: expose `storage` (#190, @stephenmathieson) + * Makefile: add a `distclean` target (#189, @stephenmathieson) + +2.1.3 / 2015-03-13 +================== + + * Updated stdout/stderr example (#186) + * Updated example/stdout.js to match debug current behaviour + * Renamed example/stderr.js to stdout.js + * Update Readme.md (#184) + * replace high intensity foreground color for bold (#182, #183) + +2.1.2 / 2015-03-01 +================== + + * dist: recompile + * update "ms" to v0.7.0 + * package: update "browserify" to v9.0.3 + * component: fix "ms.js" repo location + * changed bower package name + * updated documentation about using debug in a browser + * fix: security error on safari (#167, #168, @yields) + +2.1.1 / 2014-12-29 +================== + + * browser: use `typeof` to check for `console` existence + * browser: check for `console.log` truthiness (fix IE 8/9) + * browser: add support for Chrome apps + * Readme: added Windows usage remarks + * Add `bower.json` to properly support bower install + +2.1.0 / 2014-10-15 +================== + + * node: implement `DEBUG_FD` env variable support + * package: update "browserify" to v6.1.0 + * package: add "license" field to package.json (#135, @panuhorsmalahti) + +2.0.0 / 2014-09-01 +================== + + * package: update "browserify" to v5.11.0 + * node: use stderr rather than stdout for logging (#29, @stephenmathieson) + +1.0.4 / 2014-07-15 +================== + + * dist: recompile + * example: remove `console.info()` log usage + * example: add "Content-Type" UTF-8 header to browser example + * browser: place %c marker after the space character + * browser: reset the "content" color via `color: inherit` + * browser: add colors support for Firefox >= v31 + * debug: prefer an instance `log()` function over the global one (#119) + * Readme: update documentation about styled console logs for FF v31 (#116, @wryk) + +1.0.3 / 2014-07-09 +================== + + * Add support for multiple wildcards in namespaces (#122, @seegno) + * browser: fix lint + +1.0.2 / 2014-06-10 +================== + + * browser: update color palette (#113, @gscottolson) + * common: make console logging function configurable (#108, @timoxley) + * node: fix %o colors on old node <= 0.8.x + * Makefile: find node path using shell/which (#109, @timoxley) + +1.0.1 / 2014-06-06 +================== + + * browser: use `removeItem()` to clear localStorage + * browser, node: don't set DEBUG if namespaces is undefined (#107, @leedm777) + * package: add "contributors" section + * node: fix comment typo + * README: list authors + +1.0.0 / 2014-06-04 +================== + + * make ms diff be global, not be scope + * debug: ignore empty strings in enable() + * node: make DEBUG_COLORS able to disable coloring + * *: export the `colors` array + * npmignore: don't publish the `dist` dir + * Makefile: refactor to use browserify + * package: add "browserify" as a dev dependency + * Readme: add Web Inspector Colors section + * node: reset terminal color for the debug content + * node: map "%o" to `util.inspect()` + * browser: map "%j" to `JSON.stringify()` + * debug: add custom "formatters" + * debug: use "ms" module for humanizing the diff + * Readme: add "bash" syntax highlighting + * browser: add Firebug color support + * browser: add colors for WebKit browsers + * node: apply log to `console` + * rewrite: abstract common logic for Node & browsers + * add .jshintrc file + +0.8.1 / 2014-04-14 +================== + + * package: re-add the "component" section + +0.8.0 / 2014-03-30 +================== + + * add `enable()` method for nodejs. Closes #27 + * change from stderr to stdout + * remove unnecessary index.js file + +0.7.4 / 2013-11-13 +================== + + * remove "browserify" key from package.json (fixes something in browserify) + +0.7.3 / 2013-10-30 +================== + + * fix: catch localStorage security error when cookies are blocked (Chrome) + * add debug(err) support. Closes #46 + * add .browser prop to package.json. Closes #42 + +0.7.2 / 2013-02-06 +================== + + * fix package.json + * fix: Mobile Safari (private mode) is broken with debug + * fix: Use unicode to send escape character to shell instead of octal to work with strict mode javascript + +0.7.1 / 2013-02-05 +================== + + * add repository URL to package.json + * add DEBUG_COLORED to force colored output + * add browserify support + * fix component. Closes #24 + +0.7.0 / 2012-05-04 +================== + + * Added .component to package.json + * Added debug.component.js build + +0.6.0 / 2012-03-16 +================== + + * Added support for "-" prefix in DEBUG [Vinay Pulim] + * Added `.enabled` flag to the node version [TooTallNate] + +0.5.0 / 2012-02-02 +================== + + * Added: humanize diffs. Closes #8 + * Added `debug.disable()` to the CS variant + * Removed padding. Closes #10 + * Fixed: persist client-side variant again. Closes #9 + +0.4.0 / 2012-02-01 +================== + + * Added browser variant support for older browsers [TooTallNate] + * Added `debug.enable('project:*')` to browser variant [TooTallNate] + * Added padding to diff (moved it to the right) + +0.3.0 / 2012-01-26 +================== + + * Added millisecond diff when isatty, otherwise UTC string + +0.2.0 / 2012-01-22 +================== + + * Added wildcard support + +0.1.0 / 2011-12-02 +================== + + * Added: remove colors unless stderr isatty [TooTallNate] + +0.0.1 / 2010-01-03 +================== + + * Initial release diff --git a/node_modules/@babel/core/node_modules/debug/LICENSE b/node_modules/@babel/core/node_modules/debug/LICENSE new file mode 100644 index 000000000..658c933d2 --- /dev/null +++ b/node_modules/@babel/core/node_modules/debug/LICENSE @@ -0,0 +1,19 @@ +(The MIT License) + +Copyright (c) 2014 TJ Holowaychuk + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the 'Software'), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/node_modules/@babel/core/node_modules/debug/README.md b/node_modules/@babel/core/node_modules/debug/README.md new file mode 100644 index 000000000..88dae35d9 --- /dev/null +++ b/node_modules/@babel/core/node_modules/debug/README.md @@ -0,0 +1,455 @@ +# debug +[![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug) [![Coverage Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers) +[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors) + + + +A tiny JavaScript debugging utility modelled after Node.js core's debugging +technique. Works in Node.js and web browsers. + +## Installation + +```bash +$ npm install debug +``` + +## Usage + +`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole. + +Example [_app.js_](./examples/node/app.js): + +```js +var debug = require('debug')('http') + , http = require('http') + , name = 'My App'; + +// fake app + +debug('booting %o', name); + +http.createServer(function(req, res){ + debug(req.method + ' ' + req.url); + res.end('hello\n'); +}).listen(3000, function(){ + debug('listening'); +}); + +// fake worker of some kind + +require('./worker'); +``` + +Example [_worker.js_](./examples/node/worker.js): + +```js +var a = require('debug')('worker:a') + , b = require('debug')('worker:b'); + +function work() { + a('doing lots of uninteresting work'); + setTimeout(work, Math.random() * 1000); +} + +work(); + +function workb() { + b('doing some work'); + setTimeout(workb, Math.random() * 2000); +} + +workb(); +``` + +The `DEBUG` environment variable is then used to enable these based on space or +comma-delimited names. + +Here are some examples: + +screen shot 2017-08-08 at 12 53 04 pm +screen shot 2017-08-08 at 12 53 38 pm +screen shot 2017-08-08 at 12 53 25 pm + +#### Windows command prompt notes + +##### CMD + +On Windows the environment variable is set using the `set` command. + +```cmd +set DEBUG=*,-not_this +``` + +Example: + +```cmd +set DEBUG=* & node app.js +``` + +##### PowerShell (VS Code default) + +PowerShell uses different syntax to set environment variables. + +```cmd +$env:DEBUG = "*,-not_this" +``` + +Example: + +```cmd +$env:DEBUG='app';node app.js +``` + +Then, run the program to be debugged as usual. + +npm script example: +```js + "windowsDebug": "@powershell -Command $env:DEBUG='*';node app.js", +``` + +## Namespace Colors + +Every debug instance has a color generated for it based on its namespace name. +This helps when visually parsing the debug output to identify which debug instance +a debug line belongs to. + +#### Node.js + +In Node.js, colors are enabled when stderr is a TTY. You also _should_ install +the [`supports-color`](https://npmjs.org/supports-color) module alongside debug, +otherwise debug will only use a small handful of basic colors. + + + +#### Web Browser + +Colors are also enabled on "Web Inspectors" that understand the `%c` formatting +option. These are WebKit web inspectors, Firefox ([since version +31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/)) +and the Firebug plugin for Firefox (any version). + + + + +## Millisecond diff + +When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls. + + + +When stdout is not a TTY, `Date#toISOString()` is used, making it more useful for logging the debug information as shown below: + + + + +## Conventions + +If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser". If you append a "*" to the end of your name, it will always be enabled regardless of the setting of the DEBUG environment variable. You can then use it for normal output as well as debug output. + +## Wildcards + +The `*` character may be used as a wildcard. Suppose for example your library has +debuggers named "connect:bodyParser", "connect:compress", "connect:session", +instead of listing all three with +`DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do +`DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`. + +You can also exclude specific debuggers by prefixing them with a "-" character. +For example, `DEBUG=*,-connect:*` would include all debuggers except those +starting with "connect:". + +## Environment Variables + +When running through Node.js, you can set a few environment variables that will +change the behavior of the debug logging: + +| Name | Purpose | +|-----------|-------------------------------------------------| +| `DEBUG` | Enables/disables specific debugging namespaces. | +| `DEBUG_HIDE_DATE` | Hide date from debug output (non-TTY). | +| `DEBUG_COLORS`| Whether or not to use colors in the debug output. | +| `DEBUG_DEPTH` | Object inspection depth. | +| `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects. | + + +__Note:__ The environment variables beginning with `DEBUG_` end up being +converted into an Options object that gets used with `%o`/`%O` formatters. +See the Node.js documentation for +[`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options) +for the complete list. + +## Formatters + +Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting. +Below are the officially supported formatters: + +| Formatter | Representation | +|-----------|----------------| +| `%O` | Pretty-print an Object on multiple lines. | +| `%o` | Pretty-print an Object all on a single line. | +| `%s` | String. | +| `%d` | Number (both integer and float). | +| `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. | +| `%%` | Single percent sign ('%'). This does not consume an argument. | + + +### Custom formatters + +You can add custom formatters by extending the `debug.formatters` object. +For example, if you wanted to add support for rendering a Buffer as hex with +`%h`, you could do something like: + +```js +const createDebug = require('debug') +createDebug.formatters.h = (v) => { + return v.toString('hex') +} + +// …elsewhere +const debug = createDebug('foo') +debug('this is hex: %h', new Buffer('hello world')) +// foo this is hex: 68656c6c6f20776f726c6421 +0ms +``` + + +## Browser Support + +You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify), +or just use the [browserify-as-a-service](https://wzrd.in/) [build](https://wzrd.in/standalone/debug@latest), +if you don't want to build it yourself. + +Debug's enable state is currently persisted by `localStorage`. +Consider the situation shown below where you have `worker:a` and `worker:b`, +and wish to debug both. You can enable this using `localStorage.debug`: + +```js +localStorage.debug = 'worker:*' +``` + +And then refresh the page. + +```js +a = debug('worker:a'); +b = debug('worker:b'); + +setInterval(function(){ + a('doing some work'); +}, 1000); + +setInterval(function(){ + b('doing some work'); +}, 1200); +``` + + +## Output streams + + By default `debug` will log to stderr, however this can be configured per-namespace by overriding the `log` method: + +Example [_stdout.js_](./examples/node/stdout.js): + +```js +var debug = require('debug'); +var error = debug('app:error'); + +// by default stderr is used +error('goes to stderr!'); + +var log = debug('app:log'); +// set this namespace to log via console.log +log.log = console.log.bind(console); // don't forget to bind to console! +log('goes to stdout'); +error('still goes to stderr!'); + +// set all output to go via console.info +// overrides all per-namespace log settings +debug.log = console.info.bind(console); +error('now goes to stdout via console.info'); +log('still goes to stdout, but via console.info now'); +``` + +## Extend +You can simply extend debugger +```js +const log = require('debug')('auth'); + +//creates new debug instance with extended namespace +const logSign = log.extend('sign'); +const logLogin = log.extend('login'); + +log('hello'); // auth hello +logSign('hello'); //auth:sign hello +logLogin('hello'); //auth:login hello +``` + +## Set dynamically + +You can also enable debug dynamically by calling the `enable()` method : + +```js +let debug = require('debug'); + +console.log(1, debug.enabled('test')); + +debug.enable('test'); +console.log(2, debug.enabled('test')); + +debug.disable(); +console.log(3, debug.enabled('test')); + +``` + +print : +``` +1 false +2 true +3 false +``` + +Usage : +`enable(namespaces)` +`namespaces` can include modes separated by a colon and wildcards. + +Note that calling `enable()` completely overrides previously set DEBUG variable : + +``` +$ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))' +=> false +``` + +`disable()` + +Will disable all namespaces. The functions returns the namespaces currently +enabled (and skipped). This can be useful if you want to disable debugging +temporarily without knowing what was enabled to begin with. + +For example: + +```js +let debug = require('debug'); +debug.enable('foo:*,-foo:bar'); +let namespaces = debug.disable(); +debug.enable(namespaces); +``` + +Note: There is no guarantee that the string will be identical to the initial +enable string, but semantically they will be identical. + +## Checking whether a debug target is enabled + +After you've created a debug instance, you can determine whether or not it is +enabled by checking the `enabled` property: + +```javascript +const debug = require('debug')('http'); + +if (debug.enabled) { + // do stuff... +} +``` + +You can also manually toggle this property to force the debug instance to be +enabled or disabled. + + +## Authors + + - TJ Holowaychuk + - Nathan Rajlich + - Andrew Rhyne + +## Backers + +Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/debug#backer)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## Sponsors + +Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/debug#sponsor)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## License + +(The MIT License) + +Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca> + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/core/node_modules/debug/dist/debug.js b/node_modules/@babel/core/node_modules/debug/dist/debug.js new file mode 100644 index 000000000..89ad0c217 --- /dev/null +++ b/node_modules/@babel/core/node_modules/debug/dist/debug.js @@ -0,0 +1,912 @@ +"use strict"; + +function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } + +function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } + +function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + +function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } + +function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +(function (f) { + if ((typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined") { + module.exports = f(); + } else if (typeof define === "function" && define.amd) { + define([], f); + } else { + var g; + + if (typeof window !== "undefined") { + g = window; + } else if (typeof global !== "undefined") { + g = global; + } else if (typeof self !== "undefined") { + g = self; + } else { + g = this; + } + + g.debug = f(); + } +})(function () { + var define, module, exports; + return function () { + function r(e, n, t) { + function o(i, f) { + if (!n[i]) { + if (!e[i]) { + var c = "function" == typeof require && require; + if (!f && c) return c(i, !0); + if (u) return u(i, !0); + var a = new Error("Cannot find module '" + i + "'"); + throw a.code = "MODULE_NOT_FOUND", a; + } + + var p = n[i] = { + exports: {} + }; + e[i][0].call(p.exports, function (r) { + var n = e[i][1][r]; + return o(n || r); + }, p, p.exports, r, e, n, t); + } + + return n[i].exports; + } + + for (var u = "function" == typeof require && require, i = 0; i < t.length; i++) { + o(t[i]); + } + + return o; + } + + return r; + }()({ + 1: [function (require, module, exports) { + /** + * Helpers. + */ + var s = 1000; + var m = s * 60; + var h = m * 60; + var d = h * 24; + var w = d * 7; + var y = d * 365.25; + /** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + + module.exports = function (val, options) { + options = options || {}; + + var type = _typeof(val); + + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isNaN(val) === false) { + return options.long ? fmtLong(val) : fmtShort(val); + } + + throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val)); + }; + /** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + + + function parse(str) { + str = String(str); + + if (str.length > 100) { + return; + } + + var match = /^((?:\d+)?\-?\d?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str); + + if (!match) { + return; + } + + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + + case 'weeks': + case 'week': + case 'w': + return n * w; + + case 'days': + case 'day': + case 'd': + return n * d; + + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + + default: + return undefined; + } + } + /** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + + function fmtShort(ms) { + var msAbs = Math.abs(ms); + + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + + return ms + 'ms'; + } + /** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + + function fmtLong(ms) { + var msAbs = Math.abs(ms); + + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + + return ms + ' ms'; + } + /** + * Pluralization helper. + */ + + + function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); + } + }, {}], + 2: [function (require, module, exports) { + // shim for using process in browser + var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it + // don't break things. But we need to wrap it in a try catch in case it is + // wrapped in strict mode code which doesn't define any globals. It's inside a + // function because try/catches deoptimize in certain engines. + + var cachedSetTimeout; + var cachedClearTimeout; + + function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); + } + + function defaultClearTimeout() { + throw new Error('clearTimeout has not been defined'); + } + + (function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } + })(); + + function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } // if setTimeout wasn't available but was latter defined + + + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + } + + function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } // if clearTimeout wasn't available but was latter defined + + + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + } + + var queue = []; + var draining = false; + var currentQueue; + var queueIndex = -1; + + function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + + draining = false; + + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + + if (queue.length) { + drainQueue(); + } + } + + function drainQueue() { + if (draining) { + return; + } + + var timeout = runTimeout(cleanUpNextTick); + draining = true; + var len = queue.length; + + while (len) { + currentQueue = queue; + queue = []; + + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + + queueIndex = -1; + len = queue.length; + } + + currentQueue = null; + draining = false; + runClearTimeout(timeout); + } + + process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + + queue.push(new Item(fun, args)); + + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } + }; // v8 likes predictible objects + + + function Item(fun, array) { + this.fun = fun; + this.array = array; + } + + Item.prototype.run = function () { + this.fun.apply(null, this.array); + }; + + process.title = 'browser'; + process.browser = true; + process.env = {}; + process.argv = []; + process.version = ''; // empty string to avoid regexp issues + + process.versions = {}; + + function noop() {} + + process.on = noop; + process.addListener = noop; + process.once = noop; + process.off = noop; + process.removeListener = noop; + process.removeAllListeners = noop; + process.emit = noop; + process.prependListener = noop; + process.prependOnceListener = noop; + + process.listeners = function (name) { + return []; + }; + + process.binding = function (name) { + throw new Error('process.binding is not supported'); + }; + + process.cwd = function () { + return '/'; + }; + + process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); + }; + + process.umask = function () { + return 0; + }; + }, {}], + 3: [function (require, module, exports) { + /** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ + function setup(env) { + createDebug.debug = createDebug; + createDebug.default = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = require('ms'); + Object.keys(env).forEach(function (key) { + createDebug[key] = env[key]; + }); + /** + * Active `debug` instances. + */ + + createDebug.instances = []; + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + + createDebug.formatters = {}; + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + + function selectColor(namespace) { + var hash = 0; + + for (var i = 0; i < namespace.length; i++) { + hash = (hash << 5) - hash + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + + createDebug.selectColor = selectColor; + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + + function createDebug(namespace) { + var prevTime; + + function debug() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + // Disabled? + if (!debug.enabled) { + return; + } + + var self = debug; // Set `diff` timestamp + + var curr = Number(new Date()); + var ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } // Apply any `formatters` transformations + + + var index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return match; + } + + index++; + var formatter = createDebug.formatters[format]; + + if (typeof formatter === 'function') { + var val = args[index]; + match = formatter.call(self, val); // Now we need to remove `args[index]` since it's inlined in the `format` + + args.splice(index, 1); + index--; + } + + return match; + }); // Apply env-specific formatting (colors, etc.) + + createDebug.formatArgs.call(self, args); + var logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.enabled = createDebug.enabled(namespace); + debug.useColors = createDebug.useColors(); + debug.color = selectColor(namespace); + debug.destroy = destroy; + debug.extend = extend; // Debug.formatArgs = formatArgs; + // debug.rawLog = rawLog; + // env-specific initialization logic for debug instances + + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + createDebug.instances.push(debug); + return debug; + } + + function destroy() { + var index = createDebug.instances.indexOf(this); + + if (index !== -1) { + createDebug.instances.splice(index, 1); + return true; + } + + return false; + } + + function extend(namespace, delimiter) { + var newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + + + function enable(namespaces) { + createDebug.save(namespaces); + createDebug.names = []; + createDebug.skips = []; + var i; + var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + var len = split.length; + + for (i = 0; i < len; i++) { + if (!split[i]) { + // ignore empty strings + continue; + } + + namespaces = split[i].replace(/\*/g, '.*?'); + + if (namespaces[0] === '-') { + createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); + } else { + createDebug.names.push(new RegExp('^' + namespaces + '$')); + } + } + + for (i = 0; i < createDebug.instances.length; i++) { + var instance = createDebug.instances[i]; + instance.enabled = createDebug.enabled(instance.namespace); + } + } + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + + + function disable() { + var namespaces = [].concat(_toConsumableArray(createDebug.names.map(toNamespace)), _toConsumableArray(createDebug.skips.map(toNamespace).map(function (namespace) { + return '-' + namespace; + }))).join(','); + createDebug.enable(''); + return namespaces; + } + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + + + function enabled(name) { + if (name[name.length - 1] === '*') { + return true; + } + + var i; + var len; + + for (i = 0, len = createDebug.skips.length; i < len; i++) { + if (createDebug.skips[i].test(name)) { + return false; + } + } + + for (i = 0, len = createDebug.names.length; i < len; i++) { + if (createDebug.names[i].test(name)) { + return true; + } + } + + return false; + } + /** + * Convert regexp to namespace + * + * @param {RegExp} regxep + * @return {String} namespace + * @api private + */ + + + function toNamespace(regexp) { + return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, '*'); + } + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + + + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + + return val; + } + + createDebug.enable(createDebug.load()); + return createDebug; + } + + module.exports = setup; + }, { + "ms": 1 + }], + 4: [function (require, module, exports) { + (function (process) { + /* eslint-env browser */ + + /** + * This is the web browser implementation of `debug()`. + */ + exports.log = log; + exports.formatArgs = formatArgs; + exports.save = save; + exports.load = load; + exports.useColors = useColors; + exports.storage = localstorage(); + /** + * Colors. + */ + + exports.colors = ['#0000CC', '#0000FF', '#0033CC', '#0033FF', '#0066CC', '#0066FF', '#0099CC', '#0099FF', '#00CC00', '#00CC33', '#00CC66', '#00CC99', '#00CCCC', '#00CCFF', '#3300CC', '#3300FF', '#3333CC', '#3333FF', '#3366CC', '#3366FF', '#3399CC', '#3399FF', '#33CC00', '#33CC33', '#33CC66', '#33CC99', '#33CCCC', '#33CCFF', '#6600CC', '#6600FF', '#6633CC', '#6633FF', '#66CC00', '#66CC33', '#9900CC', '#9900FF', '#9933CC', '#9933FF', '#99CC00', '#99CC33', '#CC0000', '#CC0033', '#CC0066', '#CC0099', '#CC00CC', '#CC00FF', '#CC3300', '#CC3333', '#CC3366', '#CC3399', '#CC33CC', '#CC33FF', '#CC6600', '#CC6633', '#CC9900', '#CC9933', '#CCCC00', '#CCCC33', '#FF0000', '#FF0033', '#FF0066', '#FF0099', '#FF00CC', '#FF00FF', '#FF3300', '#FF3333', '#FF3366', '#FF3399', '#FF33CC', '#FF33FF', '#FF6600', '#FF6633', '#FF9900', '#FF9933', '#FFCC00', '#FFCC33']; + /** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + // eslint-disable-next-line complexity + + function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } // Internet Explorer and Edge do not support colors. + + + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + + + return typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773 + typeof window !== 'undefined' && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker + typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/); + } + /** + * Colorize log arguments if enabled. + * + * @api public + */ + + + function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + this.namespace + (this.useColors ? ' %c' : ' ') + args[0] + (this.useColors ? '%c ' : ' ') + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + var c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + + var index = 0; + var lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, function (match) { + if (match === '%%') { + return; + } + + index++; + + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + args.splice(lastC, 0, c); + } + /** + * Invokes `console.log()` when available. + * No-op when `console.log` is not a "function". + * + * @api public + */ + + + function log() { + var _console; + + // This hackery is required for IE8/9, where + // the `console.log` function doesn't have 'apply' + return (typeof console === "undefined" ? "undefined" : _typeof(console)) === 'object' && console.log && (_console = console).log.apply(_console, arguments); + } + /** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ + + + function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } + } + /** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + + + function load() { + var r; + + try { + r = exports.storage.getItem('debug'); + } catch (error) {} // Swallow + // XXX (@Qix-) should we be logging these? + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + + + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } + + return r; + } + /** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + + + function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } + } + + module.exports = require('./common')(exports); + var formatters = module.exports.formatters; + /** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + + formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } + }; + }).call(this, require('_process')); + }, { + "./common": 3, + "_process": 2 + }] + }, {}, [4])(4); +}); diff --git a/node_modules/@babel/core/node_modules/debug/package.json b/node_modules/@babel/core/node_modules/debug/package.json new file mode 100644 index 000000000..747a00b8f --- /dev/null +++ b/node_modules/@babel/core/node_modules/debug/package.json @@ -0,0 +1,102 @@ +{ + "_from": "debug@^4.1.0", + "_id": "debug@4.1.1", + "_inBundle": false, + "_integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "_location": "/@babel/core/debug", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "debug@^4.1.0", + "name": "debug", + "escapedName": "debug", + "rawSpec": "^4.1.0", + "saveSpec": null, + "fetchSpec": "^4.1.0" + }, + "_requiredBy": [ + "/@babel/core" + ], + "_resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "_shasum": "3b72260255109c6b589cee050f1d516139664791", + "_spec": "debug@^4.1.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/core", + "author": { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca" + }, + "browser": "./src/browser.js", + "bugs": { + "url": "https://github.com/visionmedia/debug/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Nathan Rajlich", + "email": "nathan@tootallnate.net", + "url": "http://n8.io" + }, + { + "name": "Andrew Rhyne", + "email": "rhyneandrew@gmail.com" + } + ], + "dependencies": { + "ms": "^2.1.1" + }, + "deprecated": false, + "description": "small debugging utility", + "devDependencies": { + "@babel/cli": "^7.0.0", + "@babel/core": "^7.0.0", + "@babel/preset-env": "^7.0.0", + "browserify": "14.4.0", + "chai": "^3.5.0", + "concurrently": "^3.1.0", + "coveralls": "^3.0.2", + "istanbul": "^0.4.5", + "karma": "^3.0.0", + "karma-chai": "^0.1.0", + "karma-mocha": "^1.3.0", + "karma-phantomjs-launcher": "^1.0.2", + "mocha": "^5.2.0", + "mocha-lcov-reporter": "^1.2.0", + "rimraf": "^2.5.4", + "xo": "^0.23.0" + }, + "files": [ + "src", + "dist/debug.js", + "LICENSE", + "README.md" + ], + "homepage": "https://github.com/visionmedia/debug#readme", + "keywords": [ + "debug", + "log", + "debugger" + ], + "license": "MIT", + "main": "./src/index.js", + "name": "debug", + "repository": { + "type": "git", + "url": "git://github.com/visionmedia/debug.git" + }, + "scripts": { + "build": "npm run build:debug && npm run build:test", + "build:debug": "babel -o dist/debug.js dist/debug.es6.js > dist/debug.js", + "build:test": "babel -d dist test.js", + "clean": "rimraf dist coverage", + "lint": "xo", + "prebuild:debug": "mkdir -p dist && browserify --standalone debug -o dist/debug.es6.js .", + "pretest:browser": "npm run build", + "test": "npm run test:node && npm run test:browser", + "test:browser": "karma start --single-run", + "test:coverage": "cat ./coverage/lcov.info | coveralls", + "test:node": "istanbul cover _mocha -- test.js" + }, + "unpkg": "./dist/debug.js", + "version": "4.1.1" +} diff --git a/node_modules/@babel/core/node_modules/debug/src/browser.js b/node_modules/@babel/core/node_modules/debug/src/browser.js new file mode 100644 index 000000000..5f34c0d0a --- /dev/null +++ b/node_modules/@babel/core/node_modules/debug/src/browser.js @@ -0,0 +1,264 @@ +/* eslint-env browser */ + +/** + * This is the web browser implementation of `debug()`. + */ + +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.storage = localstorage(); + +/** + * Colors. + */ + +exports.colors = [ + '#0000CC', + '#0000FF', + '#0033CC', + '#0033FF', + '#0066CC', + '#0066FF', + '#0099CC', + '#0099FF', + '#00CC00', + '#00CC33', + '#00CC66', + '#00CC99', + '#00CCCC', + '#00CCFF', + '#3300CC', + '#3300FF', + '#3333CC', + '#3333FF', + '#3366CC', + '#3366FF', + '#3399CC', + '#3399FF', + '#33CC00', + '#33CC33', + '#33CC66', + '#33CC99', + '#33CCCC', + '#33CCFF', + '#6600CC', + '#6600FF', + '#6633CC', + '#6633FF', + '#66CC00', + '#66CC33', + '#9900CC', + '#9900FF', + '#9933CC', + '#9933FF', + '#99CC00', + '#99CC33', + '#CC0000', + '#CC0033', + '#CC0066', + '#CC0099', + '#CC00CC', + '#CC00FF', + '#CC3300', + '#CC3333', + '#CC3366', + '#CC3399', + '#CC33CC', + '#CC33FF', + '#CC6600', + '#CC6633', + '#CC9900', + '#CC9933', + '#CCCC00', + '#CCCC33', + '#FF0000', + '#FF0033', + '#FF0066', + '#FF0099', + '#FF00CC', + '#FF00FF', + '#FF3300', + '#FF3333', + '#FF3366', + '#FF3399', + '#FF33CC', + '#FF33FF', + '#FF6600', + '#FF6633', + '#FF9900', + '#FF9933', + '#FFCC00', + '#FFCC33' +]; + +/** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + +// eslint-disable-next-line complexity +function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } + + // Internet Explorer and Edge do not support colors. + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } + + // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || + // Is firebug? http://stackoverflow.com/a/398120/376773 + (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || + // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || + // Double check webkit in userAgent just in case we are in a worker + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); +} + +/** + * Colorize log arguments if enabled. + * + * @api public + */ + +function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + + this.namespace + + (this.useColors ? ' %c' : ' ') + + args[0] + + (this.useColors ? '%c ' : ' ') + + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + const c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); + + // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + let index = 0; + let lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, match => { + if (match === '%%') { + return; + } + index++; + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + + args.splice(lastC, 0, c); +} + +/** + * Invokes `console.log()` when available. + * No-op when `console.log` is not a "function". + * + * @api public + */ +function log(...args) { + // This hackery is required for IE8/9, where + // the `console.log` function doesn't have 'apply' + return typeof console === 'object' && + console.log && + console.log(...args); +} + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ +function load() { + let r; + try { + r = exports.storage.getItem('debug'); + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } + + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } + + return r; +} + +/** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + +function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +module.exports = require('./common')(exports); + +const {formatters} = module.exports; + +/** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + +formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } +}; diff --git a/node_modules/@babel/core/node_modules/debug/src/common.js b/node_modules/@babel/core/node_modules/debug/src/common.js new file mode 100644 index 000000000..2f82b8dc7 --- /dev/null +++ b/node_modules/@babel/core/node_modules/debug/src/common.js @@ -0,0 +1,266 @@ + +/** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ + +function setup(env) { + createDebug.debug = createDebug; + createDebug.default = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = require('ms'); + + Object.keys(env).forEach(key => { + createDebug[key] = env[key]; + }); + + /** + * Active `debug` instances. + */ + createDebug.instances = []; + + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + createDebug.formatters = {}; + + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + function selectColor(namespace) { + let hash = 0; + + for (let i = 0; i < namespace.length; i++) { + hash = ((hash << 5) - hash) + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + createDebug.selectColor = selectColor; + + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + function createDebug(namespace) { + let prevTime; + + function debug(...args) { + // Disabled? + if (!debug.enabled) { + return; + } + + const self = debug; + + // Set `diff` timestamp + const curr = Number(new Date()); + const ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } + + // Apply any `formatters` transformations + let index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return match; + } + index++; + const formatter = createDebug.formatters[format]; + if (typeof formatter === 'function') { + const val = args[index]; + match = formatter.call(self, val); + + // Now we need to remove `args[index]` since it's inlined in the `format` + args.splice(index, 1); + index--; + } + return match; + }); + + // Apply env-specific formatting (colors, etc.) + createDebug.formatArgs.call(self, args); + + const logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.enabled = createDebug.enabled(namespace); + debug.useColors = createDebug.useColors(); + debug.color = selectColor(namespace); + debug.destroy = destroy; + debug.extend = extend; + // Debug.formatArgs = formatArgs; + // debug.rawLog = rawLog; + + // env-specific initialization logic for debug instances + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + createDebug.instances.push(debug); + + return debug; + } + + function destroy() { + const index = createDebug.instances.indexOf(this); + if (index !== -1) { + createDebug.instances.splice(index, 1); + return true; + } + return false; + } + + function extend(namespace, delimiter) { + const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + function enable(namespaces) { + createDebug.save(namespaces); + + createDebug.names = []; + createDebug.skips = []; + + let i; + const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + const len = split.length; + + for (i = 0; i < len; i++) { + if (!split[i]) { + // ignore empty strings + continue; + } + + namespaces = split[i].replace(/\*/g, '.*?'); + + if (namespaces[0] === '-') { + createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); + } else { + createDebug.names.push(new RegExp('^' + namespaces + '$')); + } + } + + for (i = 0; i < createDebug.instances.length; i++) { + const instance = createDebug.instances[i]; + instance.enabled = createDebug.enabled(instance.namespace); + } + } + + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + function disable() { + const namespaces = [ + ...createDebug.names.map(toNamespace), + ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace) + ].join(','); + createDebug.enable(''); + return namespaces; + } + + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + function enabled(name) { + if (name[name.length - 1] === '*') { + return true; + } + + let i; + let len; + + for (i = 0, len = createDebug.skips.length; i < len; i++) { + if (createDebug.skips[i].test(name)) { + return false; + } + } + + for (i = 0, len = createDebug.names.length; i < len; i++) { + if (createDebug.names[i].test(name)) { + return true; + } + } + + return false; + } + + /** + * Convert regexp to namespace + * + * @param {RegExp} regxep + * @return {String} namespace + * @api private + */ + function toNamespace(regexp) { + return regexp.toString() + .substring(2, regexp.toString().length - 2) + .replace(/\.\*\?$/, '*'); + } + + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + return val; + } + + createDebug.enable(createDebug.load()); + + return createDebug; +} + +module.exports = setup; diff --git a/node_modules/@babel/core/node_modules/debug/src/index.js b/node_modules/@babel/core/node_modules/debug/src/index.js new file mode 100644 index 000000000..bf4c57f25 --- /dev/null +++ b/node_modules/@babel/core/node_modules/debug/src/index.js @@ -0,0 +1,10 @@ +/** + * Detect Electron renderer / nwjs process, which is node, but we should + * treat as a browser. + */ + +if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { + module.exports = require('./browser.js'); +} else { + module.exports = require('./node.js'); +} diff --git a/node_modules/@babel/core/node_modules/debug/src/node.js b/node_modules/@babel/core/node_modules/debug/src/node.js new file mode 100644 index 000000000..5e1f1541a --- /dev/null +++ b/node_modules/@babel/core/node_modules/debug/src/node.js @@ -0,0 +1,257 @@ +/** + * Module dependencies. + */ + +const tty = require('tty'); +const util = require('util'); + +/** + * This is the Node.js implementation of `debug()`. + */ + +exports.init = init; +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; + +/** + * Colors. + */ + +exports.colors = [6, 2, 3, 4, 5, 1]; + +try { + // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) + // eslint-disable-next-line import/no-extraneous-dependencies + const supportsColor = require('supports-color'); + + if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { + exports.colors = [ + 20, + 21, + 26, + 27, + 32, + 33, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 56, + 57, + 62, + 63, + 68, + 69, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 92, + 93, + 98, + 99, + 112, + 113, + 128, + 129, + 134, + 135, + 148, + 149, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 178, + 179, + 184, + 185, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 214, + 215, + 220, + 221 + ]; + } +} catch (error) { + // Swallow - we only care if `supports-color` is available; it doesn't have to be. +} + +/** + * Build up the default `inspectOpts` object from the environment variables. + * + * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js + */ + +exports.inspectOpts = Object.keys(process.env).filter(key => { + return /^debug_/i.test(key); +}).reduce((obj, key) => { + // Camel-case + const prop = key + .substring(6) + .toLowerCase() + .replace(/_([a-z])/g, (_, k) => { + return k.toUpperCase(); + }); + + // Coerce string value into JS value + let val = process.env[key]; + if (/^(yes|on|true|enabled)$/i.test(val)) { + val = true; + } else if (/^(no|off|false|disabled)$/i.test(val)) { + val = false; + } else if (val === 'null') { + val = null; + } else { + val = Number(val); + } + + obj[prop] = val; + return obj; +}, {}); + +/** + * Is stdout a TTY? Colored output is enabled when `true`. + */ + +function useColors() { + return 'colors' in exports.inspectOpts ? + Boolean(exports.inspectOpts.colors) : + tty.isatty(process.stderr.fd); +} + +/** + * Adds ANSI color escape codes if enabled. + * + * @api public + */ + +function formatArgs(args) { + const {namespace: name, useColors} = this; + + if (useColors) { + const c = this.color; + const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); + const prefix = ` ${colorCode};1m${name} \u001B[0m`; + + args[0] = prefix + args[0].split('\n').join('\n' + prefix); + args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); + } else { + args[0] = getDate() + name + ' ' + args[0]; + } +} + +function getDate() { + if (exports.inspectOpts.hideDate) { + return ''; + } + return new Date().toISOString() + ' '; +} + +/** + * Invokes `util.format()` with the specified arguments and writes to stderr. + */ + +function log(...args) { + return process.stderr.write(util.format(...args) + '\n'); +} + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + if (namespaces) { + process.env.DEBUG = namespaces; + } else { + // If you set a process.env field to null or undefined, it gets cast to the + // string 'null' or 'undefined'. Just delete instead. + delete process.env.DEBUG; + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + +function load() { + return process.env.DEBUG; +} + +/** + * Init logic for `debug` instances. + * + * Create a new `inspectOpts` object in case `useColors` is set + * differently for a particular `debug` instance. + */ + +function init(debug) { + debug.inspectOpts = {}; + + const keys = Object.keys(exports.inspectOpts); + for (let i = 0; i < keys.length; i++) { + debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + } +} + +module.exports = require('./common')(exports); + +const {formatters} = module.exports; + +/** + * Map %o to `util.inspect()`, all on a single line. + */ + +formatters.o = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts) + .replace(/\s*\n\s*/g, ' '); +}; + +/** + * Map %O to `util.inspect()`, allowing multiple lines if needed. + */ + +formatters.O = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts); +}; diff --git a/node_modules/@babel/core/node_modules/ms/index.js b/node_modules/@babel/core/node_modules/ms/index.js new file mode 100644 index 000000000..c4498bcc2 --- /dev/null +++ b/node_modules/@babel/core/node_modules/ms/index.js @@ -0,0 +1,162 @@ +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function(val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} diff --git a/node_modules/@babel/core/node_modules/ms/license.md b/node_modules/@babel/core/node_modules/ms/license.md new file mode 100644 index 000000000..69b61253a --- /dev/null +++ b/node_modules/@babel/core/node_modules/ms/license.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Zeit, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/@babel/core/node_modules/ms/package.json b/node_modules/@babel/core/node_modules/ms/package.json new file mode 100644 index 000000000..929010ae9 --- /dev/null +++ b/node_modules/@babel/core/node_modules/ms/package.json @@ -0,0 +1,69 @@ +{ + "_from": "ms@^2.1.1", + "_id": "ms@2.1.2", + "_inBundle": false, + "_integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "_location": "/@babel/core/ms", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ms@^2.1.1", + "name": "ms", + "escapedName": "ms", + "rawSpec": "^2.1.1", + "saveSpec": null, + "fetchSpec": "^2.1.1" + }, + "_requiredBy": [ + "/@babel/core/debug" + ], + "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "_shasum": "d09d1f357b443f493382a8eb3ccd183872ae6009", + "_spec": "ms@^2.1.1", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/core/node_modules/debug", + "bugs": { + "url": "https://github.com/zeit/ms/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Tiny millisecond conversion utility", + "devDependencies": { + "eslint": "4.12.1", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1" + }, + "eslintConfig": { + "extends": "eslint:recommended", + "env": { + "node": true, + "es6": true + } + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/zeit/ms#readme", + "license": "MIT", + "lint-staged": { + "*.js": [ + "npm run lint", + "prettier --single-quote --write", + "git add" + ] + }, + "main": "./index", + "name": "ms", + "repository": { + "type": "git", + "url": "git+https://github.com/zeit/ms.git" + }, + "scripts": { + "lint": "eslint lib/* bin/*", + "precommit": "lint-staged", + "test": "mocha tests.js" + }, + "version": "2.1.2" +} diff --git a/node_modules/@babel/core/node_modules/ms/readme.md b/node_modules/@babel/core/node_modules/ms/readme.md new file mode 100644 index 000000000..9a1996b17 --- /dev/null +++ b/node_modules/@babel/core/node_modules/ms/readme.md @@ -0,0 +1,60 @@ +# ms + +[![Build Status](https://travis-ci.org/zeit/ms.svg?branch=master)](https://travis-ci.org/zeit/ms) +[![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/zeit) + +Use this package to easily convert various time formats to milliseconds. + +## Examples + +```js +ms('2 days') // 172800000 +ms('1d') // 86400000 +ms('10h') // 36000000 +ms('2.5 hrs') // 9000000 +ms('2h') // 7200000 +ms('1m') // 60000 +ms('5s') // 5000 +ms('1y') // 31557600000 +ms('100') // 100 +ms('-3 days') // -259200000 +ms('-1h') // -3600000 +ms('-200') // -200 +``` + +### Convert from Milliseconds + +```js +ms(60000) // "1m" +ms(2 * 60000) // "2m" +ms(-3 * 60000) // "-3m" +ms(ms('10 hours')) // "10h" +``` + +### Time Format Written-Out + +```js +ms(60000, { long: true }) // "1 minute" +ms(2 * 60000, { long: true }) // "2 minutes" +ms(-3 * 60000, { long: true }) // "-3 minutes" +ms(ms('10 hours'), { long: true }) // "10 hours" +``` + +## Features + +- Works both in [Node.js](https://nodejs.org) and in the browser +- If a number is supplied to `ms`, a string with a unit is returned +- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`) +- If you pass a string with a number and a valid unit, the number of equivalent milliseconds is returned + +## Related Packages + +- [ms.macro](https://github.com/knpwrs/ms.macro) - Run `ms` as a macro at build-time. + +## Caught a Bug? + +1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device +2. Link the package to the global module directory: `npm link` +3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, Node.js will now use your clone of ms! + +As always, you can run the tests using: `npm test` diff --git a/node_modules/@babel/core/package.json b/node_modules/@babel/core/package.json new file mode 100644 index 000000000..653613f9b --- /dev/null +++ b/node_modules/@babel/core/package.json @@ -0,0 +1,99 @@ +{ + "_from": "@babel/core@^7.0.0", + "_id": "@babel/core@7.11.4", + "_inBundle": false, + "_integrity": "sha512-5deljj5HlqRXN+5oJTY7Zs37iH3z3b++KjiKtIsJy1NrjOOVSEaJHEetLBhyu0aQOSNNZ/0IuEAan9GzRuDXHg==", + "_location": "/@babel/core", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/core@^7.0.0", + "name": "@babel/core", + "escapedName": "@babel%2fcore", + "scope": "@babel", + "rawSpec": "^7.0.0", + "saveSpec": null, + "fetchSpec": "^7.0.0" + }, + "_requiredBy": [ + "/express-react-views" + ], + "_resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.4.tgz", + "_shasum": "4301dfdfafa01eeb97f1896c5501a3f0655d4229", + "_spec": "@babel/core@^7.0.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/express-react-views", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "browser": { + "./lib/config/files/index.js": "./lib/config/files/index-browser.js", + "./lib/transform-file.js": "./lib/transform-file-browser.js", + "./src/config/files/index.js": "./src/config/files/index-browser.js", + "./src/transform-file.js": "./src/transform-file-browser.js" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.11.4", + "@babel/helper-module-transforms": "^7.11.0", + "@babel/helpers": "^7.10.4", + "@babel/parser": "^7.11.4", + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.11.0", + "@babel/types": "^7.11.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.1", + "json5": "^2.1.2", + "lodash": "^4.17.19", + "resolve": "^1.3.2", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "deprecated": false, + "description": "Babel compiler core.", + "devDependencies": { + "@babel/helper-transform-fixture-test-runner": "^7.11.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + }, + "gitHead": "90b198956995195ea00e7ac9912c2260e44d8746", + "homepage": "https://babeljs.io/", + "keywords": [ + "6to5", + "babel", + "classes", + "const", + "es6", + "harmony", + "let", + "modules", + "transpile", + "transpiler", + "var", + "babel-core", + "compiler" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/core", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-core" + }, + "version": "7.11.4" +} diff --git a/node_modules/@babel/generator/LICENSE b/node_modules/@babel/generator/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/generator/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/generator/README.md b/node_modules/@babel/generator/README.md new file mode 100644 index 000000000..fc980b167 --- /dev/null +++ b/node_modules/@babel/generator/README.md @@ -0,0 +1,19 @@ +# @babel/generator + +> Turns an AST into code. + +See our website [@babel/generator](https://babeljs.io/docs/en/next/babel-generator.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20generator%22+is%3Aopen) associated with this package. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/generator +``` + +or using yarn: + +```sh +yarn add @babel/generator --dev +``` diff --git a/node_modules/@babel/generator/lib/buffer.js b/node_modules/@babel/generator/lib/buffer.js new file mode 100644 index 000000000..d81546b66 --- /dev/null +++ b/node_modules/@babel/generator/lib/buffer.js @@ -0,0 +1,244 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +const SPACES_RE = /^[ \t]+$/; + +class Buffer { + constructor(map) { + this._map = null; + this._buf = []; + this._last = ""; + this._queue = []; + this._position = { + line: 1, + column: 0 + }; + this._sourcePosition = { + identifierName: null, + line: null, + column: null, + filename: null + }; + this._disallowedPop = null; + this._map = map; + } + + get() { + this._flush(); + + const map = this._map; + const result = { + code: this._buf.join("").trimRight(), + map: null, + rawMappings: map == null ? void 0 : map.getRawMappings() + }; + + if (map) { + Object.defineProperty(result, "map", { + configurable: true, + enumerable: true, + + get() { + return this.map = map.get(); + }, + + set(value) { + Object.defineProperty(this, "map", { + value, + writable: true + }); + } + + }); + } + + return result; + } + + append(str) { + this._flush(); + + const { + line, + column, + filename, + identifierName, + force + } = this._sourcePosition; + + this._append(str, line, column, identifierName, filename, force); + } + + queue(str) { + if (str === "\n") { + while (this._queue.length > 0 && SPACES_RE.test(this._queue[0][0])) { + this._queue.shift(); + } + } + + const { + line, + column, + filename, + identifierName, + force + } = this._sourcePosition; + + this._queue.unshift([str, line, column, identifierName, filename, force]); + } + + _flush() { + let item; + + while (item = this._queue.pop()) this._append(...item); + } + + _append(str, line, column, identifierName, filename, force) { + if (this._map && str[0] !== "\n") { + this._map.mark(this._position.line, this._position.column, line, column, identifierName, filename, force); + } + + this._buf.push(str); + + this._last = str[str.length - 1]; + + for (let i = 0; i < str.length; i++) { + if (str[i] === "\n") { + this._position.line++; + this._position.column = 0; + } else { + this._position.column++; + } + } + } + + removeTrailingNewline() { + if (this._queue.length > 0 && this._queue[0][0] === "\n") { + this._queue.shift(); + } + } + + removeLastSemicolon() { + if (this._queue.length > 0 && this._queue[0][0] === ";") { + this._queue.shift(); + } + } + + endsWith(suffix) { + if (suffix.length === 1) { + let last; + + if (this._queue.length > 0) { + const str = this._queue[0][0]; + last = str[str.length - 1]; + } else { + last = this._last; + } + + return last === suffix; + } + + const end = this._last + this._queue.reduce((acc, item) => item[0] + acc, ""); + + if (suffix.length <= end.length) { + return end.slice(-suffix.length) === suffix; + } + + return false; + } + + hasContent() { + return this._queue.length > 0 || !!this._last; + } + + exactSource(loc, cb) { + this.source("start", loc, true); + cb(); + this.source("end", loc); + + this._disallowPop("start", loc); + } + + source(prop, loc, force) { + if (prop && !loc) return; + + this._normalizePosition(prop, loc, this._sourcePosition, force); + } + + withSource(prop, loc, cb) { + if (!this._map) return cb(); + const originalLine = this._sourcePosition.line; + const originalColumn = this._sourcePosition.column; + const originalFilename = this._sourcePosition.filename; + const originalIdentifierName = this._sourcePosition.identifierName; + this.source(prop, loc); + cb(); + + if ((!this._sourcePosition.force || this._sourcePosition.line !== originalLine || this._sourcePosition.column !== originalColumn || this._sourcePosition.filename !== originalFilename) && (!this._disallowedPop || this._disallowedPop.line !== originalLine || this._disallowedPop.column !== originalColumn || this._disallowedPop.filename !== originalFilename)) { + this._sourcePosition.line = originalLine; + this._sourcePosition.column = originalColumn; + this._sourcePosition.filename = originalFilename; + this._sourcePosition.identifierName = originalIdentifierName; + this._sourcePosition.force = false; + this._disallowedPop = null; + } + } + + _disallowPop(prop, loc) { + if (prop && !loc) return; + this._disallowedPop = this._normalizePosition(prop, loc); + } + + _normalizePosition(prop, loc, targetObj, force) { + const pos = loc ? loc[prop] : null; + + if (targetObj === undefined) { + targetObj = { + identifierName: null, + line: null, + column: null, + filename: null, + force: false + }; + } + + const origLine = targetObj.line; + const origColumn = targetObj.column; + const origFilename = targetObj.filename; + targetObj.identifierName = prop === "start" && (loc == null ? void 0 : loc.identifierName) || null; + targetObj.line = pos == null ? void 0 : pos.line; + targetObj.column = pos == null ? void 0 : pos.column; + targetObj.filename = loc == null ? void 0 : loc.filename; + + if (force || targetObj.line !== origLine || targetObj.column !== origColumn || targetObj.filename !== origFilename) { + targetObj.force = force; + } + + return targetObj; + } + + getCurrentColumn() { + const extra = this._queue.reduce((acc, item) => item[0] + acc, ""); + + const lastIndex = extra.lastIndexOf("\n"); + return lastIndex === -1 ? this._position.column + extra.length : extra.length - 1 - lastIndex; + } + + getCurrentLine() { + const extra = this._queue.reduce((acc, item) => item[0] + acc, ""); + + let count = 0; + + for (let i = 0; i < extra.length; i++) { + if (extra[i] === "\n") count++; + } + + return this._position.line + count; + } + +} + +exports.default = Buffer; \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/base.js b/node_modules/@babel/generator/lib/generators/base.js new file mode 100644 index 000000000..713827a9c --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/base.js @@ -0,0 +1,99 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.File = File; +exports.Program = Program; +exports.BlockStatement = BlockStatement; +exports.Noop = Noop; +exports.Directive = Directive; +exports.DirectiveLiteral = DirectiveLiteral; +exports.InterpreterDirective = InterpreterDirective; +exports.Placeholder = Placeholder; + +function File(node) { + if (node.program) { + this.print(node.program.interpreter, node); + } + + this.print(node.program, node); +} + +function Program(node) { + this.printInnerComments(node, false); + this.printSequence(node.directives, node); + if (node.directives && node.directives.length) this.newline(); + this.printSequence(node.body, node); +} + +function BlockStatement(node) { + var _node$directives; + + this.token("{"); + this.printInnerComments(node); + const hasDirectives = (_node$directives = node.directives) == null ? void 0 : _node$directives.length; + + if (node.body.length || hasDirectives) { + this.newline(); + this.printSequence(node.directives, node, { + indent: true + }); + if (hasDirectives) this.newline(); + this.printSequence(node.body, node, { + indent: true + }); + this.removeTrailingNewline(); + this.source("end", node.loc); + if (!this.endsWith("\n")) this.newline(); + this.rightBrace(); + } else { + this.source("end", node.loc); + this.token("}"); + } +} + +function Noop() {} + +function Directive(node) { + this.print(node.value, node); + this.semicolon(); +} + +const unescapedSingleQuoteRE = /(?:^|[^\\])(?:\\\\)*'/; +const unescapedDoubleQuoteRE = /(?:^|[^\\])(?:\\\\)*"/; + +function DirectiveLiteral(node) { + const raw = this.getPossibleRaw(node); + + if (raw != null) { + this.token(raw); + return; + } + + const { + value + } = node; + + if (!unescapedDoubleQuoteRE.test(value)) { + this.token(`"${value}"`); + } else if (!unescapedSingleQuoteRE.test(value)) { + this.token(`'${value}'`); + } else { + throw new Error("Malformed AST: it is not possible to print a directive containing" + " both unescaped single and double quotes."); + } +} + +function InterpreterDirective(node) { + this.token(`#!${node.value}\n`); +} + +function Placeholder(node) { + this.token("%%"); + this.print(node.name); + this.token("%%"); + + if (node.expectedNode === "Statement") { + this.semicolon(); + } +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/classes.js b/node_modules/@babel/generator/lib/generators/classes.js new file mode 100644 index 000000000..0ba2cf4c0 --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/classes.js @@ -0,0 +1,151 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ClassExpression = exports.ClassDeclaration = ClassDeclaration; +exports.ClassBody = ClassBody; +exports.ClassProperty = ClassProperty; +exports.ClassPrivateProperty = ClassPrivateProperty; +exports.ClassMethod = ClassMethod; +exports.ClassPrivateMethod = ClassPrivateMethod; +exports._classMethodHead = _classMethodHead; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function ClassDeclaration(node, parent) { + if (!this.format.decoratorsBeforeExport || !t.isExportDefaultDeclaration(parent) && !t.isExportNamedDeclaration(parent)) { + this.printJoin(node.decorators, node); + } + + if (node.declare) { + this.word("declare"); + this.space(); + } + + if (node.abstract) { + this.word("abstract"); + this.space(); + } + + this.word("class"); + + if (node.id) { + this.space(); + this.print(node.id, node); + } + + this.print(node.typeParameters, node); + + if (node.superClass) { + this.space(); + this.word("extends"); + this.space(); + this.print(node.superClass, node); + this.print(node.superTypeParameters, node); + } + + if (node.implements) { + this.space(); + this.word("implements"); + this.space(); + this.printList(node.implements, node); + } + + this.space(); + this.print(node.body, node); +} + +function ClassBody(node) { + this.token("{"); + this.printInnerComments(node); + + if (node.body.length === 0) { + this.token("}"); + } else { + this.newline(); + this.indent(); + this.printSequence(node.body, node); + this.dedent(); + if (!this.endsWith("\n")) this.newline(); + this.rightBrace(); + } +} + +function ClassProperty(node) { + this.printJoin(node.decorators, node); + this.tsPrintClassMemberModifiers(node, true); + + if (node.computed) { + this.token("["); + this.print(node.key, node); + this.token("]"); + } else { + this._variance(node); + + this.print(node.key, node); + } + + if (node.optional) { + this.token("?"); + } + + if (node.definite) { + this.token("!"); + } + + this.print(node.typeAnnotation, node); + + if (node.value) { + this.space(); + this.token("="); + this.space(); + this.print(node.value, node); + } + + this.semicolon(); +} + +function ClassPrivateProperty(node) { + if (node.static) { + this.word("static"); + this.space(); + } + + this.print(node.key, node); + this.print(node.typeAnnotation, node); + + if (node.value) { + this.space(); + this.token("="); + this.space(); + this.print(node.value, node); + } + + this.semicolon(); +} + +function ClassMethod(node) { + this._classMethodHead(node); + + this.space(); + this.print(node.body, node); +} + +function ClassPrivateMethod(node) { + this._classMethodHead(node); + + this.space(); + this.print(node.body, node); +} + +function _classMethodHead(node) { + this.printJoin(node.decorators, node); + this.tsPrintClassMemberModifiers(node, false); + + this._methodHead(node); +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/expressions.js b/node_modules/@babel/generator/lib/generators/expressions.js new file mode 100644 index 000000000..4e63a6994 --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/expressions.js @@ -0,0 +1,292 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.UnaryExpression = UnaryExpression; +exports.DoExpression = DoExpression; +exports.ParenthesizedExpression = ParenthesizedExpression; +exports.UpdateExpression = UpdateExpression; +exports.ConditionalExpression = ConditionalExpression; +exports.NewExpression = NewExpression; +exports.SequenceExpression = SequenceExpression; +exports.ThisExpression = ThisExpression; +exports.Super = Super; +exports.Decorator = Decorator; +exports.OptionalMemberExpression = OptionalMemberExpression; +exports.OptionalCallExpression = OptionalCallExpression; +exports.CallExpression = CallExpression; +exports.Import = Import; +exports.EmptyStatement = EmptyStatement; +exports.ExpressionStatement = ExpressionStatement; +exports.AssignmentPattern = AssignmentPattern; +exports.LogicalExpression = exports.BinaryExpression = exports.AssignmentExpression = AssignmentExpression; +exports.BindExpression = BindExpression; +exports.MemberExpression = MemberExpression; +exports.MetaProperty = MetaProperty; +exports.PrivateName = PrivateName; +exports.V8IntrinsicIdentifier = V8IntrinsicIdentifier; +exports.AwaitExpression = exports.YieldExpression = void 0; + +var t = _interopRequireWildcard(require("@babel/types")); + +var n = _interopRequireWildcard(require("../node")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function UnaryExpression(node) { + if (node.operator === "void" || node.operator === "delete" || node.operator === "typeof" || node.operator === "throw") { + this.word(node.operator); + this.space(); + } else { + this.token(node.operator); + } + + this.print(node.argument, node); +} + +function DoExpression(node) { + this.word("do"); + this.space(); + this.print(node.body, node); +} + +function ParenthesizedExpression(node) { + this.token("("); + this.print(node.expression, node); + this.token(")"); +} + +function UpdateExpression(node) { + if (node.prefix) { + this.token(node.operator); + this.print(node.argument, node); + } else { + this.startTerminatorless(true); + this.print(node.argument, node); + this.endTerminatorless(); + this.token(node.operator); + } +} + +function ConditionalExpression(node) { + this.print(node.test, node); + this.space(); + this.token("?"); + this.space(); + this.print(node.consequent, node); + this.space(); + this.token(":"); + this.space(); + this.print(node.alternate, node); +} + +function NewExpression(node, parent) { + this.word("new"); + this.space(); + this.print(node.callee, node); + + if (this.format.minified && node.arguments.length === 0 && !node.optional && !t.isCallExpression(parent, { + callee: node + }) && !t.isMemberExpression(parent) && !t.isNewExpression(parent)) { + return; + } + + this.print(node.typeArguments, node); + this.print(node.typeParameters, node); + + if (node.optional) { + this.token("?."); + } + + this.token("("); + this.printList(node.arguments, node); + this.token(")"); +} + +function SequenceExpression(node) { + this.printList(node.expressions, node); +} + +function ThisExpression() { + this.word("this"); +} + +function Super() { + this.word("super"); +} + +function Decorator(node) { + this.token("@"); + this.print(node.expression, node); + this.newline(); +} + +function OptionalMemberExpression(node) { + this.print(node.object, node); + + if (!node.computed && t.isMemberExpression(node.property)) { + throw new TypeError("Got a MemberExpression for MemberExpression property"); + } + + let computed = node.computed; + + if (t.isLiteral(node.property) && typeof node.property.value === "number") { + computed = true; + } + + if (node.optional) { + this.token("?."); + } + + if (computed) { + this.token("["); + this.print(node.property, node); + this.token("]"); + } else { + if (!node.optional) { + this.token("."); + } + + this.print(node.property, node); + } +} + +function OptionalCallExpression(node) { + this.print(node.callee, node); + this.print(node.typeArguments, node); + this.print(node.typeParameters, node); + + if (node.optional) { + this.token("?."); + } + + this.token("("); + this.printList(node.arguments, node); + this.token(")"); +} + +function CallExpression(node) { + this.print(node.callee, node); + this.print(node.typeArguments, node); + this.print(node.typeParameters, node); + this.token("("); + this.printList(node.arguments, node); + this.token(")"); +} + +function Import() { + this.word("import"); +} + +function buildYieldAwait(keyword) { + return function (node) { + this.word(keyword); + + if (node.delegate) { + this.token("*"); + } + + if (node.argument) { + this.space(); + const terminatorState = this.startTerminatorless(); + this.print(node.argument, node); + this.endTerminatorless(terminatorState); + } + }; +} + +const YieldExpression = buildYieldAwait("yield"); +exports.YieldExpression = YieldExpression; +const AwaitExpression = buildYieldAwait("await"); +exports.AwaitExpression = AwaitExpression; + +function EmptyStatement() { + this.semicolon(true); +} + +function ExpressionStatement(node) { + this.print(node.expression, node); + this.semicolon(); +} + +function AssignmentPattern(node) { + this.print(node.left, node); + if (node.left.optional) this.token("?"); + this.print(node.left.typeAnnotation, node); + this.space(); + this.token("="); + this.space(); + this.print(node.right, node); +} + +function AssignmentExpression(node, parent) { + const parens = this.inForStatementInitCounter && node.operator === "in" && !n.needsParens(node, parent); + + if (parens) { + this.token("("); + } + + this.print(node.left, node); + this.space(); + + if (node.operator === "in" || node.operator === "instanceof") { + this.word(node.operator); + } else { + this.token(node.operator); + } + + this.space(); + this.print(node.right, node); + + if (parens) { + this.token(")"); + } +} + +function BindExpression(node) { + this.print(node.object, node); + this.token("::"); + this.print(node.callee, node); +} + +function MemberExpression(node) { + this.print(node.object, node); + + if (!node.computed && t.isMemberExpression(node.property)) { + throw new TypeError("Got a MemberExpression for MemberExpression property"); + } + + let computed = node.computed; + + if (t.isLiteral(node.property) && typeof node.property.value === "number") { + computed = true; + } + + if (computed) { + this.token("["); + this.print(node.property, node); + this.token("]"); + } else { + this.token("."); + this.print(node.property, node); + } +} + +function MetaProperty(node) { + this.print(node.meta, node); + this.token("."); + this.print(node.property, node); +} + +function PrivateName(node) { + this.token("#"); + this.print(node.id, node); +} + +function V8IntrinsicIdentifier(node) { + this.token("%"); + this.word(node.name); +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/flow.js b/node_modules/@babel/generator/lib/generators/flow.js new file mode 100644 index 000000000..08c1734be --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/flow.js @@ -0,0 +1,753 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.AnyTypeAnnotation = AnyTypeAnnotation; +exports.ArrayTypeAnnotation = ArrayTypeAnnotation; +exports.BooleanTypeAnnotation = BooleanTypeAnnotation; +exports.BooleanLiteralTypeAnnotation = BooleanLiteralTypeAnnotation; +exports.NullLiteralTypeAnnotation = NullLiteralTypeAnnotation; +exports.DeclareClass = DeclareClass; +exports.DeclareFunction = DeclareFunction; +exports.InferredPredicate = InferredPredicate; +exports.DeclaredPredicate = DeclaredPredicate; +exports.DeclareInterface = DeclareInterface; +exports.DeclareModule = DeclareModule; +exports.DeclareModuleExports = DeclareModuleExports; +exports.DeclareTypeAlias = DeclareTypeAlias; +exports.DeclareOpaqueType = DeclareOpaqueType; +exports.DeclareVariable = DeclareVariable; +exports.DeclareExportDeclaration = DeclareExportDeclaration; +exports.DeclareExportAllDeclaration = DeclareExportAllDeclaration; +exports.EnumDeclaration = EnumDeclaration; +exports.EnumBooleanBody = EnumBooleanBody; +exports.EnumNumberBody = EnumNumberBody; +exports.EnumStringBody = EnumStringBody; +exports.EnumSymbolBody = EnumSymbolBody; +exports.EnumDefaultedMember = EnumDefaultedMember; +exports.EnumBooleanMember = EnumBooleanMember; +exports.EnumNumberMember = EnumNumberMember; +exports.EnumStringMember = EnumStringMember; +exports.ExistsTypeAnnotation = ExistsTypeAnnotation; +exports.FunctionTypeAnnotation = FunctionTypeAnnotation; +exports.FunctionTypeParam = FunctionTypeParam; +exports.GenericTypeAnnotation = exports.ClassImplements = exports.InterfaceExtends = InterfaceExtends; +exports._interfaceish = _interfaceish; +exports._variance = _variance; +exports.InterfaceDeclaration = InterfaceDeclaration; +exports.InterfaceTypeAnnotation = InterfaceTypeAnnotation; +exports.IntersectionTypeAnnotation = IntersectionTypeAnnotation; +exports.MixedTypeAnnotation = MixedTypeAnnotation; +exports.EmptyTypeAnnotation = EmptyTypeAnnotation; +exports.NullableTypeAnnotation = NullableTypeAnnotation; +exports.NumberTypeAnnotation = NumberTypeAnnotation; +exports.StringTypeAnnotation = StringTypeAnnotation; +exports.ThisTypeAnnotation = ThisTypeAnnotation; +exports.TupleTypeAnnotation = TupleTypeAnnotation; +exports.TypeofTypeAnnotation = TypeofTypeAnnotation; +exports.TypeAlias = TypeAlias; +exports.TypeAnnotation = TypeAnnotation; +exports.TypeParameterDeclaration = exports.TypeParameterInstantiation = TypeParameterInstantiation; +exports.TypeParameter = TypeParameter; +exports.OpaqueType = OpaqueType; +exports.ObjectTypeAnnotation = ObjectTypeAnnotation; +exports.ObjectTypeInternalSlot = ObjectTypeInternalSlot; +exports.ObjectTypeCallProperty = ObjectTypeCallProperty; +exports.ObjectTypeIndexer = ObjectTypeIndexer; +exports.ObjectTypeProperty = ObjectTypeProperty; +exports.ObjectTypeSpreadProperty = ObjectTypeSpreadProperty; +exports.QualifiedTypeIdentifier = QualifiedTypeIdentifier; +exports.SymbolTypeAnnotation = SymbolTypeAnnotation; +exports.UnionTypeAnnotation = UnionTypeAnnotation; +exports.TypeCastExpression = TypeCastExpression; +exports.Variance = Variance; +exports.VoidTypeAnnotation = VoidTypeAnnotation; +Object.defineProperty(exports, "NumberLiteralTypeAnnotation", { + enumerable: true, + get: function () { + return _types2.NumericLiteral; + } +}); +Object.defineProperty(exports, "StringLiteralTypeAnnotation", { + enumerable: true, + get: function () { + return _types2.StringLiteral; + } +}); + +var t = _interopRequireWildcard(require("@babel/types")); + +var _modules = require("./modules"); + +var _types2 = require("./types"); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function AnyTypeAnnotation() { + this.word("any"); +} + +function ArrayTypeAnnotation(node) { + this.print(node.elementType, node); + this.token("["); + this.token("]"); +} + +function BooleanTypeAnnotation() { + this.word("boolean"); +} + +function BooleanLiteralTypeAnnotation(node) { + this.word(node.value ? "true" : "false"); +} + +function NullLiteralTypeAnnotation() { + this.word("null"); +} + +function DeclareClass(node, parent) { + if (!t.isDeclareExportDeclaration(parent)) { + this.word("declare"); + this.space(); + } + + this.word("class"); + this.space(); + + this._interfaceish(node); +} + +function DeclareFunction(node, parent) { + if (!t.isDeclareExportDeclaration(parent)) { + this.word("declare"); + this.space(); + } + + this.word("function"); + this.space(); + this.print(node.id, node); + this.print(node.id.typeAnnotation.typeAnnotation, node); + + if (node.predicate) { + this.space(); + this.print(node.predicate, node); + } + + this.semicolon(); +} + +function InferredPredicate() { + this.token("%"); + this.word("checks"); +} + +function DeclaredPredicate(node) { + this.token("%"); + this.word("checks"); + this.token("("); + this.print(node.value, node); + this.token(")"); +} + +function DeclareInterface(node) { + this.word("declare"); + this.space(); + this.InterfaceDeclaration(node); +} + +function DeclareModule(node) { + this.word("declare"); + this.space(); + this.word("module"); + this.space(); + this.print(node.id, node); + this.space(); + this.print(node.body, node); +} + +function DeclareModuleExports(node) { + this.word("declare"); + this.space(); + this.word("module"); + this.token("."); + this.word("exports"); + this.print(node.typeAnnotation, node); +} + +function DeclareTypeAlias(node) { + this.word("declare"); + this.space(); + this.TypeAlias(node); +} + +function DeclareOpaqueType(node, parent) { + if (!t.isDeclareExportDeclaration(parent)) { + this.word("declare"); + this.space(); + } + + this.OpaqueType(node); +} + +function DeclareVariable(node, parent) { + if (!t.isDeclareExportDeclaration(parent)) { + this.word("declare"); + this.space(); + } + + this.word("var"); + this.space(); + this.print(node.id, node); + this.print(node.id.typeAnnotation, node); + this.semicolon(); +} + +function DeclareExportDeclaration(node) { + this.word("declare"); + this.space(); + this.word("export"); + this.space(); + + if (node.default) { + this.word("default"); + this.space(); + } + + FlowExportDeclaration.apply(this, arguments); +} + +function DeclareExportAllDeclaration() { + this.word("declare"); + this.space(); + + _modules.ExportAllDeclaration.apply(this, arguments); +} + +function EnumDeclaration(node) { + const { + id, + body + } = node; + this.word("enum"); + this.space(); + this.print(id, node); + this.print(body, node); +} + +function enumExplicitType(context, name, hasExplicitType) { + if (hasExplicitType) { + context.space(); + context.word("of"); + context.space(); + context.word(name); + } + + context.space(); +} + +function enumBody(context, node) { + const { + members + } = node; + context.token("{"); + context.indent(); + context.newline(); + + for (const member of members) { + context.print(member, node); + context.newline(); + } + + context.dedent(); + context.token("}"); +} + +function EnumBooleanBody(node) { + const { + explicitType + } = node; + enumExplicitType(this, "boolean", explicitType); + enumBody(this, node); +} + +function EnumNumberBody(node) { + const { + explicitType + } = node; + enumExplicitType(this, "number", explicitType); + enumBody(this, node); +} + +function EnumStringBody(node) { + const { + explicitType + } = node; + enumExplicitType(this, "string", explicitType); + enumBody(this, node); +} + +function EnumSymbolBody(node) { + enumExplicitType(this, "symbol", true); + enumBody(this, node); +} + +function EnumDefaultedMember(node) { + const { + id + } = node; + this.print(id, node); + this.token(","); +} + +function enumInitializedMember(context, node) { + const { + id, + init + } = node; + context.print(id, node); + context.space(); + context.token("="); + context.space(); + context.print(init, node); + context.token(","); +} + +function EnumBooleanMember(node) { + enumInitializedMember(this, node); +} + +function EnumNumberMember(node) { + enumInitializedMember(this, node); +} + +function EnumStringMember(node) { + enumInitializedMember(this, node); +} + +function FlowExportDeclaration(node) { + if (node.declaration) { + const declar = node.declaration; + this.print(declar, node); + if (!t.isStatement(declar)) this.semicolon(); + } else { + this.token("{"); + + if (node.specifiers.length) { + this.space(); + this.printList(node.specifiers, node); + this.space(); + } + + this.token("}"); + + if (node.source) { + this.space(); + this.word("from"); + this.space(); + this.print(node.source, node); + } + + this.semicolon(); + } +} + +function ExistsTypeAnnotation() { + this.token("*"); +} + +function FunctionTypeAnnotation(node, parent) { + this.print(node.typeParameters, node); + this.token("("); + this.printList(node.params, node); + + if (node.rest) { + if (node.params.length) { + this.token(","); + this.space(); + } + + this.token("..."); + this.print(node.rest, node); + } + + this.token(")"); + + if (parent.type === "ObjectTypeCallProperty" || parent.type === "DeclareFunction" || parent.type === "ObjectTypeProperty" && parent.method) { + this.token(":"); + } else { + this.space(); + this.token("=>"); + } + + this.space(); + this.print(node.returnType, node); +} + +function FunctionTypeParam(node) { + this.print(node.name, node); + if (node.optional) this.token("?"); + + if (node.name) { + this.token(":"); + this.space(); + } + + this.print(node.typeAnnotation, node); +} + +function InterfaceExtends(node) { + this.print(node.id, node); + this.print(node.typeParameters, node); +} + +function _interfaceish(node) { + this.print(node.id, node); + this.print(node.typeParameters, node); + + if (node.extends.length) { + this.space(); + this.word("extends"); + this.space(); + this.printList(node.extends, node); + } + + if (node.mixins && node.mixins.length) { + this.space(); + this.word("mixins"); + this.space(); + this.printList(node.mixins, node); + } + + if (node.implements && node.implements.length) { + this.space(); + this.word("implements"); + this.space(); + this.printList(node.implements, node); + } + + this.space(); + this.print(node.body, node); +} + +function _variance(node) { + if (node.variance) { + if (node.variance.kind === "plus") { + this.token("+"); + } else if (node.variance.kind === "minus") { + this.token("-"); + } + } +} + +function InterfaceDeclaration(node) { + this.word("interface"); + this.space(); + + this._interfaceish(node); +} + +function andSeparator() { + this.space(); + this.token("&"); + this.space(); +} + +function InterfaceTypeAnnotation(node) { + this.word("interface"); + + if (node.extends && node.extends.length) { + this.space(); + this.word("extends"); + this.space(); + this.printList(node.extends, node); + } + + this.space(); + this.print(node.body, node); +} + +function IntersectionTypeAnnotation(node) { + this.printJoin(node.types, node, { + separator: andSeparator + }); +} + +function MixedTypeAnnotation() { + this.word("mixed"); +} + +function EmptyTypeAnnotation() { + this.word("empty"); +} + +function NullableTypeAnnotation(node) { + this.token("?"); + this.print(node.typeAnnotation, node); +} + +function NumberTypeAnnotation() { + this.word("number"); +} + +function StringTypeAnnotation() { + this.word("string"); +} + +function ThisTypeAnnotation() { + this.word("this"); +} + +function TupleTypeAnnotation(node) { + this.token("["); + this.printList(node.types, node); + this.token("]"); +} + +function TypeofTypeAnnotation(node) { + this.word("typeof"); + this.space(); + this.print(node.argument, node); +} + +function TypeAlias(node) { + this.word("type"); + this.space(); + this.print(node.id, node); + this.print(node.typeParameters, node); + this.space(); + this.token("="); + this.space(); + this.print(node.right, node); + this.semicolon(); +} + +function TypeAnnotation(node) { + this.token(":"); + this.space(); + if (node.optional) this.token("?"); + this.print(node.typeAnnotation, node); +} + +function TypeParameterInstantiation(node) { + this.token("<"); + this.printList(node.params, node, {}); + this.token(">"); +} + +function TypeParameter(node) { + this._variance(node); + + this.word(node.name); + + if (node.bound) { + this.print(node.bound, node); + } + + if (node.default) { + this.space(); + this.token("="); + this.space(); + this.print(node.default, node); + } +} + +function OpaqueType(node) { + this.word("opaque"); + this.space(); + this.word("type"); + this.space(); + this.print(node.id, node); + this.print(node.typeParameters, node); + + if (node.supertype) { + this.token(":"); + this.space(); + this.print(node.supertype, node); + } + + if (node.impltype) { + this.space(); + this.token("="); + this.space(); + this.print(node.impltype, node); + } + + this.semicolon(); +} + +function ObjectTypeAnnotation(node) { + if (node.exact) { + this.token("{|"); + } else { + this.token("{"); + } + + const props = node.properties.concat(node.callProperties || [], node.indexers || [], node.internalSlots || []); + + if (props.length) { + this.space(); + this.printJoin(props, node, { + addNewlines(leading) { + if (leading && !props[0]) return 1; + }, + + indent: true, + statement: true, + iterator: () => { + if (props.length !== 1 || node.inexact) { + this.token(","); + this.space(); + } + } + }); + this.space(); + } + + if (node.inexact) { + this.indent(); + this.token("..."); + + if (props.length) { + this.newline(); + } + + this.dedent(); + } + + if (node.exact) { + this.token("|}"); + } else { + this.token("}"); + } +} + +function ObjectTypeInternalSlot(node) { + if (node.static) { + this.word("static"); + this.space(); + } + + this.token("["); + this.token("["); + this.print(node.id, node); + this.token("]"); + this.token("]"); + if (node.optional) this.token("?"); + + if (!node.method) { + this.token(":"); + this.space(); + } + + this.print(node.value, node); +} + +function ObjectTypeCallProperty(node) { + if (node.static) { + this.word("static"); + this.space(); + } + + this.print(node.value, node); +} + +function ObjectTypeIndexer(node) { + if (node.static) { + this.word("static"); + this.space(); + } + + this._variance(node); + + this.token("["); + + if (node.id) { + this.print(node.id, node); + this.token(":"); + this.space(); + } + + this.print(node.key, node); + this.token("]"); + this.token(":"); + this.space(); + this.print(node.value, node); +} + +function ObjectTypeProperty(node) { + if (node.proto) { + this.word("proto"); + this.space(); + } + + if (node.static) { + this.word("static"); + this.space(); + } + + if (node.kind === "get" || node.kind === "set") { + this.word(node.kind); + this.space(); + } + + this._variance(node); + + this.print(node.key, node); + if (node.optional) this.token("?"); + + if (!node.method) { + this.token(":"); + this.space(); + } + + this.print(node.value, node); +} + +function ObjectTypeSpreadProperty(node) { + this.token("..."); + this.print(node.argument, node); +} + +function QualifiedTypeIdentifier(node) { + this.print(node.qualification, node); + this.token("."); + this.print(node.id, node); +} + +function SymbolTypeAnnotation() { + this.word("symbol"); +} + +function orSeparator() { + this.space(); + this.token("|"); + this.space(); +} + +function UnionTypeAnnotation(node) { + this.printJoin(node.types, node, { + separator: orSeparator + }); +} + +function TypeCastExpression(node) { + this.token("("); + this.print(node.expression, node); + this.print(node.typeAnnotation, node); + this.token(")"); +} + +function Variance(node) { + if (node.kind === "plus") { + this.token("+"); + } else { + this.token("-"); + } +} + +function VoidTypeAnnotation() { + this.word("void"); +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/index.js b/node_modules/@babel/generator/lib/generators/index.js new file mode 100644 index 000000000..f2b4cecad --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/index.js @@ -0,0 +1,137 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _templateLiterals = require("./template-literals"); + +Object.keys(_templateLiterals).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _templateLiterals[key]; + } + }); +}); + +var _expressions = require("./expressions"); + +Object.keys(_expressions).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _expressions[key]; + } + }); +}); + +var _statements = require("./statements"); + +Object.keys(_statements).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _statements[key]; + } + }); +}); + +var _classes = require("./classes"); + +Object.keys(_classes).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _classes[key]; + } + }); +}); + +var _methods = require("./methods"); + +Object.keys(_methods).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _methods[key]; + } + }); +}); + +var _modules = require("./modules"); + +Object.keys(_modules).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _modules[key]; + } + }); +}); + +var _types = require("./types"); + +Object.keys(_types).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _types[key]; + } + }); +}); + +var _flow = require("./flow"); + +Object.keys(_flow).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _flow[key]; + } + }); +}); + +var _base = require("./base"); + +Object.keys(_base).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _base[key]; + } + }); +}); + +var _jsx = require("./jsx"); + +Object.keys(_jsx).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _jsx[key]; + } + }); +}); + +var _typescript = require("./typescript"); + +Object.keys(_typescript).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _typescript[key]; + } + }); +}); \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/jsx.js b/node_modules/@babel/generator/lib/generators/jsx.js new file mode 100644 index 000000000..485091398 --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/jsx.js @@ -0,0 +1,145 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.JSXAttribute = JSXAttribute; +exports.JSXIdentifier = JSXIdentifier; +exports.JSXNamespacedName = JSXNamespacedName; +exports.JSXMemberExpression = JSXMemberExpression; +exports.JSXSpreadAttribute = JSXSpreadAttribute; +exports.JSXExpressionContainer = JSXExpressionContainer; +exports.JSXSpreadChild = JSXSpreadChild; +exports.JSXText = JSXText; +exports.JSXElement = JSXElement; +exports.JSXOpeningElement = JSXOpeningElement; +exports.JSXClosingElement = JSXClosingElement; +exports.JSXEmptyExpression = JSXEmptyExpression; +exports.JSXFragment = JSXFragment; +exports.JSXOpeningFragment = JSXOpeningFragment; +exports.JSXClosingFragment = JSXClosingFragment; + +function JSXAttribute(node) { + this.print(node.name, node); + + if (node.value) { + this.token("="); + this.print(node.value, node); + } +} + +function JSXIdentifier(node) { + this.word(node.name); +} + +function JSXNamespacedName(node) { + this.print(node.namespace, node); + this.token(":"); + this.print(node.name, node); +} + +function JSXMemberExpression(node) { + this.print(node.object, node); + this.token("."); + this.print(node.property, node); +} + +function JSXSpreadAttribute(node) { + this.token("{"); + this.token("..."); + this.print(node.argument, node); + this.token("}"); +} + +function JSXExpressionContainer(node) { + this.token("{"); + this.print(node.expression, node); + this.token("}"); +} + +function JSXSpreadChild(node) { + this.token("{"); + this.token("..."); + this.print(node.expression, node); + this.token("}"); +} + +function JSXText(node) { + const raw = this.getPossibleRaw(node); + + if (raw != null) { + this.token(raw); + } else { + this.token(node.value); + } +} + +function JSXElement(node) { + const open = node.openingElement; + this.print(open, node); + if (open.selfClosing) return; + this.indent(); + + for (const child of node.children) { + this.print(child, node); + } + + this.dedent(); + this.print(node.closingElement, node); +} + +function spaceSeparator() { + this.space(); +} + +function JSXOpeningElement(node) { + this.token("<"); + this.print(node.name, node); + this.print(node.typeParameters, node); + + if (node.attributes.length > 0) { + this.space(); + this.printJoin(node.attributes, node, { + separator: spaceSeparator + }); + } + + if (node.selfClosing) { + this.space(); + this.token("/>"); + } else { + this.token(">"); + } +} + +function JSXClosingElement(node) { + this.token(""); +} + +function JSXEmptyExpression(node) { + this.printInnerComments(node); +} + +function JSXFragment(node) { + this.print(node.openingFragment, node); + this.indent(); + + for (const child of node.children) { + this.print(child, node); + } + + this.dedent(); + this.print(node.closingFragment, node); +} + +function JSXOpeningFragment() { + this.token("<"); + this.token(">"); +} + +function JSXClosingFragment() { + this.token(""); +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/methods.js b/node_modules/@babel/generator/lib/generators/methods.js new file mode 100644 index 000000000..f51ab2e79 --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/methods.js @@ -0,0 +1,163 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports._params = _params; +exports._parameters = _parameters; +exports._param = _param; +exports._methodHead = _methodHead; +exports._predicate = _predicate; +exports._functionHead = _functionHead; +exports.FunctionDeclaration = exports.FunctionExpression = FunctionExpression; +exports.ArrowFunctionExpression = ArrowFunctionExpression; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _params(node) { + this.print(node.typeParameters, node); + this.token("("); + + this._parameters(node.params, node); + + this.token(")"); + this.print(node.returnType, node); +} + +function _parameters(parameters, parent) { + for (let i = 0; i < parameters.length; i++) { + this._param(parameters[i], parent); + + if (i < parameters.length - 1) { + this.token(","); + this.space(); + } + } +} + +function _param(parameter, parent) { + this.printJoin(parameter.decorators, parameter); + this.print(parameter, parent); + if (parameter.optional) this.token("?"); + this.print(parameter.typeAnnotation, parameter); +} + +function _methodHead(node) { + const kind = node.kind; + const key = node.key; + + if (kind === "get" || kind === "set") { + this.word(kind); + this.space(); + } + + if (node.async) { + this._catchUp("start", key.loc); + + this.word("async"); + this.space(); + } + + if (kind === "method" || kind === "init") { + if (node.generator) { + this.token("*"); + } + } + + if (node.computed) { + this.token("["); + this.print(key, node); + this.token("]"); + } else { + this.print(key, node); + } + + if (node.optional) { + this.token("?"); + } + + this._params(node); +} + +function _predicate(node) { + if (node.predicate) { + if (!node.returnType) { + this.token(":"); + } + + this.space(); + this.print(node.predicate, node); + } +} + +function _functionHead(node) { + if (node.async) { + this.word("async"); + this.space(); + } + + this.word("function"); + if (node.generator) this.token("*"); + this.space(); + + if (node.id) { + this.print(node.id, node); + } + + this._params(node); + + this._predicate(node); +} + +function FunctionExpression(node) { + this._functionHead(node); + + this.space(); + this.print(node.body, node); +} + +function ArrowFunctionExpression(node) { + if (node.async) { + this.word("async"); + this.space(); + } + + const firstParam = node.params[0]; + + if (node.params.length === 1 && t.isIdentifier(firstParam) && !hasTypes(node, firstParam)) { + if ((this.format.retainLines || node.async) && node.loc && node.body.loc && node.loc.start.line < node.body.loc.start.line) { + this.token("("); + + if (firstParam.loc && firstParam.loc.start.line > node.loc.start.line) { + this.indent(); + this.print(firstParam, node); + this.dedent(); + + this._catchUp("start", node.body.loc); + } else { + this.print(firstParam, node); + } + + this.token(")"); + } else { + this.print(firstParam, node); + } + } else { + this._params(node); + } + + this._predicate(node); + + this.space(); + this.token("=>"); + this.space(); + this.print(node.body, node); +} + +function hasTypes(node, param) { + return node.typeParameters || node.returnType || param.typeAnnotation || param.optional || param.trailingComments; +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/modules.js b/node_modules/@babel/generator/lib/generators/modules.js new file mode 100644 index 000000000..96b4eac4a --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/modules.js @@ -0,0 +1,226 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ImportSpecifier = ImportSpecifier; +exports.ImportDefaultSpecifier = ImportDefaultSpecifier; +exports.ExportDefaultSpecifier = ExportDefaultSpecifier; +exports.ExportSpecifier = ExportSpecifier; +exports.ExportNamespaceSpecifier = ExportNamespaceSpecifier; +exports.ExportAllDeclaration = ExportAllDeclaration; +exports.ExportNamedDeclaration = ExportNamedDeclaration; +exports.ExportDefaultDeclaration = ExportDefaultDeclaration; +exports.ImportDeclaration = ImportDeclaration; +exports.ImportAttribute = ImportAttribute; +exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function ImportSpecifier(node) { + if (node.importKind === "type" || node.importKind === "typeof") { + this.word(node.importKind); + this.space(); + } + + this.print(node.imported, node); + + if (node.local && node.local.name !== node.imported.name) { + this.space(); + this.word("as"); + this.space(); + this.print(node.local, node); + } +} + +function ImportDefaultSpecifier(node) { + this.print(node.local, node); +} + +function ExportDefaultSpecifier(node) { + this.print(node.exported, node); +} + +function ExportSpecifier(node) { + this.print(node.local, node); + + if (node.exported && node.local.name !== node.exported.name) { + this.space(); + this.word("as"); + this.space(); + this.print(node.exported, node); + } +} + +function ExportNamespaceSpecifier(node) { + this.token("*"); + this.space(); + this.word("as"); + this.space(); + this.print(node.exported, node); +} + +function ExportAllDeclaration(node) { + this.word("export"); + this.space(); + + if (node.exportKind === "type") { + this.word("type"); + this.space(); + } + + this.token("*"); + this.space(); + this.word("from"); + this.space(); + this.print(node.source, node); + this.semicolon(); +} + +function ExportNamedDeclaration(node) { + if (this.format.decoratorsBeforeExport && t.isClassDeclaration(node.declaration)) { + this.printJoin(node.declaration.decorators, node); + } + + this.word("export"); + this.space(); + ExportDeclaration.apply(this, arguments); +} + +function ExportDefaultDeclaration(node) { + if (this.format.decoratorsBeforeExport && t.isClassDeclaration(node.declaration)) { + this.printJoin(node.declaration.decorators, node); + } + + this.word("export"); + this.space(); + this.word("default"); + this.space(); + ExportDeclaration.apply(this, arguments); +} + +function ExportDeclaration(node) { + if (node.declaration) { + const declar = node.declaration; + this.print(declar, node); + if (!t.isStatement(declar)) this.semicolon(); + } else { + if (node.exportKind === "type") { + this.word("type"); + this.space(); + } + + const specifiers = node.specifiers.slice(0); + let hasSpecial = false; + + for (;;) { + const first = specifiers[0]; + + if (t.isExportDefaultSpecifier(first) || t.isExportNamespaceSpecifier(first)) { + hasSpecial = true; + this.print(specifiers.shift(), node); + + if (specifiers.length) { + this.token(","); + this.space(); + } + } else { + break; + } + } + + if (specifiers.length || !specifiers.length && !hasSpecial) { + this.token("{"); + + if (specifiers.length) { + this.space(); + this.printList(specifiers, node); + this.space(); + } + + this.token("}"); + } + + if (node.source) { + this.space(); + this.word("from"); + this.space(); + this.print(node.source, node); + } + + this.semicolon(); + } +} + +function ImportDeclaration(node) { + var _node$attributes; + + this.word("import"); + this.space(); + + if (node.importKind === "type" || node.importKind === "typeof") { + this.word(node.importKind); + this.space(); + } + + const specifiers = node.specifiers.slice(0); + + if (specifiers == null ? void 0 : specifiers.length) { + for (;;) { + const first = specifiers[0]; + + if (t.isImportDefaultSpecifier(first) || t.isImportNamespaceSpecifier(first)) { + this.print(specifiers.shift(), node); + + if (specifiers.length) { + this.token(","); + this.space(); + } + } else { + break; + } + } + + if (specifiers.length) { + this.token("{"); + this.space(); + this.printList(specifiers, node); + this.space(); + this.token("}"); + } + + this.space(); + this.word("from"); + this.space(); + } + + this.print(node.source, node); + + if ((_node$attributes = node.attributes) == null ? void 0 : _node$attributes.length) { + this.space(); + this.word("with"); + this.space(); + this.printList(node.attributes, node); + } + + this.semicolon(); +} + +function ImportAttribute(node) { + this.print(node.key); + this.token(":"); + this.space(); + this.print(node.value); +} + +function ImportNamespaceSpecifier(node) { + this.token("*"); + this.space(); + this.word("as"); + this.space(); + this.print(node.local, node); +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/statements.js b/node_modules/@babel/generator/lib/generators/statements.js new file mode 100644 index 000000000..3a9dbfa83 --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/statements.js @@ -0,0 +1,314 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.WithStatement = WithStatement; +exports.IfStatement = IfStatement; +exports.ForStatement = ForStatement; +exports.WhileStatement = WhileStatement; +exports.DoWhileStatement = DoWhileStatement; +exports.LabeledStatement = LabeledStatement; +exports.TryStatement = TryStatement; +exports.CatchClause = CatchClause; +exports.SwitchStatement = SwitchStatement; +exports.SwitchCase = SwitchCase; +exports.DebuggerStatement = DebuggerStatement; +exports.VariableDeclaration = VariableDeclaration; +exports.VariableDeclarator = VariableDeclarator; +exports.ThrowStatement = exports.BreakStatement = exports.ReturnStatement = exports.ContinueStatement = exports.ForOfStatement = exports.ForInStatement = void 0; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function WithStatement(node) { + this.word("with"); + this.space(); + this.token("("); + this.print(node.object, node); + this.token(")"); + this.printBlock(node); +} + +function IfStatement(node) { + this.word("if"); + this.space(); + this.token("("); + this.print(node.test, node); + this.token(")"); + this.space(); + const needsBlock = node.alternate && t.isIfStatement(getLastStatement(node.consequent)); + + if (needsBlock) { + this.token("{"); + this.newline(); + this.indent(); + } + + this.printAndIndentOnComments(node.consequent, node); + + if (needsBlock) { + this.dedent(); + this.newline(); + this.token("}"); + } + + if (node.alternate) { + if (this.endsWith("}")) this.space(); + this.word("else"); + this.space(); + this.printAndIndentOnComments(node.alternate, node); + } +} + +function getLastStatement(statement) { + if (!t.isStatement(statement.body)) return statement; + return getLastStatement(statement.body); +} + +function ForStatement(node) { + this.word("for"); + this.space(); + this.token("("); + this.inForStatementInitCounter++; + this.print(node.init, node); + this.inForStatementInitCounter--; + this.token(";"); + + if (node.test) { + this.space(); + this.print(node.test, node); + } + + this.token(";"); + + if (node.update) { + this.space(); + this.print(node.update, node); + } + + this.token(")"); + this.printBlock(node); +} + +function WhileStatement(node) { + this.word("while"); + this.space(); + this.token("("); + this.print(node.test, node); + this.token(")"); + this.printBlock(node); +} + +const buildForXStatement = function (op) { + return function (node) { + this.word("for"); + this.space(); + + if (op === "of" && node.await) { + this.word("await"); + this.space(); + } + + this.token("("); + this.print(node.left, node); + this.space(); + this.word(op); + this.space(); + this.print(node.right, node); + this.token(")"); + this.printBlock(node); + }; +}; + +const ForInStatement = buildForXStatement("in"); +exports.ForInStatement = ForInStatement; +const ForOfStatement = buildForXStatement("of"); +exports.ForOfStatement = ForOfStatement; + +function DoWhileStatement(node) { + this.word("do"); + this.space(); + this.print(node.body, node); + this.space(); + this.word("while"); + this.space(); + this.token("("); + this.print(node.test, node); + this.token(")"); + this.semicolon(); +} + +function buildLabelStatement(prefix, key = "label") { + return function (node) { + this.word(prefix); + const label = node[key]; + + if (label) { + this.space(); + const isLabel = key == "label"; + const terminatorState = this.startTerminatorless(isLabel); + this.print(label, node); + this.endTerminatorless(terminatorState); + } + + this.semicolon(); + }; +} + +const ContinueStatement = buildLabelStatement("continue"); +exports.ContinueStatement = ContinueStatement; +const ReturnStatement = buildLabelStatement("return", "argument"); +exports.ReturnStatement = ReturnStatement; +const BreakStatement = buildLabelStatement("break"); +exports.BreakStatement = BreakStatement; +const ThrowStatement = buildLabelStatement("throw", "argument"); +exports.ThrowStatement = ThrowStatement; + +function LabeledStatement(node) { + this.print(node.label, node); + this.token(":"); + this.space(); + this.print(node.body, node); +} + +function TryStatement(node) { + this.word("try"); + this.space(); + this.print(node.block, node); + this.space(); + + if (node.handlers) { + this.print(node.handlers[0], node); + } else { + this.print(node.handler, node); + } + + if (node.finalizer) { + this.space(); + this.word("finally"); + this.space(); + this.print(node.finalizer, node); + } +} + +function CatchClause(node) { + this.word("catch"); + this.space(); + + if (node.param) { + this.token("("); + this.print(node.param, node); + this.print(node.param.typeAnnotation, node); + this.token(")"); + this.space(); + } + + this.print(node.body, node); +} + +function SwitchStatement(node) { + this.word("switch"); + this.space(); + this.token("("); + this.print(node.discriminant, node); + this.token(")"); + this.space(); + this.token("{"); + this.printSequence(node.cases, node, { + indent: true, + + addNewlines(leading, cas) { + if (!leading && node.cases[node.cases.length - 1] === cas) return -1; + } + + }); + this.token("}"); +} + +function SwitchCase(node) { + if (node.test) { + this.word("case"); + this.space(); + this.print(node.test, node); + this.token(":"); + } else { + this.word("default"); + this.token(":"); + } + + if (node.consequent.length) { + this.newline(); + this.printSequence(node.consequent, node, { + indent: true + }); + } +} + +function DebuggerStatement() { + this.word("debugger"); + this.semicolon(); +} + +function variableDeclarationIndent() { + this.token(","); + this.newline(); + if (this.endsWith("\n")) for (let i = 0; i < 4; i++) this.space(true); +} + +function constDeclarationIndent() { + this.token(","); + this.newline(); + if (this.endsWith("\n")) for (let i = 0; i < 6; i++) this.space(true); +} + +function VariableDeclaration(node, parent) { + if (node.declare) { + this.word("declare"); + this.space(); + } + + this.word(node.kind); + this.space(); + let hasInits = false; + + if (!t.isFor(parent)) { + for (const declar of node.declarations) { + if (declar.init) { + hasInits = true; + } + } + } + + let separator; + + if (hasInits) { + separator = node.kind === "const" ? constDeclarationIndent : variableDeclarationIndent; + } + + this.printList(node.declarations, node, { + separator + }); + + if (t.isFor(parent)) { + if (parent.left === node || parent.init === node) return; + } + + this.semicolon(); +} + +function VariableDeclarator(node) { + this.print(node.id, node); + if (node.definite) this.token("!"); + this.print(node.id.typeAnnotation, node); + + if (node.init) { + this.space(); + this.token("="); + this.space(); + this.print(node.init, node); + } +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/template-literals.js b/node_modules/@babel/generator/lib/generators/template-literals.js new file mode 100644 index 000000000..054330362 --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/template-literals.js @@ -0,0 +1,33 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.TaggedTemplateExpression = TaggedTemplateExpression; +exports.TemplateElement = TemplateElement; +exports.TemplateLiteral = TemplateLiteral; + +function TaggedTemplateExpression(node) { + this.print(node.tag, node); + this.print(node.typeParameters, node); + this.print(node.quasi, node); +} + +function TemplateElement(node, parent) { + const isFirst = parent.quasis[0] === node; + const isLast = parent.quasis[parent.quasis.length - 1] === node; + const value = (isFirst ? "`" : "}") + node.value.raw + (isLast ? "`" : "${"); + this.token(value); +} + +function TemplateLiteral(node) { + const quasis = node.quasis; + + for (let i = 0; i < quasis.length; i++) { + this.print(quasis[i], node); + + if (i + 1 < quasis.length) { + this.print(node.expressions[i], node); + } + } +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/types.js b/node_modules/@babel/generator/lib/generators/types.js new file mode 100644 index 000000000..603a5935b --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/types.js @@ -0,0 +1,263 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.Identifier = Identifier; +exports.ArgumentPlaceholder = ArgumentPlaceholder; +exports.SpreadElement = exports.RestElement = RestElement; +exports.ObjectPattern = exports.ObjectExpression = ObjectExpression; +exports.ObjectMethod = ObjectMethod; +exports.ObjectProperty = ObjectProperty; +exports.ArrayPattern = exports.ArrayExpression = ArrayExpression; +exports.RecordExpression = RecordExpression; +exports.TupleExpression = TupleExpression; +exports.RegExpLiteral = RegExpLiteral; +exports.BooleanLiteral = BooleanLiteral; +exports.NullLiteral = NullLiteral; +exports.NumericLiteral = NumericLiteral; +exports.StringLiteral = StringLiteral; +exports.BigIntLiteral = BigIntLiteral; +exports.DecimalLiteral = DecimalLiteral; +exports.PipelineTopicExpression = PipelineTopicExpression; +exports.PipelineBareFunction = PipelineBareFunction; +exports.PipelinePrimaryTopicReference = PipelinePrimaryTopicReference; + +var t = _interopRequireWildcard(require("@babel/types")); + +var _jsesc = _interopRequireDefault(require("jsesc")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function Identifier(node) { + this.exactSource(node.loc, () => { + this.word(node.name); + }); +} + +function ArgumentPlaceholder() { + this.token("?"); +} + +function RestElement(node) { + this.token("..."); + this.print(node.argument, node); +} + +function ObjectExpression(node) { + const props = node.properties; + this.token("{"); + this.printInnerComments(node); + + if (props.length) { + this.space(); + this.printList(props, node, { + indent: true, + statement: true + }); + this.space(); + } + + this.token("}"); +} + +function ObjectMethod(node) { + this.printJoin(node.decorators, node); + + this._methodHead(node); + + this.space(); + this.print(node.body, node); +} + +function ObjectProperty(node) { + this.printJoin(node.decorators, node); + + if (node.computed) { + this.token("["); + this.print(node.key, node); + this.token("]"); + } else { + if (t.isAssignmentPattern(node.value) && t.isIdentifier(node.key) && node.key.name === node.value.left.name) { + this.print(node.value, node); + return; + } + + this.print(node.key, node); + + if (node.shorthand && t.isIdentifier(node.key) && t.isIdentifier(node.value) && node.key.name === node.value.name) { + return; + } + } + + this.token(":"); + this.space(); + this.print(node.value, node); +} + +function ArrayExpression(node) { + const elems = node.elements; + const len = elems.length; + this.token("["); + this.printInnerComments(node); + + for (let i = 0; i < elems.length; i++) { + const elem = elems[i]; + + if (elem) { + if (i > 0) this.space(); + this.print(elem, node); + if (i < len - 1) this.token(","); + } else { + this.token(","); + } + } + + this.token("]"); +} + +function RecordExpression(node) { + const props = node.properties; + let startToken; + let endToken; + + if (this.format.recordAndTupleSyntaxType === "bar") { + startToken = "{|"; + endToken = "|}"; + } else if (this.format.recordAndTupleSyntaxType === "hash") { + startToken = "#{"; + endToken = "}"; + } else { + throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`); + } + + this.token(startToken); + this.printInnerComments(node); + + if (props.length) { + this.space(); + this.printList(props, node, { + indent: true, + statement: true + }); + this.space(); + } + + this.token(endToken); +} + +function TupleExpression(node) { + const elems = node.elements; + const len = elems.length; + let startToken; + let endToken; + + if (this.format.recordAndTupleSyntaxType === "bar") { + startToken = "[|"; + endToken = "|]"; + } else if (this.format.recordAndTupleSyntaxType === "hash") { + startToken = "#["; + endToken = "]"; + } else { + throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`); + } + + this.token(startToken); + this.printInnerComments(node); + + for (let i = 0; i < elems.length; i++) { + const elem = elems[i]; + + if (elem) { + if (i > 0) this.space(); + this.print(elem, node); + if (i < len - 1) this.token(","); + } + } + + this.token(endToken); +} + +function RegExpLiteral(node) { + this.word(`/${node.pattern}/${node.flags}`); +} + +function BooleanLiteral(node) { + this.word(node.value ? "true" : "false"); +} + +function NullLiteral() { + this.word("null"); +} + +function NumericLiteral(node) { + const raw = this.getPossibleRaw(node); + const opts = this.format.jsescOption; + const value = node.value + ""; + + if (opts.numbers) { + this.number((0, _jsesc.default)(node.value, opts)); + } else if (raw == null) { + this.number(value); + } else if (this.format.minified) { + this.number(raw.length < value.length ? raw : value); + } else { + this.number(raw); + } +} + +function StringLiteral(node) { + const raw = this.getPossibleRaw(node); + + if (!this.format.minified && raw != null) { + this.token(raw); + return; + } + + const opts = this.format.jsescOption; + + if (this.format.jsonCompatibleStrings) { + opts.json = true; + } + + const val = (0, _jsesc.default)(node.value, opts); + return this.token(val); +} + +function BigIntLiteral(node) { + const raw = this.getPossibleRaw(node); + + if (!this.format.minified && raw != null) { + this.token(raw); + return; + } + + this.token(node.value + "n"); +} + +function DecimalLiteral(node) { + const raw = this.getPossibleRaw(node); + + if (!this.format.minified && raw != null) { + this.token(raw); + return; + } + + this.token(node.value + "m"); +} + +function PipelineTopicExpression(node) { + this.print(node.expression, node); +} + +function PipelineBareFunction(node) { + this.print(node.callee, node); +} + +function PipelinePrimaryTopicReference() { + this.token("#"); +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/generators/typescript.js b/node_modules/@babel/generator/lib/generators/typescript.js new file mode 100644 index 000000000..2d4e355a5 --- /dev/null +++ b/node_modules/@babel/generator/lib/generators/typescript.js @@ -0,0 +1,767 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.TSTypeAnnotation = TSTypeAnnotation; +exports.TSTypeParameterDeclaration = exports.TSTypeParameterInstantiation = TSTypeParameterInstantiation; +exports.TSTypeParameter = TSTypeParameter; +exports.TSParameterProperty = TSParameterProperty; +exports.TSDeclareFunction = TSDeclareFunction; +exports.TSDeclareMethod = TSDeclareMethod; +exports.TSQualifiedName = TSQualifiedName; +exports.TSCallSignatureDeclaration = TSCallSignatureDeclaration; +exports.TSConstructSignatureDeclaration = TSConstructSignatureDeclaration; +exports.TSPropertySignature = TSPropertySignature; +exports.tsPrintPropertyOrMethodName = tsPrintPropertyOrMethodName; +exports.TSMethodSignature = TSMethodSignature; +exports.TSIndexSignature = TSIndexSignature; +exports.TSAnyKeyword = TSAnyKeyword; +exports.TSBigIntKeyword = TSBigIntKeyword; +exports.TSUnknownKeyword = TSUnknownKeyword; +exports.TSNumberKeyword = TSNumberKeyword; +exports.TSObjectKeyword = TSObjectKeyword; +exports.TSBooleanKeyword = TSBooleanKeyword; +exports.TSStringKeyword = TSStringKeyword; +exports.TSSymbolKeyword = TSSymbolKeyword; +exports.TSVoidKeyword = TSVoidKeyword; +exports.TSUndefinedKeyword = TSUndefinedKeyword; +exports.TSNullKeyword = TSNullKeyword; +exports.TSNeverKeyword = TSNeverKeyword; +exports.TSThisType = TSThisType; +exports.TSFunctionType = TSFunctionType; +exports.TSConstructorType = TSConstructorType; +exports.tsPrintFunctionOrConstructorType = tsPrintFunctionOrConstructorType; +exports.TSTypeReference = TSTypeReference; +exports.TSTypePredicate = TSTypePredicate; +exports.TSTypeQuery = TSTypeQuery; +exports.TSTypeLiteral = TSTypeLiteral; +exports.tsPrintTypeLiteralOrInterfaceBody = tsPrintTypeLiteralOrInterfaceBody; +exports.tsPrintBraced = tsPrintBraced; +exports.TSArrayType = TSArrayType; +exports.TSTupleType = TSTupleType; +exports.TSOptionalType = TSOptionalType; +exports.TSRestType = TSRestType; +exports.TSNamedTupleMember = TSNamedTupleMember; +exports.TSUnionType = TSUnionType; +exports.TSIntersectionType = TSIntersectionType; +exports.tsPrintUnionOrIntersectionType = tsPrintUnionOrIntersectionType; +exports.TSConditionalType = TSConditionalType; +exports.TSInferType = TSInferType; +exports.TSParenthesizedType = TSParenthesizedType; +exports.TSTypeOperator = TSTypeOperator; +exports.TSIndexedAccessType = TSIndexedAccessType; +exports.TSMappedType = TSMappedType; +exports.TSLiteralType = TSLiteralType; +exports.TSExpressionWithTypeArguments = TSExpressionWithTypeArguments; +exports.TSInterfaceDeclaration = TSInterfaceDeclaration; +exports.TSInterfaceBody = TSInterfaceBody; +exports.TSTypeAliasDeclaration = TSTypeAliasDeclaration; +exports.TSAsExpression = TSAsExpression; +exports.TSTypeAssertion = TSTypeAssertion; +exports.TSEnumDeclaration = TSEnumDeclaration; +exports.TSEnumMember = TSEnumMember; +exports.TSModuleDeclaration = TSModuleDeclaration; +exports.TSModuleBlock = TSModuleBlock; +exports.TSImportType = TSImportType; +exports.TSImportEqualsDeclaration = TSImportEqualsDeclaration; +exports.TSExternalModuleReference = TSExternalModuleReference; +exports.TSNonNullExpression = TSNonNullExpression; +exports.TSExportAssignment = TSExportAssignment; +exports.TSNamespaceExportDeclaration = TSNamespaceExportDeclaration; +exports.tsPrintSignatureDeclarationBase = tsPrintSignatureDeclarationBase; +exports.tsPrintClassMemberModifiers = tsPrintClassMemberModifiers; + +function TSTypeAnnotation(node) { + this.token(":"); + this.space(); + if (node.optional) this.token("?"); + this.print(node.typeAnnotation, node); +} + +function TSTypeParameterInstantiation(node) { + this.token("<"); + this.printList(node.params, node, {}); + this.token(">"); +} + +function TSTypeParameter(node) { + this.word(node.name); + + if (node.constraint) { + this.space(); + this.word("extends"); + this.space(); + this.print(node.constraint, node); + } + + if (node.default) { + this.space(); + this.token("="); + this.space(); + this.print(node.default, node); + } +} + +function TSParameterProperty(node) { + if (node.accessibility) { + this.word(node.accessibility); + this.space(); + } + + if (node.readonly) { + this.word("readonly"); + this.space(); + } + + this._param(node.parameter); +} + +function TSDeclareFunction(node) { + if (node.declare) { + this.word("declare"); + this.space(); + } + + this._functionHead(node); + + this.token(";"); +} + +function TSDeclareMethod(node) { + this._classMethodHead(node); + + this.token(";"); +} + +function TSQualifiedName(node) { + this.print(node.left, node); + this.token("."); + this.print(node.right, node); +} + +function TSCallSignatureDeclaration(node) { + this.tsPrintSignatureDeclarationBase(node); + this.token(";"); +} + +function TSConstructSignatureDeclaration(node) { + this.word("new"); + this.space(); + this.tsPrintSignatureDeclarationBase(node); + this.token(";"); +} + +function TSPropertySignature(node) { + const { + readonly, + initializer + } = node; + + if (readonly) { + this.word("readonly"); + this.space(); + } + + this.tsPrintPropertyOrMethodName(node); + this.print(node.typeAnnotation, node); + + if (initializer) { + this.space(); + this.token("="); + this.space(); + this.print(initializer, node); + } + + this.token(";"); +} + +function tsPrintPropertyOrMethodName(node) { + if (node.computed) { + this.token("["); + } + + this.print(node.key, node); + + if (node.computed) { + this.token("]"); + } + + if (node.optional) { + this.token("?"); + } +} + +function TSMethodSignature(node) { + this.tsPrintPropertyOrMethodName(node); + this.tsPrintSignatureDeclarationBase(node); + this.token(";"); +} + +function TSIndexSignature(node) { + const { + readonly + } = node; + + if (readonly) { + this.word("readonly"); + this.space(); + } + + this.token("["); + + this._parameters(node.parameters, node); + + this.token("]"); + this.print(node.typeAnnotation, node); + this.token(";"); +} + +function TSAnyKeyword() { + this.word("any"); +} + +function TSBigIntKeyword() { + this.word("bigint"); +} + +function TSUnknownKeyword() { + this.word("unknown"); +} + +function TSNumberKeyword() { + this.word("number"); +} + +function TSObjectKeyword() { + this.word("object"); +} + +function TSBooleanKeyword() { + this.word("boolean"); +} + +function TSStringKeyword() { + this.word("string"); +} + +function TSSymbolKeyword() { + this.word("symbol"); +} + +function TSVoidKeyword() { + this.word("void"); +} + +function TSUndefinedKeyword() { + this.word("undefined"); +} + +function TSNullKeyword() { + this.word("null"); +} + +function TSNeverKeyword() { + this.word("never"); +} + +function TSThisType() { + this.word("this"); +} + +function TSFunctionType(node) { + this.tsPrintFunctionOrConstructorType(node); +} + +function TSConstructorType(node) { + this.word("new"); + this.space(); + this.tsPrintFunctionOrConstructorType(node); +} + +function tsPrintFunctionOrConstructorType(node) { + const { + typeParameters, + parameters + } = node; + this.print(typeParameters, node); + this.token("("); + + this._parameters(parameters, node); + + this.token(")"); + this.space(); + this.token("=>"); + this.space(); + this.print(node.typeAnnotation.typeAnnotation, node); +} + +function TSTypeReference(node) { + this.print(node.typeName, node); + this.print(node.typeParameters, node); +} + +function TSTypePredicate(node) { + if (node.asserts) { + this.word("asserts"); + this.space(); + } + + this.print(node.parameterName); + + if (node.typeAnnotation) { + this.space(); + this.word("is"); + this.space(); + this.print(node.typeAnnotation.typeAnnotation); + } +} + +function TSTypeQuery(node) { + this.word("typeof"); + this.space(); + this.print(node.exprName); +} + +function TSTypeLiteral(node) { + this.tsPrintTypeLiteralOrInterfaceBody(node.members, node); +} + +function tsPrintTypeLiteralOrInterfaceBody(members, node) { + this.tsPrintBraced(members, node); +} + +function tsPrintBraced(members, node) { + this.token("{"); + + if (members.length) { + this.indent(); + this.newline(); + + for (const member of members) { + this.print(member, node); + this.newline(); + } + + this.dedent(); + this.rightBrace(); + } else { + this.token("}"); + } +} + +function TSArrayType(node) { + this.print(node.elementType, node); + this.token("[]"); +} + +function TSTupleType(node) { + this.token("["); + this.printList(node.elementTypes, node); + this.token("]"); +} + +function TSOptionalType(node) { + this.print(node.typeAnnotation, node); + this.token("?"); +} + +function TSRestType(node) { + this.token("..."); + this.print(node.typeAnnotation, node); +} + +function TSNamedTupleMember(node) { + this.print(node.label, node); + if (node.optional) this.token("?"); + this.token(":"); + this.space(); + this.print(node.elementType, node); +} + +function TSUnionType(node) { + this.tsPrintUnionOrIntersectionType(node, "|"); +} + +function TSIntersectionType(node) { + this.tsPrintUnionOrIntersectionType(node, "&"); +} + +function tsPrintUnionOrIntersectionType(node, sep) { + this.printJoin(node.types, node, { + separator() { + this.space(); + this.token(sep); + this.space(); + } + + }); +} + +function TSConditionalType(node) { + this.print(node.checkType); + this.space(); + this.word("extends"); + this.space(); + this.print(node.extendsType); + this.space(); + this.token("?"); + this.space(); + this.print(node.trueType); + this.space(); + this.token(":"); + this.space(); + this.print(node.falseType); +} + +function TSInferType(node) { + this.token("infer"); + this.space(); + this.print(node.typeParameter); +} + +function TSParenthesizedType(node) { + this.token("("); + this.print(node.typeAnnotation, node); + this.token(")"); +} + +function TSTypeOperator(node) { + this.token(node.operator); + this.space(); + this.print(node.typeAnnotation, node); +} + +function TSIndexedAccessType(node) { + this.print(node.objectType, node); + this.token("["); + this.print(node.indexType, node); + this.token("]"); +} + +function TSMappedType(node) { + const { + readonly, + typeParameter, + optional + } = node; + this.token("{"); + this.space(); + + if (readonly) { + tokenIfPlusMinus(this, readonly); + this.word("readonly"); + this.space(); + } + + this.token("["); + this.word(typeParameter.name); + this.space(); + this.word("in"); + this.space(); + this.print(typeParameter.constraint, typeParameter); + this.token("]"); + + if (optional) { + tokenIfPlusMinus(this, optional); + this.token("?"); + } + + this.token(":"); + this.space(); + this.print(node.typeAnnotation, node); + this.space(); + this.token("}"); +} + +function tokenIfPlusMinus(self, tok) { + if (tok !== true) { + self.token(tok); + } +} + +function TSLiteralType(node) { + this.print(node.literal, node); +} + +function TSExpressionWithTypeArguments(node) { + this.print(node.expression, node); + this.print(node.typeParameters, node); +} + +function TSInterfaceDeclaration(node) { + const { + declare, + id, + typeParameters, + extends: extendz, + body + } = node; + + if (declare) { + this.word("declare"); + this.space(); + } + + this.word("interface"); + this.space(); + this.print(id, node); + this.print(typeParameters, node); + + if (extendz) { + this.space(); + this.word("extends"); + this.space(); + this.printList(extendz, node); + } + + this.space(); + this.print(body, node); +} + +function TSInterfaceBody(node) { + this.tsPrintTypeLiteralOrInterfaceBody(node.body, node); +} + +function TSTypeAliasDeclaration(node) { + const { + declare, + id, + typeParameters, + typeAnnotation + } = node; + + if (declare) { + this.word("declare"); + this.space(); + } + + this.word("type"); + this.space(); + this.print(id, node); + this.print(typeParameters, node); + this.space(); + this.token("="); + this.space(); + this.print(typeAnnotation, node); + this.token(";"); +} + +function TSAsExpression(node) { + const { + expression, + typeAnnotation + } = node; + this.print(expression, node); + this.space(); + this.word("as"); + this.space(); + this.print(typeAnnotation, node); +} + +function TSTypeAssertion(node) { + const { + typeAnnotation, + expression + } = node; + this.token("<"); + this.print(typeAnnotation, node); + this.token(">"); + this.space(); + this.print(expression, node); +} + +function TSEnumDeclaration(node) { + const { + declare, + const: isConst, + id, + members + } = node; + + if (declare) { + this.word("declare"); + this.space(); + } + + if (isConst) { + this.word("const"); + this.space(); + } + + this.word("enum"); + this.space(); + this.print(id, node); + this.space(); + this.tsPrintBraced(members, node); +} + +function TSEnumMember(node) { + const { + id, + initializer + } = node; + this.print(id, node); + + if (initializer) { + this.space(); + this.token("="); + this.space(); + this.print(initializer, node); + } + + this.token(","); +} + +function TSModuleDeclaration(node) { + const { + declare, + id + } = node; + + if (declare) { + this.word("declare"); + this.space(); + } + + if (!node.global) { + this.word(id.type === "Identifier" ? "namespace" : "module"); + this.space(); + } + + this.print(id, node); + + if (!node.body) { + this.token(";"); + return; + } + + let body = node.body; + + while (body.type === "TSModuleDeclaration") { + this.token("."); + this.print(body.id, body); + body = body.body; + } + + this.space(); + this.print(body, node); +} + +function TSModuleBlock(node) { + this.tsPrintBraced(node.body, node); +} + +function TSImportType(node) { + const { + argument, + qualifier, + typeParameters + } = node; + this.word("import"); + this.token("("); + this.print(argument, node); + this.token(")"); + + if (qualifier) { + this.token("."); + this.print(qualifier, node); + } + + if (typeParameters) { + this.print(typeParameters, node); + } +} + +function TSImportEqualsDeclaration(node) { + const { + isExport, + id, + moduleReference + } = node; + + if (isExport) { + this.word("export"); + this.space(); + } + + this.word("import"); + this.space(); + this.print(id, node); + this.space(); + this.token("="); + this.space(); + this.print(moduleReference, node); + this.token(";"); +} + +function TSExternalModuleReference(node) { + this.token("require("); + this.print(node.expression, node); + this.token(")"); +} + +function TSNonNullExpression(node) { + this.print(node.expression, node); + this.token("!"); +} + +function TSExportAssignment(node) { + this.word("export"); + this.space(); + this.token("="); + this.space(); + this.print(node.expression, node); + this.token(";"); +} + +function TSNamespaceExportDeclaration(node) { + this.word("export"); + this.space(); + this.word("as"); + this.space(); + this.word("namespace"); + this.space(); + this.print(node.id, node); +} + +function tsPrintSignatureDeclarationBase(node) { + const { + typeParameters, + parameters + } = node; + this.print(typeParameters, node); + this.token("("); + + this._parameters(parameters, node); + + this.token(")"); + this.print(node.typeAnnotation, node); +} + +function tsPrintClassMemberModifiers(node, isField) { + if (isField && node.declare) { + this.word("declare"); + this.space(); + } + + if (node.accessibility) { + this.word(node.accessibility); + this.space(); + } + + if (node.static) { + this.word("static"); + this.space(); + } + + if (node.abstract) { + this.word("abstract"); + this.space(); + } + + if (isField && node.readonly) { + this.word("readonly"); + this.space(); + } +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/index.js b/node_modules/@babel/generator/lib/index.js new file mode 100644 index 000000000..2ac41d298 --- /dev/null +++ b/node_modules/@babel/generator/lib/index.js @@ -0,0 +1,93 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; +exports.CodeGenerator = void 0; + +var _sourceMap = _interopRequireDefault(require("./source-map")); + +var _printer = _interopRequireDefault(require("./printer")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +class Generator extends _printer.default { + constructor(ast, opts = {}, code) { + const format = normalizeOptions(code, opts); + const map = opts.sourceMaps ? new _sourceMap.default(opts, code) : null; + super(format, map); + this.ast = ast; + } + + generate() { + return super.generate(this.ast); + } + +} + +function normalizeOptions(code, opts) { + const format = { + auxiliaryCommentBefore: opts.auxiliaryCommentBefore, + auxiliaryCommentAfter: opts.auxiliaryCommentAfter, + shouldPrintComment: opts.shouldPrintComment, + retainLines: opts.retainLines, + retainFunctionParens: opts.retainFunctionParens, + comments: opts.comments == null || opts.comments, + compact: opts.compact, + minified: opts.minified, + concise: opts.concise, + jsonCompatibleStrings: opts.jsonCompatibleStrings, + indent: { + adjustMultilineComment: true, + style: " ", + base: 0 + }, + decoratorsBeforeExport: !!opts.decoratorsBeforeExport, + jsescOption: Object.assign({ + quotes: "double", + wrap: true + }, opts.jsescOption), + recordAndTupleSyntaxType: opts.recordAndTupleSyntaxType + }; + + if (format.minified) { + format.compact = true; + + format.shouldPrintComment = format.shouldPrintComment || (() => format.comments); + } else { + format.shouldPrintComment = format.shouldPrintComment || (value => format.comments || value.indexOf("@license") >= 0 || value.indexOf("@preserve") >= 0); + } + + if (format.compact === "auto") { + format.compact = code.length > 500000; + + if (format.compact) { + console.error("[BABEL] Note: The code generator has deoptimised the styling of " + `${opts.filename} as it exceeds the max of ${"500KB"}.`); + } + } + + if (format.compact) { + format.indent.adjustMultilineComment = false; + } + + return format; +} + +class CodeGenerator { + constructor(ast, opts, code) { + this._generator = new Generator(ast, opts, code); + } + + generate() { + return this._generator.generate(); + } + +} + +exports.CodeGenerator = CodeGenerator; + +function _default(ast, opts, code) { + const gen = new Generator(ast, opts, code); + return gen.generate(); +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/node/index.js b/node_modules/@babel/generator/lib/node/index.js new file mode 100644 index 000000000..1cbc55ecc --- /dev/null +++ b/node_modules/@babel/generator/lib/node/index.js @@ -0,0 +1,107 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.needsWhitespace = needsWhitespace; +exports.needsWhitespaceBefore = needsWhitespaceBefore; +exports.needsWhitespaceAfter = needsWhitespaceAfter; +exports.needsParens = needsParens; + +var whitespace = _interopRequireWildcard(require("./whitespace")); + +var parens = _interopRequireWildcard(require("./parentheses")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function expandAliases(obj) { + const newObj = {}; + + function add(type, func) { + const fn = newObj[type]; + newObj[type] = fn ? function (node, parent, stack) { + const result = fn(node, parent, stack); + return result == null ? func(node, parent, stack) : result; + } : func; + } + + for (const type of Object.keys(obj)) { + const aliases = t.FLIPPED_ALIAS_KEYS[type]; + + if (aliases) { + for (const alias of aliases) { + add(alias, obj[type]); + } + } else { + add(type, obj[type]); + } + } + + return newObj; +} + +const expandedParens = expandAliases(parens); +const expandedWhitespaceNodes = expandAliases(whitespace.nodes); +const expandedWhitespaceList = expandAliases(whitespace.list); + +function find(obj, node, parent, printStack) { + const fn = obj[node.type]; + return fn ? fn(node, parent, printStack) : null; +} + +function isOrHasCallExpression(node) { + if (t.isCallExpression(node)) { + return true; + } + + return t.isMemberExpression(node) && isOrHasCallExpression(node.object); +} + +function needsWhitespace(node, parent, type) { + if (!node) return 0; + + if (t.isExpressionStatement(node)) { + node = node.expression; + } + + let linesInfo = find(expandedWhitespaceNodes, node, parent); + + if (!linesInfo) { + const items = find(expandedWhitespaceList, node, parent); + + if (items) { + for (let i = 0; i < items.length; i++) { + linesInfo = needsWhitespace(items[i], node, type); + if (linesInfo) break; + } + } + } + + if (typeof linesInfo === "object" && linesInfo !== null) { + return linesInfo[type] || 0; + } + + return 0; +} + +function needsWhitespaceBefore(node, parent) { + return needsWhitespace(node, parent, "before"); +} + +function needsWhitespaceAfter(node, parent) { + return needsWhitespace(node, parent, "after"); +} + +function needsParens(node, parent, printStack) { + if (!parent) return false; + + if (t.isNewExpression(parent) && parent.callee === node) { + if (isOrHasCallExpression(node)) return true; + } + + return find(expandedParens, node, parent, printStack); +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/node/parentheses.js b/node_modules/@babel/generator/lib/node/parentheses.js new file mode 100644 index 000000000..44e7d43f9 --- /dev/null +++ b/node_modules/@babel/generator/lib/node/parentheses.js @@ -0,0 +1,253 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.NullableTypeAnnotation = NullableTypeAnnotation; +exports.FunctionTypeAnnotation = FunctionTypeAnnotation; +exports.UpdateExpression = UpdateExpression; +exports.ObjectExpression = ObjectExpression; +exports.DoExpression = DoExpression; +exports.Binary = Binary; +exports.IntersectionTypeAnnotation = exports.UnionTypeAnnotation = UnionTypeAnnotation; +exports.TSAsExpression = TSAsExpression; +exports.TSTypeAssertion = TSTypeAssertion; +exports.TSIntersectionType = exports.TSUnionType = TSUnionType; +exports.TSInferType = TSInferType; +exports.BinaryExpression = BinaryExpression; +exports.SequenceExpression = SequenceExpression; +exports.AwaitExpression = exports.YieldExpression = YieldExpression; +exports.ClassExpression = ClassExpression; +exports.UnaryLike = UnaryLike; +exports.FunctionExpression = FunctionExpression; +exports.ArrowFunctionExpression = ArrowFunctionExpression; +exports.ConditionalExpression = ConditionalExpression; +exports.OptionalCallExpression = exports.OptionalMemberExpression = OptionalMemberExpression; +exports.AssignmentExpression = AssignmentExpression; +exports.LogicalExpression = LogicalExpression; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const PRECEDENCE = { + "||": 0, + "??": 0, + "&&": 1, + "|": 2, + "^": 3, + "&": 4, + "==": 5, + "===": 5, + "!=": 5, + "!==": 5, + "<": 6, + ">": 6, + "<=": 6, + ">=": 6, + in: 6, + instanceof: 6, + ">>": 7, + "<<": 7, + ">>>": 7, + "+": 8, + "-": 8, + "*": 9, + "/": 9, + "%": 9, + "**": 10 +}; + +const isClassExtendsClause = (node, parent) => (t.isClassDeclaration(parent) || t.isClassExpression(parent)) && parent.superClass === node; + +const hasPostfixPart = (node, parent) => (t.isMemberExpression(parent) || t.isOptionalMemberExpression(parent)) && parent.object === node || (t.isCallExpression(parent) || t.isOptionalCallExpression(parent) || t.isNewExpression(parent)) && parent.callee === node || t.isTaggedTemplateExpression(parent) && parent.tag === node || t.isTSNonNullExpression(parent); + +function NullableTypeAnnotation(node, parent) { + return t.isArrayTypeAnnotation(parent); +} + +function FunctionTypeAnnotation(node, parent, printStack) { + return t.isUnionTypeAnnotation(parent) || t.isIntersectionTypeAnnotation(parent) || t.isArrayTypeAnnotation(parent) || t.isTypeAnnotation(parent) && t.isArrowFunctionExpression(printStack[printStack.length - 3]); +} + +function UpdateExpression(node, parent) { + return hasPostfixPart(node, parent) || isClassExtendsClause(node, parent); +} + +function ObjectExpression(node, parent, printStack) { + return isFirstInStatement(printStack, { + considerArrow: true + }); +} + +function DoExpression(node, parent, printStack) { + return isFirstInStatement(printStack); +} + +function Binary(node, parent) { + if (node.operator === "**" && t.isBinaryExpression(parent, { + operator: "**" + })) { + return parent.left === node; + } + + if (isClassExtendsClause(node, parent)) { + return true; + } + + if (hasPostfixPart(node, parent) || t.isUnaryLike(parent) || t.isAwaitExpression(parent)) { + return true; + } + + if (t.isBinary(parent)) { + const parentOp = parent.operator; + const parentPos = PRECEDENCE[parentOp]; + const nodeOp = node.operator; + const nodePos = PRECEDENCE[nodeOp]; + + if (parentPos === nodePos && parent.right === node && !t.isLogicalExpression(parent) || parentPos > nodePos) { + return true; + } + } +} + +function UnionTypeAnnotation(node, parent) { + return t.isArrayTypeAnnotation(parent) || t.isNullableTypeAnnotation(parent) || t.isIntersectionTypeAnnotation(parent) || t.isUnionTypeAnnotation(parent); +} + +function TSAsExpression() { + return true; +} + +function TSTypeAssertion() { + return true; +} + +function TSUnionType(node, parent) { + return t.isTSArrayType(parent) || t.isTSOptionalType(parent) || t.isTSIntersectionType(parent) || t.isTSUnionType(parent) || t.isTSRestType(parent); +} + +function TSInferType(node, parent) { + return t.isTSArrayType(parent) || t.isTSOptionalType(parent); +} + +function BinaryExpression(node, parent) { + return node.operator === "in" && (t.isVariableDeclarator(parent) || t.isFor(parent)); +} + +function SequenceExpression(node, parent) { + if (t.isForStatement(parent) || t.isThrowStatement(parent) || t.isReturnStatement(parent) || t.isIfStatement(parent) && parent.test === node || t.isWhileStatement(parent) && parent.test === node || t.isForInStatement(parent) && parent.right === node || t.isSwitchStatement(parent) && parent.discriminant === node || t.isExpressionStatement(parent) && parent.expression === node) { + return false; + } + + return true; +} + +function YieldExpression(node, parent) { + return t.isBinary(parent) || t.isUnaryLike(parent) || hasPostfixPart(node, parent) || t.isAwaitExpression(parent) && t.isYieldExpression(node) || t.isConditionalExpression(parent) && node === parent.test || isClassExtendsClause(node, parent); +} + +function ClassExpression(node, parent, printStack) { + return isFirstInStatement(printStack, { + considerDefaultExports: true + }); +} + +function UnaryLike(node, parent) { + return hasPostfixPart(node, parent) || t.isBinaryExpression(parent, { + operator: "**", + left: node + }) || isClassExtendsClause(node, parent); +} + +function FunctionExpression(node, parent, printStack) { + return isFirstInStatement(printStack, { + considerDefaultExports: true + }); +} + +function ArrowFunctionExpression(node, parent) { + return t.isExportDeclaration(parent) || ConditionalExpression(node, parent); +} + +function ConditionalExpression(node, parent) { + if (t.isUnaryLike(parent) || t.isBinary(parent) || t.isConditionalExpression(parent, { + test: node + }) || t.isAwaitExpression(parent) || t.isTSTypeAssertion(parent) || t.isTSAsExpression(parent)) { + return true; + } + + return UnaryLike(node, parent); +} + +function OptionalMemberExpression(node, parent) { + return t.isCallExpression(parent, { + callee: node + }) || t.isMemberExpression(parent, { + object: node + }); +} + +function AssignmentExpression(node, parent, printStack) { + if (t.isObjectPattern(node.left)) { + return true; + } else { + return ConditionalExpression(node, parent, printStack); + } +} + +function LogicalExpression(node, parent) { + switch (node.operator) { + case "||": + if (!t.isLogicalExpression(parent)) return false; + return parent.operator === "??" || parent.operator === "&&"; + + case "&&": + return t.isLogicalExpression(parent, { + operator: "??" + }); + + case "??": + return t.isLogicalExpression(parent) && parent.operator !== "??"; + } +} + +function isFirstInStatement(printStack, { + considerArrow = false, + considerDefaultExports = false +} = {}) { + let i = printStack.length - 1; + let node = printStack[i]; + i--; + let parent = printStack[i]; + + while (i > 0) { + if (t.isExpressionStatement(parent, { + expression: node + }) || considerDefaultExports && t.isExportDefaultDeclaration(parent, { + declaration: node + }) || considerArrow && t.isArrowFunctionExpression(parent, { + body: node + })) { + return true; + } + + if (hasPostfixPart(node, parent) && !t.isNewExpression(parent) || t.isSequenceExpression(parent) && parent.expressions[0] === node || t.isConditional(parent, { + test: node + }) || t.isBinary(parent, { + left: node + }) || t.isAssignmentExpression(parent, { + left: node + })) { + node = parent; + i--; + parent = printStack[i]; + } else { + return false; + } + } + + return false; +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/node/whitespace.js b/node_modules/@babel/generator/lib/node/whitespace.js new file mode 100644 index 000000000..92efe538a --- /dev/null +++ b/node_modules/@babel/generator/lib/node/whitespace.js @@ -0,0 +1,201 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.list = exports.nodes = void 0; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function crawl(node, state = {}) { + if (t.isMemberExpression(node) || t.isOptionalMemberExpression(node)) { + crawl(node.object, state); + if (node.computed) crawl(node.property, state); + } else if (t.isBinary(node) || t.isAssignmentExpression(node)) { + crawl(node.left, state); + crawl(node.right, state); + } else if (t.isCallExpression(node) || t.isOptionalCallExpression(node)) { + state.hasCall = true; + crawl(node.callee, state); + } else if (t.isFunction(node)) { + state.hasFunction = true; + } else if (t.isIdentifier(node)) { + state.hasHelper = state.hasHelper || isHelper(node.callee); + } + + return state; +} + +function isHelper(node) { + if (t.isMemberExpression(node)) { + return isHelper(node.object) || isHelper(node.property); + } else if (t.isIdentifier(node)) { + return node.name === "require" || node.name[0] === "_"; + } else if (t.isCallExpression(node)) { + return isHelper(node.callee); + } else if (t.isBinary(node) || t.isAssignmentExpression(node)) { + return t.isIdentifier(node.left) && isHelper(node.left) || isHelper(node.right); + } else { + return false; + } +} + +function isType(node) { + return t.isLiteral(node) || t.isObjectExpression(node) || t.isArrayExpression(node) || t.isIdentifier(node) || t.isMemberExpression(node); +} + +const nodes = { + AssignmentExpression(node) { + const state = crawl(node.right); + + if (state.hasCall && state.hasHelper || state.hasFunction) { + return { + before: state.hasFunction, + after: true + }; + } + }, + + SwitchCase(node, parent) { + return { + before: node.consequent.length || parent.cases[0] === node, + after: !node.consequent.length && parent.cases[parent.cases.length - 1] === node + }; + }, + + LogicalExpression(node) { + if (t.isFunction(node.left) || t.isFunction(node.right)) { + return { + after: true + }; + } + }, + + Literal(node) { + if (node.value === "use strict") { + return { + after: true + }; + } + }, + + CallExpression(node) { + if (t.isFunction(node.callee) || isHelper(node)) { + return { + before: true, + after: true + }; + } + }, + + OptionalCallExpression(node) { + if (t.isFunction(node.callee)) { + return { + before: true, + after: true + }; + } + }, + + VariableDeclaration(node) { + for (let i = 0; i < node.declarations.length; i++) { + const declar = node.declarations[i]; + let enabled = isHelper(declar.id) && !isType(declar.init); + + if (!enabled) { + const state = crawl(declar.init); + enabled = isHelper(declar.init) && state.hasCall || state.hasFunction; + } + + if (enabled) { + return { + before: true, + after: true + }; + } + } + }, + + IfStatement(node) { + if (t.isBlockStatement(node.consequent)) { + return { + before: true, + after: true + }; + } + } + +}; +exports.nodes = nodes; + +nodes.ObjectProperty = nodes.ObjectTypeProperty = nodes.ObjectMethod = function (node, parent) { + if (parent.properties[0] === node) { + return { + before: true + }; + } +}; + +nodes.ObjectTypeCallProperty = function (node, parent) { + var _parent$properties; + + if (parent.callProperties[0] === node && !((_parent$properties = parent.properties) == null ? void 0 : _parent$properties.length)) { + return { + before: true + }; + } +}; + +nodes.ObjectTypeIndexer = function (node, parent) { + var _parent$properties2, _parent$callPropertie; + + if (parent.indexers[0] === node && !((_parent$properties2 = parent.properties) == null ? void 0 : _parent$properties2.length) && !((_parent$callPropertie = parent.callProperties) == null ? void 0 : _parent$callPropertie.length)) { + return { + before: true + }; + } +}; + +nodes.ObjectTypeInternalSlot = function (node, parent) { + var _parent$properties3, _parent$callPropertie2, _parent$indexers; + + if (parent.internalSlots[0] === node && !((_parent$properties3 = parent.properties) == null ? void 0 : _parent$properties3.length) && !((_parent$callPropertie2 = parent.callProperties) == null ? void 0 : _parent$callPropertie2.length) && !((_parent$indexers = parent.indexers) == null ? void 0 : _parent$indexers.length)) { + return { + before: true + }; + } +}; + +const list = { + VariableDeclaration(node) { + return node.declarations.map(decl => decl.init); + }, + + ArrayExpression(node) { + return node.elements; + }, + + ObjectExpression(node) { + return node.properties; + } + +}; +exports.list = list; +[["Function", true], ["Class", true], ["Loop", true], ["LabeledStatement", true], ["SwitchStatement", true], ["TryStatement", true]].forEach(function ([type, amounts]) { + if (typeof amounts === "boolean") { + amounts = { + after: amounts, + before: amounts + }; + } + + [type].concat(t.FLIPPED_ALIAS_KEYS[type] || []).forEach(function (type) { + nodes[type] = function () { + return amounts; + }; + }); +}); \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/printer.js b/node_modules/@babel/generator/lib/printer.js new file mode 100644 index 000000000..8b1061cfd --- /dev/null +++ b/node_modules/@babel/generator/lib/printer.js @@ -0,0 +1,498 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _buffer = _interopRequireDefault(require("./buffer")); + +var n = _interopRequireWildcard(require("./node")); + +var t = _interopRequireWildcard(require("@babel/types")); + +var generatorFunctions = _interopRequireWildcard(require("./generators")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const SCIENTIFIC_NOTATION = /e/i; +const ZERO_DECIMAL_INTEGER = /\.0+$/; +const NON_DECIMAL_LITERAL = /^0[box]/; +const PURE_ANNOTATION_RE = /^\s*[@#]__PURE__\s*$/; + +class Printer { + constructor(format, map) { + this.inForStatementInitCounter = 0; + this._printStack = []; + this._indent = 0; + this._insideAux = false; + this._printedCommentStarts = {}; + this._parenPushNewlineState = null; + this._noLineTerminator = false; + this._printAuxAfterOnNextUserNode = false; + this._printedComments = new WeakSet(); + this._endsWithInteger = false; + this._endsWithWord = false; + this.format = format || {}; + this._buf = new _buffer.default(map); + } + + generate(ast) { + this.print(ast); + + this._maybeAddAuxComment(); + + return this._buf.get(); + } + + indent() { + if (this.format.compact || this.format.concise) return; + this._indent++; + } + + dedent() { + if (this.format.compact || this.format.concise) return; + this._indent--; + } + + semicolon(force = false) { + this._maybeAddAuxComment(); + + this._append(";", !force); + } + + rightBrace() { + if (this.format.minified) { + this._buf.removeLastSemicolon(); + } + + this.token("}"); + } + + space(force = false) { + if (this.format.compact) return; + + if (this._buf.hasContent() && !this.endsWith(" ") && !this.endsWith("\n") || force) { + this._space(); + } + } + + word(str) { + if (this._endsWithWord || this.endsWith("/") && str.indexOf("/") === 0) { + this._space(); + } + + this._maybeAddAuxComment(); + + this._append(str); + + this._endsWithWord = true; + } + + number(str) { + this.word(str); + this._endsWithInteger = Number.isInteger(+str) && !NON_DECIMAL_LITERAL.test(str) && !SCIENTIFIC_NOTATION.test(str) && !ZERO_DECIMAL_INTEGER.test(str) && str[str.length - 1] !== "."; + } + + token(str) { + if (str === "--" && this.endsWith("!") || str[0] === "+" && this.endsWith("+") || str[0] === "-" && this.endsWith("-") || str[0] === "." && this._endsWithInteger) { + this._space(); + } + + this._maybeAddAuxComment(); + + this._append(str); + } + + newline(i) { + if (this.format.retainLines || this.format.compact) return; + + if (this.format.concise) { + this.space(); + return; + } + + if (this.endsWith("\n\n")) return; + if (typeof i !== "number") i = 1; + i = Math.min(2, i); + if (this.endsWith("{\n") || this.endsWith(":\n")) i--; + if (i <= 0) return; + + for (let j = 0; j < i; j++) { + this._newline(); + } + } + + endsWith(str) { + return this._buf.endsWith(str); + } + + removeTrailingNewline() { + this._buf.removeTrailingNewline(); + } + + exactSource(loc, cb) { + this._catchUp("start", loc); + + this._buf.exactSource(loc, cb); + } + + source(prop, loc) { + this._catchUp(prop, loc); + + this._buf.source(prop, loc); + } + + withSource(prop, loc, cb) { + this._catchUp(prop, loc); + + this._buf.withSource(prop, loc, cb); + } + + _space() { + this._append(" ", true); + } + + _newline() { + this._append("\n", true); + } + + _append(str, queue = false) { + this._maybeAddParen(str); + + this._maybeIndent(str); + + if (queue) this._buf.queue(str);else this._buf.append(str); + this._endsWithWord = false; + this._endsWithInteger = false; + } + + _maybeIndent(str) { + if (this._indent && this.endsWith("\n") && str[0] !== "\n") { + this._buf.queue(this._getIndent()); + } + } + + _maybeAddParen(str) { + const parenPushNewlineState = this._parenPushNewlineState; + if (!parenPushNewlineState) return; + let i; + + for (i = 0; i < str.length && str[i] === " "; i++) continue; + + if (i === str.length) { + return; + } + + const cha = str[i]; + + if (cha !== "\n") { + if (cha !== "/" || i + 1 === str.length) { + this._parenPushNewlineState = null; + return; + } + + const chaPost = str[i + 1]; + + if (chaPost === "*") { + if (PURE_ANNOTATION_RE.test(str.slice(i + 2, str.length - 2))) { + return; + } + } else if (chaPost !== "/") { + this._parenPushNewlineState = null; + return; + } + } + + this.token("("); + this.indent(); + parenPushNewlineState.printed = true; + } + + _catchUp(prop, loc) { + if (!this.format.retainLines) return; + const pos = loc ? loc[prop] : null; + + if ((pos == null ? void 0 : pos.line) != null) { + const count = pos.line - this._buf.getCurrentLine(); + + for (let i = 0; i < count; i++) { + this._newline(); + } + } + } + + _getIndent() { + return this.format.indent.style.repeat(this._indent); + } + + startTerminatorless(isLabel = false) { + if (isLabel) { + this._noLineTerminator = true; + return null; + } else { + return this._parenPushNewlineState = { + printed: false + }; + } + } + + endTerminatorless(state) { + this._noLineTerminator = false; + + if (state == null ? void 0 : state.printed) { + this.dedent(); + this.newline(); + this.token(")"); + } + } + + print(node, parent) { + if (!node) return; + const oldConcise = this.format.concise; + + if (node._compact) { + this.format.concise = true; + } + + const printMethod = this[node.type]; + + if (!printMethod) { + throw new ReferenceError(`unknown node of type ${JSON.stringify(node.type)} with constructor ${JSON.stringify(node == null ? void 0 : node.constructor.name)}`); + } + + this._printStack.push(node); + + const oldInAux = this._insideAux; + this._insideAux = !node.loc; + + this._maybeAddAuxComment(this._insideAux && !oldInAux); + + let needsParens = n.needsParens(node, parent, this._printStack); + + if (this.format.retainFunctionParens && node.type === "FunctionExpression" && node.extra && node.extra.parenthesized) { + needsParens = true; + } + + if (needsParens) this.token("("); + + this._printLeadingComments(node); + + const loc = t.isProgram(node) || t.isFile(node) ? null : node.loc; + this.withSource("start", loc, () => { + printMethod.call(this, node, parent); + }); + + this._printTrailingComments(node); + + if (needsParens) this.token(")"); + + this._printStack.pop(); + + this.format.concise = oldConcise; + this._insideAux = oldInAux; + } + + _maybeAddAuxComment(enteredPositionlessNode) { + if (enteredPositionlessNode) this._printAuxBeforeComment(); + if (!this._insideAux) this._printAuxAfterComment(); + } + + _printAuxBeforeComment() { + if (this._printAuxAfterOnNextUserNode) return; + this._printAuxAfterOnNextUserNode = true; + const comment = this.format.auxiliaryCommentBefore; + + if (comment) { + this._printComment({ + type: "CommentBlock", + value: comment + }); + } + } + + _printAuxAfterComment() { + if (!this._printAuxAfterOnNextUserNode) return; + this._printAuxAfterOnNextUserNode = false; + const comment = this.format.auxiliaryCommentAfter; + + if (comment) { + this._printComment({ + type: "CommentBlock", + value: comment + }); + } + } + + getPossibleRaw(node) { + const extra = node.extra; + + if (extra && extra.raw != null && extra.rawValue != null && node.value === extra.rawValue) { + return extra.raw; + } + } + + printJoin(nodes, parent, opts = {}) { + if (!(nodes == null ? void 0 : nodes.length)) return; + if (opts.indent) this.indent(); + const newlineOpts = { + addNewlines: opts.addNewlines + }; + + for (let i = 0; i < nodes.length; i++) { + const node = nodes[i]; + if (!node) continue; + if (opts.statement) this._printNewline(true, node, parent, newlineOpts); + this.print(node, parent); + + if (opts.iterator) { + opts.iterator(node, i); + } + + if (opts.separator && i < nodes.length - 1) { + opts.separator.call(this); + } + + if (opts.statement) this._printNewline(false, node, parent, newlineOpts); + } + + if (opts.indent) this.dedent(); + } + + printAndIndentOnComments(node, parent) { + const indent = node.leadingComments && node.leadingComments.length > 0; + if (indent) this.indent(); + this.print(node, parent); + if (indent) this.dedent(); + } + + printBlock(parent) { + const node = parent.body; + + if (!t.isEmptyStatement(node)) { + this.space(); + } + + this.print(node, parent); + } + + _printTrailingComments(node) { + this._printComments(this._getComments(false, node)); + } + + _printLeadingComments(node) { + this._printComments(this._getComments(true, node), true); + } + + printInnerComments(node, indent = true) { + var _node$innerComments; + + if (!((_node$innerComments = node.innerComments) == null ? void 0 : _node$innerComments.length)) return; + if (indent) this.indent(); + + this._printComments(node.innerComments); + + if (indent) this.dedent(); + } + + printSequence(nodes, parent, opts = {}) { + opts.statement = true; + return this.printJoin(nodes, parent, opts); + } + + printList(items, parent, opts = {}) { + if (opts.separator == null) { + opts.separator = commaSeparator; + } + + return this.printJoin(items, parent, opts); + } + + _printNewline(leading, node, parent, opts) { + if (this.format.retainLines || this.format.compact) return; + + if (this.format.concise) { + this.space(); + return; + } + + let lines = 0; + + if (this._buf.hasContent()) { + if (!leading) lines++; + if (opts.addNewlines) lines += opts.addNewlines(leading, node) || 0; + const needs = leading ? n.needsWhitespaceBefore : n.needsWhitespaceAfter; + if (needs(node, parent)) lines++; + } + + this.newline(lines); + } + + _getComments(leading, node) { + return node && (leading ? node.leadingComments : node.trailingComments) || []; + } + + _printComment(comment, skipNewLines) { + if (!this.format.shouldPrintComment(comment.value)) return; + if (comment.ignore) return; + if (this._printedComments.has(comment)) return; + + this._printedComments.add(comment); + + if (comment.start != null) { + if (this._printedCommentStarts[comment.start]) return; + this._printedCommentStarts[comment.start] = true; + } + + const isBlockComment = comment.type === "CommentBlock"; + const printNewLines = isBlockComment && !skipNewLines && !this._noLineTerminator; + if (printNewLines && this._buf.hasContent()) this.newline(1); + if (!this.endsWith("[") && !this.endsWith("{")) this.space(); + let val = !isBlockComment && !this._noLineTerminator ? `//${comment.value}\n` : `/*${comment.value}*/`; + + if (isBlockComment && this.format.indent.adjustMultilineComment) { + var _comment$loc; + + const offset = (_comment$loc = comment.loc) == null ? void 0 : _comment$loc.start.column; + + if (offset) { + const newlineRegex = new RegExp("\\n\\s{1," + offset + "}", "g"); + val = val.replace(newlineRegex, "\n"); + } + + const indentSize = Math.max(this._getIndent().length, this._buf.getCurrentColumn()); + val = val.replace(/\n(?!$)/g, `\n${" ".repeat(indentSize)}`); + } + + if (this.endsWith("/")) this._space(); + this.withSource("start", comment.loc, () => { + this._append(val); + }); + if (printNewLines) this.newline(1); + } + + _printComments(comments, inlinePureAnnotation) { + if (!(comments == null ? void 0 : comments.length)) return; + + if (inlinePureAnnotation && comments.length === 1 && PURE_ANNOTATION_RE.test(comments[0].value)) { + this._printComment(comments[0], this._buf.hasContent() && !this.endsWith("\n")); + } else { + for (const comment of comments) { + this._printComment(comment); + } + } + } + +} + +exports.default = Printer; +Object.assign(Printer.prototype, generatorFunctions); + +function commaSeparator() { + this.token(","); + this.space(); +} \ No newline at end of file diff --git a/node_modules/@babel/generator/lib/source-map.js b/node_modules/@babel/generator/lib/source-map.js new file mode 100644 index 000000000..7a0a240b0 --- /dev/null +++ b/node_modules/@babel/generator/lib/source-map.js @@ -0,0 +1,73 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _sourceMap = _interopRequireDefault(require("source-map")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +class SourceMap { + constructor(opts, code) { + this._cachedMap = null; + this._code = code; + this._opts = opts; + this._rawMappings = []; + } + + get() { + if (!this._cachedMap) { + const map = this._cachedMap = new _sourceMap.default.SourceMapGenerator({ + sourceRoot: this._opts.sourceRoot + }); + const code = this._code; + + if (typeof code === "string") { + map.setSourceContent(this._opts.sourceFileName.replace(/\\/g, "/"), code); + } else if (typeof code === "object") { + Object.keys(code).forEach(sourceFileName => { + map.setSourceContent(sourceFileName.replace(/\\/g, "/"), code[sourceFileName]); + }); + } + + this._rawMappings.forEach(mapping => map.addMapping(mapping), map); + } + + return this._cachedMap.toJSON(); + } + + getRawMappings() { + return this._rawMappings.slice(); + } + + mark(generatedLine, generatedColumn, line, column, identifierName, filename, force) { + if (this._lastGenLine !== generatedLine && line === null) return; + + if (!force && this._lastGenLine === generatedLine && this._lastSourceLine === line && this._lastSourceColumn === column) { + return; + } + + this._cachedMap = null; + this._lastGenLine = generatedLine; + this._lastSourceLine = line; + this._lastSourceColumn = column; + + this._rawMappings.push({ + name: identifierName || undefined, + generated: { + line: generatedLine, + column: generatedColumn + }, + source: line == null ? undefined : (filename || this._opts.sourceFileName).replace(/\\/g, "/"), + original: line == null ? undefined : { + line: line, + column: column + } + }); + } + +} + +exports.default = SourceMap; \ No newline at end of file diff --git a/node_modules/@babel/generator/package.json b/node_modules/@babel/generator/package.json new file mode 100644 index 000000000..767bd93b3 --- /dev/null +++ b/node_modules/@babel/generator/package.json @@ -0,0 +1,63 @@ +{ + "_from": "@babel/generator@^7.11.4", + "_id": "@babel/generator@7.11.4", + "_inBundle": false, + "_integrity": "sha512-Rn26vueFx0eOoz7iifCN2UHT6rGtnkSGWSoDRIy8jZN3B91PzeSULbswfLoOWuTuAcNwpG/mxy+uCTDnZ9Mp1g==", + "_location": "/@babel/generator", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/generator@^7.11.4", + "name": "@babel/generator", + "escapedName": "@babel%2fgenerator", + "scope": "@babel", + "rawSpec": "^7.11.4", + "saveSpec": null, + "fetchSpec": "^7.11.4" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.4.tgz", + "_shasum": "1ec7eec00defba5d6f83e50e3ee72ae2fee482be", + "_spec": "@babel/generator@^7.11.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/core", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.11.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "deprecated": false, + "description": "Turns an AST into code.", + "devDependencies": { + "@babel/helper-fixtures": "^7.10.5", + "@babel/parser": "^7.11.4" + }, + "files": [ + "lib" + ], + "gitHead": "90b198956995195ea00e7ac9912c2260e44d8746", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/generator", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-generator" + }, + "version": "7.11.4" +} diff --git a/node_modules/@babel/helper-annotate-as-pure/LICENSE b/node_modules/@babel/helper-annotate-as-pure/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-annotate-as-pure/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-annotate-as-pure/README.md b/node_modules/@babel/helper-annotate-as-pure/README.md new file mode 100644 index 000000000..82931e4fa --- /dev/null +++ b/node_modules/@babel/helper-annotate-as-pure/README.md @@ -0,0 +1,19 @@ +# @babel/helper-annotate-as-pure + +> Helper function to annotate paths and nodes with #__PURE__ comment + +See our website [@babel/helper-annotate-as-pure](https://babeljs.io/docs/en/next/babel-helper-annotate-as-pure.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-annotate-as-pure +``` + +or using yarn: + +```sh +yarn add @babel/helper-annotate-as-pure --dev +``` diff --git a/node_modules/@babel/helper-annotate-as-pure/lib/index.js b/node_modules/@babel/helper-annotate-as-pure/lib/index.js new file mode 100644 index 000000000..4c3bd2d7c --- /dev/null +++ b/node_modules/@babel/helper-annotate-as-pure/lib/index.js @@ -0,0 +1,28 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = annotateAsPure; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const PURE_ANNOTATION = "#__PURE__"; + +const isPureAnnotated = ({ + leadingComments +}) => !!leadingComments && leadingComments.some(comment => /[@#]__PURE__/.test(comment.value)); + +function annotateAsPure(pathOrNode) { + const node = pathOrNode.node || pathOrNode; + + if (isPureAnnotated(node)) { + return; + } + + t.addComment(node, "leading", PURE_ANNOTATION); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-annotate-as-pure/package.json b/node_modules/@babel/helper-annotate-as-pure/package.json new file mode 100644 index 000000000..fcf3aab65 --- /dev/null +++ b/node_modules/@babel/helper-annotate-as-pure/package.json @@ -0,0 +1,55 @@ +{ + "_from": "@babel/helper-annotate-as-pure@^7.10.4", + "_id": "@babel/helper-annotate-as-pure@7.10.4", + "_inBundle": false, + "_integrity": "sha512-XQlqKQP4vXFB7BN8fEEerrmYvHp3fK/rBkRFz9jaJbzK0B1DSfej9Kc7ZzE8Z/OnId1jpJdNAZ3BFQjWG68rcA==", + "_location": "/@babel/helper-annotate-as-pure", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-annotate-as-pure@^7.10.4", + "name": "@babel/helper-annotate-as-pure", + "escapedName": "@babel%2fhelper-annotate-as-pure", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-builder-react-jsx", + "/@babel/helper-builder-react-jsx-experimental", + "/@babel/helper-create-regexp-features-plugin", + "/@babel/helper-remap-async-to-generator", + "/@babel/plugin-transform-classes", + "/@babel/plugin-transform-react-pure-annotations", + "/@babel/plugin-transform-template-literals" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz", + "_shasum": "5bf0d495a3f757ac3bda48b5bf3b3ba309c72ba3", + "_spec": "@babel/helper-annotate-as-pure@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-remap-async-to-generator", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to annotate paths and nodes with #__PURE__ comment", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-annotate-as-pure", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-annotate-as-pure" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/LICENSE b/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/README.md b/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/README.md new file mode 100644 index 000000000..6c0b5b398 --- /dev/null +++ b/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/README.md @@ -0,0 +1,19 @@ +# @babel/helper-builder-binary-assignment-operator-visitor + +> Helper function to build binary assignment operator visitors + +See our website [@babel/helper-builder-binary-assignment-operator-visitor](https://babeljs.io/docs/en/next/babel-helper-builder-binary-assignment-operator-visitor.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-builder-binary-assignment-operator-visitor +``` + +or using yarn: + +```sh +yarn add @babel/helper-builder-binary-assignment-operator-visitor --dev +``` diff --git a/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/lib/index.js b/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/lib/index.js new file mode 100644 index 000000000..3dfef4c42 --- /dev/null +++ b/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/lib/index.js @@ -0,0 +1,47 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +var _helperExplodeAssignableExpression = _interopRequireDefault(require("@babel/helper-explode-assignable-expression")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _default(opts) { + const { + build, + operator + } = opts; + return { + AssignmentExpression(path) { + const { + node, + scope + } = path; + if (node.operator !== operator + "=") return; + const nodes = []; + const exploded = (0, _helperExplodeAssignableExpression.default)(node.left, nodes, this, scope); + nodes.push(t.assignmentExpression("=", exploded.ref, build(exploded.uid, node.right))); + path.replaceWith(t.sequenceExpression(nodes)); + }, + + BinaryExpression(path) { + const { + node + } = path; + + if (node.operator === operator) { + path.replaceWith(build(node.left, node.right)); + } + } + + }; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/package.json b/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/package.json new file mode 100644 index 000000000..4b7ab7ba5 --- /dev/null +++ b/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/package.json @@ -0,0 +1,50 @@ +{ + "_from": "@babel/helper-builder-binary-assignment-operator-visitor@^7.10.4", + "_id": "@babel/helper-builder-binary-assignment-operator-visitor@7.10.4", + "_inBundle": false, + "_integrity": "sha512-L0zGlFrGWZK4PbT8AszSfLTM5sDU1+Az/En9VrdT8/LmEiJt4zXt+Jve9DCAnQcbqDhCI+29y/L93mrDzddCcg==", + "_location": "/@babel/helper-builder-binary-assignment-operator-visitor", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-builder-binary-assignment-operator-visitor@^7.10.4", + "name": "@babel/helper-builder-binary-assignment-operator-visitor", + "escapedName": "@babel%2fhelper-builder-binary-assignment-operator-visitor", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/plugin-transform-exponentiation-operator" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.4.tgz", + "_shasum": "bb0b75f31bf98cbf9ff143c1ae578b87274ae1a3", + "_spec": "@babel/helper-builder-binary-assignment-operator-visitor@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-transform-exponentiation-operator", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-explode-assignable-expression": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to build binary assignment operator visitors", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-builder-binary-assignment-operator-visitor", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-builder-binary-assignment-operator-visitor" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-builder-react-jsx-experimental/LICENSE b/node_modules/@babel/helper-builder-react-jsx-experimental/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-builder-react-jsx-experimental/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-builder-react-jsx-experimental/lib/index.js b/node_modules/@babel/helper-builder-react-jsx-experimental/lib/index.js new file mode 100644 index 000000000..7665ddd69 --- /dev/null +++ b/node_modules/@babel/helper-builder-react-jsx-experimental/lib/index.js @@ -0,0 +1,637 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.helper = helper; + +var t = _interopRequireWildcard(require("@babel/types")); + +var _helperModuleImports = require("@babel/helper-module-imports"); + +var _helperAnnotateAsPure = _interopRequireDefault(require("@babel/helper-annotate-as-pure")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const DEFAULT = { + importSource: "react", + runtime: "automatic", + pragma: "React.createElement", + pragmaFrag: "React.Fragment" +}; + +function helper(babel, options) { + const FILE_NAME_VAR = "_jsxFileName"; + const JSX_SOURCE_ANNOTATION_REGEX = /\*?\s*@jsxImportSource\s+([^\s]+)/; + const JSX_RUNTIME_ANNOTATION_REGEX = /\*?\s*@jsxRuntime\s+([^\s]+)/; + const JSX_ANNOTATION_REGEX = /\*?\s*@jsx\s+([^\s]+)/; + const JSX_FRAG_ANNOTATION_REGEX = /\*?\s*@jsxFrag\s+([^\s]+)/; + const IMPORT_NAME_SIZE = options.development ? 3 : 4; + const { + importSource: IMPORT_SOURCE_DEFAULT = DEFAULT.importSource, + runtime: RUNTIME_DEFAULT = DEFAULT.runtime, + pragma: PRAGMA_DEFAULT = DEFAULT.pragma, + pragmaFrag: PRAGMA_FRAG_DEFAULT = DEFAULT.pragmaFrag + } = options; + const injectMetaPropertiesVisitor = { + JSXOpeningElement(path, state) { + for (const attr of path.get("attributes")) { + if (!attr.isJSXElement()) continue; + const { + name + } = attr.node.name; + + if (name === "__source" || name === "__self") { + throw path.buildCodeFrameError(`__source and __self should not be defined in props and are reserved for internal usage.`); + } + } + + const source = t.jsxAttribute(t.jsxIdentifier("__source"), t.jsxExpressionContainer(makeSource(path, state))); + const self = t.jsxAttribute(t.jsxIdentifier("__self"), t.jsxExpressionContainer(t.thisExpression())); + path.pushContainer("attributes", [source, self]); + } + + }; + return { + JSXNamespacedName(path, state) { + const throwIfNamespace = state.opts.throwIfNamespace === undefined ? true : !!state.opts.throwIfNamespace; + + if (throwIfNamespace) { + throw path.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. \ +You can set \`throwIfNamespace: false\` to bypass this warning.`); + } + }, + + JSXSpreadChild(path) { + throw path.buildCodeFrameError("Spread children are not supported in React."); + }, + + JSXElement: { + exit(path, file) { + let callExpr; + + if (file.get("@babel/plugin-react-jsx/runtime") === "classic" || shouldUseCreateElement(path)) { + callExpr = buildCreateElementCall(path, file); + } else { + callExpr = buildJSXElementCall(path, file); + } + + path.replaceWith(t.inherits(callExpr, path.node)); + } + + }, + JSXFragment: { + exit(path, file) { + let callExpr; + + if (file.get("@babel/plugin-react-jsx/runtime") === "classic") { + callExpr = buildCreateElementFragmentCall(path, file); + } else { + callExpr = buildJSXFragmentCall(path, file); + } + + path.replaceWith(t.inherits(callExpr, path.node)); + } + + }, + + JSXAttribute(path) { + if (t.isJSXElement(path.node.value)) { + path.node.value = t.jsxExpressionContainer(path.node.value); + } + }, + + Program: { + enter(path, state) { + if (hasJSX(path)) { + const { + file + } = state; + let runtime = RUNTIME_DEFAULT; + let source = IMPORT_SOURCE_DEFAULT; + let sourceSet = !!options.importSource; + let pragma = PRAGMA_DEFAULT; + let pragmaFrag = PRAGMA_FRAG_DEFAULT; + let pragmaSet = !!options.pragma; + let pragmaFragSet = !!options.pragmaFrag; + + if (file.ast.comments) { + for (const comment of file.ast.comments) { + const sourceMatches = JSX_SOURCE_ANNOTATION_REGEX.exec(comment.value); + + if (sourceMatches) { + source = sourceMatches[1]; + sourceSet = true; + } + + const runtimeMatches = JSX_RUNTIME_ANNOTATION_REGEX.exec(comment.value); + + if (runtimeMatches) { + runtime = runtimeMatches[1]; + } + + const jsxMatches = JSX_ANNOTATION_REGEX.exec(comment.value); + + if (jsxMatches) { + pragma = jsxMatches[1]; + pragmaSet = true; + } + + const jsxFragMatches = JSX_FRAG_ANNOTATION_REGEX.exec(comment.value); + + if (jsxFragMatches) { + pragmaFrag = jsxFragMatches[1]; + pragmaFragSet = true; + } + } + } + + state.set("@babel/plugin-react-jsx/runtime", runtime); + + if (runtime === "classic") { + if (sourceSet) { + throw path.buildCodeFrameError(`importSource cannot be set when runtime is classic.`); + } + + state.set("@babel/plugin-react-jsx/createElementIdentifier", createIdentifierParser(pragma)); + state.set("@babel/plugin-react-jsx/jsxFragIdentifier", createIdentifierParser(pragmaFrag)); + state.set("@babel/plugin-react-jsx/usedFragment", false); + state.set("@babel/plugin-react-jsx/pragmaSet", pragma !== DEFAULT.pragma); + state.set("@babel/plugin-react-jsx/pragmaFragSet", pragmaFrag !== DEFAULT.pragmaFrag); + } else if (runtime === "automatic") { + if (pragmaSet || pragmaFragSet) { + throw path.buildCodeFrameError(`pragma and pragmaFrag cannot be set when runtime is automatic.`); + } + + const importName = addAutoImports(path, Object.assign({}, state.opts, { + source + })); + state.set("@babel/plugin-react-jsx/jsxIdentifier", createIdentifierParser(createIdentifierName(path, options.development ? "jsxDEV" : "jsx", importName))); + state.set("@babel/plugin-react-jsx/jsxStaticIdentifier", createIdentifierParser(createIdentifierName(path, options.development ? "jsxDEV" : "jsxs", importName))); + state.set("@babel/plugin-react-jsx/createElementIdentifier", createIdentifierParser(createIdentifierName(path, "createElement", importName))); + state.set("@babel/plugin-react-jsx/jsxFragIdentifier", createIdentifierParser(createIdentifierName(path, "Fragment", importName))); + state.set("@babel/plugin-react-jsx/importSourceSet", source !== DEFAULT.importSource); + } else { + throw path.buildCodeFrameError(`Runtime must be either "classic" or "automatic".`); + } + + if (options.development) { + path.traverse(injectMetaPropertiesVisitor, state); + } + } + }, + + exit(path, state) { + if (state.get("@babel/plugin-react-jsx/runtime") === "classic" && state.get("@babel/plugin-react-jsx/pragmaSet") && state.get("@babel/plugin-react-jsx/usedFragment") && !state.get("@babel/plugin-react-jsx/pragmaFragSet")) { + throw new Error("transform-react-jsx: pragma has been set but " + "pragmaFrag has not been set"); + } + } + + } + }; + + function shouldUseCreateElement(path) { + const openingPath = path.get("openingElement"); + const attributes = openingPath.node.attributes; + let seenPropsSpread = false; + + for (let i = 0; i < attributes.length; i++) { + const attr = attributes[i]; + + if (seenPropsSpread && t.isJSXAttribute(attr) && attr.name.name === "key") { + return true; + } else if (t.isJSXSpreadAttribute(attr)) { + seenPropsSpread = true; + } + } + + return false; + } + + function createIdentifierName(path, name, importName) { + if ((0, _helperModuleImports.isModule)(path)) { + const identifierName = `${importName[name]}`; + return identifierName; + } else { + return `${importName[name]}.${name}`; + } + } + + function getImportNames(parentPath) { + const imports = new Set(); + parentPath.traverse({ + "JSXElement|JSXFragment"(path) { + if (path.type === "JSXFragment") imports.add("Fragment"); + const openingPath = path.get("openingElement"); + const validChildren = t.react.buildChildren(openingPath.parent); + let importName; + + if (path.type === "JSXElement" && shouldUseCreateElement(path)) { + importName = "createElement"; + } else if (options.development) { + importName = "jsxDEV"; + } else if (validChildren.length > 1) { + importName = "jsxs"; + } else { + importName = "jsx"; + } + + imports.add(importName); + + if (imports.size === IMPORT_NAME_SIZE) { + path.stop(); + } + } + + }); + return imports; + } + + function hasJSX(parentPath) { + let fileHasJSX = false; + parentPath.traverse({ + "JSXElement|JSXFragment"(path) { + fileHasJSX = true; + path.stop(); + } + + }); + return fileHasJSX; + } + + function getSource(source, importName) { + switch (importName) { + case "Fragment": + return `${source}/${options.development ? "jsx-dev-runtime" : "jsx-runtime"}`; + + case "jsxDEV": + return `${source}/jsx-dev-runtime`; + + case "jsx": + case "jsxs": + return `${source}/jsx-runtime`; + + case "createElement": + return source; + } + } + + function addAutoImports(path, state) { + const imports = getImportNames(path, state); + + if ((0, _helperModuleImports.isModule)(path)) { + const importMap = {}; + imports.forEach(importName => { + if (!importMap[importName]) { + importMap[importName] = (0, _helperModuleImports.addNamed)(path, importName, getSource(state.source, importName), { + importedInterop: "uncompiled", + ensureLiveReference: true + }).name; + } + }); + return importMap; + } else { + const importMap = {}; + const sourceMap = {}; + imports.forEach(importName => { + const source = getSource(state.source, importName); + + if (!importMap[importName]) { + if (!sourceMap[source]) { + sourceMap[source] = (0, _helperModuleImports.addNamespace)(path, source, { + importedInterop: "uncompiled", + ensureLiveReference: true + }).name; + } + + importMap[importName] = sourceMap[source]; + } + }); + return importMap; + } + } + + function createIdentifierParser(id) { + return () => { + return id.split(".").map(name => t.identifier(name)).reduce((object, property) => t.memberExpression(object, property)); + }; + } + + function makeTrace(fileNameIdentifier, lineNumber, column0Based) { + const fileLineLiteral = lineNumber != null ? t.numericLiteral(lineNumber) : t.nullLiteral(); + const fileColumnLiteral = column0Based != null ? t.numericLiteral(column0Based + 1) : t.nullLiteral(); + const fileNameProperty = t.objectProperty(t.identifier("fileName"), fileNameIdentifier); + const lineNumberProperty = t.objectProperty(t.identifier("lineNumber"), fileLineLiteral); + const columnNumberProperty = t.objectProperty(t.identifier("columnNumber"), fileColumnLiteral); + return t.objectExpression([fileNameProperty, lineNumberProperty, columnNumberProperty]); + } + + function makeSource(path, state) { + const location = path.node.loc; + + if (!location) { + return; + } + + if (!state.fileNameIdentifier) { + const { + filename = "" + } = state; + const fileNameIdentifier = path.scope.generateUidIdentifier(FILE_NAME_VAR); + const scope = path.hub.getScope(); + + if (scope) { + scope.push({ + id: fileNameIdentifier, + init: t.stringLiteral(filename) + }); + } + + state.fileNameIdentifier = fileNameIdentifier; + } + + return makeTrace(t.cloneNode(state.fileNameIdentifier), location.start.line, location.start.column); + } + + function convertJSXIdentifier(node, parent) { + if (t.isJSXIdentifier(node)) { + if (node.name === "this" && t.isReferenced(node, parent)) { + return t.thisExpression(); + } else if (t.isValidIdentifier(node.name, false)) { + node.type = "Identifier"; + } else { + return t.stringLiteral(node.name); + } + } else if (t.isJSXMemberExpression(node)) { + return t.memberExpression(convertJSXIdentifier(node.object, node), convertJSXIdentifier(node.property, node)); + } else if (t.isJSXNamespacedName(node)) { + return t.stringLiteral(`${node.namespace.name}:${node.name.name}`); + } + + return node; + } + + function convertAttributeValue(node) { + if (t.isJSXExpressionContainer(node)) { + return node.expression; + } else { + return node; + } + } + + function convertAttribute(node) { + const value = convertAttributeValue(node.value || t.booleanLiteral(true)); + + if (t.isJSXSpreadAttribute(node)) { + return t.spreadElement(node.argument); + } + + if (t.isStringLiteral(value) && !t.isJSXExpressionContainer(node.value)) { + value.value = value.value.replace(/\n\s+/g, " "); + + if (value.extra && value.extra.raw) { + delete value.extra.raw; + } + } + + if (t.isJSXNamespacedName(node.name)) { + node.name = t.stringLiteral(node.name.namespace.name + ":" + node.name.name.name); + } else if (t.isValidIdentifier(node.name.name, false)) { + node.name.type = "Identifier"; + } else { + node.name = t.stringLiteral(node.name.name); + } + + return t.inherits(t.objectProperty(node.name, value), node); + } + + function buildJSXElementCall(path, file) { + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + const tagExpr = convertJSXIdentifier(openingPath.node.name, openingPath.node); + const args = []; + let tagName; + + if (t.isIdentifier(tagExpr)) { + tagName = tagExpr.name; + } else if (t.isLiteral(tagExpr)) { + tagName = tagExpr.value; + } + + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false + }; + + if (options.pre) { + options.pre(state, file); + } + + let attribs = []; + const extracted = Object.create(null); + + for (const attr of openingPath.get("attributes")) { + if (attr.isJSXAttribute() && t.isJSXIdentifier(attr.node.name)) { + const { + name + } = attr.node.name; + + switch (name) { + case "__source": + case "__self": + if (extracted[name]) throw sourceSelfError(path, name); + + case "key": + extracted[name] = convertAttributeValue(attr.node.value); + break; + + default: + attribs.push(attr.node); + } + } else { + attribs.push(attr.node); + } + } + + if (attribs.length || path.node.children.length) { + attribs = buildJSXOpeningElementAttributes(attribs, file, path.node.children); + } else { + attribs = t.objectExpression([]); + } + + args.push(attribs); + + if (!options.development) { + if (extracted.key !== undefined) { + args.push(extracted.key); + } + } else { + var _extracted$key, _extracted$__source, _extracted$__self; + + args.push((_extracted$key = extracted.key) != null ? _extracted$key : path.scope.buildUndefinedNode(), t.booleanLiteral(path.node.children.length > 1), (_extracted$__source = extracted.__source) != null ? _extracted$__source : path.scope.buildUndefinedNode(), (_extracted$__self = extracted.__self) != null ? _extracted$__self : t.thisExpression()); + } + + if (options.post) { + options.post(state, file); + } + + const call = state.call || t.callExpression(path.node.children.length > 1 ? state.jsxStaticCallee : state.jsxCallee, args); + if (state.pure) (0, _helperAnnotateAsPure.default)(call); + return call; + } + + function buildJSXOpeningElementAttributes(attribs, file, children) { + const props = attribs.map(convertAttribute); + + if (children && children.length > 0) { + if (children.length === 1) { + props.push(t.objectProperty(t.identifier("children"), children[0])); + } else { + props.push(t.objectProperty(t.identifier("children"), t.arrayExpression(children))); + } + } + + return t.objectExpression(props); + } + + function buildJSXFragmentCall(path, file) { + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + const args = []; + const tagName = null; + const tagExpr = file.get("@babel/plugin-react-jsx/jsxFragIdentifier")(); + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false + }; + + if (options.pre) { + options.pre(state, file); + } + + let childrenNode; + + if (path.node.children.length > 0) { + if (path.node.children.length === 1) { + childrenNode = path.node.children[0]; + } else { + childrenNode = t.arrayExpression(path.node.children); + } + } + + args.push(t.objectExpression(childrenNode !== undefined ? [t.objectProperty(t.identifier("children"), childrenNode)] : [])); + + if (options.development) { + args.push(path.scope.buildUndefinedNode(), t.booleanLiteral(path.node.children.length > 1)); + } + + if (options.post) { + options.post(state, file); + } + + const call = state.call || t.callExpression(path.node.children.length > 1 ? state.jsxStaticCallee : state.jsxCallee, args); + if (state.pure) (0, _helperAnnotateAsPure.default)(call); + return call; + } + + function buildCreateElementFragmentCall(path, file) { + if (options.filter && !options.filter(path.node, file)) { + return; + } + + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + const args = []; + const tagName = null; + const tagExpr = file.get("@babel/plugin-react-jsx/jsxFragIdentifier")(); + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false + }; + + if (options.pre) { + options.pre(state, file); + } + + args.push(t.nullLiteral(), ...path.node.children); + + if (options.post) { + options.post(state, file); + } + + file.set("@babel/plugin-react-jsx/usedFragment", true); + const call = state.call || t.callExpression(state.createElementCallee, args); + if (state.pure) (0, _helperAnnotateAsPure.default)(call); + return call; + } + + function buildCreateElementCall(path, file) { + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + const tagExpr = convertJSXIdentifier(openingPath.node.name, openingPath.node); + const args = []; + let tagName; + + if (t.isIdentifier(tagExpr)) { + tagName = tagExpr.name; + } else if (t.isLiteral(tagExpr)) { + tagName = tagExpr.value; + } + + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false + }; + + if (options.pre) { + options.pre(state, file); + } + + const attribs = buildCreateElementOpeningElementAttributes(path, openingPath.node.attributes); + args.push(attribs, ...path.node.children); + + if (options.post) { + options.post(state, file); + } + + const call = state.call || t.callExpression(state.createElementCallee, args); + if (state.pure) (0, _helperAnnotateAsPure.default)(call); + return call; + } + + function buildCreateElementOpeningElementAttributes(path, attribs) { + const props = []; + const found = Object.create(null); + + for (const attr of attribs) { + const name = t.isJSXAttribute(attr) && t.isJSXIdentifier(attr.name) && attr.name.name; + + if (name === "__source" || name === "__self") { + if (found[name]) throw sourceSelfError(path, name); + found[name] = true; + if (!options.development) continue; + } + + props.push(convertAttribute(attr)); + } + + return props.length > 0 ? t.objectExpression(props) : t.nullLiteral(); + } + + function sourceSelfError(path, name) { + const pluginName = `transform-react-jsx-${name.slice(2)}`; + return path.buildCodeFrameError(`Duplicate ${name} prop found. You are most likely using the deprecated ${pluginName} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`); + } +} \ No newline at end of file diff --git a/node_modules/@babel/helper-builder-react-jsx-experimental/package.json b/node_modules/@babel/helper-builder-react-jsx-experimental/package.json new file mode 100644 index 000000000..e3ba5a3ad --- /dev/null +++ b/node_modules/@babel/helper-builder-react-jsx-experimental/package.json @@ -0,0 +1,52 @@ +{ + "_from": "@babel/helper-builder-react-jsx-experimental@^7.10.4", + "_id": "@babel/helper-builder-react-jsx-experimental@7.10.5", + "_inBundle": false, + "_integrity": "sha512-Buewnx6M4ttG+NLkKyt7baQn7ScC/Td+e99G914fRU8fGIUivDDgVIQeDHFa5e4CRSJQt58WpNHhsAZgtzVhsg==", + "_location": "/@babel/helper-builder-react-jsx-experimental", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-builder-react-jsx-experimental@^7.10.4", + "name": "@babel/helper-builder-react-jsx-experimental", + "escapedName": "@babel%2fhelper-builder-react-jsx-experimental", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/plugin-transform-react-jsx", + "/@babel/plugin-transform-react-jsx-development" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.10.5.tgz", + "_shasum": "f35e956a19955ff08c1258e44a515a6d6248646b", + "_spec": "@babel/helper-builder-react-jsx-experimental@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-transform-react-jsx", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.10.4", + "@babel/helper-module-imports": "^7.10.4", + "@babel/types": "^7.10.5" + }, + "deprecated": false, + "description": "Helper function to build react jsx", + "gitHead": "f7964a9ac51356f7df6404a25b27ba1cffba1ba7", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-builder-react-jsx-experimental", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-builder-react-jsx-experimental" + }, + "version": "7.10.5" +} diff --git a/node_modules/@babel/helper-builder-react-jsx-experimental/src/index.js b/node_modules/@babel/helper-builder-react-jsx-experimental/src/index.js new file mode 100644 index 000000000..00fee1659 --- /dev/null +++ b/node_modules/@babel/helper-builder-react-jsx-experimental/src/index.js @@ -0,0 +1,836 @@ +import * as t from "@babel/types"; +import { addNamed, addNamespace, isModule } from "@babel/helper-module-imports"; +import annotateAsPure from "@babel/helper-annotate-as-pure"; + +const DEFAULT = { + importSource: "react", + runtime: "automatic", + pragma: "React.createElement", + pragmaFrag: "React.Fragment", +}; + +export function helper(babel, options) { + const FILE_NAME_VAR = "_jsxFileName"; + + const JSX_SOURCE_ANNOTATION_REGEX = /\*?\s*@jsxImportSource\s+([^\s]+)/; + const JSX_RUNTIME_ANNOTATION_REGEX = /\*?\s*@jsxRuntime\s+([^\s]+)/; + + const JSX_ANNOTATION_REGEX = /\*?\s*@jsx\s+([^\s]+)/; + const JSX_FRAG_ANNOTATION_REGEX = /\*?\s*@jsxFrag\s+([^\s]+)/; + + // This is the number of possible import names + // development: jsxDEV, Fragment, createElement + // production: jsx, jsxs, Fragment, createElement + const IMPORT_NAME_SIZE = options.development ? 3 : 4; + + const { + importSource: IMPORT_SOURCE_DEFAULT = DEFAULT.importSource, + runtime: RUNTIME_DEFAULT = DEFAULT.runtime, + pragma: PRAGMA_DEFAULT = DEFAULT.pragma, + pragmaFrag: PRAGMA_FRAG_DEFAULT = DEFAULT.pragmaFrag, + } = options; + + const injectMetaPropertiesVisitor = { + JSXOpeningElement(path, state) { + for (const attr of path.get("attributes")) { + if (!attr.isJSXElement()) continue; + + const { name } = attr.node.name; + if (name === "__source" || name === "__self") { + throw path.buildCodeFrameError( + `__source and __self should not be defined in props and are reserved for internal usage.`, + ); + } + } + + const source = t.jsxAttribute( + t.jsxIdentifier("__source"), + t.jsxExpressionContainer(makeSource(path, state)), + ); + const self = t.jsxAttribute( + t.jsxIdentifier("__self"), + t.jsxExpressionContainer(t.thisExpression()), + ); + + path.pushContainer("attributes", [source, self]); + }, + }; + + return { + JSXNamespacedName(path, state) { + const throwIfNamespace = + state.opts.throwIfNamespace === undefined + ? true + : !!state.opts.throwIfNamespace; + if (throwIfNamespace) { + throw path.buildCodeFrameError( + `Namespace tags are not supported by default. React's JSX doesn't support namespace tags. \ +You can set \`throwIfNamespace: false\` to bypass this warning.`, + ); + } + }, + + JSXSpreadChild(path) { + throw path.buildCodeFrameError( + "Spread children are not supported in React.", + ); + }, + + JSXElement: { + exit(path, file) { + let callExpr; + if ( + file.get("@babel/plugin-react-jsx/runtime") === "classic" || + shouldUseCreateElement(path) + ) { + callExpr = buildCreateElementCall(path, file); + } else { + callExpr = buildJSXElementCall(path, file); + } + + path.replaceWith(t.inherits(callExpr, path.node)); + }, + }, + + JSXFragment: { + exit(path, file) { + let callExpr; + if (file.get("@babel/plugin-react-jsx/runtime") === "classic") { + callExpr = buildCreateElementFragmentCall(path, file); + } else { + callExpr = buildJSXFragmentCall(path, file); + } + + path.replaceWith(t.inherits(callExpr, path.node)); + }, + }, + + JSXAttribute(path) { + if (t.isJSXElement(path.node.value)) { + path.node.value = t.jsxExpressionContainer(path.node.value); + } + }, + + Program: { + enter(path, state) { + if (hasJSX(path)) { + const { file } = state; + let runtime = RUNTIME_DEFAULT; + + // For jsx mode + let source = IMPORT_SOURCE_DEFAULT; + let sourceSet = !!options.importSource; + + // For createElement mode + let pragma = PRAGMA_DEFAULT; + let pragmaFrag = PRAGMA_FRAG_DEFAULT; + let pragmaSet = !!options.pragma; + let pragmaFragSet = !!options.pragmaFrag; + + if (file.ast.comments) { + for (const comment of (file.ast.comments: Array)) { + const sourceMatches = JSX_SOURCE_ANNOTATION_REGEX.exec( + comment.value, + ); + if (sourceMatches) { + source = sourceMatches[1]; + sourceSet = true; + } + + const runtimeMatches = JSX_RUNTIME_ANNOTATION_REGEX.exec( + comment.value, + ); + if (runtimeMatches) { + runtime = runtimeMatches[1]; + } + + const jsxMatches = JSX_ANNOTATION_REGEX.exec(comment.value); + if (jsxMatches) { + pragma = jsxMatches[1]; + pragmaSet = true; + } + const jsxFragMatches = JSX_FRAG_ANNOTATION_REGEX.exec( + comment.value, + ); + if (jsxFragMatches) { + pragmaFrag = jsxFragMatches[1]; + pragmaFragSet = true; + } + } + } + + state.set("@babel/plugin-react-jsx/runtime", runtime); + if (runtime === "classic") { + if (sourceSet) { + throw path.buildCodeFrameError( + `importSource cannot be set when runtime is classic.`, + ); + } + state.set( + "@babel/plugin-react-jsx/createElementIdentifier", + createIdentifierParser(pragma), + ); + state.set( + "@babel/plugin-react-jsx/jsxFragIdentifier", + createIdentifierParser(pragmaFrag), + ); + state.set("@babel/plugin-react-jsx/usedFragment", false); + state.set( + "@babel/plugin-react-jsx/pragmaSet", + pragma !== DEFAULT.pragma, + ); + state.set( + "@babel/plugin-react-jsx/pragmaFragSet", + pragmaFrag !== DEFAULT.pragmaFrag, + ); + } else if (runtime === "automatic") { + if (pragmaSet || pragmaFragSet) { + throw path.buildCodeFrameError( + `pragma and pragmaFrag cannot be set when runtime is automatic.`, + ); + } + + const importName = addAutoImports(path, { + ...state.opts, + source, + }); + + state.set( + "@babel/plugin-react-jsx/jsxIdentifier", + createIdentifierParser( + createIdentifierName( + path, + options.development ? "jsxDEV" : "jsx", + importName, + ), + ), + ); + state.set( + "@babel/plugin-react-jsx/jsxStaticIdentifier", + createIdentifierParser( + createIdentifierName( + path, + options.development ? "jsxDEV" : "jsxs", + importName, + ), + ), + ); + + state.set( + "@babel/plugin-react-jsx/createElementIdentifier", + createIdentifierParser( + createIdentifierName(path, "createElement", importName), + ), + ); + + state.set( + "@babel/plugin-react-jsx/jsxFragIdentifier", + createIdentifierParser( + createIdentifierName(path, "Fragment", importName), + ), + ); + + state.set( + "@babel/plugin-react-jsx/importSourceSet", + source !== DEFAULT.importSource, + ); + } else { + throw path.buildCodeFrameError( + `Runtime must be either "classic" or "automatic".`, + ); + } + + if (options.development) { + path.traverse(injectMetaPropertiesVisitor, state); + } + } + }, + + exit(path, state) { + if ( + state.get("@babel/plugin-react-jsx/runtime") === "classic" && + state.get("@babel/plugin-react-jsx/pragmaSet") && + state.get("@babel/plugin-react-jsx/usedFragment") && + !state.get("@babel/plugin-react-jsx/pragmaFragSet") + ) { + throw new Error( + "transform-react-jsx: pragma has been set but " + + "pragmaFrag has not been set", + ); + } + }, + }, + }; + + // We want to use React.createElement, even in the case of + // jsx, for
to distinguish it + // from
. This is an intermediary + // step while we deprecate key spread from props. Afterwards, + // we will stop using createElement in the transform. + function shouldUseCreateElement(path) { + const openingPath = path.get("openingElement"); + const attributes = openingPath.node.attributes; + + let seenPropsSpread = false; + for (let i = 0; i < attributes.length; i++) { + const attr = attributes[i]; + if ( + seenPropsSpread && + t.isJSXAttribute(attr) && + attr.name.name === "key" + ) { + return true; + } else if (t.isJSXSpreadAttribute(attr)) { + seenPropsSpread = true; + } + } + return false; + } + + function createIdentifierName(path, name, importName) { + if (isModule(path)) { + const identifierName = `${importName[name]}`; + return identifierName; + } else { + return `${importName[name]}.${name}`; + } + } + + function getImportNames(parentPath) { + const imports = new Set(); + + parentPath.traverse({ + "JSXElement|JSXFragment"(path) { + if (path.type === "JSXFragment") imports.add("Fragment"); + const openingPath = path.get("openingElement"); + + const validChildren = t.react.buildChildren(openingPath.parent); + let importName; + if (path.type === "JSXElement" && shouldUseCreateElement(path)) { + importName = "createElement"; + } else if (options.development) { + importName = "jsxDEV"; + } else if (validChildren.length > 1) { + importName = "jsxs"; + } else { + importName = "jsx"; + } + imports.add(importName); + + if (imports.size === IMPORT_NAME_SIZE) { + path.stop(); + } + }, + }); + return imports; + } + + function hasJSX(parentPath) { + let fileHasJSX = false; + parentPath.traverse({ + "JSXElement|JSXFragment"(path) { + fileHasJSX = true; + path.stop(); + }, + }); + + return fileHasJSX; + } + + function getSource(source, importName) { + switch (importName) { + case "Fragment": + return `${source}/${ + options.development ? "jsx-dev-runtime" : "jsx-runtime" + }`; + case "jsxDEV": + return `${source}/jsx-dev-runtime`; + case "jsx": + case "jsxs": + return `${source}/jsx-runtime`; + case "createElement": + return source; + } + } + + function addAutoImports(path, state) { + const imports = getImportNames(path, state); + if (isModule(path)) { + // import {jsx} from "react"; + // import {createElement} from "react"; + const importMap = {}; + + imports.forEach(importName => { + if (!importMap[importName]) { + importMap[importName] = addNamed( + path, + importName, + getSource(state.source, importName), + { + importedInterop: "uncompiled", + ensureLiveReference: true, + }, + ).name; + } + }); + + return importMap; + } else { + const importMap = {}; + const sourceMap = {}; + imports.forEach(importName => { + const source = getSource(state.source, importName); + if (!importMap[importName]) { + if (!sourceMap[source]) { + // var _react = require("react") + sourceMap[source] = addNamespace(path, source, { + importedInterop: "uncompiled", + ensureLiveReference: true, + }).name; + } + + importMap[importName] = sourceMap[source]; + } + }); + return importMap; + } + } + + function createIdentifierParser(id) { + return () => { + return id + .split(".") + .map(name => t.identifier(name)) + .reduce((object, property) => t.memberExpression(object, property)); + }; + } + + function makeTrace(fileNameIdentifier, lineNumber, column0Based) { + const fileLineLiteral = + lineNumber != null ? t.numericLiteral(lineNumber) : t.nullLiteral(); + + const fileColumnLiteral = + column0Based != null + ? t.numericLiteral(column0Based + 1) + : t.nullLiteral(); + + const fileNameProperty = t.objectProperty( + t.identifier("fileName"), + fileNameIdentifier, + ); + const lineNumberProperty = t.objectProperty( + t.identifier("lineNumber"), + fileLineLiteral, + ); + const columnNumberProperty = t.objectProperty( + t.identifier("columnNumber"), + fileColumnLiteral, + ); + return t.objectExpression([ + fileNameProperty, + lineNumberProperty, + columnNumberProperty, + ]); + } + + function makeSource(path, state) { + const location = path.node.loc; + if (!location) { + // the element was generated and doesn't have location information + return; + } + + if (!state.fileNameIdentifier) { + const { filename = "" } = state; + + const fileNameIdentifier = path.scope.generateUidIdentifier( + FILE_NAME_VAR, + ); + const scope = path.hub.getScope(); + if (scope) { + scope.push({ + id: fileNameIdentifier, + init: t.stringLiteral(filename), + }); + } + state.fileNameIdentifier = fileNameIdentifier; + } + + return makeTrace( + t.cloneNode(state.fileNameIdentifier), + location.start.line, + location.start.column, + ); + } + + function convertJSXIdentifier(node, parent) { + if (t.isJSXIdentifier(node)) { + if (node.name === "this" && t.isReferenced(node, parent)) { + return t.thisExpression(); + } else if (t.isValidIdentifier(node.name, false)) { + node.type = "Identifier"; + } else { + return t.stringLiteral(node.name); + } + } else if (t.isJSXMemberExpression(node)) { + return t.memberExpression( + convertJSXIdentifier(node.object, node), + convertJSXIdentifier(node.property, node), + ); + } else if (t.isJSXNamespacedName(node)) { + /** + * If the flag "throwIfNamespace" is false + * print XMLNamespace like string literal + */ + return t.stringLiteral(`${node.namespace.name}:${node.name.name}`); + } + + return node; + } + + function convertAttributeValue(node) { + if (t.isJSXExpressionContainer(node)) { + return node.expression; + } else { + return node; + } + } + + function convertAttribute(node) { + const value = convertAttributeValue(node.value || t.booleanLiteral(true)); + + if (t.isJSXSpreadAttribute(node)) { + return t.spreadElement(node.argument); + } + + if (t.isStringLiteral(value) && !t.isJSXExpressionContainer(node.value)) { + value.value = value.value.replace(/\n\s+/g, " "); + + // "raw" JSXText should not be used from a StringLiteral because it needs to be escaped. + if (value.extra && value.extra.raw) { + delete value.extra.raw; + } + } + + if (t.isJSXNamespacedName(node.name)) { + node.name = t.stringLiteral( + node.name.namespace.name + ":" + node.name.name.name, + ); + } else if (t.isValidIdentifier(node.name.name, false)) { + node.name.type = "Identifier"; + } else { + node.name = t.stringLiteral(node.name.name); + } + + return t.inherits(t.objectProperty(node.name, value), node); + } + + // Builds JSX into: + // Production: React.jsx(type, arguments, key) + // Development: React.jsxDEV(type, arguments, key, isStaticChildren, source, self) + function buildJSXElementCall(path, file) { + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + + const tagExpr = convertJSXIdentifier( + openingPath.node.name, + openingPath.node, + ); + const args = []; + + let tagName; + if (t.isIdentifier(tagExpr)) { + tagName = tagExpr.name; + } else if (t.isLiteral(tagExpr)) { + tagName = tagExpr.value; + } + + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false, + }; + + if (options.pre) { + options.pre(state, file); + } + + let attribs = []; + const extracted = Object.create(null); + + // for React.jsx, key, __source (dev), and __self (dev) is passed in as + // a separate argument rather than in the args object. We go through the + // props and filter out these three keywords so we can pass them in + // as separate arguments later + for (const attr of openingPath.get("attributes")) { + if (attr.isJSXAttribute() && t.isJSXIdentifier(attr.node.name)) { + const { name } = attr.node.name; + switch (name) { + case "__source": + case "__self": + if (extracted[name]) throw sourceSelfError(path, name); + /* falls through */ + case "key": + extracted[name] = convertAttributeValue(attr.node.value); + break; + default: + attribs.push(attr.node); + } + } else { + attribs.push(attr.node); + } + } + + if (attribs.length || path.node.children.length) { + attribs = buildJSXOpeningElementAttributes( + attribs, + file, + path.node.children, + ); + } else { + // attributes should never be null + attribs = t.objectExpression([]); + } + + args.push(attribs); + + if (!options.development) { + if (extracted.key !== undefined) { + args.push(extracted.key); + } + } else { + // isStaticChildren, __source, and __self are only used in development + // automatically include __source and __self in this plugin + // so we can eliminate the need for separate Babel plugins in Babel 8 + args.push( + extracted.key ?? path.scope.buildUndefinedNode(), + t.booleanLiteral(path.node.children.length > 1), + extracted.__source ?? path.scope.buildUndefinedNode(), + extracted.__self ?? t.thisExpression(), + ); + } + + if (options.post) { + options.post(state, file); + } + + const call = + state.call || + t.callExpression( + path.node.children.length > 1 ? state.jsxStaticCallee : state.jsxCallee, + args, + ); + if (state.pure) annotateAsPure(call); + + return call; + } + + // Builds props for React.jsx. This function adds children into the props + // and ensures that props is always an object + function buildJSXOpeningElementAttributes(attribs, file, children) { + const props = attribs.map(convertAttribute); + + // In React.jsx, children is no longer a separate argument, but passed in + // through the argument object + if (children && children.length > 0) { + if (children.length === 1) { + props.push(t.objectProperty(t.identifier("children"), children[0])); + } else { + props.push( + t.objectProperty( + t.identifier("children"), + t.arrayExpression(children), + ), + ); + } + } + + return t.objectExpression(props); + } + + // Builds JSX Fragment <> into + // Production: React.jsx(type, arguments) + // Development: React.jsxDEV(type, { children}) + function buildJSXFragmentCall(path, file) { + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + + const args = []; + const tagName = null; + const tagExpr = file.get("@babel/plugin-react-jsx/jsxFragIdentifier")(); + + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false, + }; + + if (options.pre) { + options.pre(state, file); + } + + let childrenNode; + if (path.node.children.length > 0) { + if (path.node.children.length === 1) { + childrenNode = path.node.children[0]; + } else { + childrenNode = t.arrayExpression(path.node.children); + } + } + + args.push( + t.objectExpression( + childrenNode !== undefined + ? [t.objectProperty(t.identifier("children"), childrenNode)] + : [], + ), + ); + + if (options.development) { + args.push( + path.scope.buildUndefinedNode(), + t.booleanLiteral(path.node.children.length > 1), + ); + } + + if (options.post) { + options.post(state, file); + } + + const call = + state.call || + t.callExpression( + path.node.children.length > 1 ? state.jsxStaticCallee : state.jsxCallee, + args, + ); + if (state.pure) annotateAsPure(call); + + return call; + } + + function buildCreateElementFragmentCall(path, file) { + if (options.filter && !options.filter(path.node, file)) { + return; + } + + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + + const args = []; + const tagName = null; + const tagExpr = file.get("@babel/plugin-react-jsx/jsxFragIdentifier")(); + + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false, + }; + + if (options.pre) { + options.pre(state, file); + } + + // no attributes are allowed with <> syntax + args.push(t.nullLiteral(), ...path.node.children); + + if (options.post) { + options.post(state, file); + } + + file.set("@babel/plugin-react-jsx/usedFragment", true); + + const call = + state.call || t.callExpression(state.createElementCallee, args); + if (state.pure) annotateAsPure(call); + + return call; + } + + // Builds JSX into: + // Production: React.createElement(type, arguments, children) + // Development: React.createElement(type, arguments, children, source, self) + function buildCreateElementCall(path, file) { + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + + const tagExpr = convertJSXIdentifier( + openingPath.node.name, + openingPath.node, + ); + const args = []; + + let tagName; + if (t.isIdentifier(tagExpr)) { + tagName = tagExpr.name; + } else if (t.isLiteral(tagExpr)) { + tagName = tagExpr.value; + } + + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false, + }; + + if (options.pre) { + options.pre(state, file); + } + + const attribs = buildCreateElementOpeningElementAttributes( + path, + openingPath.node.attributes, + ); + + args.push(attribs, ...path.node.children); + + if (options.post) { + options.post(state, file); + } + + const call = + state.call || t.callExpression(state.createElementCallee, args); + if (state.pure) annotateAsPure(call); + + return call; + } + + /** + * The logic for this is quite terse. It's because we need to + * support spread elements. We loop over all attributes, + * breaking on spreads, we then push a new object containing + * all prior attributes to an array for later processing. + */ + function buildCreateElementOpeningElementAttributes(path, attribs) { + const props = []; + const found = Object.create(null); + + for (const attr of attribs) { + const name = + t.isJSXAttribute(attr) && + t.isJSXIdentifier(attr.name) && + attr.name.name; + + if (name === "__source" || name === "__self") { + if (found[name]) throw sourceSelfError(path, name); + found[name] = true; + if (!options.development) continue; + } + + props.push(convertAttribute(attr)); + } + + return props.length > 0 ? t.objectExpression(props) : t.nullLiteral(); + } + + function sourceSelfError(path, name) { + const pluginName = `transform-react-jsx-${name.slice(2)}`; + + return path.buildCodeFrameError( + `Duplicate ${name} prop found. You are most likely using the deprecated ${pluginName} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`, + ); + } +} diff --git a/node_modules/@babel/helper-builder-react-jsx/LICENSE b/node_modules/@babel/helper-builder-react-jsx/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-builder-react-jsx/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-builder-react-jsx/README.md b/node_modules/@babel/helper-builder-react-jsx/README.md new file mode 100644 index 000000000..843fcfccd --- /dev/null +++ b/node_modules/@babel/helper-builder-react-jsx/README.md @@ -0,0 +1,19 @@ +# @babel/helper-builder-react-jsx + +> Helper function to build react jsx + +See our website [@babel/helper-builder-react-jsx](https://babeljs.io/docs/en/next/babel-helper-builder-react-jsx.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-builder-react-jsx +``` + +or using yarn: + +```sh +yarn add @babel/helper-builder-react-jsx --dev +``` diff --git a/node_modules/@babel/helper-builder-react-jsx/lib/index.js b/node_modules/@babel/helper-builder-react-jsx/lib/index.js new file mode 100644 index 000000000..c85f4de83 --- /dev/null +++ b/node_modules/@babel/helper-builder-react-jsx/lib/index.js @@ -0,0 +1,241 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +var t = _interopRequireWildcard(require("@babel/types")); + +var _helperAnnotateAsPure = _interopRequireDefault(require("@babel/helper-annotate-as-pure")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _default(opts) { + const visitor = {}; + + visitor.JSXNamespacedName = function (path) { + if (opts.throwIfNamespace) { + throw path.buildCodeFrameError(`Namespace tags are not supported by default. React's JSX doesn't support namespace tags. \ +You can set \`throwIfNamespace: false\` to bypass this warning.`); + } + }; + + visitor.JSXSpreadChild = function (path) { + throw path.buildCodeFrameError("Spread children are not supported in React."); + }; + + visitor.JSXElement = { + exit(path, file) { + const callExpr = buildElementCall(path, file); + + if (callExpr) { + path.replaceWith(t.inherits(callExpr, path.node)); + } + } + + }; + visitor.JSXFragment = { + exit(path, file) { + if (opts.compat) { + throw path.buildCodeFrameError("Fragment tags are only supported in React 16 and up."); + } + + const callExpr = buildFragmentCall(path, file); + + if (callExpr) { + path.replaceWith(t.inherits(callExpr, path.node)); + } + } + + }; + return visitor; + + function convertJSXIdentifier(node, parent) { + if (t.isJSXIdentifier(node)) { + if (node.name === "this" && t.isReferenced(node, parent)) { + return t.thisExpression(); + } else if (t.isValidIdentifier(node.name, false)) { + node.type = "Identifier"; + } else { + return t.stringLiteral(node.name); + } + } else if (t.isJSXMemberExpression(node)) { + return t.memberExpression(convertJSXIdentifier(node.object, node), convertJSXIdentifier(node.property, node)); + } else if (t.isJSXNamespacedName(node)) { + return t.stringLiteral(`${node.namespace.name}:${node.name.name}`); + } + + return node; + } + + function convertAttributeValue(node) { + if (t.isJSXExpressionContainer(node)) { + return node.expression; + } else { + return node; + } + } + + function convertAttribute(node) { + const value = convertAttributeValue(node.value || t.booleanLiteral(true)); + + if (t.isJSXSpreadAttribute(node)) { + return t.spreadElement(node.argument); + } + + if (t.isStringLiteral(value) && !t.isJSXExpressionContainer(node.value)) { + var _value$extra; + + value.value = value.value.replace(/\n\s+/g, " "); + (_value$extra = value.extra) == null ? true : delete _value$extra.raw; + } + + if (t.isJSXNamespacedName(node.name)) { + node.name = t.stringLiteral(node.name.namespace.name + ":" + node.name.name.name); + } else if (t.isValidIdentifier(node.name.name, false)) { + node.name.type = "Identifier"; + } else { + node.name = t.stringLiteral(node.name.name); + } + + return t.inherits(t.objectProperty(node.name, value), node); + } + + function buildElementCall(path, file) { + if (opts.filter && !opts.filter(path.node, file)) return; + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + const tagExpr = convertJSXIdentifier(openingPath.node.name, openingPath.node); + const args = []; + let tagName; + + if (t.isIdentifier(tagExpr)) { + tagName = tagExpr.name; + } else if (t.isLiteral(tagExpr)) { + tagName = tagExpr.value; + } + + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false + }; + + if (opts.pre) { + opts.pre(state, file); + } + + let attribs = openingPath.node.attributes; + + if (attribs.length) { + attribs = buildOpeningElementAttributes(attribs, file); + } else { + attribs = t.nullLiteral(); + } + + args.push(attribs, ...path.node.children); + + if (opts.post) { + opts.post(state, file); + } + + const call = state.call || t.callExpression(state.callee, args); + if (state.pure) (0, _helperAnnotateAsPure.default)(call); + return call; + } + + function pushProps(_props, objs) { + if (!_props.length) return _props; + objs.push(t.objectExpression(_props)); + return []; + } + + function buildOpeningElementAttributes(attribs, file) { + let _props = []; + const objs = []; + const { + useSpread = false + } = file.opts; + + if (typeof useSpread !== "boolean") { + throw new Error("transform-react-jsx currently only accepts a boolean option for " + "useSpread (defaults to false)"); + } + + const useBuiltIns = file.opts.useBuiltIns || false; + + if (typeof useBuiltIns !== "boolean") { + throw new Error("transform-react-jsx currently only accepts a boolean option for " + "useBuiltIns (defaults to false)"); + } + + if (useSpread && useBuiltIns) { + throw new Error("transform-react-jsx currently only accepts useBuiltIns or useSpread " + "but not both"); + } + + if (useSpread) { + const props = attribs.map(convertAttribute); + return t.objectExpression(props); + } + + while (attribs.length) { + const prop = attribs.shift(); + + if (t.isJSXSpreadAttribute(prop)) { + _props = pushProps(_props, objs); + objs.push(prop.argument); + } else { + _props.push(convertAttribute(prop)); + } + } + + pushProps(_props, objs); + + if (objs.length === 1) { + attribs = objs[0]; + } else { + if (!t.isObjectExpression(objs[0])) { + objs.unshift(t.objectExpression([])); + } + + const helper = useBuiltIns ? t.memberExpression(t.identifier("Object"), t.identifier("assign")) : file.addHelper("extends"); + attribs = t.callExpression(helper, objs); + } + + return attribs; + } + + function buildFragmentCall(path, file) { + if (opts.filter && !opts.filter(path.node, file)) return; + const openingPath = path.get("openingElement"); + openingPath.parent.children = t.react.buildChildren(openingPath.parent); + const args = []; + const tagName = null; + const tagExpr = file.get("jsxFragIdentifier")(); + const state = { + tagExpr: tagExpr, + tagName: tagName, + args: args, + pure: false + }; + + if (opts.pre) { + opts.pre(state, file); + } + + args.push(t.nullLiteral(), ...path.node.children); + + if (opts.post) { + opts.post(state, file); + } + + file.set("usedFragment", true); + const call = state.call || t.callExpression(state.callee, args); + if (state.pure) (0, _helperAnnotateAsPure.default)(call); + return call; + } +} \ No newline at end of file diff --git a/node_modules/@babel/helper-builder-react-jsx/package.json b/node_modules/@babel/helper-builder-react-jsx/package.json new file mode 100644 index 000000000..dfd6a42aa --- /dev/null +++ b/node_modules/@babel/helper-builder-react-jsx/package.json @@ -0,0 +1,50 @@ +{ + "_from": "@babel/helper-builder-react-jsx@^7.10.4", + "_id": "@babel/helper-builder-react-jsx@7.10.4", + "_inBundle": false, + "_integrity": "sha512-5nPcIZ7+KKDxT1427oBivl9V9YTal7qk0diccnh7RrcgrT/pGFOjgGw1dgryyx1GvHEpXVfoDF6Ak3rTiWh8Rg==", + "_location": "/@babel/helper-builder-react-jsx", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-builder-react-jsx@^7.10.4", + "name": "@babel/helper-builder-react-jsx", + "escapedName": "@babel%2fhelper-builder-react-jsx", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/plugin-transform-react-jsx" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.10.4.tgz", + "_shasum": "8095cddbff858e6fa9c326daee54a2f2732c1d5d", + "_spec": "@babel/helper-builder-react-jsx@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-transform-react-jsx", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to build react jsx", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-builder-react-jsx", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-builder-react-jsx" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-compilation-targets/LICENSE b/node_modules/@babel/helper-compilation-targets/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-compilation-targets/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-compilation-targets/lib/debug.js b/node_modules/@babel/helper-compilation-targets/lib/debug.js new file mode 100644 index 000000000..78cc3aa8e --- /dev/null +++ b/node_modules/@babel/helper-compilation-targets/lib/debug.js @@ -0,0 +1,35 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getInclusionReasons = getInclusionReasons; + +var _semver = _interopRequireDefault(require("semver")); + +var _pretty = require("./pretty"); + +var _utils = require("./utils"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function getInclusionReasons(item, targetVersions, list) { + const minVersions = list[item] || {}; + return Object.keys(targetVersions).reduce((result, env) => { + const minVersion = (0, _utils.getLowestImplementedVersion)(minVersions, env); + const targetVersion = targetVersions[env]; + + if (!minVersion) { + result[env] = (0, _pretty.prettifyVersion)(targetVersion); + } else { + const minIsUnreleased = (0, _utils.isUnreleasedVersion)(minVersion, env); + const targetIsUnreleased = (0, _utils.isUnreleasedVersion)(targetVersion, env); + + if (!targetIsUnreleased && (minIsUnreleased || _semver.default.lt(targetVersion.toString(), (0, _utils.semverify)(minVersion)))) { + result[env] = (0, _pretty.prettifyVersion)(targetVersion); + } + } + + return result; + }, {}); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/filter-items.js b/node_modules/@babel/helper-compilation-targets/lib/filter-items.js new file mode 100644 index 000000000..50f9de50e --- /dev/null +++ b/node_modules/@babel/helper-compilation-targets/lib/filter-items.js @@ -0,0 +1,90 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.targetsSupported = targetsSupported; +exports.isRequired = isRequired; +exports.default = filterItems; + +var _semver = _interopRequireDefault(require("semver")); + +var _plugins = _interopRequireDefault(require("@babel/compat-data/plugins")); + +var _utils = require("./utils"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function targetsSupported(target, support) { + const targetEnvironments = Object.keys(target); + + if (targetEnvironments.length === 0) { + return false; + } + + const unsupportedEnvironments = targetEnvironments.filter(environment => { + const lowestImplementedVersion = (0, _utils.getLowestImplementedVersion)(support, environment); + + if (!lowestImplementedVersion) { + return true; + } + + const lowestTargetedVersion = target[environment]; + + if ((0, _utils.isUnreleasedVersion)(lowestTargetedVersion, environment)) { + return false; + } + + if ((0, _utils.isUnreleasedVersion)(lowestImplementedVersion, environment)) { + return true; + } + + if (!_semver.default.valid(lowestTargetedVersion.toString())) { + throw new Error(`Invalid version passed for target "${environment}": "${lowestTargetedVersion}". ` + "Versions must be in semver format (major.minor.patch)"); + } + + return _semver.default.gt((0, _utils.semverify)(lowestImplementedVersion), lowestTargetedVersion.toString()); + }); + return unsupportedEnvironments.length === 0; +} + +function isRequired(name, targets, { + compatData = _plugins.default, + includes, + excludes +} = {}) { + if (excludes == null ? void 0 : excludes.has(name)) return false; + if (includes == null ? void 0 : includes.has(name)) return true; + return !targetsSupported(targets, compatData[name]); +} + +function filterItems(list, includes, excludes, targets, defaultIncludes, defaultExcludes, pluginSyntaxMap) { + const result = new Set(); + const options = { + compatData: list, + includes, + excludes + }; + + for (const item in list) { + if (isRequired(item, targets, options)) { + result.add(item); + } else if (pluginSyntaxMap) { + const shippedProposalsSyntax = pluginSyntaxMap.get(item); + + if (shippedProposalsSyntax) { + result.add(shippedProposalsSyntax); + } + } + } + + if (defaultIncludes) { + defaultIncludes.forEach(item => !excludes.has(item) && result.add(item)); + } + + if (defaultExcludes) { + defaultExcludes.forEach(item => !includes.has(item) && result.delete(item)); + } + + return result; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/index.js b/node_modules/@babel/helper-compilation-targets/lib/index.js new file mode 100644 index 000000000..bd0697732 --- /dev/null +++ b/node_modules/@babel/helper-compilation-targets/lib/index.js @@ -0,0 +1,235 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isBrowsersQueryValid = isBrowsersQueryValid; +exports.default = getTargets; +Object.defineProperty(exports, "unreleasedLabels", { + enumerable: true, + get: function () { + return _targets.unreleasedLabels; + } +}); +Object.defineProperty(exports, "prettifyTargets", { + enumerable: true, + get: function () { + return _pretty.prettifyTargets; + } +}); +Object.defineProperty(exports, "getInclusionReasons", { + enumerable: true, + get: function () { + return _debug.getInclusionReasons; + } +}); +Object.defineProperty(exports, "filterItems", { + enumerable: true, + get: function () { + return _filterItems.default; + } +}); +Object.defineProperty(exports, "isRequired", { + enumerable: true, + get: function () { + return _filterItems.isRequired; + } +}); + +var _browserslist = _interopRequireDefault(require("browserslist")); + +var _levenary = _interopRequireDefault(require("levenary")); + +var _invariant = _interopRequireDefault(require("invariant")); + +var _nativeModules = _interopRequireDefault(require("@babel/compat-data/native-modules")); + +var _utils = require("./utils"); + +var _targets = require("./targets"); + +var _options = require("./options"); + +var _pretty = require("./pretty"); + +var _debug = require("./debug"); + +var _filterItems = _interopRequireWildcard(require("./filter-items")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const browserslistDefaults = _browserslist.default.defaults; +const validBrowserslistTargets = [...Object.keys(_browserslist.default.data), ...Object.keys(_browserslist.default.aliases)]; + +function objectToBrowserslist(object) { + return Object.keys(object).reduce((list, targetName) => { + if (validBrowserslistTargets.indexOf(targetName) >= 0) { + const targetVersion = object[targetName]; + return list.concat(`${targetName} ${targetVersion}`); + } + + return list; + }, []); +} + +function validateTargetNames(targets) { + const validTargets = Object.keys(_options.TargetNames); + + for (const target in targets) { + if (!_options.TargetNames[target]) { + throw new Error(`Invalid Option: '${target}' is not a valid target + Maybe you meant to use '${(0, _levenary.default)(target, validTargets)}'?`); + } + } + + return targets; +} + +function isBrowsersQueryValid(browsers) { + return typeof browsers === "string" || Array.isArray(browsers); +} + +function validateBrowsers(browsers) { + (0, _invariant.default)(typeof browsers === "undefined" || isBrowsersQueryValid(browsers), `Invalid Option: '${String(browsers)}' is not a valid browserslist query`); + return browsers; +} + +function getLowestVersions(browsers) { + return browsers.reduce((all, browser) => { + const [browserName, browserVersion] = browser.split(" "); + const normalizedBrowserName = _targets.browserNameMap[browserName]; + + if (!normalizedBrowserName) { + return all; + } + + try { + const splitVersion = browserVersion.split("-")[0].toLowerCase(); + const isSplitUnreleased = (0, _utils.isUnreleasedVersion)(splitVersion, browserName); + + if (!all[normalizedBrowserName]) { + all[normalizedBrowserName] = isSplitUnreleased ? splitVersion : (0, _utils.semverify)(splitVersion); + return all; + } + + const version = all[normalizedBrowserName]; + const isUnreleased = (0, _utils.isUnreleasedVersion)(version, browserName); + + if (isUnreleased && isSplitUnreleased) { + all[normalizedBrowserName] = (0, _utils.getLowestUnreleased)(version, splitVersion, browserName); + } else if (isUnreleased) { + all[normalizedBrowserName] = (0, _utils.semverify)(splitVersion); + } else if (!isUnreleased && !isSplitUnreleased) { + const parsedBrowserVersion = (0, _utils.semverify)(splitVersion); + all[normalizedBrowserName] = (0, _utils.semverMin)(version, parsedBrowserVersion); + } + } catch (e) {} + + return all; + }, {}); +} + +function outputDecimalWarning(decimalTargets) { + if (!(decimalTargets == null ? void 0 : decimalTargets.length)) { + return; + } + + console.log("Warning, the following targets are using a decimal version:"); + console.log(""); + decimalTargets.forEach(({ + target, + value + }) => console.log(` ${target}: ${value}`)); + console.log(""); + console.log("We recommend using a string for minor/patch versions to avoid numbers like 6.10"); + console.log("getting parsed as 6.1, which can lead to unexpected behavior."); + console.log(""); +} + +function semverifyTarget(target, value) { + try { + return (0, _utils.semverify)(value); + } catch (error) { + throw new Error(`Invalid Option: '${value}' is not a valid value for 'targets.${target}'.`); + } +} + +const targetParserMap = { + __default(target, value) { + const version = (0, _utils.isUnreleasedVersion)(value, target) ? value.toLowerCase() : semverifyTarget(target, value); + return [target, version]; + }, + + node(target, value) { + const parsed = value === true || value === "current" ? process.versions.node : semverifyTarget(target, value); + return [target, parsed]; + } + +}; + +function getTargets(inputTargets = {}, options = {}) { + const targetOpts = {}; + let { + browsers + } = inputTargets; + + if (inputTargets.esmodules) { + const supportsESModules = _nativeModules.default["es6.module"]; + browsers = Object.keys(supportsESModules).map(browser => `${browser} ${supportsESModules[browser]}`).join(", "); + } + + const browsersquery = validateBrowsers(browsers); + const input = Object.assign({}, inputTargets); + delete input.esmodules; + delete input.browsers; + let targets = validateTargetNames(input); + const shouldParseBrowsers = !!browsersquery; + const hasTargets = shouldParseBrowsers || Object.keys(targets).length > 0; + const shouldSearchForConfig = !options.ignoreBrowserslistConfig && !hasTargets; + + if (shouldParseBrowsers || shouldSearchForConfig) { + if (!hasTargets) { + _browserslist.default.defaults = objectToBrowserslist(targets); + } + + const browsers = (0, _browserslist.default)(browsersquery, { + path: options.configPath, + mobileToDesktop: true, + env: options.browserslistEnv + }); + const queryBrowsers = getLowestVersions(browsers); + targets = Object.assign(queryBrowsers, targets); + _browserslist.default.defaults = browserslistDefaults; + } + + const parsed = Object.keys(targets).sort().reduce((results, target) => { + var _targetParserMap$targ; + + const value = targets[target]; + + if (typeof value === "number" && value % 1 !== 0) { + results.decimalWarnings.push({ + target, + value + }); + } + + const parser = (_targetParserMap$targ = targetParserMap[target]) != null ? _targetParserMap$targ : targetParserMap.__default; + const [parsedTarget, parsedValue] = parser(target, value); + + if (parsedValue) { + results.targets[parsedTarget] = parsedValue; + } + + return results; + }, { + targets: targetOpts, + decimalWarnings: [] + }); + outputDecimalWarning(parsed.decimalWarnings); + return parsed.targets; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/options.js b/node_modules/@babel/helper-compilation-targets/lib/options.js new file mode 100644 index 000000000..fcabd9609 --- /dev/null +++ b/node_modules/@babel/helper-compilation-targets/lib/options.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.TargetNames = void 0; +const TargetNames = { + node: "node", + chrome: "chrome", + opera: "opera", + edge: "edge", + firefox: "firefox", + safari: "safari", + ie: "ie", + ios: "ios", + android: "android", + electron: "electron", + samsung: "samsung" +}; +exports.TargetNames = TargetNames; \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/pretty.js b/node_modules/@babel/helper-compilation-targets/lib/pretty.js new file mode 100644 index 000000000..cc94228c1 --- /dev/null +++ b/node_modules/@babel/helper-compilation-targets/lib/pretty.js @@ -0,0 +1,49 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.prettifyVersion = prettifyVersion; +exports.prettifyTargets = prettifyTargets; + +var _semver = _interopRequireDefault(require("semver")); + +var _targets = require("./targets"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function prettifyVersion(version) { + if (typeof version !== "string") { + return version; + } + + const parts = [_semver.default.major(version)]; + + const minor = _semver.default.minor(version); + + const patch = _semver.default.patch(version); + + if (minor || patch) { + parts.push(minor); + } + + if (patch) { + parts.push(patch); + } + + return parts.join("."); +} + +function prettifyTargets(targets) { + return Object.keys(targets).reduce((results, target) => { + let value = targets[target]; + const unreleasedLabel = _targets.unreleasedLabels[target]; + + if (typeof value === "string" && unreleasedLabel !== value) { + value = prettifyVersion(value); + } + + results[target] = value; + return results; + }, {}); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/targets.js b/node_modules/@babel/helper-compilation-targets/lib/targets.js new file mode 100644 index 000000000..9cd9e5443 --- /dev/null +++ b/node_modules/@babel/helper-compilation-targets/lib/targets.js @@ -0,0 +1,27 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.browserNameMap = exports.unreleasedLabels = void 0; +const unreleasedLabels = { + safari: "tp" +}; +exports.unreleasedLabels = unreleasedLabels; +const browserNameMap = { + and_chr: "chrome", + and_ff: "firefox", + android: "android", + chrome: "chrome", + edge: "edge", + firefox: "firefox", + ie: "ie", + ie_mob: "ie", + ios_saf: "ios", + node: "node", + op_mob: "opera", + opera: "opera", + safari: "safari", + samsung: "samsung" +}; +exports.browserNameMap = browserNameMap; \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/lib/types.js b/node_modules/@babel/helper-compilation-targets/lib/types.js new file mode 100644 index 000000000..e69de29bb diff --git a/node_modules/@babel/helper-compilation-targets/lib/utils.js b/node_modules/@babel/helper-compilation-targets/lib/utils.js new file mode 100644 index 000000000..f02c926f9 --- /dev/null +++ b/node_modules/@babel/helper-compilation-targets/lib/utils.js @@ -0,0 +1,65 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.semverMin = semverMin; +exports.semverify = semverify; +exports.isUnreleasedVersion = isUnreleasedVersion; +exports.getLowestUnreleased = getLowestUnreleased; +exports.getLowestImplementedVersion = getLowestImplementedVersion; + +var _invariant = _interopRequireDefault(require("invariant")); + +var _semver = _interopRequireDefault(require("semver")); + +var _targets = require("./targets"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const versionRegExp = /^(\d+|\d+.\d+)$/; + +function semverMin(first, second) { + return first && _semver.default.lt(first, second) ? first : second; +} + +function semverify(version) { + if (typeof version === "string" && _semver.default.valid(version)) { + return version; + } + + (0, _invariant.default)(typeof version === "number" || typeof version === "string" && versionRegExp.test(version), `'${version}' is not a valid version`); + const split = version.toString().split("."); + + while (split.length < 3) { + split.push("0"); + } + + return split.join("."); +} + +function isUnreleasedVersion(version, env) { + const unreleasedLabel = _targets.unreleasedLabels[env]; + return !!unreleasedLabel && unreleasedLabel === version.toString().toLowerCase(); +} + +function getLowestUnreleased(a, b, env) { + const unreleasedLabel = _targets.unreleasedLabels[env]; + const hasUnreleased = [a, b].some(item => item === unreleasedLabel); + + if (hasUnreleased) { + return a === hasUnreleased ? b : a || b; + } + + return semverMin(a, b); +} + +function getLowestImplementedVersion(plugin, environment) { + const result = plugin[environment]; + + if (!result && environment === "android") { + return plugin.chrome; + } + + return result; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-compilation-targets/package.json b/node_modules/@babel/helper-compilation-targets/package.json new file mode 100644 index 000000000..a50b2f3cc --- /dev/null +++ b/node_modules/@babel/helper-compilation-targets/package.json @@ -0,0 +1,71 @@ +{ + "_from": "@babel/helper-compilation-targets@^7.10.4", + "_id": "@babel/helper-compilation-targets@7.10.4", + "_inBundle": false, + "_integrity": "sha512-a3rYhlsGV0UHNDvrtOXBg8/OpfV0OKTkxKPzIplS1zpx7CygDcWWxckxZeDd3gzPzC4kUT0A4nVFDK0wGMh4MQ==", + "_location": "/@babel/helper-compilation-targets", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-compilation-targets@^7.10.4", + "name": "@babel/helper-compilation-targets", + "escapedName": "@babel%2fhelper-compilation-targets", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/preset-env" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.4.tgz", + "_shasum": "804ae8e3f04376607cc791b9d47d540276332bd2", + "_spec": "@babel/helper-compilation-targets@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/preset-env", + "author": { + "name": "The Babel Team", + "url": "https://babeljs.io/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/compat-data": "^7.10.4", + "browserslist": "^4.12.0", + "invariant": "^2.2.4", + "levenary": "^1.1.1", + "semver": "^5.5.0" + }, + "deprecated": false, + "description": "Engine compat data used in @babel/preset-env", + "devDependencies": { + "@babel/core": "^7.10.4", + "@babel/helper-plugin-test-runner": "^7.10.4" + }, + "exports": { + ".": "./lib/index.js" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "keywords": [ + "babel", + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-compilation-targets", + "peerDependencies": { + "@babel/core": "^7.0.0" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-compilation-targets" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-create-class-features-plugin/LICENSE b/node_modules/@babel/helper-create-class-features-plugin/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-create-class-features-plugin/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-create-class-features-plugin/README.md b/node_modules/@babel/helper-create-class-features-plugin/README.md new file mode 100644 index 000000000..5ce5e8c6b --- /dev/null +++ b/node_modules/@babel/helper-create-class-features-plugin/README.md @@ -0,0 +1,19 @@ +# @babel/helper-create-class-features-plugin + +> Compile class public and private fields, private methods and decorators to ES6 + +See our website [@babel/helper-create-class-features-plugin](https://babeljs.io/docs/en/next/babel-helper-create-class-features-plugin.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-create-class-features-plugin +``` + +or using yarn: + +```sh +yarn add @babel/helper-create-class-features-plugin --dev +``` diff --git a/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js b/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js new file mode 100644 index 000000000..1bcac9dcd --- /dev/null +++ b/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js @@ -0,0 +1,164 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.hasOwnDecorators = hasOwnDecorators; +exports.hasDecorators = hasDecorators; +exports.buildDecoratedClass = buildDecoratedClass; + +var _core = require("@babel/core"); + +var _helperReplaceSupers = _interopRequireDefault(require("@babel/helper-replace-supers")); + +var _helperFunctionName = _interopRequireDefault(require("@babel/helper-function-name")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function hasOwnDecorators(node) { + return !!(node.decorators && node.decorators.length); +} + +function hasDecorators(node) { + return hasOwnDecorators(node) || node.body.body.some(hasOwnDecorators); +} + +function prop(key, value) { + if (!value) return null; + return _core.types.objectProperty(_core.types.identifier(key), value); +} + +function method(key, body) { + return _core.types.objectMethod("method", _core.types.identifier(key), [], _core.types.blockStatement(body)); +} + +function takeDecorators(node) { + let result; + + if (node.decorators && node.decorators.length > 0) { + result = _core.types.arrayExpression(node.decorators.map(decorator => decorator.expression)); + } + + node.decorators = undefined; + return result; +} + +function getKey(node) { + if (node.computed) { + return node.key; + } else if (_core.types.isIdentifier(node.key)) { + return _core.types.stringLiteral(node.key.name); + } else { + return _core.types.stringLiteral(String(node.key.value)); + } +} + +function extractElementDescriptor(classRef, superRef, path) { + const { + node, + scope + } = path; + const isMethod = path.isClassMethod(); + + if (path.isPrivate()) { + throw path.buildCodeFrameError(`Private ${isMethod ? "methods" : "fields"} in decorated classes are not supported yet.`); + } + + new _helperReplaceSupers.default({ + methodPath: path, + methodNode: node, + objectRef: classRef, + isStatic: node.static, + superRef, + scope, + file: this + }, true).replace(); + const properties = [prop("kind", _core.types.stringLiteral(isMethod ? node.kind : "field")), prop("decorators", takeDecorators(node)), prop("static", node.static && _core.types.booleanLiteral(true)), prop("key", getKey(node))].filter(Boolean); + + if (isMethod) { + const id = node.computed ? null : node.key; + + _core.types.toExpression(node); + + properties.push(prop("value", (0, _helperFunctionName.default)({ + node, + id, + scope + }) || node)); + } else if (node.value) { + properties.push(method("value", _core.template.statements.ast`return ${node.value}`)); + } else { + properties.push(prop("value", scope.buildUndefinedNode())); + } + + path.remove(); + return _core.types.objectExpression(properties); +} + +function addDecorateHelper(file) { + try { + return file.addHelper("decorate"); + } catch (err) { + if (err.code === "BABEL_HELPER_UNKNOWN") { + err.message += "\n '@babel/plugin-transform-decorators' in non-legacy mode" + " requires '@babel/core' version ^7.0.2 and you appear to be using" + " an older version."; + } + + throw err; + } +} + +function buildDecoratedClass(ref, path, elements, file) { + const { + node, + scope + } = path; + const initializeId = scope.generateUidIdentifier("initialize"); + const isDeclaration = node.id && path.isDeclaration(); + const isStrict = path.isInStrictMode(); + const { + superClass + } = node; + node.type = "ClassDeclaration"; + if (!node.id) node.id = _core.types.cloneNode(ref); + let superId; + + if (superClass) { + superId = scope.generateUidIdentifierBasedOnNode(node.superClass, "super"); + node.superClass = superId; + } + + const classDecorators = takeDecorators(node); + + const definitions = _core.types.arrayExpression(elements.filter(element => !element.node.abstract).map(extractElementDescriptor.bind(file, node.id, superId))); + + let replacement = _core.template.expression.ast` + ${addDecorateHelper(file)}( + ${classDecorators || _core.types.nullLiteral()}, + function (${initializeId}, ${superClass ? _core.types.cloneNode(superId) : null}) { + ${node} + return { F: ${_core.types.cloneNode(node.id)}, d: ${definitions} }; + }, + ${superClass} + ) + `; + let classPathDesc = "arguments.1.body.body.0"; + + if (!isStrict) { + replacement.arguments[1].body.directives.push(_core.types.directive(_core.types.directiveLiteral("use strict"))); + } + + if (isDeclaration) { + replacement = _core.template.ast`let ${ref} = ${replacement}`; + classPathDesc = "declarations.0.init." + classPathDesc; + } + + return { + instanceNodes: [_core.template.statement.ast`${_core.types.cloneNode(initializeId)}(this)`], + + wrapClass(path) { + path.replaceWith(replacement); + return path.get(classPathDesc); + } + + }; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-create-class-features-plugin/lib/features.js b/node_modules/@babel/helper-create-class-features-plugin/lib/features.js new file mode 100644 index 000000000..db121d302 --- /dev/null +++ b/node_modules/@babel/helper-create-class-features-plugin/lib/features.js @@ -0,0 +1,115 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.enableFeature = enableFeature; +exports.isLoose = isLoose; +exports.verifyUsedFeatures = verifyUsedFeatures; +exports.FEATURES = void 0; + +var _decorators = require("./decorators"); + +const FEATURES = Object.freeze({ + fields: 1 << 1, + privateMethods: 1 << 2, + decorators: 1 << 3, + privateIn: 1 << 4 +}); +exports.FEATURES = FEATURES; +const featuresSameLoose = new Map([[FEATURES.fields, "@babel/plugin-proposal-class-properties"], [FEATURES.privateMethods, "@babel/plugin-proposal-private-methods"], [FEATURES.privateIn, "@babel/plugin-proposal-private-private-property-in-object"]]); +const featuresKey = "@babel/plugin-class-features/featuresKey"; +const looseKey = "@babel/plugin-class-features/looseKey"; +const looseLowPriorityKey = "@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing"; + +function enableFeature(file, feature, loose) { + if (!hasFeature(file, feature) || canIgnoreLoose(file, feature)) { + file.set(featuresKey, file.get(featuresKey) | feature); + + if (loose === "#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error") { + setLoose(file, feature, true); + file.set(looseLowPriorityKey, file.get(looseLowPriorityKey) | feature); + } else if (loose === "#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error") { + setLoose(file, feature, false); + file.set(looseLowPriorityKey, file.get(looseLowPriorityKey) | feature); + } else { + setLoose(file, feature, loose); + } + } + + let resolvedLoose; + let higherPriorityPluginName; + + for (const [mask, name] of featuresSameLoose) { + if (!hasFeature(file, mask)) continue; + const loose = isLoose(file, mask); + + if (canIgnoreLoose(file, mask)) { + continue; + } else if (resolvedLoose === !loose) { + throw new Error("'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, " + "@babel/plugin-proposal-private-methods and " + "@babel/plugin-proposal-private-property-in-object (when they are enabled)."); + } else { + resolvedLoose = loose; + higherPriorityPluginName = name; + } + } + + if (resolvedLoose !== undefined) { + for (const [mask, name] of featuresSameLoose) { + if (hasFeature(file, mask) && isLoose(file, mask) !== resolvedLoose) { + setLoose(file, mask, resolvedLoose); + console.warn(`Though the "loose" option was set to "${!resolvedLoose}" in your @babel/preset-env ` + `config, it will not be used for ${name} since the "loose" mode option was set to ` + `"${resolvedLoose}" for ${higherPriorityPluginName}.\nThe "loose" option must be the ` + `same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods ` + `and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can ` + `silence this warning by explicitly adding\n` + `\t["${name}", { "loose": ${resolvedLoose} }]\n` + `to the "plugins" section of your Babel config.`); + } + } + } +} + +function hasFeature(file, feature) { + return !!(file.get(featuresKey) & feature); +} + +function isLoose(file, feature) { + return !!(file.get(looseKey) & feature); +} + +function setLoose(file, feature, loose) { + if (loose) file.set(looseKey, file.get(looseKey) | feature);else file.set(looseKey, file.get(looseKey) & ~feature); + file.set(looseLowPriorityKey, file.get(looseLowPriorityKey) & ~feature); +} + +function canIgnoreLoose(file, feature) { + return !!(file.get(looseLowPriorityKey) & feature); +} + +function verifyUsedFeatures(path, file) { + if ((0, _decorators.hasOwnDecorators)(path.node)) { + if (!hasFeature(file, FEATURES.decorators)) { + throw path.buildCodeFrameError("Decorators are not enabled." + "\nIf you are using " + '["@babel/plugin-proposal-decorators", { "legacy": true }], ' + 'make sure it comes *before* "@babel/plugin-proposal-class-properties" ' + "and enable loose mode, like so:\n" + '\t["@babel/plugin-proposal-decorators", { "legacy": true }]\n' + '\t["@babel/plugin-proposal-class-properties", { "loose": true }]'); + } + + if (path.isPrivate()) { + throw path.buildCodeFrameError(`Private ${path.isClassMethod() ? "methods" : "fields"} in decorated classes are not supported yet.`); + } + } + + if (path.isPrivate() && path.isMethod()) { + if (!hasFeature(file, FEATURES.privateMethods)) { + throw path.buildCodeFrameError("Class private methods are not enabled."); + } + } + + if (path.isPrivateName() && path.parentPath.isBinaryExpression({ + operator: "in", + left: path.node + })) { + if (!hasFeature(file, FEATURES.privateIn)) { + throw path.buildCodeFrameError("Private property in checks are not enabled."); + } + } + + if (path.isProperty()) { + if (!hasFeature(file, FEATURES.fields)) { + throw path.buildCodeFrameError("Class fields are not enabled."); + } + } +} \ No newline at end of file diff --git a/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js b/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js new file mode 100644 index 000000000..184d87172 --- /dev/null +++ b/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js @@ -0,0 +1,760 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.buildPrivateNamesMap = buildPrivateNamesMap; +exports.buildPrivateNamesNodes = buildPrivateNamesNodes; +exports.transformPrivateNamesUsage = transformPrivateNamesUsage; +exports.buildFieldsInitNodes = buildFieldsInitNodes; + +var _core = require("@babel/core"); + +var _helperReplaceSupers = _interopRequireWildcard(require("@babel/helper-replace-supers")); + +var _helperMemberExpressionToFunctions = _interopRequireDefault(require("@babel/helper-member-expression-to-functions")); + +var _helperOptimiseCallExpression = _interopRequireDefault(require("@babel/helper-optimise-call-expression")); + +var ts = _interopRequireWildcard(require("./typescript")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function buildPrivateNamesMap(props) { + const privateNamesMap = new Map(); + + for (const prop of props) { + const isPrivate = prop.isPrivate(); + const isMethod = !prop.isProperty(); + const isInstance = !prop.node.static; + + if (isPrivate) { + const { + name + } = prop.node.key.id; + const update = privateNamesMap.has(name) ? privateNamesMap.get(name) : { + id: prop.scope.generateUidIdentifier(name), + static: !isInstance, + method: isMethod + }; + + if (prop.node.kind === "get") { + update.getId = prop.scope.generateUidIdentifier(`get_${name}`); + } else if (prop.node.kind === "set") { + update.setId = prop.scope.generateUidIdentifier(`set_${name}`); + } else if (prop.node.kind === "method") { + update.methodId = prop.scope.generateUidIdentifier(name); + } + + privateNamesMap.set(name, update); + } + } + + return privateNamesMap; +} + +function buildPrivateNamesNodes(privateNamesMap, loose, state) { + const initNodes = []; + + for (const [name, value] of privateNamesMap) { + const { + static: isStatic, + method: isMethod, + getId, + setId + } = value; + const isAccessor = getId || setId; + + const id = _core.types.cloneNode(value.id); + + if (loose) { + initNodes.push(_core.template.statement.ast` + var ${id} = ${state.addHelper("classPrivateFieldLooseKey")}("${name}") + `); + } else if (isMethod && !isStatic) { + if (isAccessor) { + initNodes.push(_core.template.statement.ast`var ${id} = new WeakMap();`); + } else { + initNodes.push(_core.template.statement.ast`var ${id} = new WeakSet();`); + } + } else if (!isStatic) { + initNodes.push(_core.template.statement.ast`var ${id} = new WeakMap();`); + } + } + + return initNodes; +} + +function privateNameVisitorFactory(visitor) { + const privateNameVisitor = Object.assign({}, visitor, { + Class(path) { + const { + privateNamesMap + } = this; + const body = path.get("body.body"); + const visiblePrivateNames = new Map(privateNamesMap); + const redeclared = []; + + for (const prop of body) { + if (!prop.isPrivate()) continue; + const { + name + } = prop.node.key.id; + visiblePrivateNames.delete(name); + redeclared.push(name); + } + + if (!redeclared.length) { + return; + } + + path.get("body").traverse(nestedVisitor, Object.assign({}, this, { + redeclared + })); + path.traverse(privateNameVisitor, Object.assign({}, this, { + privateNamesMap: visiblePrivateNames + })); + path.skipKey("body"); + } + + }); + + const nestedVisitor = _core.traverse.visitors.merge([Object.assign({}, visitor), _helperReplaceSupers.environmentVisitor]); + + return privateNameVisitor; +} + +const privateNameVisitor = privateNameVisitorFactory({ + PrivateName(path) { + const { + privateNamesMap, + redeclared + } = this; + const { + node, + parentPath + } = path; + + if (!parentPath.isMemberExpression({ + property: node + }) && !parentPath.isOptionalMemberExpression({ + property: node + })) { + return; + } + + const { + name + } = node.id; + if (!privateNamesMap.has(name)) return; + if (redeclared && redeclared.includes(name)) return; + this.handle(parentPath); + } + +}); +const privateInVisitor = privateNameVisitorFactory({ + BinaryExpression(path) { + const { + operator, + left, + right + } = path.node; + if (operator !== "in") return; + if (!path.get("left").isPrivateName()) return; + const { + loose, + privateNamesMap, + redeclared + } = this; + const { + name + } = left.id; + if (!privateNamesMap.has(name)) return; + if (redeclared && redeclared.includes(name)) return; + + if (loose) { + const { + id + } = privateNamesMap.get(name); + path.replaceWith(_core.template.expression.ast` + Object.prototype.hasOwnProperty.call(${right}, ${_core.types.cloneNode(id)}) + `); + return; + } + + const { + id, + static: isStatic + } = privateNamesMap.get(name); + + if (isStatic) { + path.replaceWith(_core.template.expression.ast`${right} === ${this.classRef}`); + return; + } + + path.replaceWith(_core.template.expression.ast`${_core.types.cloneNode(id)}.has(${right})`); + } + +}); +const privateNameHandlerSpec = { + memoise(member, count) { + const { + scope + } = member; + const { + object + } = member.node; + const memo = scope.maybeGenerateMemoised(object); + + if (!memo) { + return; + } + + this.memoiser.set(object, memo, count); + }, + + receiver(member) { + const { + object + } = member.node; + + if (this.memoiser.has(object)) { + return _core.types.cloneNode(this.memoiser.get(object)); + } + + return _core.types.cloneNode(object); + }, + + get(member) { + const { + classRef, + privateNamesMap, + file + } = this; + const { + name + } = member.node.property.id; + const { + id, + static: isStatic, + method: isMethod, + methodId, + getId, + setId + } = privateNamesMap.get(name); + const isAccessor = getId || setId; + + if (isStatic) { + const helperName = isMethod && !isAccessor ? "classStaticPrivateMethodGet" : "classStaticPrivateFieldSpecGet"; + return _core.types.callExpression(file.addHelper(helperName), [this.receiver(member), _core.types.cloneNode(classRef), _core.types.cloneNode(id)]); + } + + if (isMethod) { + if (isAccessor) { + return _core.types.callExpression(file.addHelper("classPrivateFieldGet"), [this.receiver(member), _core.types.cloneNode(id)]); + } + + return _core.types.callExpression(file.addHelper("classPrivateMethodGet"), [this.receiver(member), _core.types.cloneNode(id), _core.types.cloneNode(methodId)]); + } + + return _core.types.callExpression(file.addHelper("classPrivateFieldGet"), [this.receiver(member), _core.types.cloneNode(id)]); + }, + + boundGet(member) { + this.memoise(member, 1); + return _core.types.callExpression(_core.types.memberExpression(this.get(member), _core.types.identifier("bind")), [this.receiver(member)]); + }, + + set(member, value) { + const { + classRef, + privateNamesMap, + file + } = this; + const { + name + } = member.node.property.id; + const { + id, + static: isStatic, + method: isMethod, + setId, + getId + } = privateNamesMap.get(name); + const isAccessor = getId || setId; + + if (isStatic) { + const helperName = isMethod && !isAccessor ? "classStaticPrivateMethodSet" : "classStaticPrivateFieldSpecSet"; + return _core.types.callExpression(file.addHelper(helperName), [this.receiver(member), _core.types.cloneNode(classRef), _core.types.cloneNode(id), value]); + } + + if (isMethod) { + if (setId) { + return _core.types.callExpression(file.addHelper("classPrivateFieldSet"), [this.receiver(member), _core.types.cloneNode(id), value]); + } + + return _core.types.callExpression(file.addHelper("classPrivateMethodSet"), []); + } + + return _core.types.callExpression(file.addHelper("classPrivateFieldSet"), [this.receiver(member), _core.types.cloneNode(id), value]); + }, + + destructureSet(member) { + const { + privateNamesMap, + file + } = this; + const { + name + } = member.node.property.id; + const { + id + } = privateNamesMap.get(name); + return _core.types.memberExpression(_core.types.callExpression(file.addHelper("classPrivateFieldDestructureSet"), [this.receiver(member), _core.types.cloneNode(id)]), _core.types.identifier("value")); + }, + + call(member, args) { + this.memoise(member, 1); + return (0, _helperOptimiseCallExpression.default)(this.get(member), this.receiver(member), args, false); + }, + + optionalCall(member, args) { + this.memoise(member, 1); + return (0, _helperOptimiseCallExpression.default)(this.get(member), this.receiver(member), args, true); + } + +}; +const privateNameHandlerLoose = { + get(member) { + const { + privateNamesMap, + file + } = this; + const { + object + } = member.node; + const { + name + } = member.node.property.id; + return _core.template.expression`BASE(REF, PROP)[PROP]`({ + BASE: file.addHelper("classPrivateFieldLooseBase"), + REF: _core.types.cloneNode(object), + PROP: _core.types.cloneNode(privateNamesMap.get(name).id) + }); + }, + + boundGet(member) { + return _core.types.callExpression(_core.types.memberExpression(this.get(member), _core.types.identifier("bind")), [_core.types.cloneNode(member.node.object)]); + }, + + simpleSet(member) { + return this.get(member); + }, + + destructureSet(member) { + return this.get(member); + }, + + call(member, args) { + return _core.types.callExpression(this.get(member), args); + }, + + optionalCall(member, args) { + return _core.types.optionalCallExpression(this.get(member), args, true); + } + +}; + +function transformPrivateNamesUsage(ref, path, privateNamesMap, loose, state) { + if (!privateNamesMap.size) return; + const body = path.get("body"); + const handler = loose ? privateNameHandlerLoose : privateNameHandlerSpec; + (0, _helperMemberExpressionToFunctions.default)(body, privateNameVisitor, Object.assign({ + privateNamesMap, + classRef: ref, + file: state + }, handler)); + body.traverse(privateInVisitor, { + privateNamesMap, + classRef: ref, + file: state, + loose + }); +} + +function buildPrivateFieldInitLoose(ref, prop, privateNamesMap) { + const { + id + } = privateNamesMap.get(prop.node.key.id.name); + const value = prop.node.value || prop.scope.buildUndefinedNode(); + return _core.template.statement.ast` + Object.defineProperty(${ref}, ${_core.types.cloneNode(id)}, { + // configurable is false by default + // enumerable is false by default + writable: true, + value: ${value} + }); + `; +} + +function buildPrivateInstanceFieldInitSpec(ref, prop, privateNamesMap) { + const { + id + } = privateNamesMap.get(prop.node.key.id.name); + const value = prop.node.value || prop.scope.buildUndefinedNode(); + return _core.template.statement.ast`${_core.types.cloneNode(id)}.set(${ref}, { + // configurable is always false for private elements + // enumerable is always false for private elements + writable: true, + value: ${value}, + })`; +} + +function buildPrivateStaticFieldInitSpec(prop, privateNamesMap) { + const privateName = privateNamesMap.get(prop.node.key.id.name); + const { + id, + getId, + setId, + initAdded + } = privateName; + const isAccessor = getId || setId; + if (!prop.isProperty() && (initAdded || !isAccessor)) return; + + if (isAccessor) { + privateNamesMap.set(prop.node.key.id.name, Object.assign({}, privateName, { + initAdded: true + })); + return _core.template.statement.ast` + var ${_core.types.cloneNode(id)} = { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${getId ? getId.name : prop.scope.buildUndefinedNode()}, + set: ${setId ? setId.name : prop.scope.buildUndefinedNode()} + } + `; + } + + const value = prop.node.value || prop.scope.buildUndefinedNode(); + return _core.template.statement.ast` + var ${_core.types.cloneNode(id)} = { + // configurable is false by default + // enumerable is false by default + writable: true, + value: ${value} + }; + `; +} + +function buildPrivateMethodInitLoose(ref, prop, privateNamesMap) { + const privateName = privateNamesMap.get(prop.node.key.id.name); + const { + methodId, + id, + getId, + setId, + initAdded + } = privateName; + if (initAdded) return; + + if (methodId) { + return _core.template.statement.ast` + Object.defineProperty(${ref}, ${id}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + value: ${methodId.name} + }); + `; + } + + const isAccessor = getId || setId; + + if (isAccessor) { + privateNamesMap.set(prop.node.key.id.name, Object.assign({}, privateName, { + initAdded: true + })); + return _core.template.statement.ast` + Object.defineProperty(${ref}, ${id}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${getId ? getId.name : prop.scope.buildUndefinedNode()}, + set: ${setId ? setId.name : prop.scope.buildUndefinedNode()} + }); + `; + } +} + +function buildPrivateInstanceMethodInitSpec(ref, prop, privateNamesMap) { + const privateName = privateNamesMap.get(prop.node.key.id.name); + const { + id, + getId, + setId, + initAdded + } = privateName; + if (initAdded) return; + const isAccessor = getId || setId; + + if (isAccessor) { + privateNamesMap.set(prop.node.key.id.name, Object.assign({}, privateName, { + initAdded: true + })); + return _core.template.statement.ast` + ${id}.set(${ref}, { + get: ${getId ? getId.name : prop.scope.buildUndefinedNode()}, + set: ${setId ? setId.name : prop.scope.buildUndefinedNode()} + }); + `; + } + + return _core.template.statement.ast`${id}.add(${ref})`; +} + +function buildPublicFieldInitLoose(ref, prop) { + const { + key, + computed + } = prop.node; + const value = prop.node.value || prop.scope.buildUndefinedNode(); + return _core.types.expressionStatement(_core.types.assignmentExpression("=", _core.types.memberExpression(ref, key, computed || _core.types.isLiteral(key)), value)); +} + +function buildPublicFieldInitSpec(ref, prop, state) { + const { + key, + computed + } = prop.node; + const value = prop.node.value || prop.scope.buildUndefinedNode(); + return _core.types.expressionStatement(_core.types.callExpression(state.addHelper("defineProperty"), [ref, computed || _core.types.isLiteral(key) ? key : _core.types.stringLiteral(key.name), value])); +} + +function buildPrivateStaticMethodInitLoose(ref, prop, state, privateNamesMap) { + const privateName = privateNamesMap.get(prop.node.key.id.name); + const { + id, + methodId, + getId, + setId, + initAdded + } = privateName; + if (initAdded) return; + const isAccessor = getId || setId; + + if (isAccessor) { + privateNamesMap.set(prop.node.key.id.name, Object.assign({}, privateName, { + initAdded: true + })); + return _core.template.statement.ast` + Object.defineProperty(${ref}, ${id}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + get: ${getId ? getId.name : prop.scope.buildUndefinedNode()}, + set: ${setId ? setId.name : prop.scope.buildUndefinedNode()} + }) + `; + } + + return _core.template.statement.ast` + Object.defineProperty(${ref}, ${id}, { + // configurable is false by default + // enumerable is false by default + // writable is false by default + value: ${methodId.name} + }); + `; +} + +function buildPrivateMethodDeclaration(prop, privateNamesMap, loose = false) { + const privateName = privateNamesMap.get(prop.node.key.id.name); + const { + id, + methodId, + getId, + setId, + getterDeclared, + setterDeclared, + static: isStatic + } = privateName; + const { + params, + body, + generator, + async + } = prop.node; + + const methodValue = _core.types.functionExpression(methodId, params, body, generator, async); + + const isGetter = getId && !getterDeclared && params.length === 0; + const isSetter = setId && !setterDeclared && params.length > 0; + + if (isGetter) { + privateNamesMap.set(prop.node.key.id.name, Object.assign({}, privateName, { + getterDeclared: true + })); + return _core.types.variableDeclaration("var", [_core.types.variableDeclarator(getId, methodValue)]); + } + + if (isSetter) { + privateNamesMap.set(prop.node.key.id.name, Object.assign({}, privateName, { + setterDeclared: true + })); + return _core.types.variableDeclaration("var", [_core.types.variableDeclarator(setId, methodValue)]); + } + + if (isStatic && !loose) { + return _core.types.variableDeclaration("var", [_core.types.variableDeclarator(_core.types.cloneNode(id), _core.types.functionExpression(id, params, body, generator, async))]); + } + + return _core.types.variableDeclaration("var", [_core.types.variableDeclarator(_core.types.cloneNode(methodId), methodValue)]); +} + +const thisContextVisitor = _core.traverse.visitors.merge([{ + ThisExpression(path, state) { + state.needsClassRef = true; + path.replaceWith(_core.types.cloneNode(state.classRef)); + } + +}, _helperReplaceSupers.environmentVisitor]); + +function replaceThisContext(path, ref, superRef, file, loose) { + const state = { + classRef: ref, + needsClassRef: false + }; + const replacer = new _helperReplaceSupers.default({ + methodPath: path, + isLoose: loose, + superRef, + file, + + getObjectRef() { + state.needsClassRef = true; + return path.node.static ? ref : _core.types.memberExpression(ref, _core.types.identifier("prototype")); + } + + }); + replacer.replace(); + + if (path.isProperty()) { + path.traverse(thisContextVisitor, state); + } + + return state.needsClassRef; +} + +function buildFieldsInitNodes(ref, superRef, props, privateNamesMap, state, loose) { + const staticNodes = []; + const instanceNodes = []; + let needsClassRef = false; + + for (const prop of props) { + ts.assertFieldTransformed(prop); + const isStatic = prop.node.static; + const isInstance = !isStatic; + const isPrivate = prop.isPrivate(); + const isPublic = !isPrivate; + const isField = prop.isProperty(); + const isMethod = !isField; + + if (isStatic || isMethod && isPrivate) { + const replaced = replaceThisContext(prop, ref, superRef, state, loose); + needsClassRef = needsClassRef || replaced; + } + + switch (true) { + case isStatic && isPrivate && isField && loose: + needsClassRef = true; + staticNodes.push(buildPrivateFieldInitLoose(_core.types.cloneNode(ref), prop, privateNamesMap)); + break; + + case isStatic && isPrivate && isField && !loose: + needsClassRef = true; + staticNodes.push(buildPrivateStaticFieldInitSpec(prop, privateNamesMap)); + break; + + case isStatic && isPublic && isField && loose: + needsClassRef = true; + staticNodes.push(buildPublicFieldInitLoose(_core.types.cloneNode(ref), prop)); + break; + + case isStatic && isPublic && isField && !loose: + needsClassRef = true; + staticNodes.push(buildPublicFieldInitSpec(_core.types.cloneNode(ref), prop, state)); + break; + + case isInstance && isPrivate && isField && loose: + instanceNodes.push(buildPrivateFieldInitLoose(_core.types.thisExpression(), prop, privateNamesMap)); + break; + + case isInstance && isPrivate && isField && !loose: + instanceNodes.push(buildPrivateInstanceFieldInitSpec(_core.types.thisExpression(), prop, privateNamesMap)); + break; + + case isInstance && isPrivate && isMethod && loose: + instanceNodes.unshift(buildPrivateMethodInitLoose(_core.types.thisExpression(), prop, privateNamesMap)); + staticNodes.push(buildPrivateMethodDeclaration(prop, privateNamesMap, loose)); + break; + + case isInstance && isPrivate && isMethod && !loose: + instanceNodes.unshift(buildPrivateInstanceMethodInitSpec(_core.types.thisExpression(), prop, privateNamesMap)); + staticNodes.push(buildPrivateMethodDeclaration(prop, privateNamesMap, loose)); + break; + + case isStatic && isPrivate && isMethod && !loose: + needsClassRef = true; + staticNodes.push(buildPrivateStaticFieldInitSpec(prop, privateNamesMap)); + staticNodes.unshift(buildPrivateMethodDeclaration(prop, privateNamesMap, loose)); + break; + + case isStatic && isPrivate && isMethod && loose: + needsClassRef = true; + staticNodes.push(buildPrivateStaticMethodInitLoose(_core.types.cloneNode(ref), prop, state, privateNamesMap)); + staticNodes.unshift(buildPrivateMethodDeclaration(prop, privateNamesMap, loose)); + break; + + case isInstance && isPublic && isField && loose: + instanceNodes.push(buildPublicFieldInitLoose(_core.types.thisExpression(), prop)); + break; + + case isInstance && isPublic && isField && !loose: + instanceNodes.push(buildPublicFieldInitSpec(_core.types.thisExpression(), prop, state)); + break; + + default: + throw new Error("Unreachable."); + } + } + + return { + staticNodes: staticNodes.filter(Boolean), + instanceNodes: instanceNodes.filter(Boolean), + + wrapClass(path) { + for (const prop of props) { + prop.remove(); + } + + if (!needsClassRef) return path; + + if (path.isClassExpression()) { + path.scope.push({ + id: ref + }); + path.replaceWith(_core.types.assignmentExpression("=", _core.types.cloneNode(ref), path.node)); + } else if (!path.node.id) { + path.node.id = ref; + } + + return path; + } + + }; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-create-class-features-plugin/lib/index.js b/node_modules/@babel/helper-create-class-features-plugin/lib/index.js new file mode 100644 index 000000000..acbd0f5af --- /dev/null +++ b/node_modules/@babel/helper-create-class-features-plugin/lib/index.js @@ -0,0 +1,189 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.createClassFeaturePlugin = createClassFeaturePlugin; +Object.defineProperty(exports, "injectInitialization", { + enumerable: true, + get: function () { + return _misc.injectInitialization; + } +}); +Object.defineProperty(exports, "FEATURES", { + enumerable: true, + get: function () { + return _features.FEATURES; + } +}); + +var _core = require("@babel/core"); + +var _helperFunctionName = _interopRequireDefault(require("@babel/helper-function-name")); + +var _helperSplitExportDeclaration = _interopRequireDefault(require("@babel/helper-split-export-declaration")); + +var _fields = require("./fields"); + +var _decorators = require("./decorators"); + +var _misc = require("./misc"); + +var _features = require("./features"); + +var _package = _interopRequireDefault(require("../package.json")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const version = _package.default.version.split(".").reduce((v, x) => v * 1e5 + +x, 0); + +const versionKey = "@babel/plugin-class-features/version"; + +function createClassFeaturePlugin({ + name, + feature, + loose, + manipulateOptions +}) { + return { + name, + manipulateOptions, + + pre() { + (0, _features.enableFeature)(this.file, feature, loose); + + if (!this.file.get(versionKey) || this.file.get(versionKey) < version) { + this.file.set(versionKey, version); + } + }, + + visitor: { + Class(path, state) { + if (this.file.get(versionKey) !== version) return; + (0, _features.verifyUsedFeatures)(path, this.file); + const loose = (0, _features.isLoose)(this.file, feature); + let constructor; + let isDecorated = (0, _decorators.hasOwnDecorators)(path.node); + const props = []; + const elements = []; + const computedPaths = []; + const privateNames = new Set(); + const body = path.get("body"); + + for (const path of body.get("body")) { + (0, _features.verifyUsedFeatures)(path, this.file); + + if (path.node.computed) { + computedPaths.push(path); + } + + if (path.isPrivate()) { + const { + name + } = path.node.key.id; + const getName = `get ${name}`; + const setName = `set ${name}`; + + if (path.node.kind === "get") { + if (privateNames.has(getName) || privateNames.has(name) && !privateNames.has(setName)) { + throw path.buildCodeFrameError("Duplicate private field"); + } + + privateNames.add(getName).add(name); + } else if (path.node.kind === "set") { + if (privateNames.has(setName) || privateNames.has(name) && !privateNames.has(getName)) { + throw path.buildCodeFrameError("Duplicate private field"); + } + + privateNames.add(setName).add(name); + } else { + if (privateNames.has(name) && !privateNames.has(getName) && !privateNames.has(setName) || privateNames.has(name) && (privateNames.has(getName) || privateNames.has(setName))) { + throw path.buildCodeFrameError("Duplicate private field"); + } + + privateNames.add(name); + } + } + + if (path.isClassMethod({ + kind: "constructor" + })) { + constructor = path; + } else { + elements.push(path); + + if (path.isProperty() || path.isPrivate()) { + props.push(path); + } + } + + if (!isDecorated) isDecorated = (0, _decorators.hasOwnDecorators)(path.node); + } + + if (!props.length && !isDecorated) return; + let ref; + + if (path.isClassExpression() || !path.node.id) { + (0, _helperFunctionName.default)(path); + ref = path.scope.generateUidIdentifier("class"); + } else { + ref = _core.types.cloneNode(path.node.id); + } + + const privateNamesMap = (0, _fields.buildPrivateNamesMap)(props); + const privateNamesNodes = (0, _fields.buildPrivateNamesNodes)(privateNamesMap, loose, state); + (0, _fields.transformPrivateNamesUsage)(ref, path, privateNamesMap, loose, state); + let keysNodes, staticNodes, instanceNodes, wrapClass; + + if (isDecorated) { + staticNodes = keysNodes = []; + ({ + instanceNodes, + wrapClass + } = (0, _decorators.buildDecoratedClass)(ref, path, elements, this.file)); + } else { + keysNodes = (0, _misc.extractComputedKeys)(ref, path, computedPaths, this.file); + ({ + staticNodes, + instanceNodes, + wrapClass + } = (0, _fields.buildFieldsInitNodes)(ref, path.node.superClass, props, privateNamesMap, state, loose)); + } + + if (instanceNodes.length > 0) { + (0, _misc.injectInitialization)(path, constructor, instanceNodes, (referenceVisitor, state) => { + if (isDecorated) return; + + for (const prop of props) { + if (prop.node.static) continue; + prop.traverse(referenceVisitor, state); + } + }); + } + + path = wrapClass(path); + path.insertBefore([...privateNamesNodes, ...keysNodes]); + path.insertAfter(staticNodes); + }, + + PrivateName(path) { + if (this.file.get(versionKey) !== version) return; + throw path.buildCodeFrameError(`Unknown PrivateName "${path}"`); + }, + + ExportDefaultDeclaration(path) { + if (this.file.get(versionKey) !== version) return; + const decl = path.get("declaration"); + + if (decl.isClassDeclaration() && (0, _decorators.hasDecorators)(decl.node)) { + if (decl.node.id) { + (0, _helperSplitExportDeclaration.default)(path); + } else { + decl.node.type = "ClassExpression"; + } + } + } + + } + }; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js b/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js new file mode 100644 index 000000000..0430d5c94 --- /dev/null +++ b/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js @@ -0,0 +1,127 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.injectInitialization = injectInitialization; +exports.extractComputedKeys = extractComputedKeys; + +var _core = require("@babel/core"); + +var _helperReplaceSupers = require("@babel/helper-replace-supers"); + +const findBareSupers = _core.traverse.visitors.merge([{ + Super(path) { + const { + node, + parentPath + } = path; + + if (parentPath.isCallExpression({ + callee: node + })) { + this.push(parentPath); + } + } + +}, _helperReplaceSupers.environmentVisitor]); + +const referenceVisitor = { + "TSTypeAnnotation|TypeAnnotation"(path) { + path.skip(); + }, + + ReferencedIdentifier(path) { + if (this.scope.hasOwnBinding(path.node.name)) { + this.scope.rename(path.node.name); + path.skip(); + } + } + +}; + +function handleClassTDZ(path, state) { + if (state.classBinding && state.classBinding === path.scope.getBinding(path.node.name)) { + const classNameTDZError = state.file.addHelper("classNameTDZError"); + + const throwNode = _core.types.callExpression(classNameTDZError, [_core.types.stringLiteral(path.node.name)]); + + path.replaceWith(_core.types.sequenceExpression([throwNode, path.node])); + path.skip(); + } +} + +const classFieldDefinitionEvaluationTDZVisitor = { + ReferencedIdentifier: handleClassTDZ +}; + +function injectInitialization(path, constructor, nodes, renamer) { + if (!nodes.length) return; + const isDerived = !!path.node.superClass; + + if (!constructor) { + const newConstructor = _core.types.classMethod("constructor", _core.types.identifier("constructor"), [], _core.types.blockStatement([])); + + if (isDerived) { + newConstructor.params = [_core.types.restElement(_core.types.identifier("args"))]; + newConstructor.body.body.push(_core.template.statement.ast`super(...args)`); + } + + [constructor] = path.get("body").unshiftContainer("body", newConstructor); + } + + if (renamer) { + renamer(referenceVisitor, { + scope: constructor.scope + }); + } + + if (isDerived) { + const bareSupers = []; + constructor.traverse(findBareSupers, bareSupers); + let isFirst = true; + + for (const bareSuper of bareSupers) { + if (isFirst) { + bareSuper.insertAfter(nodes); + isFirst = false; + } else { + bareSuper.insertAfter(nodes.map(n => _core.types.cloneNode(n))); + } + } + } else { + constructor.get("body").unshiftContainer("body", nodes); + } +} + +function extractComputedKeys(ref, path, computedPaths, file) { + const declarations = []; + const state = { + classBinding: path.node.id && path.scope.getBinding(path.node.id.name), + file + }; + + for (const computedPath of computedPaths) { + const computedKey = computedPath.get("key"); + + if (computedKey.isReferencedIdentifier()) { + handleClassTDZ(computedKey, state); + } else { + computedKey.traverse(classFieldDefinitionEvaluationTDZVisitor, state); + } + + const computedNode = computedPath.node; + + if (!computedKey.isConstantExpression()) { + const ident = path.scope.generateUidIdentifierBasedOnNode(computedNode.key); + path.scope.push({ + id: ident, + kind: "let" + }); + declarations.push(_core.types.expressionStatement(_core.types.assignmentExpression("=", _core.types.cloneNode(ident), computedNode.key))); + computedNode.key = _core.types.cloneNode(ident); + } + } + + return declarations; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js b/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js new file mode 100644 index 000000000..394c48349 --- /dev/null +++ b/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js @@ -0,0 +1,12 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.assertFieldTransformed = assertFieldTransformed; + +function assertFieldTransformed(path) { + if (path.node.declare) { + throw path.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by ` + `@babel/plugin-transform-typescript.\n` + `If you have already enabled that plugin (or '@babel/preset-typescript'), make sure ` + `that it runs before any plugin related to additional class features:\n` + ` - @babel/plugin-proposal-class-properties\n` + ` - @babel/plugin-proposal-private-methods\n` + ` - @babel/plugin-proposal-decorators`); + } +} \ No newline at end of file diff --git a/node_modules/@babel/helper-create-class-features-plugin/package.json b/node_modules/@babel/helper-create-class-features-plugin/package.json new file mode 100644 index 000000000..4f57a9852 --- /dev/null +++ b/node_modules/@babel/helper-create-class-features-plugin/package.json @@ -0,0 +1,70 @@ +{ + "_from": "@babel/helper-create-class-features-plugin@^7.10.4", + "_id": "@babel/helper-create-class-features-plugin@7.10.5", + "_inBundle": false, + "_integrity": "sha512-0nkdeijB7VlZoLT3r/mY3bUkw3T8WG/hNw+FATs/6+pG2039IJWjTYL0VTISqsNHMUTEnwbVnc89WIJX9Qed0A==", + "_location": "/@babel/helper-create-class-features-plugin", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-create-class-features-plugin@^7.10.4", + "name": "@babel/helper-create-class-features-plugin", + "escapedName": "@babel%2fhelper-create-class-features-plugin", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/plugin-proposal-class-properties", + "/@babel/plugin-proposal-private-methods" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.10.5.tgz", + "_shasum": "9f61446ba80e8240b0a5c85c6fdac8459d6f259d", + "_spec": "@babel/helper-create-class-features-plugin@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-proposal-class-properties", + "author": { + "name": "The Babel Team", + "url": "https://babeljs.io/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-function-name": "^7.10.4", + "@babel/helper-member-expression-to-functions": "^7.10.5", + "@babel/helper-optimise-call-expression": "^7.10.4", + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-replace-supers": "^7.10.4", + "@babel/helper-split-export-declaration": "^7.10.4" + }, + "deprecated": false, + "description": "Compile class public and private fields, private methods and decorators to ES6", + "devDependencies": { + "@babel/core": "^7.10.5", + "@babel/helper-plugin-test-runner": "^7.10.4" + }, + "gitHead": "f7964a9ac51356f7df6404a25b27ba1cffba1ba7", + "homepage": "https://github.com/babel/babel#readme", + "keywords": [ + "babel", + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-create-class-features-plugin", + "peerDependencies": { + "@babel/core": "^7.0.0" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-create-class-features-plugin" + }, + "version": "7.10.5" +} diff --git a/node_modules/@babel/helper-create-regexp-features-plugin/LICENSE b/node_modules/@babel/helper-create-regexp-features-plugin/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-create-regexp-features-plugin/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-create-regexp-features-plugin/README.md b/node_modules/@babel/helper-create-regexp-features-plugin/README.md new file mode 100644 index 000000000..69f661bd9 --- /dev/null +++ b/node_modules/@babel/helper-create-regexp-features-plugin/README.md @@ -0,0 +1,19 @@ +# @babel/helper-create-regexp-features-plugin + +> Compile ESNext Regular Expressions to ES5 + +See our website [@babel/helper-create-regexp-features-plugin](https://babeljs.io/docs/en/next/babel-helper-create-regexp-features-plugin.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-create-regexp-features-plugin +``` + +or using yarn: + +```sh +yarn add @babel/helper-create-regexp-features-plugin --dev +``` diff --git a/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js b/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js new file mode 100644 index 000000000..c7a852f7f --- /dev/null +++ b/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js @@ -0,0 +1,27 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.enableFeature = enableFeature; +exports.hasFeature = hasFeature; +exports.runtimeKey = exports.featuresKey = exports.FEATURES = void 0; +const FEATURES = Object.freeze({ + unicodeFlag: 1 << 0, + dotAllFlag: 1 << 1, + unicodePropertyEscape: 1 << 2, + namedCaptureGroups: 1 << 3 +}); +exports.FEATURES = FEATURES; +const featuresKey = "@babel/plugin-regexp-features/featuresKey"; +exports.featuresKey = featuresKey; +const runtimeKey = "@babel/plugin-regexp-features/runtimeKey"; +exports.runtimeKey = runtimeKey; + +function enableFeature(features, feature) { + return features | feature; +} + +function hasFeature(features, feature) { + return !!(features & feature); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-create-regexp-features-plugin/lib/index.js b/node_modules/@babel/helper-create-regexp-features-plugin/lib/index.js new file mode 100644 index 000000000..c576b476f --- /dev/null +++ b/node_modules/@babel/helper-create-regexp-features-plugin/lib/index.js @@ -0,0 +1,121 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.createRegExpFeaturePlugin = createRegExpFeaturePlugin; + +var _regexpuCore = _interopRequireDefault(require("regexpu-core")); + +var _features = require("./features"); + +var _util = require("./util"); + +var _package = _interopRequireDefault(require("../package.json")); + +var _core = require("@babel/core"); + +var _helperRegex = require("@babel/helper-regex"); + +var _helperAnnotateAsPure = _interopRequireDefault(require("@babel/helper-annotate-as-pure")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const version = _package.default.version.split(".").reduce((v, x) => v * 1e5 + +x, 0); + +const versionKey = "@babel/plugin-regexp-features/version"; + +function createRegExpFeaturePlugin({ + name, + feature, + options = {} +}) { + return { + name, + + pre() { + var _file$get; + + const { + file + } = this; + const features = (_file$get = file.get(_features.featuresKey)) != null ? _file$get : 0; + let newFeatures = (0, _features.enableFeature)(features, _features.FEATURES[feature]); + const { + useUnicodeFlag, + runtime = true + } = options; + + if (useUnicodeFlag === false) { + newFeatures = (0, _features.enableFeature)(newFeatures, _features.FEATURES.unicodeFlag); + } + + if (newFeatures !== features) { + file.set(_features.featuresKey, newFeatures); + } + + if (!runtime) { + file.set(_features.runtimeKey, false); + } + + if (!file.has(versionKey) || file.get(versionKey) < version) { + file.set(versionKey, version); + } + }, + + visitor: { + RegExpLiteral(path) { + var _file$get2; + + const { + node + } = path; + const { + file + } = this; + const features = file.get(_features.featuresKey); + const runtime = (_file$get2 = file.get(_features.runtimeKey)) != null ? _file$get2 : true; + const regexpuOptions = (0, _util.generateRegexpuOptions)(node, features); + + if (regexpuOptions === null) { + return; + } + + const namedCaptureGroups = {}; + + if (regexpuOptions.namedGroup) { + regexpuOptions.onNamedGroup = (name, index) => { + namedCaptureGroups[name] = index; + }; + } + + node.pattern = (0, _regexpuCore.default)(node.pattern, node.flags, regexpuOptions); + + if (regexpuOptions.namedGroup && Object.keys(namedCaptureGroups).length > 0 && runtime && !isRegExpTest(path)) { + const call = _core.types.callExpression(this.addHelper("wrapRegExp"), [node, _core.types.valueToNode(namedCaptureGroups)]); + + (0, _helperAnnotateAsPure.default)(call); + path.replaceWith(call); + } + + if ((0, _features.hasFeature)(features, _features.FEATURES.unicodeFlag)) { + (0, _helperRegex.pullFlag)(node, "u"); + } + + if ((0, _features.hasFeature)(features, _features.FEATURES.dotAllFlag)) { + (0, _helperRegex.pullFlag)(node, "s"); + } + } + + } + }; +} + +function isRegExpTest(path) { + return path.parentPath.isMemberExpression({ + object: path.node, + computed: false + }) && path.parentPath.get("property").isIdentifier({ + name: "test" + }); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-create-regexp-features-plugin/lib/util.js b/node_modules/@babel/helper-create-regexp-features-plugin/lib/util.js new file mode 100644 index 000000000..8a365c8b0 --- /dev/null +++ b/node_modules/@babel/helper-create-regexp-features-plugin/lib/util.js @@ -0,0 +1,55 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.generateRegexpuOptions = generateRegexpuOptions; + +var _features = require("./features"); + +function generateRegexpuOptions(node, features) { + let useUnicodeFlag = false, + dotAllFlag = false, + unicodePropertyEscape = false, + namedGroup = false; + const { + flags, + pattern + } = node; + const flagsIncludesU = flags.includes("u"); + + if (flagsIncludesU) { + if (!(0, _features.hasFeature)(features, _features.FEATURES.unicodeFlag)) { + useUnicodeFlag = true; + } + + if ((0, _features.hasFeature)(features, _features.FEATURES.unicodePropertyEscape) && /\\[pP]{/.test(pattern)) { + unicodePropertyEscape = true; + } + } + + if ((0, _features.hasFeature)(features, _features.FEATURES.dotAllFlag) && flags.indexOf("s") >= 0) { + dotAllFlag = true; + } + + if ((0, _features.hasFeature)(features, _features.FEATURES.namedCaptureGroups) && /\(\?<(?![=!])/.test(pattern)) { + namedGroup = true; + } + + if (!namedGroup && !unicodePropertyEscape && !dotAllFlag && (!flagsIncludesU || useUnicodeFlag)) { + return null; + } + + if (flagsIncludesU && flags.indexOf("s") >= 0) { + dotAllFlag = true; + } + + return { + useUnicodeFlag, + onNamedGroup: () => {}, + namedGroup, + unicodePropertyEscape, + dotAllFlag, + lookbehind: true + }; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-create-regexp-features-plugin/package.json b/node_modules/@babel/helper-create-regexp-features-plugin/package.json new file mode 100644 index 000000000..7114d5874 --- /dev/null +++ b/node_modules/@babel/helper-create-regexp-features-plugin/package.json @@ -0,0 +1,69 @@ +{ + "_from": "@babel/helper-create-regexp-features-plugin@^7.10.4", + "_id": "@babel/helper-create-regexp-features-plugin@7.10.4", + "_inBundle": false, + "_integrity": "sha512-2/hu58IEPKeoLF45DBwx3XFqsbCXmkdAay4spVr2x0jYgRxrSNp+ePwvSsy9g6YSaNDcKIQVPXk1Ov8S2edk2g==", + "_location": "/@babel/helper-create-regexp-features-plugin", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-create-regexp-features-plugin@^7.10.4", + "name": "@babel/helper-create-regexp-features-plugin", + "escapedName": "@babel%2fhelper-create-regexp-features-plugin", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/plugin-proposal-unicode-property-regex", + "/@babel/plugin-transform-dotall-regex", + "/@babel/plugin-transform-named-capturing-groups-regex", + "/@babel/plugin-transform-unicode-regex" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.4.tgz", + "_shasum": "fdd60d88524659a0b6959c0579925e425714f3b8", + "_spec": "@babel/helper-create-regexp-features-plugin@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-proposal-unicode-property-regex", + "author": { + "name": "The Babel Team", + "url": "https://babeljs.io/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.10.4", + "@babel/helper-regex": "^7.10.4", + "regexpu-core": "^4.7.0" + }, + "deprecated": false, + "description": "Compile ESNext Regular Expressions to ES5", + "devDependencies": { + "@babel/core": "^7.10.4", + "@babel/helper-plugin-test-runner": "^7.10.4" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "keywords": [ + "babel", + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-create-regexp-features-plugin", + "peerDependencies": { + "@babel/core": "^7.0.0" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-create-regexp-features-plugin" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-define-map/LICENSE b/node_modules/@babel/helper-define-map/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-define-map/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-define-map/README.md b/node_modules/@babel/helper-define-map/README.md new file mode 100644 index 000000000..b0bde3a89 --- /dev/null +++ b/node_modules/@babel/helper-define-map/README.md @@ -0,0 +1,19 @@ +# @babel/helper-define-map + +> Helper function to define a map + +See our website [@babel/helper-define-map](https://babeljs.io/docs/en/next/babel-helper-define-map.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-define-map +``` + +or using yarn: + +```sh +yarn add @babel/helper-define-map --dev +``` diff --git a/node_modules/@babel/helper-define-map/lib/index.js b/node_modules/@babel/helper-define-map/lib/index.js new file mode 100644 index 000000000..4cf1a2672 --- /dev/null +++ b/node_modules/@babel/helper-define-map/lib/index.js @@ -0,0 +1,143 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.push = push; +exports.hasComputed = hasComputed; +exports.toComputedObjectFromClass = toComputedObjectFromClass; +exports.toClassObject = toClassObject; +exports.toDefineObject = toDefineObject; + +var _helperFunctionName = _interopRequireDefault(require("@babel/helper-function-name")); + +var _has = _interopRequireDefault(require("lodash/has")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function toKind(node) { + if (t.isClassMethod(node) || t.isObjectMethod(node)) { + if (node.kind === "get" || node.kind === "set") { + return node.kind; + } + } + + return "value"; +} + +function push(mutatorMap, node, kind, file, scope) { + const alias = t.toKeyAlias(node); + let map = {}; + if ((0, _has.default)(mutatorMap, alias)) map = mutatorMap[alias]; + mutatorMap[alias] = map; + map._inherits = map._inherits || []; + + map._inherits.push(node); + + map._key = node.key; + + if (node.computed) { + map._computed = true; + } + + if (node.decorators) { + const decorators = map.decorators = map.decorators || t.arrayExpression([]); + decorators.elements = decorators.elements.concat(node.decorators.map(dec => dec.expression).reverse()); + } + + if (map.value || map.initializer) { + throw file.buildCodeFrameError(node, "Key conflict with sibling node"); + } + + let key, value; + + if (t.isObjectProperty(node) || t.isObjectMethod(node) || t.isClassMethod(node)) { + key = t.toComputedKey(node, node.key); + } + + if (t.isProperty(node)) { + value = node.value; + } else if (t.isObjectMethod(node) || t.isClassMethod(node)) { + value = t.functionExpression(null, node.params, node.body, node.generator, node.async); + value.returnType = node.returnType; + } + + const inheritedKind = toKind(node); + + if (!kind || inheritedKind !== "value") { + kind = inheritedKind; + } + + if (scope && t.isStringLiteral(key) && (kind === "value" || kind === "initializer") && t.isFunctionExpression(value)) { + value = (0, _helperFunctionName.default)({ + id: key, + node: value, + scope + }); + } + + if (value) { + t.inheritsComments(value, node); + map[kind] = value; + } + + return map; +} + +function hasComputed(mutatorMap) { + for (const key of Object.keys(mutatorMap)) { + if (mutatorMap[key]._computed) { + return true; + } + } + + return false; +} + +function toComputedObjectFromClass(obj) { + const objExpr = t.arrayExpression([]); + + for (let i = 0; i < obj.properties.length; i++) { + const prop = obj.properties[i]; + const val = prop.value; + val.properties.unshift(t.objectProperty(t.identifier("key"), t.toComputedKey(prop))); + objExpr.elements.push(val); + } + + return objExpr; +} + +function toClassObject(mutatorMap) { + const objExpr = t.objectExpression([]); + Object.keys(mutatorMap).forEach(function (mutatorMapKey) { + const map = mutatorMap[mutatorMapKey]; + const mapNode = t.objectExpression([]); + const propNode = t.objectProperty(map._key, mapNode, map._computed); + Object.keys(map).forEach(function (key) { + const node = map[key]; + if (key[0] === "_") return; + const prop = t.objectProperty(t.identifier(key), node); + t.inheritsComments(prop, node); + t.removeComments(node); + mapNode.properties.push(prop); + }); + objExpr.properties.push(propNode); + }); + return objExpr; +} + +function toDefineObject(mutatorMap) { + Object.keys(mutatorMap).forEach(function (key) { + const map = mutatorMap[key]; + if (map.value) map.writable = t.booleanLiteral(true); + map.configurable = t.booleanLiteral(true); + map.enumerable = t.booleanLiteral(true); + }); + return toClassObject(mutatorMap); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-define-map/package.json b/node_modules/@babel/helper-define-map/package.json new file mode 100644 index 000000000..9a8eec934 --- /dev/null +++ b/node_modules/@babel/helper-define-map/package.json @@ -0,0 +1,51 @@ +{ + "_from": "@babel/helper-define-map@^7.10.4", + "_id": "@babel/helper-define-map@7.10.5", + "_inBundle": false, + "_integrity": "sha512-fMw4kgFB720aQFXSVaXr79pjjcW5puTCM16+rECJ/plGS+zByelE8l9nCpV1GibxTnFVmUuYG9U8wYfQHdzOEQ==", + "_location": "/@babel/helper-define-map", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-define-map@^7.10.4", + "name": "@babel/helper-define-map", + "escapedName": "@babel%2fhelper-define-map", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/plugin-transform-classes" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.10.5.tgz", + "_shasum": "b53c10db78a640800152692b13393147acb9bb30", + "_spec": "@babel/helper-define-map@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-transform-classes", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-function-name": "^7.10.4", + "@babel/types": "^7.10.5", + "lodash": "^4.17.19" + }, + "deprecated": false, + "description": "Helper function to define a map", + "gitHead": "f7964a9ac51356f7df6404a25b27ba1cffba1ba7", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-define-map", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-define-map" + }, + "version": "7.10.5" +} diff --git a/node_modules/@babel/helper-explode-assignable-expression/LICENSE b/node_modules/@babel/helper-explode-assignable-expression/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-explode-assignable-expression/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-explode-assignable-expression/README.md b/node_modules/@babel/helper-explode-assignable-expression/README.md new file mode 100644 index 000000000..9bb5ab93d --- /dev/null +++ b/node_modules/@babel/helper-explode-assignable-expression/README.md @@ -0,0 +1,19 @@ +# @babel/helper-explode-assignable-expression + +> Helper function to explode an assignable expression + +See our website [@babel/helper-explode-assignable-expression](https://babeljs.io/docs/en/next/babel-helper-explode-assignable-expression.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-explode-assignable-expression +``` + +or using yarn: + +```sh +yarn add @babel/helper-explode-assignable-expression --dev +``` diff --git a/node_modules/@babel/helper-explode-assignable-expression/lib/index.js b/node_modules/@babel/helper-explode-assignable-expression/lib/index.js new file mode 100644 index 000000000..f9951d170 --- /dev/null +++ b/node_modules/@babel/helper-explode-assignable-expression/lib/index.js @@ -0,0 +1,80 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function getObjRef(node, nodes, file, scope) { + let ref; + + if (t.isSuper(node)) { + return node; + } else if (t.isIdentifier(node)) { + if (scope.hasBinding(node.name)) { + return node; + } else { + ref = node; + } + } else if (t.isMemberExpression(node)) { + ref = node.object; + + if (t.isSuper(ref) || t.isIdentifier(ref) && scope.hasBinding(ref.name)) { + return ref; + } + } else { + throw new Error(`We can't explode this node type ${node.type}`); + } + + const temp = scope.generateUidIdentifierBasedOnNode(ref); + scope.push({ + id: temp + }); + nodes.push(t.assignmentExpression("=", t.cloneNode(temp), t.cloneNode(ref))); + return temp; +} + +function getPropRef(node, nodes, file, scope) { + const prop = node.property; + const key = t.toComputedKey(node, prop); + if (t.isLiteral(key) && t.isPureish(key)) return key; + const temp = scope.generateUidIdentifierBasedOnNode(prop); + scope.push({ + id: temp + }); + nodes.push(t.assignmentExpression("=", t.cloneNode(temp), t.cloneNode(prop))); + return temp; +} + +function _default(node, nodes, file, scope, allowedSingleIdent) { + let obj; + + if (t.isIdentifier(node) && allowedSingleIdent) { + obj = node; + } else { + obj = getObjRef(node, nodes, file, scope); + } + + let ref, uid; + + if (t.isIdentifier(node)) { + ref = t.cloneNode(node); + uid = obj; + } else { + const prop = getPropRef(node, nodes, file, scope); + const computed = node.computed || t.isLiteral(prop); + uid = t.memberExpression(t.cloneNode(obj), t.cloneNode(prop), computed); + ref = t.memberExpression(t.cloneNode(obj), t.cloneNode(prop), computed); + } + + return { + uid: uid, + ref: ref + }; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-explode-assignable-expression/package.json b/node_modules/@babel/helper-explode-assignable-expression/package.json new file mode 100644 index 000000000..e9af11cd9 --- /dev/null +++ b/node_modules/@babel/helper-explode-assignable-expression/package.json @@ -0,0 +1,52 @@ +{ + "_from": "@babel/helper-explode-assignable-expression@^7.10.4", + "_id": "@babel/helper-explode-assignable-expression@7.11.4", + "_inBundle": false, + "_integrity": "sha512-ux9hm3zR4WV1Y3xXxXkdG/0gxF9nvI0YVmKVhvK9AfMoaQkemL3sJpXw+Xbz65azo8qJiEz2XVDUpK3KYhH3ZQ==", + "_location": "/@babel/helper-explode-assignable-expression", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-explode-assignable-expression@^7.10.4", + "name": "@babel/helper-explode-assignable-expression", + "escapedName": "@babel%2fhelper-explode-assignable-expression", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-builder-binary-assignment-operator-visitor" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.11.4.tgz", + "_shasum": "2d8e3470252cc17aba917ede7803d4a7a276a41b", + "_spec": "@babel/helper-explode-assignable-expression@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-builder-binary-assignment-operator-visitor", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to explode an assignable expression", + "devDependencies": { + "@babel/traverse": "^7.10.4" + }, + "gitHead": "90b198956995195ea00e7ac9912c2260e44d8746", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-explode-assignable-expression", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-explode-assignable-expression" + }, + "version": "7.11.4" +} diff --git a/node_modules/@babel/helper-function-name/LICENSE b/node_modules/@babel/helper-function-name/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-function-name/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-function-name/README.md b/node_modules/@babel/helper-function-name/README.md new file mode 100644 index 000000000..a8a6809ac --- /dev/null +++ b/node_modules/@babel/helper-function-name/README.md @@ -0,0 +1,19 @@ +# @babel/helper-function-name + +> Helper function to change the property 'name' of every function + +See our website [@babel/helper-function-name](https://babeljs.io/docs/en/next/babel-helper-function-name.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-function-name +``` + +or using yarn: + +```sh +yarn add @babel/helper-function-name --dev +``` diff --git a/node_modules/@babel/helper-function-name/lib/index.js b/node_modules/@babel/helper-function-name/lib/index.js new file mode 100644 index 000000000..00e1b5573 --- /dev/null +++ b/node_modules/@babel/helper-function-name/lib/index.js @@ -0,0 +1,178 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +var _helperGetFunctionArity = _interopRequireDefault(require("@babel/helper-get-function-arity")); + +var _template = _interopRequireDefault(require("@babel/template")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const buildPropertyMethodAssignmentWrapper = (0, _template.default)(` + (function (FUNCTION_KEY) { + function FUNCTION_ID() { + return FUNCTION_KEY.apply(this, arguments); + } + + FUNCTION_ID.toString = function () { + return FUNCTION_KEY.toString(); + } + + return FUNCTION_ID; + })(FUNCTION) +`); +const buildGeneratorPropertyMethodAssignmentWrapper = (0, _template.default)(` + (function (FUNCTION_KEY) { + function* FUNCTION_ID() { + return yield* FUNCTION_KEY.apply(this, arguments); + } + + FUNCTION_ID.toString = function () { + return FUNCTION_KEY.toString(); + }; + + return FUNCTION_ID; + })(FUNCTION) +`); +const visitor = { + "ReferencedIdentifier|BindingIdentifier"(path, state) { + if (path.node.name !== state.name) return; + const localDeclar = path.scope.getBindingIdentifier(state.name); + if (localDeclar !== state.outerDeclar) return; + state.selfReference = true; + path.stop(); + } + +}; + +function getNameFromLiteralId(id) { + if (t.isNullLiteral(id)) { + return "null"; + } + + if (t.isRegExpLiteral(id)) { + return `_${id.pattern}_${id.flags}`; + } + + if (t.isTemplateLiteral(id)) { + return id.quasis.map(quasi => quasi.value.raw).join(""); + } + + if (id.value !== undefined) { + return id.value + ""; + } + + return ""; +} + +function wrap(state, method, id, scope) { + if (state.selfReference) { + if (scope.hasBinding(id.name) && !scope.hasGlobal(id.name)) { + scope.rename(id.name); + } else { + if (!t.isFunction(method)) return; + let build = buildPropertyMethodAssignmentWrapper; + + if (method.generator) { + build = buildGeneratorPropertyMethodAssignmentWrapper; + } + + const template = build({ + FUNCTION: method, + FUNCTION_ID: id, + FUNCTION_KEY: scope.generateUidIdentifier(id.name) + }).expression; + const params = template.callee.body.body[0].params; + + for (let i = 0, len = (0, _helperGetFunctionArity.default)(method); i < len; i++) { + params.push(scope.generateUidIdentifier("x")); + } + + return template; + } + } + + method.id = id; + scope.getProgramParent().references[id.name] = true; +} + +function visit(node, name, scope) { + const state = { + selfAssignment: false, + selfReference: false, + outerDeclar: scope.getBindingIdentifier(name), + references: [], + name: name + }; + const binding = scope.getOwnBinding(name); + + if (binding) { + if (binding.kind === "param") { + state.selfReference = true; + } else {} + } else if (state.outerDeclar || scope.hasGlobal(name)) { + scope.traverse(node, visitor, state); + } + + return state; +} + +function _default({ + node, + parent, + scope, + id +}, localBinding = false) { + if (node.id) return; + + if ((t.isObjectProperty(parent) || t.isObjectMethod(parent, { + kind: "method" + })) && (!parent.computed || t.isLiteral(parent.key))) { + id = parent.key; + } else if (t.isVariableDeclarator(parent)) { + id = parent.id; + + if (t.isIdentifier(id) && !localBinding) { + const binding = scope.parent.getBinding(id.name); + + if (binding && binding.constant && scope.getBinding(id.name) === binding) { + node.id = t.cloneNode(id); + node.id[t.NOT_LOCAL_BINDING] = true; + return; + } + } + } else if (t.isAssignmentExpression(parent, { + operator: "=" + })) { + id = parent.left; + } else if (!id) { + return; + } + + let name; + + if (id && t.isLiteral(id)) { + name = getNameFromLiteralId(id); + } else if (id && t.isIdentifier(id)) { + name = id.name; + } + + if (name === undefined) { + return; + } + + name = t.toBindingIdentifierName(name); + id = t.identifier(name); + id[t.NOT_LOCAL_BINDING] = true; + const state = visit(node, name, scope); + return wrap(state, node, id, scope) || node; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-function-name/package.json b/node_modules/@babel/helper-function-name/package.json new file mode 100644 index 000000000..252db598e --- /dev/null +++ b/node_modules/@babel/helper-function-name/package.json @@ -0,0 +1,56 @@ +{ + "_from": "@babel/helper-function-name@^7.10.4", + "_id": "@babel/helper-function-name@7.10.4", + "_inBundle": false, + "_integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==", + "_location": "/@babel/helper-function-name", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-function-name@^7.10.4", + "name": "@babel/helper-function-name", + "escapedName": "@babel%2fhelper-function-name", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-create-class-features-plugin", + "/@babel/helper-define-map", + "/@babel/helper-wrap-function", + "/@babel/plugin-transform-classes", + "/@babel/plugin-transform-function-name", + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz", + "_shasum": "d2d3b20c59ad8c47112fa7d2a94bc09d5ef82f1a", + "_spec": "@babel/helper-function-name@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/traverse", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-get-function-arity": "^7.10.4", + "@babel/template": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to change the property 'name' of every function", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-function-name", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-function-name" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-get-function-arity/LICENSE b/node_modules/@babel/helper-get-function-arity/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-get-function-arity/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-get-function-arity/README.md b/node_modules/@babel/helper-get-function-arity/README.md new file mode 100644 index 000000000..1de8084fb --- /dev/null +++ b/node_modules/@babel/helper-get-function-arity/README.md @@ -0,0 +1,19 @@ +# @babel/helper-get-function-arity + +> Helper function to get function arity + +See our website [@babel/helper-get-function-arity](https://babeljs.io/docs/en/next/babel-helper-get-function-arity.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-get-function-arity +``` + +or using yarn: + +```sh +yarn add @babel/helper-get-function-arity --dev +``` diff --git a/node_modules/@babel/helper-get-function-arity/lib/index.js b/node_modules/@babel/helper-get-function-arity/lib/index.js new file mode 100644 index 000000000..46e71dce2 --- /dev/null +++ b/node_modules/@babel/helper-get-function-arity/lib/index.js @@ -0,0 +1,26 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _default(node) { + const params = node.params; + + for (let i = 0; i < params.length; i++) { + const param = params[i]; + + if (t.isAssignmentPattern(param) || t.isRestElement(param)) { + return i; + } + } + + return params.length; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-get-function-arity/package.json b/node_modules/@babel/helper-get-function-arity/package.json new file mode 100644 index 000000000..9e5852e55 --- /dev/null +++ b/node_modules/@babel/helper-get-function-arity/package.json @@ -0,0 +1,50 @@ +{ + "_from": "@babel/helper-get-function-arity@^7.10.4", + "_id": "@babel/helper-get-function-arity@7.10.4", + "_inBundle": false, + "_integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==", + "_location": "/@babel/helper-get-function-arity", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-get-function-arity@^7.10.4", + "name": "@babel/helper-get-function-arity", + "escapedName": "@babel%2fhelper-get-function-arity", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-function-name", + "/@babel/plugin-transform-parameters" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz", + "_shasum": "98c1cbea0e2332f33f9a4661b8ce1505b2c19ba2", + "_spec": "@babel/helper-get-function-arity@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-function-name", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to get function arity", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-get-function-arity", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-get-function-arity" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-hoist-variables/LICENSE b/node_modules/@babel/helper-hoist-variables/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-hoist-variables/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-hoist-variables/README.md b/node_modules/@babel/helper-hoist-variables/README.md new file mode 100644 index 000000000..a6454d326 --- /dev/null +++ b/node_modules/@babel/helper-hoist-variables/README.md @@ -0,0 +1,19 @@ +# @babel/helper-hoist-variables + +> Helper function to hoist variables + +See our website [@babel/helper-hoist-variables](https://babeljs.io/docs/en/next/babel-helper-hoist-variables.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-hoist-variables +``` + +or using yarn: + +```sh +yarn add @babel/helper-hoist-variables --dev +``` diff --git a/node_modules/@babel/helper-hoist-variables/lib/index.js b/node_modules/@babel/helper-hoist-variables/lib/index.js new file mode 100644 index 000000000..5e40c4a44 --- /dev/null +++ b/node_modules/@babel/helper-hoist-variables/lib/index.js @@ -0,0 +1,57 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const visitor = { + Scope(path, state) { + if (state.kind === "let") path.skip(); + }, + + Function(path) { + path.skip(); + }, + + VariableDeclaration(path, state) { + if (state.kind && path.node.kind !== state.kind) return; + const nodes = []; + const declarations = path.get("declarations"); + let firstId; + + for (const declar of declarations) { + firstId = declar.node.id; + + if (declar.node.init) { + nodes.push(t.expressionStatement(t.assignmentExpression("=", declar.node.id, declar.node.init))); + } + + for (const name of Object.keys(declar.getBindingIdentifiers())) { + state.emit(t.identifier(name), name, declar.node.init !== null); + } + } + + if (path.parentPath.isFor({ + left: path.node + })) { + path.replaceWith(firstId); + } else { + path.replaceWithMultiple(nodes); + } + } + +}; + +function _default(path, emit, kind = "var") { + path.traverse(visitor, { + kind, + emit + }); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-hoist-variables/package.json b/node_modules/@babel/helper-hoist-variables/package.json new file mode 100644 index 000000000..74f9de9ef --- /dev/null +++ b/node_modules/@babel/helper-hoist-variables/package.json @@ -0,0 +1,49 @@ +{ + "_from": "@babel/helper-hoist-variables@^7.10.4", + "_id": "@babel/helper-hoist-variables@7.10.4", + "_inBundle": false, + "_integrity": "sha512-wljroF5PgCk2juF69kanHVs6vrLwIPNp6DLD+Lrl3hoQ3PpPPikaDRNFA+0t81NOoMt2DL6WW/mdU8k4k6ZzuA==", + "_location": "/@babel/helper-hoist-variables", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-hoist-variables@^7.10.4", + "name": "@babel/helper-hoist-variables", + "escapedName": "@babel%2fhelper-hoist-variables", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/plugin-transform-modules-systemjs" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.10.4.tgz", + "_shasum": "d49b001d1d5a68ca5e6604dda01a6297f7c9381e", + "_spec": "@babel/helper-hoist-variables@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-transform-modules-systemjs", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to hoist variables", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-hoist-variables", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-hoist-variables" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-member-expression-to-functions/LICENSE b/node_modules/@babel/helper-member-expression-to-functions/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-member-expression-to-functions/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-member-expression-to-functions/README.md b/node_modules/@babel/helper-member-expression-to-functions/README.md new file mode 100644 index 000000000..1e3eb5367 --- /dev/null +++ b/node_modules/@babel/helper-member-expression-to-functions/README.md @@ -0,0 +1,19 @@ +# @babel/helper-member-expression-to-functions + +> Helper function to replace certain member expressions with function calls + +See our website [@babel/helper-member-expression-to-functions](https://babeljs.io/docs/en/next/babel-helper-member-expression-to-functions.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-member-expression-to-functions +``` + +or using yarn: + +```sh +yarn add @babel/helper-member-expression-to-functions --dev +``` diff --git a/node_modules/@babel/helper-member-expression-to-functions/lib/index.js b/node_modules/@babel/helper-member-expression-to-functions/lib/index.js new file mode 100644 index 000000000..1383a92a6 --- /dev/null +++ b/node_modules/@babel/helper-member-expression-to-functions/lib/index.js @@ -0,0 +1,336 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = memberExpressionToFunctions; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +class AssignmentMemoiser { + constructor() { + this._map = new WeakMap(); + } + + has(key) { + return this._map.has(key); + } + + get(key) { + if (!this.has(key)) return; + + const record = this._map.get(key); + + const { + value + } = record; + record.count--; + + if (record.count === 0) { + return t.assignmentExpression("=", value, key); + } + + return value; + } + + set(key, value, count) { + return this._map.set(key, { + count, + value + }); + } + +} + +function toNonOptional(path, base) { + const { + node + } = path; + + if (path.isOptionalMemberExpression()) { + return t.memberExpression(base, node.property, node.computed); + } + + if (path.isOptionalCallExpression()) { + const callee = path.get("callee"); + + if (path.node.optional && callee.isOptionalMemberExpression()) { + const { + object + } = callee.node; + const context = path.scope.maybeGenerateMemoised(object) || object; + callee.get("object").replaceWith(t.assignmentExpression("=", context, object)); + return t.callExpression(t.memberExpression(base, t.identifier("call")), [context, ...node.arguments]); + } + + return t.callExpression(base, node.arguments); + } + + return path.node; +} + +function isInDetachedTree(path) { + while (path) { + if (path.isProgram()) break; + const { + parentPath, + container, + listKey + } = path; + const parentNode = parentPath.node; + + if (listKey) { + if (container !== parentNode[listKey]) return true; + } else { + if (container !== parentNode) return true; + } + + path = parentPath; + } + + return false; +} + +const handle = { + memoise() {}, + + handle(member) { + const { + node, + parent, + parentPath + } = member; + + if (member.isOptionalMemberExpression()) { + if (isInDetachedTree(member)) return; + const endPath = member.find(({ + node, + parent, + parentPath + }) => { + if (parentPath.isOptionalMemberExpression()) { + return parent.optional || parent.object !== node; + } + + if (parentPath.isOptionalCallExpression()) { + return node !== member.node && parent.optional || parent.callee !== node; + } + + return true; + }); + const rootParentPath = endPath.parentPath; + + if (rootParentPath.isUpdateExpression({ + argument: node + }) || rootParentPath.isAssignmentExpression({ + left: node + })) { + throw member.buildCodeFrameError(`can't handle assignment`); + } + + const isDeleteOperation = rootParentPath.isUnaryExpression({ + operator: "delete" + }); + + if (isDeleteOperation && endPath.isOptionalMemberExpression() && endPath.get("property").isPrivateName()) { + throw member.buildCodeFrameError(`can't delete a private class element`); + } + + let startingOptional = member; + + for (;;) { + if (startingOptional.isOptionalMemberExpression()) { + if (startingOptional.node.optional) break; + startingOptional = startingOptional.get("object"); + continue; + } else if (startingOptional.isOptionalCallExpression()) { + if (startingOptional.node.optional) break; + startingOptional = startingOptional.get("callee"); + continue; + } + + throw new Error(`Internal error: unexpected ${startingOptional.node.type}`); + } + + const { + scope + } = member; + const startingProp = startingOptional.isOptionalMemberExpression() ? "object" : "callee"; + const startingNode = startingOptional.node[startingProp]; + const baseNeedsMemoised = scope.maybeGenerateMemoised(startingNode); + const baseRef = baseNeedsMemoised != null ? baseNeedsMemoised : startingNode; + const parentIsOptionalCall = parentPath.isOptionalCallExpression({ + callee: node + }); + const parentIsCall = parentPath.isCallExpression({ + callee: node + }); + startingOptional.replaceWith(toNonOptional(startingOptional, baseRef)); + + if (parentIsOptionalCall) { + if (parent.optional) { + parentPath.replaceWith(this.optionalCall(member, parent.arguments)); + } else { + parentPath.replaceWith(this.call(member, parent.arguments)); + } + } else if (parentIsCall) { + member.replaceWith(this.boundGet(member)); + } else { + member.replaceWith(this.get(member)); + } + + let regular = member.node; + + for (let current = member; current !== endPath;) { + const { + parentPath + } = current; + + if (parentPath === endPath && parentIsOptionalCall && parent.optional) { + regular = parentPath.node; + break; + } + + regular = toNonOptional(parentPath, regular); + current = parentPath; + } + + let context; + const endParentPath = endPath.parentPath; + + if (t.isMemberExpression(regular) && endParentPath.isOptionalCallExpression({ + callee: endPath.node, + optional: true + })) { + const { + object + } = regular; + context = member.scope.maybeGenerateMemoised(object); + + if (context) { + regular.object = t.assignmentExpression("=", context, object); + } + } + + let replacementPath = endPath; + + if (isDeleteOperation) { + replacementPath = endParentPath; + regular = endParentPath.node; + } + + replacementPath.replaceWith(t.conditionalExpression(t.logicalExpression("||", t.binaryExpression("===", baseNeedsMemoised ? t.assignmentExpression("=", t.cloneNode(baseRef), t.cloneNode(startingNode)) : t.cloneNode(baseRef), t.nullLiteral()), t.binaryExpression("===", t.cloneNode(baseRef), scope.buildUndefinedNode())), isDeleteOperation ? t.booleanLiteral(true) : scope.buildUndefinedNode(), regular)); + + if (context) { + const endParent = endParentPath.node; + endParentPath.replaceWith(t.optionalCallExpression(t.optionalMemberExpression(endParent.callee, t.identifier("call"), false, true), [t.cloneNode(context), ...endParent.arguments], false)); + } + + return; + } + + if (parentPath.isUpdateExpression({ + argument: node + })) { + if (this.simpleSet) { + member.replaceWith(this.simpleSet(member)); + return; + } + + const { + operator, + prefix + } = parent; + this.memoise(member, 2); + const value = t.binaryExpression(operator[0], t.unaryExpression("+", this.get(member)), t.numericLiteral(1)); + + if (prefix) { + parentPath.replaceWith(this.set(member, value)); + } else { + const { + scope + } = member; + const ref = scope.generateUidIdentifierBasedOnNode(node); + scope.push({ + id: ref + }); + value.left = t.assignmentExpression("=", t.cloneNode(ref), value.left); + parentPath.replaceWith(t.sequenceExpression([this.set(member, value), t.cloneNode(ref)])); + } + + return; + } + + if (parentPath.isAssignmentExpression({ + left: node + })) { + if (this.simpleSet) { + member.replaceWith(this.simpleSet(member)); + return; + } + + const { + operator, + right: value + } = parent; + + if (operator === "=") { + parentPath.replaceWith(this.set(member, value)); + } else { + const operatorTrunc = operator.slice(0, -1); + + if (t.LOGICAL_OPERATORS.includes(operatorTrunc)) { + this.memoise(member, 1); + parentPath.replaceWith(t.logicalExpression(operatorTrunc, this.get(member), this.set(member, value))); + } else { + this.memoise(member, 2); + parentPath.replaceWith(this.set(member, t.binaryExpression(operatorTrunc, this.get(member), value))); + } + } + + return; + } + + if (parentPath.isCallExpression({ + callee: node + })) { + parentPath.replaceWith(this.call(member, parent.arguments)); + return; + } + + if (parentPath.isOptionalCallExpression({ + callee: node + })) { + parentPath.replaceWith(this.optionalCall(member, parent.arguments)); + return; + } + + if (parentPath.isForXStatement({ + left: node + }) || parentPath.isObjectProperty({ + value: node + }) && parentPath.parentPath.isObjectPattern() || parentPath.isAssignmentPattern({ + left: node + }) && parentPath.parentPath.isObjectProperty({ + value: parent + }) && parentPath.parentPath.parentPath.isObjectPattern() || parentPath.isArrayPattern() || parentPath.isAssignmentPattern({ + left: node + }) && parentPath.parentPath.isArrayPattern() || parentPath.isRestElement()) { + member.replaceWith(this.destructureSet(member)); + return; + } + + member.replaceWith(this.get(member)); + } + +}; + +function memberExpressionToFunctions(path, visitor, state) { + path.traverse(visitor, Object.assign({}, handle, state, { + memoiser: new AssignmentMemoiser() + })); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-member-expression-to-functions/package.json b/node_modules/@babel/helper-member-expression-to-functions/package.json new file mode 100644 index 000000000..6abeed87f --- /dev/null +++ b/node_modules/@babel/helper-member-expression-to-functions/package.json @@ -0,0 +1,53 @@ +{ + "_from": "@babel/helper-member-expression-to-functions@^7.10.4", + "_id": "@babel/helper-member-expression-to-functions@7.11.0", + "_inBundle": false, + "_integrity": "sha512-JbFlKHFntRV5qKw3YC0CvQnDZ4XMwgzzBbld7Ly4Mj4cbFy3KywcR8NtNctRToMWJOVvLINJv525Gd6wwVEx/Q==", + "_location": "/@babel/helper-member-expression-to-functions", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-member-expression-to-functions@^7.10.4", + "name": "@babel/helper-member-expression-to-functions", + "escapedName": "@babel%2fhelper-member-expression-to-functions", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-create-class-features-plugin", + "/@babel/helper-replace-supers" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz", + "_shasum": "ae69c83d84ee82f4b42f96e2a09410935a8f26df", + "_spec": "@babel/helper-member-expression-to-functions@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-replace-supers", + "author": { + "name": "Justin Ridgewell", + "email": "justin@ridgewell.name" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.11.0" + }, + "deprecated": false, + "description": "Helper function to replace certain member expressions with function calls", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-member-expression-to-functions", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-member-expression-to-functions" + }, + "version": "7.11.0" +} diff --git a/node_modules/@babel/helper-module-imports/LICENSE b/node_modules/@babel/helper-module-imports/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-module-imports/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-module-imports/README.md b/node_modules/@babel/helper-module-imports/README.md new file mode 100644 index 000000000..c1b21e615 --- /dev/null +++ b/node_modules/@babel/helper-module-imports/README.md @@ -0,0 +1,19 @@ +# @babel/helper-module-imports + +> Babel helper functions for inserting module loads + +See our website [@babel/helper-module-imports](https://babeljs.io/docs/en/next/babel-helper-module-imports.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-module-imports +``` + +or using yarn: + +```sh +yarn add @babel/helper-module-imports --dev +``` diff --git a/node_modules/@babel/helper-module-imports/lib/import-builder.js b/node_modules/@babel/helper-module-imports/lib/import-builder.js new file mode 100644 index 000000000..4fed51ec9 --- /dev/null +++ b/node_modules/@babel/helper-module-imports/lib/import-builder.js @@ -0,0 +1,139 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _assert = _interopRequireDefault(require("assert")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +class ImportBuilder { + constructor(importedSource, scope, hub) { + this._statements = []; + this._resultName = null; + this._scope = null; + this._hub = null; + this._scope = scope; + this._hub = hub; + this._importedSource = importedSource; + } + + done() { + return { + statements: this._statements, + resultName: this._resultName + }; + } + + import() { + this._statements.push(t.importDeclaration([], t.stringLiteral(this._importedSource))); + + return this; + } + + require() { + this._statements.push(t.expressionStatement(t.callExpression(t.identifier("require"), [t.stringLiteral(this._importedSource)]))); + + return this; + } + + namespace(name = "namespace") { + name = this._scope.generateUidIdentifier(name); + const statement = this._statements[this._statements.length - 1]; + (0, _assert.default)(statement.type === "ImportDeclaration"); + (0, _assert.default)(statement.specifiers.length === 0); + statement.specifiers = [t.importNamespaceSpecifier(name)]; + this._resultName = t.cloneNode(name); + return this; + } + + default(name) { + name = this._scope.generateUidIdentifier(name); + const statement = this._statements[this._statements.length - 1]; + (0, _assert.default)(statement.type === "ImportDeclaration"); + (0, _assert.default)(statement.specifiers.length === 0); + statement.specifiers = [t.importDefaultSpecifier(name)]; + this._resultName = t.cloneNode(name); + return this; + } + + named(name, importName) { + if (importName === "default") return this.default(name); + name = this._scope.generateUidIdentifier(name); + const statement = this._statements[this._statements.length - 1]; + (0, _assert.default)(statement.type === "ImportDeclaration"); + (0, _assert.default)(statement.specifiers.length === 0); + statement.specifiers = [t.importSpecifier(name, t.identifier(importName))]; + this._resultName = t.cloneNode(name); + return this; + } + + var(name) { + name = this._scope.generateUidIdentifier(name); + let statement = this._statements[this._statements.length - 1]; + + if (statement.type !== "ExpressionStatement") { + (0, _assert.default)(this._resultName); + statement = t.expressionStatement(this._resultName); + + this._statements.push(statement); + } + + this._statements[this._statements.length - 1] = t.variableDeclaration("var", [t.variableDeclarator(name, statement.expression)]); + this._resultName = t.cloneNode(name); + return this; + } + + defaultInterop() { + return this._interop(this._hub.addHelper("interopRequireDefault")); + } + + wildcardInterop() { + return this._interop(this._hub.addHelper("interopRequireWildcard")); + } + + _interop(callee) { + const statement = this._statements[this._statements.length - 1]; + + if (statement.type === "ExpressionStatement") { + statement.expression = t.callExpression(callee, [statement.expression]); + } else if (statement.type === "VariableDeclaration") { + (0, _assert.default)(statement.declarations.length === 1); + statement.declarations[0].init = t.callExpression(callee, [statement.declarations[0].init]); + } else { + _assert.default.fail("Unexpected type."); + } + + return this; + } + + prop(name) { + const statement = this._statements[this._statements.length - 1]; + + if (statement.type === "ExpressionStatement") { + statement.expression = t.memberExpression(statement.expression, t.identifier(name)); + } else if (statement.type === "VariableDeclaration") { + (0, _assert.default)(statement.declarations.length === 1); + statement.declarations[0].init = t.memberExpression(statement.declarations[0].init, t.identifier(name)); + } else { + _assert.default.fail("Unexpected type:" + statement.type); + } + + return this; + } + + read(name) { + this._resultName = t.memberExpression(this._resultName, t.identifier(name)); + } + +} + +exports.default = ImportBuilder; \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/lib/import-injector.js b/node_modules/@babel/helper-module-imports/lib/import-injector.js new file mode 100644 index 000000000..1e983caed --- /dev/null +++ b/node_modules/@babel/helper-module-imports/lib/import-injector.js @@ -0,0 +1,271 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _assert = _interopRequireDefault(require("assert")); + +var t = _interopRequireWildcard(require("@babel/types")); + +var _importBuilder = _interopRequireDefault(require("./import-builder")); + +var _isModule = _interopRequireDefault(require("./is-module")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +class ImportInjector { + constructor(path, importedSource, opts) { + this._defaultOpts = { + importedSource: null, + importedType: "commonjs", + importedInterop: "babel", + importingInterop: "babel", + ensureLiveReference: false, + ensureNoContext: false + }; + const programPath = path.find(p => p.isProgram()); + this._programPath = programPath; + this._programScope = programPath.scope; + this._hub = programPath.hub; + this._defaultOpts = this._applyDefaults(importedSource, opts, true); + } + + addDefault(importedSourceIn, opts) { + return this.addNamed("default", importedSourceIn, opts); + } + + addNamed(importName, importedSourceIn, opts) { + (0, _assert.default)(typeof importName === "string"); + return this._generateImport(this._applyDefaults(importedSourceIn, opts), importName); + } + + addNamespace(importedSourceIn, opts) { + return this._generateImport(this._applyDefaults(importedSourceIn, opts), null); + } + + addSideEffect(importedSourceIn, opts) { + return this._generateImport(this._applyDefaults(importedSourceIn, opts), false); + } + + _applyDefaults(importedSource, opts, isInit = false) { + const optsList = []; + + if (typeof importedSource === "string") { + optsList.push({ + importedSource + }); + optsList.push(opts); + } else { + (0, _assert.default)(!opts, "Unexpected secondary arguments."); + optsList.push(importedSource); + } + + const newOpts = Object.assign({}, this._defaultOpts); + + for (const opts of optsList) { + if (!opts) continue; + Object.keys(newOpts).forEach(key => { + if (opts[key] !== undefined) newOpts[key] = opts[key]; + }); + + if (!isInit) { + if (opts.nameHint !== undefined) newOpts.nameHint = opts.nameHint; + if (opts.blockHoist !== undefined) newOpts.blockHoist = opts.blockHoist; + } + } + + return newOpts; + } + + _generateImport(opts, importName) { + const isDefault = importName === "default"; + const isNamed = !!importName && !isDefault; + const isNamespace = importName === null; + const { + importedSource, + importedType, + importedInterop, + importingInterop, + ensureLiveReference, + ensureNoContext, + nameHint, + blockHoist + } = opts; + let name = nameHint || importName; + const isMod = (0, _isModule.default)(this._programPath); + const isModuleForNode = isMod && importingInterop === "node"; + const isModuleForBabel = isMod && importingInterop === "babel"; + const builder = new _importBuilder.default(importedSource, this._programScope, this._hub); + + if (importedType === "es6") { + if (!isModuleForNode && !isModuleForBabel) { + throw new Error("Cannot import an ES6 module from CommonJS"); + } + + builder.import(); + + if (isNamespace) { + builder.namespace(nameHint || importedSource); + } else if (isDefault || isNamed) { + builder.named(name, importName); + } + } else if (importedType !== "commonjs") { + throw new Error(`Unexpected interopType "${importedType}"`); + } else if (importedInterop === "babel") { + if (isModuleForNode) { + name = name !== "default" ? name : importedSource; + const es6Default = `${importedSource}$es6Default`; + builder.import(); + + if (isNamespace) { + builder.default(es6Default).var(name || importedSource).wildcardInterop(); + } else if (isDefault) { + if (ensureLiveReference) { + builder.default(es6Default).var(name || importedSource).defaultInterop().read("default"); + } else { + builder.default(es6Default).var(name).defaultInterop().prop(importName); + } + } else if (isNamed) { + builder.default(es6Default).read(importName); + } + } else if (isModuleForBabel) { + builder.import(); + + if (isNamespace) { + builder.namespace(name || importedSource); + } else if (isDefault || isNamed) { + builder.named(name, importName); + } + } else { + builder.require(); + + if (isNamespace) { + builder.var(name || importedSource).wildcardInterop(); + } else if ((isDefault || isNamed) && ensureLiveReference) { + if (isDefault) { + name = name !== "default" ? name : importedSource; + builder.var(name).read(importName); + builder.defaultInterop(); + } else { + builder.var(importedSource).read(importName); + } + } else if (isDefault) { + builder.var(name).defaultInterop().prop(importName); + } else if (isNamed) { + builder.var(name).prop(importName); + } + } + } else if (importedInterop === "compiled") { + if (isModuleForNode) { + builder.import(); + + if (isNamespace) { + builder.default(name || importedSource); + } else if (isDefault || isNamed) { + builder.default(importedSource).read(name); + } + } else if (isModuleForBabel) { + builder.import(); + + if (isNamespace) { + builder.namespace(name || importedSource); + } else if (isDefault || isNamed) { + builder.named(name, importName); + } + } else { + builder.require(); + + if (isNamespace) { + builder.var(name || importedSource); + } else if (isDefault || isNamed) { + if (ensureLiveReference) { + builder.var(importedSource).read(name); + } else { + builder.prop(importName).var(name); + } + } + } + } else if (importedInterop === "uncompiled") { + if (isDefault && ensureLiveReference) { + throw new Error("No live reference for commonjs default"); + } + + if (isModuleForNode) { + builder.import(); + + if (isNamespace) { + builder.default(name || importedSource); + } else if (isDefault) { + builder.default(name); + } else if (isNamed) { + builder.default(importedSource).read(name); + } + } else if (isModuleForBabel) { + builder.import(); + + if (isNamespace) { + builder.default(name || importedSource); + } else if (isDefault) { + builder.default(name); + } else if (isNamed) { + builder.named(name, importName); + } + } else { + builder.require(); + + if (isNamespace) { + builder.var(name || importedSource); + } else if (isDefault) { + builder.var(name); + } else if (isNamed) { + if (ensureLiveReference) { + builder.var(importedSource).read(name); + } else { + builder.var(name).prop(importName); + } + } + } + } else { + throw new Error(`Unknown importedInterop "${importedInterop}".`); + } + + const { + statements, + resultName + } = builder.done(); + + this._insertStatements(statements, blockHoist); + + if ((isDefault || isNamed) && ensureNoContext && resultName.type !== "Identifier") { + return t.sequenceExpression([t.numericLiteral(0), resultName]); + } + + return resultName; + } + + _insertStatements(statements, blockHoist = 3) { + statements.forEach(node => { + node._blockHoist = blockHoist; + }); + + const targetPath = this._programPath.get("body").find(p => { + const val = p.node._blockHoist; + return Number.isFinite(val) && val < 4; + }); + + if (targetPath) { + targetPath.insertBefore(statements); + } else { + this._programPath.unshiftContainer("body", statements); + } + } + +} + +exports.default = ImportInjector; \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/lib/index.js b/node_modules/@babel/helper-module-imports/lib/index.js new file mode 100644 index 000000000..50e1e9808 --- /dev/null +++ b/node_modules/@babel/helper-module-imports/lib/index.js @@ -0,0 +1,43 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.addDefault = addDefault; +exports.addNamed = addNamed; +exports.addNamespace = addNamespace; +exports.addSideEffect = addSideEffect; +Object.defineProperty(exports, "ImportInjector", { + enumerable: true, + get: function () { + return _importInjector.default; + } +}); +Object.defineProperty(exports, "isModule", { + enumerable: true, + get: function () { + return _isModule.default; + } +}); + +var _importInjector = _interopRequireDefault(require("./import-injector")); + +var _isModule = _interopRequireDefault(require("./is-module")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function addDefault(path, importedSource, opts) { + return new _importInjector.default(path).addDefault(importedSource, opts); +} + +function addNamed(path, name, importedSource, opts) { + return new _importInjector.default(path).addNamed(name, importedSource, opts); +} + +function addNamespace(path, importedSource, opts) { + return new _importInjector.default(path).addNamespace(importedSource, opts); +} + +function addSideEffect(path, importedSource, opts) { + return new _importInjector.default(path).addSideEffect(importedSource, opts); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/lib/is-module.js b/node_modules/@babel/helper-module-imports/lib/is-module.js new file mode 100644 index 000000000..ad9e39954 --- /dev/null +++ b/node_modules/@babel/helper-module-imports/lib/is-module.js @@ -0,0 +1,18 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isModule; + +function isModule(path) { + const { + sourceType + } = path.node; + + if (sourceType !== "module" && sourceType !== "script") { + throw path.buildCodeFrameError(`Unknown sourceType "${sourceType}", cannot transform.`); + } + + return path.node.sourceType === "module"; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-imports/package.json b/node_modules/@babel/helper-module-imports/package.json new file mode 100644 index 000000000..4b8dd3c4d --- /dev/null +++ b/node_modules/@babel/helper-module-imports/package.json @@ -0,0 +1,59 @@ +{ + "_from": "@babel/helper-module-imports@^7.10.4", + "_id": "@babel/helper-module-imports@7.10.4", + "_inBundle": false, + "_integrity": "sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw==", + "_location": "/@babel/helper-module-imports", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-module-imports@^7.10.4", + "name": "@babel/helper-module-imports", + "escapedName": "@babel%2fhelper-module-imports", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-builder-react-jsx-experimental", + "/@babel/helper-module-transforms", + "/@babel/plugin-transform-async-to-generator", + "/@babel/preset-env" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz", + "_shasum": "4c5c54be04bd31670a7382797d75b9fa2e5b5620", + "_spec": "@babel/helper-module-imports@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-module-transforms", + "author": { + "name": "Logan Smyth", + "email": "loganfsmyth@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Babel helper functions for inserting module loads", + "devDependencies": { + "@babel/core": "^7.10.4" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-module-imports", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-module-imports" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-module-transforms/LICENSE b/node_modules/@babel/helper-module-transforms/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-module-transforms/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-module-transforms/README.md b/node_modules/@babel/helper-module-transforms/README.md new file mode 100644 index 000000000..8dfc1bda1 --- /dev/null +++ b/node_modules/@babel/helper-module-transforms/README.md @@ -0,0 +1,19 @@ +# @babel/helper-module-transforms + +> Babel helper functions for implementing ES6 module transformations + +See our website [@babel/helper-module-transforms](https://babeljs.io/docs/en/next/babel-helper-module-transforms.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-module-transforms +``` + +or using yarn: + +```sh +yarn add @babel/helper-module-transforms --dev +``` diff --git a/node_modules/@babel/helper-module-transforms/lib/get-module-name.js b/node_modules/@babel/helper-module-transforms/lib/get-module-name.js new file mode 100644 index 000000000..005469dc1 --- /dev/null +++ b/node_modules/@babel/helper-module-transforms/lib/get-module-name.js @@ -0,0 +1,42 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getModuleName; + +function getModuleName(rootOpts, pluginOpts) { + var _pluginOpts$moduleRoo, _rootOpts$moduleIds, _rootOpts$moduleRoot; + + const { + filename, + filenameRelative = filename, + sourceRoot = (_pluginOpts$moduleRoo = pluginOpts.moduleRoot) != null ? _pluginOpts$moduleRoo : rootOpts.moduleRoot + } = rootOpts; + const { + moduleId = rootOpts.moduleId, + moduleIds = (_rootOpts$moduleIds = rootOpts.moduleIds) != null ? _rootOpts$moduleIds : !!moduleId, + getModuleId = rootOpts.getModuleId, + moduleRoot = (_rootOpts$moduleRoot = rootOpts.moduleRoot) != null ? _rootOpts$moduleRoot : sourceRoot + } = pluginOpts; + if (!moduleIds) return null; + + if (moduleId != null && !getModuleId) { + return moduleId; + } + + let moduleName = moduleRoot != null ? moduleRoot + "/" : ""; + + if (filenameRelative) { + const sourceRootReplacer = sourceRoot != null ? new RegExp("^" + sourceRoot + "/?") : ""; + moduleName += filenameRelative.replace(sourceRootReplacer, "").replace(/\.(\w*?)$/, ""); + } + + moduleName = moduleName.replace(/\\/g, "/"); + + if (getModuleId) { + return getModuleId(moduleName) || moduleName; + } else { + return moduleName; + } +} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/lib/index.js b/node_modules/@babel/helper-module-transforms/lib/index.js new file mode 100644 index 000000000..c32bdea55 --- /dev/null +++ b/node_modules/@babel/helper-module-transforms/lib/index.js @@ -0,0 +1,316 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.rewriteModuleStatementsAndPrepareHeader = rewriteModuleStatementsAndPrepareHeader; +exports.ensureStatementsHoisted = ensureStatementsHoisted; +exports.wrapInterop = wrapInterop; +exports.buildNamespaceInitStatements = buildNamespaceInitStatements; +Object.defineProperty(exports, "isModule", { + enumerable: true, + get: function () { + return _helperModuleImports.isModule; + } +}); +Object.defineProperty(exports, "rewriteThis", { + enumerable: true, + get: function () { + return _rewriteThis.default; + } +}); +Object.defineProperty(exports, "hasExports", { + enumerable: true, + get: function () { + return _normalizeAndLoadMetadata.hasExports; + } +}); +Object.defineProperty(exports, "isSideEffectImport", { + enumerable: true, + get: function () { + return _normalizeAndLoadMetadata.isSideEffectImport; + } +}); +Object.defineProperty(exports, "getModuleName", { + enumerable: true, + get: function () { + return _getModuleName.default; + } +}); + +var _assert = _interopRequireDefault(require("assert")); + +var t = _interopRequireWildcard(require("@babel/types")); + +var _template = _interopRequireDefault(require("@babel/template")); + +var _chunk = _interopRequireDefault(require("lodash/chunk")); + +var _helperModuleImports = require("@babel/helper-module-imports"); + +var _rewriteThis = _interopRequireDefault(require("./rewrite-this")); + +var _rewriteLiveReferences = _interopRequireDefault(require("./rewrite-live-references")); + +var _normalizeAndLoadMetadata = _interopRequireWildcard(require("./normalize-and-load-metadata")); + +var _getModuleName = _interopRequireDefault(require("./get-module-name")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function rewriteModuleStatementsAndPrepareHeader(path, { + exportName, + strict, + allowTopLevelThis, + strictMode, + loose, + noInterop, + lazy, + esNamespaceOnly +}) { + (0, _assert.default)((0, _helperModuleImports.isModule)(path), "Cannot process module statements in a script"); + path.node.sourceType = "script"; + const meta = (0, _normalizeAndLoadMetadata.default)(path, exportName, { + noInterop, + loose, + lazy, + esNamespaceOnly + }); + + if (!allowTopLevelThis) { + (0, _rewriteThis.default)(path); + } + + (0, _rewriteLiveReferences.default)(path, meta); + + if (strictMode !== false) { + const hasStrict = path.node.directives.some(directive => { + return directive.value.value === "use strict"; + }); + + if (!hasStrict) { + path.unshiftContainer("directives", t.directive(t.directiveLiteral("use strict"))); + } + } + + const headers = []; + + if ((0, _normalizeAndLoadMetadata.hasExports)(meta) && !strict) { + headers.push(buildESModuleHeader(meta, loose)); + } + + const nameList = buildExportNameListDeclaration(path, meta); + + if (nameList) { + meta.exportNameListName = nameList.name; + headers.push(nameList.statement); + } + + headers.push(...buildExportInitializationStatements(path, meta, loose)); + return { + meta, + headers + }; +} + +function ensureStatementsHoisted(statements) { + statements.forEach(header => { + header._blockHoist = 3; + }); +} + +function wrapInterop(programPath, expr, type) { + if (type === "none") { + return null; + } + + let helper; + + if (type === "default") { + helper = "interopRequireDefault"; + } else if (type === "namespace") { + helper = "interopRequireWildcard"; + } else { + throw new Error(`Unknown interop: ${type}`); + } + + return t.callExpression(programPath.hub.addHelper(helper), [expr]); +} + +function buildNamespaceInitStatements(metadata, sourceMetadata, loose = false) { + const statements = []; + let srcNamespace = t.identifier(sourceMetadata.name); + if (sourceMetadata.lazy) srcNamespace = t.callExpression(srcNamespace, []); + + for (const localName of sourceMetadata.importsNamespace) { + if (localName === sourceMetadata.name) continue; + statements.push(_template.default.statement`var NAME = SOURCE;`({ + NAME: localName, + SOURCE: t.cloneNode(srcNamespace) + })); + } + + if (loose) { + statements.push(...buildReexportsFromMeta(metadata, sourceMetadata, loose)); + } + + for (const exportName of sourceMetadata.reexportNamespace) { + statements.push((sourceMetadata.lazy ? _template.default.statement` + Object.defineProperty(EXPORTS, "NAME", { + enumerable: true, + get: function() { + return NAMESPACE; + } + }); + ` : _template.default.statement`EXPORTS.NAME = NAMESPACE;`)({ + EXPORTS: metadata.exportName, + NAME: exportName, + NAMESPACE: t.cloneNode(srcNamespace) + })); + } + + if (sourceMetadata.reexportAll) { + const statement = buildNamespaceReexport(metadata, t.cloneNode(srcNamespace), loose); + statement.loc = sourceMetadata.reexportAll.loc; + statements.push(statement); + } + + return statements; +} + +const getTemplateForReexport = loose => { + return loose ? _template.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE.IMPORT_NAME;` : (0, _template.default)` + Object.defineProperty(EXPORTS, "EXPORT_NAME", { + enumerable: true, + get: function() { + return NAMESPACE.IMPORT_NAME; + }, + }); + `; +}; + +const buildReexportsFromMeta = (meta, metadata, loose) => { + const namespace = metadata.lazy ? t.callExpression(t.identifier(metadata.name), []) : t.identifier(metadata.name); + const templateForCurrentMode = getTemplateForReexport(loose); + return Array.from(metadata.reexports, ([exportName, importName]) => templateForCurrentMode({ + EXPORTS: meta.exportName, + EXPORT_NAME: exportName, + NAMESPACE: t.cloneNode(namespace), + IMPORT_NAME: importName + })); +}; + +function buildESModuleHeader(metadata, enumerable = false) { + return (enumerable ? _template.default.statement` + EXPORTS.__esModule = true; + ` : _template.default.statement` + Object.defineProperty(EXPORTS, "__esModule", { + value: true, + }); + `)({ + EXPORTS: metadata.exportName + }); +} + +function buildNamespaceReexport(metadata, namespace, loose) { + return (loose ? _template.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + + EXPORTS[key] = NAMESPACE[key]; + }); + ` : _template.default.statement` + Object.keys(NAMESPACE).forEach(function(key) { + if (key === "default" || key === "__esModule") return; + VERIFY_NAME_LIST; + + Object.defineProperty(EXPORTS, key, { + enumerable: true, + get: function() { + return NAMESPACE[key]; + }, + }); + }); + `)({ + NAMESPACE: namespace, + EXPORTS: metadata.exportName, + VERIFY_NAME_LIST: metadata.exportNameListName ? (0, _template.default)` + if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; + `({ + EXPORTS_LIST: metadata.exportNameListName + }) : null + }); +} + +function buildExportNameListDeclaration(programPath, metadata) { + const exportedVars = Object.create(null); + + for (const data of metadata.local.values()) { + for (const name of data.names) { + exportedVars[name] = true; + } + } + + let hasReexport = false; + + for (const data of metadata.source.values()) { + for (const exportName of data.reexports.keys()) { + exportedVars[exportName] = true; + } + + for (const exportName of data.reexportNamespace) { + exportedVars[exportName] = true; + } + + hasReexport = hasReexport || data.reexportAll; + } + + if (!hasReexport || Object.keys(exportedVars).length === 0) return null; + const name = programPath.scope.generateUidIdentifier("exportNames"); + delete exportedVars.default; + return { + name: name.name, + statement: t.variableDeclaration("var", [t.variableDeclarator(name, t.valueToNode(exportedVars))]) + }; +} + +function buildExportInitializationStatements(programPath, metadata, loose = false) { + const initStatements = []; + const exportNames = []; + + for (const [localName, data] of metadata.local) { + if (data.kind === "import") {} else if (data.kind === "hoisted") { + initStatements.push(buildInitStatement(metadata, data.names, t.identifier(localName))); + } else { + exportNames.push(...data.names); + } + } + + for (const data of metadata.source.values()) { + if (!loose) { + initStatements.push(...buildReexportsFromMeta(metadata, data, loose)); + } + + for (const exportName of data.reexportNamespace) { + exportNames.push(exportName); + } + } + + initStatements.push(...(0, _chunk.default)(exportNames, 100).map(members => { + return buildInitStatement(metadata, members, programPath.scope.buildUndefinedNode()); + })); + return initStatements; +} + +function buildInitStatement(metadata, exportNames, initExpr) { + return t.expressionStatement(exportNames.reduce((acc, exportName) => _template.default.expression`EXPORTS.NAME = VALUE`({ + EXPORTS: metadata.exportName, + NAME: exportName, + VALUE: acc + }), initExpr)); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js b/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js new file mode 100644 index 000000000..dde24b65c --- /dev/null +++ b/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js @@ -0,0 +1,346 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.hasExports = hasExports; +exports.isSideEffectImport = isSideEffectImport; +exports.default = normalizeModuleAndLoadMetadata; + +var _path = require("path"); + +var _helperSplitExportDeclaration = _interopRequireDefault(require("@babel/helper-split-export-declaration")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function hasExports(metadata) { + return metadata.hasExports; +} + +function isSideEffectImport(source) { + return source.imports.size === 0 && source.importsNamespace.size === 0 && source.reexports.size === 0 && source.reexportNamespace.size === 0 && !source.reexportAll; +} + +function normalizeModuleAndLoadMetadata(programPath, exportName, { + noInterop = false, + loose = false, + lazy = false, + esNamespaceOnly = false +} = {}) { + if (!exportName) { + exportName = programPath.scope.generateUidIdentifier("exports").name; + } + + nameAnonymousExports(programPath); + const { + local, + source, + hasExports + } = getModuleMetadata(programPath, { + loose, + lazy + }); + removeModuleDeclarations(programPath); + + for (const [, metadata] of source) { + if (metadata.importsNamespace.size > 0) { + metadata.name = metadata.importsNamespace.values().next().value; + } + + if (noInterop) metadata.interop = "none";else if (esNamespaceOnly) { + if (metadata.interop === "namespace") { + metadata.interop = "default"; + } + } + } + + return { + exportName, + exportNameListName: null, + hasExports, + local, + source + }; +} + +function getModuleMetadata(programPath, { + loose, + lazy +}) { + const localData = getLocalExportMetadata(programPath, loose); + const sourceData = new Map(); + + const getData = sourceNode => { + const source = sourceNode.value; + let data = sourceData.get(source); + + if (!data) { + data = { + name: programPath.scope.generateUidIdentifier((0, _path.basename)(source, (0, _path.extname)(source))).name, + interop: "none", + loc: null, + imports: new Map(), + importsNamespace: new Set(), + reexports: new Map(), + reexportNamespace: new Set(), + reexportAll: null, + lazy: false + }; + sourceData.set(source, data); + } + + return data; + }; + + let hasExports = false; + programPath.get("body").forEach(child => { + if (child.isImportDeclaration()) { + const data = getData(child.node.source); + if (!data.loc) data.loc = child.node.loc; + child.get("specifiers").forEach(spec => { + if (spec.isImportDefaultSpecifier()) { + const localName = spec.get("local").node.name; + data.imports.set(localName, "default"); + const reexport = localData.get(localName); + + if (reexport) { + localData.delete(localName); + reexport.names.forEach(name => { + data.reexports.set(name, "default"); + }); + } + } else if (spec.isImportNamespaceSpecifier()) { + const localName = spec.get("local").node.name; + data.importsNamespace.add(localName); + const reexport = localData.get(localName); + + if (reexport) { + localData.delete(localName); + reexport.names.forEach(name => { + data.reexportNamespace.add(name); + }); + } + } else if (spec.isImportSpecifier()) { + const importName = spec.get("imported").node.name; + const localName = spec.get("local").node.name; + data.imports.set(localName, importName); + const reexport = localData.get(localName); + + if (reexport) { + localData.delete(localName); + reexport.names.forEach(name => { + data.reexports.set(name, importName); + }); + } + } + }); + } else if (child.isExportAllDeclaration()) { + hasExports = true; + const data = getData(child.node.source); + if (!data.loc) data.loc = child.node.loc; + data.reexportAll = { + loc: child.node.loc + }; + } else if (child.isExportNamedDeclaration() && child.node.source) { + hasExports = true; + const data = getData(child.node.source); + if (!data.loc) data.loc = child.node.loc; + child.get("specifiers").forEach(spec => { + if (!spec.isExportSpecifier()) { + throw spec.buildCodeFrameError("Unexpected export specifier type"); + } + + const importName = spec.get("local").node.name; + const exportName = spec.get("exported").node.name; + data.reexports.set(exportName, importName); + + if (exportName === "__esModule") { + throw exportName.buildCodeFrameError('Illegal export "__esModule".'); + } + }); + } else if (child.isExportNamedDeclaration() || child.isExportDefaultDeclaration()) { + hasExports = true; + } + }); + + for (const metadata of sourceData.values()) { + let needsDefault = false; + let needsNamed = false; + + if (metadata.importsNamespace.size > 0) { + needsDefault = true; + needsNamed = true; + } + + if (metadata.reexportAll) { + needsNamed = true; + } + + for (const importName of metadata.imports.values()) { + if (importName === "default") needsDefault = true;else needsNamed = true; + } + + for (const importName of metadata.reexports.values()) { + if (importName === "default") needsDefault = true;else needsNamed = true; + } + + if (needsDefault && needsNamed) { + metadata.interop = "namespace"; + } else if (needsDefault) { + metadata.interop = "default"; + } + } + + for (const [source, metadata] of sourceData) { + if (lazy !== false && !(isSideEffectImport(metadata) || metadata.reexportAll)) { + if (lazy === true) { + metadata.lazy = !/\./.test(source); + } else if (Array.isArray(lazy)) { + metadata.lazy = lazy.indexOf(source) !== -1; + } else if (typeof lazy === "function") { + metadata.lazy = lazy(source); + } else { + throw new Error(`.lazy must be a boolean, string array, or function`); + } + } + } + + return { + hasExports, + local: localData, + source: sourceData + }; +} + +function getLocalExportMetadata(programPath, loose) { + const bindingKindLookup = new Map(); + programPath.get("body").forEach(child => { + let kind; + + if (child.isImportDeclaration()) { + kind = "import"; + } else { + if (child.isExportDefaultDeclaration()) child = child.get("declaration"); + + if (child.isExportNamedDeclaration()) { + if (child.node.declaration) { + child = child.get("declaration"); + } else if (loose && child.node.source && child.get("source").isStringLiteral()) { + child.node.specifiers.forEach(specifier => { + bindingKindLookup.set(specifier.local.name, "block"); + }); + return; + } + } + + if (child.isFunctionDeclaration()) { + kind = "hoisted"; + } else if (child.isClassDeclaration()) { + kind = "block"; + } else if (child.isVariableDeclaration({ + kind: "var" + })) { + kind = "var"; + } else if (child.isVariableDeclaration()) { + kind = "block"; + } else { + return; + } + } + + Object.keys(child.getOuterBindingIdentifiers()).forEach(name => { + bindingKindLookup.set(name, kind); + }); + }); + const localMetadata = new Map(); + + const getLocalMetadata = idPath => { + const localName = idPath.node.name; + let metadata = localMetadata.get(localName); + + if (!metadata) { + const kind = bindingKindLookup.get(localName); + + if (kind === undefined) { + throw idPath.buildCodeFrameError(`Exporting local "${localName}", which is not declared.`); + } + + metadata = { + names: [], + kind + }; + localMetadata.set(localName, metadata); + } + + return metadata; + }; + + programPath.get("body").forEach(child => { + if (child.isExportNamedDeclaration() && (loose || !child.node.source)) { + if (child.node.declaration) { + const declaration = child.get("declaration"); + const ids = declaration.getOuterBindingIdentifierPaths(); + Object.keys(ids).forEach(name => { + if (name === "__esModule") { + throw declaration.buildCodeFrameError('Illegal export "__esModule".'); + } + + getLocalMetadata(ids[name]).names.push(name); + }); + } else { + child.get("specifiers").forEach(spec => { + const local = spec.get("local"); + const exported = spec.get("exported"); + + if (exported.node.name === "__esModule") { + throw exported.buildCodeFrameError('Illegal export "__esModule".'); + } + + getLocalMetadata(local).names.push(exported.node.name); + }); + } + } else if (child.isExportDefaultDeclaration()) { + const declaration = child.get("declaration"); + + if (declaration.isFunctionDeclaration() || declaration.isClassDeclaration()) { + getLocalMetadata(declaration.get("id")).names.push("default"); + } else { + throw declaration.buildCodeFrameError("Unexpected default expression export."); + } + } + }); + return localMetadata; +} + +function nameAnonymousExports(programPath) { + programPath.get("body").forEach(child => { + if (!child.isExportDefaultDeclaration()) return; + (0, _helperSplitExportDeclaration.default)(child); + }); +} + +function removeModuleDeclarations(programPath) { + programPath.get("body").forEach(child => { + if (child.isImportDeclaration()) { + child.remove(); + } else if (child.isExportNamedDeclaration()) { + if (child.node.declaration) { + child.node.declaration._blockHoist = child.node._blockHoist; + child.replaceWith(child.node.declaration); + } else { + child.remove(); + } + } else if (child.isExportDefaultDeclaration()) { + const declaration = child.get("declaration"); + + if (declaration.isFunctionDeclaration() || declaration.isClassDeclaration()) { + declaration._blockHoist = child.node._blockHoist; + child.replaceWith(declaration); + } else { + throw declaration.buildCodeFrameError("Unexpected default expression export."); + } + } else if (child.isExportAllDeclaration()) { + child.remove(); + } + }); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js b/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js new file mode 100644 index 000000000..d148b3592 --- /dev/null +++ b/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js @@ -0,0 +1,292 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = rewriteLiveReferences; + +var _assert = _interopRequireDefault(require("assert")); + +var t = _interopRequireWildcard(require("@babel/types")); + +var _template = _interopRequireDefault(require("@babel/template")); + +var _helperSimpleAccess = _interopRequireDefault(require("@babel/helper-simple-access")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function rewriteLiveReferences(programPath, metadata) { + const imported = new Map(); + const exported = new Map(); + + const requeueInParent = path => { + programPath.requeue(path); + }; + + for (const [source, data] of metadata.source) { + for (const [localName, importName] of data.imports) { + imported.set(localName, [source, importName, null]); + } + + for (const localName of data.importsNamespace) { + imported.set(localName, [source, null, localName]); + } + } + + for (const [local, data] of metadata.local) { + let exportMeta = exported.get(local); + + if (!exportMeta) { + exportMeta = []; + exported.set(local, exportMeta); + } + + exportMeta.push(...data.names); + } + + programPath.traverse(rewriteBindingInitVisitor, { + metadata, + requeueInParent, + scope: programPath.scope, + exported + }); + (0, _helperSimpleAccess.default)(programPath, new Set([...Array.from(imported.keys()), ...Array.from(exported.keys())])); + programPath.traverse(rewriteReferencesVisitor, { + seen: new WeakSet(), + metadata, + requeueInParent, + scope: programPath.scope, + imported, + exported, + buildImportReference: ([source, importName, localName], identNode) => { + const meta = metadata.source.get(source); + + if (localName) { + if (meta.lazy) identNode = t.callExpression(identNode, []); + return identNode; + } + + let namespace = t.identifier(meta.name); + if (meta.lazy) namespace = t.callExpression(namespace, []); + return t.memberExpression(namespace, t.identifier(importName)); + } + }); +} + +const rewriteBindingInitVisitor = { + Scope(path) { + path.skip(); + }, + + ClassDeclaration(path) { + const { + requeueInParent, + exported, + metadata + } = this; + const { + id + } = path.node; + if (!id) throw new Error("Expected class to have a name"); + const localName = id.name; + const exportNames = exported.get(localName) || []; + + if (exportNames.length > 0) { + const statement = t.expressionStatement(buildBindingExportAssignmentExpression(metadata, exportNames, t.identifier(localName))); + statement._blockHoist = path.node._blockHoist; + requeueInParent(path.insertAfter(statement)[0]); + } + }, + + VariableDeclaration(path) { + const { + requeueInParent, + exported, + metadata + } = this; + Object.keys(path.getOuterBindingIdentifiers()).forEach(localName => { + const exportNames = exported.get(localName) || []; + + if (exportNames.length > 0) { + const statement = t.expressionStatement(buildBindingExportAssignmentExpression(metadata, exportNames, t.identifier(localName))); + statement._blockHoist = path.node._blockHoist; + requeueInParent(path.insertAfter(statement)[0]); + } + }); + } + +}; + +const buildBindingExportAssignmentExpression = (metadata, exportNames, localExpr) => { + return (exportNames || []).reduce((expr, exportName) => { + return t.assignmentExpression("=", t.memberExpression(t.identifier(metadata.exportName), t.identifier(exportName)), expr); + }, localExpr); +}; + +const buildImportThrow = localName => { + return _template.default.expression.ast` + (function() { + throw new Error('"' + '${localName}' + '" is read-only.'); + })() + `; +}; + +const rewriteReferencesVisitor = { + ReferencedIdentifier(path) { + const { + seen, + buildImportReference, + scope, + imported, + requeueInParent + } = this; + if (seen.has(path.node)) return; + seen.add(path.node); + const localName = path.node.name; + const localBinding = path.scope.getBinding(localName); + const rootBinding = scope.getBinding(localName); + if (rootBinding !== localBinding) return; + const importData = imported.get(localName); + + if (importData) { + const ref = buildImportReference(importData, path.node); + ref.loc = path.node.loc; + + if ((path.parentPath.isCallExpression({ + callee: path.node + }) || path.parentPath.isOptionalCallExpression({ + callee: path.node + }) || path.parentPath.isTaggedTemplateExpression({ + tag: path.node + })) && t.isMemberExpression(ref)) { + path.replaceWith(t.sequenceExpression([t.numericLiteral(0), ref])); + } else if (path.isJSXIdentifier() && t.isMemberExpression(ref)) { + const { + object, + property + } = ref; + path.replaceWith(t.JSXMemberExpression(t.JSXIdentifier(object.name), t.JSXIdentifier(property.name))); + } else { + path.replaceWith(ref); + } + + requeueInParent(path); + path.skip(); + } + }, + + AssignmentExpression: { + exit(path) { + const { + scope, + seen, + imported, + exported, + requeueInParent, + buildImportReference + } = this; + if (seen.has(path.node)) return; + seen.add(path.node); + const left = path.get("left"); + if (left.isMemberExpression()) return; + + if (left.isIdentifier()) { + const localName = left.node.name; + + if (scope.getBinding(localName) !== path.scope.getBinding(localName)) { + return; + } + + const exportedNames = exported.get(localName); + const importData = imported.get(localName); + + if ((exportedNames == null ? void 0 : exportedNames.length) > 0 || importData) { + (0, _assert.default)(path.node.operator === "=", "Path was not simplified"); + const assignment = path.node; + + if (importData) { + assignment.left = buildImportReference(importData, assignment.left); + assignment.right = t.sequenceExpression([assignment.right, buildImportThrow(localName)]); + } + + path.replaceWith(buildBindingExportAssignmentExpression(this.metadata, exportedNames, assignment)); + requeueInParent(path); + } + } else { + const ids = left.getOuterBindingIdentifiers(); + const programScopeIds = Object.keys(ids).filter(localName => scope.getBinding(localName) === path.scope.getBinding(localName)); + const id = programScopeIds.find(localName => imported.has(localName)); + + if (id) { + path.node.right = t.sequenceExpression([path.node.right, buildImportThrow(id)]); + } + + const items = []; + programScopeIds.forEach(localName => { + const exportedNames = exported.get(localName) || []; + + if (exportedNames.length > 0) { + items.push(buildBindingExportAssignmentExpression(this.metadata, exportedNames, t.identifier(localName))); + } + }); + + if (items.length > 0) { + let node = t.sequenceExpression(items); + + if (path.parentPath.isExpressionStatement()) { + node = t.expressionStatement(node); + node._blockHoist = path.parentPath.node._blockHoist; + } + + const statement = path.insertAfter(node)[0]; + requeueInParent(statement); + } + } + } + + }, + + "ForOfStatement|ForInStatement"(path) { + const { + scope, + node + } = path; + const { + left + } = node; + const { + exported, + scope: programScope + } = this; + + if (!t.isVariableDeclaration(left)) { + let didTransform = false; + const bodyPath = path.get("body"); + const loopBodyScope = bodyPath.scope; + + for (const name of Object.keys(t.getOuterBindingIdentifiers(left))) { + if (exported.get(name) && programScope.getBinding(name) === scope.getBinding(name)) { + didTransform = true; + + if (loopBodyScope.hasOwnBinding(name)) { + loopBodyScope.rename(name); + } + } + } + + if (!didTransform) { + return; + } + + const newLoopId = scope.generateUidIdentifierBasedOnNode(left); + bodyPath.unshiftContainer("body", t.expressionStatement(t.assignmentExpression("=", left, newLoopId))); + path.get("left").replaceWith(t.variableDeclaration("let", [t.variableDeclarator(t.cloneNode(newLoopId))])); + scope.registerDeclaration(path.get("left")); + } + } + +}; \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js b/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js new file mode 100644 index 000000000..37439572f --- /dev/null +++ b/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js @@ -0,0 +1,31 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = rewriteThis; + +var _helperReplaceSupers = require("@babel/helper-replace-supers"); + +function rewriteThis(programPath) { + programPath.traverse(rewriteThisVisitor); +} + +const rewriteThisVisitor = { + ThisExpression(path) { + path.replaceWith(path.scope.buildUndefinedNode()); + }, + + Function(path) { + if (path.isMethod()) (0, _helperReplaceSupers.skipAllButComputedKey)(path);else if (!path.isArrowFunctionExpression()) path.skip(); + }, + + ClassProperty(path) { + (0, _helperReplaceSupers.skipAllButComputedKey)(path); + }, + + ClassPrivateProperty(path) { + path.skip(); + } + +}; \ No newline at end of file diff --git a/node_modules/@babel/helper-module-transforms/package.json b/node_modules/@babel/helper-module-transforms/package.json new file mode 100644 index 000000000..e49f78403 --- /dev/null +++ b/node_modules/@babel/helper-module-transforms/package.json @@ -0,0 +1,62 @@ +{ + "_from": "@babel/helper-module-transforms@^7.11.0", + "_id": "@babel/helper-module-transforms@7.11.0", + "_inBundle": false, + "_integrity": "sha512-02EVu8COMuTRO1TAzdMtpBPbe6aQ1w/8fePD2YgQmxZU4gpNWaL9gK3Jp7dxlkUlUCJOTaSeA+Hrm1BRQwqIhg==", + "_location": "/@babel/helper-module-transforms", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-module-transforms@^7.11.0", + "name": "@babel/helper-module-transforms", + "escapedName": "@babel%2fhelper-module-transforms", + "scope": "@babel", + "rawSpec": "^7.11.0", + "saveSpec": null, + "fetchSpec": "^7.11.0" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/plugin-transform-modules-amd", + "/@babel/plugin-transform-modules-commonjs", + "/@babel/plugin-transform-modules-systemjs", + "/@babel/plugin-transform-modules-umd" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.11.0.tgz", + "_shasum": "b16f250229e47211abdd84b34b64737c2ab2d359", + "_spec": "@babel/helper-module-transforms@^7.11.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/core", + "author": { + "name": "Logan Smyth", + "email": "loganfsmyth@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-module-imports": "^7.10.4", + "@babel/helper-replace-supers": "^7.10.4", + "@babel/helper-simple-access": "^7.10.4", + "@babel/helper-split-export-declaration": "^7.11.0", + "@babel/template": "^7.10.4", + "@babel/types": "^7.11.0", + "lodash": "^4.17.19" + }, + "deprecated": false, + "description": "Babel helper functions for implementing ES6 module transformations", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-module-transforms", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-module-transforms" + }, + "version": "7.11.0" +} diff --git a/node_modules/@babel/helper-optimise-call-expression/LICENSE b/node_modules/@babel/helper-optimise-call-expression/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-optimise-call-expression/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-optimise-call-expression/README.md b/node_modules/@babel/helper-optimise-call-expression/README.md new file mode 100644 index 000000000..b232ac9cc --- /dev/null +++ b/node_modules/@babel/helper-optimise-call-expression/README.md @@ -0,0 +1,19 @@ +# @babel/helper-optimise-call-expression + +> Helper function to optimise call expression + +See our website [@babel/helper-optimise-call-expression](https://babeljs.io/docs/en/next/babel-helper-optimise-call-expression.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-optimise-call-expression +``` + +or using yarn: + +```sh +yarn add @babel/helper-optimise-call-expression --dev +``` diff --git a/node_modules/@babel/helper-optimise-call-expression/lib/index.js b/node_modules/@babel/helper-optimise-call-expression/lib/index.js new file mode 100644 index 000000000..4e8dd609f --- /dev/null +++ b/node_modules/@babel/helper-optimise-call-expression/lib/index.js @@ -0,0 +1,26 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _default(callee, thisNode, args, optional) { + if (args.length === 1 && t.isSpreadElement(args[0]) && t.isIdentifier(args[0].argument, { + name: "arguments" + })) { + return t.callExpression(t.memberExpression(callee, t.identifier("apply")), [thisNode, args[0].argument]); + } else { + if (optional) { + return t.optionalCallExpression(t.optionalMemberExpression(callee, t.identifier("call"), false, true), [thisNode, ...args], false); + } + + return t.callExpression(t.memberExpression(callee, t.identifier("call")), [thisNode, ...args]); + } +} \ No newline at end of file diff --git a/node_modules/@babel/helper-optimise-call-expression/package.json b/node_modules/@babel/helper-optimise-call-expression/package.json new file mode 100644 index 000000000..2dfd07c01 --- /dev/null +++ b/node_modules/@babel/helper-optimise-call-expression/package.json @@ -0,0 +1,51 @@ +{ + "_from": "@babel/helper-optimise-call-expression@^7.10.4", + "_id": "@babel/helper-optimise-call-expression@7.10.4", + "_inBundle": false, + "_integrity": "sha512-n3UGKY4VXwXThEiKrgRAoVPBMqeoPgHVqiHZOanAJCG9nQUL2pLRQirUzl0ioKclHGpGqRgIOkgcIJaIWLpygg==", + "_location": "/@babel/helper-optimise-call-expression", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-optimise-call-expression@^7.10.4", + "name": "@babel/helper-optimise-call-expression", + "escapedName": "@babel%2fhelper-optimise-call-expression", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-create-class-features-plugin", + "/@babel/helper-replace-supers", + "/@babel/plugin-transform-classes" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz", + "_shasum": "50dc96413d594f995a77905905b05893cd779673", + "_spec": "@babel/helper-optimise-call-expression@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-replace-supers", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to optimise call expression", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-optimise-call-expression", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-optimise-call-expression" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-plugin-utils/LICENSE b/node_modules/@babel/helper-plugin-utils/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-plugin-utils/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-plugin-utils/README.md b/node_modules/@babel/helper-plugin-utils/README.md new file mode 100644 index 000000000..4e6303e08 --- /dev/null +++ b/node_modules/@babel/helper-plugin-utils/README.md @@ -0,0 +1,19 @@ +# @babel/helper-plugin-utils + +> General utilities for plugins to use + +See our website [@babel/helper-plugin-utils](https://babeljs.io/docs/en/next/babel-helper-plugin-utils.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-plugin-utils +``` + +or using yarn: + +```sh +yarn add @babel/helper-plugin-utils --dev +``` diff --git a/node_modules/@babel/helper-plugin-utils/lib/index.js b/node_modules/@babel/helper-plugin-utils/lib/index.js new file mode 100644 index 000000000..adb0656fa --- /dev/null +++ b/node_modules/@babel/helper-plugin-utils/lib/index.js @@ -0,0 +1,77 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.declare = declare; + +function declare(builder) { + return (api, options, dirname) => { + if (!api.assertVersion) { + api = Object.assign(copyApiObject(api), { + assertVersion(range) { + throwVersionError(range, api.version); + } + + }); + } + + return builder(api, options || {}, dirname); + }; +} + +function copyApiObject(api) { + let proto = null; + + if (typeof api.version === "string" && /^7\./.test(api.version)) { + proto = Object.getPrototypeOf(api); + + if (proto && (!has(proto, "version") || !has(proto, "transform") || !has(proto, "template") || !has(proto, "types"))) { + proto = null; + } + } + + return Object.assign({}, proto, api); +} + +function has(obj, key) { + return Object.prototype.hasOwnProperty.call(obj, key); +} + +function throwVersionError(range, version) { + if (typeof range === "number") { + if (!Number.isInteger(range)) { + throw new Error("Expected string or integer value."); + } + + range = `^${range}.0.0-0`; + } + + if (typeof range !== "string") { + throw new Error("Expected string or integer value."); + } + + const limit = Error.stackTraceLimit; + + if (typeof limit === "number" && limit < 25) { + Error.stackTraceLimit = 25; + } + + let err; + + if (version.slice(0, 2) === "7.") { + err = new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${version}". ` + `You'll need to update your @babel/core version.`); + } else { + err = new Error(`Requires Babel "${range}", but was loaded with "${version}". ` + `If you are sure you have a compatible version of @babel/core, ` + `it is likely that something in your build process is loading the ` + `wrong version. Inspect the stack trace of this error to look for ` + `the first entry that doesn't mention "@babel/core" or "babel-core" ` + `to see what is calling Babel.`); + } + + if (typeof limit === "number") { + Error.stackTraceLimit = limit; + } + + throw Object.assign(err, { + code: "BABEL_VERSION_UNSUPPORTED", + version, + range + }); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-plugin-utils/package.json b/node_modules/@babel/helper-plugin-utils/package.json new file mode 100644 index 000000000..98febc9a5 --- /dev/null +++ b/node_modules/@babel/helper-plugin-utils/package.json @@ -0,0 +1,117 @@ +{ + "_from": "@babel/helper-plugin-utils@^7.10.4", + "_id": "@babel/helper-plugin-utils@7.10.4", + "_inBundle": false, + "_integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==", + "_location": "/@babel/helper-plugin-utils", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-plugin-utils@^7.10.4", + "name": "@babel/helper-plugin-utils", + "escapedName": "@babel%2fhelper-plugin-utils", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-create-class-features-plugin", + "/@babel/plugin-proposal-async-generator-functions", + "/@babel/plugin-proposal-class-properties", + "/@babel/plugin-proposal-dynamic-import", + "/@babel/plugin-proposal-export-namespace-from", + "/@babel/plugin-proposal-json-strings", + "/@babel/plugin-proposal-logical-assignment-operators", + "/@babel/plugin-proposal-nullish-coalescing-operator", + "/@babel/plugin-proposal-numeric-separator", + "/@babel/plugin-proposal-object-rest-spread", + "/@babel/plugin-proposal-optional-catch-binding", + "/@babel/plugin-proposal-optional-chaining", + "/@babel/plugin-proposal-private-methods", + "/@babel/plugin-proposal-unicode-property-regex", + "/@babel/plugin-syntax-async-generators", + "/@babel/plugin-syntax-class-properties", + "/@babel/plugin-syntax-dynamic-import", + "/@babel/plugin-syntax-export-namespace-from", + "/@babel/plugin-syntax-flow", + "/@babel/plugin-syntax-json-strings", + "/@babel/plugin-syntax-jsx", + "/@babel/plugin-syntax-logical-assignment-operators", + "/@babel/plugin-syntax-nullish-coalescing-operator", + "/@babel/plugin-syntax-numeric-separator", + "/@babel/plugin-syntax-object-rest-spread", + "/@babel/plugin-syntax-optional-catch-binding", + "/@babel/plugin-syntax-optional-chaining", + "/@babel/plugin-syntax-top-level-await", + "/@babel/plugin-transform-arrow-functions", + "/@babel/plugin-transform-async-to-generator", + "/@babel/plugin-transform-block-scoped-functions", + "/@babel/plugin-transform-block-scoping", + "/@babel/plugin-transform-classes", + "/@babel/plugin-transform-computed-properties", + "/@babel/plugin-transform-destructuring", + "/@babel/plugin-transform-dotall-regex", + "/@babel/plugin-transform-duplicate-keys", + "/@babel/plugin-transform-exponentiation-operator", + "/@babel/plugin-transform-flow-strip-types", + "/@babel/plugin-transform-for-of", + "/@babel/plugin-transform-function-name", + "/@babel/plugin-transform-literals", + "/@babel/plugin-transform-member-expression-literals", + "/@babel/plugin-transform-modules-amd", + "/@babel/plugin-transform-modules-commonjs", + "/@babel/plugin-transform-modules-systemjs", + "/@babel/plugin-transform-modules-umd", + "/@babel/plugin-transform-new-target", + "/@babel/plugin-transform-object-super", + "/@babel/plugin-transform-parameters", + "/@babel/plugin-transform-property-literals", + "/@babel/plugin-transform-react-display-name", + "/@babel/plugin-transform-react-jsx", + "/@babel/plugin-transform-react-jsx-development", + "/@babel/plugin-transform-react-jsx-self", + "/@babel/plugin-transform-react-jsx-source", + "/@babel/plugin-transform-react-pure-annotations", + "/@babel/plugin-transform-reserved-words", + "/@babel/plugin-transform-shorthand-properties", + "/@babel/plugin-transform-spread", + "/@babel/plugin-transform-sticky-regex", + "/@babel/plugin-transform-template-literals", + "/@babel/plugin-transform-typeof-symbol", + "/@babel/plugin-transform-unicode-escapes", + "/@babel/plugin-transform-unicode-regex", + "/@babel/preset-env", + "/@babel/preset-modules", + "/@babel/preset-react" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz", + "_shasum": "2f75a831269d4f677de49986dff59927533cf375", + "_spec": "@babel/helper-plugin-utils@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-transform-flow-strip-types", + "author": { + "name": "Logan Smyth", + "email": "loganfsmyth@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "General utilities for plugins to use", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-plugin-utils", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-plugin-utils" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-regex/LICENSE b/node_modules/@babel/helper-regex/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-regex/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-regex/README.md b/node_modules/@babel/helper-regex/README.md new file mode 100644 index 000000000..7ccff97a5 --- /dev/null +++ b/node_modules/@babel/helper-regex/README.md @@ -0,0 +1,19 @@ +# @babel/helper-regex + +> Helper function to check for literal RegEx + +See our website [@babel/helper-regex](https://babeljs.io/docs/en/next/babel-helper-regex.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-regex +``` + +or using yarn: + +```sh +yarn add @babel/helper-regex --dev +``` diff --git a/node_modules/@babel/helper-regex/lib/index.js b/node_modules/@babel/helper-regex/lib/index.js new file mode 100644 index 000000000..d4126e76c --- /dev/null +++ b/node_modules/@babel/helper-regex/lib/index.js @@ -0,0 +1,22 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.is = is; +exports.pullFlag = pullFlag; + +var _pull = _interopRequireDefault(require("lodash/pull")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function is(node, flag) { + return node.type === "RegExpLiteral" && node.flags.indexOf(flag) >= 0; +} + +function pullFlag(node, flag) { + const flags = node.flags.split(""); + if (node.flags.indexOf(flag) < 0) return; + (0, _pull.default)(flags, flag); + node.flags = flags.join(""); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-regex/package.json b/node_modules/@babel/helper-regex/package.json new file mode 100644 index 000000000..e67a3f48d --- /dev/null +++ b/node_modules/@babel/helper-regex/package.json @@ -0,0 +1,50 @@ +{ + "_from": "@babel/helper-regex@^7.10.4", + "_id": "@babel/helper-regex@7.10.5", + "_inBundle": false, + "_integrity": "sha512-68kdUAzDrljqBrio7DYAEgCoJHxppJOERHOgOrDN7WjOzP0ZQ1LsSDRXcemzVZaLvjaJsJEESb6qt+znNuENDg==", + "_location": "/@babel/helper-regex", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-regex@^7.10.4", + "name": "@babel/helper-regex", + "escapedName": "@babel%2fhelper-regex", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-create-regexp-features-plugin", + "/@babel/plugin-transform-sticky-regex" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.10.5.tgz", + "_shasum": "32dfbb79899073c415557053a19bd055aae50ae0", + "_spec": "@babel/helper-regex@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-create-regexp-features-plugin", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "lodash": "^4.17.19" + }, + "deprecated": false, + "description": "Helper function to check for literal RegEx", + "gitHead": "f7964a9ac51356f7df6404a25b27ba1cffba1ba7", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-regex", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-regex" + }, + "version": "7.10.5" +} diff --git a/node_modules/@babel/helper-remap-async-to-generator/LICENSE b/node_modules/@babel/helper-remap-async-to-generator/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-remap-async-to-generator/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-remap-async-to-generator/README.md b/node_modules/@babel/helper-remap-async-to-generator/README.md new file mode 100644 index 000000000..39a453cd6 --- /dev/null +++ b/node_modules/@babel/helper-remap-async-to-generator/README.md @@ -0,0 +1,19 @@ +# @babel/helper-remap-async-to-generator + +> Helper function to remap async functions to generators + +See our website [@babel/helper-remap-async-to-generator](https://babeljs.io/docs/en/next/babel-helper-remap-async-to-generator.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-remap-async-to-generator +``` + +or using yarn: + +```sh +yarn add @babel/helper-remap-async-to-generator --dev +``` diff --git a/node_modules/@babel/helper-remap-async-to-generator/lib/index.js b/node_modules/@babel/helper-remap-async-to-generator/lib/index.js new file mode 100644 index 000000000..cbf907b88 --- /dev/null +++ b/node_modules/@babel/helper-remap-async-to-generator/lib/index.js @@ -0,0 +1,78 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +var _helperWrapFunction = _interopRequireDefault(require("@babel/helper-wrap-function")); + +var _helperAnnotateAsPure = _interopRequireDefault(require("@babel/helper-annotate-as-pure")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const awaitVisitor = { + Function(path) { + path.skip(); + }, + + AwaitExpression(path, { + wrapAwait + }) { + const argument = path.get("argument"); + + if (path.parentPath.isYieldExpression()) { + path.replaceWith(argument.node); + return; + } + + path.replaceWith(t.yieldExpression(wrapAwait ? t.callExpression(t.cloneNode(wrapAwait), [argument.node]) : argument.node)); + } + +}; + +function _default(path, helpers) { + path.traverse(awaitVisitor, { + wrapAwait: helpers.wrapAwait + }); + const isIIFE = checkIsIIFE(path); + path.node.async = false; + path.node.generator = true; + (0, _helperWrapFunction.default)(path, t.cloneNode(helpers.wrapAsync)); + const isProperty = path.isObjectMethod() || path.isClassMethod() || path.parentPath.isObjectProperty() || path.parentPath.isClassProperty(); + + if (!isProperty && !isIIFE && path.isExpression()) { + (0, _helperAnnotateAsPure.default)(path); + } + + function checkIsIIFE(path) { + if (path.parentPath.isCallExpression({ + callee: path.node + })) { + return true; + } + + const { + parentPath + } = path; + + if (parentPath.isMemberExpression() && t.isIdentifier(parentPath.node.property, { + name: "bind" + })) { + const { + parentPath: bindCall + } = parentPath; + return bindCall.isCallExpression() && bindCall.node.arguments.length === 1 && t.isThisExpression(bindCall.node.arguments[0]) && bindCall.parentPath.isCallExpression({ + callee: bindCall.node + }); + } + + return false; + } +} \ No newline at end of file diff --git a/node_modules/@babel/helper-remap-async-to-generator/package.json b/node_modules/@babel/helper-remap-async-to-generator/package.json new file mode 100644 index 000000000..aff20493c --- /dev/null +++ b/node_modules/@babel/helper-remap-async-to-generator/package.json @@ -0,0 +1,56 @@ +{ + "_from": "@babel/helper-remap-async-to-generator@^7.10.4", + "_id": "@babel/helper-remap-async-to-generator@7.11.4", + "_inBundle": false, + "_integrity": "sha512-tR5vJ/vBa9wFy3m5LLv2faapJLnDFxNWff2SAYkSE4rLUdbp7CdObYFgI7wK4T/Mj4UzpjPwzR8Pzmr5m7MHGA==", + "_location": "/@babel/helper-remap-async-to-generator", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-remap-async-to-generator@^7.10.4", + "name": "@babel/helper-remap-async-to-generator", + "escapedName": "@babel%2fhelper-remap-async-to-generator", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/plugin-proposal-async-generator-functions", + "/@babel/plugin-transform-async-to-generator" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.11.4.tgz", + "_shasum": "4474ea9f7438f18575e30b0cac784045b402a12d", + "_spec": "@babel/helper-remap-async-to-generator@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-proposal-async-generator-functions", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.10.4", + "@babel/helper-wrap-function": "^7.10.4", + "@babel/template": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to remap async functions to generators", + "devDependencies": { + "@babel/traverse": "^7.10.4" + }, + "gitHead": "90b198956995195ea00e7ac9912c2260e44d8746", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-remap-async-to-generator", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-remap-async-to-generator" + }, + "version": "7.11.4" +} diff --git a/node_modules/@babel/helper-replace-supers/LICENSE b/node_modules/@babel/helper-replace-supers/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-replace-supers/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-replace-supers/README.md b/node_modules/@babel/helper-replace-supers/README.md new file mode 100644 index 000000000..60ec4cca2 --- /dev/null +++ b/node_modules/@babel/helper-replace-supers/README.md @@ -0,0 +1,19 @@ +# @babel/helper-replace-supers + +> Helper function to replace supers + +See our website [@babel/helper-replace-supers](https://babeljs.io/docs/en/next/babel-helper-replace-supers.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-replace-supers +``` + +or using yarn: + +```sh +yarn add @babel/helper-replace-supers --dev +``` diff --git a/node_modules/@babel/helper-replace-supers/lib/index.js b/node_modules/@babel/helper-replace-supers/lib/index.js new file mode 100644 index 000000000..105821d83 --- /dev/null +++ b/node_modules/@babel/helper-replace-supers/lib/index.js @@ -0,0 +1,245 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.skipAllButComputedKey = skipAllButComputedKey; +exports.default = exports.environmentVisitor = void 0; + +var _traverse = _interopRequireDefault(require("@babel/traverse")); + +var _helperMemberExpressionToFunctions = _interopRequireDefault(require("@babel/helper-member-expression-to-functions")); + +var _helperOptimiseCallExpression = _interopRequireDefault(require("@babel/helper-optimise-call-expression")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function getPrototypeOfExpression(objectRef, isStatic, file, isPrivateMethod) { + objectRef = t.cloneNode(objectRef); + const targetRef = isStatic || isPrivateMethod ? objectRef : t.memberExpression(objectRef, t.identifier("prototype")); + return t.callExpression(file.addHelper("getPrototypeOf"), [targetRef]); +} + +function skipAllButComputedKey(path) { + if (!path.node.computed) { + path.skip(); + return; + } + + const keys = t.VISITOR_KEYS[path.type]; + + for (const key of keys) { + if (key !== "key") path.skipKey(key); + } +} + +const environmentVisitor = { + TypeAnnotation(path) { + path.skip(); + }, + + Function(path) { + if (path.isMethod()) return; + if (path.isArrowFunctionExpression()) return; + path.skip(); + }, + + "Method|ClassProperty|ClassPrivateProperty"(path) { + skipAllButComputedKey(path); + } + +}; +exports.environmentVisitor = environmentVisitor; + +const visitor = _traverse.default.visitors.merge([environmentVisitor, { + Super(path, state) { + const { + node, + parentPath + } = path; + if (!parentPath.isMemberExpression({ + object: node + })) return; + state.handle(parentPath); + } + +}]); + +const specHandlers = { + memoise(superMember, count) { + const { + scope, + node + } = superMember; + const { + computed, + property + } = node; + + if (!computed) { + return; + } + + const memo = scope.maybeGenerateMemoised(property); + + if (!memo) { + return; + } + + this.memoiser.set(property, memo, count); + }, + + prop(superMember) { + const { + computed, + property + } = superMember.node; + + if (this.memoiser.has(property)) { + return t.cloneNode(this.memoiser.get(property)); + } + + if (computed) { + return t.cloneNode(property); + } + + return t.stringLiteral(property.name); + }, + + get(superMember) { + return this._get(superMember, this._getThisRefs()); + }, + + _get(superMember, thisRefs) { + const proto = getPrototypeOfExpression(this.getObjectRef(), this.isStatic, this.file, this.isPrivateMethod); + return t.callExpression(this.file.addHelper("get"), [thisRefs.memo ? t.sequenceExpression([thisRefs.memo, proto]) : proto, this.prop(superMember), thisRefs.this]); + }, + + _getThisRefs() { + if (!this.isDerivedConstructor) { + return { + this: t.thisExpression() + }; + } + + const thisRef = this.scope.generateDeclaredUidIdentifier("thisSuper"); + return { + memo: t.assignmentExpression("=", thisRef, t.thisExpression()), + this: t.cloneNode(thisRef) + }; + }, + + set(superMember, value) { + const thisRefs = this._getThisRefs(); + + const proto = getPrototypeOfExpression(this.getObjectRef(), this.isStatic, this.file, this.isPrivateMethod); + return t.callExpression(this.file.addHelper("set"), [thisRefs.memo ? t.sequenceExpression([thisRefs.memo, proto]) : proto, this.prop(superMember), value, thisRefs.this, t.booleanLiteral(superMember.isInStrictMode())]); + }, + + destructureSet(superMember) { + throw superMember.buildCodeFrameError(`Destructuring to a super field is not supported yet.`); + }, + + call(superMember, args) { + const thisRefs = this._getThisRefs(); + + return (0, _helperOptimiseCallExpression.default)(this._get(superMember, thisRefs), t.cloneNode(thisRefs.this), args, false); + } + +}; +const looseHandlers = Object.assign({}, specHandlers, { + prop(superMember) { + const { + property + } = superMember.node; + + if (this.memoiser.has(property)) { + return t.cloneNode(this.memoiser.get(property)); + } + + return t.cloneNode(property); + }, + + get(superMember) { + const { + isStatic, + superRef + } = this; + const { + computed + } = superMember.node; + const prop = this.prop(superMember); + let object; + + if (isStatic) { + object = superRef ? t.cloneNode(superRef) : t.memberExpression(t.identifier("Function"), t.identifier("prototype")); + } else { + object = superRef ? t.memberExpression(t.cloneNode(superRef), t.identifier("prototype")) : t.memberExpression(t.identifier("Object"), t.identifier("prototype")); + } + + return t.memberExpression(object, prop, computed); + }, + + set(superMember, value) { + const { + computed + } = superMember.node; + const prop = this.prop(superMember); + return t.assignmentExpression("=", t.memberExpression(t.thisExpression(), prop, computed), value); + }, + + destructureSet(superMember) { + const { + computed + } = superMember.node; + const prop = this.prop(superMember); + return t.memberExpression(t.thisExpression(), prop, computed); + }, + + call(superMember, args) { + return (0, _helperOptimiseCallExpression.default)(this.get(superMember), t.thisExpression(), args, false); + } + +}); + +class ReplaceSupers { + constructor(opts) { + const path = opts.methodPath; + this.methodPath = path; + this.isDerivedConstructor = path.isClassMethod({ + kind: "constructor" + }) && !!opts.superRef; + this.isStatic = path.isObjectMethod() || path.node.static; + this.isPrivateMethod = path.isPrivate() && path.isMethod(); + this.file = opts.file; + this.superRef = opts.superRef; + this.isLoose = opts.isLoose; + this.opts = opts; + } + + getObjectRef() { + return t.cloneNode(this.opts.objectRef || this.opts.getObjectRef()); + } + + replace() { + const handler = this.isLoose ? looseHandlers : specHandlers; + (0, _helperMemberExpressionToFunctions.default)(this.methodPath, visitor, Object.assign({ + file: this.file, + scope: this.methodPath.scope, + isDerivedConstructor: this.isDerivedConstructor, + isStatic: this.isStatic, + isPrivateMethod: this.isPrivateMethod, + getObjectRef: this.getObjectRef.bind(this), + superRef: this.superRef + }, handler)); + } + +} + +exports.default = ReplaceSupers; \ No newline at end of file diff --git a/node_modules/@babel/helper-replace-supers/package.json b/node_modules/@babel/helper-replace-supers/package.json new file mode 100644 index 000000000..2cb9096ba --- /dev/null +++ b/node_modules/@babel/helper-replace-supers/package.json @@ -0,0 +1,55 @@ +{ + "_from": "@babel/helper-replace-supers@^7.10.4", + "_id": "@babel/helper-replace-supers@7.10.4", + "_inBundle": false, + "_integrity": "sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A==", + "_location": "/@babel/helper-replace-supers", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-replace-supers@^7.10.4", + "name": "@babel/helper-replace-supers", + "escapedName": "@babel%2fhelper-replace-supers", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-create-class-features-plugin", + "/@babel/helper-module-transforms", + "/@babel/plugin-transform-classes", + "/@babel/plugin-transform-object-super" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz", + "_shasum": "d585cd9388ea06e6031e4cd44b6713cbead9e6cf", + "_spec": "@babel/helper-replace-supers@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-module-transforms", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-member-expression-to-functions": "^7.10.4", + "@babel/helper-optimise-call-expression": "^7.10.4", + "@babel/traverse": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper function to replace supers", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-replace-supers", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-replace-supers" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-simple-access/LICENSE b/node_modules/@babel/helper-simple-access/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-simple-access/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-simple-access/README.md b/node_modules/@babel/helper-simple-access/README.md new file mode 100644 index 000000000..206436ca8 --- /dev/null +++ b/node_modules/@babel/helper-simple-access/README.md @@ -0,0 +1,19 @@ +# @babel/helper-simple-access + +> Babel helper for ensuring that access to a given value is performed through simple accesses + +See our website [@babel/helper-simple-access](https://babeljs.io/docs/en/next/babel-helper-simple-access.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-simple-access +``` + +or using yarn: + +```sh +yarn add @babel/helper-simple-access --dev +``` diff --git a/node_modules/@babel/helper-simple-access/lib/index.js b/node_modules/@babel/helper-simple-access/lib/index.js new file mode 100644 index 000000000..12cfe7150 --- /dev/null +++ b/node_modules/@babel/helper-simple-access/lib/index.js @@ -0,0 +1,79 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = simplifyAccess; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function simplifyAccess(path, bindingNames) { + path.traverse(simpleAssignmentVisitor, { + scope: path.scope, + bindingNames, + seen: new WeakSet() + }); +} + +const simpleAssignmentVisitor = { + UpdateExpression: { + exit(path) { + const { + scope, + bindingNames + } = this; + const arg = path.get("argument"); + if (!arg.isIdentifier()) return; + const localName = arg.node.name; + if (!bindingNames.has(localName)) return; + + if (scope.getBinding(localName) !== path.scope.getBinding(localName)) { + return; + } + + if (path.parentPath.isExpressionStatement() && !path.isCompletionRecord()) { + const operator = path.node.operator == "++" ? "+=" : "-="; + path.replaceWith(t.assignmentExpression(operator, arg.node, t.numericLiteral(1))); + } else if (path.node.prefix) { + path.replaceWith(t.assignmentExpression("=", t.identifier(localName), t.binaryExpression(path.node.operator[0], t.unaryExpression("+", arg.node), t.numericLiteral(1)))); + } else { + const old = path.scope.generateUidIdentifierBasedOnNode(arg.node, "old"); + const varName = old.name; + path.scope.push({ + id: old + }); + const binary = t.binaryExpression(path.node.operator[0], t.identifier(varName), t.numericLiteral(1)); + path.replaceWith(t.sequenceExpression([t.assignmentExpression("=", t.identifier(varName), t.unaryExpression("+", arg.node)), t.assignmentExpression("=", t.cloneNode(arg.node), binary), t.identifier(varName)])); + } + } + + }, + AssignmentExpression: { + exit(path) { + const { + scope, + seen, + bindingNames + } = this; + if (path.node.operator === "=") return; + if (seen.has(path.node)) return; + seen.add(path.node); + const left = path.get("left"); + if (!left.isIdentifier()) return; + const localName = left.node.name; + if (!bindingNames.has(localName)) return; + + if (scope.getBinding(localName) !== path.scope.getBinding(localName)) { + return; + } + + path.node.right = t.binaryExpression(path.node.operator.slice(0, -1), t.cloneNode(path.node.left), path.node.right); + path.node.operator = "="; + } + + } +}; \ No newline at end of file diff --git a/node_modules/@babel/helper-simple-access/package.json b/node_modules/@babel/helper-simple-access/package.json new file mode 100644 index 000000000..a326f4613 --- /dev/null +++ b/node_modules/@babel/helper-simple-access/package.json @@ -0,0 +1,55 @@ +{ + "_from": "@babel/helper-simple-access@^7.10.4", + "_id": "@babel/helper-simple-access@7.10.4", + "_inBundle": false, + "_integrity": "sha512-0fMy72ej/VEvF8ULmX6yb5MtHG4uH4Dbd6I/aHDb/JVg0bbivwt9Wg+h3uMvX+QSFtwr5MeItvazbrc4jtRAXw==", + "_location": "/@babel/helper-simple-access", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-simple-access@^7.10.4", + "name": "@babel/helper-simple-access", + "escapedName": "@babel%2fhelper-simple-access", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-module-transforms", + "/@babel/plugin-transform-modules-commonjs" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.4.tgz", + "_shasum": "0f5ccda2945277a2a7a2d3a821e15395edcf3461", + "_spec": "@babel/helper-simple-access@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-module-transforms", + "author": { + "name": "Logan Smyth", + "email": "loganfsmyth@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/template": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Babel helper for ensuring that access to a given value is performed through simple accesses", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-simple-access", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-simple-access" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-skip-transparent-expression-wrappers/LICENSE b/node_modules/@babel/helper-skip-transparent-expression-wrappers/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-skip-transparent-expression-wrappers/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md b/node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md new file mode 100644 index 000000000..ac89e0269 --- /dev/null +++ b/node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md @@ -0,0 +1,17 @@ +# @babel/helper-skip-transparent-expression-wrappers + +> Helper which skips types and parentheses + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-skip-transparent-expression-wrappers +``` + +or using yarn: + +```sh +yarn add @babel/helper-skip-transparent-expression-wrappers --dev +``` diff --git a/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js b/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js new file mode 100644 index 000000000..ac87adf51 --- /dev/null +++ b/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js @@ -0,0 +1,25 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isTransparentExprWrapper = isTransparentExprWrapper; +exports.skipTransparentExprWrappers = skipTransparentExprWrappers; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function isTransparentExprWrapper(node) { + return t.isTSAsExpression(node) || t.isTSTypeAssertion(node) || t.isTSNonNullExpression(node) || t.isTypeCastExpression(node) || t.isParenthesizedExpression(node); +} + +function skipTransparentExprWrappers(path) { + while (isTransparentExprWrapper(path.node)) { + path = path.get("expression"); + } + + return path; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-skip-transparent-expression-wrappers/package.json b/node_modules/@babel/helper-skip-transparent-expression-wrappers/package.json new file mode 100644 index 000000000..8299e78cb --- /dev/null +++ b/node_modules/@babel/helper-skip-transparent-expression-wrappers/package.json @@ -0,0 +1,56 @@ +{ + "_from": "@babel/helper-skip-transparent-expression-wrappers@^7.11.0", + "_id": "@babel/helper-skip-transparent-expression-wrappers@7.11.0", + "_inBundle": false, + "_integrity": "sha512-0XIdiQln4Elglgjbwo9wuJpL/K7AGCY26kmEt0+pRP0TAj4jjyNq1MjoRvikrTVqKcx4Gysxt4cXvVFXP/JO2Q==", + "_location": "/@babel/helper-skip-transparent-expression-wrappers", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-skip-transparent-expression-wrappers@^7.11.0", + "name": "@babel/helper-skip-transparent-expression-wrappers", + "escapedName": "@babel%2fhelper-skip-transparent-expression-wrappers", + "scope": "@babel", + "rawSpec": "^7.11.0", + "saveSpec": null, + "fetchSpec": "^7.11.0" + }, + "_requiredBy": [ + "/@babel/plugin-proposal-optional-chaining", + "/@babel/plugin-transform-spread" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.11.0.tgz", + "_shasum": "eec162f112c2f58d3af0af125e3bb57665146729", + "_spec": "@babel/helper-skip-transparent-expression-wrappers@^7.11.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-proposal-optional-chaining", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.11.0" + }, + "deprecated": false, + "description": "Helper which skips types and parentheses", + "devDependencies": { + "@babel/traverse": "^7.11.0" + }, + "exports": { + ".": "./lib/index.js", + "./package.json": "./package.json" + }, + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-skip-transparent-expression-wrappers", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-skip-transparent-expression-wrappers" + }, + "version": "7.11.0" +} diff --git a/node_modules/@babel/helper-split-export-declaration/LICENSE b/node_modules/@babel/helper-split-export-declaration/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-split-export-declaration/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-split-export-declaration/README.md b/node_modules/@babel/helper-split-export-declaration/README.md new file mode 100644 index 000000000..d241fee0f --- /dev/null +++ b/node_modules/@babel/helper-split-export-declaration/README.md @@ -0,0 +1,19 @@ +# @babel/helper-split-export-declaration + +> + +See our website [@babel/helper-split-export-declaration](https://babeljs.io/docs/en/next/babel-helper-split-export-declaration.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-split-export-declaration +``` + +or using yarn: + +```sh +yarn add @babel/helper-split-export-declaration --dev +``` diff --git a/node_modules/@babel/helper-split-export-declaration/lib/index.js b/node_modules/@babel/helper-split-export-declaration/lib/index.js new file mode 100644 index 000000000..98e738557 --- /dev/null +++ b/node_modules/@babel/helper-split-export-declaration/lib/index.js @@ -0,0 +1,62 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = splitExportDeclaration; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function splitExportDeclaration(exportDeclaration) { + if (!exportDeclaration.isExportDeclaration()) { + throw new Error("Only export declarations can be split."); + } + + const isDefault = exportDeclaration.isExportDefaultDeclaration(); + const declaration = exportDeclaration.get("declaration"); + const isClassDeclaration = declaration.isClassDeclaration(); + + if (isDefault) { + const standaloneDeclaration = declaration.isFunctionDeclaration() || isClassDeclaration; + const scope = declaration.isScope() ? declaration.scope.parent : declaration.scope; + let id = declaration.node.id; + let needBindingRegistration = false; + + if (!id) { + needBindingRegistration = true; + id = scope.generateUidIdentifier("default"); + + if (standaloneDeclaration || declaration.isFunctionExpression() || declaration.isClassExpression()) { + declaration.node.id = t.cloneNode(id); + } + } + + const updatedDeclaration = standaloneDeclaration ? declaration : t.variableDeclaration("var", [t.variableDeclarator(t.cloneNode(id), declaration.node)]); + const updatedExportDeclaration = t.exportNamedDeclaration(null, [t.exportSpecifier(t.cloneNode(id), t.identifier("default"))]); + exportDeclaration.insertAfter(updatedExportDeclaration); + exportDeclaration.replaceWith(updatedDeclaration); + + if (needBindingRegistration) { + scope.registerDeclaration(exportDeclaration); + } + + return exportDeclaration; + } + + if (exportDeclaration.get("specifiers").length > 0) { + throw new Error("It doesn't make sense to split exported specifiers."); + } + + const bindingIdentifiers = declaration.getOuterBindingIdentifiers(); + const specifiers = Object.keys(bindingIdentifiers).map(name => { + return t.exportSpecifier(t.identifier(name), t.identifier(name)); + }); + const aliasDeclar = t.exportNamedDeclaration(null, specifiers); + exportDeclaration.insertAfter(aliasDeclar); + exportDeclaration.replaceWith(declaration.node); + return exportDeclaration; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-split-export-declaration/package.json b/node_modules/@babel/helper-split-export-declaration/package.json new file mode 100644 index 000000000..0c39acd10 --- /dev/null +++ b/node_modules/@babel/helper-split-export-declaration/package.json @@ -0,0 +1,51 @@ +{ + "_from": "@babel/helper-split-export-declaration@^7.11.0", + "_id": "@babel/helper-split-export-declaration@7.11.0", + "_inBundle": false, + "_integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==", + "_location": "/@babel/helper-split-export-declaration", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-split-export-declaration@^7.11.0", + "name": "@babel/helper-split-export-declaration", + "escapedName": "@babel%2fhelper-split-export-declaration", + "scope": "@babel", + "rawSpec": "^7.11.0", + "saveSpec": null, + "fetchSpec": "^7.11.0" + }, + "_requiredBy": [ + "/@babel/helper-create-class-features-plugin", + "/@babel/helper-module-transforms", + "/@babel/plugin-transform-classes", + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz", + "_shasum": "f8a491244acf6a676158ac42072911ba83ad099f", + "_spec": "@babel/helper-split-export-declaration@^7.11.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-module-transforms", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/types": "^7.11.0" + }, + "deprecated": false, + "description": ">", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-split-export-declaration", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-split-export-declaration" + }, + "version": "7.11.0" +} diff --git a/node_modules/@babel/helper-validator-identifier/LICENSE b/node_modules/@babel/helper-validator-identifier/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-validator-identifier/README.md b/node_modules/@babel/helper-validator-identifier/README.md new file mode 100644 index 000000000..ab2dad173 --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/README.md @@ -0,0 +1,19 @@ +# @babel/helper-validator-identifier + +> Validate identifier/keywords name + +See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/en/next/babel-helper-validator-identifier.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-validator-identifier +``` + +or using yarn: + +```sh +yarn add @babel/helper-validator-identifier --dev +``` diff --git a/node_modules/@babel/helper-validator-identifier/lib/identifier.js b/node_modules/@babel/helper-validator-identifier/lib/identifier.js new file mode 100644 index 000000000..51ec76370 --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/lib/identifier.js @@ -0,0 +1,77 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isIdentifierStart = isIdentifierStart; +exports.isIdentifierChar = isIdentifierChar; +exports.isIdentifierName = isIdentifierName; +let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"; +let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f"; +const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); +const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); +nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; +const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938]; +const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; + +function isInAstralSet(code, set) { + let pos = 0x10000; + + for (let i = 0, length = set.length; i < length; i += 2) { + pos += set[i]; + if (pos > code) return false; + pos += set[i + 1]; + if (pos >= code) return true; + } + + return false; +} + +function isIdentifierStart(code) { + if (code < 65) return code === 36; + if (code <= 90) return true; + if (code < 97) return code === 95; + if (code <= 122) return true; + + if (code <= 0xffff) { + return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code)); + } + + return isInAstralSet(code, astralIdentifierStartCodes); +} + +function isIdentifierChar(code) { + if (code < 48) return code === 36; + if (code < 58) return true; + if (code < 65) return false; + if (code <= 90) return true; + if (code < 97) return code === 95; + if (code <= 122) return true; + + if (code <= 0xffff) { + return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code)); + } + + return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes); +} + +function isIdentifierName(name) { + let isFirst = true; + + for (let _i = 0, _Array$from = Array.from(name); _i < _Array$from.length; _i++) { + const char = _Array$from[_i]; + const cp = char.codePointAt(0); + + if (isFirst) { + if (!isIdentifierStart(cp)) { + return false; + } + + isFirst = false; + } else if (!isIdentifierChar(cp)) { + return false; + } + } + + return !isFirst; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/lib/index.js b/node_modules/@babel/helper-validator-identifier/lib/index.js new file mode 100644 index 000000000..7b623c90a --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/lib/index.js @@ -0,0 +1,57 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "isIdentifierName", { + enumerable: true, + get: function () { + return _identifier.isIdentifierName; + } +}); +Object.defineProperty(exports, "isIdentifierChar", { + enumerable: true, + get: function () { + return _identifier.isIdentifierChar; + } +}); +Object.defineProperty(exports, "isIdentifierStart", { + enumerable: true, + get: function () { + return _identifier.isIdentifierStart; + } +}); +Object.defineProperty(exports, "isReservedWord", { + enumerable: true, + get: function () { + return _keyword.isReservedWord; + } +}); +Object.defineProperty(exports, "isStrictBindOnlyReservedWord", { + enumerable: true, + get: function () { + return _keyword.isStrictBindOnlyReservedWord; + } +}); +Object.defineProperty(exports, "isStrictBindReservedWord", { + enumerable: true, + get: function () { + return _keyword.isStrictBindReservedWord; + } +}); +Object.defineProperty(exports, "isStrictReservedWord", { + enumerable: true, + get: function () { + return _keyword.isStrictReservedWord; + } +}); +Object.defineProperty(exports, "isKeyword", { + enumerable: true, + get: function () { + return _keyword.isKeyword; + } +}); + +var _identifier = require("./identifier"); + +var _keyword = require("./keyword"); \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/lib/keyword.js b/node_modules/@babel/helper-validator-identifier/lib/keyword.js new file mode 100644 index 000000000..110cee400 --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/lib/keyword.js @@ -0,0 +1,38 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isReservedWord = isReservedWord; +exports.isStrictReservedWord = isStrictReservedWord; +exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord; +exports.isStrictBindReservedWord = isStrictBindReservedWord; +exports.isKeyword = isKeyword; +const reservedWords = { + keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"], + strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"], + strictBind: ["eval", "arguments"] +}; +const keywords = new Set(reservedWords.keyword); +const reservedWordsStrictSet = new Set(reservedWords.strict); +const reservedWordsStrictBindSet = new Set(reservedWords.strictBind); + +function isReservedWord(word, inModule) { + return inModule && word === "await" || word === "enum"; +} + +function isStrictReservedWord(word, inModule) { + return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word); +} + +function isStrictBindOnlyReservedWord(word) { + return reservedWordsStrictBindSet.has(word); +} + +function isStrictBindReservedWord(word, inModule) { + return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word); +} + +function isKeyword(word) { + return keywords.has(word); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/package.json b/node_modules/@babel/helper-validator-identifier/package.json new file mode 100644 index 000000000..2c430f6de --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/package.json @@ -0,0 +1,52 @@ +{ + "_from": "@babel/helper-validator-identifier@^7.10.4", + "_id": "@babel/helper-validator-identifier@7.10.4", + "_inBundle": false, + "_integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", + "_location": "/@babel/helper-validator-identifier", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-validator-identifier@^7.10.4", + "name": "@babel/helper-validator-identifier", + "escapedName": "@babel%2fhelper-validator-identifier", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/highlight", + "/@babel/types" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", + "_shasum": "a78c7a7251e01f616512d31b10adcf52ada5e0d2", + "_spec": "@babel/helper-validator-identifier@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/highlight", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Validate identifier/keywords name", + "devDependencies": { + "charcodes": "^0.2.0", + "unicode-13.0.0": "^0.8.0" + }, + "exports": "./lib/index.js", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-validator-identifier", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-validator-identifier" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js b/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js new file mode 100644 index 000000000..70b371508 --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js @@ -0,0 +1,75 @@ +"use strict"; + +// Always use the latest available version of Unicode! +// https://tc39.github.io/ecma262/#sec-conformance +const version = "13.0.0"; + +const start = require("unicode-" + + version + + "/Binary_Property/ID_Start/code-points.js").filter(function (ch) { + return ch > 0x7f; +}); +let last = -1; +const cont = [0x200c, 0x200d].concat( + require("unicode-" + + version + + "/Binary_Property/ID_Continue/code-points.js").filter(function (ch) { + return ch > 0x7f && search(start, ch, last + 1) == -1; + }) +); + +function search(arr, ch, starting) { + for (let i = starting; arr[i] <= ch && i < arr.length; last = i++) { + if (arr[i] === ch) return i; + } + return -1; +} + +function pad(str, width) { + while (str.length < width) str = "0" + str; + return str; +} + +function esc(code) { + const hex = code.toString(16); + if (hex.length <= 2) return "\\x" + pad(hex, 2); + else return "\\u" + pad(hex, 4); +} + +function generate(chars) { + const astral = []; + let re = ""; + for (let i = 0, at = 0x10000; i < chars.length; i++) { + const from = chars[i]; + let to = from; + while (i < chars.length - 1 && chars[i + 1] == to + 1) { + i++; + to++; + } + if (to <= 0xffff) { + if (from == to) re += esc(from); + else if (from + 1 == to) re += esc(from) + esc(to); + else re += esc(from) + "-" + esc(to); + } else { + astral.push(from - at, to - from); + at = to; + } + } + return { nonASCII: re, astral: astral }; +} + +const startData = generate(start); +const contData = generate(cont); + +console.log("/* prettier-ignore */"); +console.log('let nonASCIIidentifierStartChars = "' + startData.nonASCII + '";'); +console.log("/* prettier-ignore */"); +console.log('let nonASCIIidentifierChars = "' + contData.nonASCII + '";'); +console.log("/* prettier-ignore */"); +console.log( + "const astralIdentifierStartCodes = " + JSON.stringify(startData.astral) + ";" +); +console.log("/* prettier-ignore */"); +console.log( + "const astralIdentifierCodes = " + JSON.stringify(contData.astral) + ";" +); diff --git a/node_modules/@babel/helper-wrap-function/LICENSE b/node_modules/@babel/helper-wrap-function/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helper-wrap-function/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helper-wrap-function/README.md b/node_modules/@babel/helper-wrap-function/README.md new file mode 100644 index 000000000..cf1029479 --- /dev/null +++ b/node_modules/@babel/helper-wrap-function/README.md @@ -0,0 +1,19 @@ +# @babel/helper-wrap-function + +> Helper to wrap functions inside a function call. + +See our website [@babel/helper-wrap-function](https://babeljs.io/docs/en/next/babel-helper-wrap-function.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helper-wrap-function +``` + +or using yarn: + +```sh +yarn add @babel/helper-wrap-function --dev +``` diff --git a/node_modules/@babel/helper-wrap-function/lib/index.js b/node_modules/@babel/helper-wrap-function/lib/index.js new file mode 100644 index 000000000..3c9fad0a0 --- /dev/null +++ b/node_modules/@babel/helper-wrap-function/lib/index.js @@ -0,0 +1,120 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = wrapFunction; + +var _helperFunctionName = _interopRequireDefault(require("@babel/helper-function-name")); + +var _template = _interopRequireDefault(require("@babel/template")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const buildAnonymousExpressionWrapper = _template.default.expression(` + (function () { + var REF = FUNCTION; + return function NAME(PARAMS) { + return REF.apply(this, arguments); + }; + })() +`); + +const buildNamedExpressionWrapper = _template.default.expression(` + (function () { + var REF = FUNCTION; + function NAME(PARAMS) { + return REF.apply(this, arguments); + } + return NAME; + })() +`); + +const buildDeclarationWrapper = (0, _template.default)(` + function NAME(PARAMS) { return REF.apply(this, arguments); } + function REF() { + REF = FUNCTION; + return REF.apply(this, arguments); + } +`); + +function classOrObjectMethod(path, callId) { + const node = path.node; + const body = node.body; + const container = t.functionExpression(null, [], t.blockStatement(body.body), true); + body.body = [t.returnStatement(t.callExpression(t.callExpression(callId, [container]), []))]; + node.async = false; + node.generator = false; + path.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment(); +} + +function plainFunction(path, callId) { + const node = path.node; + const isDeclaration = path.isFunctionDeclaration(); + const functionId = node.id; + const wrapper = isDeclaration ? buildDeclarationWrapper : functionId ? buildNamedExpressionWrapper : buildAnonymousExpressionWrapper; + + if (path.isArrowFunctionExpression()) { + path.arrowFunctionToExpression(); + } + + node.id = null; + + if (isDeclaration) { + node.type = "FunctionExpression"; + } + + const built = t.callExpression(callId, [node]); + const container = wrapper({ + NAME: functionId || null, + REF: path.scope.generateUidIdentifier(functionId ? functionId.name : "ref"), + FUNCTION: built, + PARAMS: node.params.reduce((acc, param) => { + acc.done = acc.done || t.isAssignmentPattern(param) || t.isRestElement(param); + + if (!acc.done) { + acc.params.push(path.scope.generateUidIdentifier("x")); + } + + return acc; + }, { + params: [], + done: false + }).params + }); + + if (isDeclaration) { + path.replaceWith(container[0]); + path.insertAfter(container[1]); + } else { + const retFunction = container.callee.body.body[1].argument; + + if (!functionId) { + (0, _helperFunctionName.default)({ + node: retFunction, + parent: path.parent, + scope: path.scope + }); + } + + if (!retFunction || retFunction.id || node.params.length) { + path.replaceWith(container); + } else { + path.replaceWith(built); + } + } +} + +function wrapFunction(path, callId) { + if (path.isClassMethod() || path.isObjectMethod()) { + classOrObjectMethod(path, callId); + } else { + plainFunction(path, callId); + } +} \ No newline at end of file diff --git a/node_modules/@babel/helper-wrap-function/package.json b/node_modules/@babel/helper-wrap-function/package.json new file mode 100644 index 000000000..0f493acde --- /dev/null +++ b/node_modules/@babel/helper-wrap-function/package.json @@ -0,0 +1,52 @@ +{ + "_from": "@babel/helper-wrap-function@^7.10.4", + "_id": "@babel/helper-wrap-function@7.10.4", + "_inBundle": false, + "_integrity": "sha512-6py45WvEF0MhiLrdxtRjKjufwLL1/ob2qDJgg5JgNdojBAZSAKnAjkyOCNug6n+OBl4VW76XjvgSFTdaMcW0Ug==", + "_location": "/@babel/helper-wrap-function", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helper-wrap-function@^7.10.4", + "name": "@babel/helper-wrap-function", + "escapedName": "@babel%2fhelper-wrap-function", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/helper-remap-async-to-generator" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.10.4.tgz", + "_shasum": "8a6f701eab0ff39f765b5a1cfef409990e624b87", + "_spec": "@babel/helper-wrap-function@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/helper-remap-async-to-generator", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-function-name": "^7.10.4", + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Helper to wrap functions inside a function call.", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helper-wrap-function", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-wrap-function" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/helpers/LICENSE b/node_modules/@babel/helpers/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/helpers/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/helpers/README.md b/node_modules/@babel/helpers/README.md new file mode 100644 index 000000000..537d8e471 --- /dev/null +++ b/node_modules/@babel/helpers/README.md @@ -0,0 +1,19 @@ +# @babel/helpers + +> Collection of helper functions used by Babel transforms. + +See our website [@babel/helpers](https://babeljs.io/docs/en/next/babel-helpers.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/helpers +``` + +or using yarn: + +```sh +yarn add @babel/helpers --dev +``` diff --git a/node_modules/@babel/helpers/lib/helpers.js b/node_modules/@babel/helpers/lib/helpers.js new file mode 100644 index 000000000..6782d41de --- /dev/null +++ b/node_modules/@babel/helpers/lib/helpers.js @@ -0,0 +1,2080 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _template = _interopRequireDefault(require("@babel/template")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const helpers = Object.create(null); +var _default = helpers; +exports.default = _default; + +const helper = minVersion => tpl => ({ + minVersion, + ast: () => _template.default.program.ast(tpl) +}); + +helpers.typeof = helper("7.0.0-beta.0")` + export default function _typeof(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function (obj) { return typeof obj; }; + } else { + _typeof = function (obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype + ? "symbol" + : typeof obj; + }; + } + + return _typeof(obj); + } +`; +helpers.jsx = helper("7.0.0-beta.0")` + var REACT_ELEMENT_TYPE; + + export default function _createRawReactElement(type, props, key, children) { + if (!REACT_ELEMENT_TYPE) { + REACT_ELEMENT_TYPE = ( + typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") + ) || 0xeac7; + } + + var defaultProps = type && type.defaultProps; + var childrenLength = arguments.length - 3; + + if (!props && childrenLength !== 0) { + // If we're going to assign props.children, we create a new object now + // to avoid mutating defaultProps. + props = { + children: void 0, + }; + } + + if (childrenLength === 1) { + props.children = children; + } else if (childrenLength > 1) { + var childArray = new Array(childrenLength); + for (var i = 0; i < childrenLength; i++) { + childArray[i] = arguments[i + 3]; + } + props.children = childArray; + } + + if (props && defaultProps) { + for (var propName in defaultProps) { + if (props[propName] === void 0) { + props[propName] = defaultProps[propName]; + } + } + } else if (!props) { + props = defaultProps || {}; + } + + return { + $$typeof: REACT_ELEMENT_TYPE, + type: type, + key: key === undefined ? null : '' + key, + ref: null, + props: props, + _owner: null, + }; + } +`; +helpers.asyncIterator = helper("7.0.0-beta.0")` + export default function _asyncIterator(iterable) { + var method + if (typeof Symbol !== "undefined") { + if (Symbol.asyncIterator) { + method = iterable[Symbol.asyncIterator] + if (method != null) return method.call(iterable); + } + if (Symbol.iterator) { + method = iterable[Symbol.iterator] + if (method != null) return method.call(iterable); + } + } + throw new TypeError("Object is not async iterable"); + } +`; +helpers.AwaitValue = helper("7.0.0-beta.0")` + export default function _AwaitValue(value) { + this.wrapped = value; + } +`; +helpers.AsyncGenerator = helper("7.0.0-beta.0")` + import AwaitValue from "AwaitValue"; + + export default function AsyncGenerator(gen) { + var front, back; + + function send(key, arg) { + return new Promise(function (resolve, reject) { + var request = { + key: key, + arg: arg, + resolve: resolve, + reject: reject, + next: null, + }; + + if (back) { + back = back.next = request; + } else { + front = back = request; + resume(key, arg); + } + }); + } + + function resume(key, arg) { + try { + var result = gen[key](arg) + var value = result.value; + var wrappedAwait = value instanceof AwaitValue; + + Promise.resolve(wrappedAwait ? value.wrapped : value).then( + function (arg) { + if (wrappedAwait) { + resume(key === "return" ? "return" : "next", arg); + return + } + + settle(result.done ? "return" : "normal", arg); + }, + function (err) { resume("throw", err); }); + } catch (err) { + settle("throw", err); + } + } + + function settle(type, value) { + switch (type) { + case "return": + front.resolve({ value: value, done: true }); + break; + case "throw": + front.reject(value); + break; + default: + front.resolve({ value: value, done: false }); + break; + } + + front = front.next; + if (front) { + resume(front.key, front.arg); + } else { + back = null; + } + } + + this._invoke = send; + + // Hide "return" method if generator return is not supported + if (typeof gen.return !== "function") { + this.return = undefined; + } + } + + if (typeof Symbol === "function" && Symbol.asyncIterator) { + AsyncGenerator.prototype[Symbol.asyncIterator] = function () { return this; }; + } + + AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); }; + AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); }; + AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); }; +`; +helpers.wrapAsyncGenerator = helper("7.0.0-beta.0")` + import AsyncGenerator from "AsyncGenerator"; + + export default function _wrapAsyncGenerator(fn) { + return function () { + return new AsyncGenerator(fn.apply(this, arguments)); + }; + } +`; +helpers.awaitAsyncGenerator = helper("7.0.0-beta.0")` + import AwaitValue from "AwaitValue"; + + export default function _awaitAsyncGenerator(value) { + return new AwaitValue(value); + } +`; +helpers.asyncGeneratorDelegate = helper("7.0.0-beta.0")` + export default function _asyncGeneratorDelegate(inner, awaitWrap) { + var iter = {}, waiting = false; + + function pump(key, value) { + waiting = true; + value = new Promise(function (resolve) { resolve(inner[key](value)); }); + return { done: false, value: awaitWrap(value) }; + }; + + if (typeof Symbol === "function" && Symbol.iterator) { + iter[Symbol.iterator] = function () { return this; }; + } + + iter.next = function (value) { + if (waiting) { + waiting = false; + return value; + } + return pump("next", value); + }; + + if (typeof inner.throw === "function") { + iter.throw = function (value) { + if (waiting) { + waiting = false; + throw value; + } + return pump("throw", value); + }; + } + + if (typeof inner.return === "function") { + iter.return = function (value) { + if (waiting) { + waiting = false; + return value; + } + return pump("return", value); + }; + } + + return iter; + } +`; +helpers.asyncToGenerator = helper("7.0.0-beta.0")` + function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { + try { + var info = gen[key](arg); + var value = info.value; + } catch (error) { + reject(error); + return; + } + + if (info.done) { + resolve(value); + } else { + Promise.resolve(value).then(_next, _throw); + } + } + + export default function _asyncToGenerator(fn) { + return function () { + var self = this, args = arguments; + return new Promise(function (resolve, reject) { + var gen = fn.apply(self, args); + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } + + _next(undefined); + }); + }; + } +`; +helpers.classCallCheck = helper("7.0.0-beta.0")` + export default function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } +`; +helpers.createClass = helper("7.0.0-beta.0")` + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i ++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + export default function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } +`; +helpers.defineEnumerableProperties = helper("7.0.0-beta.0")` + export default function _defineEnumerableProperties(obj, descs) { + for (var key in descs) { + var desc = descs[key]; + desc.configurable = desc.enumerable = true; + if ("value" in desc) desc.writable = true; + Object.defineProperty(obj, key, desc); + } + + // Symbols are not enumerated over by for-in loops. If native + // Symbols are available, fetch all of the descs object's own + // symbol properties and define them on our target object too. + if (Object.getOwnPropertySymbols) { + var objectSymbols = Object.getOwnPropertySymbols(descs); + for (var i = 0; i < objectSymbols.length; i++) { + var sym = objectSymbols[i]; + var desc = descs[sym]; + desc.configurable = desc.enumerable = true; + if ("value" in desc) desc.writable = true; + Object.defineProperty(obj, sym, desc); + } + } + return obj; + } +`; +helpers.defaults = helper("7.0.0-beta.0")` + export default function _defaults(obj, defaults) { + var keys = Object.getOwnPropertyNames(defaults); + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + var value = Object.getOwnPropertyDescriptor(defaults, key); + if (value && value.configurable && obj[key] === undefined) { + Object.defineProperty(obj, key, value); + } + } + return obj; + } +`; +helpers.defineProperty = helper("7.0.0-beta.0")` + export default function _defineProperty(obj, key, value) { + // Shortcircuit the slow defineProperty path when possible. + // We are trying to avoid issues where setters defined on the + // prototype cause side effects under the fast path of simple + // assignment. By checking for existence of the property with + // the in operator, we can optimize most of this overhead away. + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + return obj; + } +`; +helpers.extends = helper("7.0.0-beta.0")` + export default function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + return target; + }; + + return _extends.apply(this, arguments); + } +`; +helpers.objectSpread = helper("7.0.0-beta.0")` + import defineProperty from "defineProperty"; + + export default function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = (arguments[i] != null) ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); + if (typeof Object.getOwnPropertySymbols === 'function') { + ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; + })); + } + ownKeys.forEach(function(key) { + defineProperty(target, key, source[key]); + }); + } + return target; + } +`; +helpers.objectSpread2 = helper("7.5.0")` + import defineProperty from "defineProperty"; + + // This function is different to "Reflect.ownKeys". The enumerableOnly + // filters on symbol properties only. Returned string properties are always + // enumerable. It is good to use in objectSpread. + + function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + if (enumerableOnly) symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + keys.push.apply(keys, symbols); + } + return keys; + } + + export default function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = (arguments[i] != null) ? arguments[i] : {}; + if (i % 2) { + ownKeys(Object(source), true).forEach(function (key) { + defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty( + target, + key, + Object.getOwnPropertyDescriptor(source, key) + ); + }); + } + } + return target; + } +`; +helpers.inherits = helper("7.0.0-beta.0")` + import setPrototypeOf from "setPrototypeOf"; + + export default function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) setPrototypeOf(subClass, superClass); + } +`; +helpers.inheritsLoose = helper("7.0.0-beta.0")` + export default function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; + } +`; +helpers.getPrototypeOf = helper("7.0.0-beta.0")` + export default function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf + ? Object.getPrototypeOf + : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); + } +`; +helpers.setPrototypeOf = helper("7.0.0-beta.0")` + export default function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + return _setPrototypeOf(o, p); + } +`; +helpers.isNativeReflectConstruct = helper("7.9.0")` + export default function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + + // core-js@3 + if (Reflect.construct.sham) return false; + + // Proxy can't be polyfilled. Every browser implemented + // proxies before or at the same time as Reflect.construct, + // so if they support Proxy they also support Reflect.construct. + if (typeof Proxy === "function") return true; + + // Since Reflect.construct can't be properly polyfilled, some + // implementations (e.g. core-js@2) don't set the correct internal slots. + // Those polyfills don't allow us to subclass built-ins, so we need to + // use our fallback implementation. + try { + // If the internal slots aren't set, this throws an error similar to + // TypeError: this is not a Date object. + Date.prototype.toString.call(Reflect.construct(Date, [], function() {})); + return true; + } catch (e) { + return false; + } + } +`; +helpers.construct = helper("7.0.0-beta.0")` + import setPrototypeOf from "setPrototypeOf"; + import isNativeReflectConstruct from "isNativeReflectConstruct"; + + export default function _construct(Parent, args, Class) { + if (isNativeReflectConstruct()) { + _construct = Reflect.construct; + } else { + // NOTE: If Parent !== Class, the correct __proto__ is set *after* + // calling the constructor. + _construct = function _construct(Parent, args, Class) { + var a = [null]; + a.push.apply(a, args); + var Constructor = Function.bind.apply(Parent, a); + var instance = new Constructor(); + if (Class) setPrototypeOf(instance, Class.prototype); + return instance; + }; + } + // Avoid issues with Class being present but undefined when it wasn't + // present in the original call. + return _construct.apply(null, arguments); + } +`; +helpers.isNativeFunction = helper("7.0.0-beta.0")` + export default function _isNativeFunction(fn) { + // Note: This function returns "true" for core-js functions. + return Function.toString.call(fn).indexOf("[native code]") !== -1; + } +`; +helpers.wrapNativeSuper = helper("7.0.0-beta.0")` + import getPrototypeOf from "getPrototypeOf"; + import setPrototypeOf from "setPrototypeOf"; + import isNativeFunction from "isNativeFunction"; + import construct from "construct"; + + export default function _wrapNativeSuper(Class) { + var _cache = typeof Map === "function" ? new Map() : undefined; + + _wrapNativeSuper = function _wrapNativeSuper(Class) { + if (Class === null || !isNativeFunction(Class)) return Class; + if (typeof Class !== "function") { + throw new TypeError("Super expression must either be null or a function"); + } + if (typeof _cache !== "undefined") { + if (_cache.has(Class)) return _cache.get(Class); + _cache.set(Class, Wrapper); + } + function Wrapper() { + return construct(Class, arguments, getPrototypeOf(this).constructor) + } + Wrapper.prototype = Object.create(Class.prototype, { + constructor: { + value: Wrapper, + enumerable: false, + writable: true, + configurable: true, + } + }); + + return setPrototypeOf(Wrapper, Class); + } + + return _wrapNativeSuper(Class) + } +`; +helpers.instanceof = helper("7.0.0-beta.0")` + export default function _instanceof(left, right) { + if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { + return !!right[Symbol.hasInstance](left); + } else { + return left instanceof right; + } + } +`; +helpers.interopRequireDefault = helper("7.0.0-beta.0")` + export default function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } +`; +helpers.interopRequireWildcard = helper("7.0.0-beta.0")` + function _getRequireWildcardCache() { + if (typeof WeakMap !== "function") return null; + + var cache = new WeakMap(); + _getRequireWildcardCache = function () { return cache; }; + return cache; + } + + export default function _interopRequireWildcard(obj) { + if (obj && obj.__esModule) { + return obj; + } + + if (obj === null || (typeof obj !== "object" && typeof obj !== "function")) { + return { default: obj } + } + + var cache = _getRequireWildcardCache(); + if (cache && cache.has(obj)) { + return cache.get(obj); + } + + var newObj = {}; + var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; + for (var key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) { + var desc = hasPropertyDescriptor + ? Object.getOwnPropertyDescriptor(obj, key) + : null; + if (desc && (desc.get || desc.set)) { + Object.defineProperty(newObj, key, desc); + } else { + newObj[key] = obj[key]; + } + } + } + newObj.default = obj; + if (cache) { + cache.set(obj, newObj); + } + return newObj; + } +`; +helpers.newArrowCheck = helper("7.0.0-beta.0")` + export default function _newArrowCheck(innerThis, boundThis) { + if (innerThis !== boundThis) { + throw new TypeError("Cannot instantiate an arrow function"); + } + } +`; +helpers.objectDestructuringEmpty = helper("7.0.0-beta.0")` + export default function _objectDestructuringEmpty(obj) { + if (obj == null) throw new TypeError("Cannot destructure undefined"); + } +`; +helpers.objectWithoutPropertiesLoose = helper("7.0.0-beta.0")` + export default function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; + } +`; +helpers.objectWithoutProperties = helper("7.0.0-beta.0")` + import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose"; + + export default function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + + var target = objectWithoutPropertiesLoose(source, excluded); + var key, i; + + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } + } + + return target; + } +`; +helpers.assertThisInitialized = helper("7.0.0-beta.0")` + export default function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + return self; + } +`; +helpers.possibleConstructorReturn = helper("7.0.0-beta.0")` + import assertThisInitialized from "assertThisInitialized"; + + export default function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } + return assertThisInitialized(self); + } +`; +helpers.createSuper = helper("7.9.0")` + import getPrototypeOf from "getPrototypeOf"; + import isNativeReflectConstruct from "isNativeReflectConstruct"; + import possibleConstructorReturn from "possibleConstructorReturn"; + + export default function _createSuper(Derived) { + var hasNativeReflectConstruct = isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = getPrototypeOf(Derived), result; + if (hasNativeReflectConstruct) { + // NOTE: This doesn't work if this.__proto__.constructor has been modified. + var NewTarget = getPrototypeOf(this).constructor; + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + return possibleConstructorReturn(this, result); + } + } + `; +helpers.superPropBase = helper("7.0.0-beta.0")` + import getPrototypeOf from "getPrototypeOf"; + + export default function _superPropBase(object, property) { + // Yes, this throws if object is null to being with, that's on purpose. + while (!Object.prototype.hasOwnProperty.call(object, property)) { + object = getPrototypeOf(object); + if (object === null) break; + } + return object; + } +`; +helpers.get = helper("7.0.0-beta.0")` + import superPropBase from "superPropBase"; + + export default function _get(target, property, receiver) { + if (typeof Reflect !== "undefined" && Reflect.get) { + _get = Reflect.get; + } else { + _get = function _get(target, property, receiver) { + var base = superPropBase(target, property); + + if (!base) return; + + var desc = Object.getOwnPropertyDescriptor(base, property); + if (desc.get) { + return desc.get.call(receiver); + } + + return desc.value; + }; + } + return _get(target, property, receiver || target); + } +`; +helpers.set = helper("7.0.0-beta.0")` + import superPropBase from "superPropBase"; + import defineProperty from "defineProperty"; + + function set(target, property, value, receiver) { + if (typeof Reflect !== "undefined" && Reflect.set) { + set = Reflect.set; + } else { + set = function set(target, property, value, receiver) { + var base = superPropBase(target, property); + var desc; + + if (base) { + desc = Object.getOwnPropertyDescriptor(base, property); + if (desc.set) { + desc.set.call(receiver, value); + return true; + } else if (!desc.writable) { + // Both getter and non-writable fall into this. + return false; + } + } + + // Without a super that defines the property, spec boils down to + // "define on receiver" for some reason. + desc = Object.getOwnPropertyDescriptor(receiver, property); + if (desc) { + if (!desc.writable) { + // Setter, getter, and non-writable fall into this. + return false; + } + + desc.value = value; + Object.defineProperty(receiver, property, desc); + } else { + // Avoid setters that may be defined on Sub's prototype, but not on + // the instance. + defineProperty(receiver, property, value); + } + + return true; + }; + } + + return set(target, property, value, receiver); + } + + export default function _set(target, property, value, receiver, isStrict) { + var s = set(target, property, value, receiver || target); + if (!s && isStrict) { + throw new Error('failed to set property'); + } + + return value; + } +`; +helpers.taggedTemplateLiteral = helper("7.0.0-beta.0")` + export default function _taggedTemplateLiteral(strings, raw) { + if (!raw) { raw = strings.slice(0); } + return Object.freeze(Object.defineProperties(strings, { + raw: { value: Object.freeze(raw) } + })); + } +`; +helpers.taggedTemplateLiteralLoose = helper("7.0.0-beta.0")` + export default function _taggedTemplateLiteralLoose(strings, raw) { + if (!raw) { raw = strings.slice(0); } + strings.raw = raw; + return strings; + } +`; +helpers.readOnlyError = helper("7.0.0-beta.0")` + export default function _readOnlyError(name) { + throw new Error("\\"" + name + "\\" is read-only"); + } +`; +helpers.classNameTDZError = helper("7.0.0-beta.0")` + export default function _classNameTDZError(name) { + throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys."); + } +`; +helpers.temporalUndefined = helper("7.0.0-beta.0")` + // This function isn't mean to be called, but to be used as a reference. + // We can't use a normal object because it isn't hoisted. + export default function _temporalUndefined() {} +`; +helpers.tdz = helper("7.5.5")` + export default function _tdzError(name) { + throw new ReferenceError(name + " is not defined - temporal dead zone"); + } +`; +helpers.temporalRef = helper("7.0.0-beta.0")` + import undef from "temporalUndefined"; + import err from "tdz"; + + export default function _temporalRef(val, name) { + return val === undef ? err(name) : val; + } +`; +helpers.slicedToArray = helper("7.0.0-beta.0")` + import arrayWithHoles from "arrayWithHoles"; + import iterableToArrayLimit from "iterableToArrayLimit"; + import unsupportedIterableToArray from "unsupportedIterableToArray"; + import nonIterableRest from "nonIterableRest"; + + export default function _slicedToArray(arr, i) { + return ( + arrayWithHoles(arr) || + iterableToArrayLimit(arr, i) || + unsupportedIterableToArray(arr, i) || + nonIterableRest() + ); + } +`; +helpers.slicedToArrayLoose = helper("7.0.0-beta.0")` + import arrayWithHoles from "arrayWithHoles"; + import iterableToArrayLimitLoose from "iterableToArrayLimitLoose"; + import unsupportedIterableToArray from "unsupportedIterableToArray"; + import nonIterableRest from "nonIterableRest"; + + export default function _slicedToArrayLoose(arr, i) { + return ( + arrayWithHoles(arr) || + iterableToArrayLimitLoose(arr, i) || + unsupportedIterableToArray(arr, i) || + nonIterableRest() + ); + } +`; +helpers.toArray = helper("7.0.0-beta.0")` + import arrayWithHoles from "arrayWithHoles"; + import iterableToArray from "iterableToArray"; + import unsupportedIterableToArray from "unsupportedIterableToArray"; + import nonIterableRest from "nonIterableRest"; + + export default function _toArray(arr) { + return ( + arrayWithHoles(arr) || + iterableToArray(arr) || + unsupportedIterableToArray(arr) || + nonIterableRest() + ); + } +`; +helpers.toConsumableArray = helper("7.0.0-beta.0")` + import arrayWithoutHoles from "arrayWithoutHoles"; + import iterableToArray from "iterableToArray"; + import unsupportedIterableToArray from "unsupportedIterableToArray"; + import nonIterableSpread from "nonIterableSpread"; + + export default function _toConsumableArray(arr) { + return ( + arrayWithoutHoles(arr) || + iterableToArray(arr) || + unsupportedIterableToArray(arr) || + nonIterableSpread() + ); + } +`; +helpers.arrayWithoutHoles = helper("7.0.0-beta.0")` + import arrayLikeToArray from "arrayLikeToArray"; + + export default function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return arrayLikeToArray(arr); + } +`; +helpers.arrayWithHoles = helper("7.0.0-beta.0")` + export default function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; + } +`; +helpers.maybeArrayLike = helper("7.9.0")` + import arrayLikeToArray from "arrayLikeToArray"; + + export default function _maybeArrayLike(next, arr, i) { + if (arr && !Array.isArray(arr) && typeof arr.length === "number") { + var len = arr.length; + return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); + } + return next(arr, i); + } +`; +helpers.iterableToArray = helper("7.0.0-beta.0")` + export default function _iterableToArray(iter) { + if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); + } +`; +helpers.iterableToArrayLimit = helper("7.0.0-beta.0")` + export default function _iterableToArrayLimit(arr, i) { + // this is an expanded form of \`for...of\` that properly supports abrupt completions of + // iterators etc. variable names have been minimised to reduce the size of this massive + // helper. sometimes spec compliance is annoying :( + // + // _n = _iteratorNormalCompletion + // _d = _didIteratorError + // _e = _iteratorError + // _i = _iterator + // _s = _step + + if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + + var _arr = []; + var _n = true; + var _d = false; + var _e = undefined; + try { + for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + return _arr; + } +`; +helpers.iterableToArrayLimitLoose = helper("7.0.0-beta.0")` + export default function _iterableToArrayLimitLoose(arr, i) { + if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + + var _arr = []; + for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { + _arr.push(_step.value); + if (i && _arr.length === i) break; + } + return _arr; + } +`; +helpers.unsupportedIterableToArray = helper("7.9.0")` + import arrayLikeToArray from "arrayLikeToArray"; + + export default function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) + return arrayLikeToArray(o, minLen); + } +`; +helpers.arrayLikeToArray = helper("7.9.0")` + export default function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + return arr2; + } +`; +helpers.nonIterableSpread = helper("7.0.0-beta.0")` + export default function _nonIterableSpread() { + throw new TypeError( + "Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." + ); + } +`; +helpers.nonIterableRest = helper("7.0.0-beta.0")` + export default function _nonIterableRest() { + throw new TypeError( + "Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." + ); + } +`; +helpers.createForOfIteratorHelper = helper("7.9.0")` + import unsupportedIterableToArray from "unsupportedIterableToArray"; + + // s: start (create the iterator) + // n: next + // e: error (called whenever something throws) + // f: finish (always called at the end) + + export default function _createForOfIteratorHelper(o, allowArrayLike) { + var it; + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + // Fallback for engines without symbol support + if ( + Array.isArray(o) || + (it = unsupportedIterableToArray(o)) || + (allowArrayLike && o && typeof o.length === "number") + ) { + if (it) o = it; + var i = 0; + var F = function(){}; + return { + s: F, + n: function() { + if (i >= o.length) return { done: true }; + return { done: false, value: o[i++] }; + }, + e: function(e) { throw e; }, + f: F, + }; + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var normalCompletion = true, didErr = false, err; + + return { + s: function() { + it = o[Symbol.iterator](); + }, + n: function() { + var step = it.next(); + normalCompletion = step.done; + return step; + }, + e: function(e) { + didErr = true; + err = e; + }, + f: function() { + try { + if (!normalCompletion && it.return != null) it.return(); + } finally { + if (didErr) throw err; + } + } + }; + } +`; +helpers.createForOfIteratorHelperLoose = helper("7.9.0")` + import unsupportedIterableToArray from "unsupportedIterableToArray"; + + export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { + var it; + + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + // Fallback for engines without symbol support + if ( + Array.isArray(o) || + (it = unsupportedIterableToArray(o)) || + (allowArrayLike && o && typeof o.length === "number") + ) { + if (it) o = it; + var i = 0; + return function() { + if (i >= o.length) return { done: true }; + return { done: false, value: o[i++] }; + } + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + it = o[Symbol.iterator](); + return it.next.bind(it); + } +`; +helpers.skipFirstGeneratorNext = helper("7.0.0-beta.0")` + export default function _skipFirstGeneratorNext(fn) { + return function () { + var it = fn.apply(this, arguments); + it.next(); + return it; + } + } +`; +helpers.toPrimitive = helper("7.1.5")` + export default function _toPrimitive( + input, + hint /*: "default" | "string" | "number" | void */ + ) { + if (typeof input !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (typeof res !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); + } +`; +helpers.toPropertyKey = helper("7.1.5")` + import toPrimitive from "toPrimitive"; + + export default function _toPropertyKey(arg) { + var key = toPrimitive(arg, "string"); + return typeof key === "symbol" ? key : String(key); + } +`; +helpers.initializerWarningHelper = helper("7.0.0-beta.0")` + export default function _initializerWarningHelper(descriptor, context){ + throw new Error( + 'Decorating class property failed. Please ensure that ' + + 'proposal-class-properties is enabled and runs after the decorators transform.' + ); + } +`; +helpers.initializerDefineProperty = helper("7.0.0-beta.0")` + export default function _initializerDefineProperty(target, property, descriptor, context){ + if (!descriptor) return; + + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0, + }); + } +`; +helpers.applyDecoratedDescriptor = helper("7.0.0-beta.0")` + export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){ + var desc = {}; + Object.keys(descriptor).forEach(function(key){ + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + if ('value' in desc || desc.initializer){ + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function(desc, decorator){ + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0){ + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0){ + // This is a hack to avoid this being processed by 'transform-runtime'. + // See issue #9. + Object.defineProperty(target, property, desc); + desc = null; + } + + return desc; + } +`; +helpers.classPrivateFieldLooseKey = helper("7.0.0-beta.0")` + var id = 0; + export default function _classPrivateFieldKey(name) { + return "__private_" + (id++) + "_" + name; + } +`; +helpers.classPrivateFieldLooseBase = helper("7.0.0-beta.0")` + export default function _classPrivateFieldBase(receiver, privateKey) { + if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { + throw new TypeError("attempted to use private field on non-instance"); + } + return receiver; + } +`; +helpers.classPrivateFieldGet = helper("7.0.0-beta.0")` + export default function _classPrivateFieldGet(receiver, privateMap) { + var descriptor = privateMap.get(receiver); + if (!descriptor) { + throw new TypeError("attempted to get private field on non-instance"); + } + if (descriptor.get) { + return descriptor.get.call(receiver); + } + return descriptor.value; + } +`; +helpers.classPrivateFieldSet = helper("7.0.0-beta.0")` + export default function _classPrivateFieldSet(receiver, privateMap, value) { + var descriptor = privateMap.get(receiver); + if (!descriptor) { + throw new TypeError("attempted to set private field on non-instance"); + } + if (descriptor.set) { + descriptor.set.call(receiver, value); + } else { + if (!descriptor.writable) { + // This should only throw in strict mode, but class bodies are + // always strict and private fields can only be used inside + // class bodies. + throw new TypeError("attempted to set read only private field"); + } + + descriptor.value = value; + } + + return value; + } +`; +helpers.classPrivateFieldDestructureSet = helper("7.4.4")` + export default function _classPrivateFieldDestructureSet(receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + var descriptor = privateMap.get(receiver); + if (descriptor.set) { + if (!("__destrObj" in descriptor)) { + descriptor.__destrObj = { + set value(v) { + descriptor.set.call(receiver, v) + }, + }; + } + return descriptor.__destrObj; + } else { + if (!descriptor.writable) { + // This should only throw in strict mode, but class bodies are + // always strict and private fields can only be used inside + // class bodies. + throw new TypeError("attempted to set read only private field"); + } + + return descriptor; + } + } +`; +helpers.classStaticPrivateFieldSpecGet = helper("7.0.2")` + export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { + if (receiver !== classConstructor) { + throw new TypeError("Private static access of wrong provenance"); + } + if (descriptor.get) { + return descriptor.get.call(receiver); + } + return descriptor.value; + } +`; +helpers.classStaticPrivateFieldSpecSet = helper("7.0.2")` + export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { + if (receiver !== classConstructor) { + throw new TypeError("Private static access of wrong provenance"); + } + if (descriptor.set) { + descriptor.set.call(receiver, value); + } else { + if (!descriptor.writable) { + // This should only throw in strict mode, but class bodies are + // always strict and private fields can only be used inside + // class bodies. + throw new TypeError("attempted to set read only private field"); + } + descriptor.value = value; + } + + return value; + } +`; +helpers.classStaticPrivateMethodGet = helper("7.3.2")` + export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { + if (receiver !== classConstructor) { + throw new TypeError("Private static access of wrong provenance"); + } + return method; + } +`; +helpers.classStaticPrivateMethodSet = helper("7.3.2")` + export default function _classStaticPrivateMethodSet() { + throw new TypeError("attempted to set read only static private field"); + } +`; +helpers.decorate = helper("7.1.5")` + import toArray from "toArray"; + import toPropertyKey from "toPropertyKey"; + + // These comments are stripped by @babel/template + /*:: + type PropertyDescriptor = + | { + value: any, + writable: boolean, + configurable: boolean, + enumerable: boolean, + } + | { + get?: () => any, + set?: (v: any) => void, + configurable: boolean, + enumerable: boolean, + }; + + type FieldDescriptor ={ + writable: boolean, + configurable: boolean, + enumerable: boolean, + }; + + type Placement = "static" | "prototype" | "own"; + type Key = string | symbol; // PrivateName is not supported yet. + + type ElementDescriptor = + | { + kind: "method", + key: Key, + placement: Placement, + descriptor: PropertyDescriptor + } + | { + kind: "field", + key: Key, + placement: Placement, + descriptor: FieldDescriptor, + initializer?: () => any, + }; + + // This is exposed to the user code + type ElementObjectInput = ElementDescriptor & { + [@@toStringTag]?: "Descriptor" + }; + + // This is exposed to the user code + type ElementObjectOutput = ElementDescriptor & { + [@@toStringTag]?: "Descriptor" + extras?: ElementDescriptor[], + finisher?: ClassFinisher, + }; + + // This is exposed to the user code + type ClassObject = { + [@@toStringTag]?: "Descriptor", + kind: "class", + elements: ElementDescriptor[], + }; + + type ElementDecorator = (descriptor: ElementObjectInput) => ?ElementObjectOutput; + type ClassDecorator = (descriptor: ClassObject) => ?ClassObject; + type ClassFinisher = (cl: Class) => Class; + + // Only used by Babel in the transform output, not part of the spec. + type ElementDefinition = + | { + kind: "method", + value: any, + key: Key, + static?: boolean, + decorators?: ElementDecorator[], + } + | { + kind: "field", + value: () => any, + key: Key, + static?: boolean, + decorators?: ElementDecorator[], + }; + + declare function ClassFactory(initialize: (instance: C) => void): { + F: Class, + d: ElementDefinition[] + } + + */ + + /*:: + // Various combinations with/without extras and with one or many finishers + + type ElementFinisherExtras = { + element: ElementDescriptor, + finisher?: ClassFinisher, + extras?: ElementDescriptor[], + }; + + type ElementFinishersExtras = { + element: ElementDescriptor, + finishers: ClassFinisher[], + extras: ElementDescriptor[], + }; + + type ElementsFinisher = { + elements: ElementDescriptor[], + finisher?: ClassFinisher, + }; + + type ElementsFinishers = { + elements: ElementDescriptor[], + finishers: ClassFinisher[], + }; + + */ + + /*:: + + type Placements = { + static: Key[], + prototype: Key[], + own: Key[], + }; + + */ + + // ClassDefinitionEvaluation (Steps 26-*) + export default function _decorate( + decorators /*: ClassDecorator[] */, + factory /*: ClassFactory */, + superClass /*: ?Class<*> */, + mixins /*: ?Array */, + ) /*: Class<*> */ { + var api = _getDecoratorsApi(); + if (mixins) { + for (var i = 0; i < mixins.length; i++) { + api = mixins[i](api); + } + } + + var r = factory(function initialize(O) { + api.initializeInstanceElements(O, decorated.elements); + }, superClass); + var decorated = api.decorateClass( + _coalesceClassElements(r.d.map(_createElementDescriptor)), + decorators, + ); + + api.initializeClassElements(r.F, decorated.elements); + + return api.runClassFinishers(r.F, decorated.finishers); + } + + function _getDecoratorsApi() { + _getDecoratorsApi = function() { + return api; + }; + + var api = { + elementsDefinitionOrder: [["method"], ["field"]], + + // InitializeInstanceElements + initializeInstanceElements: function( + /*::*/ O /*: C */, + elements /*: ElementDescriptor[] */, + ) { + ["method", "field"].forEach(function(kind) { + elements.forEach(function(element /*: ElementDescriptor */) { + if (element.kind === kind && element.placement === "own") { + this.defineClassElement(O, element); + } + }, this); + }, this); + }, + + // InitializeClassElements + initializeClassElements: function( + /*::*/ F /*: Class */, + elements /*: ElementDescriptor[] */, + ) { + var proto = F.prototype; + + ["method", "field"].forEach(function(kind) { + elements.forEach(function(element /*: ElementDescriptor */) { + var placement = element.placement; + if ( + element.kind === kind && + (placement === "static" || placement === "prototype") + ) { + var receiver = placement === "static" ? F : proto; + this.defineClassElement(receiver, element); + } + }, this); + }, this); + }, + + // DefineClassElement + defineClassElement: function( + /*::*/ receiver /*: C | Class */, + element /*: ElementDescriptor */, + ) { + var descriptor /*: PropertyDescriptor */ = element.descriptor; + if (element.kind === "field") { + var initializer = element.initializer; + descriptor = { + enumerable: descriptor.enumerable, + writable: descriptor.writable, + configurable: descriptor.configurable, + value: initializer === void 0 ? void 0 : initializer.call(receiver), + }; + } + Object.defineProperty(receiver, element.key, descriptor); + }, + + // DecorateClass + decorateClass: function( + elements /*: ElementDescriptor[] */, + decorators /*: ClassDecorator[] */, + ) /*: ElementsFinishers */ { + var newElements /*: ElementDescriptor[] */ = []; + var finishers /*: ClassFinisher[] */ = []; + var placements /*: Placements */ = { + static: [], + prototype: [], + own: [], + }; + + elements.forEach(function(element /*: ElementDescriptor */) { + this.addElementPlacement(element, placements); + }, this); + + elements.forEach(function(element /*: ElementDescriptor */) { + if (!_hasDecorators(element)) return newElements.push(element); + + var elementFinishersExtras /*: ElementFinishersExtras */ = this.decorateElement( + element, + placements, + ); + newElements.push(elementFinishersExtras.element); + newElements.push.apply(newElements, elementFinishersExtras.extras); + finishers.push.apply(finishers, elementFinishersExtras.finishers); + }, this); + + if (!decorators) { + return { elements: newElements, finishers: finishers }; + } + + var result /*: ElementsFinishers */ = this.decorateConstructor( + newElements, + decorators, + ); + finishers.push.apply(finishers, result.finishers); + result.finishers = finishers; + + return result; + }, + + // AddElementPlacement + addElementPlacement: function( + element /*: ElementDescriptor */, + placements /*: Placements */, + silent /*: boolean */, + ) { + var keys = placements[element.placement]; + if (!silent && keys.indexOf(element.key) !== -1) { + throw new TypeError("Duplicated element (" + element.key + ")"); + } + keys.push(element.key); + }, + + // DecorateElement + decorateElement: function( + element /*: ElementDescriptor */, + placements /*: Placements */, + ) /*: ElementFinishersExtras */ { + var extras /*: ElementDescriptor[] */ = []; + var finishers /*: ClassFinisher[] */ = []; + + for ( + var decorators = element.decorators, i = decorators.length - 1; + i >= 0; + i-- + ) { + // (inlined) RemoveElementPlacement + var keys = placements[element.placement]; + keys.splice(keys.indexOf(element.key), 1); + + var elementObject /*: ElementObjectInput */ = this.fromElementDescriptor( + element, + ); + var elementFinisherExtras /*: ElementFinisherExtras */ = this.toElementFinisherExtras( + (0, decorators[i])(elementObject) /*: ElementObjectOutput */ || + elementObject, + ); + + element = elementFinisherExtras.element; + this.addElementPlacement(element, placements); + + if (elementFinisherExtras.finisher) { + finishers.push(elementFinisherExtras.finisher); + } + + var newExtras /*: ElementDescriptor[] | void */ = + elementFinisherExtras.extras; + if (newExtras) { + for (var j = 0; j < newExtras.length; j++) { + this.addElementPlacement(newExtras[j], placements); + } + extras.push.apply(extras, newExtras); + } + } + + return { element: element, finishers: finishers, extras: extras }; + }, + + // DecorateConstructor + decorateConstructor: function( + elements /*: ElementDescriptor[] */, + decorators /*: ClassDecorator[] */, + ) /*: ElementsFinishers */ { + var finishers /*: ClassFinisher[] */ = []; + + for (var i = decorators.length - 1; i >= 0; i--) { + var obj /*: ClassObject */ = this.fromClassDescriptor(elements); + var elementsAndFinisher /*: ElementsFinisher */ = this.toClassDescriptor( + (0, decorators[i])(obj) /*: ClassObject */ || obj, + ); + + if (elementsAndFinisher.finisher !== undefined) { + finishers.push(elementsAndFinisher.finisher); + } + + if (elementsAndFinisher.elements !== undefined) { + elements = elementsAndFinisher.elements; + + for (var j = 0; j < elements.length - 1; j++) { + for (var k = j + 1; k < elements.length; k++) { + if ( + elements[j].key === elements[k].key && + elements[j].placement === elements[k].placement + ) { + throw new TypeError( + "Duplicated element (" + elements[j].key + ")", + ); + } + } + } + } + } + + return { elements: elements, finishers: finishers }; + }, + + // FromElementDescriptor + fromElementDescriptor: function( + element /*: ElementDescriptor */, + ) /*: ElementObject */ { + var obj /*: ElementObject */ = { + kind: element.kind, + key: element.key, + placement: element.placement, + descriptor: element.descriptor, + }; + + var desc = { + value: "Descriptor", + configurable: true, + }; + Object.defineProperty(obj, Symbol.toStringTag, desc); + + if (element.kind === "field") obj.initializer = element.initializer; + + return obj; + }, + + // ToElementDescriptors + toElementDescriptors: function( + elementObjects /*: ElementObject[] */, + ) /*: ElementDescriptor[] */ { + if (elementObjects === undefined) return; + return toArray(elementObjects).map(function(elementObject) { + var element = this.toElementDescriptor(elementObject); + this.disallowProperty(elementObject, "finisher", "An element descriptor"); + this.disallowProperty(elementObject, "extras", "An element descriptor"); + return element; + }, this); + }, + + // ToElementDescriptor + toElementDescriptor: function( + elementObject /*: ElementObject */, + ) /*: ElementDescriptor */ { + var kind = String(elementObject.kind); + if (kind !== "method" && kind !== "field") { + throw new TypeError( + 'An element descriptor\\'s .kind property must be either "method" or' + + ' "field", but a decorator created an element descriptor with' + + ' .kind "' + + kind + + '"', + ); + } + + var key = toPropertyKey(elementObject.key); + + var placement = String(elementObject.placement); + if ( + placement !== "static" && + placement !== "prototype" && + placement !== "own" + ) { + throw new TypeError( + 'An element descriptor\\'s .placement property must be one of "static",' + + ' "prototype" or "own", but a decorator created an element descriptor' + + ' with .placement "' + + placement + + '"', + ); + } + + var descriptor /*: PropertyDescriptor */ = elementObject.descriptor; + + this.disallowProperty(elementObject, "elements", "An element descriptor"); + + var element /*: ElementDescriptor */ = { + kind: kind, + key: key, + placement: placement, + descriptor: Object.assign({}, descriptor), + }; + + if (kind !== "field") { + this.disallowProperty(elementObject, "initializer", "A method descriptor"); + } else { + this.disallowProperty( + descriptor, + "get", + "The property descriptor of a field descriptor", + ); + this.disallowProperty( + descriptor, + "set", + "The property descriptor of a field descriptor", + ); + this.disallowProperty( + descriptor, + "value", + "The property descriptor of a field descriptor", + ); + + element.initializer = elementObject.initializer; + } + + return element; + }, + + toElementFinisherExtras: function( + elementObject /*: ElementObject */, + ) /*: ElementFinisherExtras */ { + var element /*: ElementDescriptor */ = this.toElementDescriptor( + elementObject, + ); + var finisher /*: ClassFinisher */ = _optionalCallableProperty( + elementObject, + "finisher", + ); + var extras /*: ElementDescriptors[] */ = this.toElementDescriptors( + elementObject.extras, + ); + + return { element: element, finisher: finisher, extras: extras }; + }, + + // FromClassDescriptor + fromClassDescriptor: function( + elements /*: ElementDescriptor[] */, + ) /*: ClassObject */ { + var obj = { + kind: "class", + elements: elements.map(this.fromElementDescriptor, this), + }; + + var desc = { value: "Descriptor", configurable: true }; + Object.defineProperty(obj, Symbol.toStringTag, desc); + + return obj; + }, + + // ToClassDescriptor + toClassDescriptor: function( + obj /*: ClassObject */, + ) /*: ElementsFinisher */ { + var kind = String(obj.kind); + if (kind !== "class") { + throw new TypeError( + 'A class descriptor\\'s .kind property must be "class", but a decorator' + + ' created a class descriptor with .kind "' + + kind + + '"', + ); + } + + this.disallowProperty(obj, "key", "A class descriptor"); + this.disallowProperty(obj, "placement", "A class descriptor"); + this.disallowProperty(obj, "descriptor", "A class descriptor"); + this.disallowProperty(obj, "initializer", "A class descriptor"); + this.disallowProperty(obj, "extras", "A class descriptor"); + + var finisher = _optionalCallableProperty(obj, "finisher"); + var elements = this.toElementDescriptors(obj.elements); + + return { elements: elements, finisher: finisher }; + }, + + // RunClassFinishers + runClassFinishers: function( + constructor /*: Class<*> */, + finishers /*: ClassFinisher[] */, + ) /*: Class<*> */ { + for (var i = 0; i < finishers.length; i++) { + var newConstructor /*: ?Class<*> */ = (0, finishers[i])(constructor); + if (newConstructor !== undefined) { + // NOTE: This should check if IsConstructor(newConstructor) is false. + if (typeof newConstructor !== "function") { + throw new TypeError("Finishers must return a constructor."); + } + constructor = newConstructor; + } + } + return constructor; + }, + + disallowProperty: function(obj, name, objectType) { + if (obj[name] !== undefined) { + throw new TypeError(objectType + " can't have a ." + name + " property."); + } + } + }; + + return api; + } + + // ClassElementEvaluation + function _createElementDescriptor( + def /*: ElementDefinition */, + ) /*: ElementDescriptor */ { + var key = toPropertyKey(def.key); + + var descriptor /*: PropertyDescriptor */; + if (def.kind === "method") { + descriptor = { + value: def.value, + writable: true, + configurable: true, + enumerable: false, + }; + } else if (def.kind === "get") { + descriptor = { get: def.value, configurable: true, enumerable: false }; + } else if (def.kind === "set") { + descriptor = { set: def.value, configurable: true, enumerable: false }; + } else if (def.kind === "field") { + descriptor = { configurable: true, writable: true, enumerable: true }; + } + + var element /*: ElementDescriptor */ = { + kind: def.kind === "field" ? "field" : "method", + key: key, + placement: def.static + ? "static" + : def.kind === "field" + ? "own" + : "prototype", + descriptor: descriptor, + }; + if (def.decorators) element.decorators = def.decorators; + if (def.kind === "field") element.initializer = def.value; + + return element; + } + + // CoalesceGetterSetter + function _coalesceGetterSetter( + element /*: ElementDescriptor */, + other /*: ElementDescriptor */, + ) { + if (element.descriptor.get !== undefined) { + other.descriptor.get = element.descriptor.get; + } else { + other.descriptor.set = element.descriptor.set; + } + } + + // CoalesceClassElements + function _coalesceClassElements( + elements /*: ElementDescriptor[] */, + ) /*: ElementDescriptor[] */ { + var newElements /*: ElementDescriptor[] */ = []; + + var isSameElement = function( + other /*: ElementDescriptor */, + ) /*: boolean */ { + return ( + other.kind === "method" && + other.key === element.key && + other.placement === element.placement + ); + }; + + for (var i = 0; i < elements.length; i++) { + var element /*: ElementDescriptor */ = elements[i]; + var other /*: ElementDescriptor */; + + if ( + element.kind === "method" && + (other = newElements.find(isSameElement)) + ) { + if ( + _isDataDescriptor(element.descriptor) || + _isDataDescriptor(other.descriptor) + ) { + if (_hasDecorators(element) || _hasDecorators(other)) { + throw new ReferenceError( + "Duplicated methods (" + element.key + ") can't be decorated.", + ); + } + other.descriptor = element.descriptor; + } else { + if (_hasDecorators(element)) { + if (_hasDecorators(other)) { + throw new ReferenceError( + "Decorators can't be placed on different accessors with for " + + "the same property (" + + element.key + + ").", + ); + } + other.decorators = element.decorators; + } + _coalesceGetterSetter(element, other); + } + } else { + newElements.push(element); + } + } + + return newElements; + } + + function _hasDecorators(element /*: ElementDescriptor */) /*: boolean */ { + return element.decorators && element.decorators.length; + } + + function _isDataDescriptor(desc /*: PropertyDescriptor */) /*: boolean */ { + return ( + desc !== undefined && + !(desc.value === undefined && desc.writable === undefined) + ); + } + + function _optionalCallableProperty /*::*/( + obj /*: T */, + name /*: $Keys */, + ) /*: ?Function */ { + var value = obj[name]; + if (value !== undefined && typeof value !== "function") { + throw new TypeError("Expected '" + name + "' to be a function"); + } + return value; + } + +`; +helpers.classPrivateMethodGet = helper("7.1.6")` + export default function _classPrivateMethodGet(receiver, privateSet, fn) { + if (!privateSet.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return fn; + } +`; +helpers.classPrivateMethodSet = helper("7.1.6")` + export default function _classPrivateMethodSet() { + throw new TypeError("attempted to reassign private method"); + } +`; +helpers.wrapRegExp = helper("7.2.6")` + import wrapNativeSuper from "wrapNativeSuper"; + import getPrototypeOf from "getPrototypeOf"; + import possibleConstructorReturn from "possibleConstructorReturn"; + import inherits from "inherits"; + + export default function _wrapRegExp(re, groups) { + _wrapRegExp = function(re, groups) { + return new BabelRegExp(re, undefined, groups); + }; + + var _RegExp = wrapNativeSuper(RegExp); + var _super = RegExp.prototype; + var _groups = new WeakMap(); + + function BabelRegExp(re, flags, groups) { + var _this = _RegExp.call(this, re, flags); + // if the regex is recreated with 'g' flag + _groups.set(_this, groups || _groups.get(re)); + return _this; + } + inherits(BabelRegExp, _RegExp); + + BabelRegExp.prototype.exec = function(str) { + var result = _super.exec.call(this, str); + if (result) result.groups = buildGroups(result, this); + return result; + }; + BabelRegExp.prototype[Symbol.replace] = function(str, substitution) { + if (typeof substitution === "string") { + var groups = _groups.get(this); + return _super[Symbol.replace].call( + this, + str, + substitution.replace(/\\$<([^>]+)>/g, function(_, name) { + return "$" + groups[name]; + }) + ); + } else if (typeof substitution === "function") { + var _this = this; + return _super[Symbol.replace].call( + this, + str, + function() { + var args = []; + args.push.apply(args, arguments); + if (typeof args[args.length - 1] !== "object") { + // Modern engines already pass result.groups as the last arg. + args.push(buildGroups(args, _this)); + } + return substitution.apply(this, args); + } + ); + } else { + return _super[Symbol.replace].call(this, str, substitution); + } + } + + function buildGroups(result, re) { + // NOTE: This function should return undefined if there are no groups, + // but in that case Babel doesn't add the wrapper anyway. + + var g = _groups.get(re); + return Object.keys(g).reduce(function(groups, name) { + groups[name] = result[g[name]]; + return groups; + }, Object.create(null)); + } + + return _wrapRegExp.apply(this, arguments); + } +`; \ No newline at end of file diff --git a/node_modules/@babel/helpers/lib/index.js b/node_modules/@babel/helpers/lib/index.js new file mode 100644 index 000000000..f122ac096 --- /dev/null +++ b/node_modules/@babel/helpers/lib/index.js @@ -0,0 +1,295 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.get = get; +exports.minVersion = minVersion; +exports.getDependencies = getDependencies; +exports.ensure = ensure; +exports.default = exports.list = void 0; + +var _traverse = _interopRequireDefault(require("@babel/traverse")); + +var t = _interopRequireWildcard(require("@babel/types")); + +var _helpers = _interopRequireDefault(require("./helpers")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function makePath(path) { + const parts = []; + + for (; path.parentPath; path = path.parentPath) { + parts.push(path.key); + if (path.inList) parts.push(path.listKey); + } + + return parts.reverse().join("."); +} + +let fileClass = undefined; + +function getHelperMetadata(file) { + const globals = new Set(); + const localBindingNames = new Set(); + const dependencies = new Map(); + let exportName; + let exportPath; + const exportBindingAssignments = []; + const importPaths = []; + const importBindingsReferences = []; + const dependencyVisitor = { + ImportDeclaration(child) { + const name = child.node.source.value; + + if (!_helpers.default[name]) { + throw child.buildCodeFrameError(`Unknown helper ${name}`); + } + + if (child.get("specifiers").length !== 1 || !child.get("specifiers.0").isImportDefaultSpecifier()) { + throw child.buildCodeFrameError("Helpers can only import a default value"); + } + + const bindingIdentifier = child.node.specifiers[0].local; + dependencies.set(bindingIdentifier, name); + importPaths.push(makePath(child)); + }, + + ExportDefaultDeclaration(child) { + const decl = child.get("declaration"); + + if (decl.isFunctionDeclaration()) { + if (!decl.node.id) { + throw decl.buildCodeFrameError("Helpers should give names to their exported func declaration"); + } + + exportName = decl.node.id.name; + } + + exportPath = makePath(child); + }, + + ExportAllDeclaration(child) { + throw child.buildCodeFrameError("Helpers can only export default"); + }, + + ExportNamedDeclaration(child) { + throw child.buildCodeFrameError("Helpers can only export default"); + }, + + Statement(child) { + if (child.isModuleDeclaration()) return; + child.skip(); + } + + }; + const referenceVisitor = { + Program(path) { + const bindings = path.scope.getAllBindings(); + Object.keys(bindings).forEach(name => { + if (name === exportName) return; + if (dependencies.has(bindings[name].identifier)) return; + localBindingNames.add(name); + }); + }, + + ReferencedIdentifier(child) { + const name = child.node.name; + const binding = child.scope.getBinding(name, true); + + if (!binding) { + globals.add(name); + } else if (dependencies.has(binding.identifier)) { + importBindingsReferences.push(makePath(child)); + } + }, + + AssignmentExpression(child) { + const left = child.get("left"); + if (!(exportName in left.getBindingIdentifiers())) return; + + if (!left.isIdentifier()) { + throw left.buildCodeFrameError("Only simple assignments to exports are allowed in helpers"); + } + + const binding = child.scope.getBinding(exportName); + + if (binding == null ? void 0 : binding.scope.path.isProgram()) { + exportBindingAssignments.push(makePath(child)); + } + } + + }; + (0, _traverse.default)(file.ast, dependencyVisitor, file.scope); + (0, _traverse.default)(file.ast, referenceVisitor, file.scope); + if (!exportPath) throw new Error("Helpers must default-export something."); + exportBindingAssignments.reverse(); + return { + globals: Array.from(globals), + localBindingNames: Array.from(localBindingNames), + dependencies, + exportBindingAssignments, + exportPath, + exportName, + importBindingsReferences, + importPaths + }; +} + +function permuteHelperAST(file, metadata, id, localBindings, getDependency) { + if (localBindings && !id) { + throw new Error("Unexpected local bindings for module-based helpers."); + } + + if (!id) return; + const { + localBindingNames, + dependencies, + exportBindingAssignments, + exportPath, + exportName, + importBindingsReferences, + importPaths + } = metadata; + const dependenciesRefs = {}; + dependencies.forEach((name, id) => { + dependenciesRefs[id.name] = typeof getDependency === "function" && getDependency(name) || id; + }); + const toRename = {}; + const bindings = new Set(localBindings || []); + localBindingNames.forEach(name => { + let newName = name; + + while (bindings.has(newName)) newName = "_" + newName; + + if (newName !== name) toRename[name] = newName; + }); + + if (id.type === "Identifier" && exportName !== id.name) { + toRename[exportName] = id.name; + } + + const visitor = { + Program(path) { + const exp = path.get(exportPath); + const imps = importPaths.map(p => path.get(p)); + const impsBindingRefs = importBindingsReferences.map(p => path.get(p)); + const decl = exp.get("declaration"); + + if (id.type === "Identifier") { + if (decl.isFunctionDeclaration()) { + exp.replaceWith(decl); + } else { + exp.replaceWith(t.variableDeclaration("var", [t.variableDeclarator(id, decl.node)])); + } + } else if (id.type === "MemberExpression") { + if (decl.isFunctionDeclaration()) { + exportBindingAssignments.forEach(assignPath => { + const assign = path.get(assignPath); + assign.replaceWith(t.assignmentExpression("=", id, assign.node)); + }); + exp.replaceWith(decl); + path.pushContainer("body", t.expressionStatement(t.assignmentExpression("=", id, t.identifier(exportName)))); + } else { + exp.replaceWith(t.expressionStatement(t.assignmentExpression("=", id, decl.node))); + } + } else { + throw new Error("Unexpected helper format."); + } + + Object.keys(toRename).forEach(name => { + path.scope.rename(name, toRename[name]); + }); + + for (const path of imps) path.remove(); + + for (const path of impsBindingRefs) { + const node = t.cloneNode(dependenciesRefs[path.node.name]); + path.replaceWith(node); + } + + path.stop(); + } + + }; + (0, _traverse.default)(file.ast, visitor, file.scope); +} + +const helperData = Object.create(null); + +function loadHelper(name) { + if (!helperData[name]) { + const helper = _helpers.default[name]; + + if (!helper) { + throw Object.assign(new ReferenceError(`Unknown helper ${name}`), { + code: "BABEL_HELPER_UNKNOWN", + helper: name + }); + } + + const fn = () => { + const file = { + ast: t.file(helper.ast()) + }; + + if (fileClass) { + return new fileClass({ + filename: `babel-helper://${name}` + }, file); + } + + return file; + }; + + const metadata = getHelperMetadata(fn()); + helperData[name] = { + build(getDependency, id, localBindings) { + const file = fn(); + permuteHelperAST(file, metadata, id, localBindings, getDependency); + return { + nodes: file.ast.program.body, + globals: metadata.globals + }; + }, + + minVersion() { + return helper.minVersion; + }, + + dependencies: metadata.dependencies + }; + } + + return helperData[name]; +} + +function get(name, getDependency, id, localBindings) { + return loadHelper(name).build(getDependency, id, localBindings); +} + +function minVersion(name) { + return loadHelper(name).minVersion(); +} + +function getDependencies(name) { + return Array.from(loadHelper(name).dependencies.values()); +} + +function ensure(name, newFileClass) { + if (!fileClass) { + fileClass = newFileClass; + } + + loadHelper(name); +} + +const list = Object.keys(_helpers.default).map(name => name.replace(/^_/, "")).filter(name => name !== "__esModule"); +exports.list = list; +var _default = get; +exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/helpers/package.json b/node_modules/@babel/helpers/package.json new file mode 100644 index 000000000..0f00d57ba --- /dev/null +++ b/node_modules/@babel/helpers/package.json @@ -0,0 +1,58 @@ +{ + "_from": "@babel/helpers@^7.10.4", + "_id": "@babel/helpers@7.10.4", + "_inBundle": false, + "_integrity": "sha512-L2gX/XeUONeEbI78dXSrJzGdz4GQ+ZTA/aazfUsFaWjSe95kiCuOZ5HsXvkiw3iwF+mFHSRUfJU8t6YavocdXA==", + "_location": "/@babel/helpers", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/helpers@^7.10.4", + "name": "@babel/helpers", + "escapedName": "@babel%2fhelpers", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/core" + ], + "_resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.4.tgz", + "_shasum": "2abeb0d721aff7c0a97376b9e1f6f65d7a475044", + "_spec": "@babel/helpers@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/core", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Collection of helper functions used by Babel transforms.", + "devDependencies": { + "@babel/helper-plugin-test-runner": "^7.10.4" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/helpers", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helpers" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/highlight/LICENSE b/node_modules/@babel/highlight/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/highlight/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/highlight/README.md b/node_modules/@babel/highlight/README.md new file mode 100644 index 000000000..72dae6094 --- /dev/null +++ b/node_modules/@babel/highlight/README.md @@ -0,0 +1,19 @@ +# @babel/highlight + +> Syntax highlight JavaScript strings for output in terminals. + +See our website [@babel/highlight](https://babeljs.io/docs/en/next/babel-highlight.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/highlight +``` + +or using yarn: + +```sh +yarn add @babel/highlight --dev +``` diff --git a/node_modules/@babel/highlight/lib/index.js b/node_modules/@babel/highlight/lib/index.js new file mode 100644 index 000000000..b0d1be7f5 --- /dev/null +++ b/node_modules/@babel/highlight/lib/index.js @@ -0,0 +1,107 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.shouldHighlight = shouldHighlight; +exports.getChalk = getChalk; +exports.default = highlight; + +var _jsTokens = _interopRequireWildcard(require("js-tokens")); + +var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); + +var _chalk = _interopRequireDefault(require("chalk")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function getDefs(chalk) { + return { + keyword: chalk.cyan, + capitalized: chalk.yellow, + jsx_tag: chalk.yellow, + punctuator: chalk.yellow, + number: chalk.magenta, + string: chalk.green, + regex: chalk.magenta, + comment: chalk.grey, + invalid: chalk.white.bgRed.bold + }; +} + +const NEWLINE = /\r\n|[\n\r\u2028\u2029]/; +const JSX_TAG = /^[a-z][\w-]*$/i; +const BRACKET = /^[()[\]{}]$/; + +function getTokenType(match) { + const [offset, text] = match.slice(-2); + const token = (0, _jsTokens.matchToToken)(match); + + if (token.type === "name") { + if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isReservedWord)(token.value)) { + return "keyword"; + } + + if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.substr(offset - 2, 2) == " colorize(str)).join("\n"); + } else { + return args[0]; + } + }); +} + +function shouldHighlight(options) { + return _chalk.default.supportsColor || options.forceColor; +} + +function getChalk(options) { + let chalk = _chalk.default; + + if (options.forceColor) { + chalk = new _chalk.default.constructor({ + enabled: true, + level: 1 + }); + } + + return chalk; +} + +function highlight(code, options = {}) { + if (shouldHighlight(options)) { + const chalk = getChalk(options); + const defs = getDefs(chalk); + return highlightTokens(defs, code); + } else { + return code; + } +} \ No newline at end of file diff --git a/node_modules/@babel/highlight/package.json b/node_modules/@babel/highlight/package.json new file mode 100644 index 000000000..f69321643 --- /dev/null +++ b/node_modules/@babel/highlight/package.json @@ -0,0 +1,58 @@ +{ + "_from": "@babel/highlight@^7.10.4", + "_id": "@babel/highlight@7.10.4", + "_inBundle": false, + "_integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", + "_location": "/@babel/highlight", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/highlight@^7.10.4", + "name": "@babel/highlight", + "escapedName": "@babel%2fhighlight", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/code-frame" + ], + "_resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", + "_shasum": "7d1bdfd65753538fabe6c38596cdb76d9ac60143", + "_spec": "@babel/highlight@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/code-frame", + "author": { + "name": "suchipi", + "email": "me@suchipi.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-validator-identifier": "^7.10.4", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "deprecated": false, + "description": "Syntax highlight JavaScript strings for output in terminals.", + "devDependencies": { + "strip-ansi": "^4.0.0" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/highlight", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-highlight" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/parser/CHANGELOG.md b/node_modules/@babel/parser/CHANGELOG.md new file mode 100644 index 000000000..b3840ac8d --- /dev/null +++ b/node_modules/@babel/parser/CHANGELOG.md @@ -0,0 +1,1073 @@ +# Changelog + +> **Tags:** +> - :boom: [Breaking Change] +> - :eyeglasses: [Spec Compliance] +> - :rocket: [New Feature] +> - :bug: [Bug Fix] +> - :memo: [Documentation] +> - :house: [Internal] +> - :nail_care: [Polish] + +> Semver Policy: https://github.com/babel/babel/tree/main/packages/babel-parser#semver + +_Note: Gaps between patch versions are faulty, broken or test releases._ + +See the [Babel Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) for the pre-6.8.0 version Changelog. + +## 6.17.1 (2017-05-10) + +### :bug: Bug Fix + * Fix typo in flow spread operator error (Brian Ng) + * Fixed invalid number literal parsing ([#473](https://github.com/babel/babylon/pull/473)) (Alex Kuzmenko) + * Fix number parser ([#433](https://github.com/babel/babylon/pull/433)) (Alex Kuzmenko) + * Ensure non pattern shorthand props are checked for reserved words ([#479](https://github.com/babel/babylon/pull/479)) (Brian Ng) + * Remove jsx context when parsing arrow functions ([#475](https://github.com/babel/babylon/pull/475)) (Brian Ng) + * Allow super in class properties ([#499](https://github.com/babel/babylon/pull/499)) (Brian Ng) + * Allow flow class field to be named constructor ([#510](https://github.com/babel/babylon/pull/510)) (Brian Ng) + +## 6.17.0 (2017-04-20) + +### :bug: Bug Fix + * Cherry-pick #418 to 6.x ([#476](https://github.com/babel/babylon/pull/476)) (Sebastian McKenzie) + * Add support for invalid escapes in tagged templates ([#274](https://github.com/babel/babylon/pull/274)) (Kevin Gibbons) + * Throw error if new.target is used outside of a function ([#402](https://github.com/babel/babylon/pull/402)) (Brian Ng) + * Fix parsing of class properties ([#351](https://github.com/babel/babylon/pull/351)) (Kevin Gibbons) + * Fix parsing yield with dynamicImport ([#383](https://github.com/babel/babylon/pull/383)) (Brian Ng) + * Ensure consistent start args for parseParenItem ([#386](https://github.com/babel/babylon/pull/386)) (Brian Ng) + +## 7.0.0-beta.8 (2017-04-04) + +### New Feature +* Add support for flow type spread (#418) (Conrad Buck) +* Allow statics in flow interfaces (#427) (Brian Ng) + +### Bug Fix +* Fix predicate attachment to match flow parser (#428) (Brian Ng) +* Add extra.raw back to JSXText and JSXAttribute (#344) (Alex Rattray) +* Fix rest parameters with array and objects (#424) (Brian Ng) +* Fix number parser (#433) (Alex Kuzmenko) + +### Docs +* Fix CONTRIBUTING.md [skip ci] (#432) (Alex Kuzmenko) + +### Internal +* Use babel-register script when running babel smoke tests (#442) (Brian Ng) + +## 7.0.0-beta.7 (2017-03-22) + +### Spec Compliance +* Remove babylon plugin for template revision since it's stage-4 (#426) (Henry Zhu) + +### Bug Fix + +* Fix push-pop logic in flow (#405) (Daniel Tschinder) + +## 7.0.0-beta.6 (2017-03-21) + +### New Feature +* Add support for invalid escapes in tagged templates (#274) (Kevin Gibbons) + +### Polish +* Improves error message when super is called outside of constructor (#408) (Arshabh Kumar Agarwal) + +### Docs + +* [7.0] Moved value field in spec from ObjectMember to ObjectProperty as ObjectMethod's don't have it (#415) [skip ci] (James Browning) + +## 7.0.0-beta.5 (2017-03-21) + +### Bug Fix +* Throw error if new.target is used outside of a function (#402) (Brian Ng) +* Fix parsing of class properties (#351) (Kevin Gibbons) + +### Other + * Test runner: Detect extra property in 'actual' but not in 'expected'. (#407) (Andy) + * Optimize travis builds (#419) (Daniel Tschinder) + * Update codecov to 2.0 (#412) (Daniel Tschinder) + * Fix spec for ClassMethod: It doesn't have a function, it *is* a function. (#406) [skip ci] (Andy) + * Changed Non-existent RestPattern to RestElement which is what is actually parsed (#409) [skip ci] (James Browning) + * Upgrade flow to 0.41 (Daniel Tschinder) + * Fix watch command (#403) (Brian Ng) + * Update yarn lock (Daniel Tschinder) + * Fix watch command (#403) (Brian Ng) + * chore(package): update flow-bin to version 0.41.0 (#395) (greenkeeper[bot]) + * Add estree test for correct order of directives (Daniel Tschinder) + * Add DoExpression to spec (#364) (Alex Kuzmenko) + * Mention cloning of repository in CONTRIBUTING.md (#391) [skip ci] (Sumedh Nimkarde) + * Explain how to run only one test (#389) [skip ci] (Aaron Ang) + + ## 7.0.0-beta.4 (2017-03-01) + +* Don't consume async when checking for async func decl (#377) (Brian Ng) +* add `ranges` option [skip ci] (Henry Zhu) +* Don't parse class properties without initializers when classProperties is disabled and Flow is enabled (#300) (Andrew Levine) + +## 7.0.0-beta.3 (2017-02-28) + +- [7.0] Change RestProperty/SpreadProperty to RestElement/SpreadElement (#384) +- Merge changes from 6.x + +## 7.0.0-beta.2 (2017-02-20) + +- estree: correctly change literals in all cases (#368) (Daniel Tschinder) + +## 7.0.0-beta.1 (2017-02-20) + +- Fix negative number literal typeannotations (#366) (Daniel Tschinder) +- Update contributing with more test info [skip ci] (#355) (Brian Ng) + +## 7.0.0-beta.0 (2017-02-15) + +- Reintroduce Variance node (#333) (Daniel Tschinder) +- Rename NumericLiteralTypeAnnotation to NumberLiteralTypeAnnotation (#332) (Charles Pick) +- [7.0] Remove ForAwaitStatement, add await flag to ForOfStatement (#349) (Brandon Dail) +- chore(package): update ava to version 0.18.0 (#345) (greenkeeper[bot]) +- chore(package): update babel-plugin-istanbul to version 4.0.0 (#350) (greenkeeper[bot]) +- Change location of ObjectTypeIndexer to match flow (#228) (Daniel Tschinder) +- Rename flow AST Type ExistentialTypeParam to ExistsTypeAnnotation (#322) (Toru Kobayashi) +- Revert "Temporary rollback for erroring on trailing comma with spread (#154)" (#290) (Daniel Tschinder) +- Remove classConstructorCall plugin (#291) (Brian Ng) +- Update yarn.lock (Daniel Tschinder) +- Update cross-env to 3.x (Daniel Tschinder) +- [7.0] Remove node 0.10, 0.12 and 5 from Travis (#284) (Sergey Rubanov) +- Remove `String.fromCodePoint` shim (#279) (Mathias Bynens) + +## 6.16.1 (2017-02-23) + +### :bug: Regression + +- Revert "Fix export default async function to be FunctionDeclaration" ([#375](https://github.com/babel/babylon/pull/375)) + +Need to modify Babel for this AST node change, so moving to 7.0. + +- Revert "Don't parse class properties without initializers when classProperties plugin is disabled, and Flow is enabled" ([#376](https://github.com/babel/babylon/pull/376)) + +[react-native](https://github.com/facebook/react-native/issues/12542) broke with this so we reverted. + +## 6.16.0 (2017-02-23) + +### :rocket: New Feature + +***ESTree*** compatibility as plugin ([#277](https://github.com/babel/babylon/pull/277)) (Daniel Tschinder) + +We finally introduce a new compatibility layer for ESTree. To put babylon into ESTree-compatible mode the new plugin `estree` can be enabled. In this mode the parser will output an AST that is compliant to the specs of [ESTree](https://github.com/estree/estree/) + +We highly recommend everyone who uses babylon outside of babel to use this plugin. This will make it much easier for users to switch between different ESTree-compatible parsers. We so far tested several projects with different parsers and exchanged their parser to babylon and in nearly all cases it worked out of the box. Some other estree-compatible parsers include `acorn`, `esprima`, `espree`, `flow-parser`, etc. + +To enable `estree` mode simply add the plugin in the config: +```json +{ + "plugins": [ "estree" ] +} +``` + +If you want to migrate your project from non-ESTree mode to ESTree, have a look at our [Readme](https://github.com/babel/babylon/#output), where all deviations are mentioned. + +Add a parseExpression public method ([#213](https://github.com/babel/babylon/pull/213)) (jeromew) + +Babylon exports a new function to parse a single expression + +```js +import { parseExpression } from 'babylon'; + +const ast = parseExpression('x || y && z', options); +``` + +The returned AST will only consist of the expression. The options are the same as for `parse()` + +Add startLine option ([#346](https://github.com/babel/babylon/pull/346)) (Raphael Mu) + +A new option was added to babylon allowing to change the initial linenumber for the first line which is usually `1`. +Changing this for example to `100` will make line `1` of the input source to be marked as line `100`, line `2` as `101`, line `3` as `102`, ... + +Function predicate declaration ([#103](https://github.com/babel/babylon/pull/103)) (Panagiotis Vekris) + +Added support for function predicates which flow introduced in version 0.33.0 + +```js +declare function is_number(x: mixed): boolean %checks(typeof x === "number"); +``` + +Allow imports in declare module ([#315](https://github.com/babel/babylon/pull/315)) (Daniel Tschinder) + +Added support for imports within module declarations which flow introduced in version 0.37.0 + +```js +declare module "C" { + import type { DT } from "D"; + declare export type CT = { D: DT }; +} +``` + +### :eyeglasses: Spec Compliance + +Forbid semicolons after decorators in classes ([#352](https://github.com/babel/babylon/pull/352)) (Kevin Gibbons) + +This example now correctly throws an error when there is a semicolon after the decorator: + +```js +class A { +@a; +foo(){} +} +``` + +Keywords are not allowed as local specifier ([#307](https://github.com/babel/babylon/pull/307)) (Daniel Tschinder) + +Using keywords in imports is not allowed anymore: + +```js +import { default } from "foo"; +import { a as debugger } from "foo"; +``` + +Do not allow overwritting of primitive types ([#314](https://github.com/babel/babylon/pull/314)) (Daniel Tschinder) + +In flow it is now forbidden to overwrite the primitive types `"any"`, `"mixed"`, `"empty"`, `"bool"`, `"boolean"`, `"number"`, `"string"`, `"void"` and `"null"` with your own type declaration. + +Disallow import type { type a } from … ([#305](https://github.com/babel/babylon/pull/305)) (Daniel Tschinder) + +The following code now correctly throws an error + +```js +import type { type a } from "foo"; +``` + +Don't parse class properties without initializers when classProperties is disabled and Flow is enabled ([#300](https://github.com/babel/babylon/pull/300)) (Andrew Levine) + +Ensure that you enable the `classProperties` plugin in order to enable correct parsing of class properties. Prior to this version it was possible to parse them by enabling the `flow` plugin but this was not intended the behaviour. + +If you enable the flow plugin you can only define the type of the class properties, but not initialize them. + +Fix export default async function to be FunctionDeclaration ([#324](https://github.com/babel/babylon/pull/324)) (Daniel Tschinder) + +Parsing the following code now returns a `FunctionDeclaration` AST node instead of `FunctionExpression`. + +```js +export default async function bar() {}; +``` + +### :nail_care: Polish + +Improve error message on attempt to destructure named import ([#288](https://github.com/babel/babylon/pull/288)) (Brian Ng) + +### :bug: Bug Fix + +Fix negative number literal typeannotations ([#366](https://github.com/babel/babylon/pull/366)) (Daniel Tschinder) + +Ensure takeDecorators is called on exported class ([#358](https://github.com/babel/babylon/pull/358)) (Brian Ng) + +ESTree: correctly change literals in all cases ([#368](https://github.com/babel/babylon/pull/368)) (Daniel Tschinder) + +Correctly convert RestProperty to Assignable ([#339](https://github.com/babel/babylon/pull/339)) (Daniel Tschinder) + +Fix #321 by allowing question marks in type params ([#338](https://github.com/babel/babylon/pull/338)) (Daniel Tschinder) + +Fix #336 by correctly setting arrow-param ([#337](https://github.com/babel/babylon/pull/337)) (Daniel Tschinder) + +Fix parse error when destructuring `set` with default value ([#317](https://github.com/babel/babylon/pull/317)) (Brian Ng) + +Fix ObjectTypeCallProperty static ([#298](https://github.com/babel/babylon/pull/298)) (Dan Harper) + + +### :house: Internal + +Fix generator-method-with-computed-name spec ([#360](https://github.com/babel/babylon/pull/360)) (Alex Rattray) + +Fix flow type-parameter-declaration test with unintended semantic ([#361](https://github.com/babel/babylon/pull/361)) (Alex Rattray) + +Cleanup and splitup parser functions ([#295](https://github.com/babel/babylon/pull/295)) (Daniel Tschinder) + +chore(package): update flow-bin to version 0.38.0 ([#313](https://github.com/babel/babylon/pull/313)) (greenkeeper[bot]) + +Call inner function instead of 1:1 copy to plugin ([#294](https://github.com/babel/babylon/pull/294)) (Daniel Tschinder) + +Update eslint-config-babel to the latest version 🚀 ([#299](https://github.com/babel/babylon/pull/299)) (greenkeeper[bot]) + +Update eslint-config-babel to the latest version 🚀 ([#293](https://github.com/babel/babylon/pull/293)) (greenkeeper[bot]) + +devDeps: remove eslint-plugin-babel ([#292](https://github.com/babel/babylon/pull/292)) (Kai Cataldo) + +Correct indent eslint rule config ([#276](https://github.com/babel/babylon/pull/276)) (Daniel Tschinder) + +Fail tests that have expected.json and throws-option ([#285](https://github.com/babel/babylon/pull/285)) (Daniel Tschinder) + +### :memo: Documentation + +Update contributing with more test info [skip ci] ([#355](https://github.com/babel/babylon/pull/355)) (Brian Ng) + +Update API documentation ([#330](https://github.com/babel/babylon/pull/330)) (Timothy Gu) + +Added keywords to package.json ([#323](https://github.com/babel/babylon/pull/323)) (Dmytro) + +AST spec: fix casing of `RegExpLiteral` ([#318](https://github.com/babel/babylon/pull/318)) (Mathias Bynens) + +## 6.15.0 (2017-01-10) + +### :eyeglasses: Spec Compliance + +Add support for Flow shorthand import type ([#267](https://github.com/babel/babylon/pull/267)) (Jeff Morrison) + +This change implements flows new shorthand import syntax +and where previously you had to write this code: + +```js +import {someValue} from "blah"; +import type {someType} from "blah"; +import typeof {someOtherValue} from "blah"; +``` + +you can now write it like this: + +```js +import { + someValue, + type someType, + typeof someOtherValue, +} from "blah"; +``` + +For more information look at [this](https://github.com/facebook/flow/pull/2890) pull request. + +flow: allow leading pipes in all positions ([#256](https://github.com/babel/babylon/pull/256)) (Vladimir Kurchatkin) + +This change now allows a leading pipe everywhere types can be used: +```js +var f = (x): | 1 | 2 => 1; +``` + +Throw error when exporting non-declaration ([#241](https://github.com/babel/babylon/pull/241)) (Kai Cataldo) + +Previously babylon parsed the following exports, although they are not valid: +```js +export typeof foo; +export new Foo(); +export function() {}; +export for (;;); +export while(foo); +``` + +### :bug: Bug Fix + +Don't set inType flag when parsing property names ([#266](https://github.com/babel/babylon/pull/266)) (Vladimir Kurchatkin) + +This fixes parsing of this case: + +```js +const map = { + [age <= 17] : 'Too young' +}; +``` + +Fix source location for JSXEmptyExpression nodes (fixes #248) ([#249](https://github.com/babel/babylon/pull/249)) (James Long) + +The following case produced an invalid AST +```js +
{/* foo */}
+``` + +Use fromCodePoint to convert high value unicode entities ([#243](https://github.com/babel/babylon/pull/243)) (Ryan Duffy) + +When high value unicode entities (e.g. 💩) were used in the input source code they are now correctly encoded in the resulting AST. + +Rename folder to avoid Windows-illegal characters ([#281](https://github.com/babel/babylon/pull/281)) (Ryan Plant) + +Allow this.state.clone() when parsing decorators ([#262](https://github.com/babel/babylon/pull/262)) (Alex Rattray) + +### :house: Internal + +User external-helpers ([#254](https://github.com/babel/babylon/pull/254)) (Daniel Tschinder) + +Add watch script for dev ([#234](https://github.com/babel/babylon/pull/234)) (Kai Cataldo) + +Freeze current plugins list for "*" option, and remove from README.md ([#245](https://github.com/babel/babylon/pull/245)) (Andrew Levine) + +Prepare tests for multiple fixture runners. ([#240](https://github.com/babel/babylon/pull/240)) (Daniel Tschinder) + +Add some test coverage for decorators stage-0 plugin ([#250](https://github.com/babel/babylon/pull/250)) (Andrew Levine) + +Refactor tokenizer types file ([#263](https://github.com/babel/babylon/pull/263)) (Sven SAULEAU) + +Update eslint-config-babel to the latest version 🚀 ([#273](https://github.com/babel/babylon/pull/273)) (greenkeeper[bot]) + +chore(package): update rollup to version 0.41.0 ([#272](https://github.com/babel/babylon/pull/272)) (greenkeeper[bot]) + +chore(package): update flow-bin to version 0.37.0 ([#255](https://github.com/babel/babylon/pull/255)) (greenkeeper[bot]) + +## 6.14.1 (2016-11-17) + +### :bug: Bug Fix + +Allow `"plugins": ["*"]` ([#229](https://github.com/babel/babylon/pull/229)) (Daniel Tschinder) + +```js +{ + "plugins": ["*"] +} +``` + +Will include all parser plugins instead of specifying each one individually. Useful for tools like babel-eslint, jscodeshift, and ast-explorer. + +## 6.14.0 (2016-11-16) + +### :eyeglasses: Spec Compliance + +Throw error for reserved words `enum` and `await` ([#195](https://github.com/babel/babylon/pull/195)) (Kai Cataldo) + +[11.6.2.2 Future Reserved Words](http://www.ecma-international.org/ecma-262/6.0/#sec-future-reserved-words) + +Babylon will throw for more reserved words such as `enum` or `await` (in strict mode). + +``` +class enum {} // throws +class await {} // throws in strict mode (module) +``` + +Optional names for function types and object type indexers ([#197](https://github.com/babel/babylon/pull/197)) (Gabe Levi) + +So where you used to have to write + +```js +type A = (x: string, y: boolean) => number; +type B = (z: string) => number; +type C = { [key: string]: number }; +``` + +you can now write (with flow 0.34.0) + +```js +type A = (string, boolean) => number; +type B = string => number; +type C = { [string]: number }; +``` + +Parse flow nested array type annotations like `number[][]` ([#219](https://github.com/babel/babylon/pull/219)) (Bernhard Häussner) + +Supports these form now of specifying array types: + +```js +var a: number[][][][]; +var b: string[][]; +``` + +### :bug: Bug Fix + +Correctly eat semicolon at the end of `DelcareModuleExports` ([#223](https://github.com/babel/babylon/pull/223)) (Daniel Tschinder) + +``` +declare module "foo" { declare module.exports: number } +declare module "foo" { declare module.exports: number; } // also allowed now +``` + +### :house: Internal + + * Count Babel tests towards Babylon code coverage ([#182](https://github.com/babel/babylon/pull/182)) (Moti Zilberman) + * Fix strange line endings ([#214](https://github.com/babel/babylon/pull/214)) (Thomas Grainger) + * Add node 7 (Daniel Tschinder) + * chore(package): update flow-bin to version 0.34.0 ([#204](https://github.com/babel/babylon/pull/204)) (Greenkeeper) + +## v6.13.1 (2016-10-26) + +### :nail_care: Polish + +- Use rollup for bundling to speed up startup time ([#190](https://github.com/babel/babylon/pull/190)) ([@drewml](https://github.com/DrewML)) + +```js +const babylon = require('babylon'); +const ast = babylon.parse('var foo = "lol";'); +``` + +With that test case, there was a ~95ms savings by removing the need for node to build/traverse the dependency graph. + +**Without bundling** +![image](https://cloud.githubusercontent.com/assets/5233399/19420264/3133497e-93ad-11e6-9a6a-2da59c4f5c13.png) + +**With bundling** +![image](https://cloud.githubusercontent.com/assets/5233399/19420267/388f556e-93ad-11e6-813e-7c5c396be322.png) + +- add clean command [skip ci] ([#201](https://github.com/babel/babylon/pull/201)) (Henry Zhu) +- add ForAwaitStatement (async generator already added) [skip ci] ([#196](https://github.com/babel/babylon/pull/196)) (Henry Zhu) + +## v6.13.0 (2016-10-21) + +### :eyeglasses: Spec Compliance + +Property variance type annotations for Flow plugin ([#161](https://github.com/babel/babylon/pull/161)) (Sam Goldman) + +> See https://flowtype.org/docs/variance.html for more information + +```js +type T = { +p: T }; +interface T { -p: T }; +declare class T { +[k:K]: V }; +class T { -[k:K]: V }; +class C2 { +p: T = e }; +``` + +Raise error on duplicate definition of __proto__ ([#183](https://github.com/babel/babylon/pull/183)) (Moti Zilberman) + +```js +({ __proto__: 1, __proto__: 2 }) // Throws an error now +``` + +### :bug: Bug Fix + +Flow: Allow class properties to be named `static` ([#184](https://github.com/babel/babylon/pull/184)) (Moti Zilberman) + +```js +declare class A { + static: T; +} +``` + +Allow "async" as identifier for object literal property shorthand ([#187](https://github.com/babel/babylon/pull/187)) (Andrew Levine) + +```js +var foo = { async, bar }; +``` + +### :nail_care: Polish + +Fix flowtype and add inType to state ([#189](https://github.com/babel/babylon/pull/189)) (Daniel Tschinder) + +> This improves the performance slightly (because of hidden classes) + +### :house: Internal + +Fix .gitattributes line ending setting ([#191](https://github.com/babel/babylon/pull/191)) (Moti Zilberman) + +Increase test coverage ([#175](https://github.com/babel/babylon/pull/175) (Moti Zilberman) + +Readd missin .eslinignore for IDEs (Daniel Tschinder) + +Error on missing expected.json fixture in CI ([#188](https://github.com/babel/babylon/pull/188)) (Moti Zilberman) + +Add .gitattributes and .editorconfig for LF line endings ([#179](https://github.com/babel/babylon/pull/179)) (Moti Zilberman) + +Fixes two tests that are failing after the merge of #172 ([#177](https://github.com/babel/babylon/pull/177)) (Moti Zilberman) + +## v6.12.0 (2016-10-14) + +### :eyeglasses: Spec Compliance + +Implement import() syntax ([#163](https://github.com/babel/babylon/pull/163)) (Jordan Gensler) + +#### Dynamic Import + +- Proposal Repo: https://github.com/domenic/proposal-dynamic-import +- Championed by [@domenic](https://github.com/domenic) +- stage-2 +- [sept-28 tc39 notes](https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-09/sept-28.md#113a-import) + +> This repository contains a proposal for adding a "function-like" import() module loading syntactic form to JavaScript + +```js +import(`./section-modules/${link.dataset.entryModule}.js`) +.then(module => { + module.loadPageInto(main); +}) +``` + +Add EmptyTypeAnnotation ([#171](https://github.com/babel/babylon/pull/171)) (Sam Goldman) + +#### EmptyTypeAnnotation + +Just wasn't covered before. + +```js +type T = empty; +``` + +### :bug: Bug Fix + +Fix crash when exporting with destructuring and sparse array ([#170](https://github.com/babel/babylon/pull/170)) (Jeroen Engels) + +```js +// was failing due to sparse array +export const { foo: [ ,, qux7 ] } = bar; +``` + +Allow keyword in Flow object declaration property names with type parameters ([#146](https://github.com/babel/babylon/pull/146)) (Dan Harper) + +```js +declare class X { + foobar(): void; + static foobar(): void; +} +``` + +Allow keyword in object/class property names with Flow type parameters ([#145](https://github.com/babel/babylon/pull/145)) (Dan Harper) + +```js +class Foo { + delete(item: T): T { + return item; + } +} +``` + +Allow typeAnnotations for yield expressions ([#174](https://github.com/babel/babylon/pull/174))) (Daniel Tschinder) + +```js +function *foo() { + const x = (yield 5: any); +} +``` + +### :nail_care: Polish + +Annotate more errors with expected token ([#172](https://github.com/babel/babylon/pull/172))) (Moti Zilberman) + +```js +// Unexpected token, expected ; (1:6) +{ set 1 } +``` + +### :house: Internal + +Remove kcheck ([#173](https://github.com/babel/babylon/pull/173))) (Daniel Tschinder) + +Also run flow, linting, babel tests on separate instances (add back node 0.10) + +## v6.11.6 (2016-10-12) + +### :bug: Bug Fix/Regression + +Fix crash when exporting with destructuring and sparse array ([#170](https://github.com/babel/babylon/pull/170)) (Jeroen Engels) + +```js +// was failing with `Cannot read property 'type' of null` because of null identifiers +export const { foo: [ ,, qux7 ] } = bar; +``` + +## v6.11.5 (2016-10-12) + +### :eyeglasses: Spec Compliance + +Fix: Check for duplicate named exports in exported destructuring assignments ([#144](https://github.com/babel/babylon/pull/144)) (Kai Cataldo) + +```js +// `foo` has already been exported. Exported identifiers must be unique. (2:20) +export function foo() {}; +export const { a: [{foo}] } = bar; +``` + +Fix: Check for duplicate named exports in exported rest elements/properties ([#164](https://github.com/babel/babylon/pull/164)) (Kai Cataldo) + +```js +// `foo` has already been exported. Exported identifiers must be unique. (2:22) +export const foo = 1; +export const [bar, ...foo] = baz; +``` + +### :bug: Bug Fix + +Fix: Allow identifier `async` for default param in arrow expression ([#165](https://github.com/babel/babylon/pull/165)) (Kai Cataldo) + +```js +// this is ok now +const test = ({async = true}) => {}; +``` + +### :nail_care: Polish + +Babylon will now print out the token it's expecting if there's a `SyntaxError` ([#150](https://github.com/babel/babylon/pull/150)) (Daniel Tschinder) + +```bash +# So in the case of a missing ending curly (`}`) +Module build failed: SyntaxError: Unexpected token, expected } (30:0) + 28 | } + 29 | +> 30 | + | ^ +``` + +## v6.11.4 (2016-10-03) + +Temporary rollback for erroring on trailing comma with spread (#154) (Henry Zhu) + +## v6.11.3 (2016-10-01) + +### :eyeglasses: Spec Compliance + +Add static errors for object rest (#149) ([@danez](https://github.com/danez)) + +> https://github.com/sebmarkbage/ecmascript-rest-spread + +Object rest copies the *rest* of properties from the right hand side `obj` starting from the left to right. + +```js +let { x, y, ...z } = { x: 1, y: 2, z: 3 }; +// x = 1 +// y = 2 +// z = { z: 3 } +``` + +#### New Syntax Errors: + +**SyntaxError**: The rest element has to be the last element when destructuring (1:10) +```bash +> 1 | let { ...x, y, z } = { x: 1, y: 2, z: 3}; + | ^ +# Previous behavior: +# x = { x: 1, y: 2, z: 3 } +# y = 2 +# z = 3 +``` + +Before, this was just a more verbose way of shallow copying `obj` since it doesn't actually do what you think. + +**SyntaxError**: Cannot have multiple rest elements when destructuring (1:13) + +```bash +> 1 | let { x, ...y, ...z } = { x: 1, y: 2, z: 3}; + | ^ +# Previous behavior: +# x = 1 +# y = { y: 2, z: 3 } +# z = { y: 2, z: 3 } +``` + +Before y and z would just be the same value anyway so there is no reason to need to have both. + +**SyntaxError**: A trailing comma is not permitted after the rest element (1:16) + +```js +let { x, y, ...z, } = obj; +``` + +The rationale for this is that the use case for trailing comma is that you can add something at the end without affecting the line above. Since a RestProperty always has to be the last property it doesn't make sense. + +--- + +get / set are valid property names in default assignment (#142) ([@jezell](https://github.com/jezell)) + +```js +// valid +function something({ set = null, get = null }) {} +``` + +## v6.11.2 (2016-09-23) + +### Bug Fix + +- [#139](https://github.com/babel/babylon/issues/139) Don't do the duplicate check if not an identifier (#140) @hzoo + +```js +// regression with duplicate export check +SyntaxError: ./typography.js: `undefined` has already been exported. Exported identifiers must be unique. (22:13) + 20 | + 21 | export const { rhythm } = typography; +> 22 | export const { TypographyStyle } = typography +``` + +Bail out for now, and make a change to account for destructuring in the next release. + +## 6.11.1 (2016-09-22) + +### Bug Fix +- [#137](https://github.com/babel/babylon/pull/137) - Fix a regression with duplicate exports - it was erroring on all keys in `Object.prototype`. @danez + +```javascript +export toString from './toString'; +``` + +```bash +`toString` has already been exported. Exported identifiers must be unique. (1:7) +> 1 | export toString from './toString'; + | ^ + 2 | +``` + +## 6.11.0 (2016-09-22) + +### Spec Compliance (will break CI) + +- Disallow duplicate named exports ([#107](https://github.com/babel/babylon/pull/107)) @kaicataldo + +```js +// Only one default export allowed per module. (2:9) +export default function() {}; +export { foo as default }; + +// Only one default export allowed per module. (2:0) +export default {}; +export default function() {}; + +// `Foo` has already been exported. Exported identifiers must be unique. (2:0) +export { Foo }; +export class Foo {}; +``` + +### New Feature (Syntax) + +- Add support for computed class property names ([#121](https://github.com/babel/babylon/pull/121)) @motiz88 + +```js +// AST +interface ClassProperty <: Node { + type: "ClassProperty"; + key: Identifier; + value: Expression; + computed: boolean; // added +} +``` + +```js +// with "plugins": ["classProperties"] +class Foo { + [x] + ['y'] +} + +class Bar { + [p] + [m] () {} +} + ``` + +### Bug Fix + +- Fix `static` property falling through in the declare class Flow AST ([#135](https://github.com/babel/babylon/pull/135)) @danharper + +```js +declare class X { + a: number; + static b: number; // static + c: number; // this was being marked as static in the AST as well +} +``` + +### Polish + +- Rephrase "assigning/binding to rvalue" errors to include context ([#119](https://github.com/babel/babylon/pull/119)) @motiz88 + +```js +// Used to error with: +// SyntaxError: Assigning to rvalue (1:0) + +// Now: +// Invalid left-hand side in assignment expression (1:0) +3 = 4 + +// Invalid left-hand side in for-in statement (1:5) +for (+i in {}); +``` + +### Internal + +- Fix call to `this.parseMaybeAssign` with correct arguments ([#133](https://github.com/babel/babylon/pull/133)) @danez +- Add semver note to changelog ([#131](https://github.com/babel/babylon/pull/131)) @hzoo + +## 6.10.0 (2016-09-19) + +> We plan to include some spec compliance bugs in patch versions. An example was the multiple default exports issue. + +### Spec Compliance + +* Implement ES2016 check for simple parameter list in strict mode ([#106](https://github.com/babel/babylon/pull/106)) (Timothy Gu) + +> It is a Syntax Error if ContainsUseStrict of FunctionBody is true and IsSimpleParameterList of FormalParameters is false. https://tc39.github.io/ecma262/2016/#sec-function-definitions-static-semantics-early-errors + +More Context: [tc39-notes](https://github.com/rwaldron/tc39-notes/blob/master/es7/2015-07/july-29.md#611-the-scope-of-use-strict-with-respect-to-destructuring-in-parameter-lists) + +For example: + +```js +// this errors because it uses destructuring and default parameters +// in a function with a "use strict" directive +function a([ option1, option2 ] = []) { + "use strict"; +} + ``` + +The solution would be to use a top level "use strict" or to remove the destructuring or default parameters when using a function + "use strict" or to. + +### New Feature + +* Exact object type annotations for Flow plugin ([#104](https://github.com/babel/babylon/pull/104)) (Basil Hosmer) + +Added to flow in https://github.com/facebook/flow/commit/c710c40aa2a115435098d6c0dfeaadb023cd39b8 + +Looks like: + +```js +var a : {| x: number, y: string |} = { x: 0, y: 'foo' }; +``` + +### Bug Fixes + +* Include `typeParameter` location in `ArrowFunctionExpression` ([#126](https://github.com/babel/babylon/pull/126)) (Daniel Tschinder) +* Error on invalid flow type annotation with default assignment ([#122](https://github.com/babel/babylon/pull/122)) (Dan Harper) +* Fix Flow return types on arrow functions ([#124](https://github.com/babel/babylon/pull/124)) (Dan Harper) + +### Misc + +* Add tests for export extensions ([#127](https://github.com/babel/babylon/pull/127)) (Daniel Tschinder) +* Fix Contributing guidelines [skip ci] (Daniel Tschinder) + +## 6.9.2 (2016-09-09) + +The only change is to remove the `babel-runtime` dependency by compiling with Babel's ES2015 loose mode. So using babylon standalone should be smaller. + +## 6.9.1 (2016-08-23) + +This release contains mainly small bugfixes but also updates babylons default mode to es2017. The features for `exponentiationOperator`, `asyncFunctions` and `trailingFunctionCommas` which previously needed to be activated via plugin are now enabled by default and the plugins are now no-ops. + +### Bug Fixes + +- Fix issues with default object params in async functions ([#96](https://github.com/babel/babylon/pull/96)) @danez +- Fix issues with flow-types and async function ([#95](https://github.com/babel/babylon/pull/95)) @danez +- Fix arrow functions with destructuring, types & default value ([#94](https://github.com/babel/babylon/pull/94)) @danharper +- Fix declare class with qualified type identifier ([#97](https://github.com/babel/babylon/pull/97)) @danez +- Remove exponentiationOperator, asyncFunctions, trailingFunctionCommas plugins and enable them by default ([#98](https://github.com/babel/babylon/pull/98)) @danez + +## 6.9.0 (2016-08-16) + +### New syntax support + +- Add JSX spread children ([#42](https://github.com/babel/babylon/pull/42)) @calebmer + +(Be aware that React is not going to support this syntax) + +```js +
+ {...todos.map(todo => )} +
+``` + +- Add support for declare module.exports ([#72](https://github.com/babel/babylon/pull/72)) @danez + +```js +declare module "foo" { + declare module.exports: {} +} +``` + +### New Features + +- If supplied, attach filename property to comment node loc. ([#80](https://github.com/babel/babylon/pull/80)) @divmain +- Add identifier name to node loc field ([#90](https://github.com/babel/babylon/pull/90)) @kittens + +### Bug Fixes + +- Fix exponential operator to behave according to spec ([#75](https://github.com/babel/babylon/pull/75)) @danez +- Fix lookahead to not add comments to arrays which are not cloned ([#76](https://github.com/babel/babylon/pull/76)) @danez +- Fix accidental fall-through in Flow type parsing. ([#82](https://github.com/babel/babylon/pull/82)) @xiemaisi +- Only allow declares inside declare module ([#73](https://github.com/babel/babylon/pull/73)) @danez +- Small fix for parsing type parameter declarations ([#83](https://github.com/babel/babylon/pull/83)) @gabelevi +- Fix arrow param locations with flow types ([#57](https://github.com/babel/babylon/pull/57)) @danez +- Fixes SyntaxError position with flow optional type ([#65](https://github.com/babel/babylon/pull/65)) @danez + +### Internal + +- Add codecoverage to tests @danez +- Fix tests to not save expected output if we expect the test to fail @danez +- Make a shallow clone of babel for testing @danez +- chore(package): update cross-env to version 2.0.0 ([#77](https://github.com/babel/babylon/pull/77)) @greenkeeperio-bot +- chore(package): update ava to version 0.16.0 ([#86](https://github.com/babel/babylon/pull/86)) @greenkeeperio-bot +- chore(package): update babel-plugin-istanbul to version 2.0.0 ([#89](https://github.com/babel/babylon/pull/89)) @greenkeeperio-bot +- chore(package): update nyc to version 8.0.0 ([#88](https://github.com/babel/babylon/pull/88)) @greenkeeperio-bot + +## 6.8.4 (2016-07-06) + +### Bug Fixes + +- Fix the location of params, when flow and default value used ([#68](https://github.com/babel/babylon/pull/68)) @danez + +## 6.8.3 (2016-07-02) + +### Bug Fixes + +- Fix performance regression introduced in 6.8.2 with conditionals ([#63](https://github.com/babel/babylon/pull/63)) @danez + +## 6.8.2 (2016-06-24) + +### Bug Fixes + +- Fix parse error with yielding jsx elements in generators `function* it() { yield
; }` ([#31](https://github.com/babel/babylon/pull/31)) @eldereal +- When cloning nodes do not clone its comments ([#24](https://github.com/babel/babylon/pull/24)) @danez +- Fix parse errors when using arrow functions with an spread element and return type `(...props): void => {}` ([#10](https://github.com/babel/babylon/pull/10)) @danez +- Fix leading comments added from previous node ([#23](https://github.com/babel/babylon/pull/23)) @danez +- Fix parse errors with flow's optional arguments `(arg?) => {}` ([#19](https://github.com/babel/babylon/pull/19)) @danez +- Support negative numeric type literals @kittens +- Remove line terminator restriction after await keyword @kittens +- Remove grouped type arrow restriction as it seems flow no longer has it @kittens +- Fix parse error with generic methods that have the name `get` or `set` `class foo { get() {} }` ([#55](https://github.com/babel/babylon/pull/55)) @vkurchatkin +- Fix parse error with arrow functions that have flow type parameter declarations `(x: T): T => x;` ([#54](https://github.com/babel/babylon/pull/54)) @gabelevi + +### Documentation + +- Document AST differences from ESTree ([#41](https://github.com/babel/babylon/pull/41)) @nene +- Move ast spec from babel/babel ([#46](https://github.com/babel/babylon/pull/46)) @hzoo + +### Internal + +- Enable skipped tests ([#16](https://github.com/babel/babylon/pull/16)) @danez +- Add script to test latest version of babylon with babel ([#21](https://github.com/babel/babylon/pull/21)) @danez +- Upgrade test runner ava @kittens +- Add missing generate-identifier-regex script @kittens +- Rename parser context types @kittens +- Add node v6 to travis testing @hzoo +- Update to Unicode v9 ([#45](https://github.com/babel/babylon/pull/45)) @mathiasbynens + +## 6.8.1 (2016-06-06) + +### New Feature + +- Parse type parameter declarations with defaults like `type Foo = T` + +### Bug Fixes +- Type parameter declarations need 1 or more type parameters. +- The existential type `*` is not a valid type parameter. +- The existential type `*` is a primary type + +### Spec Compliance +- The param list for type parameter declarations now consists of `TypeParameter` nodes +- New `TypeParameter` AST Node (replaces using the `Identifier` node before) + +``` +interface TypeParameter <: Node { + bound: TypeAnnotation; + default: TypeAnnotation; + name: string; + variance: "plus" | "minus"; +} +``` + +## 6.8.0 (2016-05-02) + +#### New Feature + +##### Parse Method Parameter Decorators ([#12](https://github.com/babel/babylon/pull/12)) + +> [Method Parameter Decorators](https://goo.gl/8MmCMG) is now a TC39 [stage 0 proposal](https://github.com/tc39/ecma262/blob/master/stage0.md). + +Examples: + +```js +class Foo { + constructor(@foo() x, @bar({ a: 123 }) @baz() y) {} +} + +export default function func(@foo() x, @bar({ a: 123 }) @baz() y) {} + +var obj = { + method(@foo() x, @bar({ a: 123 }) @baz() y) {} +}; +``` + +##### Parse for-await statements (w/ `asyncGenerators` plugin) ([#17](https://github.com/babel/babylon/pull/17)) + +There is also a new node type, `ForAwaitStatement`. + +> [Async generators and for-await](https://github.com/tc39/proposal-async-iteration) are now a [stage 2 proposal](https://github.com/tc39/ecma262#current-proposals). + +Example: + +```js +async function f() { + for await (let x of y); +} +``` diff --git a/node_modules/@babel/parser/LICENSE b/node_modules/@babel/parser/LICENSE new file mode 100644 index 000000000..d4c7fc583 --- /dev/null +++ b/node_modules/@babel/parser/LICENSE @@ -0,0 +1,19 @@ +Copyright (C) 2012-2014 by various contributors (see AUTHORS) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/@babel/parser/README.md b/node_modules/@babel/parser/README.md new file mode 100644 index 000000000..65092a053 --- /dev/null +++ b/node_modules/@babel/parser/README.md @@ -0,0 +1,19 @@ +# @babel/parser + +> A JavaScript parser + +See our website [@babel/parser](https://babeljs.io/docs/en/next/babel-parser.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen) associated with this package. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/parser +``` + +or using yarn: + +```sh +yarn add @babel/parser --dev +``` diff --git a/node_modules/@babel/parser/bin/babel-parser.js b/node_modules/@babel/parser/bin/babel-parser.js new file mode 100755 index 000000000..3aca31453 --- /dev/null +++ b/node_modules/@babel/parser/bin/babel-parser.js @@ -0,0 +1,15 @@ +#!/usr/bin/env node +/* eslint no-var: 0 */ + +var parser = require(".."); +var fs = require("fs"); + +var filename = process.argv[2]; +if (!filename) { + console.error("no filename specified"); +} else { + var file = fs.readFileSync(filename, "utf8"); + var ast = parser.parse(file); + + console.log(JSON.stringify(ast, null, " ")); +} diff --git a/node_modules/@babel/parser/lib/index.js b/node_modules/@babel/parser/lib/index.js new file mode 100644 index 000000000..59a00ca3b --- /dev/null +++ b/node_modules/@babel/parser/lib/index.js @@ -0,0 +1,13145 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +const beforeExpr = true; +const startsExpr = true; +const isLoop = true; +const isAssign = true; +const prefix = true; +const postfix = true; +class TokenType { + constructor(label, conf = {}) { + this.label = label; + this.keyword = conf.keyword; + this.beforeExpr = !!conf.beforeExpr; + this.startsExpr = !!conf.startsExpr; + this.rightAssociative = !!conf.rightAssociative; + this.isLoop = !!conf.isLoop; + this.isAssign = !!conf.isAssign; + this.prefix = !!conf.prefix; + this.postfix = !!conf.postfix; + this.binop = conf.binop != null ? conf.binop : null; + this.updateContext = null; + } + +} +const keywords = new Map(); + +function createKeyword(name, options = {}) { + options.keyword = name; + const token = new TokenType(name, options); + keywords.set(name, token); + return token; +} + +function createBinop(name, binop) { + return new TokenType(name, { + beforeExpr, + binop + }); +} + +const types = { + num: new TokenType("num", { + startsExpr + }), + bigint: new TokenType("bigint", { + startsExpr + }), + decimal: new TokenType("decimal", { + startsExpr + }), + regexp: new TokenType("regexp", { + startsExpr + }), + string: new TokenType("string", { + startsExpr + }), + name: new TokenType("name", { + startsExpr + }), + eof: new TokenType("eof"), + bracketL: new TokenType("[", { + beforeExpr, + startsExpr + }), + bracketHashL: new TokenType("#[", { + beforeExpr, + startsExpr + }), + bracketBarL: new TokenType("[|", { + beforeExpr, + startsExpr + }), + bracketR: new TokenType("]"), + bracketBarR: new TokenType("|]"), + braceL: new TokenType("{", { + beforeExpr, + startsExpr + }), + braceBarL: new TokenType("{|", { + beforeExpr, + startsExpr + }), + braceHashL: new TokenType("#{", { + beforeExpr, + startsExpr + }), + braceR: new TokenType("}"), + braceBarR: new TokenType("|}"), + parenL: new TokenType("(", { + beforeExpr, + startsExpr + }), + parenR: new TokenType(")"), + comma: new TokenType(",", { + beforeExpr + }), + semi: new TokenType(";", { + beforeExpr + }), + colon: new TokenType(":", { + beforeExpr + }), + doubleColon: new TokenType("::", { + beforeExpr + }), + dot: new TokenType("."), + question: new TokenType("?", { + beforeExpr + }), + questionDot: new TokenType("?."), + arrow: new TokenType("=>", { + beforeExpr + }), + template: new TokenType("template"), + ellipsis: new TokenType("...", { + beforeExpr + }), + backQuote: new TokenType("`", { + startsExpr + }), + dollarBraceL: new TokenType("${", { + beforeExpr, + startsExpr + }), + at: new TokenType("@"), + hash: new TokenType("#", { + startsExpr + }), + interpreterDirective: new TokenType("#!..."), + eq: new TokenType("=", { + beforeExpr, + isAssign + }), + assign: new TokenType("_=", { + beforeExpr, + isAssign + }), + incDec: new TokenType("++/--", { + prefix, + postfix, + startsExpr + }), + bang: new TokenType("!", { + beforeExpr, + prefix, + startsExpr + }), + tilde: new TokenType("~", { + beforeExpr, + prefix, + startsExpr + }), + pipeline: createBinop("|>", 0), + nullishCoalescing: createBinop("??", 1), + logicalOR: createBinop("||", 1), + logicalAND: createBinop("&&", 2), + bitwiseOR: createBinop("|", 3), + bitwiseXOR: createBinop("^", 4), + bitwiseAND: createBinop("&", 5), + equality: createBinop("==/!=/===/!==", 6), + relational: createBinop("/<=/>=", 7), + bitShift: createBinop("<>/>>>", 8), + plusMin: new TokenType("+/-", { + beforeExpr, + binop: 9, + prefix, + startsExpr + }), + modulo: new TokenType("%", { + beforeExpr, + binop: 10, + startsExpr + }), + star: new TokenType("*", { + binop: 10 + }), + slash: createBinop("/", 10), + exponent: new TokenType("**", { + beforeExpr, + binop: 11, + rightAssociative: true + }), + _break: createKeyword("break"), + _case: createKeyword("case", { + beforeExpr + }), + _catch: createKeyword("catch"), + _continue: createKeyword("continue"), + _debugger: createKeyword("debugger"), + _default: createKeyword("default", { + beforeExpr + }), + _do: createKeyword("do", { + isLoop, + beforeExpr + }), + _else: createKeyword("else", { + beforeExpr + }), + _finally: createKeyword("finally"), + _for: createKeyword("for", { + isLoop + }), + _function: createKeyword("function", { + startsExpr + }), + _if: createKeyword("if"), + _return: createKeyword("return", { + beforeExpr + }), + _switch: createKeyword("switch"), + _throw: createKeyword("throw", { + beforeExpr, + prefix, + startsExpr + }), + _try: createKeyword("try"), + _var: createKeyword("var"), + _const: createKeyword("const"), + _while: createKeyword("while", { + isLoop + }), + _with: createKeyword("with"), + _new: createKeyword("new", { + beforeExpr, + startsExpr + }), + _this: createKeyword("this", { + startsExpr + }), + _super: createKeyword("super", { + startsExpr + }), + _class: createKeyword("class", { + startsExpr + }), + _extends: createKeyword("extends", { + beforeExpr + }), + _export: createKeyword("export"), + _import: createKeyword("import", { + startsExpr + }), + _null: createKeyword("null", { + startsExpr + }), + _true: createKeyword("true", { + startsExpr + }), + _false: createKeyword("false", { + startsExpr + }), + _in: createKeyword("in", { + beforeExpr, + binop: 7 + }), + _instanceof: createKeyword("instanceof", { + beforeExpr, + binop: 7 + }), + _typeof: createKeyword("typeof", { + beforeExpr, + prefix, + startsExpr + }), + _void: createKeyword("void", { + beforeExpr, + prefix, + startsExpr + }), + _delete: createKeyword("delete", { + beforeExpr, + prefix, + startsExpr + }) +}; + +const SCOPE_OTHER = 0b00000000, + SCOPE_PROGRAM = 0b00000001, + SCOPE_FUNCTION = 0b00000010, + SCOPE_ARROW = 0b00000100, + SCOPE_SIMPLE_CATCH = 0b00001000, + SCOPE_SUPER = 0b00010000, + SCOPE_DIRECT_SUPER = 0b00100000, + SCOPE_CLASS = 0b01000000, + SCOPE_TS_MODULE = 0b10000000, + SCOPE_VAR = SCOPE_PROGRAM | SCOPE_FUNCTION | SCOPE_TS_MODULE; +const BIND_KIND_VALUE = 0b00000000001, + BIND_KIND_TYPE = 0b00000000010, + BIND_SCOPE_VAR = 0b00000000100, + BIND_SCOPE_LEXICAL = 0b00000001000, + BIND_SCOPE_FUNCTION = 0b00000010000, + BIND_FLAGS_NONE = 0b00001000000, + BIND_FLAGS_CLASS = 0b00010000000, + BIND_FLAGS_TS_ENUM = 0b00100000000, + BIND_FLAGS_TS_CONST_ENUM = 0b01000000000, + BIND_FLAGS_TS_EXPORT_ONLY = 0b10000000000; +const BIND_CLASS = BIND_KIND_VALUE | BIND_KIND_TYPE | BIND_SCOPE_LEXICAL | BIND_FLAGS_CLASS, + BIND_LEXICAL = BIND_KIND_VALUE | 0 | BIND_SCOPE_LEXICAL | 0, + BIND_VAR = BIND_KIND_VALUE | 0 | BIND_SCOPE_VAR | 0, + BIND_FUNCTION = BIND_KIND_VALUE | 0 | BIND_SCOPE_FUNCTION | 0, + BIND_TS_INTERFACE = 0 | BIND_KIND_TYPE | 0 | BIND_FLAGS_CLASS, + BIND_TS_TYPE = 0 | BIND_KIND_TYPE | 0 | 0, + BIND_TS_ENUM = BIND_KIND_VALUE | BIND_KIND_TYPE | BIND_SCOPE_LEXICAL | BIND_FLAGS_TS_ENUM, + BIND_TS_AMBIENT = 0 | 0 | 0 | BIND_FLAGS_TS_EXPORT_ONLY, + BIND_NONE = 0 | 0 | 0 | BIND_FLAGS_NONE, + BIND_OUTSIDE = BIND_KIND_VALUE | 0 | 0 | BIND_FLAGS_NONE, + BIND_TS_CONST_ENUM = BIND_TS_ENUM | BIND_FLAGS_TS_CONST_ENUM, + BIND_TS_NAMESPACE = 0 | 0 | 0 | BIND_FLAGS_TS_EXPORT_ONLY; +const CLASS_ELEMENT_FLAG_STATIC = 0b100, + CLASS_ELEMENT_KIND_GETTER = 0b010, + CLASS_ELEMENT_KIND_SETTER = 0b001, + CLASS_ELEMENT_KIND_ACCESSOR = CLASS_ELEMENT_KIND_GETTER | CLASS_ELEMENT_KIND_SETTER; +const CLASS_ELEMENT_STATIC_GETTER = CLASS_ELEMENT_KIND_GETTER | CLASS_ELEMENT_FLAG_STATIC, + CLASS_ELEMENT_STATIC_SETTER = CLASS_ELEMENT_KIND_SETTER | CLASS_ELEMENT_FLAG_STATIC, + CLASS_ELEMENT_INSTANCE_GETTER = CLASS_ELEMENT_KIND_GETTER, + CLASS_ELEMENT_INSTANCE_SETTER = CLASS_ELEMENT_KIND_SETTER, + CLASS_ELEMENT_OTHER = 0; + +const lineBreak = /\r\n?|[\n\u2028\u2029]/; +const lineBreakG = new RegExp(lineBreak.source, "g"); +function isNewLine(code) { + switch (code) { + case 10: + case 13: + case 8232: + case 8233: + return true; + + default: + return false; + } +} +const skipWhiteSpace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g; +function isWhitespace(code) { + switch (code) { + case 0x0009: + case 0x000b: + case 0x000c: + case 32: + case 160: + case 5760: + case 0x2000: + case 0x2001: + case 0x2002: + case 0x2003: + case 0x2004: + case 0x2005: + case 0x2006: + case 0x2007: + case 0x2008: + case 0x2009: + case 0x200a: + case 0x202f: + case 0x205f: + case 0x3000: + case 0xfeff: + return true; + + default: + return false; + } +} + +class Position { + constructor(line, col) { + this.line = line; + this.column = col; + } + +} +class SourceLocation { + constructor(start, end) { + this.start = start; + this.end = end; + } + +} +function getLineInfo(input, offset) { + let line = 1; + let lineStart = 0; + let match; + lineBreakG.lastIndex = 0; + + while ((match = lineBreakG.exec(input)) && match.index < offset) { + line++; + lineStart = lineBreakG.lastIndex; + } + + return new Position(line, offset - lineStart); +} + +class BaseParser { + constructor() { + this.sawUnambiguousESM = false; + this.ambiguousScriptDifferentAst = false; + } + + hasPlugin(name) { + return this.plugins.has(name); + } + + getPluginOption(plugin, name) { + if (this.hasPlugin(plugin)) return this.plugins.get(plugin)[name]; + } + +} + +function last(stack) { + return stack[stack.length - 1]; +} + +class CommentsParser extends BaseParser { + addComment(comment) { + if (this.filename) comment.loc.filename = this.filename; + this.state.trailingComments.push(comment); + this.state.leadingComments.push(comment); + } + + adjustCommentsAfterTrailingComma(node, elements, takeAllComments) { + if (this.state.leadingComments.length === 0) { + return; + } + + let lastElement = null; + let i = elements.length; + + while (lastElement === null && i > 0) { + lastElement = elements[--i]; + } + + if (lastElement === null) { + return; + } + + for (let j = 0; j < this.state.leadingComments.length; j++) { + if (this.state.leadingComments[j].end < this.state.commentPreviousNode.end) { + this.state.leadingComments.splice(j, 1); + j--; + } + } + + const newTrailingComments = []; + + for (let i = 0; i < this.state.leadingComments.length; i++) { + const leadingComment = this.state.leadingComments[i]; + + if (leadingComment.end < node.end) { + newTrailingComments.push(leadingComment); + + if (!takeAllComments) { + this.state.leadingComments.splice(i, 1); + i--; + } + } else { + if (node.trailingComments === undefined) { + node.trailingComments = []; + } + + node.trailingComments.push(leadingComment); + } + } + + if (takeAllComments) this.state.leadingComments = []; + + if (newTrailingComments.length > 0) { + lastElement.trailingComments = newTrailingComments; + } else if (lastElement.trailingComments !== undefined) { + lastElement.trailingComments = []; + } + } + + processComment(node) { + if (node.type === "Program" && node.body.length > 0) return; + const stack = this.state.commentStack; + let firstChild, lastChild, trailingComments, i, j; + + if (this.state.trailingComments.length > 0) { + if (this.state.trailingComments[0].start >= node.end) { + trailingComments = this.state.trailingComments; + this.state.trailingComments = []; + } else { + this.state.trailingComments.length = 0; + } + } else if (stack.length > 0) { + const lastInStack = last(stack); + + if (lastInStack.trailingComments && lastInStack.trailingComments[0].start >= node.end) { + trailingComments = lastInStack.trailingComments; + delete lastInStack.trailingComments; + } + } + + if (stack.length > 0 && last(stack).start >= node.start) { + firstChild = stack.pop(); + } + + while (stack.length > 0 && last(stack).start >= node.start) { + lastChild = stack.pop(); + } + + if (!lastChild && firstChild) lastChild = firstChild; + + if (firstChild) { + switch (node.type) { + case "ObjectExpression": + this.adjustCommentsAfterTrailingComma(node, node.properties); + break; + + case "ObjectPattern": + this.adjustCommentsAfterTrailingComma(node, node.properties, true); + break; + + case "CallExpression": + this.adjustCommentsAfterTrailingComma(node, node.arguments); + break; + + case "ArrayExpression": + this.adjustCommentsAfterTrailingComma(node, node.elements); + break; + + case "ArrayPattern": + this.adjustCommentsAfterTrailingComma(node, node.elements, true); + break; + } + } else if (this.state.commentPreviousNode && (this.state.commentPreviousNode.type === "ImportSpecifier" && node.type !== "ImportSpecifier" || this.state.commentPreviousNode.type === "ExportSpecifier" && node.type !== "ExportSpecifier")) { + this.adjustCommentsAfterTrailingComma(node, [this.state.commentPreviousNode]); + } + + if (lastChild) { + if (lastChild.leadingComments) { + if (lastChild !== node && lastChild.leadingComments.length > 0 && last(lastChild.leadingComments).end <= node.start) { + node.leadingComments = lastChild.leadingComments; + delete lastChild.leadingComments; + } else { + for (i = lastChild.leadingComments.length - 2; i >= 0; --i) { + if (lastChild.leadingComments[i].end <= node.start) { + node.leadingComments = lastChild.leadingComments.splice(0, i + 1); + break; + } + } + } + } + } else if (this.state.leadingComments.length > 0) { + if (last(this.state.leadingComments).end <= node.start) { + if (this.state.commentPreviousNode) { + for (j = 0; j < this.state.leadingComments.length; j++) { + if (this.state.leadingComments[j].end < this.state.commentPreviousNode.end) { + this.state.leadingComments.splice(j, 1); + j--; + } + } + } + + if (this.state.leadingComments.length > 0) { + node.leadingComments = this.state.leadingComments; + this.state.leadingComments = []; + } + } else { + for (i = 0; i < this.state.leadingComments.length; i++) { + if (this.state.leadingComments[i].end > node.start) { + break; + } + } + + const leadingComments = this.state.leadingComments.slice(0, i); + + if (leadingComments.length) { + node.leadingComments = leadingComments; + } + + trailingComments = this.state.leadingComments.slice(i); + + if (trailingComments.length === 0) { + trailingComments = null; + } + } + } + + this.state.commentPreviousNode = node; + + if (trailingComments) { + if (trailingComments.length && trailingComments[0].start >= node.start && last(trailingComments).end <= node.end) { + node.innerComments = trailingComments; + } else { + const firstTrailingCommentIndex = trailingComments.findIndex(comment => comment.end >= node.end); + + if (firstTrailingCommentIndex > 0) { + node.innerComments = trailingComments.slice(0, firstTrailingCommentIndex); + node.trailingComments = trailingComments.slice(firstTrailingCommentIndex); + } else { + node.trailingComments = trailingComments; + } + } + } + + stack.push(node); + } + +} + +const ErrorMessages = Object.freeze({ + AccessorIsGenerator: "A %0ter cannot be a generator", + ArgumentsDisallowedInInitializer: "'arguments' is not allowed in class field initializer", + AsyncFunctionInSingleStatementContext: "Async functions can only be declared at the top level or inside a block", + AwaitBindingIdentifier: "Can not use 'await' as identifier inside an async function", + AwaitExpressionFormalParameter: "await is not allowed in async function parameters", + AwaitNotInAsyncFunction: "Can not use keyword 'await' outside an async function", + BadGetterArity: "getter must not have any formal parameters", + BadSetterArity: "setter must have exactly one formal parameter", + BadSetterRestParameter: "setter function argument must not be a rest parameter", + ConstructorClassField: "Classes may not have a field named 'constructor'", + ConstructorClassPrivateField: "Classes may not have a private field named '#constructor'", + ConstructorIsAccessor: "Class constructor may not be an accessor", + ConstructorIsAsync: "Constructor can't be an async function", + ConstructorIsGenerator: "Constructor can't be a generator", + DeclarationMissingInitializer: "%0 require an initialization value", + DecoratorBeforeExport: "Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax", + DecoratorConstructor: "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?", + DecoratorExportClass: "Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.", + DecoratorSemicolon: "Decorators must not be followed by a semicolon", + DeletePrivateField: "Deleting a private field is not allowed", + DestructureNamedImport: "ES2015 named imports do not destructure. Use another statement for destructuring after the import.", + DuplicateConstructor: "Duplicate constructor in the same class", + DuplicateDefaultExport: "Only one default export allowed per module.", + DuplicateExport: "`%0` has already been exported. Exported identifiers must be unique.", + DuplicateProto: "Redefinition of __proto__ property", + DuplicateRegExpFlags: "Duplicate regular expression flag", + ElementAfterRest: "Rest element must be last element", + EscapedCharNotAnIdentifier: "Invalid Unicode escape", + ExportDefaultFromAsIdentifier: "'from' is not allowed as an identifier after 'export default'", + ForInOfLoopInitializer: "%0 loop variable declaration may not have an initializer", + GeneratorInSingleStatementContext: "Generators can only be declared at the top level or inside a block", + IllegalBreakContinue: "Unsyntactic %0", + IllegalLanguageModeDirective: "Illegal 'use strict' directive in function with non-simple parameter list", + IllegalReturn: "'return' outside of function", + ImportCallArgumentTrailingComma: "Trailing comma is disallowed inside import(...) arguments", + ImportCallArity: "import() requires exactly %0", + ImportCallNotNewExpression: "Cannot use new with import(...)", + ImportCallSpreadArgument: "... is not allowed in import()", + ImportMetaOutsideModule: `import.meta may appear only with 'sourceType: "module"'`, + ImportOutsideModule: `'import' and 'export' may appear only with 'sourceType: "module"'`, + InvalidBigIntLiteral: "Invalid BigIntLiteral", + InvalidCodePoint: "Code point out of bounds", + InvalidDecimal: "Invalid decimal", + InvalidDigit: "Expected number in radix %0", + InvalidEscapeSequence: "Bad character escape sequence", + InvalidEscapeSequenceTemplate: "Invalid escape sequence in template", + InvalidEscapedReservedWord: "Escape sequence in keyword %0", + InvalidIdentifier: "Invalid identifier %0", + InvalidLhs: "Invalid left-hand side in %0", + InvalidLhsBinding: "Binding invalid left-hand side in %0", + InvalidNumber: "Invalid number", + InvalidOrUnexpectedToken: "Unexpected character '%0'", + InvalidParenthesizedAssignment: "Invalid parenthesized assignment pattern", + InvalidPrivateFieldResolution: "Private name #%0 is not defined", + InvalidPropertyBindingPattern: "Binding member expression", + InvalidRecordProperty: "Only properties and spread elements are allowed in record definitions", + InvalidRestAssignmentPattern: "Invalid rest operator's argument", + LabelRedeclaration: "Label '%0' is already declared", + LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations.", + LineTerminatorBeforeArrow: "No line break is allowed before '=>'", + MalformedRegExpFlags: "Invalid regular expression flag", + MissingClassName: "A class name is required", + MissingEqInAssignment: "Only '=' operator can be used for specifying default value.", + MissingUnicodeEscape: "Expecting Unicode escape sequence \\uXXXX", + MixingCoalesceWithLogical: "Nullish coalescing operator(??) requires parens when mixing with logical operators", + ModuleAttributeDifferentFromType: "The only accepted module attribute is `type`", + ModuleAttributeInvalidValue: "Only string literals are allowed as module attribute values", + ModuleAttributesWithDuplicateKeys: 'Duplicate key "%0" is not allowed in module attributes', + ModuleExportUndefined: "Export '%0' is not defined", + MultipleDefaultsInSwitch: "Multiple default clauses", + NewlineAfterThrow: "Illegal newline after throw", + NoCatchOrFinally: "Missing catch or finally clause", + NumberIdentifier: "Identifier directly after number", + NumericSeparatorInEscapeSequence: "Numeric separators are not allowed inside unicode escape sequences or hex escape sequences", + ObsoleteAwaitStar: "await* has been removed from the async functions proposal. Use Promise.all() instead.", + OptionalChainingNoNew: "constructors in/after an Optional Chain are not allowed", + OptionalChainingNoTemplate: "Tagged Template Literals are not allowed in optionalChain", + ParamDupe: "Argument name clash", + PatternHasAccessor: "Object pattern can't contain getter or setter", + PatternHasMethod: "Object pattern can't contain methods", + PipelineBodyNoArrow: 'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized', + PipelineBodySequenceExpression: "Pipeline body may not be a comma-separated sequence expression", + PipelineHeadSequenceExpression: "Pipeline head should not be a comma-separated sequence expression", + PipelineTopicUnused: "Pipeline is in topic style but does not use topic reference", + PrimaryTopicNotAllowed: "Topic reference was used in a lexical context without topic binding", + PrimaryTopicRequiresSmartPipeline: "Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.", + PrivateInExpectedIn: "Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`)", + PrivateNameRedeclaration: "Duplicate private name #%0", + RecordExpressionBarIncorrectEndSyntaxType: "Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'", + RecordExpressionBarIncorrectStartSyntaxType: "Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'", + RecordExpressionHashIncorrectStartSyntaxType: "Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'", + RecordNoProto: "'__proto__' is not allowed in Record expressions", + RestTrailingComma: "Unexpected trailing comma after rest element", + SloppyFunction: "In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement", + StaticPrototype: "Classes may not have static property named prototype", + StrictDelete: "Deleting local variable in strict mode", + StrictEvalArguments: "Assigning to '%0' in strict mode", + StrictEvalArgumentsBinding: "Binding '%0' in strict mode", + StrictFunction: "In strict mode code, functions can only be declared at top level or inside a block", + StrictNumericEscape: "The only valid numeric escape in strict mode is '\\0'", + StrictOctalLiteral: "Legacy octal literals are not allowed in strict mode", + StrictWith: "'with' in strict mode", + SuperNotAllowed: "super() is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?", + SuperPrivateField: "Private fields can't be accessed on super", + TrailingDecorator: "Decorators must be attached to a class element", + TupleExpressionBarIncorrectEndSyntaxType: "Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'", + TupleExpressionBarIncorrectStartSyntaxType: "Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'", + TupleExpressionHashIncorrectStartSyntaxType: "Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'", + UnexpectedArgumentPlaceholder: "Unexpected argument placeholder", + UnexpectedAwaitAfterPipelineBody: 'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal', + UnexpectedDigitAfterHash: "Unexpected digit after hash token", + UnexpectedImportExport: "'import' and 'export' may only appear at the top level", + UnexpectedKeyword: "Unexpected keyword '%0'", + UnexpectedLeadingDecorator: "Leading decorators must be attached to a class declaration", + UnexpectedLexicalDeclaration: "Lexical declaration cannot appear in a single-statement context", + UnexpectedNewTarget: "new.target can only be used in functions", + UnexpectedNumericSeparator: "A numeric separator is only allowed between two digits", + UnexpectedPrivateField: "Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).", + UnexpectedReservedWord: "Unexpected reserved word '%0'", + UnexpectedSuper: "super is only allowed in object methods and classes", + UnexpectedToken: "Unexpected token '%0'", + UnexpectedTokenUnaryExponentiation: "Illegal expression. Wrap left hand side or entire exponentiation in parentheses.", + UnsupportedBind: "Binding should be performed on object property.", + UnsupportedDecoratorExport: "A decorated export must export a class declaration", + UnsupportedDefaultExport: "Only expressions, functions or classes are allowed as the `default` export.", + UnsupportedImport: "import can only be used in import() or import.meta", + UnsupportedMetaProperty: "The only valid meta property for %0 is %0.%1", + UnsupportedParameterDecorator: "Decorators cannot be used to decorate parameters", + UnsupportedPropertyDecorator: "Decorators cannot be used to decorate object literal properties", + UnsupportedSuper: "super can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])", + UnterminatedComment: "Unterminated comment", + UnterminatedRegExp: "Unterminated regular expression", + UnterminatedString: "Unterminated string constant", + UnterminatedTemplate: "Unterminated template", + VarRedeclaration: "Identifier '%0' has already been declared", + YieldBindingIdentifier: "Can not use 'yield' as identifier inside a generator", + YieldInParameter: "yield is not allowed in generator parameters", + ZeroDigitNumericSeparator: "Numeric separator can not be used after leading 0" +}); + +class ParserError extends CommentsParser { + getLocationForPosition(pos) { + let loc; + if (pos === this.state.start) loc = this.state.startLoc;else if (pos === this.state.lastTokStart) loc = this.state.lastTokStartLoc;else if (pos === this.state.end) loc = this.state.endLoc;else if (pos === this.state.lastTokEnd) loc = this.state.lastTokEndLoc;else loc = getLineInfo(this.input, pos); + return loc; + } + + raise(pos, errorTemplate, ...params) { + return this.raiseWithData(pos, undefined, errorTemplate, ...params); + } + + raiseWithData(pos, data, errorTemplate, ...params) { + const loc = this.getLocationForPosition(pos); + const message = errorTemplate.replace(/%(\d+)/g, (_, i) => params[i]) + ` (${loc.line}:${loc.column})`; + return this._raise(Object.assign({ + loc, + pos + }, data), message); + } + + _raise(errorContext, message) { + const err = new SyntaxError(message); + Object.assign(err, errorContext); + + if (this.options.errorRecovery) { + if (!this.isLookahead) this.state.errors.push(err); + return err; + } else { + throw err; + } + } + +} + +function isSimpleProperty(node) { + return node != null && node.type === "Property" && node.kind === "init" && node.method === false; +} + +var estree = (superClass => class extends superClass { + estreeParseRegExpLiteral({ + pattern, + flags + }) { + let regex = null; + + try { + regex = new RegExp(pattern, flags); + } catch (e) {} + + const node = this.estreeParseLiteral(regex); + node.regex = { + pattern, + flags + }; + return node; + } + + estreeParseBigIntLiteral(value) { + const bigInt = typeof BigInt !== "undefined" ? BigInt(value) : null; + const node = this.estreeParseLiteral(bigInt); + node.bigint = String(node.value || value); + return node; + } + + estreeParseDecimalLiteral(value) { + const decimal = null; + const node = this.estreeParseLiteral(decimal); + node.decimal = String(node.value || value); + return node; + } + + estreeParseLiteral(value) { + return this.parseLiteral(value, "Literal"); + } + + directiveToStmt(directive) { + const directiveLiteral = directive.value; + const stmt = this.startNodeAt(directive.start, directive.loc.start); + const expression = this.startNodeAt(directiveLiteral.start, directiveLiteral.loc.start); + expression.value = directiveLiteral.value; + expression.raw = directiveLiteral.extra.raw; + stmt.expression = this.finishNodeAt(expression, "Literal", directiveLiteral.end, directiveLiteral.loc.end); + stmt.directive = directiveLiteral.extra.raw.slice(1, -1); + return this.finishNodeAt(stmt, "ExpressionStatement", directive.end, directive.loc.end); + } + + initFunction(node, isAsync) { + super.initFunction(node, isAsync); + node.expression = false; + } + + checkDeclaration(node) { + if (isSimpleProperty(node)) { + this.checkDeclaration(node.value); + } else { + super.checkDeclaration(node); + } + } + + checkGetterSetterParams(method) { + const prop = method; + const paramCount = prop.kind === "get" ? 0 : 1; + const start = prop.start; + + if (prop.value.params.length !== paramCount) { + if (method.kind === "get") { + this.raise(start, ErrorMessages.BadGetterArity); + } else { + this.raise(start, ErrorMessages.BadSetterArity); + } + } else if (prop.kind === "set" && prop.value.params[0].type === "RestElement") { + this.raise(start, ErrorMessages.BadSetterRestParameter); + } + } + + checkLVal(expr, bindingType = BIND_NONE, checkClashes, contextDescription, disallowLetBinding) { + switch (expr.type) { + case "ObjectPattern": + expr.properties.forEach(prop => { + this.checkLVal(prop.type === "Property" ? prop.value : prop, bindingType, checkClashes, "object destructuring pattern", disallowLetBinding); + }); + break; + + default: + super.checkLVal(expr, bindingType, checkClashes, contextDescription, disallowLetBinding); + } + } + + checkProto(prop, isRecord, protoRef, refExpressionErrors) { + if (prop.method) { + return; + } + + super.checkProto(prop, isRecord, protoRef, refExpressionErrors); + } + + isValidDirective(stmt) { + var _stmt$expression$extr; + + return stmt.type === "ExpressionStatement" && stmt.expression.type === "Literal" && typeof stmt.expression.value === "string" && !((_stmt$expression$extr = stmt.expression.extra) == null ? void 0 : _stmt$expression$extr.parenthesized); + } + + stmtToDirective(stmt) { + const directive = super.stmtToDirective(stmt); + const value = stmt.expression.value; + directive.value.value = value; + return directive; + } + + parseBlockBody(node, allowDirectives, topLevel, end) { + super.parseBlockBody(node, allowDirectives, topLevel, end); + const directiveStatements = node.directives.map(d => this.directiveToStmt(d)); + node.body = directiveStatements.concat(node.body); + delete node.directives; + } + + pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper) { + this.parseMethod(method, isGenerator, isAsync, isConstructor, allowsDirectSuper, "ClassMethod", true); + + if (method.typeParameters) { + method.value.typeParameters = method.typeParameters; + delete method.typeParameters; + } + + classBody.body.push(method); + } + + parseExprAtom(refExpressionErrors) { + switch (this.state.type) { + case types.num: + case types.string: + return this.estreeParseLiteral(this.state.value); + + case types.regexp: + return this.estreeParseRegExpLiteral(this.state.value); + + case types.bigint: + return this.estreeParseBigIntLiteral(this.state.value); + + case types.decimal: + return this.estreeParseDecimalLiteral(this.state.value); + + case types._null: + return this.estreeParseLiteral(null); + + case types._true: + return this.estreeParseLiteral(true); + + case types._false: + return this.estreeParseLiteral(false); + + default: + return super.parseExprAtom(refExpressionErrors); + } + } + + parseLiteral(value, type, startPos, startLoc) { + const node = super.parseLiteral(value, type, startPos, startLoc); + node.raw = node.extra.raw; + delete node.extra; + return node; + } + + parseFunctionBody(node, allowExpression, isMethod = false) { + super.parseFunctionBody(node, allowExpression, isMethod); + node.expression = node.body.type !== "BlockStatement"; + } + + parseMethod(node, isGenerator, isAsync, isConstructor, allowDirectSuper, type, inClassScope = false) { + let funcNode = this.startNode(); + funcNode.kind = node.kind; + funcNode = super.parseMethod(funcNode, isGenerator, isAsync, isConstructor, allowDirectSuper, type, inClassScope); + funcNode.type = "FunctionExpression"; + delete funcNode.kind; + node.value = funcNode; + type = type === "ClassMethod" ? "MethodDefinition" : type; + return this.finishNode(node, type); + } + + parseObjectMethod(prop, isGenerator, isAsync, isPattern, isAccessor) { + const node = super.parseObjectMethod(prop, isGenerator, isAsync, isPattern, isAccessor); + + if (node) { + node.type = "Property"; + if (node.kind === "method") node.kind = "init"; + node.shorthand = false; + } + + return node; + } + + parseObjectProperty(prop, startPos, startLoc, isPattern, refExpressionErrors) { + const node = super.parseObjectProperty(prop, startPos, startLoc, isPattern, refExpressionErrors); + + if (node) { + node.kind = "init"; + node.type = "Property"; + } + + return node; + } + + toAssignable(node) { + if (isSimpleProperty(node)) { + this.toAssignable(node.value); + return node; + } + + return super.toAssignable(node); + } + + toAssignableObjectExpressionProp(prop, isLast) { + if (prop.kind === "get" || prop.kind === "set") { + throw this.raise(prop.key.start, ErrorMessages.PatternHasAccessor); + } else if (prop.method) { + throw this.raise(prop.key.start, ErrorMessages.PatternHasMethod); + } else { + super.toAssignableObjectExpressionProp(prop, isLast); + } + } + + finishCallExpression(node, optional) { + super.finishCallExpression(node, optional); + + if (node.callee.type === "Import") { + node.type = "ImportExpression"; + node.source = node.arguments[0]; + delete node.arguments; + delete node.callee; + } + + return node; + } + + toReferencedListDeep(exprList, isParenthesizedExpr) { + if (!exprList) { + return; + } + + super.toReferencedListDeep(exprList, isParenthesizedExpr); + } + + parseExport(node) { + super.parseExport(node); + + switch (node.type) { + case "ExportAllDeclaration": + node.exported = null; + break; + + case "ExportNamedDeclaration": + if (node.specifiers.length === 1 && node.specifiers[0].type === "ExportNamespaceSpecifier") { + node.type = "ExportAllDeclaration"; + node.exported = node.specifiers[0].exported; + delete node.specifiers; + } + + break; + } + + return node; + } + + parseSubscript(base, startPos, startLoc, noCalls, state) { + const node = super.parseSubscript(base, startPos, startLoc, noCalls, state); + + if (state.optionalChainMember) { + if (node.type === "OptionalMemberExpression" || node.type === "OptionalCallExpression") { + node.type = node.type.substring(8); + } + + if (state.stop) { + const chain = this.startNodeAtNode(node); + chain.expression = node; + return this.finishNode(chain, "ChainExpression"); + } + } else if (node.type === "MemberExpression" || node.type === "CallExpression") { + node.optional = false; + } + + return node; + } + +}); + +class TokContext { + constructor(token, isExpr, preserveSpace, override) { + this.token = token; + this.isExpr = !!isExpr; + this.preserveSpace = !!preserveSpace; + this.override = override; + } + +} +const types$1 = { + braceStatement: new TokContext("{", false), + braceExpression: new TokContext("{", true), + recordExpression: new TokContext("#{", true), + templateQuasi: new TokContext("${", false), + parenStatement: new TokContext("(", false), + parenExpression: new TokContext("(", true), + template: new TokContext("`", true, true, p => p.readTmplToken()), + functionExpression: new TokContext("function", true), + functionStatement: new TokContext("function", false) +}; + +types.parenR.updateContext = types.braceR.updateContext = function () { + if (this.state.context.length === 1) { + this.state.exprAllowed = true; + return; + } + + let out = this.state.context.pop(); + + if (out === types$1.braceStatement && this.curContext().token === "function") { + out = this.state.context.pop(); + } + + this.state.exprAllowed = !out.isExpr; +}; + +types.name.updateContext = function (prevType) { + let allowed = false; + + if (prevType !== types.dot) { + if (this.state.value === "of" && !this.state.exprAllowed && prevType !== types._function && prevType !== types._class || this.state.value === "yield" && this.prodParam.hasYield) { + allowed = true; + } + } + + this.state.exprAllowed = allowed; + + if (this.state.isIterator) { + this.state.isIterator = false; + } +}; + +types.braceL.updateContext = function (prevType) { + this.state.context.push(this.braceIsBlock(prevType) ? types$1.braceStatement : types$1.braceExpression); + this.state.exprAllowed = true; +}; + +types.dollarBraceL.updateContext = function () { + this.state.context.push(types$1.templateQuasi); + this.state.exprAllowed = true; +}; + +types.parenL.updateContext = function (prevType) { + const statementParens = prevType === types._if || prevType === types._for || prevType === types._with || prevType === types._while; + this.state.context.push(statementParens ? types$1.parenStatement : types$1.parenExpression); + this.state.exprAllowed = true; +}; + +types.incDec.updateContext = function () {}; + +types._function.updateContext = types._class.updateContext = function (prevType) { + if (prevType.beforeExpr && prevType !== types.semi && prevType !== types._else && !(prevType === types._return && this.hasPrecedingLineBreak()) && !((prevType === types.colon || prevType === types.braceL) && this.curContext() === types$1.b_stat)) { + this.state.context.push(types$1.functionExpression); + } else { + this.state.context.push(types$1.functionStatement); + } + + this.state.exprAllowed = false; +}; + +types.backQuote.updateContext = function () { + if (this.curContext() === types$1.template) { + this.state.context.pop(); + } else { + this.state.context.push(types$1.template); + } + + this.state.exprAllowed = false; +}; + +types.braceHashL.updateContext = function () { + this.state.context.push(types$1.recordExpression); + this.state.exprAllowed = true; +}; + +let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"; +let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f"; +const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); +const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); +nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; +const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938]; +const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; + +function isInAstralSet(code, set) { + let pos = 0x10000; + + for (let i = 0, length = set.length; i < length; i += 2) { + pos += set[i]; + if (pos > code) return false; + pos += set[i + 1]; + if (pos >= code) return true; + } + + return false; +} + +function isIdentifierStart(code) { + if (code < 65) return code === 36; + if (code <= 90) return true; + if (code < 97) return code === 95; + if (code <= 122) return true; + + if (code <= 0xffff) { + return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code)); + } + + return isInAstralSet(code, astralIdentifierStartCodes); +} +function isIdentifierChar(code) { + if (code < 48) return code === 36; + if (code < 58) return true; + if (code < 65) return false; + if (code <= 90) return true; + if (code < 97) return code === 95; + if (code <= 122) return true; + + if (code <= 0xffff) { + return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code)); + } + + return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes); +} + +const reservedWords = { + keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"], + strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"], + strictBind: ["eval", "arguments"] +}; +const keywords$1 = new Set(reservedWords.keyword); +const reservedWordsStrictSet = new Set(reservedWords.strict); +const reservedWordsStrictBindSet = new Set(reservedWords.strictBind); +function isReservedWord(word, inModule) { + return inModule && word === "await" || word === "enum"; +} +function isStrictReservedWord(word, inModule) { + return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word); +} +function isStrictBindOnlyReservedWord(word) { + return reservedWordsStrictBindSet.has(word); +} +function isStrictBindReservedWord(word, inModule) { + return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word); +} +function isKeyword(word) { + return keywords$1.has(word); +} + +const keywordRelationalOperator = /^in(stanceof)?$/; +function isIteratorStart(current, next) { + return current === 64 && next === 64; +} + +const reservedTypes = new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]); +const FlowErrors = Object.freeze({ + AmbiguousConditionalArrow: "Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.", + AmbiguousDeclareModuleKind: "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module", + AssignReservedType: "Cannot overwrite reserved type %0", + DeclareClassElement: "The `declare` modifier can only appear on class fields.", + DeclareClassFieldInitializer: "Initializers are not allowed in fields with the `declare` modifier.", + DuplicateDeclareModuleExports: "Duplicate `declare module.exports` statement", + EnumBooleanMemberNotInitialized: "Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.", + EnumDuplicateMemberName: "Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.", + EnumInconsistentMemberValues: "Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.", + EnumInvalidExplicitType: "Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.", + EnumInvalidExplicitTypeUnknownSupplied: "Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.", + EnumInvalidMemberInitializerPrimaryType: "Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.", + EnumInvalidMemberInitializerSymbolType: "Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.", + EnumInvalidMemberInitializerUnknownType: "The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.", + EnumInvalidMemberName: "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.", + EnumNumberMemberNotInitialized: "Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.", + EnumStringMemberInconsistentlyInitailized: "String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.", + ImportTypeShorthandOnlyInPureImport: "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements", + InexactInsideExact: "Explicit inexact syntax cannot appear inside an explicit exact object type", + InexactInsideNonObject: "Explicit inexact syntax cannot appear in class or interface definitions", + InexactVariance: "Explicit inexact syntax cannot have variance", + InvalidNonTypeImportInDeclareModule: "Imports within a `declare module` body must always be `import type` or `import typeof`", + MissingTypeParamDefault: "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.", + NestedDeclareModule: "`declare module` cannot be used inside another `declare module`", + NestedFlowComment: "Cannot have a flow comment inside another flow comment", + OptionalBindingPattern: "A binding pattern parameter cannot be optional in an implementation signature.", + SpreadVariance: "Spread properties cannot have variance", + TypeBeforeInitializer: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`", + TypeCastInPattern: "The type cast expression is expected to be wrapped with parenthesis", + UnexpectedExplicitInexactInObject: "Explicit inexact syntax must appear at the end of an inexact object", + UnexpectedReservedType: "Unexpected reserved type %0", + UnexpectedReservedUnderscore: "`_` is only allowed as a type argument to call or new", + UnexpectedSpaceBetweenModuloChecks: "Spaces between `%` and `checks` are not allowed here.", + UnexpectedSpreadType: "Spread operator cannot appear in class or interface definitions", + UnexpectedSubtractionOperand: 'Unexpected token, expected "number" or "bigint"', + UnexpectedTokenAfterTypeParameter: "Expected an arrow function after this type parameter declaration", + UnexpectedTypeParameterBeforeAsyncArrowFunction: "Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`", + UnsupportedDeclareExportKind: "`declare export %0` is not supported. Use `%1` instead", + UnsupportedStatementInDeclareModule: "Only declares and type imports are allowed inside declare module", + UnterminatedFlowComment: "Unterminated flow-comment" +}); + +function isEsModuleType(bodyElement) { + return bodyElement.type === "DeclareExportAllDeclaration" || bodyElement.type === "DeclareExportDeclaration" && (!bodyElement.declaration || bodyElement.declaration.type !== "TypeAlias" && bodyElement.declaration.type !== "InterfaceDeclaration"); +} + +function hasTypeImportKind(node) { + return node.importKind === "type" || node.importKind === "typeof"; +} + +function isMaybeDefaultImport(state) { + return (state.type === types.name || !!state.type.keyword) && state.value !== "from"; +} + +const exportSuggestions = { + const: "declare export var", + let: "declare export var", + type: "export type", + interface: "export interface" +}; + +function partition(list, test) { + const list1 = []; + const list2 = []; + + for (let i = 0; i < list.length; i++) { + (test(list[i], i, list) ? list1 : list2).push(list[i]); + } + + return [list1, list2]; +} + +const FLOW_PRAGMA_REGEX = /\*?\s*@((?:no)?flow)\b/; +var flow = (superClass => class extends superClass { + constructor(options, input) { + super(options, input); + this.flowPragma = undefined; + } + + shouldParseTypes() { + return this.getPluginOption("flow", "all") || this.flowPragma === "flow"; + } + + shouldParseEnums() { + return !!this.getPluginOption("flow", "enums"); + } + + finishToken(type, val) { + if (type !== types.string && type !== types.semi && type !== types.interpreterDirective) { + if (this.flowPragma === undefined) { + this.flowPragma = null; + } + } + + return super.finishToken(type, val); + } + + addComment(comment) { + if (this.flowPragma === undefined) { + const matches = FLOW_PRAGMA_REGEX.exec(comment.value); + + if (!matches) ; else if (matches[1] === "flow") { + this.flowPragma = "flow"; + } else if (matches[1] === "noflow") { + this.flowPragma = "noflow"; + } else { + throw new Error("Unexpected flow pragma"); + } + } + + return super.addComment(comment); + } + + flowParseTypeInitialiser(tok) { + const oldInType = this.state.inType; + this.state.inType = true; + this.expect(tok || types.colon); + const type = this.flowParseType(); + this.state.inType = oldInType; + return type; + } + + flowParsePredicate() { + const node = this.startNode(); + const moduloLoc = this.state.startLoc; + const moduloPos = this.state.start; + this.expect(types.modulo); + const checksLoc = this.state.startLoc; + this.expectContextual("checks"); + + if (moduloLoc.line !== checksLoc.line || moduloLoc.column !== checksLoc.column - 1) { + this.raise(moduloPos, FlowErrors.UnexpectedSpaceBetweenModuloChecks); + } + + if (this.eat(types.parenL)) { + node.value = this.parseExpression(); + this.expect(types.parenR); + return this.finishNode(node, "DeclaredPredicate"); + } else { + return this.finishNode(node, "InferredPredicate"); + } + } + + flowParseTypeAndPredicateInitialiser() { + const oldInType = this.state.inType; + this.state.inType = true; + this.expect(types.colon); + let type = null; + let predicate = null; + + if (this.match(types.modulo)) { + this.state.inType = oldInType; + predicate = this.flowParsePredicate(); + } else { + type = this.flowParseType(); + this.state.inType = oldInType; + + if (this.match(types.modulo)) { + predicate = this.flowParsePredicate(); + } + } + + return [type, predicate]; + } + + flowParseDeclareClass(node) { + this.next(); + this.flowParseInterfaceish(node, true); + return this.finishNode(node, "DeclareClass"); + } + + flowParseDeclareFunction(node) { + this.next(); + const id = node.id = this.parseIdentifier(); + const typeNode = this.startNode(); + const typeContainer = this.startNode(); + + if (this.isRelational("<")) { + typeNode.typeParameters = this.flowParseTypeParameterDeclaration(); + } else { + typeNode.typeParameters = null; + } + + this.expect(types.parenL); + const tmp = this.flowParseFunctionTypeParams(); + typeNode.params = tmp.params; + typeNode.rest = tmp.rest; + this.expect(types.parenR); + [typeNode.returnType, node.predicate] = this.flowParseTypeAndPredicateInitialiser(); + typeContainer.typeAnnotation = this.finishNode(typeNode, "FunctionTypeAnnotation"); + id.typeAnnotation = this.finishNode(typeContainer, "TypeAnnotation"); + this.resetEndLocation(id); + this.semicolon(); + return this.finishNode(node, "DeclareFunction"); + } + + flowParseDeclare(node, insideModule) { + if (this.match(types._class)) { + return this.flowParseDeclareClass(node); + } else if (this.match(types._function)) { + return this.flowParseDeclareFunction(node); + } else if (this.match(types._var)) { + return this.flowParseDeclareVariable(node); + } else if (this.eatContextual("module")) { + if (this.match(types.dot)) { + return this.flowParseDeclareModuleExports(node); + } else { + if (insideModule) { + this.raise(this.state.lastTokStart, FlowErrors.NestedDeclareModule); + } + + return this.flowParseDeclareModule(node); + } + } else if (this.isContextual("type")) { + return this.flowParseDeclareTypeAlias(node); + } else if (this.isContextual("opaque")) { + return this.flowParseDeclareOpaqueType(node); + } else if (this.isContextual("interface")) { + return this.flowParseDeclareInterface(node); + } else if (this.match(types._export)) { + return this.flowParseDeclareExportDeclaration(node, insideModule); + } else { + throw this.unexpected(); + } + } + + flowParseDeclareVariable(node) { + this.next(); + node.id = this.flowParseTypeAnnotatableIdentifier(true); + this.scope.declareName(node.id.name, BIND_VAR, node.id.start); + this.semicolon(); + return this.finishNode(node, "DeclareVariable"); + } + + flowParseDeclareModule(node) { + this.scope.enter(SCOPE_OTHER); + + if (this.match(types.string)) { + node.id = this.parseExprAtom(); + } else { + node.id = this.parseIdentifier(); + } + + const bodyNode = node.body = this.startNode(); + const body = bodyNode.body = []; + this.expect(types.braceL); + + while (!this.match(types.braceR)) { + let bodyNode = this.startNode(); + + if (this.match(types._import)) { + this.next(); + + if (!this.isContextual("type") && !this.match(types._typeof)) { + this.raise(this.state.lastTokStart, FlowErrors.InvalidNonTypeImportInDeclareModule); + } + + this.parseImport(bodyNode); + } else { + this.expectContextual("declare", FlowErrors.UnsupportedStatementInDeclareModule); + bodyNode = this.flowParseDeclare(bodyNode, true); + } + + body.push(bodyNode); + } + + this.scope.exit(); + this.expect(types.braceR); + this.finishNode(bodyNode, "BlockStatement"); + let kind = null; + let hasModuleExport = false; + body.forEach(bodyElement => { + if (isEsModuleType(bodyElement)) { + if (kind === "CommonJS") { + this.raise(bodyElement.start, FlowErrors.AmbiguousDeclareModuleKind); + } + + kind = "ES"; + } else if (bodyElement.type === "DeclareModuleExports") { + if (hasModuleExport) { + this.raise(bodyElement.start, FlowErrors.DuplicateDeclareModuleExports); + } + + if (kind === "ES") { + this.raise(bodyElement.start, FlowErrors.AmbiguousDeclareModuleKind); + } + + kind = "CommonJS"; + hasModuleExport = true; + } + }); + node.kind = kind || "CommonJS"; + return this.finishNode(node, "DeclareModule"); + } + + flowParseDeclareExportDeclaration(node, insideModule) { + this.expect(types._export); + + if (this.eat(types._default)) { + if (this.match(types._function) || this.match(types._class)) { + node.declaration = this.flowParseDeclare(this.startNode()); + } else { + node.declaration = this.flowParseType(); + this.semicolon(); + } + + node.default = true; + return this.finishNode(node, "DeclareExportDeclaration"); + } else { + if (this.match(types._const) || this.isLet() || (this.isContextual("type") || this.isContextual("interface")) && !insideModule) { + const label = this.state.value; + const suggestion = exportSuggestions[label]; + throw this.raise(this.state.start, FlowErrors.UnsupportedDeclareExportKind, label, suggestion); + } + + if (this.match(types._var) || this.match(types._function) || this.match(types._class) || this.isContextual("opaque")) { + node.declaration = this.flowParseDeclare(this.startNode()); + node.default = false; + return this.finishNode(node, "DeclareExportDeclaration"); + } else if (this.match(types.star) || this.match(types.braceL) || this.isContextual("interface") || this.isContextual("type") || this.isContextual("opaque")) { + node = this.parseExport(node); + + if (node.type === "ExportNamedDeclaration") { + node.type = "ExportDeclaration"; + node.default = false; + delete node.exportKind; + } + + node.type = "Declare" + node.type; + return node; + } + } + + throw this.unexpected(); + } + + flowParseDeclareModuleExports(node) { + this.next(); + this.expectContextual("exports"); + node.typeAnnotation = this.flowParseTypeAnnotation(); + this.semicolon(); + return this.finishNode(node, "DeclareModuleExports"); + } + + flowParseDeclareTypeAlias(node) { + this.next(); + this.flowParseTypeAlias(node); + node.type = "DeclareTypeAlias"; + return node; + } + + flowParseDeclareOpaqueType(node) { + this.next(); + this.flowParseOpaqueType(node, true); + node.type = "DeclareOpaqueType"; + return node; + } + + flowParseDeclareInterface(node) { + this.next(); + this.flowParseInterfaceish(node); + return this.finishNode(node, "DeclareInterface"); + } + + flowParseInterfaceish(node, isClass = false) { + node.id = this.flowParseRestrictedIdentifier(!isClass, true); + this.scope.declareName(node.id.name, isClass ? BIND_FUNCTION : BIND_LEXICAL, node.id.start); + + if (this.isRelational("<")) { + node.typeParameters = this.flowParseTypeParameterDeclaration(); + } else { + node.typeParameters = null; + } + + node.extends = []; + node.implements = []; + node.mixins = []; + + if (this.eat(types._extends)) { + do { + node.extends.push(this.flowParseInterfaceExtends()); + } while (!isClass && this.eat(types.comma)); + } + + if (this.isContextual("mixins")) { + this.next(); + + do { + node.mixins.push(this.flowParseInterfaceExtends()); + } while (this.eat(types.comma)); + } + + if (this.isContextual("implements")) { + this.next(); + + do { + node.implements.push(this.flowParseInterfaceExtends()); + } while (this.eat(types.comma)); + } + + node.body = this.flowParseObjectType({ + allowStatic: isClass, + allowExact: false, + allowSpread: false, + allowProto: isClass, + allowInexact: false + }); + } + + flowParseInterfaceExtends() { + const node = this.startNode(); + node.id = this.flowParseQualifiedTypeIdentifier(); + + if (this.isRelational("<")) { + node.typeParameters = this.flowParseTypeParameterInstantiation(); + } else { + node.typeParameters = null; + } + + return this.finishNode(node, "InterfaceExtends"); + } + + flowParseInterface(node) { + this.flowParseInterfaceish(node); + return this.finishNode(node, "InterfaceDeclaration"); + } + + checkNotUnderscore(word) { + if (word === "_") { + this.raise(this.state.start, FlowErrors.UnexpectedReservedUnderscore); + } + } + + checkReservedType(word, startLoc, declaration) { + if (!reservedTypes.has(word)) return; + this.raise(startLoc, declaration ? FlowErrors.AssignReservedType : FlowErrors.UnexpectedReservedType, word); + } + + flowParseRestrictedIdentifier(liberal, declaration) { + this.checkReservedType(this.state.value, this.state.start, declaration); + return this.parseIdentifier(liberal); + } + + flowParseTypeAlias(node) { + node.id = this.flowParseRestrictedIdentifier(false, true); + this.scope.declareName(node.id.name, BIND_LEXICAL, node.id.start); + + if (this.isRelational("<")) { + node.typeParameters = this.flowParseTypeParameterDeclaration(); + } else { + node.typeParameters = null; + } + + node.right = this.flowParseTypeInitialiser(types.eq); + this.semicolon(); + return this.finishNode(node, "TypeAlias"); + } + + flowParseOpaqueType(node, declare) { + this.expectContextual("type"); + node.id = this.flowParseRestrictedIdentifier(true, true); + this.scope.declareName(node.id.name, BIND_LEXICAL, node.id.start); + + if (this.isRelational("<")) { + node.typeParameters = this.flowParseTypeParameterDeclaration(); + } else { + node.typeParameters = null; + } + + node.supertype = null; + + if (this.match(types.colon)) { + node.supertype = this.flowParseTypeInitialiser(types.colon); + } + + node.impltype = null; + + if (!declare) { + node.impltype = this.flowParseTypeInitialiser(types.eq); + } + + this.semicolon(); + return this.finishNode(node, "OpaqueType"); + } + + flowParseTypeParameter(requireDefault = false) { + const nodeStart = this.state.start; + const node = this.startNode(); + const variance = this.flowParseVariance(); + const ident = this.flowParseTypeAnnotatableIdentifier(); + node.name = ident.name; + node.variance = variance; + node.bound = ident.typeAnnotation; + + if (this.match(types.eq)) { + this.eat(types.eq); + node.default = this.flowParseType(); + } else { + if (requireDefault) { + this.raise(nodeStart, FlowErrors.MissingTypeParamDefault); + } + } + + return this.finishNode(node, "TypeParameter"); + } + + flowParseTypeParameterDeclaration() { + const oldInType = this.state.inType; + const node = this.startNode(); + node.params = []; + this.state.inType = true; + + if (this.isRelational("<") || this.match(types.jsxTagStart)) { + this.next(); + } else { + this.unexpected(); + } + + let defaultRequired = false; + + do { + const typeParameter = this.flowParseTypeParameter(defaultRequired); + node.params.push(typeParameter); + + if (typeParameter.default) { + defaultRequired = true; + } + + if (!this.isRelational(">")) { + this.expect(types.comma); + } + } while (!this.isRelational(">")); + + this.expectRelational(">"); + this.state.inType = oldInType; + return this.finishNode(node, "TypeParameterDeclaration"); + } + + flowParseTypeParameterInstantiation() { + const node = this.startNode(); + const oldInType = this.state.inType; + node.params = []; + this.state.inType = true; + this.expectRelational("<"); + const oldNoAnonFunctionType = this.state.noAnonFunctionType; + this.state.noAnonFunctionType = false; + + while (!this.isRelational(">")) { + node.params.push(this.flowParseType()); + + if (!this.isRelational(">")) { + this.expect(types.comma); + } + } + + this.state.noAnonFunctionType = oldNoAnonFunctionType; + this.expectRelational(">"); + this.state.inType = oldInType; + return this.finishNode(node, "TypeParameterInstantiation"); + } + + flowParseTypeParameterInstantiationCallOrNew() { + const node = this.startNode(); + const oldInType = this.state.inType; + node.params = []; + this.state.inType = true; + this.expectRelational("<"); + + while (!this.isRelational(">")) { + node.params.push(this.flowParseTypeOrImplicitInstantiation()); + + if (!this.isRelational(">")) { + this.expect(types.comma); + } + } + + this.expectRelational(">"); + this.state.inType = oldInType; + return this.finishNode(node, "TypeParameterInstantiation"); + } + + flowParseInterfaceType() { + const node = this.startNode(); + this.expectContextual("interface"); + node.extends = []; + + if (this.eat(types._extends)) { + do { + node.extends.push(this.flowParseInterfaceExtends()); + } while (this.eat(types.comma)); + } + + node.body = this.flowParseObjectType({ + allowStatic: false, + allowExact: false, + allowSpread: false, + allowProto: false, + allowInexact: false + }); + return this.finishNode(node, "InterfaceTypeAnnotation"); + } + + flowParseObjectPropertyKey() { + return this.match(types.num) || this.match(types.string) ? this.parseExprAtom() : this.parseIdentifier(true); + } + + flowParseObjectTypeIndexer(node, isStatic, variance) { + node.static = isStatic; + + if (this.lookahead().type === types.colon) { + node.id = this.flowParseObjectPropertyKey(); + node.key = this.flowParseTypeInitialiser(); + } else { + node.id = null; + node.key = this.flowParseType(); + } + + this.expect(types.bracketR); + node.value = this.flowParseTypeInitialiser(); + node.variance = variance; + return this.finishNode(node, "ObjectTypeIndexer"); + } + + flowParseObjectTypeInternalSlot(node, isStatic) { + node.static = isStatic; + node.id = this.flowParseObjectPropertyKey(); + this.expect(types.bracketR); + this.expect(types.bracketR); + + if (this.isRelational("<") || this.match(types.parenL)) { + node.method = true; + node.optional = false; + node.value = this.flowParseObjectTypeMethodish(this.startNodeAt(node.start, node.loc.start)); + } else { + node.method = false; + + if (this.eat(types.question)) { + node.optional = true; + } + + node.value = this.flowParseTypeInitialiser(); + } + + return this.finishNode(node, "ObjectTypeInternalSlot"); + } + + flowParseObjectTypeMethodish(node) { + node.params = []; + node.rest = null; + node.typeParameters = null; + + if (this.isRelational("<")) { + node.typeParameters = this.flowParseTypeParameterDeclaration(); + } + + this.expect(types.parenL); + + while (!this.match(types.parenR) && !this.match(types.ellipsis)) { + node.params.push(this.flowParseFunctionTypeParam()); + + if (!this.match(types.parenR)) { + this.expect(types.comma); + } + } + + if (this.eat(types.ellipsis)) { + node.rest = this.flowParseFunctionTypeParam(); + } + + this.expect(types.parenR); + node.returnType = this.flowParseTypeInitialiser(); + return this.finishNode(node, "FunctionTypeAnnotation"); + } + + flowParseObjectTypeCallProperty(node, isStatic) { + const valueNode = this.startNode(); + node.static = isStatic; + node.value = this.flowParseObjectTypeMethodish(valueNode); + return this.finishNode(node, "ObjectTypeCallProperty"); + } + + flowParseObjectType({ + allowStatic, + allowExact, + allowSpread, + allowProto, + allowInexact + }) { + const oldInType = this.state.inType; + this.state.inType = true; + const nodeStart = this.startNode(); + nodeStart.callProperties = []; + nodeStart.properties = []; + nodeStart.indexers = []; + nodeStart.internalSlots = []; + let endDelim; + let exact; + let inexact = false; + + if (allowExact && this.match(types.braceBarL)) { + this.expect(types.braceBarL); + endDelim = types.braceBarR; + exact = true; + } else { + this.expect(types.braceL); + endDelim = types.braceR; + exact = false; + } + + nodeStart.exact = exact; + + while (!this.match(endDelim)) { + let isStatic = false; + let protoStart = null; + let inexactStart = null; + const node = this.startNode(); + + if (allowProto && this.isContextual("proto")) { + const lookahead = this.lookahead(); + + if (lookahead.type !== types.colon && lookahead.type !== types.question) { + this.next(); + protoStart = this.state.start; + allowStatic = false; + } + } + + if (allowStatic && this.isContextual("static")) { + const lookahead = this.lookahead(); + + if (lookahead.type !== types.colon && lookahead.type !== types.question) { + this.next(); + isStatic = true; + } + } + + const variance = this.flowParseVariance(); + + if (this.eat(types.bracketL)) { + if (protoStart != null) { + this.unexpected(protoStart); + } + + if (this.eat(types.bracketL)) { + if (variance) { + this.unexpected(variance.start); + } + + nodeStart.internalSlots.push(this.flowParseObjectTypeInternalSlot(node, isStatic)); + } else { + nodeStart.indexers.push(this.flowParseObjectTypeIndexer(node, isStatic, variance)); + } + } else if (this.match(types.parenL) || this.isRelational("<")) { + if (protoStart != null) { + this.unexpected(protoStart); + } + + if (variance) { + this.unexpected(variance.start); + } + + nodeStart.callProperties.push(this.flowParseObjectTypeCallProperty(node, isStatic)); + } else { + let kind = "init"; + + if (this.isContextual("get") || this.isContextual("set")) { + const lookahead = this.lookahead(); + + if (lookahead.type === types.name || lookahead.type === types.string || lookahead.type === types.num) { + kind = this.state.value; + this.next(); + } + } + + const propOrInexact = this.flowParseObjectTypeProperty(node, isStatic, protoStart, variance, kind, allowSpread, allowInexact != null ? allowInexact : !exact); + + if (propOrInexact === null) { + inexact = true; + inexactStart = this.state.lastTokStart; + } else { + nodeStart.properties.push(propOrInexact); + } + } + + this.flowObjectTypeSemicolon(); + + if (inexactStart && !this.match(types.braceR) && !this.match(types.braceBarR)) { + this.raise(inexactStart, FlowErrors.UnexpectedExplicitInexactInObject); + } + } + + this.expect(endDelim); + + if (allowSpread) { + nodeStart.inexact = inexact; + } + + const out = this.finishNode(nodeStart, "ObjectTypeAnnotation"); + this.state.inType = oldInType; + return out; + } + + flowParseObjectTypeProperty(node, isStatic, protoStart, variance, kind, allowSpread, allowInexact) { + if (this.eat(types.ellipsis)) { + const isInexactToken = this.match(types.comma) || this.match(types.semi) || this.match(types.braceR) || this.match(types.braceBarR); + + if (isInexactToken) { + if (!allowSpread) { + this.raise(this.state.lastTokStart, FlowErrors.InexactInsideNonObject); + } else if (!allowInexact) { + this.raise(this.state.lastTokStart, FlowErrors.InexactInsideExact); + } + + if (variance) { + this.raise(variance.start, FlowErrors.InexactVariance); + } + + return null; + } + + if (!allowSpread) { + this.raise(this.state.lastTokStart, FlowErrors.UnexpectedSpreadType); + } + + if (protoStart != null) { + this.unexpected(protoStart); + } + + if (variance) { + this.raise(variance.start, FlowErrors.SpreadVariance); + } + + node.argument = this.flowParseType(); + return this.finishNode(node, "ObjectTypeSpreadProperty"); + } else { + node.key = this.flowParseObjectPropertyKey(); + node.static = isStatic; + node.proto = protoStart != null; + node.kind = kind; + let optional = false; + + if (this.isRelational("<") || this.match(types.parenL)) { + node.method = true; + + if (protoStart != null) { + this.unexpected(protoStart); + } + + if (variance) { + this.unexpected(variance.start); + } + + node.value = this.flowParseObjectTypeMethodish(this.startNodeAt(node.start, node.loc.start)); + + if (kind === "get" || kind === "set") { + this.flowCheckGetterSetterParams(node); + } + } else { + if (kind !== "init") this.unexpected(); + node.method = false; + + if (this.eat(types.question)) { + optional = true; + } + + node.value = this.flowParseTypeInitialiser(); + node.variance = variance; + } + + node.optional = optional; + return this.finishNode(node, "ObjectTypeProperty"); + } + } + + flowCheckGetterSetterParams(property) { + const paramCount = property.kind === "get" ? 0 : 1; + const start = property.start; + const length = property.value.params.length + (property.value.rest ? 1 : 0); + + if (length !== paramCount) { + if (property.kind === "get") { + this.raise(start, ErrorMessages.BadGetterArity); + } else { + this.raise(start, ErrorMessages.BadSetterArity); + } + } + + if (property.kind === "set" && property.value.rest) { + this.raise(start, ErrorMessages.BadSetterRestParameter); + } + } + + flowObjectTypeSemicolon() { + if (!this.eat(types.semi) && !this.eat(types.comma) && !this.match(types.braceR) && !this.match(types.braceBarR)) { + this.unexpected(); + } + } + + flowParseQualifiedTypeIdentifier(startPos, startLoc, id) { + startPos = startPos || this.state.start; + startLoc = startLoc || this.state.startLoc; + let node = id || this.flowParseRestrictedIdentifier(true); + + while (this.eat(types.dot)) { + const node2 = this.startNodeAt(startPos, startLoc); + node2.qualification = node; + node2.id = this.flowParseRestrictedIdentifier(true); + node = this.finishNode(node2, "QualifiedTypeIdentifier"); + } + + return node; + } + + flowParseGenericType(startPos, startLoc, id) { + const node = this.startNodeAt(startPos, startLoc); + node.typeParameters = null; + node.id = this.flowParseQualifiedTypeIdentifier(startPos, startLoc, id); + + if (this.isRelational("<")) { + node.typeParameters = this.flowParseTypeParameterInstantiation(); + } + + return this.finishNode(node, "GenericTypeAnnotation"); + } + + flowParseTypeofType() { + const node = this.startNode(); + this.expect(types._typeof); + node.argument = this.flowParsePrimaryType(); + return this.finishNode(node, "TypeofTypeAnnotation"); + } + + flowParseTupleType() { + const node = this.startNode(); + node.types = []; + this.expect(types.bracketL); + + while (this.state.pos < this.length && !this.match(types.bracketR)) { + node.types.push(this.flowParseType()); + if (this.match(types.bracketR)) break; + this.expect(types.comma); + } + + this.expect(types.bracketR); + return this.finishNode(node, "TupleTypeAnnotation"); + } + + flowParseFunctionTypeParam() { + let name = null; + let optional = false; + let typeAnnotation = null; + const node = this.startNode(); + const lh = this.lookahead(); + + if (lh.type === types.colon || lh.type === types.question) { + name = this.parseIdentifier(); + + if (this.eat(types.question)) { + optional = true; + } + + typeAnnotation = this.flowParseTypeInitialiser(); + } else { + typeAnnotation = this.flowParseType(); + } + + node.name = name; + node.optional = optional; + node.typeAnnotation = typeAnnotation; + return this.finishNode(node, "FunctionTypeParam"); + } + + reinterpretTypeAsFunctionTypeParam(type) { + const node = this.startNodeAt(type.start, type.loc.start); + node.name = null; + node.optional = false; + node.typeAnnotation = type; + return this.finishNode(node, "FunctionTypeParam"); + } + + flowParseFunctionTypeParams(params = []) { + let rest = null; + + while (!this.match(types.parenR) && !this.match(types.ellipsis)) { + params.push(this.flowParseFunctionTypeParam()); + + if (!this.match(types.parenR)) { + this.expect(types.comma); + } + } + + if (this.eat(types.ellipsis)) { + rest = this.flowParseFunctionTypeParam(); + } + + return { + params, + rest + }; + } + + flowIdentToTypeAnnotation(startPos, startLoc, node, id) { + switch (id.name) { + case "any": + return this.finishNode(node, "AnyTypeAnnotation"); + + case "bool": + case "boolean": + return this.finishNode(node, "BooleanTypeAnnotation"); + + case "mixed": + return this.finishNode(node, "MixedTypeAnnotation"); + + case "empty": + return this.finishNode(node, "EmptyTypeAnnotation"); + + case "number": + return this.finishNode(node, "NumberTypeAnnotation"); + + case "string": + return this.finishNode(node, "StringTypeAnnotation"); + + case "symbol": + return this.finishNode(node, "SymbolTypeAnnotation"); + + default: + this.checkNotUnderscore(id.name); + return this.flowParseGenericType(startPos, startLoc, id); + } + } + + flowParsePrimaryType() { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + const node = this.startNode(); + let tmp; + let type; + let isGroupedType = false; + const oldNoAnonFunctionType = this.state.noAnonFunctionType; + + switch (this.state.type) { + case types.name: + if (this.isContextual("interface")) { + return this.flowParseInterfaceType(); + } + + return this.flowIdentToTypeAnnotation(startPos, startLoc, node, this.parseIdentifier()); + + case types.braceL: + return this.flowParseObjectType({ + allowStatic: false, + allowExact: false, + allowSpread: true, + allowProto: false, + allowInexact: true + }); + + case types.braceBarL: + return this.flowParseObjectType({ + allowStatic: false, + allowExact: true, + allowSpread: true, + allowProto: false, + allowInexact: false + }); + + case types.bracketL: + this.state.noAnonFunctionType = false; + type = this.flowParseTupleType(); + this.state.noAnonFunctionType = oldNoAnonFunctionType; + return type; + + case types.relational: + if (this.state.value === "<") { + node.typeParameters = this.flowParseTypeParameterDeclaration(); + this.expect(types.parenL); + tmp = this.flowParseFunctionTypeParams(); + node.params = tmp.params; + node.rest = tmp.rest; + this.expect(types.parenR); + this.expect(types.arrow); + node.returnType = this.flowParseType(); + return this.finishNode(node, "FunctionTypeAnnotation"); + } + + break; + + case types.parenL: + this.next(); + + if (!this.match(types.parenR) && !this.match(types.ellipsis)) { + if (this.match(types.name)) { + const token = this.lookahead().type; + isGroupedType = token !== types.question && token !== types.colon; + } else { + isGroupedType = true; + } + } + + if (isGroupedType) { + this.state.noAnonFunctionType = false; + type = this.flowParseType(); + this.state.noAnonFunctionType = oldNoAnonFunctionType; + + if (this.state.noAnonFunctionType || !(this.match(types.comma) || this.match(types.parenR) && this.lookahead().type === types.arrow)) { + this.expect(types.parenR); + return type; + } else { + this.eat(types.comma); + } + } + + if (type) { + tmp = this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(type)]); + } else { + tmp = this.flowParseFunctionTypeParams(); + } + + node.params = tmp.params; + node.rest = tmp.rest; + this.expect(types.parenR); + this.expect(types.arrow); + node.returnType = this.flowParseType(); + node.typeParameters = null; + return this.finishNode(node, "FunctionTypeAnnotation"); + + case types.string: + return this.parseLiteral(this.state.value, "StringLiteralTypeAnnotation"); + + case types._true: + case types._false: + node.value = this.match(types._true); + this.next(); + return this.finishNode(node, "BooleanLiteralTypeAnnotation"); + + case types.plusMin: + if (this.state.value === "-") { + this.next(); + + if (this.match(types.num)) { + return this.parseLiteral(-this.state.value, "NumberLiteralTypeAnnotation", node.start, node.loc.start); + } + + if (this.match(types.bigint)) { + return this.parseLiteral(-this.state.value, "BigIntLiteralTypeAnnotation", node.start, node.loc.start); + } + + throw this.raise(this.state.start, FlowErrors.UnexpectedSubtractionOperand); + } + + throw this.unexpected(); + + case types.num: + return this.parseLiteral(this.state.value, "NumberLiteralTypeAnnotation"); + + case types.bigint: + return this.parseLiteral(this.state.value, "BigIntLiteralTypeAnnotation"); + + case types._void: + this.next(); + return this.finishNode(node, "VoidTypeAnnotation"); + + case types._null: + this.next(); + return this.finishNode(node, "NullLiteralTypeAnnotation"); + + case types._this: + this.next(); + return this.finishNode(node, "ThisTypeAnnotation"); + + case types.star: + this.next(); + return this.finishNode(node, "ExistsTypeAnnotation"); + + default: + if (this.state.type.keyword === "typeof") { + return this.flowParseTypeofType(); + } else if (this.state.type.keyword) { + const label = this.state.type.label; + this.next(); + return super.createIdentifier(node, label); + } + + } + + throw this.unexpected(); + } + + flowParsePostfixType() { + const startPos = this.state.start, + startLoc = this.state.startLoc; + let type = this.flowParsePrimaryType(); + + while (this.match(types.bracketL) && !this.canInsertSemicolon()) { + const node = this.startNodeAt(startPos, startLoc); + node.elementType = type; + this.expect(types.bracketL); + this.expect(types.bracketR); + type = this.finishNode(node, "ArrayTypeAnnotation"); + } + + return type; + } + + flowParsePrefixType() { + const node = this.startNode(); + + if (this.eat(types.question)) { + node.typeAnnotation = this.flowParsePrefixType(); + return this.finishNode(node, "NullableTypeAnnotation"); + } else { + return this.flowParsePostfixType(); + } + } + + flowParseAnonFunctionWithoutParens() { + const param = this.flowParsePrefixType(); + + if (!this.state.noAnonFunctionType && this.eat(types.arrow)) { + const node = this.startNodeAt(param.start, param.loc.start); + node.params = [this.reinterpretTypeAsFunctionTypeParam(param)]; + node.rest = null; + node.returnType = this.flowParseType(); + node.typeParameters = null; + return this.finishNode(node, "FunctionTypeAnnotation"); + } + + return param; + } + + flowParseIntersectionType() { + const node = this.startNode(); + this.eat(types.bitwiseAND); + const type = this.flowParseAnonFunctionWithoutParens(); + node.types = [type]; + + while (this.eat(types.bitwiseAND)) { + node.types.push(this.flowParseAnonFunctionWithoutParens()); + } + + return node.types.length === 1 ? type : this.finishNode(node, "IntersectionTypeAnnotation"); + } + + flowParseUnionType() { + const node = this.startNode(); + this.eat(types.bitwiseOR); + const type = this.flowParseIntersectionType(); + node.types = [type]; + + while (this.eat(types.bitwiseOR)) { + node.types.push(this.flowParseIntersectionType()); + } + + return node.types.length === 1 ? type : this.finishNode(node, "UnionTypeAnnotation"); + } + + flowParseType() { + const oldInType = this.state.inType; + this.state.inType = true; + const type = this.flowParseUnionType(); + this.state.inType = oldInType; + this.state.exprAllowed = this.state.exprAllowed || this.state.noAnonFunctionType; + return type; + } + + flowParseTypeOrImplicitInstantiation() { + if (this.state.type === types.name && this.state.value === "_") { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + const node = this.parseIdentifier(); + return this.flowParseGenericType(startPos, startLoc, node); + } else { + return this.flowParseType(); + } + } + + flowParseTypeAnnotation() { + const node = this.startNode(); + node.typeAnnotation = this.flowParseTypeInitialiser(); + return this.finishNode(node, "TypeAnnotation"); + } + + flowParseTypeAnnotatableIdentifier(allowPrimitiveOverride) { + const ident = allowPrimitiveOverride ? this.parseIdentifier() : this.flowParseRestrictedIdentifier(); + + if (this.match(types.colon)) { + ident.typeAnnotation = this.flowParseTypeAnnotation(); + this.resetEndLocation(ident); + } + + return ident; + } + + typeCastToParameter(node) { + node.expression.typeAnnotation = node.typeAnnotation; + this.resetEndLocation(node.expression, node.typeAnnotation.end, node.typeAnnotation.loc.end); + return node.expression; + } + + flowParseVariance() { + let variance = null; + + if (this.match(types.plusMin)) { + variance = this.startNode(); + + if (this.state.value === "+") { + variance.kind = "plus"; + } else { + variance.kind = "minus"; + } + + this.next(); + this.finishNode(variance, "Variance"); + } + + return variance; + } + + parseFunctionBody(node, allowExpressionBody, isMethod = false) { + if (allowExpressionBody) { + return this.forwardNoArrowParamsConversionAt(node, () => super.parseFunctionBody(node, true, isMethod)); + } + + return super.parseFunctionBody(node, false, isMethod); + } + + parseFunctionBodyAndFinish(node, type, isMethod = false) { + if (this.match(types.colon)) { + const typeNode = this.startNode(); + [typeNode.typeAnnotation, node.predicate] = this.flowParseTypeAndPredicateInitialiser(); + node.returnType = typeNode.typeAnnotation ? this.finishNode(typeNode, "TypeAnnotation") : null; + } + + super.parseFunctionBodyAndFinish(node, type, isMethod); + } + + parseStatement(context, topLevel) { + if (this.state.strict && this.match(types.name) && this.state.value === "interface") { + const node = this.startNode(); + this.next(); + return this.flowParseInterface(node); + } else if (this.shouldParseEnums() && this.isContextual("enum")) { + const node = this.startNode(); + this.next(); + return this.flowParseEnumDeclaration(node); + } else { + const stmt = super.parseStatement(context, topLevel); + + if (this.flowPragma === undefined && !this.isValidDirective(stmt)) { + this.flowPragma = null; + } + + return stmt; + } + } + + parseExpressionStatement(node, expr) { + if (expr.type === "Identifier") { + if (expr.name === "declare") { + if (this.match(types._class) || this.match(types.name) || this.match(types._function) || this.match(types._var) || this.match(types._export)) { + return this.flowParseDeclare(node); + } + } else if (this.match(types.name)) { + if (expr.name === "interface") { + return this.flowParseInterface(node); + } else if (expr.name === "type") { + return this.flowParseTypeAlias(node); + } else if (expr.name === "opaque") { + return this.flowParseOpaqueType(node, false); + } + } + } + + return super.parseExpressionStatement(node, expr); + } + + shouldParseExportDeclaration() { + return this.isContextual("type") || this.isContextual("interface") || this.isContextual("opaque") || this.shouldParseEnums() && this.isContextual("enum") || super.shouldParseExportDeclaration(); + } + + isExportDefaultSpecifier() { + if (this.match(types.name) && (this.state.value === "type" || this.state.value === "interface" || this.state.value === "opaque" || this.shouldParseEnums() && this.state.value === "enum")) { + return false; + } + + return super.isExportDefaultSpecifier(); + } + + parseExportDefaultExpression() { + if (this.shouldParseEnums() && this.isContextual("enum")) { + const node = this.startNode(); + this.next(); + return this.flowParseEnumDeclaration(node); + } + + return super.parseExportDefaultExpression(); + } + + parseConditional(expr, startPos, startLoc, refNeedsArrowPos) { + if (!this.match(types.question)) return expr; + + if (refNeedsArrowPos) { + const result = this.tryParse(() => super.parseConditional(expr, startPos, startLoc)); + + if (!result.node) { + refNeedsArrowPos.start = result.error.pos || this.state.start; + return expr; + } + + if (result.error) this.state = result.failState; + return result.node; + } + + this.expect(types.question); + const state = this.state.clone(); + const originalNoArrowAt = this.state.noArrowAt; + const node = this.startNodeAt(startPos, startLoc); + let { + consequent, + failed + } = this.tryParseConditionalConsequent(); + let [valid, invalid] = this.getArrowLikeExpressions(consequent); + + if (failed || invalid.length > 0) { + const noArrowAt = [...originalNoArrowAt]; + + if (invalid.length > 0) { + this.state = state; + this.state.noArrowAt = noArrowAt; + + for (let i = 0; i < invalid.length; i++) { + noArrowAt.push(invalid[i].start); + } + + ({ + consequent, + failed + } = this.tryParseConditionalConsequent()); + [valid, invalid] = this.getArrowLikeExpressions(consequent); + } + + if (failed && valid.length > 1) { + this.raise(state.start, FlowErrors.AmbiguousConditionalArrow); + } + + if (failed && valid.length === 1) { + this.state = state; + this.state.noArrowAt = noArrowAt.concat(valid[0].start); + ({ + consequent, + failed + } = this.tryParseConditionalConsequent()); + } + } + + this.getArrowLikeExpressions(consequent, true); + this.state.noArrowAt = originalNoArrowAt; + this.expect(types.colon); + node.test = expr; + node.consequent = consequent; + node.alternate = this.forwardNoArrowParamsConversionAt(node, () => this.parseMaybeAssign(undefined, undefined, undefined)); + return this.finishNode(node, "ConditionalExpression"); + } + + tryParseConditionalConsequent() { + this.state.noArrowParamsConversionAt.push(this.state.start); + const consequent = this.parseMaybeAssignAllowIn(); + const failed = !this.match(types.colon); + this.state.noArrowParamsConversionAt.pop(); + return { + consequent, + failed + }; + } + + getArrowLikeExpressions(node, disallowInvalid) { + const stack = [node]; + const arrows = []; + + while (stack.length !== 0) { + const node = stack.pop(); + + if (node.type === "ArrowFunctionExpression") { + if (node.typeParameters || !node.returnType) { + this.finishArrowValidation(node); + } else { + arrows.push(node); + } + + stack.push(node.body); + } else if (node.type === "ConditionalExpression") { + stack.push(node.consequent); + stack.push(node.alternate); + } + } + + if (disallowInvalid) { + arrows.forEach(node => this.finishArrowValidation(node)); + return [arrows, []]; + } + + return partition(arrows, node => node.params.every(param => this.isAssignable(param, true))); + } + + finishArrowValidation(node) { + var _node$extra; + + this.toAssignableList(node.params, (_node$extra = node.extra) == null ? void 0 : _node$extra.trailingComma); + this.scope.enter(SCOPE_FUNCTION | SCOPE_ARROW); + super.checkParams(node, false, true); + this.scope.exit(); + } + + forwardNoArrowParamsConversionAt(node, parse) { + let result; + + if (this.state.noArrowParamsConversionAt.indexOf(node.start) !== -1) { + this.state.noArrowParamsConversionAt.push(this.state.start); + result = parse(); + this.state.noArrowParamsConversionAt.pop(); + } else { + result = parse(); + } + + return result; + } + + parseParenItem(node, startPos, startLoc) { + node = super.parseParenItem(node, startPos, startLoc); + + if (this.eat(types.question)) { + node.optional = true; + this.resetEndLocation(node); + } + + if (this.match(types.colon)) { + const typeCastNode = this.startNodeAt(startPos, startLoc); + typeCastNode.expression = node; + typeCastNode.typeAnnotation = this.flowParseTypeAnnotation(); + return this.finishNode(typeCastNode, "TypeCastExpression"); + } + + return node; + } + + assertModuleNodeAllowed(node) { + if (node.type === "ImportDeclaration" && (node.importKind === "type" || node.importKind === "typeof") || node.type === "ExportNamedDeclaration" && node.exportKind === "type" || node.type === "ExportAllDeclaration" && node.exportKind === "type") { + return; + } + + super.assertModuleNodeAllowed(node); + } + + parseExport(node) { + const decl = super.parseExport(node); + + if (decl.type === "ExportNamedDeclaration" || decl.type === "ExportAllDeclaration") { + decl.exportKind = decl.exportKind || "value"; + } + + return decl; + } + + parseExportDeclaration(node) { + if (this.isContextual("type")) { + node.exportKind = "type"; + const declarationNode = this.startNode(); + this.next(); + + if (this.match(types.braceL)) { + node.specifiers = this.parseExportSpecifiers(); + this.parseExportFrom(node); + return null; + } else { + return this.flowParseTypeAlias(declarationNode); + } + } else if (this.isContextual("opaque")) { + node.exportKind = "type"; + const declarationNode = this.startNode(); + this.next(); + return this.flowParseOpaqueType(declarationNode, false); + } else if (this.isContextual("interface")) { + node.exportKind = "type"; + const declarationNode = this.startNode(); + this.next(); + return this.flowParseInterface(declarationNode); + } else if (this.shouldParseEnums() && this.isContextual("enum")) { + node.exportKind = "value"; + const declarationNode = this.startNode(); + this.next(); + return this.flowParseEnumDeclaration(declarationNode); + } else { + return super.parseExportDeclaration(node); + } + } + + eatExportStar(node) { + if (super.eatExportStar(...arguments)) return true; + + if (this.isContextual("type") && this.lookahead().type === types.star) { + node.exportKind = "type"; + this.next(); + this.next(); + return true; + } + + return false; + } + + maybeParseExportNamespaceSpecifier(node) { + const pos = this.state.start; + const hasNamespace = super.maybeParseExportNamespaceSpecifier(node); + + if (hasNamespace && node.exportKind === "type") { + this.unexpected(pos); + } + + return hasNamespace; + } + + parseClassId(node, isStatement, optionalId) { + super.parseClassId(node, isStatement, optionalId); + + if (this.isRelational("<")) { + node.typeParameters = this.flowParseTypeParameterDeclaration(); + } + } + + parseClassMember(classBody, member, state, constructorAllowsSuper) { + const pos = this.state.start; + + if (this.isContextual("declare")) { + if (this.parseClassMemberFromModifier(classBody, member)) { + return; + } + + member.declare = true; + } + + super.parseClassMember(classBody, member, state, constructorAllowsSuper); + + if (member.declare) { + if (member.type !== "ClassProperty" && member.type !== "ClassPrivateProperty") { + this.raise(pos, FlowErrors.DeclareClassElement); + } else if (member.value) { + this.raise(member.value.start, FlowErrors.DeclareClassFieldInitializer); + } + } + } + + getTokenFromCode(code) { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (code === 123 && next === 124) { + return this.finishOp(types.braceBarL, 2); + } else if (this.state.inType && (code === 62 || code === 60)) { + return this.finishOp(types.relational, 1); + } else if (this.state.inType && code === 63) { + return this.finishOp(types.question, 1); + } else if (isIteratorStart(code, next)) { + this.state.isIterator = true; + return super.readWord(); + } else { + return super.getTokenFromCode(code); + } + } + + isAssignable(node, isBinding) { + switch (node.type) { + case "Identifier": + case "ObjectPattern": + case "ArrayPattern": + case "AssignmentPattern": + return true; + + case "ObjectExpression": + { + const last = node.properties.length - 1; + return node.properties.every((prop, i) => { + return prop.type !== "ObjectMethod" && (i === last || prop.type === "SpreadElement") && this.isAssignable(prop); + }); + } + + case "ObjectProperty": + return this.isAssignable(node.value); + + case "SpreadElement": + return this.isAssignable(node.argument); + + case "ArrayExpression": + return node.elements.every(element => this.isAssignable(element)); + + case "AssignmentExpression": + return node.operator === "="; + + case "ParenthesizedExpression": + case "TypeCastExpression": + return this.isAssignable(node.expression); + + case "MemberExpression": + case "OptionalMemberExpression": + return !isBinding; + + default: + return false; + } + } + + toAssignable(node) { + if (node.type === "TypeCastExpression") { + return super.toAssignable(this.typeCastToParameter(node)); + } else { + return super.toAssignable(node); + } + } + + toAssignableList(exprList, trailingCommaPos) { + for (let i = 0; i < exprList.length; i++) { + const expr = exprList[i]; + + if ((expr == null ? void 0 : expr.type) === "TypeCastExpression") { + exprList[i] = this.typeCastToParameter(expr); + } + } + + return super.toAssignableList(exprList, trailingCommaPos); + } + + toReferencedList(exprList, isParenthesizedExpr) { + for (let i = 0; i < exprList.length; i++) { + var _expr$extra; + + const expr = exprList[i]; + + if (expr && expr.type === "TypeCastExpression" && !((_expr$extra = expr.extra) == null ? void 0 : _expr$extra.parenthesized) && (exprList.length > 1 || !isParenthesizedExpr)) { + this.raise(expr.typeAnnotation.start, FlowErrors.TypeCastInPattern); + } + } + + return exprList; + } + + checkLVal(expr, bindingType = BIND_NONE, checkClashes, contextDescription) { + if (expr.type !== "TypeCastExpression") { + return super.checkLVal(expr, bindingType, checkClashes, contextDescription); + } + } + + parseClassProperty(node) { + if (this.match(types.colon)) { + node.typeAnnotation = this.flowParseTypeAnnotation(); + } + + return super.parseClassProperty(node); + } + + parseClassPrivateProperty(node) { + if (this.match(types.colon)) { + node.typeAnnotation = this.flowParseTypeAnnotation(); + } + + return super.parseClassPrivateProperty(node); + } + + isClassMethod() { + return this.isRelational("<") || super.isClassMethod(); + } + + isClassProperty() { + return this.match(types.colon) || super.isClassProperty(); + } + + isNonstaticConstructor(method) { + return !this.match(types.colon) && super.isNonstaticConstructor(method); + } + + pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper) { + if (method.variance) { + this.unexpected(method.variance.start); + } + + delete method.variance; + + if (this.isRelational("<")) { + method.typeParameters = this.flowParseTypeParameterDeclaration(); + } + + super.pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper); + } + + pushClassPrivateMethod(classBody, method, isGenerator, isAsync) { + if (method.variance) { + this.unexpected(method.variance.start); + } + + delete method.variance; + + if (this.isRelational("<")) { + method.typeParameters = this.flowParseTypeParameterDeclaration(); + } + + super.pushClassPrivateMethod(classBody, method, isGenerator, isAsync); + } + + parseClassSuper(node) { + super.parseClassSuper(node); + + if (node.superClass && this.isRelational("<")) { + node.superTypeParameters = this.flowParseTypeParameterInstantiation(); + } + + if (this.isContextual("implements")) { + this.next(); + const implemented = node.implements = []; + + do { + const node = this.startNode(); + node.id = this.flowParseRestrictedIdentifier(true); + + if (this.isRelational("<")) { + node.typeParameters = this.flowParseTypeParameterInstantiation(); + } else { + node.typeParameters = null; + } + + implemented.push(this.finishNode(node, "ClassImplements")); + } while (this.eat(types.comma)); + } + } + + parsePropertyName(node, isPrivateNameAllowed) { + const variance = this.flowParseVariance(); + const key = super.parsePropertyName(node, isPrivateNameAllowed); + node.variance = variance; + return key; + } + + parseObjPropValue(prop, startPos, startLoc, isGenerator, isAsync, isPattern, isAccessor, refExpressionErrors) { + if (prop.variance) { + this.unexpected(prop.variance.start); + } + + delete prop.variance; + let typeParameters; + + if (this.isRelational("<") && !isAccessor) { + typeParameters = this.flowParseTypeParameterDeclaration(); + if (!this.match(types.parenL)) this.unexpected(); + } + + super.parseObjPropValue(prop, startPos, startLoc, isGenerator, isAsync, isPattern, isAccessor, refExpressionErrors); + + if (typeParameters) { + (prop.value || prop).typeParameters = typeParameters; + } + } + + parseAssignableListItemTypes(param) { + if (this.eat(types.question)) { + if (param.type !== "Identifier") { + this.raise(param.start, FlowErrors.OptionalBindingPattern); + } + + param.optional = true; + } + + if (this.match(types.colon)) { + param.typeAnnotation = this.flowParseTypeAnnotation(); + } + + this.resetEndLocation(param); + return param; + } + + parseMaybeDefault(startPos, startLoc, left) { + const node = super.parseMaybeDefault(startPos, startLoc, left); + + if (node.type === "AssignmentPattern" && node.typeAnnotation && node.right.start < node.typeAnnotation.start) { + this.raise(node.typeAnnotation.start, FlowErrors.TypeBeforeInitializer); + } + + return node; + } + + shouldParseDefaultImport(node) { + if (!hasTypeImportKind(node)) { + return super.shouldParseDefaultImport(node); + } + + return isMaybeDefaultImport(this.state); + } + + parseImportSpecifierLocal(node, specifier, type, contextDescription) { + specifier.local = hasTypeImportKind(node) ? this.flowParseRestrictedIdentifier(true, true) : this.parseIdentifier(); + this.checkLVal(specifier.local, BIND_LEXICAL, undefined, contextDescription); + node.specifiers.push(this.finishNode(specifier, type)); + } + + maybeParseDefaultImportSpecifier(node) { + node.importKind = "value"; + let kind = null; + + if (this.match(types._typeof)) { + kind = "typeof"; + } else if (this.isContextual("type")) { + kind = "type"; + } + + if (kind) { + const lh = this.lookahead(); + + if (kind === "type" && lh.type === types.star) { + this.unexpected(lh.start); + } + + if (isMaybeDefaultImport(lh) || lh.type === types.braceL || lh.type === types.star) { + this.next(); + node.importKind = kind; + } + } + + return super.maybeParseDefaultImportSpecifier(node); + } + + parseImportSpecifier(node) { + const specifier = this.startNode(); + const firstIdentLoc = this.state.start; + const firstIdent = this.parseIdentifier(true); + let specifierTypeKind = null; + + if (firstIdent.name === "type") { + specifierTypeKind = "type"; + } else if (firstIdent.name === "typeof") { + specifierTypeKind = "typeof"; + } + + let isBinding = false; + + if (this.isContextual("as") && !this.isLookaheadContextual("as")) { + const as_ident = this.parseIdentifier(true); + + if (specifierTypeKind !== null && !this.match(types.name) && !this.state.type.keyword) { + specifier.imported = as_ident; + specifier.importKind = specifierTypeKind; + specifier.local = as_ident.__clone(); + } else { + specifier.imported = firstIdent; + specifier.importKind = null; + specifier.local = this.parseIdentifier(); + } + } else if (specifierTypeKind !== null && (this.match(types.name) || this.state.type.keyword)) { + specifier.imported = this.parseIdentifier(true); + specifier.importKind = specifierTypeKind; + + if (this.eatContextual("as")) { + specifier.local = this.parseIdentifier(); + } else { + isBinding = true; + specifier.local = specifier.imported.__clone(); + } + } else { + isBinding = true; + specifier.imported = firstIdent; + specifier.importKind = null; + specifier.local = specifier.imported.__clone(); + } + + const nodeIsTypeImport = hasTypeImportKind(node); + const specifierIsTypeImport = hasTypeImportKind(specifier); + + if (nodeIsTypeImport && specifierIsTypeImport) { + this.raise(firstIdentLoc, FlowErrors.ImportTypeShorthandOnlyInPureImport); + } + + if (nodeIsTypeImport || specifierIsTypeImport) { + this.checkReservedType(specifier.local.name, specifier.local.start, true); + } + + if (isBinding && !nodeIsTypeImport && !specifierIsTypeImport) { + this.checkReservedWord(specifier.local.name, specifier.start, true, true); + } + + this.checkLVal(specifier.local, BIND_LEXICAL, undefined, "import specifier"); + node.specifiers.push(this.finishNode(specifier, "ImportSpecifier")); + } + + parseFunctionParams(node, allowModifiers) { + const kind = node.kind; + + if (kind !== "get" && kind !== "set" && this.isRelational("<")) { + node.typeParameters = this.flowParseTypeParameterDeclaration(); + } + + super.parseFunctionParams(node, allowModifiers); + } + + parseVarId(decl, kind) { + super.parseVarId(decl, kind); + + if (this.match(types.colon)) { + decl.id.typeAnnotation = this.flowParseTypeAnnotation(); + this.resetEndLocation(decl.id); + } + } + + parseAsyncArrowFromCallExpression(node, call) { + if (this.match(types.colon)) { + const oldNoAnonFunctionType = this.state.noAnonFunctionType; + this.state.noAnonFunctionType = true; + node.returnType = this.flowParseTypeAnnotation(); + this.state.noAnonFunctionType = oldNoAnonFunctionType; + } + + return super.parseAsyncArrowFromCallExpression(node, call); + } + + shouldParseAsyncArrow() { + return this.match(types.colon) || super.shouldParseAsyncArrow(); + } + + parseMaybeAssign(refExpressionErrors, afterLeftParse, refNeedsArrowPos) { + var _jsx; + + let state = null; + let jsx; + + if (this.hasPlugin("jsx") && (this.match(types.jsxTagStart) || this.isRelational("<"))) { + state = this.state.clone(); + jsx = this.tryParse(() => super.parseMaybeAssign(refExpressionErrors, afterLeftParse, refNeedsArrowPos), state); + if (!jsx.error) return jsx.node; + const { + context + } = this.state; + + if (context[context.length - 1] === types$1.j_oTag) { + context.length -= 2; + } else if (context[context.length - 1] === types$1.j_expr) { + context.length -= 1; + } + } + + if (((_jsx = jsx) == null ? void 0 : _jsx.error) || this.isRelational("<")) { + var _jsx2, _jsx3; + + state = state || this.state.clone(); + let typeParameters; + const arrow = this.tryParse(abort => { + var _arrowExpression$extr; + + typeParameters = this.flowParseTypeParameterDeclaration(); + const arrowExpression = this.forwardNoArrowParamsConversionAt(typeParameters, () => { + const result = super.parseMaybeAssign(refExpressionErrors, afterLeftParse, refNeedsArrowPos); + this.resetStartLocationFromNode(result, typeParameters); + return result; + }); + + if (arrowExpression.type !== "ArrowFunctionExpression" && ((_arrowExpression$extr = arrowExpression.extra) == null ? void 0 : _arrowExpression$extr.parenthesized)) { + abort(); + } + + const expr = this.maybeUnwrapTypeCastExpression(arrowExpression); + expr.typeParameters = typeParameters; + this.resetStartLocationFromNode(expr, typeParameters); + return arrowExpression; + }, state); + let arrowExpression = null; + + if (arrow.node && this.maybeUnwrapTypeCastExpression(arrow.node).type === "ArrowFunctionExpression") { + if (!arrow.error && !arrow.aborted) { + if (arrow.node.async) { + this.raise(typeParameters.start, FlowErrors.UnexpectedTypeParameterBeforeAsyncArrowFunction); + } + + return arrow.node; + } + + arrowExpression = arrow.node; + } + + if ((_jsx2 = jsx) == null ? void 0 : _jsx2.node) { + this.state = jsx.failState; + return jsx.node; + } + + if (arrowExpression) { + this.state = arrow.failState; + return arrowExpression; + } + + if ((_jsx3 = jsx) == null ? void 0 : _jsx3.thrown) throw jsx.error; + if (arrow.thrown) throw arrow.error; + throw this.raise(typeParameters.start, FlowErrors.UnexpectedTokenAfterTypeParameter); + } + + return super.parseMaybeAssign(refExpressionErrors, afterLeftParse, refNeedsArrowPos); + } + + parseArrow(node) { + if (this.match(types.colon)) { + const result = this.tryParse(() => { + const oldNoAnonFunctionType = this.state.noAnonFunctionType; + this.state.noAnonFunctionType = true; + const typeNode = this.startNode(); + [typeNode.typeAnnotation, node.predicate] = this.flowParseTypeAndPredicateInitialiser(); + this.state.noAnonFunctionType = oldNoAnonFunctionType; + if (this.canInsertSemicolon()) this.unexpected(); + if (!this.match(types.arrow)) this.unexpected(); + return typeNode; + }); + if (result.thrown) return null; + if (result.error) this.state = result.failState; + node.returnType = result.node.typeAnnotation ? this.finishNode(result.node, "TypeAnnotation") : null; + } + + return super.parseArrow(node); + } + + shouldParseArrow() { + return this.match(types.colon) || super.shouldParseArrow(); + } + + setArrowFunctionParameters(node, params) { + if (this.state.noArrowParamsConversionAt.indexOf(node.start) !== -1) { + node.params = params; + } else { + super.setArrowFunctionParameters(node, params); + } + } + + checkParams(node, allowDuplicates, isArrowFunction) { + if (isArrowFunction && this.state.noArrowParamsConversionAt.indexOf(node.start) !== -1) { + return; + } + + return super.checkParams(...arguments); + } + + parseParenAndDistinguishExpression(canBeArrow) { + return super.parseParenAndDistinguishExpression(canBeArrow && this.state.noArrowAt.indexOf(this.state.start) === -1); + } + + parseSubscripts(base, startPos, startLoc, noCalls) { + if (base.type === "Identifier" && base.name === "async" && this.state.noArrowAt.indexOf(startPos) !== -1) { + this.next(); + const node = this.startNodeAt(startPos, startLoc); + node.callee = base; + node.arguments = this.parseCallExpressionArguments(types.parenR, false); + base = this.finishNode(node, "CallExpression"); + } else if (base.type === "Identifier" && base.name === "async" && this.isRelational("<")) { + const state = this.state.clone(); + const arrow = this.tryParse(abort => this.parseAsyncArrowWithTypeParameters(startPos, startLoc) || abort(), state); + if (!arrow.error && !arrow.aborted) return arrow.node; + const result = this.tryParse(() => super.parseSubscripts(base, startPos, startLoc, noCalls), state); + if (result.node && !result.error) return result.node; + + if (arrow.node) { + this.state = arrow.failState; + return arrow.node; + } + + if (result.node) { + this.state = result.failState; + return result.node; + } + + throw arrow.error || result.error; + } + + return super.parseSubscripts(base, startPos, startLoc, noCalls); + } + + parseSubscript(base, startPos, startLoc, noCalls, subscriptState) { + if (this.match(types.questionDot) && this.isLookaheadToken_lt()) { + subscriptState.optionalChainMember = true; + + if (noCalls) { + subscriptState.stop = true; + return base; + } + + this.next(); + const node = this.startNodeAt(startPos, startLoc); + node.callee = base; + node.typeArguments = this.flowParseTypeParameterInstantiation(); + this.expect(types.parenL); + node.arguments = this.parseCallExpressionArguments(types.parenR, false); + node.optional = true; + return this.finishCallExpression(node, true); + } else if (!noCalls && this.shouldParseTypes() && this.isRelational("<")) { + const node = this.startNodeAt(startPos, startLoc); + node.callee = base; + const result = this.tryParse(() => { + node.typeArguments = this.flowParseTypeParameterInstantiationCallOrNew(); + this.expect(types.parenL); + node.arguments = this.parseCallExpressionArguments(types.parenR, false); + if (subscriptState.optionalChainMember) node.optional = false; + return this.finishCallExpression(node, subscriptState.optionalChainMember); + }); + + if (result.node) { + if (result.error) this.state = result.failState; + return result.node; + } + } + + return super.parseSubscript(base, startPos, startLoc, noCalls, subscriptState); + } + + parseNewArguments(node) { + let targs = null; + + if (this.shouldParseTypes() && this.isRelational("<")) { + targs = this.tryParse(() => this.flowParseTypeParameterInstantiationCallOrNew()).node; + } + + node.typeArguments = targs; + super.parseNewArguments(node); + } + + parseAsyncArrowWithTypeParameters(startPos, startLoc) { + const node = this.startNodeAt(startPos, startLoc); + this.parseFunctionParams(node); + if (!this.parseArrow(node)) return; + return this.parseArrowExpression(node, undefined, true); + } + + readToken_mult_modulo(code) { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (code === 42 && next === 47 && this.state.hasFlowComment) { + this.state.hasFlowComment = false; + this.state.pos += 2; + this.nextToken(); + return; + } + + super.readToken_mult_modulo(code); + } + + readToken_pipe_amp(code) { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (code === 124 && next === 125) { + this.finishOp(types.braceBarR, 2); + return; + } + + super.readToken_pipe_amp(code); + } + + parseTopLevel(file, program) { + const fileNode = super.parseTopLevel(file, program); + + if (this.state.hasFlowComment) { + this.raise(this.state.pos, FlowErrors.UnterminatedFlowComment); + } + + return fileNode; + } + + skipBlockComment() { + if (this.hasPlugin("flowComments") && this.skipFlowComment()) { + if (this.state.hasFlowComment) { + this.unexpected(null, FlowErrors.NestedFlowComment); + } + + this.hasFlowCommentCompletion(); + this.state.pos += this.skipFlowComment(); + this.state.hasFlowComment = true; + return; + } + + if (this.state.hasFlowComment) { + const end = this.input.indexOf("*-/", this.state.pos += 2); + + if (end === -1) { + throw this.raise(this.state.pos - 2, ErrorMessages.UnterminatedComment); + } + + this.state.pos = end + 3; + return; + } + + super.skipBlockComment(); + } + + skipFlowComment() { + const { + pos + } = this.state; + let shiftToFirstNonWhiteSpace = 2; + + while ([32, 9].includes(this.input.charCodeAt(pos + shiftToFirstNonWhiteSpace))) { + shiftToFirstNonWhiteSpace++; + } + + const ch2 = this.input.charCodeAt(shiftToFirstNonWhiteSpace + pos); + const ch3 = this.input.charCodeAt(shiftToFirstNonWhiteSpace + pos + 1); + + if (ch2 === 58 && ch3 === 58) { + return shiftToFirstNonWhiteSpace + 2; + } + + if (this.input.slice(shiftToFirstNonWhiteSpace + pos, shiftToFirstNonWhiteSpace + pos + 12) === "flow-include") { + return shiftToFirstNonWhiteSpace + 12; + } + + if (ch2 === 58 && ch3 !== 58) { + return shiftToFirstNonWhiteSpace; + } + + return false; + } + + hasFlowCommentCompletion() { + const end = this.input.indexOf("*/", this.state.pos); + + if (end === -1) { + throw this.raise(this.state.pos, ErrorMessages.UnterminatedComment); + } + } + + flowEnumErrorBooleanMemberNotInitialized(pos, { + enumName, + memberName + }) { + this.raise(pos, FlowErrors.EnumBooleanMemberNotInitialized, memberName, enumName); + } + + flowEnumErrorInvalidMemberName(pos, { + enumName, + memberName + }) { + const suggestion = memberName[0].toUpperCase() + memberName.slice(1); + this.raise(pos, FlowErrors.EnumInvalidMemberName, memberName, suggestion, enumName); + } + + flowEnumErrorDuplicateMemberName(pos, { + enumName, + memberName + }) { + this.raise(pos, FlowErrors.EnumDuplicateMemberName, memberName, enumName); + } + + flowEnumErrorInconsistentMemberValues(pos, { + enumName + }) { + this.raise(pos, FlowErrors.EnumInconsistentMemberValues, enumName); + } + + flowEnumErrorInvalidExplicitType(pos, { + enumName, + suppliedType + }) { + return this.raise(pos, suppliedType === null ? FlowErrors.EnumInvalidExplicitTypeUnknownSupplied : FlowErrors.EnumInvalidExplicitType, enumName, suppliedType); + } + + flowEnumErrorInvalidMemberInitializer(pos, { + enumName, + explicitType, + memberName + }) { + let message = null; + + switch (explicitType) { + case "boolean": + case "number": + case "string": + message = FlowErrors.EnumInvalidMemberInitializerPrimaryType; + break; + + case "symbol": + message = FlowErrors.EnumInvalidMemberInitializerSymbolType; + break; + + default: + message = FlowErrors.EnumInvalidMemberInitializerUnknownType; + } + + return this.raise(pos, message, enumName, memberName, explicitType); + } + + flowEnumErrorNumberMemberNotInitialized(pos, { + enumName, + memberName + }) { + this.raise(pos, FlowErrors.EnumNumberMemberNotInitialized, enumName, memberName); + } + + flowEnumErrorStringMemberInconsistentlyInitailized(pos, { + enumName + }) { + this.raise(pos, FlowErrors.EnumStringMemberInconsistentlyInitailized, enumName); + } + + flowEnumMemberInit() { + const startPos = this.state.start; + + const endOfInit = () => this.match(types.comma) || this.match(types.braceR); + + switch (this.state.type) { + case types.num: + { + const literal = this.parseLiteral(this.state.value, "NumericLiteral"); + + if (endOfInit()) { + return { + type: "number", + pos: literal.start, + value: literal + }; + } + + return { + type: "invalid", + pos: startPos + }; + } + + case types.string: + { + const literal = this.parseLiteral(this.state.value, "StringLiteral"); + + if (endOfInit()) { + return { + type: "string", + pos: literal.start, + value: literal + }; + } + + return { + type: "invalid", + pos: startPos + }; + } + + case types._true: + case types._false: + { + const literal = this.parseBooleanLiteral(); + + if (endOfInit()) { + return { + type: "boolean", + pos: literal.start, + value: literal + }; + } + + return { + type: "invalid", + pos: startPos + }; + } + + default: + return { + type: "invalid", + pos: startPos + }; + } + } + + flowEnumMemberRaw() { + const pos = this.state.start; + const id = this.parseIdentifier(true); + const init = this.eat(types.eq) ? this.flowEnumMemberInit() : { + type: "none", + pos + }; + return { + id, + init + }; + } + + flowEnumCheckExplicitTypeMismatch(pos, context, expectedType) { + const { + explicitType + } = context; + + if (explicitType === null) { + return; + } + + if (explicitType !== expectedType) { + this.flowEnumErrorInvalidMemberInitializer(pos, context); + } + } + + flowEnumMembers({ + enumName, + explicitType + }) { + const seenNames = new Set(); + const members = { + booleanMembers: [], + numberMembers: [], + stringMembers: [], + defaultedMembers: [] + }; + + while (!this.match(types.braceR)) { + const memberNode = this.startNode(); + const { + id, + init + } = this.flowEnumMemberRaw(); + const memberName = id.name; + + if (memberName === "") { + continue; + } + + if (/^[a-z]/.test(memberName)) { + this.flowEnumErrorInvalidMemberName(id.start, { + enumName, + memberName + }); + } + + if (seenNames.has(memberName)) { + this.flowEnumErrorDuplicateMemberName(id.start, { + enumName, + memberName + }); + } + + seenNames.add(memberName); + const context = { + enumName, + explicitType, + memberName + }; + memberNode.id = id; + + switch (init.type) { + case "boolean": + { + this.flowEnumCheckExplicitTypeMismatch(init.pos, context, "boolean"); + memberNode.init = init.value; + members.booleanMembers.push(this.finishNode(memberNode, "EnumBooleanMember")); + break; + } + + case "number": + { + this.flowEnumCheckExplicitTypeMismatch(init.pos, context, "number"); + memberNode.init = init.value; + members.numberMembers.push(this.finishNode(memberNode, "EnumNumberMember")); + break; + } + + case "string": + { + this.flowEnumCheckExplicitTypeMismatch(init.pos, context, "string"); + memberNode.init = init.value; + members.stringMembers.push(this.finishNode(memberNode, "EnumStringMember")); + break; + } + + case "invalid": + { + throw this.flowEnumErrorInvalidMemberInitializer(init.pos, context); + } + + case "none": + { + switch (explicitType) { + case "boolean": + this.flowEnumErrorBooleanMemberNotInitialized(init.pos, context); + break; + + case "number": + this.flowEnumErrorNumberMemberNotInitialized(init.pos, context); + break; + + default: + members.defaultedMembers.push(this.finishNode(memberNode, "EnumDefaultedMember")); + } + } + } + + if (!this.match(types.braceR)) { + this.expect(types.comma); + } + } + + return members; + } + + flowEnumStringMembers(initializedMembers, defaultedMembers, { + enumName + }) { + if (initializedMembers.length === 0) { + return defaultedMembers; + } else if (defaultedMembers.length === 0) { + return initializedMembers; + } else if (defaultedMembers.length > initializedMembers.length) { + for (let _i = 0; _i < initializedMembers.length; _i++) { + const member = initializedMembers[_i]; + this.flowEnumErrorStringMemberInconsistentlyInitailized(member.start, { + enumName + }); + } + + return defaultedMembers; + } else { + for (let _i2 = 0; _i2 < defaultedMembers.length; _i2++) { + const member = defaultedMembers[_i2]; + this.flowEnumErrorStringMemberInconsistentlyInitailized(member.start, { + enumName + }); + } + + return initializedMembers; + } + } + + flowEnumParseExplicitType({ + enumName + }) { + if (this.eatContextual("of")) { + if (!this.match(types.name)) { + throw this.flowEnumErrorInvalidExplicitType(this.state.start, { + enumName, + suppliedType: null + }); + } + + const { + value + } = this.state; + this.next(); + + if (value !== "boolean" && value !== "number" && value !== "string" && value !== "symbol") { + this.flowEnumErrorInvalidExplicitType(this.state.start, { + enumName, + suppliedType: value + }); + } + + return value; + } + + return null; + } + + flowEnumBody(node, { + enumName, + nameLoc + }) { + const explicitType = this.flowEnumParseExplicitType({ + enumName + }); + this.expect(types.braceL); + const members = this.flowEnumMembers({ + enumName, + explicitType + }); + + switch (explicitType) { + case "boolean": + node.explicitType = true; + node.members = members.booleanMembers; + this.expect(types.braceR); + return this.finishNode(node, "EnumBooleanBody"); + + case "number": + node.explicitType = true; + node.members = members.numberMembers; + this.expect(types.braceR); + return this.finishNode(node, "EnumNumberBody"); + + case "string": + node.explicitType = true; + node.members = this.flowEnumStringMembers(members.stringMembers, members.defaultedMembers, { + enumName + }); + this.expect(types.braceR); + return this.finishNode(node, "EnumStringBody"); + + case "symbol": + node.members = members.defaultedMembers; + this.expect(types.braceR); + return this.finishNode(node, "EnumSymbolBody"); + + default: + { + const empty = () => { + node.members = []; + this.expect(types.braceR); + return this.finishNode(node, "EnumStringBody"); + }; + + node.explicitType = false; + const boolsLen = members.booleanMembers.length; + const numsLen = members.numberMembers.length; + const strsLen = members.stringMembers.length; + const defaultedLen = members.defaultedMembers.length; + + if (!boolsLen && !numsLen && !strsLen && !defaultedLen) { + return empty(); + } else if (!boolsLen && !numsLen) { + node.members = this.flowEnumStringMembers(members.stringMembers, members.defaultedMembers, { + enumName + }); + this.expect(types.braceR); + return this.finishNode(node, "EnumStringBody"); + } else if (!numsLen && !strsLen && boolsLen >= defaultedLen) { + for (let _i3 = 0, _members$defaultedMem = members.defaultedMembers; _i3 < _members$defaultedMem.length; _i3++) { + const member = _members$defaultedMem[_i3]; + this.flowEnumErrorBooleanMemberNotInitialized(member.start, { + enumName, + memberName: member.id.name + }); + } + + node.members = members.booleanMembers; + this.expect(types.braceR); + return this.finishNode(node, "EnumBooleanBody"); + } else if (!boolsLen && !strsLen && numsLen >= defaultedLen) { + for (let _i4 = 0, _members$defaultedMem2 = members.defaultedMembers; _i4 < _members$defaultedMem2.length; _i4++) { + const member = _members$defaultedMem2[_i4]; + this.flowEnumErrorNumberMemberNotInitialized(member.start, { + enumName, + memberName: member.id.name + }); + } + + node.members = members.numberMembers; + this.expect(types.braceR); + return this.finishNode(node, "EnumNumberBody"); + } else { + this.flowEnumErrorInconsistentMemberValues(nameLoc, { + enumName + }); + return empty(); + } + } + } + } + + flowParseEnumDeclaration(node) { + const id = this.parseIdentifier(); + node.id = id; + node.body = this.flowEnumBody(this.startNode(), { + enumName: id.name, + nameLoc: id.start + }); + return this.finishNode(node, "EnumDeclaration"); + } + + updateContext(prevType) { + if (this.match(types.name) && this.state.value === "of" && prevType === types.name && this.input.slice(this.state.lastTokStart, this.state.lastTokEnd) === "interface") { + this.state.exprAllowed = false; + } else { + super.updateContext(prevType); + } + } + + isLookaheadToken_lt() { + const next = this.nextTokenStart(); + + if (this.input.charCodeAt(next) === 60) { + const afterNext = this.input.charCodeAt(next + 1); + return afterNext !== 60 && afterNext !== 61; + } + + return false; + } + + maybeUnwrapTypeCastExpression(node) { + return node.type === "TypeCastExpression" ? node.expression : node; + } + +}); + +const entities = { + quot: "\u0022", + amp: "&", + apos: "\u0027", + lt: "<", + gt: ">", + nbsp: "\u00A0", + iexcl: "\u00A1", + cent: "\u00A2", + pound: "\u00A3", + curren: "\u00A4", + yen: "\u00A5", + brvbar: "\u00A6", + sect: "\u00A7", + uml: "\u00A8", + copy: "\u00A9", + ordf: "\u00AA", + laquo: "\u00AB", + not: "\u00AC", + shy: "\u00AD", + reg: "\u00AE", + macr: "\u00AF", + deg: "\u00B0", + plusmn: "\u00B1", + sup2: "\u00B2", + sup3: "\u00B3", + acute: "\u00B4", + micro: "\u00B5", + para: "\u00B6", + middot: "\u00B7", + cedil: "\u00B8", + sup1: "\u00B9", + ordm: "\u00BA", + raquo: "\u00BB", + frac14: "\u00BC", + frac12: "\u00BD", + frac34: "\u00BE", + iquest: "\u00BF", + Agrave: "\u00C0", + Aacute: "\u00C1", + Acirc: "\u00C2", + Atilde: "\u00C3", + Auml: "\u00C4", + Aring: "\u00C5", + AElig: "\u00C6", + Ccedil: "\u00C7", + Egrave: "\u00C8", + Eacute: "\u00C9", + Ecirc: "\u00CA", + Euml: "\u00CB", + Igrave: "\u00CC", + Iacute: "\u00CD", + Icirc: "\u00CE", + Iuml: "\u00CF", + ETH: "\u00D0", + Ntilde: "\u00D1", + Ograve: "\u00D2", + Oacute: "\u00D3", + Ocirc: "\u00D4", + Otilde: "\u00D5", + Ouml: "\u00D6", + times: "\u00D7", + Oslash: "\u00D8", + Ugrave: "\u00D9", + Uacute: "\u00DA", + Ucirc: "\u00DB", + Uuml: "\u00DC", + Yacute: "\u00DD", + THORN: "\u00DE", + szlig: "\u00DF", + agrave: "\u00E0", + aacute: "\u00E1", + acirc: "\u00E2", + atilde: "\u00E3", + auml: "\u00E4", + aring: "\u00E5", + aelig: "\u00E6", + ccedil: "\u00E7", + egrave: "\u00E8", + eacute: "\u00E9", + ecirc: "\u00EA", + euml: "\u00EB", + igrave: "\u00EC", + iacute: "\u00ED", + icirc: "\u00EE", + iuml: "\u00EF", + eth: "\u00F0", + ntilde: "\u00F1", + ograve: "\u00F2", + oacute: "\u00F3", + ocirc: "\u00F4", + otilde: "\u00F5", + ouml: "\u00F6", + divide: "\u00F7", + oslash: "\u00F8", + ugrave: "\u00F9", + uacute: "\u00FA", + ucirc: "\u00FB", + uuml: "\u00FC", + yacute: "\u00FD", + thorn: "\u00FE", + yuml: "\u00FF", + OElig: "\u0152", + oelig: "\u0153", + Scaron: "\u0160", + scaron: "\u0161", + Yuml: "\u0178", + fnof: "\u0192", + circ: "\u02C6", + tilde: "\u02DC", + Alpha: "\u0391", + Beta: "\u0392", + Gamma: "\u0393", + Delta: "\u0394", + Epsilon: "\u0395", + Zeta: "\u0396", + Eta: "\u0397", + Theta: "\u0398", + Iota: "\u0399", + Kappa: "\u039A", + Lambda: "\u039B", + Mu: "\u039C", + Nu: "\u039D", + Xi: "\u039E", + Omicron: "\u039F", + Pi: "\u03A0", + Rho: "\u03A1", + Sigma: "\u03A3", + Tau: "\u03A4", + Upsilon: "\u03A5", + Phi: "\u03A6", + Chi: "\u03A7", + Psi: "\u03A8", + Omega: "\u03A9", + alpha: "\u03B1", + beta: "\u03B2", + gamma: "\u03B3", + delta: "\u03B4", + epsilon: "\u03B5", + zeta: "\u03B6", + eta: "\u03B7", + theta: "\u03B8", + iota: "\u03B9", + kappa: "\u03BA", + lambda: "\u03BB", + mu: "\u03BC", + nu: "\u03BD", + xi: "\u03BE", + omicron: "\u03BF", + pi: "\u03C0", + rho: "\u03C1", + sigmaf: "\u03C2", + sigma: "\u03C3", + tau: "\u03C4", + upsilon: "\u03C5", + phi: "\u03C6", + chi: "\u03C7", + psi: "\u03C8", + omega: "\u03C9", + thetasym: "\u03D1", + upsih: "\u03D2", + piv: "\u03D6", + ensp: "\u2002", + emsp: "\u2003", + thinsp: "\u2009", + zwnj: "\u200C", + zwj: "\u200D", + lrm: "\u200E", + rlm: "\u200F", + ndash: "\u2013", + mdash: "\u2014", + lsquo: "\u2018", + rsquo: "\u2019", + sbquo: "\u201A", + ldquo: "\u201C", + rdquo: "\u201D", + bdquo: "\u201E", + dagger: "\u2020", + Dagger: "\u2021", + bull: "\u2022", + hellip: "\u2026", + permil: "\u2030", + prime: "\u2032", + Prime: "\u2033", + lsaquo: "\u2039", + rsaquo: "\u203A", + oline: "\u203E", + frasl: "\u2044", + euro: "\u20AC", + image: "\u2111", + weierp: "\u2118", + real: "\u211C", + trade: "\u2122", + alefsym: "\u2135", + larr: "\u2190", + uarr: "\u2191", + rarr: "\u2192", + darr: "\u2193", + harr: "\u2194", + crarr: "\u21B5", + lArr: "\u21D0", + uArr: "\u21D1", + rArr: "\u21D2", + dArr: "\u21D3", + hArr: "\u21D4", + forall: "\u2200", + part: "\u2202", + exist: "\u2203", + empty: "\u2205", + nabla: "\u2207", + isin: "\u2208", + notin: "\u2209", + ni: "\u220B", + prod: "\u220F", + sum: "\u2211", + minus: "\u2212", + lowast: "\u2217", + radic: "\u221A", + prop: "\u221D", + infin: "\u221E", + ang: "\u2220", + and: "\u2227", + or: "\u2228", + cap: "\u2229", + cup: "\u222A", + int: "\u222B", + there4: "\u2234", + sim: "\u223C", + cong: "\u2245", + asymp: "\u2248", + ne: "\u2260", + equiv: "\u2261", + le: "\u2264", + ge: "\u2265", + sub: "\u2282", + sup: "\u2283", + nsub: "\u2284", + sube: "\u2286", + supe: "\u2287", + oplus: "\u2295", + otimes: "\u2297", + perp: "\u22A5", + sdot: "\u22C5", + lceil: "\u2308", + rceil: "\u2309", + lfloor: "\u230A", + rfloor: "\u230B", + lang: "\u2329", + rang: "\u232A", + loz: "\u25CA", + spades: "\u2660", + clubs: "\u2663", + hearts: "\u2665", + diams: "\u2666" +}; + +const HEX_NUMBER = /^[\da-fA-F]+$/; +const DECIMAL_NUMBER = /^\d+$/; +const JsxErrors = Object.freeze({ + AttributeIsEmpty: "JSX attributes must only be assigned a non-empty expression", + MissingClosingTagFragment: "Expected corresponding JSX closing tag for <>", + MissingClosingTagElement: "Expected corresponding JSX closing tag for <%0>", + UnsupportedJsxValue: "JSX value should be either an expression or a quoted JSX text", + UnterminatedJsxContent: "Unterminated JSX contents", + UnwrappedAdjacentJSXElements: "Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?" +}); +types$1.j_oTag = new TokContext("...", true, true); +types.jsxName = new TokenType("jsxName"); +types.jsxText = new TokenType("jsxText", { + beforeExpr: true +}); +types.jsxTagStart = new TokenType("jsxTagStart", { + startsExpr: true +}); +types.jsxTagEnd = new TokenType("jsxTagEnd"); + +types.jsxTagStart.updateContext = function () { + this.state.context.push(types$1.j_expr); + this.state.context.push(types$1.j_oTag); + this.state.exprAllowed = false; +}; + +types.jsxTagEnd.updateContext = function (prevType) { + const out = this.state.context.pop(); + + if (out === types$1.j_oTag && prevType === types.slash || out === types$1.j_cTag) { + this.state.context.pop(); + this.state.exprAllowed = this.curContext() === types$1.j_expr; + } else { + this.state.exprAllowed = true; + } +}; + +function isFragment(object) { + return object ? object.type === "JSXOpeningFragment" || object.type === "JSXClosingFragment" : false; +} + +function getQualifiedJSXName(object) { + if (object.type === "JSXIdentifier") { + return object.name; + } + + if (object.type === "JSXNamespacedName") { + return object.namespace.name + ":" + object.name.name; + } + + if (object.type === "JSXMemberExpression") { + return getQualifiedJSXName(object.object) + "." + getQualifiedJSXName(object.property); + } + + throw new Error("Node had unexpected type: " + object.type); +} + +var jsx = (superClass => class extends superClass { + jsxReadToken() { + let out = ""; + let chunkStart = this.state.pos; + + for (;;) { + if (this.state.pos >= this.length) { + throw this.raise(this.state.start, JsxErrors.UnterminatedJsxContent); + } + + const ch = this.input.charCodeAt(this.state.pos); + + switch (ch) { + case 60: + case 123: + if (this.state.pos === this.state.start) { + if (ch === 60 && this.state.exprAllowed) { + ++this.state.pos; + return this.finishToken(types.jsxTagStart); + } + + return super.getTokenFromCode(ch); + } + + out += this.input.slice(chunkStart, this.state.pos); + return this.finishToken(types.jsxText, out); + + case 38: + out += this.input.slice(chunkStart, this.state.pos); + out += this.jsxReadEntity(); + chunkStart = this.state.pos; + break; + + default: + if (isNewLine(ch)) { + out += this.input.slice(chunkStart, this.state.pos); + out += this.jsxReadNewLine(true); + chunkStart = this.state.pos; + } else { + ++this.state.pos; + } + + } + } + } + + jsxReadNewLine(normalizeCRLF) { + const ch = this.input.charCodeAt(this.state.pos); + let out; + ++this.state.pos; + + if (ch === 13 && this.input.charCodeAt(this.state.pos) === 10) { + ++this.state.pos; + out = normalizeCRLF ? "\n" : "\r\n"; + } else { + out = String.fromCharCode(ch); + } + + ++this.state.curLine; + this.state.lineStart = this.state.pos; + return out; + } + + jsxReadString(quote) { + let out = ""; + let chunkStart = ++this.state.pos; + + for (;;) { + if (this.state.pos >= this.length) { + throw this.raise(this.state.start, ErrorMessages.UnterminatedString); + } + + const ch = this.input.charCodeAt(this.state.pos); + if (ch === quote) break; + + if (ch === 38) { + out += this.input.slice(chunkStart, this.state.pos); + out += this.jsxReadEntity(); + chunkStart = this.state.pos; + } else if (isNewLine(ch)) { + out += this.input.slice(chunkStart, this.state.pos); + out += this.jsxReadNewLine(false); + chunkStart = this.state.pos; + } else { + ++this.state.pos; + } + } + + out += this.input.slice(chunkStart, this.state.pos++); + return this.finishToken(types.string, out); + } + + jsxReadEntity() { + let str = ""; + let count = 0; + let entity; + let ch = this.input[this.state.pos]; + const startPos = ++this.state.pos; + + while (this.state.pos < this.length && count++ < 10) { + ch = this.input[this.state.pos++]; + + if (ch === ";") { + if (str[0] === "#") { + if (str[1] === "x") { + str = str.substr(2); + + if (HEX_NUMBER.test(str)) { + entity = String.fromCodePoint(parseInt(str, 16)); + } + } else { + str = str.substr(1); + + if (DECIMAL_NUMBER.test(str)) { + entity = String.fromCodePoint(parseInt(str, 10)); + } + } + } else { + entity = entities[str]; + } + + break; + } + + str += ch; + } + + if (!entity) { + this.state.pos = startPos; + return "&"; + } + + return entity; + } + + jsxReadWord() { + let ch; + const start = this.state.pos; + + do { + ch = this.input.charCodeAt(++this.state.pos); + } while (isIdentifierChar(ch) || ch === 45); + + return this.finishToken(types.jsxName, this.input.slice(start, this.state.pos)); + } + + jsxParseIdentifier() { + const node = this.startNode(); + + if (this.match(types.jsxName)) { + node.name = this.state.value; + } else if (this.state.type.keyword) { + node.name = this.state.type.keyword; + } else { + this.unexpected(); + } + + this.next(); + return this.finishNode(node, "JSXIdentifier"); + } + + jsxParseNamespacedName() { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + const name = this.jsxParseIdentifier(); + if (!this.eat(types.colon)) return name; + const node = this.startNodeAt(startPos, startLoc); + node.namespace = name; + node.name = this.jsxParseIdentifier(); + return this.finishNode(node, "JSXNamespacedName"); + } + + jsxParseElementName() { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + let node = this.jsxParseNamespacedName(); + + if (node.type === "JSXNamespacedName") { + return node; + } + + while (this.eat(types.dot)) { + const newNode = this.startNodeAt(startPos, startLoc); + newNode.object = node; + newNode.property = this.jsxParseIdentifier(); + node = this.finishNode(newNode, "JSXMemberExpression"); + } + + return node; + } + + jsxParseAttributeValue() { + let node; + + switch (this.state.type) { + case types.braceL: + node = this.startNode(); + this.next(); + node = this.jsxParseExpressionContainer(node); + + if (node.expression.type === "JSXEmptyExpression") { + this.raise(node.start, JsxErrors.AttributeIsEmpty); + } + + return node; + + case types.jsxTagStart: + case types.string: + return this.parseExprAtom(); + + default: + throw this.raise(this.state.start, JsxErrors.UnsupportedJsxValue); + } + } + + jsxParseEmptyExpression() { + const node = this.startNodeAt(this.state.lastTokEnd, this.state.lastTokEndLoc); + return this.finishNodeAt(node, "JSXEmptyExpression", this.state.start, this.state.startLoc); + } + + jsxParseSpreadChild(node) { + this.next(); + node.expression = this.parseExpression(); + this.expect(types.braceR); + return this.finishNode(node, "JSXSpreadChild"); + } + + jsxParseExpressionContainer(node) { + if (this.match(types.braceR)) { + node.expression = this.jsxParseEmptyExpression(); + } else { + node.expression = this.parseExpression(); + } + + this.expect(types.braceR); + return this.finishNode(node, "JSXExpressionContainer"); + } + + jsxParseAttribute() { + const node = this.startNode(); + + if (this.eat(types.braceL)) { + this.expect(types.ellipsis); + node.argument = this.parseMaybeAssignAllowIn(); + this.expect(types.braceR); + return this.finishNode(node, "JSXSpreadAttribute"); + } + + node.name = this.jsxParseNamespacedName(); + node.value = this.eat(types.eq) ? this.jsxParseAttributeValue() : null; + return this.finishNode(node, "JSXAttribute"); + } + + jsxParseOpeningElementAt(startPos, startLoc) { + const node = this.startNodeAt(startPos, startLoc); + + if (this.match(types.jsxTagEnd)) { + this.expect(types.jsxTagEnd); + return this.finishNode(node, "JSXOpeningFragment"); + } + + node.name = this.jsxParseElementName(); + return this.jsxParseOpeningElementAfterName(node); + } + + jsxParseOpeningElementAfterName(node) { + const attributes = []; + + while (!this.match(types.slash) && !this.match(types.jsxTagEnd)) { + attributes.push(this.jsxParseAttribute()); + } + + node.attributes = attributes; + node.selfClosing = this.eat(types.slash); + this.expect(types.jsxTagEnd); + return this.finishNode(node, "JSXOpeningElement"); + } + + jsxParseClosingElementAt(startPos, startLoc) { + const node = this.startNodeAt(startPos, startLoc); + + if (this.match(types.jsxTagEnd)) { + this.expect(types.jsxTagEnd); + return this.finishNode(node, "JSXClosingFragment"); + } + + node.name = this.jsxParseElementName(); + this.expect(types.jsxTagEnd); + return this.finishNode(node, "JSXClosingElement"); + } + + jsxParseElementAt(startPos, startLoc) { + const node = this.startNodeAt(startPos, startLoc); + const children = []; + const openingElement = this.jsxParseOpeningElementAt(startPos, startLoc); + let closingElement = null; + + if (!openingElement.selfClosing) { + contents: for (;;) { + switch (this.state.type) { + case types.jsxTagStart: + startPos = this.state.start; + startLoc = this.state.startLoc; + this.next(); + + if (this.eat(types.slash)) { + closingElement = this.jsxParseClosingElementAt(startPos, startLoc); + break contents; + } + + children.push(this.jsxParseElementAt(startPos, startLoc)); + break; + + case types.jsxText: + children.push(this.parseExprAtom()); + break; + + case types.braceL: + { + const node = this.startNode(); + this.next(); + + if (this.match(types.ellipsis)) { + children.push(this.jsxParseSpreadChild(node)); + } else { + children.push(this.jsxParseExpressionContainer(node)); + } + + break; + } + + default: + throw this.unexpected(); + } + } + + if (isFragment(openingElement) && !isFragment(closingElement)) { + this.raise(closingElement.start, JsxErrors.MissingClosingTagFragment); + } else if (!isFragment(openingElement) && isFragment(closingElement)) { + this.raise(closingElement.start, JsxErrors.MissingClosingTagElement, getQualifiedJSXName(openingElement.name)); + } else if (!isFragment(openingElement) && !isFragment(closingElement)) { + if (getQualifiedJSXName(closingElement.name) !== getQualifiedJSXName(openingElement.name)) { + this.raise(closingElement.start, JsxErrors.MissingClosingTagElement, getQualifiedJSXName(openingElement.name)); + } + } + } + + if (isFragment(openingElement)) { + node.openingFragment = openingElement; + node.closingFragment = closingElement; + } else { + node.openingElement = openingElement; + node.closingElement = closingElement; + } + + node.children = children; + + if (this.isRelational("<")) { + throw this.raise(this.state.start, JsxErrors.UnwrappedAdjacentJSXElements); + } + + return isFragment(openingElement) ? this.finishNode(node, "JSXFragment") : this.finishNode(node, "JSXElement"); + } + + jsxParseElement() { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + this.next(); + return this.jsxParseElementAt(startPos, startLoc); + } + + parseExprAtom(refExpressionErrors) { + if (this.match(types.jsxText)) { + return this.parseLiteral(this.state.value, "JSXText"); + } else if (this.match(types.jsxTagStart)) { + return this.jsxParseElement(); + } else if (this.isRelational("<") && this.input.charCodeAt(this.state.pos) !== 33) { + this.finishToken(types.jsxTagStart); + return this.jsxParseElement(); + } else { + return super.parseExprAtom(refExpressionErrors); + } + } + + getTokenFromCode(code) { + if (this.state.inPropertyName) return super.getTokenFromCode(code); + const context = this.curContext(); + + if (context === types$1.j_expr) { + return this.jsxReadToken(); + } + + if (context === types$1.j_oTag || context === types$1.j_cTag) { + if (isIdentifierStart(code)) { + return this.jsxReadWord(); + } + + if (code === 62) { + ++this.state.pos; + return this.finishToken(types.jsxTagEnd); + } + + if ((code === 34 || code === 39) && context === types$1.j_oTag) { + return this.jsxReadString(code); + } + } + + if (code === 60 && this.state.exprAllowed && this.input.charCodeAt(this.state.pos + 1) !== 33) { + ++this.state.pos; + return this.finishToken(types.jsxTagStart); + } + + return super.getTokenFromCode(code); + } + + updateContext(prevType) { + if (this.match(types.braceL)) { + const curContext = this.curContext(); + + if (curContext === types$1.j_oTag) { + this.state.context.push(types$1.braceExpression); + } else if (curContext === types$1.j_expr) { + this.state.context.push(types$1.templateQuasi); + } else { + super.updateContext(prevType); + } + + this.state.exprAllowed = true; + } else if (this.match(types.slash) && prevType === types.jsxTagStart) { + this.state.context.length -= 2; + this.state.context.push(types$1.j_cTag); + this.state.exprAllowed = false; + } else { + return super.updateContext(prevType); + } + } + +}); + +class Scope { + constructor(flags) { + this.var = []; + this.lexical = []; + this.functions = []; + this.flags = flags; + } + +} +class ScopeHandler { + constructor(raise, inModule) { + this.scopeStack = []; + this.undefinedExports = new Map(); + this.undefinedPrivateNames = new Map(); + this.raise = raise; + this.inModule = inModule; + } + + get inFunction() { + return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0; + } + + get allowSuper() { + return (this.currentThisScope().flags & SCOPE_SUPER) > 0; + } + + get allowDirectSuper() { + return (this.currentThisScope().flags & SCOPE_DIRECT_SUPER) > 0; + } + + get inClass() { + return (this.currentThisScope().flags & SCOPE_CLASS) > 0; + } + + get inNonArrowFunction() { + return (this.currentThisScope().flags & SCOPE_FUNCTION) > 0; + } + + get treatFunctionsAsVar() { + return this.treatFunctionsAsVarInScope(this.currentScope()); + } + + createScope(flags) { + return new Scope(flags); + } + + enter(flags) { + this.scopeStack.push(this.createScope(flags)); + } + + exit() { + this.scopeStack.pop(); + } + + treatFunctionsAsVarInScope(scope) { + return !!(scope.flags & SCOPE_FUNCTION || !this.inModule && scope.flags & SCOPE_PROGRAM); + } + + declareName(name, bindingType, pos) { + let scope = this.currentScope(); + + if (bindingType & BIND_SCOPE_LEXICAL || bindingType & BIND_SCOPE_FUNCTION) { + this.checkRedeclarationInScope(scope, name, bindingType, pos); + + if (bindingType & BIND_SCOPE_FUNCTION) { + scope.functions.push(name); + } else { + scope.lexical.push(name); + } + + if (bindingType & BIND_SCOPE_LEXICAL) { + this.maybeExportDefined(scope, name); + } + } else if (bindingType & BIND_SCOPE_VAR) { + for (let i = this.scopeStack.length - 1; i >= 0; --i) { + scope = this.scopeStack[i]; + this.checkRedeclarationInScope(scope, name, bindingType, pos); + scope.var.push(name); + this.maybeExportDefined(scope, name); + if (scope.flags & SCOPE_VAR) break; + } + } + + if (this.inModule && scope.flags & SCOPE_PROGRAM) { + this.undefinedExports.delete(name); + } + } + + maybeExportDefined(scope, name) { + if (this.inModule && scope.flags & SCOPE_PROGRAM) { + this.undefinedExports.delete(name); + } + } + + checkRedeclarationInScope(scope, name, bindingType, pos) { + if (this.isRedeclaredInScope(scope, name, bindingType)) { + this.raise(pos, ErrorMessages.VarRedeclaration, name); + } + } + + isRedeclaredInScope(scope, name, bindingType) { + if (!(bindingType & BIND_KIND_VALUE)) return false; + + if (bindingType & BIND_SCOPE_LEXICAL) { + return scope.lexical.indexOf(name) > -1 || scope.functions.indexOf(name) > -1 || scope.var.indexOf(name) > -1; + } + + if (bindingType & BIND_SCOPE_FUNCTION) { + return scope.lexical.indexOf(name) > -1 || !this.treatFunctionsAsVarInScope(scope) && scope.var.indexOf(name) > -1; + } + + return scope.lexical.indexOf(name) > -1 && !(scope.flags & SCOPE_SIMPLE_CATCH && scope.lexical[0] === name) || !this.treatFunctionsAsVarInScope(scope) && scope.functions.indexOf(name) > -1; + } + + checkLocalExport(id) { + if (this.scopeStack[0].lexical.indexOf(id.name) === -1 && this.scopeStack[0].var.indexOf(id.name) === -1 && this.scopeStack[0].functions.indexOf(id.name) === -1) { + this.undefinedExports.set(id.name, id.start); + } + } + + currentScope() { + return this.scopeStack[this.scopeStack.length - 1]; + } + + currentVarScope() { + for (let i = this.scopeStack.length - 1;; i--) { + const scope = this.scopeStack[i]; + + if (scope.flags & SCOPE_VAR) { + return scope; + } + } + } + + currentThisScope() { + for (let i = this.scopeStack.length - 1;; i--) { + const scope = this.scopeStack[i]; + + if ((scope.flags & SCOPE_VAR || scope.flags & SCOPE_CLASS) && !(scope.flags & SCOPE_ARROW)) { + return scope; + } + } + } + +} + +class TypeScriptScope extends Scope { + constructor(...args) { + super(...args); + this.types = []; + this.enums = []; + this.constEnums = []; + this.classes = []; + this.exportOnlyBindings = []; + } + +} + +class TypeScriptScopeHandler extends ScopeHandler { + createScope(flags) { + return new TypeScriptScope(flags); + } + + declareName(name, bindingType, pos) { + const scope = this.currentScope(); + + if (bindingType & BIND_FLAGS_TS_EXPORT_ONLY) { + this.maybeExportDefined(scope, name); + scope.exportOnlyBindings.push(name); + return; + } + + super.declareName(...arguments); + + if (bindingType & BIND_KIND_TYPE) { + if (!(bindingType & BIND_KIND_VALUE)) { + this.checkRedeclarationInScope(scope, name, bindingType, pos); + this.maybeExportDefined(scope, name); + } + + scope.types.push(name); + } + + if (bindingType & BIND_FLAGS_TS_ENUM) scope.enums.push(name); + if (bindingType & BIND_FLAGS_TS_CONST_ENUM) scope.constEnums.push(name); + if (bindingType & BIND_FLAGS_CLASS) scope.classes.push(name); + } + + isRedeclaredInScope(scope, name, bindingType) { + if (scope.enums.indexOf(name) > -1) { + if (bindingType & BIND_FLAGS_TS_ENUM) { + const isConst = !!(bindingType & BIND_FLAGS_TS_CONST_ENUM); + const wasConst = scope.constEnums.indexOf(name) > -1; + return isConst !== wasConst; + } + + return true; + } + + if (bindingType & BIND_FLAGS_CLASS && scope.classes.indexOf(name) > -1) { + if (scope.lexical.indexOf(name) > -1) { + return !!(bindingType & BIND_KIND_VALUE); + } else { + return false; + } + } + + if (bindingType & BIND_KIND_TYPE && scope.types.indexOf(name) > -1) { + return true; + } + + return super.isRedeclaredInScope(...arguments); + } + + checkLocalExport(id) { + if (this.scopeStack[0].types.indexOf(id.name) === -1 && this.scopeStack[0].exportOnlyBindings.indexOf(id.name) === -1) { + super.checkLocalExport(id); + } + } + +} + +const PARAM = 0b0000, + PARAM_YIELD = 0b0001, + PARAM_AWAIT = 0b0010, + PARAM_RETURN = 0b0100, + PARAM_IN = 0b1000; +class ProductionParameterHandler { + constructor() { + this.stacks = []; + } + + enter(flags) { + this.stacks.push(flags); + } + + exit() { + this.stacks.pop(); + } + + currentFlags() { + return this.stacks[this.stacks.length - 1]; + } + + get hasAwait() { + return (this.currentFlags() & PARAM_AWAIT) > 0; + } + + get hasYield() { + return (this.currentFlags() & PARAM_YIELD) > 0; + } + + get hasReturn() { + return (this.currentFlags() & PARAM_RETURN) > 0; + } + + get hasIn() { + return (this.currentFlags() & PARAM_IN) > 0; + } + +} +function functionFlags(isAsync, isGenerator) { + return (isAsync ? PARAM_AWAIT : 0) | (isGenerator ? PARAM_YIELD : 0); +} + +function nonNull(x) { + if (x == null) { + throw new Error(`Unexpected ${x} value.`); + } + + return x; +} + +function assert(x) { + if (!x) { + throw new Error("Assert fail"); + } +} + +const TSErrors = Object.freeze({ + ClassMethodHasDeclare: "Class methods cannot have the 'declare' modifier", + ClassMethodHasReadonly: "Class methods cannot have the 'readonly' modifier", + DeclareClassFieldHasInitializer: "'declare' class fields cannot have an initializer", + DuplicateModifier: "Duplicate modifier: '%0'", + EmptyHeritageClauseType: "'%0' list cannot be empty.", + IndexSignatureHasAbstract: "Index signatures cannot have the 'abstract' modifier", + IndexSignatureHasAccessibility: "Index signatures cannot have an accessibility modifier ('%0')", + IndexSignatureHasStatic: "Index signatures cannot have the 'static' modifier", + InvalidTupleMemberLabel: "Tuple members must be labeled with a simple identifier.", + MixedLabeledAndUnlabeledElements: "Tuple members must all have names or all not have names.", + OptionalTypeBeforeRequired: "A required element cannot follow an optional element.", + PatternIsOptional: "A binding pattern parameter cannot be optional in an implementation signature.", + PrivateElementHasAbstract: "Private elements cannot have the 'abstract' modifier.", + PrivateElementHasAccessibility: "Private elements cannot have an accessibility modifier ('%0')", + TemplateTypeHasSubstitution: "Template literal types cannot have any substitution", + TypeAnnotationAfterAssign: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`", + UnexpectedReadonly: "'readonly' type modifier is only permitted on array and tuple literal types.", + UnexpectedTypeAnnotation: "Did not expect a type annotation here.", + UnexpectedTypeCastInParameter: "Unexpected type cast in parameter position.", + UnsupportedImportTypeArgument: "Argument in a type import must be a string literal", + UnsupportedParameterPropertyKind: "A parameter property may not be declared using a binding pattern.", + UnsupportedSignatureParameterKind: "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0" +}); + +function keywordTypeFromName(value) { + switch (value) { + case "any": + return "TSAnyKeyword"; + + case "boolean": + return "TSBooleanKeyword"; + + case "bigint": + return "TSBigIntKeyword"; + + case "never": + return "TSNeverKeyword"; + + case "number": + return "TSNumberKeyword"; + + case "object": + return "TSObjectKeyword"; + + case "string": + return "TSStringKeyword"; + + case "symbol": + return "TSSymbolKeyword"; + + case "undefined": + return "TSUndefinedKeyword"; + + case "unknown": + return "TSUnknownKeyword"; + + default: + return undefined; + } +} + +var typescript = (superClass => class extends superClass { + getScopeHandler() { + return TypeScriptScopeHandler; + } + + tsIsIdentifier() { + return this.match(types.name); + } + + tsNextTokenCanFollowModifier() { + this.next(); + return !this.hasPrecedingLineBreak() && !this.match(types.parenL) && !this.match(types.parenR) && !this.match(types.colon) && !this.match(types.eq) && !this.match(types.question) && !this.match(types.bang); + } + + tsParseModifier(allowedModifiers) { + if (!this.match(types.name)) { + return undefined; + } + + const modifier = this.state.value; + + if (allowedModifiers.indexOf(modifier) !== -1 && this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))) { + return modifier; + } + + return undefined; + } + + tsParseModifiers(modified, allowedModifiers) { + for (;;) { + const startPos = this.state.start; + const modifier = this.tsParseModifier(allowedModifiers); + if (!modifier) break; + + if (Object.hasOwnProperty.call(modified, modifier)) { + this.raise(startPos, TSErrors.DuplicateModifier, modifier); + } + + modified[modifier] = true; + } + } + + tsIsListTerminator(kind) { + switch (kind) { + case "EnumMembers": + case "TypeMembers": + return this.match(types.braceR); + + case "HeritageClauseElement": + return this.match(types.braceL); + + case "TupleElementTypes": + return this.match(types.bracketR); + + case "TypeParametersOrArguments": + return this.isRelational(">"); + } + + throw new Error("Unreachable"); + } + + tsParseList(kind, parseElement) { + const result = []; + + while (!this.tsIsListTerminator(kind)) { + result.push(parseElement()); + } + + return result; + } + + tsParseDelimitedList(kind, parseElement) { + return nonNull(this.tsParseDelimitedListWorker(kind, parseElement, true)); + } + + tsParseDelimitedListWorker(kind, parseElement, expectSuccess) { + const result = []; + + for (;;) { + if (this.tsIsListTerminator(kind)) { + break; + } + + const element = parseElement(); + + if (element == null) { + return undefined; + } + + result.push(element); + + if (this.eat(types.comma)) { + continue; + } + + if (this.tsIsListTerminator(kind)) { + break; + } + + if (expectSuccess) { + this.expect(types.comma); + } + + return undefined; + } + + return result; + } + + tsParseBracketedList(kind, parseElement, bracket, skipFirstToken) { + if (!skipFirstToken) { + if (bracket) { + this.expect(types.bracketL); + } else { + this.expectRelational("<"); + } + } + + const result = this.tsParseDelimitedList(kind, parseElement); + + if (bracket) { + this.expect(types.bracketR); + } else { + this.expectRelational(">"); + } + + return result; + } + + tsParseImportType() { + const node = this.startNode(); + this.expect(types._import); + this.expect(types.parenL); + + if (!this.match(types.string)) { + this.raise(this.state.start, TSErrors.UnsupportedImportTypeArgument); + } + + node.argument = this.parseExprAtom(); + this.expect(types.parenR); + + if (this.eat(types.dot)) { + node.qualifier = this.tsParseEntityName(true); + } + + if (this.isRelational("<")) { + node.typeParameters = this.tsParseTypeArguments(); + } + + return this.finishNode(node, "TSImportType"); + } + + tsParseEntityName(allowReservedWords) { + let entity = this.parseIdentifier(); + + while (this.eat(types.dot)) { + const node = this.startNodeAtNode(entity); + node.left = entity; + node.right = this.parseIdentifier(allowReservedWords); + entity = this.finishNode(node, "TSQualifiedName"); + } + + return entity; + } + + tsParseTypeReference() { + const node = this.startNode(); + node.typeName = this.tsParseEntityName(false); + + if (!this.hasPrecedingLineBreak() && this.isRelational("<")) { + node.typeParameters = this.tsParseTypeArguments(); + } + + return this.finishNode(node, "TSTypeReference"); + } + + tsParseThisTypePredicate(lhs) { + this.next(); + const node = this.startNodeAtNode(lhs); + node.parameterName = lhs; + node.typeAnnotation = this.tsParseTypeAnnotation(false); + return this.finishNode(node, "TSTypePredicate"); + } + + tsParseThisTypeNode() { + const node = this.startNode(); + this.next(); + return this.finishNode(node, "TSThisType"); + } + + tsParseTypeQuery() { + const node = this.startNode(); + this.expect(types._typeof); + + if (this.match(types._import)) { + node.exprName = this.tsParseImportType(); + } else { + node.exprName = this.tsParseEntityName(true); + } + + return this.finishNode(node, "TSTypeQuery"); + } + + tsParseTypeParameter() { + const node = this.startNode(); + node.name = this.parseIdentifierName(node.start); + node.constraint = this.tsEatThenParseType(types._extends); + node.default = this.tsEatThenParseType(types.eq); + return this.finishNode(node, "TSTypeParameter"); + } + + tsTryParseTypeParameters() { + if (this.isRelational("<")) { + return this.tsParseTypeParameters(); + } + } + + tsParseTypeParameters() { + const node = this.startNode(); + + if (this.isRelational("<") || this.match(types.jsxTagStart)) { + this.next(); + } else { + this.unexpected(); + } + + node.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this), false, true); + return this.finishNode(node, "TSTypeParameterDeclaration"); + } + + tsTryNextParseConstantContext() { + if (this.lookahead().type === types._const) { + this.next(); + return this.tsParseTypeReference(); + } + + return null; + } + + tsFillSignature(returnToken, signature) { + const returnTokenRequired = returnToken === types.arrow; + signature.typeParameters = this.tsTryParseTypeParameters(); + this.expect(types.parenL); + signature.parameters = this.tsParseBindingListForSignature(); + + if (returnTokenRequired) { + signature.typeAnnotation = this.tsParseTypeOrTypePredicateAnnotation(returnToken); + } else if (this.match(returnToken)) { + signature.typeAnnotation = this.tsParseTypeOrTypePredicateAnnotation(returnToken); + } + } + + tsParseBindingListForSignature() { + return this.parseBindingList(types.parenR, 41).map(pattern => { + if (pattern.type !== "Identifier" && pattern.type !== "RestElement" && pattern.type !== "ObjectPattern" && pattern.type !== "ArrayPattern") { + this.raise(pattern.start, TSErrors.UnsupportedSignatureParameterKind, pattern.type); + } + + return pattern; + }); + } + + tsParseTypeMemberSemicolon() { + if (!this.eat(types.comma)) { + this.semicolon(); + } + } + + tsParseSignatureMember(kind, node) { + this.tsFillSignature(types.colon, node); + this.tsParseTypeMemberSemicolon(); + return this.finishNode(node, kind); + } + + tsIsUnambiguouslyIndexSignature() { + this.next(); + return this.eat(types.name) && this.match(types.colon); + } + + tsTryParseIndexSignature(node) { + if (!(this.match(types.bracketL) && this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))) { + return undefined; + } + + this.expect(types.bracketL); + const id = this.parseIdentifier(); + id.typeAnnotation = this.tsParseTypeAnnotation(); + this.resetEndLocation(id); + this.expect(types.bracketR); + node.parameters = [id]; + const type = this.tsTryParseTypeAnnotation(); + if (type) node.typeAnnotation = type; + this.tsParseTypeMemberSemicolon(); + return this.finishNode(node, "TSIndexSignature"); + } + + tsParsePropertyOrMethodSignature(node, readonly) { + if (this.eat(types.question)) node.optional = true; + const nodeAny = node; + + if (!readonly && (this.match(types.parenL) || this.isRelational("<"))) { + const method = nodeAny; + this.tsFillSignature(types.colon, method); + this.tsParseTypeMemberSemicolon(); + return this.finishNode(method, "TSMethodSignature"); + } else { + const property = nodeAny; + if (readonly) property.readonly = true; + const type = this.tsTryParseTypeAnnotation(); + if (type) property.typeAnnotation = type; + this.tsParseTypeMemberSemicolon(); + return this.finishNode(property, "TSPropertySignature"); + } + } + + tsParseTypeMember() { + const node = this.startNode(); + + if (this.match(types.parenL) || this.isRelational("<")) { + return this.tsParseSignatureMember("TSCallSignatureDeclaration", node); + } + + if (this.match(types._new)) { + const id = this.startNode(); + this.next(); + + if (this.match(types.parenL) || this.isRelational("<")) { + return this.tsParseSignatureMember("TSConstructSignatureDeclaration", node); + } else { + node.key = this.createIdentifier(id, "new"); + return this.tsParsePropertyOrMethodSignature(node, false); + } + } + + const readonly = !!this.tsParseModifier(["readonly"]); + const idx = this.tsTryParseIndexSignature(node); + + if (idx) { + if (readonly) node.readonly = true; + return idx; + } + + this.parsePropertyName(node, false); + return this.tsParsePropertyOrMethodSignature(node, readonly); + } + + tsParseTypeLiteral() { + const node = this.startNode(); + node.members = this.tsParseObjectTypeMembers(); + return this.finishNode(node, "TSTypeLiteral"); + } + + tsParseObjectTypeMembers() { + this.expect(types.braceL); + const members = this.tsParseList("TypeMembers", this.tsParseTypeMember.bind(this)); + this.expect(types.braceR); + return members; + } + + tsIsStartOfMappedType() { + this.next(); + + if (this.eat(types.plusMin)) { + return this.isContextual("readonly"); + } + + if (this.isContextual("readonly")) { + this.next(); + } + + if (!this.match(types.bracketL)) { + return false; + } + + this.next(); + + if (!this.tsIsIdentifier()) { + return false; + } + + this.next(); + return this.match(types._in); + } + + tsParseMappedTypeParameter() { + const node = this.startNode(); + node.name = this.parseIdentifierName(node.start); + node.constraint = this.tsExpectThenParseType(types._in); + return this.finishNode(node, "TSTypeParameter"); + } + + tsParseMappedType() { + const node = this.startNode(); + this.expect(types.braceL); + + if (this.match(types.plusMin)) { + node.readonly = this.state.value; + this.next(); + this.expectContextual("readonly"); + } else if (this.eatContextual("readonly")) { + node.readonly = true; + } + + this.expect(types.bracketL); + node.typeParameter = this.tsParseMappedTypeParameter(); + this.expect(types.bracketR); + + if (this.match(types.plusMin)) { + node.optional = this.state.value; + this.next(); + this.expect(types.question); + } else if (this.eat(types.question)) { + node.optional = true; + } + + node.typeAnnotation = this.tsTryParseType(); + this.semicolon(); + this.expect(types.braceR); + return this.finishNode(node, "TSMappedType"); + } + + tsParseTupleType() { + const node = this.startNode(); + node.elementTypes = this.tsParseBracketedList("TupleElementTypes", this.tsParseTupleElementType.bind(this), true, false); + let seenOptionalElement = false; + let labeledElements = null; + node.elementTypes.forEach(elementNode => { + var _labeledElements; + + let { + type + } = elementNode; + + if (seenOptionalElement && type !== "TSRestType" && type !== "TSOptionalType" && !(type === "TSNamedTupleMember" && elementNode.optional)) { + this.raise(elementNode.start, TSErrors.OptionalTypeBeforeRequired); + } + + seenOptionalElement = seenOptionalElement || type === "TSNamedTupleMember" && elementNode.optional || type === "TSOptionalType"; + + if (type === "TSRestType") { + elementNode = elementNode.typeAnnotation; + type = elementNode.type; + } + + const isLabeled = type === "TSNamedTupleMember"; + labeledElements = (_labeledElements = labeledElements) != null ? _labeledElements : isLabeled; + + if (labeledElements !== isLabeled) { + this.raise(elementNode.start, TSErrors.MixedLabeledAndUnlabeledElements); + } + }); + return this.finishNode(node, "TSTupleType"); + } + + tsParseTupleElementType() { + const { + start: startPos, + startLoc + } = this.state; + const rest = this.eat(types.ellipsis); + let type = this.tsParseType(); + const optional = this.eat(types.question); + const labeled = this.eat(types.colon); + + if (labeled) { + const labeledNode = this.startNodeAtNode(type); + labeledNode.optional = optional; + + if (type.type === "TSTypeReference" && !type.typeParameters && type.typeName.type === "Identifier") { + labeledNode.label = type.typeName; + } else { + this.raise(type.start, TSErrors.InvalidTupleMemberLabel); + labeledNode.label = type; + } + + labeledNode.elementType = this.tsParseType(); + type = this.finishNode(labeledNode, "TSNamedTupleMember"); + } else if (optional) { + const optionalTypeNode = this.startNodeAtNode(type); + optionalTypeNode.typeAnnotation = type; + type = this.finishNode(optionalTypeNode, "TSOptionalType"); + } + + if (rest) { + const restNode = this.startNodeAt(startPos, startLoc); + restNode.typeAnnotation = type; + type = this.finishNode(restNode, "TSRestType"); + } + + return type; + } + + tsParseParenthesizedType() { + const node = this.startNode(); + this.expect(types.parenL); + node.typeAnnotation = this.tsParseType(); + this.expect(types.parenR); + return this.finishNode(node, "TSParenthesizedType"); + } + + tsParseFunctionOrConstructorType(type) { + const node = this.startNode(); + + if (type === "TSConstructorType") { + this.expect(types._new); + } + + this.tsFillSignature(types.arrow, node); + return this.finishNode(node, type); + } + + tsParseLiteralTypeNode() { + const node = this.startNode(); + + node.literal = (() => { + switch (this.state.type) { + case types.num: + case types.bigint: + case types.string: + case types._true: + case types._false: + return this.parseExprAtom(); + + default: + throw this.unexpected(); + } + })(); + + return this.finishNode(node, "TSLiteralType"); + } + + tsParseTemplateLiteralType() { + const node = this.startNode(); + const templateNode = this.parseTemplate(false); + + if (templateNode.expressions.length > 0) { + this.raise(templateNode.expressions[0].start, TSErrors.TemplateTypeHasSubstitution); + } + + node.literal = templateNode; + return this.finishNode(node, "TSLiteralType"); + } + + tsParseThisTypeOrThisTypePredicate() { + const thisKeyword = this.tsParseThisTypeNode(); + + if (this.isContextual("is") && !this.hasPrecedingLineBreak()) { + return this.tsParseThisTypePredicate(thisKeyword); + } else { + return thisKeyword; + } + } + + tsParseNonArrayType() { + switch (this.state.type) { + case types.name: + case types._void: + case types._null: + { + const type = this.match(types._void) ? "TSVoidKeyword" : this.match(types._null) ? "TSNullKeyword" : keywordTypeFromName(this.state.value); + + if (type !== undefined && this.lookaheadCharCode() !== 46) { + const node = this.startNode(); + this.next(); + return this.finishNode(node, type); + } + + return this.tsParseTypeReference(); + } + + case types.string: + case types.num: + case types.bigint: + case types._true: + case types._false: + return this.tsParseLiteralTypeNode(); + + case types.plusMin: + if (this.state.value === "-") { + const node = this.startNode(); + const nextToken = this.lookahead(); + + if (nextToken.type !== types.num && nextToken.type !== types.bigint) { + throw this.unexpected(); + } + + node.literal = this.parseMaybeUnary(); + return this.finishNode(node, "TSLiteralType"); + } + + break; + + case types._this: + return this.tsParseThisTypeOrThisTypePredicate(); + + case types._typeof: + return this.tsParseTypeQuery(); + + case types._import: + return this.tsParseImportType(); + + case types.braceL: + return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this)) ? this.tsParseMappedType() : this.tsParseTypeLiteral(); + + case types.bracketL: + return this.tsParseTupleType(); + + case types.parenL: + return this.tsParseParenthesizedType(); + + case types.backQuote: + return this.tsParseTemplateLiteralType(); + } + + throw this.unexpected(); + } + + tsParseArrayTypeOrHigher() { + let type = this.tsParseNonArrayType(); + + while (!this.hasPrecedingLineBreak() && this.eat(types.bracketL)) { + if (this.match(types.bracketR)) { + const node = this.startNodeAtNode(type); + node.elementType = type; + this.expect(types.bracketR); + type = this.finishNode(node, "TSArrayType"); + } else { + const node = this.startNodeAtNode(type); + node.objectType = type; + node.indexType = this.tsParseType(); + this.expect(types.bracketR); + type = this.finishNode(node, "TSIndexedAccessType"); + } + } + + return type; + } + + tsParseTypeOperator(operator) { + const node = this.startNode(); + this.expectContextual(operator); + node.operator = operator; + node.typeAnnotation = this.tsParseTypeOperatorOrHigher(); + + if (operator === "readonly") { + this.tsCheckTypeAnnotationForReadOnly(node); + } + + return this.finishNode(node, "TSTypeOperator"); + } + + tsCheckTypeAnnotationForReadOnly(node) { + switch (node.typeAnnotation.type) { + case "TSTupleType": + case "TSArrayType": + return; + + default: + this.raise(node.start, TSErrors.UnexpectedReadonly); + } + } + + tsParseInferType() { + const node = this.startNode(); + this.expectContextual("infer"); + const typeParameter = this.startNode(); + typeParameter.name = this.parseIdentifierName(typeParameter.start); + node.typeParameter = this.finishNode(typeParameter, "TSTypeParameter"); + return this.finishNode(node, "TSInferType"); + } + + tsParseTypeOperatorOrHigher() { + const operator = ["keyof", "unique", "readonly"].find(kw => this.isContextual(kw)); + return operator ? this.tsParseTypeOperator(operator) : this.isContextual("infer") ? this.tsParseInferType() : this.tsParseArrayTypeOrHigher(); + } + + tsParseUnionOrIntersectionType(kind, parseConstituentType, operator) { + this.eat(operator); + let type = parseConstituentType(); + + if (this.match(operator)) { + const types = [type]; + + while (this.eat(operator)) { + types.push(parseConstituentType()); + } + + const node = this.startNodeAtNode(type); + node.types = types; + type = this.finishNode(node, kind); + } + + return type; + } + + tsParseIntersectionTypeOrHigher() { + return this.tsParseUnionOrIntersectionType("TSIntersectionType", this.tsParseTypeOperatorOrHigher.bind(this), types.bitwiseAND); + } + + tsParseUnionTypeOrHigher() { + return this.tsParseUnionOrIntersectionType("TSUnionType", this.tsParseIntersectionTypeOrHigher.bind(this), types.bitwiseOR); + } + + tsIsStartOfFunctionType() { + if (this.isRelational("<")) { + return true; + } + + return this.match(types.parenL) && this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this)); + } + + tsSkipParameterStart() { + if (this.match(types.name) || this.match(types._this)) { + this.next(); + return true; + } + + if (this.match(types.braceL)) { + let braceStackCounter = 1; + this.next(); + + while (braceStackCounter > 0) { + if (this.match(types.braceL)) { + ++braceStackCounter; + } else if (this.match(types.braceR)) { + --braceStackCounter; + } + + this.next(); + } + + return true; + } + + if (this.match(types.bracketL)) { + let braceStackCounter = 1; + this.next(); + + while (braceStackCounter > 0) { + if (this.match(types.bracketL)) { + ++braceStackCounter; + } else if (this.match(types.bracketR)) { + --braceStackCounter; + } + + this.next(); + } + + return true; + } + + return false; + } + + tsIsUnambiguouslyStartOfFunctionType() { + this.next(); + + if (this.match(types.parenR) || this.match(types.ellipsis)) { + return true; + } + + if (this.tsSkipParameterStart()) { + if (this.match(types.colon) || this.match(types.comma) || this.match(types.question) || this.match(types.eq)) { + return true; + } + + if (this.match(types.parenR)) { + this.next(); + + if (this.match(types.arrow)) { + return true; + } + } + } + + return false; + } + + tsParseTypeOrTypePredicateAnnotation(returnToken) { + return this.tsInType(() => { + const t = this.startNode(); + this.expect(returnToken); + const asserts = this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this)); + + if (asserts && this.match(types._this)) { + let thisTypePredicate = this.tsParseThisTypeOrThisTypePredicate(); + + if (thisTypePredicate.type === "TSThisType") { + const node = this.startNodeAtNode(t); + node.parameterName = thisTypePredicate; + node.asserts = true; + thisTypePredicate = this.finishNode(node, "TSTypePredicate"); + } else { + thisTypePredicate.asserts = true; + } + + t.typeAnnotation = thisTypePredicate; + return this.finishNode(t, "TSTypeAnnotation"); + } + + const typePredicateVariable = this.tsIsIdentifier() && this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this)); + + if (!typePredicateVariable) { + if (!asserts) { + return this.tsParseTypeAnnotation(false, t); + } + + const node = this.startNodeAtNode(t); + node.parameterName = this.parseIdentifier(); + node.asserts = asserts; + t.typeAnnotation = this.finishNode(node, "TSTypePredicate"); + return this.finishNode(t, "TSTypeAnnotation"); + } + + const type = this.tsParseTypeAnnotation(false); + const node = this.startNodeAtNode(t); + node.parameterName = typePredicateVariable; + node.typeAnnotation = type; + node.asserts = asserts; + t.typeAnnotation = this.finishNode(node, "TSTypePredicate"); + return this.finishNode(t, "TSTypeAnnotation"); + }); + } + + tsTryParseTypeOrTypePredicateAnnotation() { + return this.match(types.colon) ? this.tsParseTypeOrTypePredicateAnnotation(types.colon) : undefined; + } + + tsTryParseTypeAnnotation() { + return this.match(types.colon) ? this.tsParseTypeAnnotation() : undefined; + } + + tsTryParseType() { + return this.tsEatThenParseType(types.colon); + } + + tsParseTypePredicatePrefix() { + const id = this.parseIdentifier(); + + if (this.isContextual("is") && !this.hasPrecedingLineBreak()) { + this.next(); + return id; + } + } + + tsParseTypePredicateAsserts() { + if (!this.match(types.name) || this.state.value !== "asserts" || this.hasPrecedingLineBreak()) { + return false; + } + + const containsEsc = this.state.containsEsc; + this.next(); + + if (!this.match(types.name) && !this.match(types._this)) { + return false; + } + + if (containsEsc) { + this.raise(this.state.lastTokStart, ErrorMessages.InvalidEscapedReservedWord, "asserts"); + } + + return true; + } + + tsParseTypeAnnotation(eatColon = true, t = this.startNode()) { + this.tsInType(() => { + if (eatColon) this.expect(types.colon); + t.typeAnnotation = this.tsParseType(); + }); + return this.finishNode(t, "TSTypeAnnotation"); + } + + tsParseType() { + assert(this.state.inType); + const type = this.tsParseNonConditionalType(); + + if (this.hasPrecedingLineBreak() || !this.eat(types._extends)) { + return type; + } + + const node = this.startNodeAtNode(type); + node.checkType = type; + node.extendsType = this.tsParseNonConditionalType(); + this.expect(types.question); + node.trueType = this.tsParseType(); + this.expect(types.colon); + node.falseType = this.tsParseType(); + return this.finishNode(node, "TSConditionalType"); + } + + tsParseNonConditionalType() { + if (this.tsIsStartOfFunctionType()) { + return this.tsParseFunctionOrConstructorType("TSFunctionType"); + } + + if (this.match(types._new)) { + return this.tsParseFunctionOrConstructorType("TSConstructorType"); + } + + return this.tsParseUnionTypeOrHigher(); + } + + tsParseTypeAssertion() { + const node = this.startNode(); + + const _const = this.tsTryNextParseConstantContext(); + + node.typeAnnotation = _const || this.tsNextThenParseType(); + this.expectRelational(">"); + node.expression = this.parseMaybeUnary(); + return this.finishNode(node, "TSTypeAssertion"); + } + + tsParseHeritageClause(descriptor) { + const originalStart = this.state.start; + const delimitedList = this.tsParseDelimitedList("HeritageClauseElement", this.tsParseExpressionWithTypeArguments.bind(this)); + + if (!delimitedList.length) { + this.raise(originalStart, TSErrors.EmptyHeritageClauseType, descriptor); + } + + return delimitedList; + } + + tsParseExpressionWithTypeArguments() { + const node = this.startNode(); + node.expression = this.tsParseEntityName(false); + + if (this.isRelational("<")) { + node.typeParameters = this.tsParseTypeArguments(); + } + + return this.finishNode(node, "TSExpressionWithTypeArguments"); + } + + tsParseInterfaceDeclaration(node) { + node.id = this.parseIdentifier(); + this.checkLVal(node.id, BIND_TS_INTERFACE, undefined, "typescript interface declaration"); + node.typeParameters = this.tsTryParseTypeParameters(); + + if (this.eat(types._extends)) { + node.extends = this.tsParseHeritageClause("extends"); + } + + const body = this.startNode(); + body.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)); + node.body = this.finishNode(body, "TSInterfaceBody"); + return this.finishNode(node, "TSInterfaceDeclaration"); + } + + tsParseTypeAliasDeclaration(node) { + node.id = this.parseIdentifier(); + this.checkLVal(node.id, BIND_TS_TYPE, undefined, "typescript type alias"); + node.typeParameters = this.tsTryParseTypeParameters(); + node.typeAnnotation = this.tsExpectThenParseType(types.eq); + this.semicolon(); + return this.finishNode(node, "TSTypeAliasDeclaration"); + } + + tsInNoContext(cb) { + const oldContext = this.state.context; + this.state.context = [oldContext[0]]; + + try { + return cb(); + } finally { + this.state.context = oldContext; + } + } + + tsInType(cb) { + const oldInType = this.state.inType; + this.state.inType = true; + + try { + return cb(); + } finally { + this.state.inType = oldInType; + } + } + + tsEatThenParseType(token) { + return !this.match(token) ? undefined : this.tsNextThenParseType(); + } + + tsExpectThenParseType(token) { + return this.tsDoThenParseType(() => this.expect(token)); + } + + tsNextThenParseType() { + return this.tsDoThenParseType(() => this.next()); + } + + tsDoThenParseType(cb) { + return this.tsInType(() => { + cb(); + return this.tsParseType(); + }); + } + + tsParseEnumMember() { + const node = this.startNode(); + node.id = this.match(types.string) ? this.parseExprAtom() : this.parseIdentifier(true); + + if (this.eat(types.eq)) { + node.initializer = this.parseMaybeAssignAllowIn(); + } + + return this.finishNode(node, "TSEnumMember"); + } + + tsParseEnumDeclaration(node, isConst) { + if (isConst) node.const = true; + node.id = this.parseIdentifier(); + this.checkLVal(node.id, isConst ? BIND_TS_CONST_ENUM : BIND_TS_ENUM, undefined, "typescript enum declaration"); + this.expect(types.braceL); + node.members = this.tsParseDelimitedList("EnumMembers", this.tsParseEnumMember.bind(this)); + this.expect(types.braceR); + return this.finishNode(node, "TSEnumDeclaration"); + } + + tsParseModuleBlock() { + const node = this.startNode(); + this.scope.enter(SCOPE_OTHER); + this.expect(types.braceL); + this.parseBlockOrModuleBlockBody(node.body = [], undefined, true, types.braceR); + this.scope.exit(); + return this.finishNode(node, "TSModuleBlock"); + } + + tsParseModuleOrNamespaceDeclaration(node, nested = false) { + node.id = this.parseIdentifier(); + + if (!nested) { + this.checkLVal(node.id, BIND_TS_NAMESPACE, null, "module or namespace declaration"); + } + + if (this.eat(types.dot)) { + const inner = this.startNode(); + this.tsParseModuleOrNamespaceDeclaration(inner, true); + node.body = inner; + } else { + this.scope.enter(SCOPE_TS_MODULE); + this.prodParam.enter(PARAM); + node.body = this.tsParseModuleBlock(); + this.prodParam.exit(); + this.scope.exit(); + } + + return this.finishNode(node, "TSModuleDeclaration"); + } + + tsParseAmbientExternalModuleDeclaration(node) { + if (this.isContextual("global")) { + node.global = true; + node.id = this.parseIdentifier(); + } else if (this.match(types.string)) { + node.id = this.parseExprAtom(); + } else { + this.unexpected(); + } + + if (this.match(types.braceL)) { + this.scope.enter(SCOPE_TS_MODULE); + this.prodParam.enter(PARAM); + node.body = this.tsParseModuleBlock(); + this.prodParam.exit(); + this.scope.exit(); + } else { + this.semicolon(); + } + + return this.finishNode(node, "TSModuleDeclaration"); + } + + tsParseImportEqualsDeclaration(node, isExport) { + node.isExport = isExport || false; + node.id = this.parseIdentifier(); + this.checkLVal(node.id, BIND_LEXICAL, undefined, "import equals declaration"); + this.expect(types.eq); + node.moduleReference = this.tsParseModuleReference(); + this.semicolon(); + return this.finishNode(node, "TSImportEqualsDeclaration"); + } + + tsIsExternalModuleReference() { + return this.isContextual("require") && this.lookaheadCharCode() === 40; + } + + tsParseModuleReference() { + return this.tsIsExternalModuleReference() ? this.tsParseExternalModuleReference() : this.tsParseEntityName(false); + } + + tsParseExternalModuleReference() { + const node = this.startNode(); + this.expectContextual("require"); + this.expect(types.parenL); + + if (!this.match(types.string)) { + throw this.unexpected(); + } + + node.expression = this.parseExprAtom(); + this.expect(types.parenR); + return this.finishNode(node, "TSExternalModuleReference"); + } + + tsLookAhead(f) { + const state = this.state.clone(); + const res = f(); + this.state = state; + return res; + } + + tsTryParseAndCatch(f) { + const result = this.tryParse(abort => f() || abort()); + if (result.aborted || !result.node) return undefined; + if (result.error) this.state = result.failState; + return result.node; + } + + tsTryParse(f) { + const state = this.state.clone(); + const result = f(); + + if (result !== undefined && result !== false) { + return result; + } else { + this.state = state; + return undefined; + } + } + + tsTryParseDeclare(nany) { + if (this.isLineTerminator()) { + return; + } + + let starttype = this.state.type; + let kind; + + if (this.isContextual("let")) { + starttype = types._var; + kind = "let"; + } + + switch (starttype) { + case types._function: + return this.parseFunctionStatement(nany, false, true); + + case types._class: + nany.declare = true; + return this.parseClass(nany, true, false); + + case types._const: + if (this.match(types._const) && this.isLookaheadContextual("enum")) { + this.expect(types._const); + this.expectContextual("enum"); + return this.tsParseEnumDeclaration(nany, true); + } + + case types._var: + kind = kind || this.state.value; + return this.parseVarStatement(nany, kind); + + case types.name: + { + const value = this.state.value; + + if (value === "global") { + return this.tsParseAmbientExternalModuleDeclaration(nany); + } else { + return this.tsParseDeclaration(nany, value, true); + } + } + } + } + + tsTryParseExportDeclaration() { + return this.tsParseDeclaration(this.startNode(), this.state.value, true); + } + + tsParseExpressionStatement(node, expr) { + switch (expr.name) { + case "declare": + { + const declaration = this.tsTryParseDeclare(node); + + if (declaration) { + declaration.declare = true; + return declaration; + } + + break; + } + + case "global": + if (this.match(types.braceL)) { + this.scope.enter(SCOPE_TS_MODULE); + this.prodParam.enter(PARAM); + const mod = node; + mod.global = true; + mod.id = expr; + mod.body = this.tsParseModuleBlock(); + this.scope.exit(); + this.prodParam.exit(); + return this.finishNode(mod, "TSModuleDeclaration"); + } + + break; + + default: + return this.tsParseDeclaration(node, expr.name, false); + } + } + + tsParseDeclaration(node, value, next) { + switch (value) { + case "abstract": + if (this.tsCheckLineTerminatorAndMatch(types._class, next)) { + const cls = node; + cls.abstract = true; + + if (next) { + this.next(); + + if (!this.match(types._class)) { + this.unexpected(null, types._class); + } + } + + return this.parseClass(cls, true, false); + } + + break; + + case "enum": + if (next || this.match(types.name)) { + if (next) this.next(); + return this.tsParseEnumDeclaration(node, false); + } + + break; + + case "interface": + if (this.tsCheckLineTerminatorAndMatch(types.name, next)) { + if (next) this.next(); + return this.tsParseInterfaceDeclaration(node); + } + + break; + + case "module": + if (next) this.next(); + + if (this.match(types.string)) { + return this.tsParseAmbientExternalModuleDeclaration(node); + } else if (this.tsCheckLineTerminatorAndMatch(types.name, next)) { + return this.tsParseModuleOrNamespaceDeclaration(node); + } + + break; + + case "namespace": + if (this.tsCheckLineTerminatorAndMatch(types.name, next)) { + if (next) this.next(); + return this.tsParseModuleOrNamespaceDeclaration(node); + } + + break; + + case "type": + if (this.tsCheckLineTerminatorAndMatch(types.name, next)) { + if (next) this.next(); + return this.tsParseTypeAliasDeclaration(node); + } + + break; + } + } + + tsCheckLineTerminatorAndMatch(tokenType, next) { + return (next || this.match(tokenType)) && !this.isLineTerminator(); + } + + tsTryParseGenericAsyncArrowFunction(startPos, startLoc) { + if (!this.isRelational("<")) { + return undefined; + } + + const oldMaybeInArrowParameters = this.state.maybeInArrowParameters; + const oldYieldPos = this.state.yieldPos; + const oldAwaitPos = this.state.awaitPos; + this.state.maybeInArrowParameters = true; + this.state.yieldPos = -1; + this.state.awaitPos = -1; + const res = this.tsTryParseAndCatch(() => { + const node = this.startNodeAt(startPos, startLoc); + node.typeParameters = this.tsParseTypeParameters(); + super.parseFunctionParams(node); + node.returnType = this.tsTryParseTypeOrTypePredicateAnnotation(); + this.expect(types.arrow); + return node; + }); + this.state.maybeInArrowParameters = oldMaybeInArrowParameters; + this.state.yieldPos = oldYieldPos; + this.state.awaitPos = oldAwaitPos; + + if (!res) { + return undefined; + } + + return this.parseArrowExpression(res, null, true); + } + + tsParseTypeArguments() { + const node = this.startNode(); + node.params = this.tsInType(() => this.tsInNoContext(() => { + this.expectRelational("<"); + return this.tsParseDelimitedList("TypeParametersOrArguments", this.tsParseType.bind(this)); + })); + this.state.exprAllowed = false; + this.expectRelational(">"); + return this.finishNode(node, "TSTypeParameterInstantiation"); + } + + tsIsDeclarationStart() { + if (this.match(types.name)) { + switch (this.state.value) { + case "abstract": + case "declare": + case "enum": + case "interface": + case "module": + case "namespace": + case "type": + return true; + } + } + + return false; + } + + isExportDefaultSpecifier() { + if (this.tsIsDeclarationStart()) return false; + return super.isExportDefaultSpecifier(); + } + + parseAssignableListItem(allowModifiers, decorators) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + let accessibility; + let readonly = false; + + if (allowModifiers) { + accessibility = this.parseAccessModifier(); + readonly = !!this.tsParseModifier(["readonly"]); + } + + const left = this.parseMaybeDefault(); + this.parseAssignableListItemTypes(left); + const elt = this.parseMaybeDefault(left.start, left.loc.start, left); + + if (accessibility || readonly) { + const pp = this.startNodeAt(startPos, startLoc); + + if (decorators.length) { + pp.decorators = decorators; + } + + if (accessibility) pp.accessibility = accessibility; + if (readonly) pp.readonly = readonly; + + if (elt.type !== "Identifier" && elt.type !== "AssignmentPattern") { + this.raise(pp.start, TSErrors.UnsupportedParameterPropertyKind); + } + + pp.parameter = elt; + return this.finishNode(pp, "TSParameterProperty"); + } + + if (decorators.length) { + left.decorators = decorators; + } + + return elt; + } + + parseFunctionBodyAndFinish(node, type, isMethod = false) { + if (this.match(types.colon)) { + node.returnType = this.tsParseTypeOrTypePredicateAnnotation(types.colon); + } + + const bodilessType = type === "FunctionDeclaration" ? "TSDeclareFunction" : type === "ClassMethod" ? "TSDeclareMethod" : undefined; + + if (bodilessType && !this.match(types.braceL) && this.isLineTerminator()) { + this.finishNode(node, bodilessType); + return; + } + + super.parseFunctionBodyAndFinish(node, type, isMethod); + } + + registerFunctionStatementId(node) { + if (!node.body && node.id) { + this.checkLVal(node.id, BIND_TS_AMBIENT, null, "function name"); + } else { + super.registerFunctionStatementId(...arguments); + } + } + + parseSubscript(base, startPos, startLoc, noCalls, state) { + if (!this.hasPrecedingLineBreak() && this.match(types.bang)) { + this.state.exprAllowed = false; + this.next(); + const nonNullExpression = this.startNodeAt(startPos, startLoc); + nonNullExpression.expression = base; + return this.finishNode(nonNullExpression, "TSNonNullExpression"); + } + + if (this.isRelational("<")) { + const result = this.tsTryParseAndCatch(() => { + if (!noCalls && this.atPossibleAsyncArrow(base)) { + const asyncArrowFn = this.tsTryParseGenericAsyncArrowFunction(startPos, startLoc); + + if (asyncArrowFn) { + return asyncArrowFn; + } + } + + const node = this.startNodeAt(startPos, startLoc); + node.callee = base; + const typeArguments = this.tsParseTypeArguments(); + + if (typeArguments) { + if (!noCalls && this.eat(types.parenL)) { + node.arguments = this.parseCallExpressionArguments(types.parenR, false); + node.typeParameters = typeArguments; + return this.finishCallExpression(node, state.optionalChainMember); + } else if (this.match(types.backQuote)) { + const result = this.parseTaggedTemplateExpression(base, startPos, startLoc, state); + result.typeParameters = typeArguments; + return result; + } + } + + this.unexpected(); + }); + if (result) return result; + } + + return super.parseSubscript(base, startPos, startLoc, noCalls, state); + } + + parseNewArguments(node) { + if (this.isRelational("<")) { + const typeParameters = this.tsTryParseAndCatch(() => { + const args = this.tsParseTypeArguments(); + if (!this.match(types.parenL)) this.unexpected(); + return args; + }); + + if (typeParameters) { + node.typeParameters = typeParameters; + } + } + + super.parseNewArguments(node); + } + + parseExprOp(left, leftStartPos, leftStartLoc, minPrec) { + if (nonNull(types._in.binop) > minPrec && !this.hasPrecedingLineBreak() && this.isContextual("as")) { + const node = this.startNodeAt(leftStartPos, leftStartLoc); + node.expression = left; + + const _const = this.tsTryNextParseConstantContext(); + + if (_const) { + node.typeAnnotation = _const; + } else { + node.typeAnnotation = this.tsNextThenParseType(); + } + + this.finishNode(node, "TSAsExpression"); + this.reScan_lt_gt(); + return this.parseExprOp(node, leftStartPos, leftStartLoc, minPrec); + } + + return super.parseExprOp(left, leftStartPos, leftStartLoc, minPrec); + } + + checkReservedWord(word, startLoc, checkKeywords, isBinding) {} + + checkDuplicateExports() {} + + parseImport(node) { + if (this.match(types.name) || this.match(types.star) || this.match(types.braceL)) { + const ahead = this.lookahead(); + + if (this.match(types.name) && ahead.type === types.eq) { + return this.tsParseImportEqualsDeclaration(node); + } + + if (this.isContextual("type") && ahead.type !== types.comma && !(ahead.type === types.name && ahead.value === "from")) { + node.importKind = "type"; + this.next(); + } else { + node.importKind = "value"; + } + } + + const importNode = super.parseImport(node); + + if (importNode.importKind === "type" && importNode.specifiers.length > 1 && importNode.specifiers[0].type === "ImportDefaultSpecifier") { + this.raise(importNode.start, "A type-only import can specify a default import or named bindings, but not both."); + } + + return importNode; + } + + parseExport(node) { + if (this.match(types._import)) { + this.expect(types._import); + return this.tsParseImportEqualsDeclaration(node, true); + } else if (this.eat(types.eq)) { + const assign = node; + assign.expression = this.parseExpression(); + this.semicolon(); + return this.finishNode(assign, "TSExportAssignment"); + } else if (this.eatContextual("as")) { + const decl = node; + this.expectContextual("namespace"); + decl.id = this.parseIdentifier(); + this.semicolon(); + return this.finishNode(decl, "TSNamespaceExportDeclaration"); + } else { + if (this.isContextual("type") && this.lookahead().type === types.braceL) { + this.next(); + node.exportKind = "type"; + } else { + node.exportKind = "value"; + } + + return super.parseExport(node); + } + } + + isAbstractClass() { + return this.isContextual("abstract") && this.lookahead().type === types._class; + } + + parseExportDefaultExpression() { + if (this.isAbstractClass()) { + const cls = this.startNode(); + this.next(); + this.parseClass(cls, true, true); + cls.abstract = true; + return cls; + } + + if (this.state.value === "interface") { + const result = this.tsParseDeclaration(this.startNode(), this.state.value, true); + if (result) return result; + } + + return super.parseExportDefaultExpression(); + } + + parseStatementContent(context, topLevel) { + if (this.state.type === types._const) { + const ahead = this.lookahead(); + + if (ahead.type === types.name && ahead.value === "enum") { + const node = this.startNode(); + this.expect(types._const); + this.expectContextual("enum"); + return this.tsParseEnumDeclaration(node, true); + } + } + + return super.parseStatementContent(context, topLevel); + } + + parseAccessModifier() { + return this.tsParseModifier(["public", "protected", "private"]); + } + + parseClassMember(classBody, member, state, constructorAllowsSuper) { + this.tsParseModifiers(member, ["declare"]); + const accessibility = this.parseAccessModifier(); + if (accessibility) member.accessibility = accessibility; + this.tsParseModifiers(member, ["declare"]); + super.parseClassMember(classBody, member, state, constructorAllowsSuper); + } + + parseClassMemberWithIsStatic(classBody, member, state, isStatic, constructorAllowsSuper) { + this.tsParseModifiers(member, ["abstract", "readonly", "declare"]); + const idx = this.tsTryParseIndexSignature(member); + + if (idx) { + classBody.body.push(idx); + + if (member.abstract) { + this.raise(member.start, TSErrors.IndexSignatureHasAbstract); + } + + if (isStatic) { + this.raise(member.start, TSErrors.IndexSignatureHasStatic); + } + + if (member.accessibility) { + this.raise(member.start, TSErrors.IndexSignatureHasAccessibility, member.accessibility); + } + + return; + } + + super.parseClassMemberWithIsStatic(classBody, member, state, isStatic, constructorAllowsSuper); + } + + parsePostMemberNameModifiers(methodOrProp) { + const optional = this.eat(types.question); + if (optional) methodOrProp.optional = true; + + if (methodOrProp.readonly && this.match(types.parenL)) { + this.raise(methodOrProp.start, TSErrors.ClassMethodHasReadonly); + } + + if (methodOrProp.declare && this.match(types.parenL)) { + this.raise(methodOrProp.start, TSErrors.ClassMethodHasDeclare); + } + } + + parseExpressionStatement(node, expr) { + const decl = expr.type === "Identifier" ? this.tsParseExpressionStatement(node, expr) : undefined; + return decl || super.parseExpressionStatement(node, expr); + } + + shouldParseExportDeclaration() { + if (this.tsIsDeclarationStart()) return true; + return super.shouldParseExportDeclaration(); + } + + parseConditional(expr, startPos, startLoc, refNeedsArrowPos) { + if (!refNeedsArrowPos || !this.match(types.question)) { + return super.parseConditional(expr, startPos, startLoc, refNeedsArrowPos); + } + + const result = this.tryParse(() => super.parseConditional(expr, startPos, startLoc)); + + if (!result.node) { + refNeedsArrowPos.start = result.error.pos || this.state.start; + return expr; + } + + if (result.error) this.state = result.failState; + return result.node; + } + + parseParenItem(node, startPos, startLoc) { + node = super.parseParenItem(node, startPos, startLoc); + + if (this.eat(types.question)) { + node.optional = true; + this.resetEndLocation(node); + } + + if (this.match(types.colon)) { + const typeCastNode = this.startNodeAt(startPos, startLoc); + typeCastNode.expression = node; + typeCastNode.typeAnnotation = this.tsParseTypeAnnotation(); + return this.finishNode(typeCastNode, "TSTypeCastExpression"); + } + + return node; + } + + parseExportDeclaration(node) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + const isDeclare = this.eatContextual("declare"); + let declaration; + + if (this.match(types.name)) { + declaration = this.tsTryParseExportDeclaration(); + } + + if (!declaration) { + declaration = super.parseExportDeclaration(node); + } + + if (declaration && (declaration.type === "TSInterfaceDeclaration" || declaration.type === "TSTypeAliasDeclaration" || isDeclare)) { + node.exportKind = "type"; + } + + if (declaration && isDeclare) { + this.resetStartLocation(declaration, startPos, startLoc); + declaration.declare = true; + } + + return declaration; + } + + parseClassId(node, isStatement, optionalId) { + if ((!isStatement || optionalId) && this.isContextual("implements")) { + return; + } + + super.parseClassId(node, isStatement, optionalId, node.declare ? BIND_TS_AMBIENT : BIND_CLASS); + const typeParameters = this.tsTryParseTypeParameters(); + if (typeParameters) node.typeParameters = typeParameters; + } + + parseClassPropertyAnnotation(node) { + if (!node.optional && this.eat(types.bang)) { + node.definite = true; + } + + const type = this.tsTryParseTypeAnnotation(); + if (type) node.typeAnnotation = type; + } + + parseClassProperty(node) { + this.parseClassPropertyAnnotation(node); + + if (node.declare && this.match(types.equal)) { + this.raise(this.state.start, TSErrors.DeclareClassFieldHasInitializer); + } + + return super.parseClassProperty(node); + } + + parseClassPrivateProperty(node) { + if (node.abstract) { + this.raise(node.start, TSErrors.PrivateElementHasAbstract); + } + + if (node.accessibility) { + this.raise(node.start, TSErrors.PrivateElementHasAccessibility, node.accessibility); + } + + this.parseClassPropertyAnnotation(node); + return super.parseClassPrivateProperty(node); + } + + pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper) { + const typeParameters = this.tsTryParseTypeParameters(); + if (typeParameters) method.typeParameters = typeParameters; + super.pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper); + } + + pushClassPrivateMethod(classBody, method, isGenerator, isAsync) { + const typeParameters = this.tsTryParseTypeParameters(); + if (typeParameters) method.typeParameters = typeParameters; + super.pushClassPrivateMethod(classBody, method, isGenerator, isAsync); + } + + parseClassSuper(node) { + super.parseClassSuper(node); + + if (node.superClass && this.isRelational("<")) { + node.superTypeParameters = this.tsParseTypeArguments(); + } + + if (this.eatContextual("implements")) { + node.implements = this.tsParseHeritageClause("implements"); + } + } + + parseObjPropValue(prop, ...args) { + const typeParameters = this.tsTryParseTypeParameters(); + if (typeParameters) prop.typeParameters = typeParameters; + super.parseObjPropValue(prop, ...args); + } + + parseFunctionParams(node, allowModifiers) { + const typeParameters = this.tsTryParseTypeParameters(); + if (typeParameters) node.typeParameters = typeParameters; + super.parseFunctionParams(node, allowModifiers); + } + + parseVarId(decl, kind) { + super.parseVarId(decl, kind); + + if (decl.id.type === "Identifier" && this.eat(types.bang)) { + decl.definite = true; + } + + const type = this.tsTryParseTypeAnnotation(); + + if (type) { + decl.id.typeAnnotation = type; + this.resetEndLocation(decl.id); + } + } + + parseAsyncArrowFromCallExpression(node, call) { + if (this.match(types.colon)) { + node.returnType = this.tsParseTypeAnnotation(); + } + + return super.parseAsyncArrowFromCallExpression(node, call); + } + + parseMaybeAssign(...args) { + var _jsx, _jsx2, _typeCast, _jsx3, _typeCast2, _jsx4, _typeCast3; + + let state; + let jsx; + let typeCast; + + if (this.match(types.jsxTagStart)) { + state = this.state.clone(); + jsx = this.tryParse(() => super.parseMaybeAssign(...args), state); + if (!jsx.error) return jsx.node; + const { + context + } = this.state; + + if (context[context.length - 1] === types$1.j_oTag) { + context.length -= 2; + } else if (context[context.length - 1] === types$1.j_expr) { + context.length -= 1; + } + } + + if (!((_jsx = jsx) == null ? void 0 : _jsx.error) && !this.isRelational("<")) { + return super.parseMaybeAssign(...args); + } + + let typeParameters; + state = state || this.state.clone(); + const arrow = this.tryParse(abort => { + var _typeParameters; + + typeParameters = this.tsParseTypeParameters(); + const expr = super.parseMaybeAssign(...args); + + if (expr.type !== "ArrowFunctionExpression" || expr.extra && expr.extra.parenthesized) { + abort(); + } + + if (((_typeParameters = typeParameters) == null ? void 0 : _typeParameters.params.length) !== 0) { + this.resetStartLocationFromNode(expr, typeParameters); + } + + expr.typeParameters = typeParameters; + return expr; + }, state); + if (!arrow.error && !arrow.aborted) return arrow.node; + + if (!jsx) { + assert(!this.hasPlugin("jsx")); + typeCast = this.tryParse(() => super.parseMaybeAssign(...args), state); + if (!typeCast.error) return typeCast.node; + } + + if ((_jsx2 = jsx) == null ? void 0 : _jsx2.node) { + this.state = jsx.failState; + return jsx.node; + } + + if (arrow.node) { + this.state = arrow.failState; + return arrow.node; + } + + if ((_typeCast = typeCast) == null ? void 0 : _typeCast.node) { + this.state = typeCast.failState; + return typeCast.node; + } + + if ((_jsx3 = jsx) == null ? void 0 : _jsx3.thrown) throw jsx.error; + if (arrow.thrown) throw arrow.error; + if ((_typeCast2 = typeCast) == null ? void 0 : _typeCast2.thrown) throw typeCast.error; + throw ((_jsx4 = jsx) == null ? void 0 : _jsx4.error) || arrow.error || ((_typeCast3 = typeCast) == null ? void 0 : _typeCast3.error); + } + + parseMaybeUnary(refExpressionErrors) { + if (!this.hasPlugin("jsx") && this.isRelational("<")) { + return this.tsParseTypeAssertion(); + } else { + return super.parseMaybeUnary(refExpressionErrors); + } + } + + parseArrow(node) { + if (this.match(types.colon)) { + const result = this.tryParse(abort => { + const returnType = this.tsParseTypeOrTypePredicateAnnotation(types.colon); + if (this.canInsertSemicolon() || !this.match(types.arrow)) abort(); + return returnType; + }); + if (result.aborted) return; + + if (!result.thrown) { + if (result.error) this.state = result.failState; + node.returnType = result.node; + } + } + + return super.parseArrow(node); + } + + parseAssignableListItemTypes(param) { + if (this.eat(types.question)) { + if (param.type !== "Identifier") { + this.raise(param.start, TSErrors.PatternIsOptional); + } + + param.optional = true; + } + + const type = this.tsTryParseTypeAnnotation(); + if (type) param.typeAnnotation = type; + this.resetEndLocation(param); + return param; + } + + toAssignable(node) { + switch (node.type) { + case "TSTypeCastExpression": + return super.toAssignable(this.typeCastToParameter(node)); + + case "TSParameterProperty": + return super.toAssignable(node); + + case "TSAsExpression": + case "TSNonNullExpression": + case "TSTypeAssertion": + node.expression = this.toAssignable(node.expression); + return node; + + default: + return super.toAssignable(node); + } + } + + checkLVal(expr, bindingType = BIND_NONE, checkClashes, contextDescription) { + switch (expr.type) { + case "TSTypeCastExpression": + return; + + case "TSParameterProperty": + this.checkLVal(expr.parameter, bindingType, checkClashes, "parameter property"); + return; + + case "TSAsExpression": + case "TSNonNullExpression": + case "TSTypeAssertion": + this.checkLVal(expr.expression, bindingType, checkClashes, contextDescription); + return; + + default: + super.checkLVal(expr, bindingType, checkClashes, contextDescription); + return; + } + } + + parseBindingAtom() { + switch (this.state.type) { + case types._this: + return this.parseIdentifier(true); + + default: + return super.parseBindingAtom(); + } + } + + parseMaybeDecoratorArguments(expr) { + if (this.isRelational("<")) { + const typeArguments = this.tsParseTypeArguments(); + + if (this.match(types.parenL)) { + const call = super.parseMaybeDecoratorArguments(expr); + call.typeParameters = typeArguments; + return call; + } + + this.unexpected(this.state.start, types.parenL); + } + + return super.parseMaybeDecoratorArguments(expr); + } + + isClassMethod() { + return this.isRelational("<") || super.isClassMethod(); + } + + isClassProperty() { + return this.match(types.bang) || this.match(types.colon) || super.isClassProperty(); + } + + parseMaybeDefault(...args) { + const node = super.parseMaybeDefault(...args); + + if (node.type === "AssignmentPattern" && node.typeAnnotation && node.right.start < node.typeAnnotation.start) { + this.raise(node.typeAnnotation.start, TSErrors.TypeAnnotationAfterAssign); + } + + return node; + } + + getTokenFromCode(code) { + if (this.state.inType && (code === 62 || code === 60)) { + return this.finishOp(types.relational, 1); + } else { + return super.getTokenFromCode(code); + } + } + + reScan_lt_gt() { + if (this.match(types.relational)) { + const code = this.input.charCodeAt(this.state.start); + + if (code === 60 || code === 62) { + this.state.pos -= 1; + this.readToken_lt_gt(code); + } + } + } + + toAssignableList(exprList) { + for (let i = 0; i < exprList.length; i++) { + const expr = exprList[i]; + if (!expr) continue; + + switch (expr.type) { + case "TSTypeCastExpression": + exprList[i] = this.typeCastToParameter(expr); + break; + + case "TSAsExpression": + case "TSTypeAssertion": + if (!this.state.maybeInArrowParameters) { + exprList[i] = this.typeCastToParameter(expr); + } else { + this.raise(expr.start, TSErrors.UnexpectedTypeCastInParameter); + } + + break; + } + } + + return super.toAssignableList(...arguments); + } + + typeCastToParameter(node) { + node.expression.typeAnnotation = node.typeAnnotation; + this.resetEndLocation(node.expression, node.typeAnnotation.end, node.typeAnnotation.loc.end); + return node.expression; + } + + toReferencedList(exprList, isInParens) { + for (let i = 0; i < exprList.length; i++) { + const expr = exprList[i]; + + if ((expr == null ? void 0 : expr.type) === "TSTypeCastExpression") { + this.raise(expr.start, TSErrors.UnexpectedTypeAnnotation); + } + } + + return exprList; + } + + shouldParseArrow() { + return this.match(types.colon) || super.shouldParseArrow(); + } + + shouldParseAsyncArrow() { + return this.match(types.colon) || super.shouldParseAsyncArrow(); + } + + canHaveLeadingDecorator() { + return super.canHaveLeadingDecorator() || this.isAbstractClass(); + } + + jsxParseOpeningElementAfterName(node) { + if (this.isRelational("<")) { + const typeArguments = this.tsTryParseAndCatch(() => this.tsParseTypeArguments()); + if (typeArguments) node.typeParameters = typeArguments; + } + + return super.jsxParseOpeningElementAfterName(node); + } + + getGetterSetterExpectedParamCount(method) { + const baseCount = super.getGetterSetterExpectedParamCount(method); + const firstParam = method.params[0]; + const hasContextParam = firstParam && firstParam.type === "Identifier" && firstParam.name === "this"; + return hasContextParam ? baseCount + 1 : baseCount; + } + + parseCatchClauseParam() { + const param = super.parseCatchClauseParam(); + const type = this.tsTryParseTypeAnnotation(); + + if (type) { + param.typeAnnotation = type; + this.resetEndLocation(param); + } + + return param; + } + +}); + +types.placeholder = new TokenType("%%", { + startsExpr: true +}); +var placeholders = (superClass => class extends superClass { + parsePlaceholder(expectedNode) { + if (this.match(types.placeholder)) { + const node = this.startNode(); + this.next(); + this.assertNoSpace("Unexpected space in placeholder."); + node.name = super.parseIdentifier(true); + this.assertNoSpace("Unexpected space in placeholder."); + this.expect(types.placeholder); + return this.finishPlaceholder(node, expectedNode); + } + } + + finishPlaceholder(node, expectedNode) { + const isFinished = !!(node.expectedNode && node.type === "Placeholder"); + node.expectedNode = expectedNode; + return isFinished ? node : this.finishNode(node, "Placeholder"); + } + + getTokenFromCode(code) { + if (code === 37 && this.input.charCodeAt(this.state.pos + 1) === 37) { + return this.finishOp(types.placeholder, 2); + } + + return super.getTokenFromCode(...arguments); + } + + parseExprAtom() { + return this.parsePlaceholder("Expression") || super.parseExprAtom(...arguments); + } + + parseIdentifier() { + return this.parsePlaceholder("Identifier") || super.parseIdentifier(...arguments); + } + + checkReservedWord(word) { + if (word !== undefined) super.checkReservedWord(...arguments); + } + + parseBindingAtom() { + return this.parsePlaceholder("Pattern") || super.parseBindingAtom(...arguments); + } + + checkLVal(expr) { + if (expr.type !== "Placeholder") super.checkLVal(...arguments); + } + + toAssignable(node) { + if (node && node.type === "Placeholder" && node.expectedNode === "Expression") { + node.expectedNode = "Pattern"; + return node; + } + + return super.toAssignable(...arguments); + } + + verifyBreakContinue(node) { + if (node.label && node.label.type === "Placeholder") return; + super.verifyBreakContinue(...arguments); + } + + parseExpressionStatement(node, expr) { + if (expr.type !== "Placeholder" || expr.extra && expr.extra.parenthesized) { + return super.parseExpressionStatement(...arguments); + } + + if (this.match(types.colon)) { + const stmt = node; + stmt.label = this.finishPlaceholder(expr, "Identifier"); + this.next(); + stmt.body = this.parseStatement("label"); + return this.finishNode(stmt, "LabeledStatement"); + } + + this.semicolon(); + node.name = expr.name; + return this.finishPlaceholder(node, "Statement"); + } + + parseBlock() { + return this.parsePlaceholder("BlockStatement") || super.parseBlock(...arguments); + } + + parseFunctionId() { + return this.parsePlaceholder("Identifier") || super.parseFunctionId(...arguments); + } + + parseClass(node, isStatement, optionalId) { + const type = isStatement ? "ClassDeclaration" : "ClassExpression"; + this.next(); + this.takeDecorators(node); + const oldStrict = this.state.strict; + const placeholder = this.parsePlaceholder("Identifier"); + + if (placeholder) { + if (this.match(types._extends) || this.match(types.placeholder) || this.match(types.braceL)) { + node.id = placeholder; + } else if (optionalId || !isStatement) { + node.id = null; + node.body = this.finishPlaceholder(placeholder, "ClassBody"); + return this.finishNode(node, type); + } else { + this.unexpected(null, "A class name is required"); + } + } else { + this.parseClassId(node, isStatement, optionalId); + } + + this.parseClassSuper(node); + node.body = this.parsePlaceholder("ClassBody") || this.parseClassBody(!!node.superClass, oldStrict); + return this.finishNode(node, type); + } + + parseExport(node) { + const placeholder = this.parsePlaceholder("Identifier"); + if (!placeholder) return super.parseExport(...arguments); + + if (!this.isContextual("from") && !this.match(types.comma)) { + node.specifiers = []; + node.source = null; + node.declaration = this.finishPlaceholder(placeholder, "Declaration"); + return this.finishNode(node, "ExportNamedDeclaration"); + } + + this.expectPlugin("exportDefaultFrom"); + const specifier = this.startNode(); + specifier.exported = placeholder; + node.specifiers = [this.finishNode(specifier, "ExportDefaultSpecifier")]; + return super.parseExport(node); + } + + isExportDefaultSpecifier() { + if (this.match(types._default)) { + const next = this.nextTokenStart(); + + if (this.isUnparsedContextual(next, "from")) { + if (this.input.startsWith(types.placeholder.label, this.nextTokenStartSince(next + 4))) { + return true; + } + } + } + + return super.isExportDefaultSpecifier(); + } + + maybeParseExportDefaultSpecifier(node) { + if (node.specifiers && node.specifiers.length > 0) { + return true; + } + + return super.maybeParseExportDefaultSpecifier(...arguments); + } + + checkExport(node) { + const { + specifiers + } = node; + + if (specifiers == null ? void 0 : specifiers.length) { + node.specifiers = specifiers.filter(node => node.exported.type === "Placeholder"); + } + + super.checkExport(node); + node.specifiers = specifiers; + } + + parseImport(node) { + const placeholder = this.parsePlaceholder("Identifier"); + if (!placeholder) return super.parseImport(...arguments); + node.specifiers = []; + + if (!this.isContextual("from") && !this.match(types.comma)) { + node.source = this.finishPlaceholder(placeholder, "StringLiteral"); + this.semicolon(); + return this.finishNode(node, "ImportDeclaration"); + } + + const specifier = this.startNodeAtNode(placeholder); + specifier.local = placeholder; + this.finishNode(specifier, "ImportDefaultSpecifier"); + node.specifiers.push(specifier); + + if (this.eat(types.comma)) { + const hasStarImport = this.maybeParseStarImportSpecifier(node); + if (!hasStarImport) this.parseNamedImportSpecifiers(node); + } + + this.expectContextual("from"); + node.source = this.parseImportSource(); + this.semicolon(); + return this.finishNode(node, "ImportDeclaration"); + } + + parseImportSource() { + return this.parsePlaceholder("StringLiteral") || super.parseImportSource(...arguments); + } + +}); + +var v8intrinsic = (superClass => class extends superClass { + parseV8Intrinsic() { + if (this.match(types.modulo)) { + const v8IntrinsicStart = this.state.start; + const node = this.startNode(); + this.eat(types.modulo); + + if (this.match(types.name)) { + const name = this.parseIdentifierName(this.state.start); + const identifier = this.createIdentifier(node, name); + identifier.type = "V8IntrinsicIdentifier"; + + if (this.match(types.parenL)) { + return identifier; + } + } + + this.unexpected(v8IntrinsicStart); + } + } + + parseExprAtom() { + return this.parseV8Intrinsic() || super.parseExprAtom(...arguments); + } + +}); + +function hasPlugin(plugins, name) { + return plugins.some(plugin => { + if (Array.isArray(plugin)) { + return plugin[0] === name; + } else { + return plugin === name; + } + }); +} +function getPluginOption(plugins, name, option) { + const plugin = plugins.find(plugin => { + if (Array.isArray(plugin)) { + return plugin[0] === name; + } else { + return plugin === name; + } + }); + + if (plugin && Array.isArray(plugin)) { + return plugin[1][option]; + } + + return null; +} +const PIPELINE_PROPOSALS = ["minimal", "smart", "fsharp"]; +const RECORD_AND_TUPLE_SYNTAX_TYPES = ["hash", "bar"]; +function validatePlugins(plugins) { + if (hasPlugin(plugins, "decorators")) { + if (hasPlugin(plugins, "decorators-legacy")) { + throw new Error("Cannot use the decorators and decorators-legacy plugin together"); + } + + const decoratorsBeforeExport = getPluginOption(plugins, "decorators", "decoratorsBeforeExport"); + + if (decoratorsBeforeExport == null) { + throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option," + " whose value must be a boolean. If you are migrating from" + " Babylon/Babel 6 or want to use the old decorators proposal, you" + " should use the 'decorators-legacy' plugin instead of 'decorators'."); + } else if (typeof decoratorsBeforeExport !== "boolean") { + throw new Error("'decoratorsBeforeExport' must be a boolean."); + } + } + + if (hasPlugin(plugins, "flow") && hasPlugin(plugins, "typescript")) { + throw new Error("Cannot combine flow and typescript plugins."); + } + + if (hasPlugin(plugins, "placeholders") && hasPlugin(plugins, "v8intrinsic")) { + throw new Error("Cannot combine placeholders and v8intrinsic plugins."); + } + + if (hasPlugin(plugins, "pipelineOperator") && !PIPELINE_PROPOSALS.includes(getPluginOption(plugins, "pipelineOperator", "proposal"))) { + throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: " + PIPELINE_PROPOSALS.map(p => `'${p}'`).join(", ")); + } + + if (hasPlugin(plugins, "moduleAttributes")) { + const moduleAttributesVerionPluginOption = getPluginOption(plugins, "moduleAttributes", "version"); + + if (moduleAttributesVerionPluginOption !== "may-2020") { + throw new Error("The 'moduleAttributes' plugin requires a 'version' option," + " representing the last proposal update. Currently, the" + " only supported value is 'may-2020'."); + } + } + + if (hasPlugin(plugins, "recordAndTuple") && !RECORD_AND_TUPLE_SYNTAX_TYPES.includes(getPluginOption(plugins, "recordAndTuple", "syntaxType"))) { + throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: " + RECORD_AND_TUPLE_SYNTAX_TYPES.map(p => `'${p}'`).join(", ")); + } +} +const mixinPlugins = { + estree, + jsx, + flow, + typescript, + v8intrinsic, + placeholders +}; +const mixinPluginNames = Object.keys(mixinPlugins); + +const defaultOptions = { + sourceType: "script", + sourceFilename: undefined, + startLine: 1, + allowAwaitOutsideFunction: false, + allowReturnOutsideFunction: false, + allowImportExportEverywhere: false, + allowSuperOutsideMethod: false, + allowUndeclaredExports: false, + plugins: [], + strictMode: null, + ranges: false, + tokens: false, + createParenthesizedExpressions: false, + errorRecovery: false +}; +function getOptions(opts) { + const options = {}; + + for (let _i = 0, _Object$keys = Object.keys(defaultOptions); _i < _Object$keys.length; _i++) { + const key = _Object$keys[_i]; + options[key] = opts && opts[key] != null ? opts[key] : defaultOptions[key]; + } + + return options; +} + +class State { + constructor() { + this.errors = []; + this.potentialArrowAt = -1; + this.noArrowAt = []; + this.noArrowParamsConversionAt = []; + this.inParameters = false; + this.maybeInArrowParameters = false; + this.maybeInAsyncArrowHead = false; + this.inPipeline = false; + this.inType = false; + this.noAnonFunctionType = false; + this.inPropertyName = false; + this.hasFlowComment = false; + this.isIterator = false; + this.topicContext = { + maxNumOfResolvableTopics: 0, + maxTopicIndex: null + }; + this.soloAwait = false; + this.inFSharpPipelineDirectBody = false; + this.labels = []; + this.decoratorStack = [[]]; + this.yieldPos = -1; + this.awaitPos = -1; + this.comments = []; + this.trailingComments = []; + this.leadingComments = []; + this.commentStack = []; + this.commentPreviousNode = null; + this.pos = 0; + this.lineStart = 0; + this.type = types.eof; + this.value = null; + this.start = 0; + this.end = 0; + this.lastTokEndLoc = null; + this.lastTokStartLoc = null; + this.lastTokStart = 0; + this.lastTokEnd = 0; + this.context = [types$1.braceStatement]; + this.exprAllowed = true; + this.containsEsc = false; + this.octalPositions = []; + this.exportedIdentifiers = []; + this.tokensLength = 0; + } + + init(options) { + this.strict = options.strictMode === false ? false : options.sourceType === "module"; + this.curLine = options.startLine; + this.startLoc = this.endLoc = this.curPosition(); + } + + curPosition() { + return new Position(this.curLine, this.pos - this.lineStart); + } + + clone(skipArrays) { + const state = new State(); + const keys = Object.keys(this); + + for (let i = 0, length = keys.length; i < length; i++) { + const key = keys[i]; + let val = this[key]; + + if (!skipArrays && Array.isArray(val)) { + val = val.slice(); + } + + state[key] = val; + } + + return state; + } + +} + +var _isDigit = function isDigit(code) { + return code >= 48 && code <= 57; +}; +const VALID_REGEX_FLAGS = new Set(["g", "m", "s", "i", "y", "u"]); +const forbiddenNumericSeparatorSiblings = { + decBinOct: [46, 66, 69, 79, 95, 98, 101, 111], + hex: [46, 88, 95, 120] +}; +const allowedNumericSeparatorSiblings = {}; +allowedNumericSeparatorSiblings.bin = [48, 49]; +allowedNumericSeparatorSiblings.oct = [...allowedNumericSeparatorSiblings.bin, 50, 51, 52, 53, 54, 55]; +allowedNumericSeparatorSiblings.dec = [...allowedNumericSeparatorSiblings.oct, 56, 57]; +allowedNumericSeparatorSiblings.hex = [...allowedNumericSeparatorSiblings.dec, 65, 66, 67, 68, 69, 70, 97, 98, 99, 100, 101, 102]; +class Token { + constructor(state) { + this.type = state.type; + this.value = state.value; + this.start = state.start; + this.end = state.end; + this.loc = new SourceLocation(state.startLoc, state.endLoc); + } + +} +class Tokenizer extends ParserError { + constructor(options, input) { + super(); + this.tokens = []; + this.state = new State(); + this.state.init(options); + this.input = input; + this.length = input.length; + this.isLookahead = false; + } + + pushToken(token) { + this.tokens.length = this.state.tokensLength; + this.tokens.push(token); + ++this.state.tokensLength; + } + + next() { + if (!this.isLookahead) { + this.checkKeywordEscapes(); + + if (this.options.tokens) { + this.pushToken(new Token(this.state)); + } + } + + this.state.lastTokEnd = this.state.end; + this.state.lastTokStart = this.state.start; + this.state.lastTokEndLoc = this.state.endLoc; + this.state.lastTokStartLoc = this.state.startLoc; + this.nextToken(); + } + + eat(type) { + if (this.match(type)) { + this.next(); + return true; + } else { + return false; + } + } + + match(type) { + return this.state.type === type; + } + + lookahead() { + const old = this.state; + this.state = old.clone(true); + this.isLookahead = true; + this.next(); + this.isLookahead = false; + const curr = this.state; + this.state = old; + return curr; + } + + nextTokenStart() { + return this.nextTokenStartSince(this.state.pos); + } + + nextTokenStartSince(pos) { + skipWhiteSpace.lastIndex = pos; + const skip = skipWhiteSpace.exec(this.input); + return pos + skip[0].length; + } + + lookaheadCharCode() { + return this.input.charCodeAt(this.nextTokenStart()); + } + + setStrict(strict) { + this.state.strict = strict; + if (!this.match(types.num) && !this.match(types.string)) return; + this.state.pos = this.state.start; + + while (this.state.pos < this.state.lineStart) { + this.state.lineStart = this.input.lastIndexOf("\n", this.state.lineStart - 2) + 1; + --this.state.curLine; + } + + this.nextToken(); + } + + curContext() { + return this.state.context[this.state.context.length - 1]; + } + + nextToken() { + const curContext = this.curContext(); + if (!(curContext == null ? void 0 : curContext.preserveSpace)) this.skipSpace(); + this.state.octalPositions = []; + this.state.start = this.state.pos; + this.state.startLoc = this.state.curPosition(); + + if (this.state.pos >= this.length) { + this.finishToken(types.eof); + return; + } + + const override = curContext == null ? void 0 : curContext.override; + + if (override) { + override(this); + } else { + this.getTokenFromCode(this.input.codePointAt(this.state.pos)); + } + } + + pushComment(block, text, start, end, startLoc, endLoc) { + const comment = { + type: block ? "CommentBlock" : "CommentLine", + value: text, + start: start, + end: end, + loc: new SourceLocation(startLoc, endLoc) + }; + if (this.options.tokens) this.pushToken(comment); + this.state.comments.push(comment); + this.addComment(comment); + } + + skipBlockComment() { + const startLoc = this.state.curPosition(); + const start = this.state.pos; + const end = this.input.indexOf("*/", this.state.pos + 2); + if (end === -1) throw this.raise(start, ErrorMessages.UnterminatedComment); + this.state.pos = end + 2; + lineBreakG.lastIndex = start; + let match; + + while ((match = lineBreakG.exec(this.input)) && match.index < this.state.pos) { + ++this.state.curLine; + this.state.lineStart = match.index + match[0].length; + } + + if (this.isLookahead) return; + this.pushComment(true, this.input.slice(start + 2, end), start, this.state.pos, startLoc, this.state.curPosition()); + } + + skipLineComment(startSkip) { + const start = this.state.pos; + const startLoc = this.state.curPosition(); + let ch = this.input.charCodeAt(this.state.pos += startSkip); + + if (this.state.pos < this.length) { + while (!isNewLine(ch) && ++this.state.pos < this.length) { + ch = this.input.charCodeAt(this.state.pos); + } + } + + if (this.isLookahead) return; + this.pushComment(false, this.input.slice(start + startSkip, this.state.pos), start, this.state.pos, startLoc, this.state.curPosition()); + } + + skipSpace() { + loop: while (this.state.pos < this.length) { + const ch = this.input.charCodeAt(this.state.pos); + + switch (ch) { + case 32: + case 160: + case 9: + ++this.state.pos; + break; + + case 13: + if (this.input.charCodeAt(this.state.pos + 1) === 10) { + ++this.state.pos; + } + + case 10: + case 8232: + case 8233: + ++this.state.pos; + ++this.state.curLine; + this.state.lineStart = this.state.pos; + break; + + case 47: + switch (this.input.charCodeAt(this.state.pos + 1)) { + case 42: + this.skipBlockComment(); + break; + + case 47: + this.skipLineComment(2); + break; + + default: + break loop; + } + + break; + + default: + if (isWhitespace(ch)) { + ++this.state.pos; + } else { + break loop; + } + + } + } + } + + finishToken(type, val) { + this.state.end = this.state.pos; + this.state.endLoc = this.state.curPosition(); + const prevType = this.state.type; + this.state.type = type; + this.state.value = val; + if (!this.isLookahead) this.updateContext(prevType); + } + + readToken_numberSign() { + if (this.state.pos === 0 && this.readToken_interpreter()) { + return; + } + + const nextPos = this.state.pos + 1; + const next = this.input.charCodeAt(nextPos); + + if (next >= 48 && next <= 57) { + throw this.raise(this.state.pos, ErrorMessages.UnexpectedDigitAfterHash); + } + + if (next === 123 || next === 91 && this.hasPlugin("recordAndTuple")) { + this.expectPlugin("recordAndTuple"); + + if (this.getPluginOption("recordAndTuple", "syntaxType") !== "hash") { + throw this.raise(this.state.pos, next === 123 ? ErrorMessages.RecordExpressionHashIncorrectStartSyntaxType : ErrorMessages.TupleExpressionHashIncorrectStartSyntaxType); + } + + if (next === 123) { + this.finishToken(types.braceHashL); + } else { + this.finishToken(types.bracketHashL); + } + + this.state.pos += 2; + } else { + this.finishOp(types.hash, 1); + } + } + + readToken_dot() { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (next >= 48 && next <= 57) { + this.readNumber(true); + return; + } + + if (next === 46 && this.input.charCodeAt(this.state.pos + 2) === 46) { + this.state.pos += 3; + this.finishToken(types.ellipsis); + } else { + ++this.state.pos; + this.finishToken(types.dot); + } + } + + readToken_slash() { + if (this.state.exprAllowed && !this.state.inType) { + ++this.state.pos; + this.readRegexp(); + return; + } + + const next = this.input.charCodeAt(this.state.pos + 1); + + if (next === 61) { + this.finishOp(types.assign, 2); + } else { + this.finishOp(types.slash, 1); + } + } + + readToken_interpreter() { + if (this.state.pos !== 0 || this.length < 2) return false; + let ch = this.input.charCodeAt(this.state.pos + 1); + if (ch !== 33) return false; + const start = this.state.pos; + this.state.pos += 1; + + while (!isNewLine(ch) && ++this.state.pos < this.length) { + ch = this.input.charCodeAt(this.state.pos); + } + + const value = this.input.slice(start + 2, this.state.pos); + this.finishToken(types.interpreterDirective, value); + return true; + } + + readToken_mult_modulo(code) { + let type = code === 42 ? types.star : types.modulo; + let width = 1; + let next = this.input.charCodeAt(this.state.pos + 1); + const exprAllowed = this.state.exprAllowed; + + if (code === 42 && next === 42) { + width++; + next = this.input.charCodeAt(this.state.pos + 2); + type = types.exponent; + } + + if (next === 61 && !exprAllowed) { + width++; + type = types.assign; + } + + this.finishOp(type, width); + } + + readToken_pipe_amp(code) { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (next === code) { + if (this.input.charCodeAt(this.state.pos + 2) === 61) { + this.finishOp(types.assign, 3); + } else { + this.finishOp(code === 124 ? types.logicalOR : types.logicalAND, 2); + } + + return; + } + + if (code === 124) { + if (next === 62) { + this.finishOp(types.pipeline, 2); + return; + } + + if (this.hasPlugin("recordAndTuple") && next === 125) { + if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") { + throw this.raise(this.state.pos, ErrorMessages.RecordExpressionBarIncorrectEndSyntaxType); + } + + this.finishOp(types.braceBarR, 2); + return; + } + + if (this.hasPlugin("recordAndTuple") && next === 93) { + if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") { + throw this.raise(this.state.pos, ErrorMessages.TupleExpressionBarIncorrectEndSyntaxType); + } + + this.finishOp(types.bracketBarR, 2); + return; + } + } + + if (next === 61) { + this.finishOp(types.assign, 2); + return; + } + + this.finishOp(code === 124 ? types.bitwiseOR : types.bitwiseAND, 1); + } + + readToken_caret() { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (next === 61) { + this.finishOp(types.assign, 2); + } else { + this.finishOp(types.bitwiseXOR, 1); + } + } + + readToken_plus_min(code) { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (next === code) { + if (next === 45 && !this.inModule && this.input.charCodeAt(this.state.pos + 2) === 62 && (this.state.lastTokEnd === 0 || this.hasPrecedingLineBreak())) { + this.skipLineComment(3); + this.skipSpace(); + this.nextToken(); + return; + } + + this.finishOp(types.incDec, 2); + return; + } + + if (next === 61) { + this.finishOp(types.assign, 2); + } else { + this.finishOp(types.plusMin, 1); + } + } + + readToken_lt_gt(code) { + const next = this.input.charCodeAt(this.state.pos + 1); + let size = 1; + + if (next === code) { + size = code === 62 && this.input.charCodeAt(this.state.pos + 2) === 62 ? 3 : 2; + + if (this.input.charCodeAt(this.state.pos + size) === 61) { + this.finishOp(types.assign, size + 1); + return; + } + + this.finishOp(types.bitShift, size); + return; + } + + if (next === 33 && code === 60 && !this.inModule && this.input.charCodeAt(this.state.pos + 2) === 45 && this.input.charCodeAt(this.state.pos + 3) === 45) { + this.skipLineComment(4); + this.skipSpace(); + this.nextToken(); + return; + } + + if (next === 61) { + size = 2; + } + + this.finishOp(types.relational, size); + } + + readToken_eq_excl(code) { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (next === 61) { + this.finishOp(types.equality, this.input.charCodeAt(this.state.pos + 2) === 61 ? 3 : 2); + return; + } + + if (code === 61 && next === 62) { + this.state.pos += 2; + this.finishToken(types.arrow); + return; + } + + this.finishOp(code === 61 ? types.eq : types.bang, 1); + } + + readToken_question() { + const next = this.input.charCodeAt(this.state.pos + 1); + const next2 = this.input.charCodeAt(this.state.pos + 2); + + if (next === 63) { + if (next2 === 61) { + this.finishOp(types.assign, 3); + } else { + this.finishOp(types.nullishCoalescing, 2); + } + } else if (next === 46 && !(next2 >= 48 && next2 <= 57)) { + this.state.pos += 2; + this.finishToken(types.questionDot); + } else { + ++this.state.pos; + this.finishToken(types.question); + } + } + + getTokenFromCode(code) { + switch (code) { + case 46: + this.readToken_dot(); + return; + + case 40: + ++this.state.pos; + this.finishToken(types.parenL); + return; + + case 41: + ++this.state.pos; + this.finishToken(types.parenR); + return; + + case 59: + ++this.state.pos; + this.finishToken(types.semi); + return; + + case 44: + ++this.state.pos; + this.finishToken(types.comma); + return; + + case 91: + if (this.hasPlugin("recordAndTuple") && this.input.charCodeAt(this.state.pos + 1) === 124) { + if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") { + throw this.raise(this.state.pos, ErrorMessages.TupleExpressionBarIncorrectStartSyntaxType); + } + + this.finishToken(types.bracketBarL); + this.state.pos += 2; + } else { + ++this.state.pos; + this.finishToken(types.bracketL); + } + + return; + + case 93: + ++this.state.pos; + this.finishToken(types.bracketR); + return; + + case 123: + if (this.hasPlugin("recordAndTuple") && this.input.charCodeAt(this.state.pos + 1) === 124) { + if (this.getPluginOption("recordAndTuple", "syntaxType") !== "bar") { + throw this.raise(this.state.pos, ErrorMessages.RecordExpressionBarIncorrectStartSyntaxType); + } + + this.finishToken(types.braceBarL); + this.state.pos += 2; + } else { + ++this.state.pos; + this.finishToken(types.braceL); + } + + return; + + case 125: + ++this.state.pos; + this.finishToken(types.braceR); + return; + + case 58: + if (this.hasPlugin("functionBind") && this.input.charCodeAt(this.state.pos + 1) === 58) { + this.finishOp(types.doubleColon, 2); + } else { + ++this.state.pos; + this.finishToken(types.colon); + } + + return; + + case 63: + this.readToken_question(); + return; + + case 96: + ++this.state.pos; + this.finishToken(types.backQuote); + return; + + case 48: + { + const next = this.input.charCodeAt(this.state.pos + 1); + + if (next === 120 || next === 88) { + this.readRadixNumber(16); + return; + } + + if (next === 111 || next === 79) { + this.readRadixNumber(8); + return; + } + + if (next === 98 || next === 66) { + this.readRadixNumber(2); + return; + } + } + + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + this.readNumber(false); + return; + + case 34: + case 39: + this.readString(code); + return; + + case 47: + this.readToken_slash(); + return; + + case 37: + case 42: + this.readToken_mult_modulo(code); + return; + + case 124: + case 38: + this.readToken_pipe_amp(code); + return; + + case 94: + this.readToken_caret(); + return; + + case 43: + case 45: + this.readToken_plus_min(code); + return; + + case 60: + case 62: + this.readToken_lt_gt(code); + return; + + case 61: + case 33: + this.readToken_eq_excl(code); + return; + + case 126: + this.finishOp(types.tilde, 1); + return; + + case 64: + ++this.state.pos; + this.finishToken(types.at); + return; + + case 35: + this.readToken_numberSign(); + return; + + case 92: + this.readWord(); + return; + + default: + if (isIdentifierStart(code)) { + this.readWord(); + return; + } + + } + + throw this.raise(this.state.pos, ErrorMessages.InvalidOrUnexpectedToken, String.fromCodePoint(code)); + } + + finishOp(type, size) { + const str = this.input.slice(this.state.pos, this.state.pos + size); + this.state.pos += size; + this.finishToken(type, str); + } + + readRegexp() { + const start = this.state.pos; + let escaped, inClass; + + for (;;) { + if (this.state.pos >= this.length) { + throw this.raise(start, ErrorMessages.UnterminatedRegExp); + } + + const ch = this.input.charAt(this.state.pos); + + if (lineBreak.test(ch)) { + throw this.raise(start, ErrorMessages.UnterminatedRegExp); + } + + if (escaped) { + escaped = false; + } else { + if (ch === "[") { + inClass = true; + } else if (ch === "]" && inClass) { + inClass = false; + } else if (ch === "/" && !inClass) { + break; + } + + escaped = ch === "\\"; + } + + ++this.state.pos; + } + + const content = this.input.slice(start, this.state.pos); + ++this.state.pos; + let mods = ""; + + while (this.state.pos < this.length) { + const char = this.input[this.state.pos]; + const charCode = this.input.codePointAt(this.state.pos); + + if (VALID_REGEX_FLAGS.has(char)) { + if (mods.indexOf(char) > -1) { + this.raise(this.state.pos + 1, ErrorMessages.DuplicateRegExpFlags); + } + } else if (isIdentifierChar(charCode) || charCode === 92) { + this.raise(this.state.pos + 1, ErrorMessages.MalformedRegExpFlags); + } else { + break; + } + + ++this.state.pos; + mods += char; + } + + this.finishToken(types.regexp, { + pattern: content, + flags: mods + }); + } + + readInt(radix, len, forceLen, allowNumSeparator = true) { + const start = this.state.pos; + const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct; + const allowedSiblings = radix === 16 ? allowedNumericSeparatorSiblings.hex : radix === 10 ? allowedNumericSeparatorSiblings.dec : radix === 8 ? allowedNumericSeparatorSiblings.oct : allowedNumericSeparatorSiblings.bin; + let invalid = false; + let total = 0; + + for (let i = 0, e = len == null ? Infinity : len; i < e; ++i) { + const code = this.input.charCodeAt(this.state.pos); + let val; + + if (code === 95) { + const prev = this.input.charCodeAt(this.state.pos - 1); + const next = this.input.charCodeAt(this.state.pos + 1); + + if (allowedSiblings.indexOf(next) === -1) { + this.raise(this.state.pos, ErrorMessages.UnexpectedNumericSeparator); + } else if (forbiddenSiblings.indexOf(prev) > -1 || forbiddenSiblings.indexOf(next) > -1 || Number.isNaN(next)) { + this.raise(this.state.pos, ErrorMessages.UnexpectedNumericSeparator); + } + + if (!allowNumSeparator) { + this.raise(this.state.pos, ErrorMessages.NumericSeparatorInEscapeSequence); + } + + ++this.state.pos; + continue; + } + + if (code >= 97) { + val = code - 97 + 10; + } else if (code >= 65) { + val = code - 65 + 10; + } else if (_isDigit(code)) { + val = code - 48; + } else { + val = Infinity; + } + + if (val >= radix) { + if (this.options.errorRecovery && val <= 9) { + val = 0; + this.raise(this.state.start + i + 2, ErrorMessages.InvalidDigit, radix); + } else if (forceLen) { + val = 0; + invalid = true; + } else { + break; + } + } + + ++this.state.pos; + total = total * radix + val; + } + + if (this.state.pos === start || len != null && this.state.pos - start !== len || invalid) { + return null; + } + + return total; + } + + readRadixNumber(radix) { + const start = this.state.pos; + let isBigInt = false; + this.state.pos += 2; + const val = this.readInt(radix); + + if (val == null) { + this.raise(this.state.start + 2, ErrorMessages.InvalidDigit, radix); + } + + const next = this.input.charCodeAt(this.state.pos); + + if (next === 110) { + ++this.state.pos; + isBigInt = true; + } else if (next === 109) { + throw this.raise(start, ErrorMessages.InvalidDecimal); + } + + if (isIdentifierStart(this.input.codePointAt(this.state.pos))) { + throw this.raise(this.state.pos, ErrorMessages.NumberIdentifier); + } + + if (isBigInt) { + const str = this.input.slice(start, this.state.pos).replace(/[_n]/g, ""); + this.finishToken(types.bigint, str); + return; + } + + this.finishToken(types.num, val); + } + + readNumber(startsWithDot) { + const start = this.state.pos; + let isFloat = false; + let isBigInt = false; + let isDecimal = false; + let hasExponent = false; + let isOctal = false; + + if (!startsWithDot && this.readInt(10) === null) { + this.raise(start, ErrorMessages.InvalidNumber); + } + + const hasLeadingZero = this.state.pos - start >= 2 && this.input.charCodeAt(start) === 48; + + if (hasLeadingZero) { + const integer = this.input.slice(start, this.state.pos); + + if (this.state.strict) { + this.raise(start, ErrorMessages.StrictOctalLiteral); + } else { + const underscorePos = integer.indexOf("_"); + + if (underscorePos > 0) { + this.raise(underscorePos + start, ErrorMessages.ZeroDigitNumericSeparator); + } + } + + isOctal = hasLeadingZero && !/[89]/.test(integer); + } + + let next = this.input.charCodeAt(this.state.pos); + + if (next === 46 && !isOctal) { + ++this.state.pos; + this.readInt(10); + isFloat = true; + next = this.input.charCodeAt(this.state.pos); + } + + if ((next === 69 || next === 101) && !isOctal) { + next = this.input.charCodeAt(++this.state.pos); + + if (next === 43 || next === 45) { + ++this.state.pos; + } + + if (this.readInt(10) === null) this.raise(start, ErrorMessages.InvalidNumber); + isFloat = true; + hasExponent = true; + next = this.input.charCodeAt(this.state.pos); + } + + if (next === 110) { + if (isFloat || hasLeadingZero) { + this.raise(start, ErrorMessages.InvalidBigIntLiteral); + } + + ++this.state.pos; + isBigInt = true; + } + + if (next === 109) { + this.expectPlugin("decimal", this.state.pos); + + if (hasExponent || hasLeadingZero) { + this.raise(start, ErrorMessages.InvalidDecimal); + } + + ++this.state.pos; + isDecimal = true; + } + + if (isIdentifierStart(this.input.codePointAt(this.state.pos))) { + throw this.raise(this.state.pos, ErrorMessages.NumberIdentifier); + } + + const str = this.input.slice(start, this.state.pos).replace(/[_mn]/g, ""); + + if (isBigInt) { + this.finishToken(types.bigint, str); + return; + } + + if (isDecimal) { + this.finishToken(types.decimal, str); + return; + } + + const val = isOctal ? parseInt(str, 8) : parseFloat(str); + this.finishToken(types.num, val); + } + + readCodePoint(throwOnInvalid) { + const ch = this.input.charCodeAt(this.state.pos); + let code; + + if (ch === 123) { + const codePos = ++this.state.pos; + code = this.readHexChar(this.input.indexOf("}", this.state.pos) - this.state.pos, true, throwOnInvalid); + ++this.state.pos; + + if (code !== null && code > 0x10ffff) { + if (throwOnInvalid) { + this.raise(codePos, ErrorMessages.InvalidCodePoint); + } else { + return null; + } + } + } else { + code = this.readHexChar(4, false, throwOnInvalid); + } + + return code; + } + + readString(quote) { + let out = "", + chunkStart = ++this.state.pos; + + for (;;) { + if (this.state.pos >= this.length) { + throw this.raise(this.state.start, ErrorMessages.UnterminatedString); + } + + const ch = this.input.charCodeAt(this.state.pos); + if (ch === quote) break; + + if (ch === 92) { + out += this.input.slice(chunkStart, this.state.pos); + out += this.readEscapedChar(false); + chunkStart = this.state.pos; + } else if (ch === 8232 || ch === 8233) { + ++this.state.pos; + ++this.state.curLine; + this.state.lineStart = this.state.pos; + } else if (isNewLine(ch)) { + throw this.raise(this.state.start, ErrorMessages.UnterminatedString); + } else { + ++this.state.pos; + } + } + + out += this.input.slice(chunkStart, this.state.pos++); + this.finishToken(types.string, out); + } + + readTmplToken() { + let out = "", + chunkStart = this.state.pos, + containsInvalid = false; + + for (;;) { + if (this.state.pos >= this.length) { + throw this.raise(this.state.start, ErrorMessages.UnterminatedTemplate); + } + + const ch = this.input.charCodeAt(this.state.pos); + + if (ch === 96 || ch === 36 && this.input.charCodeAt(this.state.pos + 1) === 123) { + if (this.state.pos === this.state.start && this.match(types.template)) { + if (ch === 36) { + this.state.pos += 2; + this.finishToken(types.dollarBraceL); + return; + } else { + ++this.state.pos; + this.finishToken(types.backQuote); + return; + } + } + + out += this.input.slice(chunkStart, this.state.pos); + this.finishToken(types.template, containsInvalid ? null : out); + return; + } + + if (ch === 92) { + out += this.input.slice(chunkStart, this.state.pos); + const escaped = this.readEscapedChar(true); + + if (escaped === null) { + containsInvalid = true; + } else { + out += escaped; + } + + chunkStart = this.state.pos; + } else if (isNewLine(ch)) { + out += this.input.slice(chunkStart, this.state.pos); + ++this.state.pos; + + switch (ch) { + case 13: + if (this.input.charCodeAt(this.state.pos) === 10) { + ++this.state.pos; + } + + case 10: + out += "\n"; + break; + + default: + out += String.fromCharCode(ch); + break; + } + + ++this.state.curLine; + this.state.lineStart = this.state.pos; + chunkStart = this.state.pos; + } else { + ++this.state.pos; + } + } + } + + readEscapedChar(inTemplate) { + const throwOnInvalid = !inTemplate; + const ch = this.input.charCodeAt(++this.state.pos); + ++this.state.pos; + + switch (ch) { + case 110: + return "\n"; + + case 114: + return "\r"; + + case 120: + { + const code = this.readHexChar(2, false, throwOnInvalid); + return code === null ? null : String.fromCharCode(code); + } + + case 117: + { + const code = this.readCodePoint(throwOnInvalid); + return code === null ? null : String.fromCodePoint(code); + } + + case 116: + return "\t"; + + case 98: + return "\b"; + + case 118: + return "\u000b"; + + case 102: + return "\f"; + + case 13: + if (this.input.charCodeAt(this.state.pos) === 10) { + ++this.state.pos; + } + + case 10: + this.state.lineStart = this.state.pos; + ++this.state.curLine; + + case 8232: + case 8233: + return ""; + + case 56: + case 57: + if (inTemplate) { + return null; + } else if (this.state.strict) { + this.raise(this.state.pos - 1, ErrorMessages.StrictNumericEscape); + } + + default: + if (ch >= 48 && ch <= 55) { + const codePos = this.state.pos - 1; + const match = this.input.substr(this.state.pos - 1, 3).match(/^[0-7]+/); + let octalStr = match[0]; + let octal = parseInt(octalStr, 8); + + if (octal > 255) { + octalStr = octalStr.slice(0, -1); + octal = parseInt(octalStr, 8); + } + + this.state.pos += octalStr.length - 1; + const next = this.input.charCodeAt(this.state.pos); + + if (octalStr !== "0" || next === 56 || next === 57) { + if (inTemplate) { + return null; + } else if (this.state.strict) { + this.raise(codePos, ErrorMessages.StrictNumericEscape); + } else { + this.state.octalPositions.push(codePos); + } + } + + return String.fromCharCode(octal); + } + + return String.fromCharCode(ch); + } + } + + readHexChar(len, forceLen, throwOnInvalid) { + const codePos = this.state.pos; + const n = this.readInt(16, len, forceLen, false); + + if (n === null) { + if (throwOnInvalid) { + this.raise(codePos, ErrorMessages.InvalidEscapeSequence); + } else { + this.state.pos = codePos - 1; + } + } + + return n; + } + + readWord1() { + let word = ""; + this.state.containsEsc = false; + const start = this.state.pos; + let chunkStart = this.state.pos; + + while (this.state.pos < this.length) { + const ch = this.input.codePointAt(this.state.pos); + + if (isIdentifierChar(ch)) { + this.state.pos += ch <= 0xffff ? 1 : 2; + } else if (this.state.isIterator && ch === 64) { + ++this.state.pos; + } else if (ch === 92) { + this.state.containsEsc = true; + word += this.input.slice(chunkStart, this.state.pos); + const escStart = this.state.pos; + const identifierCheck = this.state.pos === start ? isIdentifierStart : isIdentifierChar; + + if (this.input.charCodeAt(++this.state.pos) !== 117) { + this.raise(this.state.pos, ErrorMessages.MissingUnicodeEscape); + continue; + } + + ++this.state.pos; + const esc = this.readCodePoint(true); + + if (esc !== null) { + if (!identifierCheck(esc)) { + this.raise(escStart, ErrorMessages.EscapedCharNotAnIdentifier); + } + + word += String.fromCodePoint(esc); + } + + chunkStart = this.state.pos; + } else { + break; + } + } + + return word + this.input.slice(chunkStart, this.state.pos); + } + + isIterator(word) { + return word === "@@iterator" || word === "@@asyncIterator"; + } + + readWord() { + const word = this.readWord1(); + const type = keywords.get(word) || types.name; + + if (this.state.isIterator && (!this.isIterator(word) || !this.state.inType)) { + this.raise(this.state.pos, ErrorMessages.InvalidIdentifier, word); + } + + this.finishToken(type, word); + } + + checkKeywordEscapes() { + const kw = this.state.type.keyword; + + if (kw && this.state.containsEsc) { + this.raise(this.state.start, ErrorMessages.InvalidEscapedReservedWord, kw); + } + } + + braceIsBlock(prevType) { + const parent = this.curContext(); + + if (parent === types$1.functionExpression || parent === types$1.functionStatement) { + return true; + } + + if (prevType === types.colon && (parent === types$1.braceStatement || parent === types$1.braceExpression)) { + return !parent.isExpr; + } + + if (prevType === types._return || prevType === types.name && this.state.exprAllowed) { + return this.hasPrecedingLineBreak(); + } + + if (prevType === types._else || prevType === types.semi || prevType === types.eof || prevType === types.parenR || prevType === types.arrow) { + return true; + } + + if (prevType === types.braceL) { + return parent === types$1.braceStatement; + } + + if (prevType === types._var || prevType === types._const || prevType === types.name) { + return false; + } + + if (prevType === types.relational) { + return true; + } + + return !this.state.exprAllowed; + } + + updateContext(prevType) { + const type = this.state.type; + let update; + + if (type.keyword && (prevType === types.dot || prevType === types.questionDot)) { + this.state.exprAllowed = false; + } else if (update = type.updateContext) { + update.call(this, prevType); + } else { + this.state.exprAllowed = type.beforeExpr; + } + } + +} + +class UtilParser extends Tokenizer { + addExtra(node, key, val) { + if (!node) return; + const extra = node.extra = node.extra || {}; + extra[key] = val; + } + + isRelational(op) { + return this.match(types.relational) && this.state.value === op; + } + + expectRelational(op) { + if (this.isRelational(op)) { + this.next(); + } else { + this.unexpected(null, types.relational); + } + } + + isContextual(name) { + return this.match(types.name) && this.state.value === name && !this.state.containsEsc; + } + + isUnparsedContextual(nameStart, name) { + const nameEnd = nameStart + name.length; + return this.input.slice(nameStart, nameEnd) === name && (nameEnd === this.input.length || !isIdentifierChar(this.input.charCodeAt(nameEnd))); + } + + isLookaheadContextual(name) { + const next = this.nextTokenStart(); + return this.isUnparsedContextual(next, name); + } + + eatContextual(name) { + return this.isContextual(name) && this.eat(types.name); + } + + expectContextual(name, message) { + if (!this.eatContextual(name)) this.unexpected(null, message); + } + + canInsertSemicolon() { + return this.match(types.eof) || this.match(types.braceR) || this.hasPrecedingLineBreak(); + } + + hasPrecedingLineBreak() { + return lineBreak.test(this.input.slice(this.state.lastTokEnd, this.state.start)); + } + + isLineTerminator() { + return this.eat(types.semi) || this.canInsertSemicolon(); + } + + semicolon() { + if (!this.isLineTerminator()) this.unexpected(null, types.semi); + } + + expect(type, pos) { + this.eat(type) || this.unexpected(pos, type); + } + + assertNoSpace(message = "Unexpected space.") { + if (this.state.start > this.state.lastTokEnd) { + this.raise(this.state.lastTokEnd, message); + } + } + + unexpected(pos, messageOrType = "Unexpected token") { + if (typeof messageOrType !== "string") { + messageOrType = `Unexpected token, expected "${messageOrType.label}"`; + } + + throw this.raise(pos != null ? pos : this.state.start, messageOrType); + } + + expectPlugin(name, pos) { + if (!this.hasPlugin(name)) { + throw this.raiseWithData(pos != null ? pos : this.state.start, { + missingPlugin: [name] + }, `This experimental syntax requires enabling the parser plugin: '${name}'`); + } + + return true; + } + + expectOnePlugin(names, pos) { + if (!names.some(n => this.hasPlugin(n))) { + throw this.raiseWithData(pos != null ? pos : this.state.start, { + missingPlugin: names + }, `This experimental syntax requires enabling one of the following parser plugin(s): '${names.join(", ")}'`); + } + } + + checkYieldAwaitInDefaultParams() { + if (this.state.yieldPos !== -1 && (this.state.awaitPos === -1 || this.state.yieldPos < this.state.awaitPos)) { + this.raise(this.state.yieldPos, ErrorMessages.YieldBindingIdentifier); + } + + if (this.state.awaitPos !== -1) { + this.raise(this.state.awaitPos, ErrorMessages.AwaitBindingIdentifier); + } + } + + tryParse(fn, oldState = this.state.clone()) { + const abortSignal = { + node: null + }; + + try { + const node = fn((node = null) => { + abortSignal.node = node; + throw abortSignal; + }); + + if (this.state.errors.length > oldState.errors.length) { + const failState = this.state; + this.state = oldState; + return { + node, + error: failState.errors[oldState.errors.length], + thrown: false, + aborted: false, + failState + }; + } + + return { + node, + error: null, + thrown: false, + aborted: false, + failState: null + }; + } catch (error) { + const failState = this.state; + this.state = oldState; + + if (error instanceof SyntaxError) { + return { + node: null, + error, + thrown: true, + aborted: false, + failState + }; + } + + if (error === abortSignal) { + return { + node: abortSignal.node, + error: null, + thrown: false, + aborted: true, + failState + }; + } + + throw error; + } + } + + checkExpressionErrors(refExpressionErrors, andThrow) { + if (!refExpressionErrors) return false; + const { + shorthandAssign, + doubleProto + } = refExpressionErrors; + if (!andThrow) return shorthandAssign >= 0 || doubleProto >= 0; + + if (shorthandAssign >= 0) { + this.unexpected(shorthandAssign); + } + + if (doubleProto >= 0) { + this.raise(doubleProto, ErrorMessages.DuplicateProto); + } + } + + isLiteralPropertyName() { + return this.match(types.name) || !!this.state.type.keyword || this.match(types.string) || this.match(types.num) || this.match(types.bigint) || this.match(types.decimal); + } + +} +class ExpressionErrors { + constructor() { + this.shorthandAssign = -1; + this.doubleProto = -1; + } + +} + +class Node { + constructor(parser, pos, loc) { + this.type = ""; + this.start = pos; + this.end = 0; + this.loc = new SourceLocation(loc); + if (parser == null ? void 0 : parser.options.ranges) this.range = [pos, 0]; + if (parser == null ? void 0 : parser.filename) this.loc.filename = parser.filename; + } + + __clone() { + const newNode = new Node(); + const keys = Object.keys(this); + + for (let i = 0, length = keys.length; i < length; i++) { + const key = keys[i]; + + if (key !== "leadingComments" && key !== "trailingComments" && key !== "innerComments") { + newNode[key] = this[key]; + } + } + + return newNode; + } + +} + +class NodeUtils extends UtilParser { + startNode() { + return new Node(this, this.state.start, this.state.startLoc); + } + + startNodeAt(pos, loc) { + return new Node(this, pos, loc); + } + + startNodeAtNode(type) { + return this.startNodeAt(type.start, type.loc.start); + } + + finishNode(node, type) { + return this.finishNodeAt(node, type, this.state.lastTokEnd, this.state.lastTokEndLoc); + } + + finishNodeAt(node, type, pos, loc) { + + node.type = type; + node.end = pos; + node.loc.end = loc; + if (this.options.ranges) node.range[1] = pos; + this.processComment(node); + return node; + } + + resetStartLocation(node, start, startLoc) { + node.start = start; + node.loc.start = startLoc; + if (this.options.ranges) node.range[0] = start; + } + + resetEndLocation(node, end = this.state.lastTokEnd, endLoc = this.state.lastTokEndLoc) { + node.end = end; + node.loc.end = endLoc; + if (this.options.ranges) node.range[1] = end; + } + + resetStartLocationFromNode(node, locationNode) { + this.resetStartLocation(node, locationNode.start, locationNode.loc.start); + } + +} + +const unwrapParenthesizedExpression = node => { + return node.type === "ParenthesizedExpression" ? unwrapParenthesizedExpression(node.expression) : node; +}; + +class LValParser extends NodeUtils { + toAssignable(node) { + var _node$extra, _node$extra3; + + let parenthesized = undefined; + + if (node.type === "ParenthesizedExpression" || ((_node$extra = node.extra) == null ? void 0 : _node$extra.parenthesized)) { + parenthesized = unwrapParenthesizedExpression(node); + + if (parenthesized.type !== "Identifier" && parenthesized.type !== "MemberExpression") { + this.raise(node.start, ErrorMessages.InvalidParenthesizedAssignment); + } + } + + switch (node.type) { + case "Identifier": + case "ObjectPattern": + case "ArrayPattern": + case "AssignmentPattern": + break; + + case "ObjectExpression": + node.type = "ObjectPattern"; + + for (let i = 0, length = node.properties.length, last = length - 1; i < length; i++) { + var _node$extra2; + + const prop = node.properties[i]; + const isLast = i === last; + this.toAssignableObjectExpressionProp(prop, isLast); + + if (isLast && prop.type === "RestElement" && ((_node$extra2 = node.extra) == null ? void 0 : _node$extra2.trailingComma)) { + this.raiseRestNotLast(node.extra.trailingComma); + } + } + + break; + + case "ObjectProperty": + this.toAssignable(node.value); + break; + + case "SpreadElement": + { + this.checkToRestConversion(node); + node.type = "RestElement"; + const arg = node.argument; + this.toAssignable(arg); + break; + } + + case "ArrayExpression": + node.type = "ArrayPattern"; + this.toAssignableList(node.elements, (_node$extra3 = node.extra) == null ? void 0 : _node$extra3.trailingComma); + break; + + case "AssignmentExpression": + if (node.operator !== "=") { + this.raise(node.left.end, ErrorMessages.MissingEqInAssignment); + } + + node.type = "AssignmentPattern"; + delete node.operator; + this.toAssignable(node.left); + break; + + case "ParenthesizedExpression": + this.toAssignable(parenthesized); + break; + } + + return node; + } + + toAssignableObjectExpressionProp(prop, isLast) { + if (prop.type === "ObjectMethod") { + const error = prop.kind === "get" || prop.kind === "set" ? ErrorMessages.PatternHasAccessor : ErrorMessages.PatternHasMethod; + this.raise(prop.key.start, error); + } else if (prop.type === "SpreadElement" && !isLast) { + this.raiseRestNotLast(prop.start); + } else { + this.toAssignable(prop); + } + } + + toAssignableList(exprList, trailingCommaPos) { + let end = exprList.length; + + if (end) { + const last = exprList[end - 1]; + + if ((last == null ? void 0 : last.type) === "RestElement") { + --end; + } else if ((last == null ? void 0 : last.type) === "SpreadElement") { + last.type = "RestElement"; + const arg = last.argument; + this.toAssignable(arg); + + if (arg.type !== "Identifier" && arg.type !== "MemberExpression" && arg.type !== "ArrayPattern" && arg.type !== "ObjectPattern") { + this.unexpected(arg.start); + } + + if (trailingCommaPos) { + this.raiseTrailingCommaAfterRest(trailingCommaPos); + } + + --end; + } + } + + for (let i = 0; i < end; i++) { + const elt = exprList[i]; + + if (elt) { + this.toAssignable(elt); + + if (elt.type === "RestElement") { + this.raiseRestNotLast(elt.start); + } + } + } + + return exprList; + } + + toReferencedList(exprList, isParenthesizedExpr) { + return exprList; + } + + toReferencedListDeep(exprList, isParenthesizedExpr) { + this.toReferencedList(exprList, isParenthesizedExpr); + + for (let _i = 0; _i < exprList.length; _i++) { + const expr = exprList[_i]; + + if ((expr == null ? void 0 : expr.type) === "ArrayExpression") { + this.toReferencedListDeep(expr.elements); + } + } + } + + parseSpread(refExpressionErrors, refNeedsArrowPos) { + const node = this.startNode(); + this.next(); + node.argument = this.parseMaybeAssignAllowIn(refExpressionErrors, undefined, refNeedsArrowPos); + return this.finishNode(node, "SpreadElement"); + } + + parseRestBinding() { + const node = this.startNode(); + this.next(); + node.argument = this.parseBindingAtom(); + return this.finishNode(node, "RestElement"); + } + + parseBindingAtom() { + switch (this.state.type) { + case types.bracketL: + { + const node = this.startNode(); + this.next(); + node.elements = this.parseBindingList(types.bracketR, 93, true); + return this.finishNode(node, "ArrayPattern"); + } + + case types.braceL: + return this.parseObjectLike(types.braceR, true); + } + + return this.parseIdentifier(); + } + + parseBindingList(close, closeCharCode, allowEmpty, allowModifiers) { + const elts = []; + let first = true; + + while (!this.eat(close)) { + if (first) { + first = false; + } else { + this.expect(types.comma); + } + + if (allowEmpty && this.match(types.comma)) { + elts.push(null); + } else if (this.eat(close)) { + break; + } else if (this.match(types.ellipsis)) { + elts.push(this.parseAssignableListItemTypes(this.parseRestBinding())); + this.checkCommaAfterRest(closeCharCode); + this.expect(close); + break; + } else { + const decorators = []; + + if (this.match(types.at) && this.hasPlugin("decorators")) { + this.raise(this.state.start, ErrorMessages.UnsupportedParameterDecorator); + } + + while (this.match(types.at)) { + decorators.push(this.parseDecorator()); + } + + elts.push(this.parseAssignableListItem(allowModifiers, decorators)); + } + } + + return elts; + } + + parseAssignableListItem(allowModifiers, decorators) { + const left = this.parseMaybeDefault(); + this.parseAssignableListItemTypes(left); + const elt = this.parseMaybeDefault(left.start, left.loc.start, left); + + if (decorators.length) { + left.decorators = decorators; + } + + return elt; + } + + parseAssignableListItemTypes(param) { + return param; + } + + parseMaybeDefault(startPos, startLoc, left) { + var _startLoc, _startPos, _left; + + startLoc = (_startLoc = startLoc) != null ? _startLoc : this.state.startLoc; + startPos = (_startPos = startPos) != null ? _startPos : this.state.start; + left = (_left = left) != null ? _left : this.parseBindingAtom(); + if (!this.eat(types.eq)) return left; + const node = this.startNodeAt(startPos, startLoc); + node.left = left; + node.right = this.parseMaybeAssignAllowIn(); + return this.finishNode(node, "AssignmentPattern"); + } + + checkLVal(expr, bindingType = BIND_NONE, checkClashes, contextDescription, disallowLetBinding, strictModeChanged = false) { + switch (expr.type) { + case "Identifier": + if (this.state.strict && (strictModeChanged ? isStrictBindReservedWord(expr.name, this.inModule) : isStrictBindOnlyReservedWord(expr.name))) { + this.raise(expr.start, bindingType === BIND_NONE ? ErrorMessages.StrictEvalArguments : ErrorMessages.StrictEvalArgumentsBinding, expr.name); + } + + if (checkClashes) { + const key = `_${expr.name}`; + + if (checkClashes[key]) { + this.raise(expr.start, ErrorMessages.ParamDupe); + } else { + checkClashes[key] = true; + } + } + + if (disallowLetBinding && expr.name === "let") { + this.raise(expr.start, ErrorMessages.LetInLexicalBinding); + } + + if (!(bindingType & BIND_NONE)) { + this.scope.declareName(expr.name, bindingType, expr.start); + } + + break; + + case "MemberExpression": + if (bindingType !== BIND_NONE) { + this.raise(expr.start, ErrorMessages.InvalidPropertyBindingPattern); + } + + break; + + case "ObjectPattern": + for (let _i2 = 0, _expr$properties = expr.properties; _i2 < _expr$properties.length; _i2++) { + let prop = _expr$properties[_i2]; + if (prop.type === "ObjectProperty") prop = prop.value;else if (prop.type === "ObjectMethod") continue; + this.checkLVal(prop, bindingType, checkClashes, "object destructuring pattern", disallowLetBinding); + } + + break; + + case "ArrayPattern": + for (let _i3 = 0, _expr$elements = expr.elements; _i3 < _expr$elements.length; _i3++) { + const elem = _expr$elements[_i3]; + + if (elem) { + this.checkLVal(elem, bindingType, checkClashes, "array destructuring pattern", disallowLetBinding); + } + } + + break; + + case "AssignmentPattern": + this.checkLVal(expr.left, bindingType, checkClashes, "assignment pattern"); + break; + + case "RestElement": + this.checkLVal(expr.argument, bindingType, checkClashes, "rest element"); + break; + + case "ParenthesizedExpression": + this.checkLVal(expr.expression, bindingType, checkClashes, "parenthesized expression"); + break; + + default: + { + this.raise(expr.start, bindingType === BIND_NONE ? ErrorMessages.InvalidLhs : ErrorMessages.InvalidLhsBinding, contextDescription); + } + } + } + + checkToRestConversion(node) { + if (node.argument.type !== "Identifier" && node.argument.type !== "MemberExpression") { + this.raise(node.argument.start, ErrorMessages.InvalidRestAssignmentPattern); + } + } + + checkCommaAfterRest(close) { + if (this.match(types.comma)) { + if (this.lookaheadCharCode() === close) { + this.raiseTrailingCommaAfterRest(this.state.start); + } else { + this.raiseRestNotLast(this.state.start); + } + } + } + + raiseRestNotLast(pos) { + throw this.raise(pos, ErrorMessages.ElementAfterRest); + } + + raiseTrailingCommaAfterRest(pos) { + this.raise(pos, ErrorMessages.RestTrailingComma); + } + +} + +class ExpressionParser extends LValParser { + checkProto(prop, isRecord, protoRef, refExpressionErrors) { + if (prop.type === "SpreadElement" || prop.type === "ObjectMethod" || prop.computed || prop.shorthand) { + return; + } + + const key = prop.key; + const name = key.type === "Identifier" ? key.name : key.value; + + if (name === "__proto__") { + if (isRecord) { + this.raise(key.start, ErrorMessages.RecordNoProto); + return; + } + + if (protoRef.used) { + if (refExpressionErrors) { + if (refExpressionErrors.doubleProto === -1) { + refExpressionErrors.doubleProto = key.start; + } + } else { + this.raise(key.start, ErrorMessages.DuplicateProto); + } + } + + protoRef.used = true; + } + } + + shouldExitDescending(expr, potentialArrowAt) { + return expr.type === "ArrowFunctionExpression" && expr.start === potentialArrowAt; + } + + getExpression() { + let paramFlags = PARAM; + + if (this.hasPlugin("topLevelAwait") && this.inModule) { + paramFlags |= PARAM_AWAIT; + } + + this.scope.enter(SCOPE_PROGRAM); + this.prodParam.enter(paramFlags); + this.nextToken(); + const expr = this.parseExpression(); + + if (!this.match(types.eof)) { + this.unexpected(); + } + + expr.comments = this.state.comments; + expr.errors = this.state.errors; + return expr; + } + + parseExpression(disallowIn, refExpressionErrors) { + if (disallowIn) { + return this.disallowInAnd(() => this.parseExpressionBase(refExpressionErrors)); + } + + return this.allowInAnd(() => this.parseExpressionBase(refExpressionErrors)); + } + + parseExpressionBase(refExpressionErrors) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + const expr = this.parseMaybeAssign(refExpressionErrors); + + if (this.match(types.comma)) { + const node = this.startNodeAt(startPos, startLoc); + node.expressions = [expr]; + + while (this.eat(types.comma)) { + node.expressions.push(this.parseMaybeAssign(refExpressionErrors)); + } + + this.toReferencedList(node.expressions); + return this.finishNode(node, "SequenceExpression"); + } + + return expr; + } + + parseMaybeAssignDisallowIn(refExpressionErrors, afterLeftParse, refNeedsArrowPos) { + return this.disallowInAnd(() => this.parseMaybeAssign(refExpressionErrors, afterLeftParse, refNeedsArrowPos)); + } + + parseMaybeAssignAllowIn(refExpressionErrors, afterLeftParse, refNeedsArrowPos) { + return this.allowInAnd(() => this.parseMaybeAssign(refExpressionErrors, afterLeftParse, refNeedsArrowPos)); + } + + parseMaybeAssign(refExpressionErrors, afterLeftParse, refNeedsArrowPos) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + + if (this.isContextual("yield")) { + if (this.prodParam.hasYield) { + let left = this.parseYield(); + + if (afterLeftParse) { + left = afterLeftParse.call(this, left, startPos, startLoc); + } + + return left; + } else { + this.state.exprAllowed = false; + } + } + + let ownExpressionErrors; + + if (refExpressionErrors) { + ownExpressionErrors = false; + } else { + refExpressionErrors = new ExpressionErrors(); + ownExpressionErrors = true; + } + + if (this.match(types.parenL) || this.match(types.name)) { + this.state.potentialArrowAt = this.state.start; + } + + let left = this.parseMaybeConditional(refExpressionErrors, refNeedsArrowPos); + + if (afterLeftParse) { + left = afterLeftParse.call(this, left, startPos, startLoc); + } + + if (this.state.type.isAssign) { + const node = this.startNodeAt(startPos, startLoc); + const operator = this.state.value; + node.operator = operator; + + if (this.match(types.eq)) { + node.left = this.toAssignable(left); + refExpressionErrors.doubleProto = -1; + } else { + node.left = left; + } + + if (refExpressionErrors.shorthandAssign >= node.left.start) { + refExpressionErrors.shorthandAssign = -1; + } + + this.checkLVal(left, undefined, undefined, "assignment expression"); + this.next(); + node.right = this.parseMaybeAssign(); + return this.finishNode(node, "AssignmentExpression"); + } else if (ownExpressionErrors) { + this.checkExpressionErrors(refExpressionErrors, true); + } + + return left; + } + + parseMaybeConditional(refExpressionErrors, refNeedsArrowPos) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + const potentialArrowAt = this.state.potentialArrowAt; + const expr = this.parseExprOps(refExpressionErrors); + + if (this.shouldExitDescending(expr, potentialArrowAt)) { + return expr; + } + + return this.parseConditional(expr, startPos, startLoc, refNeedsArrowPos); + } + + parseConditional(expr, startPos, startLoc, refNeedsArrowPos) { + if (this.eat(types.question)) { + const node = this.startNodeAt(startPos, startLoc); + node.test = expr; + node.consequent = this.parseMaybeAssignAllowIn(); + this.expect(types.colon); + node.alternate = this.parseMaybeAssign(); + return this.finishNode(node, "ConditionalExpression"); + } + + return expr; + } + + parseExprOps(refExpressionErrors) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + const potentialArrowAt = this.state.potentialArrowAt; + const expr = this.parseMaybeUnary(refExpressionErrors); + + if (this.shouldExitDescending(expr, potentialArrowAt)) { + return expr; + } + + return this.parseExprOp(expr, startPos, startLoc, -1); + } + + parseExprOp(left, leftStartPos, leftStartLoc, minPrec) { + let prec = this.state.type.binop; + + if (prec != null && (this.prodParam.hasIn || !this.match(types._in))) { + if (prec > minPrec) { + const op = this.state.type; + + if (op === types.pipeline) { + this.expectPlugin("pipelineOperator"); + + if (this.state.inFSharpPipelineDirectBody) { + return left; + } + + this.state.inPipeline = true; + this.checkPipelineAtInfixOperator(left, leftStartPos); + } + + const node = this.startNodeAt(leftStartPos, leftStartLoc); + node.left = left; + node.operator = this.state.value; + + if (op === types.exponent && left.type === "UnaryExpression" && (this.options.createParenthesizedExpressions || !(left.extra && left.extra.parenthesized))) { + this.raise(left.argument.start, ErrorMessages.UnexpectedTokenUnaryExponentiation); + } + + const logical = op === types.logicalOR || op === types.logicalAND; + const coalesce = op === types.nullishCoalescing; + + if (coalesce) { + prec = types.logicalAND.binop; + } + + this.next(); + + if (op === types.pipeline && this.getPluginOption("pipelineOperator", "proposal") === "minimal") { + if (this.match(types.name) && this.state.value === "await" && this.prodParam.hasAwait) { + throw this.raise(this.state.start, ErrorMessages.UnexpectedAwaitAfterPipelineBody); + } + } + + node.right = this.parseExprOpRightExpr(op, prec); + this.finishNode(node, logical || coalesce ? "LogicalExpression" : "BinaryExpression"); + const nextOp = this.state.type; + + if (coalesce && (nextOp === types.logicalOR || nextOp === types.logicalAND) || logical && nextOp === types.nullishCoalescing) { + throw this.raise(this.state.start, ErrorMessages.MixingCoalesceWithLogical); + } + + return this.parseExprOp(node, leftStartPos, leftStartLoc, minPrec); + } + } + + return left; + } + + parseExprOpRightExpr(op, prec) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + + switch (op) { + case types.pipeline: + switch (this.getPluginOption("pipelineOperator", "proposal")) { + case "smart": + return this.withTopicPermittingContext(() => { + return this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(op, prec), startPos, startLoc); + }); + + case "fsharp": + return this.withSoloAwaitPermittingContext(() => { + return this.parseFSharpPipelineBody(prec); + }); + } + + default: + return this.parseExprOpBaseRightExpr(op, prec); + } + } + + parseExprOpBaseRightExpr(op, prec) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + return this.parseExprOp(this.parseMaybeUnary(), startPos, startLoc, op.rightAssociative ? prec - 1 : prec); + } + + parseMaybeUnary(refExpressionErrors) { + if (this.isContextual("await") && this.isAwaitAllowed()) { + return this.parseAwait(); + } + + const update = this.match(types.incDec); + const node = this.startNode(); + + if (this.state.type.prefix) { + node.operator = this.state.value; + node.prefix = true; + + if (this.match(types._throw)) { + this.expectPlugin("throwExpressions"); + } + + const isDelete = this.match(types._delete); + this.next(); + node.argument = this.parseMaybeUnary(); + this.checkExpressionErrors(refExpressionErrors, true); + + if (this.state.strict && isDelete) { + const arg = node.argument; + + if (arg.type === "Identifier") { + this.raise(node.start, ErrorMessages.StrictDelete); + } else if ((arg.type === "MemberExpression" || arg.type === "OptionalMemberExpression") && arg.property.type === "PrivateName") { + this.raise(node.start, ErrorMessages.DeletePrivateField); + } + } + + if (!update) { + return this.finishNode(node, "UnaryExpression"); + } + } + + return this.parseUpdate(node, update, refExpressionErrors); + } + + parseUpdate(node, update, refExpressionErrors) { + if (update) { + this.checkLVal(node.argument, undefined, undefined, "prefix operation"); + return this.finishNode(node, "UpdateExpression"); + } + + const startPos = this.state.start; + const startLoc = this.state.startLoc; + let expr = this.parseExprSubscripts(refExpressionErrors); + if (this.checkExpressionErrors(refExpressionErrors, false)) return expr; + + while (this.state.type.postfix && !this.canInsertSemicolon()) { + const node = this.startNodeAt(startPos, startLoc); + node.operator = this.state.value; + node.prefix = false; + node.argument = expr; + this.checkLVal(expr, undefined, undefined, "postfix operation"); + this.next(); + expr = this.finishNode(node, "UpdateExpression"); + } + + return expr; + } + + parseExprSubscripts(refExpressionErrors) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + const potentialArrowAt = this.state.potentialArrowAt; + const expr = this.parseExprAtom(refExpressionErrors); + + if (this.shouldExitDescending(expr, potentialArrowAt)) { + return expr; + } + + return this.parseSubscripts(expr, startPos, startLoc); + } + + parseSubscripts(base, startPos, startLoc, noCalls) { + const state = { + optionalChainMember: false, + maybeAsyncArrow: this.atPossibleAsyncArrow(base), + stop: false + }; + + do { + const oldMaybeInAsyncArrowHead = this.state.maybeInAsyncArrowHead; + + if (state.maybeAsyncArrow) { + this.state.maybeInAsyncArrowHead = true; + } + + base = this.parseSubscript(base, startPos, startLoc, noCalls, state); + state.maybeAsyncArrow = false; + this.state.maybeInAsyncArrowHead = oldMaybeInAsyncArrowHead; + } while (!state.stop); + + return base; + } + + parseSubscript(base, startPos, startLoc, noCalls, state) { + if (!noCalls && this.eat(types.doubleColon)) { + return this.parseBind(base, startPos, startLoc, noCalls, state); + } else if (this.match(types.backQuote)) { + return this.parseTaggedTemplateExpression(base, startPos, startLoc, state); + } + + let optional = false; + + if (this.match(types.questionDot)) { + state.optionalChainMember = optional = true; + + if (noCalls && this.lookaheadCharCode() === 40) { + state.stop = true; + return base; + } + + this.next(); + } + + if (!noCalls && this.match(types.parenL)) { + return this.parseCoverCallAndAsyncArrowHead(base, startPos, startLoc, state, optional); + } else if (optional || this.match(types.bracketL) || this.eat(types.dot)) { + return this.parseMember(base, startPos, startLoc, state, optional); + } else { + state.stop = true; + return base; + } + } + + parseMember(base, startPos, startLoc, state, optional) { + const node = this.startNodeAt(startPos, startLoc); + const computed = this.eat(types.bracketL); + node.object = base; + node.computed = computed; + const property = computed ? this.parseExpression() : this.parseMaybePrivateName(true); + + if (property.type === "PrivateName") { + if (node.object.type === "Super") { + this.raise(startPos, ErrorMessages.SuperPrivateField); + } + + this.classScope.usePrivateName(property.id.name, property.start); + } + + node.property = property; + + if (computed) { + this.expect(types.bracketR); + } + + if (state.optionalChainMember) { + node.optional = optional; + return this.finishNode(node, "OptionalMemberExpression"); + } else { + return this.finishNode(node, "MemberExpression"); + } + } + + parseBind(base, startPos, startLoc, noCalls, state) { + const node = this.startNodeAt(startPos, startLoc); + node.object = base; + node.callee = this.parseNoCallExpr(); + state.stop = true; + return this.parseSubscripts(this.finishNode(node, "BindExpression"), startPos, startLoc, noCalls); + } + + parseCoverCallAndAsyncArrowHead(base, startPos, startLoc, state, optional) { + const oldMaybeInArrowParameters = this.state.maybeInArrowParameters; + const oldYieldPos = this.state.yieldPos; + const oldAwaitPos = this.state.awaitPos; + this.state.maybeInArrowParameters = true; + this.state.yieldPos = -1; + this.state.awaitPos = -1; + this.next(); + let node = this.startNodeAt(startPos, startLoc); + node.callee = base; + + if (state.optionalChainMember) { + node.optional = optional; + } + + if (optional) { + node.arguments = this.parseCallExpressionArguments(types.parenR, false); + } else { + node.arguments = this.parseCallExpressionArguments(types.parenR, state.maybeAsyncArrow, base.type === "Import", base.type !== "Super", node); + } + + this.finishCallExpression(node, state.optionalChainMember); + + if (state.maybeAsyncArrow && this.shouldParseAsyncArrow() && !optional) { + state.stop = true; + node = this.parseAsyncArrowFromCallExpression(this.startNodeAt(startPos, startLoc), node); + this.checkYieldAwaitInDefaultParams(); + this.state.yieldPos = oldYieldPos; + this.state.awaitPos = oldAwaitPos; + } else { + this.toReferencedListDeep(node.arguments); + if (oldYieldPos !== -1) this.state.yieldPos = oldYieldPos; + + if (!this.isAwaitAllowed() && !oldMaybeInArrowParameters || oldAwaitPos !== -1) { + this.state.awaitPos = oldAwaitPos; + } + } + + this.state.maybeInArrowParameters = oldMaybeInArrowParameters; + return node; + } + + parseTaggedTemplateExpression(base, startPos, startLoc, state) { + const node = this.startNodeAt(startPos, startLoc); + node.tag = base; + node.quasi = this.parseTemplate(true); + + if (state.optionalChainMember) { + this.raise(startPos, ErrorMessages.OptionalChainingNoTemplate); + } + + return this.finishNode(node, "TaggedTemplateExpression"); + } + + atPossibleAsyncArrow(base) { + return base.type === "Identifier" && base.name === "async" && this.state.lastTokEnd === base.end && !this.canInsertSemicolon() && base.end - base.start === 5 && base.start === this.state.potentialArrowAt; + } + + finishCallExpression(node, optional) { + if (node.callee.type === "Import") { + if (node.arguments.length === 2) { + this.expectPlugin("moduleAttributes"); + } + + if (node.arguments.length === 0 || node.arguments.length > 2) { + this.raise(node.start, ErrorMessages.ImportCallArity, this.hasPlugin("moduleAttributes") ? "one or two arguments" : "one argument"); + } else { + for (let _i = 0, _node$arguments = node.arguments; _i < _node$arguments.length; _i++) { + const arg = _node$arguments[_i]; + + if (arg.type === "SpreadElement") { + this.raise(arg.start, ErrorMessages.ImportCallSpreadArgument); + } + } + } + } + + return this.finishNode(node, optional ? "OptionalCallExpression" : "CallExpression"); + } + + parseCallExpressionArguments(close, possibleAsyncArrow, dynamicImport, allowPlaceholder, nodeForExtra) { + const elts = []; + let innerParenStart; + let first = true; + const oldInFSharpPipelineDirectBody = this.state.inFSharpPipelineDirectBody; + this.state.inFSharpPipelineDirectBody = false; + + while (!this.eat(close)) { + if (first) { + first = false; + } else { + this.expect(types.comma); + + if (this.match(close)) { + if (dynamicImport && !this.hasPlugin("moduleAttributes")) { + this.raise(this.state.lastTokStart, ErrorMessages.ImportCallArgumentTrailingComma); + } + + if (nodeForExtra) { + this.addExtra(nodeForExtra, "trailingComma", this.state.lastTokStart); + } + + this.next(); + break; + } + } + + if (this.match(types.parenL) && !innerParenStart) { + innerParenStart = this.state.start; + } + + elts.push(this.parseExprListItem(false, possibleAsyncArrow ? new ExpressionErrors() : undefined, possibleAsyncArrow ? { + start: 0 + } : undefined, allowPlaceholder)); + } + + if (possibleAsyncArrow && innerParenStart && this.shouldParseAsyncArrow()) { + this.unexpected(); + } + + this.state.inFSharpPipelineDirectBody = oldInFSharpPipelineDirectBody; + return elts; + } + + shouldParseAsyncArrow() { + return this.match(types.arrow) && !this.canInsertSemicolon(); + } + + parseAsyncArrowFromCallExpression(node, call) { + var _call$extra; + + this.expect(types.arrow); + this.parseArrowExpression(node, call.arguments, true, (_call$extra = call.extra) == null ? void 0 : _call$extra.trailingComma); + return node; + } + + parseNoCallExpr() { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + return this.parseSubscripts(this.parseExprAtom(), startPos, startLoc, true); + } + + parseExprAtom(refExpressionErrors) { + if (this.state.type === types.slash) this.readRegexp(); + const canBeArrow = this.state.potentialArrowAt === this.state.start; + let node; + + switch (this.state.type) { + case types._super: + return this.parseSuper(); + + case types._import: + node = this.startNode(); + this.next(); + + if (this.match(types.dot)) { + return this.parseImportMetaProperty(node); + } + + if (!this.match(types.parenL)) { + this.raise(this.state.lastTokStart, ErrorMessages.UnsupportedImport); + } + + return this.finishNode(node, "Import"); + + case types._this: + node = this.startNode(); + this.next(); + return this.finishNode(node, "ThisExpression"); + + case types.name: + { + const containsEsc = this.state.containsEsc; + const id = this.parseIdentifier(); + + if (!containsEsc && id.name === "async" && !this.canInsertSemicolon()) { + if (this.match(types._function)) { + const last = this.state.context.length - 1; + + if (this.state.context[last] !== types$1.functionStatement) { + throw new Error("Internal error"); + } + + this.state.context[last] = types$1.functionExpression; + this.next(); + return this.parseFunction(this.startNodeAtNode(id), undefined, true); + } else if (this.match(types.name)) { + return this.parseAsyncArrowUnaryFunction(id); + } + } + + if (canBeArrow && this.match(types.arrow) && !this.canInsertSemicolon()) { + this.next(); + return this.parseArrowExpression(this.startNodeAtNode(id), [id], false); + } + + return id; + } + + case types._do: + { + return this.parseDo(); + } + + case types.regexp: + { + const value = this.state.value; + node = this.parseLiteral(value.value, "RegExpLiteral"); + node.pattern = value.pattern; + node.flags = value.flags; + return node; + } + + case types.num: + return this.parseLiteral(this.state.value, "NumericLiteral"); + + case types.bigint: + return this.parseLiteral(this.state.value, "BigIntLiteral"); + + case types.decimal: + return this.parseLiteral(this.state.value, "DecimalLiteral"); + + case types.string: + return this.parseLiteral(this.state.value, "StringLiteral"); + + case types._null: + node = this.startNode(); + this.next(); + return this.finishNode(node, "NullLiteral"); + + case types._true: + case types._false: + return this.parseBooleanLiteral(); + + case types.parenL: + return this.parseParenAndDistinguishExpression(canBeArrow); + + case types.bracketBarL: + case types.bracketHashL: + { + return this.parseArrayLike(this.state.type === types.bracketBarL ? types.bracketBarR : types.bracketR, false, true, refExpressionErrors); + } + + case types.bracketL: + { + return this.parseArrayLike(types.bracketR, true, false, refExpressionErrors); + } + + case types.braceBarL: + case types.braceHashL: + { + return this.parseObjectLike(this.state.type === types.braceBarL ? types.braceBarR : types.braceR, false, true, refExpressionErrors); + } + + case types.braceL: + { + return this.parseObjectLike(types.braceR, false, false, refExpressionErrors); + } + + case types._function: + return this.parseFunctionOrFunctionSent(); + + case types.at: + this.parseDecorators(); + + case types._class: + node = this.startNode(); + this.takeDecorators(node); + return this.parseClass(node, false); + + case types._new: + return this.parseNewOrNewTarget(); + + case types.backQuote: + return this.parseTemplate(false); + + case types.doubleColon: + { + node = this.startNode(); + this.next(); + node.object = null; + const callee = node.callee = this.parseNoCallExpr(); + + if (callee.type === "MemberExpression") { + return this.finishNode(node, "BindExpression"); + } else { + throw this.raise(callee.start, ErrorMessages.UnsupportedBind); + } + } + + case types.hash: + { + if (this.state.inPipeline) { + node = this.startNode(); + + if (this.getPluginOption("pipelineOperator", "proposal") !== "smart") { + this.raise(node.start, ErrorMessages.PrimaryTopicRequiresSmartPipeline); + } + + this.next(); + + if (!this.primaryTopicReferenceIsAllowedInCurrentTopicContext()) { + this.raise(node.start, ErrorMessages.PrimaryTopicNotAllowed); + } + + this.registerTopicReference(); + return this.finishNode(node, "PipelinePrimaryTopicReference"); + } + + const nextCh = this.input.codePointAt(this.state.end); + + if (isIdentifierStart(nextCh) || nextCh === 92) { + const start = this.state.start; + node = this.parseMaybePrivateName(true); + + if (this.match(types._in)) { + this.expectPlugin("privateIn"); + this.classScope.usePrivateName(node.id.name, node.start); + } else if (this.hasPlugin("privateIn")) { + this.raise(this.state.start, ErrorMessages.PrivateInExpectedIn, node.id.name); + } else { + throw this.unexpected(start); + } + + return node; + } + } + + case types.relational: + { + if (this.state.value === "<") { + const lookaheadCh = this.input.codePointAt(this.nextTokenStart()); + + if (isIdentifierStart(lookaheadCh) || lookaheadCh === 62) { + this.expectOnePlugin(["jsx", "flow", "typescript"]); + } + } + } + + default: + throw this.unexpected(); + } + } + + parseAsyncArrowUnaryFunction(id) { + const node = this.startNodeAtNode(id); + const oldMaybeInArrowParameters = this.state.maybeInArrowParameters; + const oldMaybeInAsyncArrowHead = this.state.maybeInAsyncArrowHead; + const oldYieldPos = this.state.yieldPos; + const oldAwaitPos = this.state.awaitPos; + this.state.maybeInArrowParameters = true; + this.state.maybeInAsyncArrowHead = true; + this.state.yieldPos = -1; + this.state.awaitPos = -1; + const params = [this.parseIdentifier()]; + + if (this.hasPrecedingLineBreak()) { + this.raise(this.state.pos, ErrorMessages.LineTerminatorBeforeArrow); + } + + this.expect(types.arrow); + this.checkYieldAwaitInDefaultParams(); + this.state.maybeInArrowParameters = oldMaybeInArrowParameters; + this.state.maybeInAsyncArrowHead = oldMaybeInAsyncArrowHead; + this.state.yieldPos = oldYieldPos; + this.state.awaitPos = oldAwaitPos; + this.parseArrowExpression(node, params, true); + return node; + } + + parseDo() { + this.expectPlugin("doExpressions"); + const node = this.startNode(); + this.next(); + const oldLabels = this.state.labels; + this.state.labels = []; + node.body = this.parseBlock(); + this.state.labels = oldLabels; + return this.finishNode(node, "DoExpression"); + } + + parseSuper() { + const node = this.startNode(); + this.next(); + + if (this.match(types.parenL) && !this.scope.allowDirectSuper && !this.options.allowSuperOutsideMethod) { + this.raise(node.start, ErrorMessages.SuperNotAllowed); + } else if (!this.scope.allowSuper && !this.options.allowSuperOutsideMethod) { + this.raise(node.start, ErrorMessages.UnexpectedSuper); + } + + if (!this.match(types.parenL) && !this.match(types.bracketL) && !this.match(types.dot)) { + this.raise(node.start, ErrorMessages.UnsupportedSuper); + } + + return this.finishNode(node, "Super"); + } + + parseBooleanLiteral() { + const node = this.startNode(); + node.value = this.match(types._true); + this.next(); + return this.finishNode(node, "BooleanLiteral"); + } + + parseMaybePrivateName(isPrivateNameAllowed) { + const isPrivate = this.match(types.hash); + + if (isPrivate) { + this.expectOnePlugin(["classPrivateProperties", "classPrivateMethods"]); + + if (!isPrivateNameAllowed) { + this.raise(this.state.pos, ErrorMessages.UnexpectedPrivateField); + } + + const node = this.startNode(); + this.next(); + this.assertNoSpace("Unexpected space between # and identifier"); + node.id = this.parseIdentifier(true); + return this.finishNode(node, "PrivateName"); + } else { + return this.parseIdentifier(true); + } + } + + parseFunctionOrFunctionSent() { + const node = this.startNode(); + this.next(); + + if (this.prodParam.hasYield && this.match(types.dot)) { + const meta = this.createIdentifier(this.startNodeAtNode(node), "function"); + this.next(); + return this.parseMetaProperty(node, meta, "sent"); + } + + return this.parseFunction(node); + } + + parseMetaProperty(node, meta, propertyName) { + node.meta = meta; + + if (meta.name === "function" && propertyName === "sent") { + if (this.isContextual(propertyName)) { + this.expectPlugin("functionSent"); + } else if (!this.hasPlugin("functionSent")) { + this.unexpected(); + } + } + + const containsEsc = this.state.containsEsc; + node.property = this.parseIdentifier(true); + + if (node.property.name !== propertyName || containsEsc) { + this.raise(node.property.start, ErrorMessages.UnsupportedMetaProperty, meta.name, propertyName); + } + + return this.finishNode(node, "MetaProperty"); + } + + parseImportMetaProperty(node) { + const id = this.createIdentifier(this.startNodeAtNode(node), "import"); + this.next(); + + if (this.isContextual("meta")) { + if (!this.inModule) { + this.raiseWithData(id.start, { + code: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED" + }, ErrorMessages.ImportMetaOutsideModule); + } + + this.sawUnambiguousESM = true; + } + + return this.parseMetaProperty(node, id, "meta"); + } + + parseLiteral(value, type, startPos, startLoc) { + startPos = startPos || this.state.start; + startLoc = startLoc || this.state.startLoc; + const node = this.startNodeAt(startPos, startLoc); + this.addExtra(node, "rawValue", value); + this.addExtra(node, "raw", this.input.slice(startPos, this.state.end)); + node.value = value; + this.next(); + return this.finishNode(node, type); + } + + parseParenAndDistinguishExpression(canBeArrow) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + let val; + this.next(); + const oldMaybeInArrowParameters = this.state.maybeInArrowParameters; + const oldYieldPos = this.state.yieldPos; + const oldAwaitPos = this.state.awaitPos; + const oldInFSharpPipelineDirectBody = this.state.inFSharpPipelineDirectBody; + this.state.maybeInArrowParameters = true; + this.state.yieldPos = -1; + this.state.awaitPos = -1; + this.state.inFSharpPipelineDirectBody = false; + const innerStartPos = this.state.start; + const innerStartLoc = this.state.startLoc; + const exprList = []; + const refExpressionErrors = new ExpressionErrors(); + const refNeedsArrowPos = { + start: 0 + }; + let first = true; + let spreadStart; + let optionalCommaStart; + + while (!this.match(types.parenR)) { + if (first) { + first = false; + } else { + this.expect(types.comma, refNeedsArrowPos.start || null); + + if (this.match(types.parenR)) { + optionalCommaStart = this.state.start; + break; + } + } + + if (this.match(types.ellipsis)) { + const spreadNodeStartPos = this.state.start; + const spreadNodeStartLoc = this.state.startLoc; + spreadStart = this.state.start; + exprList.push(this.parseParenItem(this.parseRestBinding(), spreadNodeStartPos, spreadNodeStartLoc)); + this.checkCommaAfterRest(41); + break; + } else { + exprList.push(this.parseMaybeAssignAllowIn(refExpressionErrors, this.parseParenItem, refNeedsArrowPos)); + } + } + + const innerEndPos = this.state.lastTokEnd; + const innerEndLoc = this.state.lastTokEndLoc; + this.expect(types.parenR); + this.state.maybeInArrowParameters = oldMaybeInArrowParameters; + this.state.inFSharpPipelineDirectBody = oldInFSharpPipelineDirectBody; + let arrowNode = this.startNodeAt(startPos, startLoc); + + if (canBeArrow && this.shouldParseArrow() && (arrowNode = this.parseArrow(arrowNode))) { + if (!this.isAwaitAllowed() && !this.state.maybeInAsyncArrowHead) { + this.state.awaitPos = oldAwaitPos; + } + + this.checkYieldAwaitInDefaultParams(); + this.state.yieldPos = oldYieldPos; + this.state.awaitPos = oldAwaitPos; + + for (let _i2 = 0; _i2 < exprList.length; _i2++) { + const param = exprList[_i2]; + + if (param.extra && param.extra.parenthesized) { + this.unexpected(param.extra.parenStart); + } + } + + this.parseArrowExpression(arrowNode, exprList, false); + return arrowNode; + } + + if (oldYieldPos !== -1) this.state.yieldPos = oldYieldPos; + if (oldAwaitPos !== -1) this.state.awaitPos = oldAwaitPos; + + if (!exprList.length) { + this.unexpected(this.state.lastTokStart); + } + + if (optionalCommaStart) this.unexpected(optionalCommaStart); + if (spreadStart) this.unexpected(spreadStart); + this.checkExpressionErrors(refExpressionErrors, true); + if (refNeedsArrowPos.start) this.unexpected(refNeedsArrowPos.start); + this.toReferencedListDeep(exprList, true); + + if (exprList.length > 1) { + val = this.startNodeAt(innerStartPos, innerStartLoc); + val.expressions = exprList; + this.finishNodeAt(val, "SequenceExpression", innerEndPos, innerEndLoc); + } else { + val = exprList[0]; + } + + if (!this.options.createParenthesizedExpressions) { + this.addExtra(val, "parenthesized", true); + this.addExtra(val, "parenStart", startPos); + return val; + } + + const parenExpression = this.startNodeAt(startPos, startLoc); + parenExpression.expression = val; + this.finishNode(parenExpression, "ParenthesizedExpression"); + return parenExpression; + } + + shouldParseArrow() { + return !this.canInsertSemicolon(); + } + + parseArrow(node) { + if (this.eat(types.arrow)) { + return node; + } + } + + parseParenItem(node, startPos, startLoc) { + return node; + } + + parseNewOrNewTarget() { + const node = this.startNode(); + this.next(); + + if (this.match(types.dot)) { + const meta = this.createIdentifier(this.startNodeAtNode(node), "new"); + this.next(); + const metaProp = this.parseMetaProperty(node, meta, "target"); + + if (!this.scope.inNonArrowFunction && !this.scope.inClass) { + let error = ErrorMessages.UnexpectedNewTarget; + + if (this.hasPlugin("classProperties")) { + error += " or class properties"; + } + + this.raise(metaProp.start, error); + } + + return metaProp; + } + + return this.parseNew(node); + } + + parseNew(node) { + node.callee = this.parseNoCallExpr(); + + if (node.callee.type === "Import") { + this.raise(node.callee.start, ErrorMessages.ImportCallNotNewExpression); + } else if (node.callee.type === "OptionalMemberExpression" || node.callee.type === "OptionalCallExpression") { + this.raise(this.state.lastTokEnd, ErrorMessages.OptionalChainingNoNew); + } else if (this.eat(types.questionDot)) { + this.raise(this.state.start, ErrorMessages.OptionalChainingNoNew); + } + + this.parseNewArguments(node); + return this.finishNode(node, "NewExpression"); + } + + parseNewArguments(node) { + if (this.eat(types.parenL)) { + const args = this.parseExprList(types.parenR); + this.toReferencedList(args); + node.arguments = args; + } else { + node.arguments = []; + } + } + + parseTemplateElement(isTagged) { + const elem = this.startNode(); + + if (this.state.value === null) { + if (!isTagged) { + this.raise(this.state.start + 1, ErrorMessages.InvalidEscapeSequenceTemplate); + } + } + + elem.value = { + raw: this.input.slice(this.state.start, this.state.end).replace(/\r\n?/g, "\n"), + cooked: this.state.value + }; + this.next(); + elem.tail = this.match(types.backQuote); + return this.finishNode(elem, "TemplateElement"); + } + + parseTemplate(isTagged) { + const node = this.startNode(); + this.next(); + node.expressions = []; + let curElt = this.parseTemplateElement(isTagged); + node.quasis = [curElt]; + + while (!curElt.tail) { + this.expect(types.dollarBraceL); + node.expressions.push(this.parseExpression()); + this.expect(types.braceR); + node.quasis.push(curElt = this.parseTemplateElement(isTagged)); + } + + this.next(); + return this.finishNode(node, "TemplateLiteral"); + } + + parseObjectLike(close, isPattern, isRecord, refExpressionErrors) { + if (isRecord) { + this.expectPlugin("recordAndTuple"); + } + + const oldInFSharpPipelineDirectBody = this.state.inFSharpPipelineDirectBody; + this.state.inFSharpPipelineDirectBody = false; + const propHash = Object.create(null); + let first = true; + const node = this.startNode(); + node.properties = []; + this.next(); + + while (!this.eat(close)) { + if (first) { + first = false; + } else { + this.expect(types.comma); + + if (this.match(close)) { + this.addExtra(node, "trailingComma", this.state.lastTokStart); + this.next(); + break; + } + } + + const prop = this.parsePropertyDefinition(isPattern, refExpressionErrors); + + if (!isPattern) { + this.checkProto(prop, isRecord, propHash, refExpressionErrors); + } + + if (isRecord && prop.type !== "ObjectProperty" && prop.type !== "SpreadElement") { + this.raise(prop.start, ErrorMessages.InvalidRecordProperty); + } + + if (prop.shorthand) { + this.addExtra(prop, "shorthand", true); + } + + node.properties.push(prop); + } + + this.state.inFSharpPipelineDirectBody = oldInFSharpPipelineDirectBody; + let type = "ObjectExpression"; + + if (isPattern) { + type = "ObjectPattern"; + } else if (isRecord) { + type = "RecordExpression"; + } + + return this.finishNode(node, type); + } + + maybeAsyncOrAccessorProp(prop) { + return !prop.computed && prop.key.type === "Identifier" && (this.isLiteralPropertyName() || this.match(types.bracketL) || this.match(types.star)); + } + + parsePropertyDefinition(isPattern, refExpressionErrors) { + let decorators = []; + + if (this.match(types.at)) { + if (this.hasPlugin("decorators")) { + this.raise(this.state.start, ErrorMessages.UnsupportedPropertyDecorator); + } + + while (this.match(types.at)) { + decorators.push(this.parseDecorator()); + } + } + + const prop = this.startNode(); + let isGenerator = false; + let isAsync = false; + let isAccessor = false; + let startPos; + let startLoc; + + if (this.match(types.ellipsis)) { + if (decorators.length) this.unexpected(); + + if (isPattern) { + this.next(); + prop.argument = this.parseIdentifier(); + this.checkCommaAfterRest(125); + return this.finishNode(prop, "RestElement"); + } + + return this.parseSpread(); + } + + if (decorators.length) { + prop.decorators = decorators; + decorators = []; + } + + prop.method = false; + + if (isPattern || refExpressionErrors) { + startPos = this.state.start; + startLoc = this.state.startLoc; + } + + if (!isPattern) { + isGenerator = this.eat(types.star); + } + + const containsEsc = this.state.containsEsc; + const key = this.parsePropertyName(prop, false); + + if (!isPattern && !isGenerator && !containsEsc && this.maybeAsyncOrAccessorProp(prop)) { + const keyName = key.name; + + if (keyName === "async" && !this.hasPrecedingLineBreak()) { + isAsync = true; + isGenerator = this.eat(types.star); + this.parsePropertyName(prop, false); + } + + if (keyName === "get" || keyName === "set") { + isAccessor = true; + prop.kind = keyName; + + if (this.match(types.star)) { + this.raise(this.state.pos, ErrorMessages.AccessorIsGenerator, keyName); + this.next(); + } + + this.parsePropertyName(prop, false); + } + } + + this.parseObjPropValue(prop, startPos, startLoc, isGenerator, isAsync, isPattern, isAccessor, refExpressionErrors); + return prop; + } + + getGetterSetterExpectedParamCount(method) { + return method.kind === "get" ? 0 : 1; + } + + checkGetterSetterParams(method) { + const paramCount = this.getGetterSetterExpectedParamCount(method); + const start = method.start; + + if (method.params.length !== paramCount) { + if (method.kind === "get") { + this.raise(start, ErrorMessages.BadGetterArity); + } else { + this.raise(start, ErrorMessages.BadSetterArity); + } + } + + if (method.kind === "set" && method.params[method.params.length - 1].type === "RestElement") { + this.raise(start, ErrorMessages.BadSetterRestParameter); + } + } + + parseObjectMethod(prop, isGenerator, isAsync, isPattern, isAccessor) { + if (isAccessor) { + this.parseMethod(prop, false, false, false, false, "ObjectMethod"); + this.checkGetterSetterParams(prop); + return prop; + } + + if (isAsync || isGenerator || this.match(types.parenL)) { + if (isPattern) this.unexpected(); + prop.kind = "method"; + prop.method = true; + return this.parseMethod(prop, isGenerator, isAsync, false, false, "ObjectMethod"); + } + } + + parseObjectProperty(prop, startPos, startLoc, isPattern, refExpressionErrors) { + prop.shorthand = false; + + if (this.eat(types.colon)) { + prop.value = isPattern ? this.parseMaybeDefault(this.state.start, this.state.startLoc) : this.parseMaybeAssignAllowIn(refExpressionErrors); + return this.finishNode(prop, "ObjectProperty"); + } + + if (!prop.computed && prop.key.type === "Identifier") { + this.checkReservedWord(prop.key.name, prop.key.start, true, false); + + if (isPattern) { + prop.value = this.parseMaybeDefault(startPos, startLoc, prop.key.__clone()); + } else if (this.match(types.eq) && refExpressionErrors) { + if (refExpressionErrors.shorthandAssign === -1) { + refExpressionErrors.shorthandAssign = this.state.start; + } + + prop.value = this.parseMaybeDefault(startPos, startLoc, prop.key.__clone()); + } else { + prop.value = prop.key.__clone(); + } + + prop.shorthand = true; + return this.finishNode(prop, "ObjectProperty"); + } + } + + parseObjPropValue(prop, startPos, startLoc, isGenerator, isAsync, isPattern, isAccessor, refExpressionErrors) { + const node = this.parseObjectMethod(prop, isGenerator, isAsync, isPattern, isAccessor) || this.parseObjectProperty(prop, startPos, startLoc, isPattern, refExpressionErrors); + if (!node) this.unexpected(); + return node; + } + + parsePropertyName(prop, isPrivateNameAllowed) { + if (this.eat(types.bracketL)) { + prop.computed = true; + prop.key = this.parseMaybeAssignAllowIn(); + this.expect(types.bracketR); + } else { + const oldInPropertyName = this.state.inPropertyName; + this.state.inPropertyName = true; + prop.key = this.match(types.num) || this.match(types.string) || this.match(types.bigint) || this.match(types.decimal) ? this.parseExprAtom() : this.parseMaybePrivateName(isPrivateNameAllowed); + + if (prop.key.type !== "PrivateName") { + prop.computed = false; + } + + this.state.inPropertyName = oldInPropertyName; + } + + return prop.key; + } + + initFunction(node, isAsync) { + node.id = null; + node.generator = false; + node.async = !!isAsync; + } + + parseMethod(node, isGenerator, isAsync, isConstructor, allowDirectSuper, type, inClassScope = false) { + const oldYieldPos = this.state.yieldPos; + const oldAwaitPos = this.state.awaitPos; + this.state.yieldPos = -1; + this.state.awaitPos = -1; + this.initFunction(node, isAsync); + node.generator = !!isGenerator; + const allowModifiers = isConstructor; + this.scope.enter(SCOPE_FUNCTION | SCOPE_SUPER | (inClassScope ? SCOPE_CLASS : 0) | (allowDirectSuper ? SCOPE_DIRECT_SUPER : 0)); + this.prodParam.enter(functionFlags(isAsync, node.generator)); + this.parseFunctionParams(node, allowModifiers); + this.parseFunctionBodyAndFinish(node, type, true); + this.prodParam.exit(); + this.scope.exit(); + this.state.yieldPos = oldYieldPos; + this.state.awaitPos = oldAwaitPos; + return node; + } + + parseArrayLike(close, canBePattern, isTuple, refExpressionErrors) { + if (isTuple) { + this.expectPlugin("recordAndTuple"); + } + + const oldInFSharpPipelineDirectBody = this.state.inFSharpPipelineDirectBody; + this.state.inFSharpPipelineDirectBody = false; + const node = this.startNode(); + this.next(); + node.elements = this.parseExprList(close, !isTuple, refExpressionErrors, node); + + if (canBePattern && !this.state.maybeInArrowParameters) { + this.toReferencedList(node.elements); + } + + this.state.inFSharpPipelineDirectBody = oldInFSharpPipelineDirectBody; + return this.finishNode(node, isTuple ? "TupleExpression" : "ArrayExpression"); + } + + parseArrowExpression(node, params, isAsync, trailingCommaPos) { + this.scope.enter(SCOPE_FUNCTION | SCOPE_ARROW); + let flags = functionFlags(isAsync, false); + + if (!this.match(types.bracketL) && this.prodParam.hasIn) { + flags |= PARAM_IN; + } + + this.prodParam.enter(flags); + this.initFunction(node, isAsync); + const oldMaybeInArrowParameters = this.state.maybeInArrowParameters; + const oldYieldPos = this.state.yieldPos; + const oldAwaitPos = this.state.awaitPos; + + if (params) { + this.state.maybeInArrowParameters = true; + this.setArrowFunctionParameters(node, params, trailingCommaPos); + } + + this.state.maybeInArrowParameters = false; + this.state.yieldPos = -1; + this.state.awaitPos = -1; + this.parseFunctionBody(node, true); + this.prodParam.exit(); + this.scope.exit(); + this.state.maybeInArrowParameters = oldMaybeInArrowParameters; + this.state.yieldPos = oldYieldPos; + this.state.awaitPos = oldAwaitPos; + return this.finishNode(node, "ArrowFunctionExpression"); + } + + setArrowFunctionParameters(node, params, trailingCommaPos) { + node.params = this.toAssignableList(params, trailingCommaPos); + } + + parseFunctionBodyAndFinish(node, type, isMethod = false) { + this.parseFunctionBody(node, false, isMethod); + this.finishNode(node, type); + } + + parseFunctionBody(node, allowExpression, isMethod = false) { + const isExpression = allowExpression && !this.match(types.braceL); + const oldInParameters = this.state.inParameters; + this.state.inParameters = false; + + if (isExpression) { + node.body = this.parseMaybeAssignAllowIn(); + this.checkParams(node, false, allowExpression, false); + } else { + const oldStrict = this.state.strict; + const oldLabels = this.state.labels; + this.state.labels = []; + this.prodParam.enter(this.prodParam.currentFlags() | PARAM_RETURN); + node.body = this.parseBlock(true, false, hasStrictModeDirective => { + const nonSimple = !this.isSimpleParamList(node.params); + + if (hasStrictModeDirective && nonSimple) { + const errorPos = (node.kind === "method" || node.kind === "constructor") && !!node.key ? node.key.end : node.start; + this.raise(errorPos, ErrorMessages.IllegalLanguageModeDirective); + } + + const strictModeChanged = !oldStrict && this.state.strict; + this.checkParams(node, !this.state.strict && !allowExpression && !isMethod && !nonSimple, allowExpression, strictModeChanged); + + if (this.state.strict && node.id) { + this.checkLVal(node.id, BIND_OUTSIDE, undefined, "function name", undefined, strictModeChanged); + } + }); + this.prodParam.exit(); + this.state.labels = oldLabels; + } + + this.state.inParameters = oldInParameters; + } + + isSimpleParamList(params) { + for (let i = 0, len = params.length; i < len; i++) { + if (params[i].type !== "Identifier") return false; + } + + return true; + } + + checkParams(node, allowDuplicates, isArrowFunction, strictModeChanged = true) { + const nameHash = Object.create(null); + + for (let i = 0; i < node.params.length; i++) { + this.checkLVal(node.params[i], BIND_VAR, allowDuplicates ? null : nameHash, "function parameter list", undefined, strictModeChanged); + } + } + + parseExprList(close, allowEmpty, refExpressionErrors, nodeForExtra) { + const elts = []; + let first = true; + + while (!this.eat(close)) { + if (first) { + first = false; + } else { + this.expect(types.comma); + + if (this.match(close)) { + if (nodeForExtra) { + this.addExtra(nodeForExtra, "trailingComma", this.state.lastTokStart); + } + + this.next(); + break; + } + } + + elts.push(this.parseExprListItem(allowEmpty, refExpressionErrors)); + } + + return elts; + } + + parseExprListItem(allowEmpty, refExpressionErrors, refNeedsArrowPos, allowPlaceholder) { + let elt; + + if (this.match(types.comma)) { + if (!allowEmpty) { + this.raise(this.state.pos, ErrorMessages.UnexpectedToken, ","); + } + + elt = null; + } else if (this.match(types.ellipsis)) { + const spreadNodeStartPos = this.state.start; + const spreadNodeStartLoc = this.state.startLoc; + elt = this.parseParenItem(this.parseSpread(refExpressionErrors, refNeedsArrowPos), spreadNodeStartPos, spreadNodeStartLoc); + } else if (this.match(types.question)) { + this.expectPlugin("partialApplication"); + + if (!allowPlaceholder) { + this.raise(this.state.start, ErrorMessages.UnexpectedArgumentPlaceholder); + } + + const node = this.startNode(); + this.next(); + elt = this.finishNode(node, "ArgumentPlaceholder"); + } else { + elt = this.parseMaybeAssignAllowIn(refExpressionErrors, this.parseParenItem, refNeedsArrowPos); + } + + return elt; + } + + parseIdentifier(liberal) { + const node = this.startNode(); + const name = this.parseIdentifierName(node.start, liberal); + return this.createIdentifier(node, name); + } + + createIdentifier(node, name) { + node.name = name; + node.loc.identifierName = name; + return this.finishNode(node, "Identifier"); + } + + parseIdentifierName(pos, liberal) { + let name; + const { + start, + type + } = this.state; + + if (type === types.name) { + name = this.state.value; + } else if (type.keyword) { + name = type.keyword; + const curContext = this.curContext(); + + if ((type === types._class || type === types._function) && (curContext === types$1.functionStatement || curContext === types$1.functionExpression)) { + this.state.context.pop(); + } + } else { + throw this.unexpected(); + } + + if (liberal) { + this.state.type = types.name; + } else { + this.checkReservedWord(name, start, !!type.keyword, false); + } + + this.next(); + return name; + } + + checkReservedWord(word, startLoc, checkKeywords, isBinding) { + if (this.prodParam.hasYield && word === "yield") { + this.raise(startLoc, ErrorMessages.YieldBindingIdentifier); + return; + } + + if (word === "await") { + if (this.prodParam.hasAwait) { + this.raise(startLoc, ErrorMessages.AwaitBindingIdentifier); + return; + } + + if (this.state.awaitPos === -1 && (this.state.maybeInAsyncArrowHead || this.isAwaitAllowed())) { + this.state.awaitPos = this.state.start; + } + } + + if (this.scope.inClass && !this.scope.inNonArrowFunction && word === "arguments") { + this.raise(startLoc, ErrorMessages.ArgumentsDisallowedInInitializer); + return; + } + + if (checkKeywords && isKeyword(word)) { + this.raise(startLoc, ErrorMessages.UnexpectedKeyword, word); + return; + } + + const reservedTest = !this.state.strict ? isReservedWord : isBinding ? isStrictBindReservedWord : isStrictReservedWord; + + if (reservedTest(word, this.inModule)) { + if (!this.prodParam.hasAwait && word === "await") { + this.raise(startLoc, ErrorMessages.AwaitNotInAsyncFunction); + } else { + this.raise(startLoc, ErrorMessages.UnexpectedReservedWord, word); + } + } + } + + isAwaitAllowed() { + if (this.scope.inFunction) return this.prodParam.hasAwait; + if (this.options.allowAwaitOutsideFunction) return true; + + if (this.hasPlugin("topLevelAwait")) { + return this.inModule && this.prodParam.hasAwait; + } + + return false; + } + + parseAwait() { + const node = this.startNode(); + this.next(); + + if (this.state.inParameters) { + this.raise(node.start, ErrorMessages.AwaitExpressionFormalParameter); + } else if (this.state.awaitPos === -1) { + this.state.awaitPos = node.start; + } + + if (this.eat(types.star)) { + this.raise(node.start, ErrorMessages.ObsoleteAwaitStar); + } + + if (!this.scope.inFunction && !this.options.allowAwaitOutsideFunction) { + if (this.hasPrecedingLineBreak() || this.match(types.plusMin) || this.match(types.parenL) || this.match(types.bracketL) || this.match(types.backQuote) || this.match(types.regexp) || this.match(types.slash) || this.hasPlugin("v8intrinsic") && this.match(types.modulo)) { + this.ambiguousScriptDifferentAst = true; + } else { + this.sawUnambiguousESM = true; + } + } + + if (!this.state.soloAwait) { + node.argument = this.parseMaybeUnary(); + } + + return this.finishNode(node, "AwaitExpression"); + } + + parseYield() { + const node = this.startNode(); + + if (this.state.inParameters) { + this.raise(node.start, ErrorMessages.YieldInParameter); + } else if (this.state.yieldPos === -1) { + this.state.yieldPos = node.start; + } + + this.next(); + + if (this.match(types.semi) || !this.match(types.star) && !this.state.type.startsExpr || this.hasPrecedingLineBreak()) { + node.delegate = false; + node.argument = null; + } else { + node.delegate = this.eat(types.star); + node.argument = this.parseMaybeAssign(); + } + + return this.finishNode(node, "YieldExpression"); + } + + checkPipelineAtInfixOperator(left, leftStartPos) { + if (this.getPluginOption("pipelineOperator", "proposal") === "smart") { + if (left.type === "SequenceExpression") { + this.raise(leftStartPos, ErrorMessages.PipelineHeadSequenceExpression); + } + } + } + + parseSmartPipelineBody(childExpression, startPos, startLoc) { + this.checkSmartPipelineBodyEarlyErrors(childExpression, startPos); + return this.parseSmartPipelineBodyInStyle(childExpression, startPos, startLoc); + } + + checkSmartPipelineBodyEarlyErrors(childExpression, startPos) { + if (this.match(types.arrow)) { + throw this.raise(this.state.start, ErrorMessages.PipelineBodyNoArrow); + } else if (childExpression.type === "SequenceExpression") { + this.raise(startPos, ErrorMessages.PipelineBodySequenceExpression); + } + } + + parseSmartPipelineBodyInStyle(childExpression, startPos, startLoc) { + const bodyNode = this.startNodeAt(startPos, startLoc); + const isSimpleReference = this.isSimpleReference(childExpression); + + if (isSimpleReference) { + bodyNode.callee = childExpression; + } else { + if (!this.topicReferenceWasUsedInCurrentTopicContext()) { + this.raise(startPos, ErrorMessages.PipelineTopicUnused); + } + + bodyNode.expression = childExpression; + } + + return this.finishNode(bodyNode, isSimpleReference ? "PipelineBareFunction" : "PipelineTopicExpression"); + } + + isSimpleReference(expression) { + switch (expression.type) { + case "MemberExpression": + return !expression.computed && this.isSimpleReference(expression.object); + + case "Identifier": + return true; + + default: + return false; + } + } + + withTopicPermittingContext(callback) { + const outerContextTopicState = this.state.topicContext; + this.state.topicContext = { + maxNumOfResolvableTopics: 1, + maxTopicIndex: null + }; + + try { + return callback(); + } finally { + this.state.topicContext = outerContextTopicState; + } + } + + withTopicForbiddingContext(callback) { + const outerContextTopicState = this.state.topicContext; + this.state.topicContext = { + maxNumOfResolvableTopics: 0, + maxTopicIndex: null + }; + + try { + return callback(); + } finally { + this.state.topicContext = outerContextTopicState; + } + } + + withSoloAwaitPermittingContext(callback) { + const outerContextSoloAwaitState = this.state.soloAwait; + this.state.soloAwait = true; + + try { + return callback(); + } finally { + this.state.soloAwait = outerContextSoloAwaitState; + } + } + + allowInAnd(callback) { + const flags = this.prodParam.currentFlags(); + const prodParamToSet = PARAM_IN & ~flags; + + if (prodParamToSet) { + this.prodParam.enter(flags | PARAM_IN); + + try { + return callback(); + } finally { + this.prodParam.exit(); + } + } + + return callback(); + } + + disallowInAnd(callback) { + const flags = this.prodParam.currentFlags(); + const prodParamToClear = PARAM_IN & flags; + + if (prodParamToClear) { + this.prodParam.enter(flags & ~PARAM_IN); + + try { + return callback(); + } finally { + this.prodParam.exit(); + } + } + + return callback(); + } + + registerTopicReference() { + this.state.topicContext.maxTopicIndex = 0; + } + + primaryTopicReferenceIsAllowedInCurrentTopicContext() { + return this.state.topicContext.maxNumOfResolvableTopics >= 1; + } + + topicReferenceWasUsedInCurrentTopicContext() { + return this.state.topicContext.maxTopicIndex != null && this.state.topicContext.maxTopicIndex >= 0; + } + + parseFSharpPipelineBody(prec) { + const startPos = this.state.start; + const startLoc = this.state.startLoc; + this.state.potentialArrowAt = this.state.start; + const oldInFSharpPipelineDirectBody = this.state.inFSharpPipelineDirectBody; + this.state.inFSharpPipelineDirectBody = true; + const ret = this.parseExprOp(this.parseMaybeUnary(), startPos, startLoc, prec); + this.state.inFSharpPipelineDirectBody = oldInFSharpPipelineDirectBody; + return ret; + } + +} + +const loopLabel = { + kind: "loop" +}, + switchLabel = { + kind: "switch" +}; +const FUNC_NO_FLAGS = 0b000, + FUNC_STATEMENT = 0b001, + FUNC_HANGING_STATEMENT = 0b010, + FUNC_NULLABLE_ID = 0b100; +class StatementParser extends ExpressionParser { + parseTopLevel(file, program) { + program.sourceType = this.options.sourceType; + program.interpreter = this.parseInterpreterDirective(); + this.parseBlockBody(program, true, true, types.eof); + + if (this.inModule && !this.options.allowUndeclaredExports && this.scope.undefinedExports.size > 0) { + for (let _i = 0, _Array$from = Array.from(this.scope.undefinedExports); _i < _Array$from.length; _i++) { + const [name] = _Array$from[_i]; + const pos = this.scope.undefinedExports.get(name); + this.raise(pos, ErrorMessages.ModuleExportUndefined, name); + } + } + + file.program = this.finishNode(program, "Program"); + file.comments = this.state.comments; + if (this.options.tokens) file.tokens = this.tokens; + return this.finishNode(file, "File"); + } + + stmtToDirective(stmt) { + const expr = stmt.expression; + const directiveLiteral = this.startNodeAt(expr.start, expr.loc.start); + const directive = this.startNodeAt(stmt.start, stmt.loc.start); + const raw = this.input.slice(expr.start, expr.end); + const val = directiveLiteral.value = raw.slice(1, -1); + this.addExtra(directiveLiteral, "raw", raw); + this.addExtra(directiveLiteral, "rawValue", val); + directive.value = this.finishNodeAt(directiveLiteral, "DirectiveLiteral", expr.end, expr.loc.end); + return this.finishNodeAt(directive, "Directive", stmt.end, stmt.loc.end); + } + + parseInterpreterDirective() { + if (!this.match(types.interpreterDirective)) { + return null; + } + + const node = this.startNode(); + node.value = this.state.value; + this.next(); + return this.finishNode(node, "InterpreterDirective"); + } + + isLet(context) { + if (!this.isContextual("let")) { + return false; + } + + const next = this.nextTokenStart(); + const nextCh = this.input.charCodeAt(next); + if (nextCh === 91) return true; + if (context) return false; + if (nextCh === 123) return true; + + if (isIdentifierStart(nextCh)) { + let pos = next + 1; + + while (isIdentifierChar(this.input.charCodeAt(pos))) { + ++pos; + } + + const ident = this.input.slice(next, pos); + if (!keywordRelationalOperator.test(ident)) return true; + } + + return false; + } + + parseStatement(context, topLevel) { + if (this.match(types.at)) { + this.parseDecorators(true); + } + + return this.parseStatementContent(context, topLevel); + } + + parseStatementContent(context, topLevel) { + let starttype = this.state.type; + const node = this.startNode(); + let kind; + + if (this.isLet(context)) { + starttype = types._var; + kind = "let"; + } + + switch (starttype) { + case types._break: + case types._continue: + return this.parseBreakContinueStatement(node, starttype.keyword); + + case types._debugger: + return this.parseDebuggerStatement(node); + + case types._do: + return this.parseDoStatement(node); + + case types._for: + return this.parseForStatement(node); + + case types._function: + if (this.lookaheadCharCode() === 46) break; + + if (context) { + if (this.state.strict) { + this.raise(this.state.start, ErrorMessages.StrictFunction); + } else if (context !== "if" && context !== "label") { + this.raise(this.state.start, ErrorMessages.SloppyFunction); + } + } + + return this.parseFunctionStatement(node, false, !context); + + case types._class: + if (context) this.unexpected(); + return this.parseClass(node, true); + + case types._if: + return this.parseIfStatement(node); + + case types._return: + return this.parseReturnStatement(node); + + case types._switch: + return this.parseSwitchStatement(node); + + case types._throw: + return this.parseThrowStatement(node); + + case types._try: + return this.parseTryStatement(node); + + case types._const: + case types._var: + kind = kind || this.state.value; + + if (context && kind !== "var") { + this.raise(this.state.start, ErrorMessages.UnexpectedLexicalDeclaration); + } + + return this.parseVarStatement(node, kind); + + case types._while: + return this.parseWhileStatement(node); + + case types._with: + return this.parseWithStatement(node); + + case types.braceL: + return this.parseBlock(); + + case types.semi: + return this.parseEmptyStatement(node); + + case types._import: + { + const nextTokenCharCode = this.lookaheadCharCode(); + + if (nextTokenCharCode === 40 || nextTokenCharCode === 46) { + break; + } + } + + case types._export: + { + if (!this.options.allowImportExportEverywhere && !topLevel) { + this.raise(this.state.start, ErrorMessages.UnexpectedImportExport); + } + + this.next(); + let result; + + if (starttype === types._import) { + result = this.parseImport(node); + + if (result.type === "ImportDeclaration" && (!result.importKind || result.importKind === "value")) { + this.sawUnambiguousESM = true; + } + } else { + result = this.parseExport(node); + + if (result.type === "ExportNamedDeclaration" && (!result.exportKind || result.exportKind === "value") || result.type === "ExportAllDeclaration" && (!result.exportKind || result.exportKind === "value") || result.type === "ExportDefaultDeclaration") { + this.sawUnambiguousESM = true; + } + } + + this.assertModuleNodeAllowed(node); + return result; + } + + default: + { + if (this.isAsyncFunction()) { + if (context) { + this.raise(this.state.start, ErrorMessages.AsyncFunctionInSingleStatementContext); + } + + this.next(); + return this.parseFunctionStatement(node, true, !context); + } + } + } + + const maybeName = this.state.value; + const expr = this.parseExpression(); + + if (starttype === types.name && expr.type === "Identifier" && this.eat(types.colon)) { + return this.parseLabeledStatement(node, maybeName, expr, context); + } else { + return this.parseExpressionStatement(node, expr); + } + } + + assertModuleNodeAllowed(node) { + if (!this.options.allowImportExportEverywhere && !this.inModule) { + this.raiseWithData(node.start, { + code: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED" + }, ErrorMessages.ImportOutsideModule); + } + } + + takeDecorators(node) { + const decorators = this.state.decoratorStack[this.state.decoratorStack.length - 1]; + + if (decorators.length) { + node.decorators = decorators; + this.resetStartLocationFromNode(node, decorators[0]); + this.state.decoratorStack[this.state.decoratorStack.length - 1] = []; + } + } + + canHaveLeadingDecorator() { + return this.match(types._class); + } + + parseDecorators(allowExport) { + const currentContextDecorators = this.state.decoratorStack[this.state.decoratorStack.length - 1]; + + while (this.match(types.at)) { + const decorator = this.parseDecorator(); + currentContextDecorators.push(decorator); + } + + if (this.match(types._export)) { + if (!allowExport) { + this.unexpected(); + } + + if (this.hasPlugin("decorators") && !this.getPluginOption("decorators", "decoratorsBeforeExport")) { + this.raise(this.state.start, ErrorMessages.DecoratorExportClass); + } + } else if (!this.canHaveLeadingDecorator()) { + throw this.raise(this.state.start, ErrorMessages.UnexpectedLeadingDecorator); + } + } + + parseDecorator() { + this.expectOnePlugin(["decorators-legacy", "decorators"]); + const node = this.startNode(); + this.next(); + + if (this.hasPlugin("decorators")) { + this.state.decoratorStack.push([]); + const startPos = this.state.start; + const startLoc = this.state.startLoc; + let expr; + + if (this.eat(types.parenL)) { + expr = this.parseExpression(); + this.expect(types.parenR); + } else { + expr = this.parseIdentifier(false); + + while (this.eat(types.dot)) { + const node = this.startNodeAt(startPos, startLoc); + node.object = expr; + node.property = this.parseIdentifier(true); + node.computed = false; + expr = this.finishNode(node, "MemberExpression"); + } + } + + node.expression = this.parseMaybeDecoratorArguments(expr); + this.state.decoratorStack.pop(); + } else { + node.expression = this.parseExprSubscripts(); + } + + return this.finishNode(node, "Decorator"); + } + + parseMaybeDecoratorArguments(expr) { + if (this.eat(types.parenL)) { + const node = this.startNodeAtNode(expr); + node.callee = expr; + node.arguments = this.parseCallExpressionArguments(types.parenR, false); + this.toReferencedList(node.arguments); + return this.finishNode(node, "CallExpression"); + } + + return expr; + } + + parseBreakContinueStatement(node, keyword) { + const isBreak = keyword === "break"; + this.next(); + + if (this.isLineTerminator()) { + node.label = null; + } else { + node.label = this.parseIdentifier(); + this.semicolon(); + } + + this.verifyBreakContinue(node, keyword); + return this.finishNode(node, isBreak ? "BreakStatement" : "ContinueStatement"); + } + + verifyBreakContinue(node, keyword) { + const isBreak = keyword === "break"; + let i; + + for (i = 0; i < this.state.labels.length; ++i) { + const lab = this.state.labels[i]; + + if (node.label == null || lab.name === node.label.name) { + if (lab.kind != null && (isBreak || lab.kind === "loop")) break; + if (node.label && isBreak) break; + } + } + + if (i === this.state.labels.length) { + this.raise(node.start, ErrorMessages.IllegalBreakContinue, keyword); + } + } + + parseDebuggerStatement(node) { + this.next(); + this.semicolon(); + return this.finishNode(node, "DebuggerStatement"); + } + + parseHeaderExpression() { + this.expect(types.parenL); + const val = this.parseExpression(); + this.expect(types.parenR); + return val; + } + + parseDoStatement(node) { + this.next(); + this.state.labels.push(loopLabel); + node.body = this.withTopicForbiddingContext(() => this.parseStatement("do")); + this.state.labels.pop(); + this.expect(types._while); + node.test = this.parseHeaderExpression(); + this.eat(types.semi); + return this.finishNode(node, "DoWhileStatement"); + } + + parseForStatement(node) { + this.next(); + this.state.labels.push(loopLabel); + let awaitAt = -1; + + if (this.isAwaitAllowed() && this.eatContextual("await")) { + awaitAt = this.state.lastTokStart; + } + + this.scope.enter(SCOPE_OTHER); + this.expect(types.parenL); + + if (this.match(types.semi)) { + if (awaitAt > -1) { + this.unexpected(awaitAt); + } + + return this.parseFor(node, null); + } + + const isLet = this.isLet(); + + if (this.match(types._var) || this.match(types._const) || isLet) { + const init = this.startNode(); + const kind = isLet ? "let" : this.state.value; + this.next(); + this.parseVar(init, true, kind); + this.finishNode(init, "VariableDeclaration"); + + if ((this.match(types._in) || this.isContextual("of")) && init.declarations.length === 1) { + return this.parseForIn(node, init, awaitAt); + } + + if (awaitAt > -1) { + this.unexpected(awaitAt); + } + + return this.parseFor(node, init); + } + + const refExpressionErrors = new ExpressionErrors(); + const init = this.parseExpression(true, refExpressionErrors); + + if (this.match(types._in) || this.isContextual("of")) { + this.toAssignable(init); + const description = this.isContextual("of") ? "for-of statement" : "for-in statement"; + this.checkLVal(init, undefined, undefined, description); + return this.parseForIn(node, init, awaitAt); + } else { + this.checkExpressionErrors(refExpressionErrors, true); + } + + if (awaitAt > -1) { + this.unexpected(awaitAt); + } + + return this.parseFor(node, init); + } + + parseFunctionStatement(node, isAsync, declarationPosition) { + this.next(); + return this.parseFunction(node, FUNC_STATEMENT | (declarationPosition ? 0 : FUNC_HANGING_STATEMENT), isAsync); + } + + parseIfStatement(node) { + this.next(); + node.test = this.parseHeaderExpression(); + node.consequent = this.parseStatement("if"); + node.alternate = this.eat(types._else) ? this.parseStatement("if") : null; + return this.finishNode(node, "IfStatement"); + } + + parseReturnStatement(node) { + if (!this.prodParam.hasReturn && !this.options.allowReturnOutsideFunction) { + this.raise(this.state.start, ErrorMessages.IllegalReturn); + } + + this.next(); + + if (this.isLineTerminator()) { + node.argument = null; + } else { + node.argument = this.parseExpression(); + this.semicolon(); + } + + return this.finishNode(node, "ReturnStatement"); + } + + parseSwitchStatement(node) { + this.next(); + node.discriminant = this.parseHeaderExpression(); + const cases = node.cases = []; + this.expect(types.braceL); + this.state.labels.push(switchLabel); + this.scope.enter(SCOPE_OTHER); + let cur; + + for (let sawDefault; !this.match(types.braceR);) { + if (this.match(types._case) || this.match(types._default)) { + const isCase = this.match(types._case); + if (cur) this.finishNode(cur, "SwitchCase"); + cases.push(cur = this.startNode()); + cur.consequent = []; + this.next(); + + if (isCase) { + cur.test = this.parseExpression(); + } else { + if (sawDefault) { + this.raise(this.state.lastTokStart, ErrorMessages.MultipleDefaultsInSwitch); + } + + sawDefault = true; + cur.test = null; + } + + this.expect(types.colon); + } else { + if (cur) { + cur.consequent.push(this.parseStatement(null)); + } else { + this.unexpected(); + } + } + } + + this.scope.exit(); + if (cur) this.finishNode(cur, "SwitchCase"); + this.next(); + this.state.labels.pop(); + return this.finishNode(node, "SwitchStatement"); + } + + parseThrowStatement(node) { + this.next(); + + if (this.hasPrecedingLineBreak()) { + this.raise(this.state.lastTokEnd, ErrorMessages.NewlineAfterThrow); + } + + node.argument = this.parseExpression(); + this.semicolon(); + return this.finishNode(node, "ThrowStatement"); + } + + parseCatchClauseParam() { + const param = this.parseBindingAtom(); + const simple = param.type === "Identifier"; + this.scope.enter(simple ? SCOPE_SIMPLE_CATCH : 0); + this.checkLVal(param, BIND_LEXICAL, null, "catch clause"); + return param; + } + + parseTryStatement(node) { + this.next(); + node.block = this.parseBlock(); + node.handler = null; + + if (this.match(types._catch)) { + const clause = this.startNode(); + this.next(); + + if (this.match(types.parenL)) { + this.expect(types.parenL); + clause.param = this.parseCatchClauseParam(); + this.expect(types.parenR); + } else { + clause.param = null; + this.scope.enter(SCOPE_OTHER); + } + + clause.body = this.withTopicForbiddingContext(() => this.parseBlock(false, false)); + this.scope.exit(); + node.handler = this.finishNode(clause, "CatchClause"); + } + + node.finalizer = this.eat(types._finally) ? this.parseBlock() : null; + + if (!node.handler && !node.finalizer) { + this.raise(node.start, ErrorMessages.NoCatchOrFinally); + } + + return this.finishNode(node, "TryStatement"); + } + + parseVarStatement(node, kind) { + this.next(); + this.parseVar(node, false, kind); + this.semicolon(); + return this.finishNode(node, "VariableDeclaration"); + } + + parseWhileStatement(node) { + this.next(); + node.test = this.parseHeaderExpression(); + this.state.labels.push(loopLabel); + node.body = this.withTopicForbiddingContext(() => this.parseStatement("while")); + this.state.labels.pop(); + return this.finishNode(node, "WhileStatement"); + } + + parseWithStatement(node) { + if (this.state.strict) { + this.raise(this.state.start, ErrorMessages.StrictWith); + } + + this.next(); + node.object = this.parseHeaderExpression(); + node.body = this.withTopicForbiddingContext(() => this.parseStatement("with")); + return this.finishNode(node, "WithStatement"); + } + + parseEmptyStatement(node) { + this.next(); + return this.finishNode(node, "EmptyStatement"); + } + + parseLabeledStatement(node, maybeName, expr, context) { + for (let _i2 = 0, _this$state$labels = this.state.labels; _i2 < _this$state$labels.length; _i2++) { + const label = _this$state$labels[_i2]; + + if (label.name === maybeName) { + this.raise(expr.start, ErrorMessages.LabelRedeclaration, maybeName); + } + } + + const kind = this.state.type.isLoop ? "loop" : this.match(types._switch) ? "switch" : null; + + for (let i = this.state.labels.length - 1; i >= 0; i--) { + const label = this.state.labels[i]; + + if (label.statementStart === node.start) { + label.statementStart = this.state.start; + label.kind = kind; + } else { + break; + } + } + + this.state.labels.push({ + name: maybeName, + kind: kind, + statementStart: this.state.start + }); + node.body = this.parseStatement(context ? context.indexOf("label") === -1 ? context + "label" : context : "label"); + this.state.labels.pop(); + node.label = expr; + return this.finishNode(node, "LabeledStatement"); + } + + parseExpressionStatement(node, expr) { + node.expression = expr; + this.semicolon(); + return this.finishNode(node, "ExpressionStatement"); + } + + parseBlock(allowDirectives = false, createNewLexicalScope = true, afterBlockParse) { + const node = this.startNode(); + this.expect(types.braceL); + + if (createNewLexicalScope) { + this.scope.enter(SCOPE_OTHER); + } + + this.parseBlockBody(node, allowDirectives, false, types.braceR, afterBlockParse); + + if (createNewLexicalScope) { + this.scope.exit(); + } + + return this.finishNode(node, "BlockStatement"); + } + + isValidDirective(stmt) { + return stmt.type === "ExpressionStatement" && stmt.expression.type === "StringLiteral" && !stmt.expression.extra.parenthesized; + } + + parseBlockBody(node, allowDirectives, topLevel, end, afterBlockParse) { + const body = node.body = []; + const directives = node.directives = []; + this.parseBlockOrModuleBlockBody(body, allowDirectives ? directives : undefined, topLevel, end, afterBlockParse); + } + + parseBlockOrModuleBlockBody(body, directives, topLevel, end, afterBlockParse) { + const octalPositions = []; + const oldStrict = this.state.strict; + let hasStrictModeDirective = false; + let parsedNonDirective = false; + + while (!this.match(end)) { + if (!parsedNonDirective && this.state.octalPositions.length) { + octalPositions.push(...this.state.octalPositions); + } + + const stmt = this.parseStatement(null, topLevel); + + if (directives && !parsedNonDirective && this.isValidDirective(stmt)) { + const directive = this.stmtToDirective(stmt); + directives.push(directive); + + if (!hasStrictModeDirective && directive.value.value === "use strict") { + hasStrictModeDirective = true; + this.setStrict(true); + } + + continue; + } + + parsedNonDirective = true; + body.push(stmt); + } + + if (this.state.strict && octalPositions.length) { + for (let _i3 = 0; _i3 < octalPositions.length; _i3++) { + const pos = octalPositions[_i3]; + this.raise(pos, ErrorMessages.StrictOctalLiteral); + } + } + + if (afterBlockParse) { + afterBlockParse.call(this, hasStrictModeDirective); + } + + if (!oldStrict) { + this.setStrict(false); + } + + this.next(); + } + + parseFor(node, init) { + node.init = init; + this.expect(types.semi); + node.test = this.match(types.semi) ? null : this.parseExpression(); + this.expect(types.semi); + node.update = this.match(types.parenR) ? null : this.parseExpression(); + this.expect(types.parenR); + node.body = this.withTopicForbiddingContext(() => this.parseStatement("for")); + this.scope.exit(); + this.state.labels.pop(); + return this.finishNode(node, "ForStatement"); + } + + parseForIn(node, init, awaitAt) { + const isForIn = this.match(types._in); + this.next(); + + if (isForIn) { + if (awaitAt > -1) this.unexpected(awaitAt); + } else { + node.await = awaitAt > -1; + } + + if (init.type === "VariableDeclaration" && init.declarations[0].init != null && (!isForIn || this.state.strict || init.kind !== "var" || init.declarations[0].id.type !== "Identifier")) { + this.raise(init.start, ErrorMessages.ForInOfLoopInitializer, isForIn ? "for-in" : "for-of"); + } else if (init.type === "AssignmentPattern") { + this.raise(init.start, ErrorMessages.InvalidLhs, "for-loop"); + } + + node.left = init; + node.right = isForIn ? this.parseExpression() : this.parseMaybeAssignAllowIn(); + this.expect(types.parenR); + node.body = this.withTopicForbiddingContext(() => this.parseStatement("for")); + this.scope.exit(); + this.state.labels.pop(); + return this.finishNode(node, isForIn ? "ForInStatement" : "ForOfStatement"); + } + + parseVar(node, isFor, kind) { + const declarations = node.declarations = []; + const isTypescript = this.hasPlugin("typescript"); + node.kind = kind; + + for (;;) { + const decl = this.startNode(); + this.parseVarId(decl, kind); + + if (this.eat(types.eq)) { + decl.init = isFor ? this.parseMaybeAssignDisallowIn() : this.parseMaybeAssignAllowIn(); + } else { + if (kind === "const" && !(this.match(types._in) || this.isContextual("of"))) { + if (!isTypescript) { + this.unexpected(); + } + } else if (decl.id.type !== "Identifier" && !(isFor && (this.match(types._in) || this.isContextual("of")))) { + this.raise(this.state.lastTokEnd, ErrorMessages.DeclarationMissingInitializer, "Complex binding patterns"); + } + + decl.init = null; + } + + declarations.push(this.finishNode(decl, "VariableDeclarator")); + if (!this.eat(types.comma)) break; + } + + return node; + } + + parseVarId(decl, kind) { + decl.id = this.parseBindingAtom(); + this.checkLVal(decl.id, kind === "var" ? BIND_VAR : BIND_LEXICAL, undefined, "variable declaration", kind !== "var"); + } + + parseFunction(node, statement = FUNC_NO_FLAGS, isAsync = false) { + const isStatement = statement & FUNC_STATEMENT; + const isHangingStatement = statement & FUNC_HANGING_STATEMENT; + const requireId = !!isStatement && !(statement & FUNC_NULLABLE_ID); + this.initFunction(node, isAsync); + + if (this.match(types.star) && isHangingStatement) { + this.raise(this.state.start, ErrorMessages.GeneratorInSingleStatementContext); + } + + node.generator = this.eat(types.star); + + if (isStatement) { + node.id = this.parseFunctionId(requireId); + } + + const oldMaybeInArrowParameters = this.state.maybeInArrowParameters; + const oldYieldPos = this.state.yieldPos; + const oldAwaitPos = this.state.awaitPos; + this.state.maybeInArrowParameters = false; + this.state.yieldPos = -1; + this.state.awaitPos = -1; + this.scope.enter(SCOPE_FUNCTION); + this.prodParam.enter(functionFlags(isAsync, node.generator)); + + if (!isStatement) { + node.id = this.parseFunctionId(); + } + + this.parseFunctionParams(node); + this.withTopicForbiddingContext(() => { + this.parseFunctionBodyAndFinish(node, isStatement ? "FunctionDeclaration" : "FunctionExpression"); + }); + this.prodParam.exit(); + this.scope.exit(); + + if (isStatement && !isHangingStatement) { + this.registerFunctionStatementId(node); + } + + this.state.maybeInArrowParameters = oldMaybeInArrowParameters; + this.state.yieldPos = oldYieldPos; + this.state.awaitPos = oldAwaitPos; + return node; + } + + parseFunctionId(requireId) { + return requireId || this.match(types.name) ? this.parseIdentifier() : null; + } + + parseFunctionParams(node, allowModifiers) { + const oldInParameters = this.state.inParameters; + this.state.inParameters = true; + this.expect(types.parenL); + node.params = this.parseBindingList(types.parenR, 41, false, allowModifiers); + this.state.inParameters = oldInParameters; + this.checkYieldAwaitInDefaultParams(); + } + + registerFunctionStatementId(node) { + if (!node.id) return; + this.scope.declareName(node.id.name, this.state.strict || node.generator || node.async ? this.scope.treatFunctionsAsVar ? BIND_VAR : BIND_LEXICAL : BIND_FUNCTION, node.id.start); + } + + parseClass(node, isStatement, optionalId) { + this.next(); + this.takeDecorators(node); + const oldStrict = this.state.strict; + this.state.strict = true; + this.parseClassId(node, isStatement, optionalId); + this.parseClassSuper(node); + node.body = this.parseClassBody(!!node.superClass, oldStrict); + return this.finishNode(node, isStatement ? "ClassDeclaration" : "ClassExpression"); + } + + isClassProperty() { + return this.match(types.eq) || this.match(types.semi) || this.match(types.braceR); + } + + isClassMethod() { + return this.match(types.parenL); + } + + isNonstaticConstructor(method) { + return !method.computed && !method.static && (method.key.name === "constructor" || method.key.value === "constructor"); + } + + parseClassBody(constructorAllowsSuper, oldStrict) { + this.classScope.enter(); + const state = { + hadConstructor: false + }; + let decorators = []; + const classBody = this.startNode(); + classBody.body = []; + this.expect(types.braceL); + this.withTopicForbiddingContext(() => { + while (!this.match(types.braceR)) { + if (this.eat(types.semi)) { + if (decorators.length > 0) { + throw this.raise(this.state.lastTokEnd, ErrorMessages.DecoratorSemicolon); + } + + continue; + } + + if (this.match(types.at)) { + decorators.push(this.parseDecorator()); + continue; + } + + const member = this.startNode(); + + if (decorators.length) { + member.decorators = decorators; + this.resetStartLocationFromNode(member, decorators[0]); + decorators = []; + } + + this.parseClassMember(classBody, member, state, constructorAllowsSuper); + + if (member.kind === "constructor" && member.decorators && member.decorators.length > 0) { + this.raise(member.start, ErrorMessages.DecoratorConstructor); + } + } + }); + this.state.strict = oldStrict; + this.next(); + + if (decorators.length) { + throw this.raise(this.state.start, ErrorMessages.TrailingDecorator); + } + + this.classScope.exit(); + return this.finishNode(classBody, "ClassBody"); + } + + parseClassMemberFromModifier(classBody, member) { + const key = this.parseIdentifier(true); + + if (this.isClassMethod()) { + const method = member; + method.kind = "method"; + method.computed = false; + method.key = key; + method.static = false; + this.pushClassMethod(classBody, method, false, false, false, false); + return true; + } else if (this.isClassProperty()) { + const prop = member; + prop.computed = false; + prop.key = key; + prop.static = false; + classBody.body.push(this.parseClassProperty(prop)); + return true; + } + + return false; + } + + parseClassMember(classBody, member, state, constructorAllowsSuper) { + const isStatic = this.isContextual("static"); + + if (isStatic && this.parseClassMemberFromModifier(classBody, member)) { + return; + } + + this.parseClassMemberWithIsStatic(classBody, member, state, isStatic, constructorAllowsSuper); + } + + parseClassMemberWithIsStatic(classBody, member, state, isStatic, constructorAllowsSuper) { + const publicMethod = member; + const privateMethod = member; + const publicProp = member; + const privateProp = member; + const method = publicMethod; + const publicMember = publicMethod; + member.static = isStatic; + + if (this.eat(types.star)) { + method.kind = "method"; + this.parseClassElementName(method); + + if (method.key.type === "PrivateName") { + this.pushClassPrivateMethod(classBody, privateMethod, true, false); + return; + } + + if (this.isNonstaticConstructor(publicMethod)) { + this.raise(publicMethod.key.start, ErrorMessages.ConstructorIsGenerator); + } + + this.pushClassMethod(classBody, publicMethod, true, false, false, false); + return; + } + + const containsEsc = this.state.containsEsc; + const key = this.parseClassElementName(member); + const isPrivate = key.type === "PrivateName"; + const isSimple = key.type === "Identifier"; + const maybeQuestionTokenStart = this.state.start; + this.parsePostMemberNameModifiers(publicMember); + + if (this.isClassMethod()) { + method.kind = "method"; + + if (isPrivate) { + this.pushClassPrivateMethod(classBody, privateMethod, false, false); + return; + } + + const isConstructor = this.isNonstaticConstructor(publicMethod); + let allowsDirectSuper = false; + + if (isConstructor) { + publicMethod.kind = "constructor"; + + if (state.hadConstructor && !this.hasPlugin("typescript")) { + this.raise(key.start, ErrorMessages.DuplicateConstructor); + } + + state.hadConstructor = true; + allowsDirectSuper = constructorAllowsSuper; + } + + this.pushClassMethod(classBody, publicMethod, false, false, isConstructor, allowsDirectSuper); + } else if (this.isClassProperty()) { + if (isPrivate) { + this.pushClassPrivateProperty(classBody, privateProp); + } else { + this.pushClassProperty(classBody, publicProp); + } + } else if (isSimple && key.name === "async" && !containsEsc && !this.isLineTerminator()) { + const isGenerator = this.eat(types.star); + + if (publicMember.optional) { + this.unexpected(maybeQuestionTokenStart); + } + + method.kind = "method"; + this.parseClassElementName(method); + this.parsePostMemberNameModifiers(publicMember); + + if (method.key.type === "PrivateName") { + this.pushClassPrivateMethod(classBody, privateMethod, isGenerator, true); + } else { + if (this.isNonstaticConstructor(publicMethod)) { + this.raise(publicMethod.key.start, ErrorMessages.ConstructorIsAsync); + } + + this.pushClassMethod(classBody, publicMethod, isGenerator, true, false, false); + } + } else if (isSimple && (key.name === "get" || key.name === "set") && !containsEsc && !(this.match(types.star) && this.isLineTerminator())) { + method.kind = key.name; + this.parseClassElementName(publicMethod); + + if (method.key.type === "PrivateName") { + this.pushClassPrivateMethod(classBody, privateMethod, false, false); + } else { + if (this.isNonstaticConstructor(publicMethod)) { + this.raise(publicMethod.key.start, ErrorMessages.ConstructorIsAccessor); + } + + this.pushClassMethod(classBody, publicMethod, false, false, false, false); + } + + this.checkGetterSetterParams(publicMethod); + } else if (this.isLineTerminator()) { + if (isPrivate) { + this.pushClassPrivateProperty(classBody, privateProp); + } else { + this.pushClassProperty(classBody, publicProp); + } + } else { + this.unexpected(); + } + } + + parseClassElementName(member) { + const key = this.parsePropertyName(member, true); + + if (!member.computed && member.static && (key.name === "prototype" || key.value === "prototype")) { + this.raise(key.start, ErrorMessages.StaticPrototype); + } + + if (key.type === "PrivateName" && key.id.name === "constructor") { + this.raise(key.start, ErrorMessages.ConstructorClassPrivateField); + } + + return key; + } + + pushClassProperty(classBody, prop) { + if (!prop.computed && (prop.key.name === "constructor" || prop.key.value === "constructor")) { + this.raise(prop.key.start, ErrorMessages.ConstructorClassField); + } + + classBody.body.push(this.parseClassProperty(prop)); + } + + pushClassPrivateProperty(classBody, prop) { + this.expectPlugin("classPrivateProperties", prop.key.start); + const node = this.parseClassPrivateProperty(prop); + classBody.body.push(node); + this.classScope.declarePrivateName(node.key.id.name, CLASS_ELEMENT_OTHER, node.key.start); + } + + pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper) { + classBody.body.push(this.parseMethod(method, isGenerator, isAsync, isConstructor, allowsDirectSuper, "ClassMethod", true)); + } + + pushClassPrivateMethod(classBody, method, isGenerator, isAsync) { + this.expectPlugin("classPrivateMethods", method.key.start); + const node = this.parseMethod(method, isGenerator, isAsync, false, false, "ClassPrivateMethod", true); + classBody.body.push(node); + const kind = node.kind === "get" ? node.static ? CLASS_ELEMENT_STATIC_GETTER : CLASS_ELEMENT_INSTANCE_GETTER : node.kind === "set" ? node.static ? CLASS_ELEMENT_STATIC_SETTER : CLASS_ELEMENT_INSTANCE_SETTER : CLASS_ELEMENT_OTHER; + this.classScope.declarePrivateName(node.key.id.name, kind, node.key.start); + } + + parsePostMemberNameModifiers(methodOrProp) {} + + parseClassPrivateProperty(node) { + this.scope.enter(SCOPE_CLASS | SCOPE_SUPER); + this.prodParam.enter(PARAM); + node.value = this.eat(types.eq) ? this.parseMaybeAssignAllowIn() : null; + this.semicolon(); + this.prodParam.exit(); + this.scope.exit(); + return this.finishNode(node, "ClassPrivateProperty"); + } + + parseClassProperty(node) { + if (!node.typeAnnotation) { + this.expectPlugin("classProperties"); + } + + this.scope.enter(SCOPE_CLASS | SCOPE_SUPER); + this.prodParam.enter(PARAM); + + if (this.match(types.eq)) { + this.expectPlugin("classProperties"); + this.next(); + node.value = this.parseMaybeAssignAllowIn(); + } else { + node.value = null; + } + + this.semicolon(); + this.prodParam.exit(); + this.scope.exit(); + return this.finishNode(node, "ClassProperty"); + } + + parseClassId(node, isStatement, optionalId, bindingType = BIND_CLASS) { + if (this.match(types.name)) { + node.id = this.parseIdentifier(); + + if (isStatement) { + this.checkLVal(node.id, bindingType, undefined, "class name"); + } + } else { + if (optionalId || !isStatement) { + node.id = null; + } else { + this.unexpected(null, ErrorMessages.MissingClassName); + } + } + } + + parseClassSuper(node) { + node.superClass = this.eat(types._extends) ? this.parseExprSubscripts() : null; + } + + parseExport(node) { + const hasDefault = this.maybeParseExportDefaultSpecifier(node); + const parseAfterDefault = !hasDefault || this.eat(types.comma); + const hasStar = parseAfterDefault && this.eatExportStar(node); + const hasNamespace = hasStar && this.maybeParseExportNamespaceSpecifier(node); + const parseAfterNamespace = parseAfterDefault && (!hasNamespace || this.eat(types.comma)); + const isFromRequired = hasDefault || hasStar; + + if (hasStar && !hasNamespace) { + if (hasDefault) this.unexpected(); + this.parseExportFrom(node, true); + return this.finishNode(node, "ExportAllDeclaration"); + } + + const hasSpecifiers = this.maybeParseExportNamedSpecifiers(node); + + if (hasDefault && parseAfterDefault && !hasStar && !hasSpecifiers || hasNamespace && parseAfterNamespace && !hasSpecifiers) { + throw this.unexpected(null, types.braceL); + } + + let hasDeclaration; + + if (isFromRequired || hasSpecifiers) { + hasDeclaration = false; + this.parseExportFrom(node, isFromRequired); + } else { + hasDeclaration = this.maybeParseExportDeclaration(node); + } + + if (isFromRequired || hasSpecifiers || hasDeclaration) { + this.checkExport(node, true, false, !!node.source); + return this.finishNode(node, "ExportNamedDeclaration"); + } + + if (this.eat(types._default)) { + node.declaration = this.parseExportDefaultExpression(); + this.checkExport(node, true, true); + return this.finishNode(node, "ExportDefaultDeclaration"); + } + + throw this.unexpected(null, types.braceL); + } + + eatExportStar(node) { + return this.eat(types.star); + } + + maybeParseExportDefaultSpecifier(node) { + if (this.isExportDefaultSpecifier()) { + this.expectPlugin("exportDefaultFrom"); + const specifier = this.startNode(); + specifier.exported = this.parseIdentifier(true); + node.specifiers = [this.finishNode(specifier, "ExportDefaultSpecifier")]; + return true; + } + + return false; + } + + maybeParseExportNamespaceSpecifier(node) { + if (this.isContextual("as")) { + if (!node.specifiers) node.specifiers = []; + const specifier = this.startNodeAt(this.state.lastTokStart, this.state.lastTokStartLoc); + this.next(); + specifier.exported = this.parseIdentifier(true); + node.specifiers.push(this.finishNode(specifier, "ExportNamespaceSpecifier")); + return true; + } + + return false; + } + + maybeParseExportNamedSpecifiers(node) { + if (this.match(types.braceL)) { + if (!node.specifiers) node.specifiers = []; + node.specifiers.push(...this.parseExportSpecifiers()); + node.source = null; + node.declaration = null; + return true; + } + + return false; + } + + maybeParseExportDeclaration(node) { + if (this.shouldParseExportDeclaration()) { + node.specifiers = []; + node.source = null; + node.declaration = this.parseExportDeclaration(node); + return true; + } + + return false; + } + + isAsyncFunction() { + if (!this.isContextual("async")) return false; + const next = this.nextTokenStart(); + return !lineBreak.test(this.input.slice(this.state.pos, next)) && this.isUnparsedContextual(next, "function"); + } + + parseExportDefaultExpression() { + const expr = this.startNode(); + const isAsync = this.isAsyncFunction(); + + if (this.match(types._function) || isAsync) { + this.next(); + + if (isAsync) { + this.next(); + } + + return this.parseFunction(expr, FUNC_STATEMENT | FUNC_NULLABLE_ID, isAsync); + } else if (this.match(types._class)) { + return this.parseClass(expr, true, true); + } else if (this.match(types.at)) { + if (this.hasPlugin("decorators") && this.getPluginOption("decorators", "decoratorsBeforeExport")) { + this.raise(this.state.start, ErrorMessages.DecoratorBeforeExport); + } + + this.parseDecorators(false); + return this.parseClass(expr, true, true); + } else if (this.match(types._const) || this.match(types._var) || this.isLet()) { + throw this.raise(this.state.start, ErrorMessages.UnsupportedDefaultExport); + } else { + const res = this.parseMaybeAssignAllowIn(); + this.semicolon(); + return res; + } + } + + parseExportDeclaration(node) { + return this.parseStatement(null); + } + + isExportDefaultSpecifier() { + if (this.match(types.name)) { + const value = this.state.value; + + if (value === "async" && !this.state.containsEsc || value === "let") { + return false; + } + + if ((value === "type" || value === "interface") && !this.state.containsEsc) { + const l = this.lookahead(); + + if (l.type === types.name && l.value !== "from" || l.type === types.braceL) { + this.expectOnePlugin(["flow", "typescript"]); + return false; + } + } + } else if (!this.match(types._default)) { + return false; + } + + const next = this.nextTokenStart(); + const hasFrom = this.isUnparsedContextual(next, "from"); + + if (this.input.charCodeAt(next) === 44 || this.match(types.name) && hasFrom) { + return true; + } + + if (this.match(types._default) && hasFrom) { + const nextAfterFrom = this.input.charCodeAt(this.nextTokenStartSince(next + 4)); + return nextAfterFrom === 34 || nextAfterFrom === 39; + } + + return false; + } + + parseExportFrom(node, expect) { + if (this.eatContextual("from")) { + node.source = this.parseImportSource(); + this.checkExport(node); + } else { + if (expect) { + this.unexpected(); + } else { + node.source = null; + } + } + + this.semicolon(); + } + + shouldParseExportDeclaration() { + if (this.match(types.at)) { + this.expectOnePlugin(["decorators", "decorators-legacy"]); + + if (this.hasPlugin("decorators")) { + if (this.getPluginOption("decorators", "decoratorsBeforeExport")) { + this.unexpected(this.state.start, ErrorMessages.DecoratorBeforeExport); + } else { + return true; + } + } + } + + return this.state.type.keyword === "var" || this.state.type.keyword === "const" || this.state.type.keyword === "function" || this.state.type.keyword === "class" || this.isLet() || this.isAsyncFunction(); + } + + checkExport(node, checkNames, isDefault, isFrom) { + if (checkNames) { + if (isDefault) { + this.checkDuplicateExports(node, "default"); + + if (this.hasPlugin("exportDefaultFrom")) { + var _declaration$extra; + + const declaration = node.declaration; + + if (declaration.type === "Identifier" && declaration.name === "from" && declaration.end - declaration.start === 4 && !((_declaration$extra = declaration.extra) == null ? void 0 : _declaration$extra.parenthesized)) { + this.raise(declaration.start, ErrorMessages.ExportDefaultFromAsIdentifier); + } + } + } else if (node.specifiers && node.specifiers.length) { + for (let _i4 = 0, _node$specifiers = node.specifiers; _i4 < _node$specifiers.length; _i4++) { + const specifier = _node$specifiers[_i4]; + this.checkDuplicateExports(specifier, specifier.exported.name); + + if (!isFrom && specifier.local) { + this.checkReservedWord(specifier.local.name, specifier.local.start, true, false); + this.scope.checkLocalExport(specifier.local); + } + } + } else if (node.declaration) { + if (node.declaration.type === "FunctionDeclaration" || node.declaration.type === "ClassDeclaration") { + const id = node.declaration.id; + if (!id) throw new Error("Assertion failure"); + this.checkDuplicateExports(node, id.name); + } else if (node.declaration.type === "VariableDeclaration") { + for (let _i5 = 0, _node$declaration$dec = node.declaration.declarations; _i5 < _node$declaration$dec.length; _i5++) { + const declaration = _node$declaration$dec[_i5]; + this.checkDeclaration(declaration.id); + } + } + } + } + + const currentContextDecorators = this.state.decoratorStack[this.state.decoratorStack.length - 1]; + + if (currentContextDecorators.length) { + throw this.raise(node.start, ErrorMessages.UnsupportedDecoratorExport); + } + } + + checkDeclaration(node) { + if (node.type === "Identifier") { + this.checkDuplicateExports(node, node.name); + } else if (node.type === "ObjectPattern") { + for (let _i6 = 0, _node$properties = node.properties; _i6 < _node$properties.length; _i6++) { + const prop = _node$properties[_i6]; + this.checkDeclaration(prop); + } + } else if (node.type === "ArrayPattern") { + for (let _i7 = 0, _node$elements = node.elements; _i7 < _node$elements.length; _i7++) { + const elem = _node$elements[_i7]; + + if (elem) { + this.checkDeclaration(elem); + } + } + } else if (node.type === "ObjectProperty") { + this.checkDeclaration(node.value); + } else if (node.type === "RestElement") { + this.checkDeclaration(node.argument); + } else if (node.type === "AssignmentPattern") { + this.checkDeclaration(node.left); + } + } + + checkDuplicateExports(node, name) { + if (this.state.exportedIdentifiers.indexOf(name) > -1) { + this.raise(node.start, name === "default" ? ErrorMessages.DuplicateDefaultExport : ErrorMessages.DuplicateExport, name); + } + + this.state.exportedIdentifiers.push(name); + } + + parseExportSpecifiers() { + const nodes = []; + let first = true; + this.expect(types.braceL); + + while (!this.eat(types.braceR)) { + if (first) { + first = false; + } else { + this.expect(types.comma); + if (this.eat(types.braceR)) break; + } + + const node = this.startNode(); + node.local = this.parseIdentifier(true); + node.exported = this.eatContextual("as") ? this.parseIdentifier(true) : node.local.__clone(); + nodes.push(this.finishNode(node, "ExportSpecifier")); + } + + return nodes; + } + + parseImport(node) { + node.specifiers = []; + + if (!this.match(types.string)) { + const hasDefault = this.maybeParseDefaultImportSpecifier(node); + const parseNext = !hasDefault || this.eat(types.comma); + const hasStar = parseNext && this.maybeParseStarImportSpecifier(node); + if (parseNext && !hasStar) this.parseNamedImportSpecifiers(node); + this.expectContextual("from"); + } + + node.source = this.parseImportSource(); + const attributes = this.maybeParseModuleAttributes(); + + if (attributes) { + node.attributes = attributes; + } + + this.semicolon(); + return this.finishNode(node, "ImportDeclaration"); + } + + parseImportSource() { + if (!this.match(types.string)) this.unexpected(); + return this.parseExprAtom(); + } + + shouldParseDefaultImport(node) { + return this.match(types.name); + } + + parseImportSpecifierLocal(node, specifier, type, contextDescription) { + specifier.local = this.parseIdentifier(); + this.checkLVal(specifier.local, BIND_LEXICAL, undefined, contextDescription); + node.specifiers.push(this.finishNode(specifier, type)); + } + + maybeParseModuleAttributes() { + if (this.match(types._with) && !this.hasPrecedingLineBreak()) { + this.expectPlugin("moduleAttributes"); + this.next(); + } else { + if (this.hasPlugin("moduleAttributes")) return []; + return null; + } + + const attrs = []; + const attributes = new Set(); + + do { + const node = this.startNode(); + node.key = this.parseIdentifier(true); + + if (node.key.name !== "type") { + this.raise(node.key.start, ErrorMessages.ModuleAttributeDifferentFromType, node.key.name); + } + + if (attributes.has(node.key.name)) { + this.raise(node.key.start, ErrorMessages.ModuleAttributesWithDuplicateKeys, node.key.name); + } + + attributes.add(node.key.name); + this.expect(types.colon); + + if (!this.match(types.string)) { + throw this.unexpected(this.state.start, ErrorMessages.ModuleAttributeInvalidValue); + } + + node.value = this.parseLiteral(this.state.value, "StringLiteral"); + this.finishNode(node, "ImportAttribute"); + attrs.push(node); + } while (this.eat(types.comma)); + + return attrs; + } + + maybeParseDefaultImportSpecifier(node) { + if (this.shouldParseDefaultImport(node)) { + this.parseImportSpecifierLocal(node, this.startNode(), "ImportDefaultSpecifier", "default import specifier"); + return true; + } + + return false; + } + + maybeParseStarImportSpecifier(node) { + if (this.match(types.star)) { + const specifier = this.startNode(); + this.next(); + this.expectContextual("as"); + this.parseImportSpecifierLocal(node, specifier, "ImportNamespaceSpecifier", "import namespace specifier"); + return true; + } + + return false; + } + + parseNamedImportSpecifiers(node) { + let first = true; + this.expect(types.braceL); + + while (!this.eat(types.braceR)) { + if (first) { + first = false; + } else { + if (this.eat(types.colon)) { + throw this.raise(this.state.start, ErrorMessages.DestructureNamedImport); + } + + this.expect(types.comma); + if (this.eat(types.braceR)) break; + } + + this.parseImportSpecifier(node); + } + } + + parseImportSpecifier(node) { + const specifier = this.startNode(); + specifier.imported = this.parseIdentifier(true); + + if (this.eatContextual("as")) { + specifier.local = this.parseIdentifier(); + } else { + this.checkReservedWord(specifier.imported.name, specifier.start, true, true); + specifier.local = specifier.imported.__clone(); + } + + this.checkLVal(specifier.local, BIND_LEXICAL, undefined, "import specifier"); + node.specifiers.push(this.finishNode(specifier, "ImportSpecifier")); + } + +} + +class ClassScope { + constructor() { + this.privateNames = new Set(); + this.loneAccessors = new Map(); + this.undefinedPrivateNames = new Map(); + } + +} +class ClassScopeHandler { + constructor(raise) { + this.stack = []; + this.undefinedPrivateNames = new Map(); + this.raise = raise; + } + + current() { + return this.stack[this.stack.length - 1]; + } + + enter() { + this.stack.push(new ClassScope()); + } + + exit() { + const oldClassScope = this.stack.pop(); + const current = this.current(); + + for (let _i = 0, _Array$from = Array.from(oldClassScope.undefinedPrivateNames); _i < _Array$from.length; _i++) { + const [name, pos] = _Array$from[_i]; + + if (current) { + if (!current.undefinedPrivateNames.has(name)) { + current.undefinedPrivateNames.set(name, pos); + } + } else { + this.raise(pos, ErrorMessages.InvalidPrivateFieldResolution, name); + } + } + } + + declarePrivateName(name, elementType, pos) { + const classScope = this.current(); + let redefined = classScope.privateNames.has(name); + + if (elementType & CLASS_ELEMENT_KIND_ACCESSOR) { + const accessor = redefined && classScope.loneAccessors.get(name); + + if (accessor) { + const oldStatic = accessor & CLASS_ELEMENT_FLAG_STATIC; + const newStatic = elementType & CLASS_ELEMENT_FLAG_STATIC; + const oldKind = accessor & CLASS_ELEMENT_KIND_ACCESSOR; + const newKind = elementType & CLASS_ELEMENT_KIND_ACCESSOR; + redefined = oldKind === newKind || oldStatic !== newStatic; + if (!redefined) classScope.loneAccessors.delete(name); + } else if (!redefined) { + classScope.loneAccessors.set(name, elementType); + } + } + + if (redefined) { + this.raise(pos, ErrorMessages.PrivateNameRedeclaration, name); + } + + classScope.privateNames.add(name); + classScope.undefinedPrivateNames.delete(name); + } + + usePrivateName(name, pos) { + let classScope; + + for (let _i2 = 0, _this$stack = this.stack; _i2 < _this$stack.length; _i2++) { + classScope = _this$stack[_i2]; + if (classScope.privateNames.has(name)) return; + } + + if (classScope) { + classScope.undefinedPrivateNames.set(name, pos); + } else { + this.raise(pos, ErrorMessages.InvalidPrivateFieldResolution, name); + } + } + +} + +class Parser extends StatementParser { + constructor(options, input) { + options = getOptions(options); + super(options, input); + const ScopeHandler = this.getScopeHandler(); + this.options = options; + this.inModule = this.options.sourceType === "module"; + this.scope = new ScopeHandler(this.raise.bind(this), this.inModule); + this.prodParam = new ProductionParameterHandler(); + this.classScope = new ClassScopeHandler(this.raise.bind(this)); + this.plugins = pluginsMap(this.options.plugins); + this.filename = options.sourceFilename; + } + + getScopeHandler() { + return ScopeHandler; + } + + parse() { + let paramFlags = PARAM; + + if (this.hasPlugin("topLevelAwait") && this.inModule) { + paramFlags |= PARAM_AWAIT; + } + + this.scope.enter(SCOPE_PROGRAM); + this.prodParam.enter(paramFlags); + const file = this.startNode(); + const program = this.startNode(); + this.nextToken(); + file.errors = null; + this.parseTopLevel(file, program); + file.errors = this.state.errors; + return file; + } + +} + +function pluginsMap(plugins) { + const pluginMap = new Map(); + + for (let _i = 0; _i < plugins.length; _i++) { + const plugin = plugins[_i]; + const [name, options] = Array.isArray(plugin) ? plugin : [plugin, {}]; + if (!pluginMap.has(name)) pluginMap.set(name, options || {}); + } + + return pluginMap; +} + +function parse(input, options) { + var _options; + + if (((_options = options) == null ? void 0 : _options.sourceType) === "unambiguous") { + options = Object.assign({}, options); + + try { + options.sourceType = "module"; + const parser = getParser(options, input); + const ast = parser.parse(); + + if (parser.sawUnambiguousESM) { + return ast; + } + + if (parser.ambiguousScriptDifferentAst) { + try { + options.sourceType = "script"; + return getParser(options, input).parse(); + } catch (_unused) {} + } else { + ast.program.sourceType = "script"; + } + + return ast; + } catch (moduleError) { + try { + options.sourceType = "script"; + return getParser(options, input).parse(); + } catch (_unused2) {} + + throw moduleError; + } + } else { + return getParser(options, input).parse(); + } +} +function parseExpression(input, options) { + const parser = getParser(options, input); + + if (parser.options.strictMode) { + parser.state.strict = true; + } + + return parser.getExpression(); +} + +function getParser(options, input) { + let cls = Parser; + + if (options == null ? void 0 : options.plugins) { + validatePlugins(options.plugins); + cls = getParserClass(options.plugins); + } + + return new cls(options, input); +} + +const parserClassCache = {}; + +function getParserClass(pluginsFromOptions) { + const pluginList = mixinPluginNames.filter(name => hasPlugin(pluginsFromOptions, name)); + const key = pluginList.join("/"); + let cls = parserClassCache[key]; + + if (!cls) { + cls = Parser; + + for (let _i = 0; _i < pluginList.length; _i++) { + const plugin = pluginList[_i]; + cls = mixinPlugins[plugin](cls); + } + + parserClassCache[key] = cls; + } + + return cls; +} + +exports.parse = parse; +exports.parseExpression = parseExpression; +exports.tokTypes = types; +//# sourceMappingURL=index.js.map diff --git a/node_modules/@babel/parser/lib/index.js.map b/node_modules/@babel/parser/lib/index.js.map new file mode 100644 index 000000000..122a2d76c --- /dev/null +++ b/node_modules/@babel/parser/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sources":["../src/tokenizer/types.js","../src/util/scopeflags.js","../src/util/whitespace.js","../src/util/location.js","../src/parser/base.js","../src/parser/comments.js","../src/parser/error-message.js","../src/parser/error.js","../src/plugins/estree.js","../src/tokenizer/context.js","../../babel-helper-validator-identifier/src/identifier.js","../../babel-helper-validator-identifier/src/keyword.js","../src/util/identifier.js","../src/plugins/flow.js","../src/plugins/jsx/xhtml.js","../src/plugins/jsx/index.js","../src/util/scope.js","../src/plugins/typescript/scope.js","../src/util/production-parameter.js","../src/plugins/typescript/index.js","../src/plugins/placeholders.js","../src/plugins/v8intrinsic.js","../src/plugin-utils.js","../src/options.js","../src/tokenizer/state.js","../src/tokenizer/index.js","../src/parser/util.js","../src/parser/node.js","../src/parser/lval.js","../src/parser/expression.js","../src/parser/statement.js","../src/util/class-scope.js","../src/parser/index.js","../src/index.js"],"sourcesContent":["// @flow\n\n// ## Token types\n\n// The assignment of fine-grained, information-carrying type objects\n// allows the tokenizer to store the information it has about a\n// token in a way that is very cheap for the parser to look up.\n\n// All token type variables start with an underscore, to make them\n// easy to recognize.\n\n// The `beforeExpr` property is used to disambiguate between regular\n// expressions and divisions. It is set on all token types that can\n// be followed by an expression (thus, a slash after them would be a\n// regular expression).\n\n// The `startsExpr` property is used to determine whether an expression\n// may be the “argument” subexpression of a `yield` expression or\n// `yield` statement. It is set on all token types that may be at the\n// start of a subexpression.\n\n// `isLoop` marks a keyword as starting a loop, which is important\n// to know when parsing a label, in order to allow or disallow\n// continue jumps to that label.\n\nconst beforeExpr = true;\nconst startsExpr = true;\nconst isLoop = true;\nconst isAssign = true;\nconst prefix = true;\nconst postfix = true;\n\ntype TokenOptions = {\n keyword?: string,\n beforeExpr?: boolean,\n startsExpr?: boolean,\n rightAssociative?: boolean,\n isLoop?: boolean,\n isAssign?: boolean,\n prefix?: boolean,\n postfix?: boolean,\n binop?: ?number,\n};\n\nexport class TokenType {\n label: string;\n keyword: ?string;\n beforeExpr: boolean;\n startsExpr: boolean;\n rightAssociative: boolean;\n isLoop: boolean;\n isAssign: boolean;\n prefix: boolean;\n postfix: boolean;\n binop: ?number;\n updateContext: ?(prevType: TokenType) => void;\n\n constructor(label: string, conf: TokenOptions = {}) {\n this.label = label;\n this.keyword = conf.keyword;\n this.beforeExpr = !!conf.beforeExpr;\n this.startsExpr = !!conf.startsExpr;\n this.rightAssociative = !!conf.rightAssociative;\n this.isLoop = !!conf.isLoop;\n this.isAssign = !!conf.isAssign;\n this.prefix = !!conf.prefix;\n this.postfix = !!conf.postfix;\n this.binop = conf.binop != null ? conf.binop : null;\n this.updateContext = null;\n }\n}\n\nexport const keywords = new Map();\n\nfunction createKeyword(name: string, options: TokenOptions = {}): TokenType {\n options.keyword = name;\n const token = new TokenType(name, options);\n keywords.set(name, token);\n return token;\n}\n\nfunction createBinop(name: string, binop: number) {\n return new TokenType(name, { beforeExpr, binop });\n}\n\nexport const types: { [name: string]: TokenType } = {\n num: new TokenType(\"num\", { startsExpr }),\n bigint: new TokenType(\"bigint\", { startsExpr }),\n decimal: new TokenType(\"decimal\", { startsExpr }),\n regexp: new TokenType(\"regexp\", { startsExpr }),\n string: new TokenType(\"string\", { startsExpr }),\n name: new TokenType(\"name\", { startsExpr }),\n eof: new TokenType(\"eof\"),\n\n // Punctuation token types.\n bracketL: new TokenType(\"[\", { beforeExpr, startsExpr }),\n bracketHashL: new TokenType(\"#[\", { beforeExpr, startsExpr }),\n bracketBarL: new TokenType(\"[|\", { beforeExpr, startsExpr }),\n bracketR: new TokenType(\"]\"),\n bracketBarR: new TokenType(\"|]\"),\n braceL: new TokenType(\"{\", { beforeExpr, startsExpr }),\n braceBarL: new TokenType(\"{|\", { beforeExpr, startsExpr }),\n braceHashL: new TokenType(\"#{\", { beforeExpr, startsExpr }),\n braceR: new TokenType(\"}\"),\n braceBarR: new TokenType(\"|}\"),\n parenL: new TokenType(\"(\", { beforeExpr, startsExpr }),\n parenR: new TokenType(\")\"),\n comma: new TokenType(\",\", { beforeExpr }),\n semi: new TokenType(\";\", { beforeExpr }),\n colon: new TokenType(\":\", { beforeExpr }),\n doubleColon: new TokenType(\"::\", { beforeExpr }),\n dot: new TokenType(\".\"),\n question: new TokenType(\"?\", { beforeExpr }),\n questionDot: new TokenType(\"?.\"),\n arrow: new TokenType(\"=>\", { beforeExpr }),\n template: new TokenType(\"template\"),\n ellipsis: new TokenType(\"...\", { beforeExpr }),\n backQuote: new TokenType(\"`\", { startsExpr }),\n dollarBraceL: new TokenType(\"${\", { beforeExpr, startsExpr }),\n at: new TokenType(\"@\"),\n hash: new TokenType(\"#\", { startsExpr }),\n\n // Special hashbang token.\n interpreterDirective: new TokenType(\"#!...\"),\n\n // Operators. These carry several kinds of properties to help the\n // parser use them properly (the presence of these properties is\n // what categorizes them as operators).\n //\n // `binop`, when present, specifies that this operator is a binary\n // operator, and will refer to its precedence.\n //\n // `prefix` and `postfix` mark the operator as a prefix or postfix\n // unary operator.\n //\n // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as\n // binary operators with a very low precedence, that should result\n // in AssignmentExpression nodes.\n\n eq: new TokenType(\"=\", { beforeExpr, isAssign }),\n assign: new TokenType(\"_=\", { beforeExpr, isAssign }),\n incDec: new TokenType(\"++/--\", { prefix, postfix, startsExpr }),\n bang: new TokenType(\"!\", { beforeExpr, prefix, startsExpr }),\n tilde: new TokenType(\"~\", { beforeExpr, prefix, startsExpr }),\n pipeline: createBinop(\"|>\", 0),\n nullishCoalescing: createBinop(\"??\", 1),\n logicalOR: createBinop(\"||\", 1),\n logicalAND: createBinop(\"&&\", 2),\n bitwiseOR: createBinop(\"|\", 3),\n bitwiseXOR: createBinop(\"^\", 4),\n bitwiseAND: createBinop(\"&\", 5),\n equality: createBinop(\"==/!=/===/!==\", 6),\n relational: createBinop(\"/<=/>=\", 7),\n bitShift: createBinop(\"<>/>>>\", 8),\n plusMin: new TokenType(\"+/-\", { beforeExpr, binop: 9, prefix, startsExpr }),\n // startsExpr: required by v8intrinsic plugin\n modulo: new TokenType(\"%\", { beforeExpr, binop: 10, startsExpr }),\n // unset `beforeExpr` as it can be `function *`\n star: new TokenType(\"*\", { binop: 10 }),\n slash: createBinop(\"/\", 10),\n exponent: new TokenType(\"**\", {\n beforeExpr,\n binop: 11,\n rightAssociative: true,\n }),\n\n // Keywords\n // Don't forget to update packages/babel-helper-validator-identifier/src/keyword.js\n // when new keywords are added\n _break: createKeyword(\"break\"),\n _case: createKeyword(\"case\", { beforeExpr }),\n _catch: createKeyword(\"catch\"),\n _continue: createKeyword(\"continue\"),\n _debugger: createKeyword(\"debugger\"),\n _default: createKeyword(\"default\", { beforeExpr }),\n _do: createKeyword(\"do\", { isLoop, beforeExpr }),\n _else: createKeyword(\"else\", { beforeExpr }),\n _finally: createKeyword(\"finally\"),\n _for: createKeyword(\"for\", { isLoop }),\n _function: createKeyword(\"function\", { startsExpr }),\n _if: createKeyword(\"if\"),\n _return: createKeyword(\"return\", { beforeExpr }),\n _switch: createKeyword(\"switch\"),\n _throw: createKeyword(\"throw\", { beforeExpr, prefix, startsExpr }),\n _try: createKeyword(\"try\"),\n _var: createKeyword(\"var\"),\n _const: createKeyword(\"const\"),\n _while: createKeyword(\"while\", { isLoop }),\n _with: createKeyword(\"with\"),\n _new: createKeyword(\"new\", { beforeExpr, startsExpr }),\n _this: createKeyword(\"this\", { startsExpr }),\n _super: createKeyword(\"super\", { startsExpr }),\n _class: createKeyword(\"class\", { startsExpr }),\n _extends: createKeyword(\"extends\", { beforeExpr }),\n _export: createKeyword(\"export\"),\n _import: createKeyword(\"import\", { startsExpr }),\n _null: createKeyword(\"null\", { startsExpr }),\n _true: createKeyword(\"true\", { startsExpr }),\n _false: createKeyword(\"false\", { startsExpr }),\n _in: createKeyword(\"in\", { beforeExpr, binop: 7 }),\n _instanceof: createKeyword(\"instanceof\", { beforeExpr, binop: 7 }),\n _typeof: createKeyword(\"typeof\", { beforeExpr, prefix, startsExpr }),\n _void: createKeyword(\"void\", { beforeExpr, prefix, startsExpr }),\n _delete: createKeyword(\"delete\", { beforeExpr, prefix, startsExpr }),\n};\n","// @flow\n\n// Each scope gets a bitset that may contain these flags\n// prettier-ignore\nexport const SCOPE_OTHER = 0b00000000,\n SCOPE_PROGRAM = 0b00000001,\n SCOPE_FUNCTION = 0b00000010,\n SCOPE_ARROW = 0b00000100,\n SCOPE_SIMPLE_CATCH = 0b00001000,\n SCOPE_SUPER = 0b00010000,\n SCOPE_DIRECT_SUPER = 0b00100000,\n SCOPE_CLASS = 0b01000000,\n SCOPE_TS_MODULE = 0b10000000,\n SCOPE_VAR = SCOPE_PROGRAM | SCOPE_FUNCTION | SCOPE_TS_MODULE;\n\nexport type ScopeFlags =\n | typeof SCOPE_OTHER\n | typeof SCOPE_PROGRAM\n | typeof SCOPE_FUNCTION\n | typeof SCOPE_VAR\n | typeof SCOPE_ARROW\n | typeof SCOPE_SIMPLE_CATCH\n | typeof SCOPE_SUPER\n | typeof SCOPE_DIRECT_SUPER\n | typeof SCOPE_CLASS;\n\n// These flags are meant to be _only_ used inside the Scope class (or subclasses).\n// prettier-ignore\nexport const BIND_KIND_VALUE = 0b00000_0000_01,\n BIND_KIND_TYPE = 0b00000_0000_10,\n // Used in checkLVal and declareName to determine the type of a binding\n BIND_SCOPE_VAR = 0b00000_0001_00, // Var-style binding\n BIND_SCOPE_LEXICAL = 0b00000_0010_00, // Let- or const-style binding\n BIND_SCOPE_FUNCTION = 0b00000_0100_00, // Function declaration\n BIND_SCOPE_OUTSIDE = 0b00000_1000_00, // Special case for function names as\n // bound inside the function\n // Misc flags\n BIND_FLAGS_NONE = 0b00001_0000_00,\n BIND_FLAGS_CLASS = 0b00010_0000_00,\n BIND_FLAGS_TS_ENUM = 0b00100_0000_00,\n BIND_FLAGS_TS_CONST_ENUM = 0b01000_0000_00,\n BIND_FLAGS_TS_EXPORT_ONLY = 0b10000_0000_00;\n\n// These flags are meant to be _only_ used by Scope consumers\n// prettier-ignore\n/* = is value? | is type? | scope | misc flags */\nexport const BIND_CLASS = BIND_KIND_VALUE | BIND_KIND_TYPE | BIND_SCOPE_LEXICAL | BIND_FLAGS_CLASS ,\n BIND_LEXICAL = BIND_KIND_VALUE | 0 | BIND_SCOPE_LEXICAL | 0 ,\n BIND_VAR = BIND_KIND_VALUE | 0 | BIND_SCOPE_VAR | 0 ,\n BIND_FUNCTION = BIND_KIND_VALUE | 0 | BIND_SCOPE_FUNCTION | 0 ,\n BIND_TS_INTERFACE = 0 | BIND_KIND_TYPE | 0 | BIND_FLAGS_CLASS ,\n BIND_TS_TYPE = 0 | BIND_KIND_TYPE | 0 | 0 ,\n BIND_TS_ENUM = BIND_KIND_VALUE | BIND_KIND_TYPE | BIND_SCOPE_LEXICAL | BIND_FLAGS_TS_ENUM,\n BIND_TS_AMBIENT = 0 | 0 | 0 | BIND_FLAGS_TS_EXPORT_ONLY,\n // These bindings don't introduce anything in the scope. They are used for assignments and\n // function expressions IDs.\n BIND_NONE = 0 | 0 | 0 | BIND_FLAGS_NONE ,\n BIND_OUTSIDE = BIND_KIND_VALUE | 0 | 0 | BIND_FLAGS_NONE ,\n\n BIND_TS_CONST_ENUM = BIND_TS_ENUM | BIND_FLAGS_TS_CONST_ENUM,\n BIND_TS_NAMESPACE = 0 | 0 | 0 | BIND_FLAGS_TS_EXPORT_ONLY;\n\nexport type BindingTypes =\n | typeof BIND_NONE\n | typeof BIND_OUTSIDE\n | typeof BIND_VAR\n | typeof BIND_LEXICAL\n | typeof BIND_CLASS\n | typeof BIND_FUNCTION\n | typeof BIND_TS_INTERFACE\n | typeof BIND_TS_TYPE\n | typeof BIND_TS_ENUM\n | typeof BIND_TS_AMBIENT\n | typeof BIND_TS_NAMESPACE;\n\n// prettier-ignore\nexport const CLASS_ELEMENT_FLAG_STATIC = 0b1_00,\n CLASS_ELEMENT_KIND_GETTER = 0b0_10,\n CLASS_ELEMENT_KIND_SETTER = 0b0_01,\n CLASS_ELEMENT_KIND_ACCESSOR = CLASS_ELEMENT_KIND_GETTER | CLASS_ELEMENT_KIND_SETTER;\n\n// prettier-ignore\nexport const CLASS_ELEMENT_STATIC_GETTER = CLASS_ELEMENT_KIND_GETTER | CLASS_ELEMENT_FLAG_STATIC,\n CLASS_ELEMENT_STATIC_SETTER = CLASS_ELEMENT_KIND_SETTER | CLASS_ELEMENT_FLAG_STATIC,\n CLASS_ELEMENT_INSTANCE_GETTER = CLASS_ELEMENT_KIND_GETTER,\n CLASS_ELEMENT_INSTANCE_SETTER = CLASS_ELEMENT_KIND_SETTER,\n CLASS_ELEMENT_OTHER = 0;\n\nexport type ClassElementTypes =\n | typeof CLASS_ELEMENT_STATIC_GETTER\n | typeof CLASS_ELEMENT_STATIC_SETTER\n | typeof CLASS_ELEMENT_INSTANCE_GETTER\n | typeof CLASS_ELEMENT_INSTANCE_SETTER\n | typeof CLASS_ELEMENT_OTHER;\n","// @flow\n\nimport * as charCodes from \"charcodes\";\n\n// Matches a whole line break (where CRLF is considered a single\n// line break). Used to count lines.\nexport const lineBreak = /\\r\\n?|[\\n\\u2028\\u2029]/;\nexport const lineBreakG = new RegExp(lineBreak.source, \"g\");\n\n// https://tc39.github.io/ecma262/#sec-line-terminators\nexport function isNewLine(code: number): boolean {\n switch (code) {\n case charCodes.lineFeed:\n case charCodes.carriageReturn:\n case charCodes.lineSeparator:\n case charCodes.paragraphSeparator:\n return true;\n\n default:\n return false;\n }\n}\n\nexport const skipWhiteSpace = /(?:\\s|\\/\\/.*|\\/\\*[^]*?\\*\\/)*/g;\n\n// https://tc39.github.io/ecma262/#sec-white-space\nexport function isWhitespace(code: number): boolean {\n switch (code) {\n case 0x0009: // CHARACTER TABULATION\n case 0x000b: // LINE TABULATION\n case 0x000c: // FORM FEED\n case charCodes.space:\n case charCodes.nonBreakingSpace:\n case charCodes.oghamSpaceMark:\n case 0x2000: // EN QUAD\n case 0x2001: // EM QUAD\n case 0x2002: // EN SPACE\n case 0x2003: // EM SPACE\n case 0x2004: // THREE-PER-EM SPACE\n case 0x2005: // FOUR-PER-EM SPACE\n case 0x2006: // SIX-PER-EM SPACE\n case 0x2007: // FIGURE SPACE\n case 0x2008: // PUNCTUATION SPACE\n case 0x2009: // THIN SPACE\n case 0x200a: // HAIR SPACE\n case 0x202f: // NARROW NO-BREAK SPACE\n case 0x205f: // MEDIUM MATHEMATICAL SPACE\n case 0x3000: // IDEOGRAPHIC SPACE\n case 0xfeff: // ZERO WIDTH NO-BREAK SPACE\n return true;\n\n default:\n return false;\n }\n}\n","// @flow\n\nimport { lineBreakG } from \"./whitespace\";\n\nexport type Pos = {\n start: number,\n};\n\n// These are used when `options.locations` is on, for the\n// `startLoc` and `endLoc` properties.\n\nexport class Position {\n line: number;\n column: number;\n\n constructor(line: number, col: number) {\n this.line = line;\n this.column = col;\n }\n}\n\nexport class SourceLocation {\n start: Position;\n end: Position;\n filename: string;\n identifierName: ?string;\n\n constructor(start: Position, end?: Position) {\n this.start = start;\n // $FlowIgnore (may start as null, but initialized later)\n this.end = end;\n }\n}\n\n// The `getLineInfo` function is mostly useful when the\n// `locations` option is off (for performance reasons) and you\n// want to find the line/column position for a given character\n// offset. `input` should be the code string that the offset refers\n// into.\n\nexport function getLineInfo(input: string, offset: number): Position {\n let line = 1;\n let lineStart = 0;\n let match;\n lineBreakG.lastIndex = 0;\n while ((match = lineBreakG.exec(input)) && match.index < offset) {\n line++;\n lineStart = lineBreakG.lastIndex;\n }\n\n return new Position(line, offset - lineStart);\n}\n","// @flow\n\nimport type { Options } from \"../options\";\nimport type State from \"../tokenizer/state\";\nimport type { PluginsMap } from \"./index\";\nimport type ScopeHandler from \"../util/scope\";\nimport type ClassScopeHandler from \"../util/class-scope\";\nimport type ProductionParameterHandler from \"../util/production-parameter\";\n\nexport default class BaseParser {\n // Properties set by constructor in index.js\n options: Options;\n inModule: boolean;\n scope: ScopeHandler<*>;\n classScope: ClassScopeHandler;\n prodParam: ProductionParameterHandler;\n plugins: PluginsMap;\n filename: ?string;\n sawUnambiguousESM: boolean = false;\n ambiguousScriptDifferentAst: boolean = false;\n\n // Initialized by Tokenizer\n state: State;\n // input and length are not in state as they are constant and we do\n // not want to ever copy them, which happens if state gets cloned\n input: string;\n length: number;\n\n hasPlugin(name: string): boolean {\n return this.plugins.has(name);\n }\n\n getPluginOption(plugin: string, name: string) {\n // $FlowIssue\n if (this.hasPlugin(plugin)) return this.plugins.get(plugin)[name];\n }\n}\n","// @flow\n\n/**\n * Based on the comment attachment algorithm used in espree and estraverse.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above copyright\n * notice, this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY\n * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nimport BaseParser from \"./base\";\nimport type { Comment, Node } from \"../types\";\n\nfunction last(stack: $ReadOnlyArray): T {\n return stack[stack.length - 1];\n}\n\nexport default class CommentsParser extends BaseParser {\n addComment(comment: Comment): void {\n if (this.filename) comment.loc.filename = this.filename;\n this.state.trailingComments.push(comment);\n this.state.leadingComments.push(comment);\n }\n\n adjustCommentsAfterTrailingComma(\n node: Node,\n elements: (Node | null)[],\n // When the current node is followed by a token which hasn't a respective AST node, we\n // need to take all the trailing comments to prevent them from being attached to an\n // unrelated node. e.g. in\n // var { x } /* cmt */ = { y }\n // we don't want /* cmt */ to be attached to { y }.\n // On the other hand, in\n // fn(x) [new line] /* cmt */ [new line] y\n // /* cmt */ is both a trailing comment of fn(x) and a leading comment of y\n takeAllComments?: boolean,\n ) {\n if (this.state.leadingComments.length === 0) {\n return;\n }\n\n let lastElement = null;\n let i = elements.length;\n while (lastElement === null && i > 0) {\n lastElement = elements[--i];\n }\n if (lastElement === null) {\n return;\n }\n\n for (let j = 0; j < this.state.leadingComments.length; j++) {\n if (\n this.state.leadingComments[j].end < this.state.commentPreviousNode.end\n ) {\n this.state.leadingComments.splice(j, 1);\n j--;\n }\n }\n\n const newTrailingComments = [];\n for (let i = 0; i < this.state.leadingComments.length; i++) {\n const leadingComment = this.state.leadingComments[i];\n if (leadingComment.end < node.end) {\n newTrailingComments.push(leadingComment);\n\n // Perf: we don't need to splice if we are going to reset the array anyway\n if (!takeAllComments) {\n this.state.leadingComments.splice(i, 1);\n i--;\n }\n } else {\n if (node.trailingComments === undefined) {\n node.trailingComments = [];\n }\n node.trailingComments.push(leadingComment);\n }\n }\n if (takeAllComments) this.state.leadingComments = [];\n\n if (newTrailingComments.length > 0) {\n lastElement.trailingComments = newTrailingComments;\n } else if (lastElement.trailingComments !== undefined) {\n lastElement.trailingComments = [];\n }\n }\n\n processComment(node: Node): void {\n if (node.type === \"Program\" && node.body.length > 0) return;\n\n const stack = this.state.commentStack;\n\n let firstChild, lastChild, trailingComments, i, j;\n\n if (this.state.trailingComments.length > 0) {\n // If the first comment in trailingComments comes after the\n // current node, then we're good - all comments in the array will\n // come after the node and so it's safe to add them as official\n // trailingComments.\n if (this.state.trailingComments[0].start >= node.end) {\n trailingComments = this.state.trailingComments;\n this.state.trailingComments = [];\n } else {\n // Otherwise, if the first comment doesn't come after the\n // current node, that means we have a mix of leading and trailing\n // comments in the array and that leadingComments contains the\n // same items as trailingComments. Reset trailingComments to\n // zero items and we'll handle this by evaluating leadingComments\n // later.\n this.state.trailingComments.length = 0;\n }\n } else if (stack.length > 0) {\n const lastInStack = last(stack);\n if (\n lastInStack.trailingComments &&\n lastInStack.trailingComments[0].start >= node.end\n ) {\n trailingComments = lastInStack.trailingComments;\n delete lastInStack.trailingComments;\n }\n }\n\n // Eating the stack.\n if (stack.length > 0 && last(stack).start >= node.start) {\n firstChild = stack.pop();\n }\n\n while (stack.length > 0 && last(stack).start >= node.start) {\n lastChild = stack.pop();\n }\n\n if (!lastChild && firstChild) lastChild = firstChild;\n\n // Adjust comments that follow a trailing comma on the last element in a\n // comma separated list of nodes to be the trailing comments on the last\n // element\n if (firstChild) {\n switch (node.type) {\n case \"ObjectExpression\":\n this.adjustCommentsAfterTrailingComma(node, node.properties);\n break;\n case \"ObjectPattern\":\n this.adjustCommentsAfterTrailingComma(node, node.properties, true);\n break;\n case \"CallExpression\":\n this.adjustCommentsAfterTrailingComma(node, node.arguments);\n break;\n case \"ArrayExpression\":\n this.adjustCommentsAfterTrailingComma(node, node.elements);\n break;\n case \"ArrayPattern\":\n this.adjustCommentsAfterTrailingComma(node, node.elements, true);\n break;\n }\n } else if (\n this.state.commentPreviousNode &&\n ((this.state.commentPreviousNode.type === \"ImportSpecifier\" &&\n node.type !== \"ImportSpecifier\") ||\n (this.state.commentPreviousNode.type === \"ExportSpecifier\" &&\n node.type !== \"ExportSpecifier\"))\n ) {\n this.adjustCommentsAfterTrailingComma(node, [\n this.state.commentPreviousNode,\n ]);\n }\n\n if (lastChild) {\n if (lastChild.leadingComments) {\n if (\n lastChild !== node &&\n lastChild.leadingComments.length > 0 &&\n last(lastChild.leadingComments).end <= node.start\n ) {\n node.leadingComments = lastChild.leadingComments;\n delete lastChild.leadingComments;\n } else {\n // A leading comment for an anonymous class had been stolen by its first ClassMethod,\n // so this takes back the leading comment.\n // See also: https://github.com/eslint/espree/issues/158\n for (i = lastChild.leadingComments.length - 2; i >= 0; --i) {\n if (lastChild.leadingComments[i].end <= node.start) {\n node.leadingComments = lastChild.leadingComments.splice(0, i + 1);\n break;\n }\n }\n }\n }\n } else if (this.state.leadingComments.length > 0) {\n if (last(this.state.leadingComments).end <= node.start) {\n if (this.state.commentPreviousNode) {\n for (j = 0; j < this.state.leadingComments.length; j++) {\n if (\n this.state.leadingComments[j].end <\n this.state.commentPreviousNode.end\n ) {\n this.state.leadingComments.splice(j, 1);\n j--;\n }\n }\n }\n if (this.state.leadingComments.length > 0) {\n node.leadingComments = this.state.leadingComments;\n this.state.leadingComments = [];\n }\n } else {\n // https://github.com/eslint/espree/issues/2\n //\n // In special cases, such as return (without a value) and\n // debugger, all comments will end up as leadingComments and\n // will otherwise be eliminated. This step runs when the\n // commentStack is empty and there are comments left\n // in leadingComments.\n //\n // This loop figures out the stopping point between the actual\n // leading and trailing comments by finding the location of the\n // first comment that comes after the given node.\n for (i = 0; i < this.state.leadingComments.length; i++) {\n if (this.state.leadingComments[i].end > node.start) {\n break;\n }\n }\n\n // Split the array based on the location of the first comment\n // that comes after the node. Keep in mind that this could\n // result in an empty array, and if so, the array must be\n // deleted.\n const leadingComments = this.state.leadingComments.slice(0, i);\n\n if (leadingComments.length) {\n node.leadingComments = leadingComments;\n }\n\n // Similarly, trailing comments are attached later. The variable\n // must be reset to null if there are no trailing comments.\n trailingComments = this.state.leadingComments.slice(i);\n if (trailingComments.length === 0) {\n trailingComments = null;\n }\n }\n }\n\n this.state.commentPreviousNode = node;\n\n if (trailingComments) {\n if (\n trailingComments.length &&\n trailingComments[0].start >= node.start &&\n last(trailingComments).end <= node.end\n ) {\n node.innerComments = trailingComments;\n } else {\n // TrailingComments maybe contain innerComments\n const firstTrailingCommentIndex = trailingComments.findIndex(\n comment => comment.end >= node.end,\n );\n\n if (firstTrailingCommentIndex > 0) {\n node.innerComments = trailingComments.slice(\n 0,\n firstTrailingCommentIndex,\n );\n node.trailingComments = trailingComments.slice(\n firstTrailingCommentIndex,\n );\n } else {\n node.trailingComments = trailingComments;\n }\n }\n }\n\n stack.push(node);\n }\n}\n","// @flow\n/* eslint sort-keys: \"error\" */\n\n// The Errors key follows https://cs.chromium.org/chromium/src/v8/src/common/message-template.h unless it does not exist\nexport const ErrorMessages = Object.freeze({\n AccessorIsGenerator: \"A %0ter cannot be a generator\",\n ArgumentsDisallowedInInitializer:\n \"'arguments' is not allowed in class field initializer\",\n AsyncFunctionInSingleStatementContext:\n \"Async functions can only be declared at the top level or inside a block\",\n AwaitBindingIdentifier:\n \"Can not use 'await' as identifier inside an async function\",\n AwaitExpressionFormalParameter:\n \"await is not allowed in async function parameters\",\n AwaitNotInAsyncFunction:\n \"Can not use keyword 'await' outside an async function\",\n BadGetterArity: \"getter must not have any formal parameters\",\n BadSetterArity: \"setter must have exactly one formal parameter\",\n BadSetterRestParameter:\n \"setter function argument must not be a rest parameter\",\n ConstructorClassField: \"Classes may not have a field named 'constructor'\",\n ConstructorClassPrivateField:\n \"Classes may not have a private field named '#constructor'\",\n ConstructorIsAccessor: \"Class constructor may not be an accessor\",\n ConstructorIsAsync: \"Constructor can't be an async function\",\n ConstructorIsGenerator: \"Constructor can't be a generator\",\n DeclarationMissingInitializer: \"%0 require an initialization value\",\n DecoratorBeforeExport:\n \"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax\",\n DecoratorConstructor:\n \"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?\",\n DecoratorExportClass:\n \"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.\",\n DecoratorSemicolon: \"Decorators must not be followed by a semicolon\",\n DeletePrivateField: \"Deleting a private field is not allowed\",\n DestructureNamedImport:\n \"ES2015 named imports do not destructure. Use another statement for destructuring after the import.\",\n DuplicateConstructor: \"Duplicate constructor in the same class\",\n DuplicateDefaultExport: \"Only one default export allowed per module.\",\n DuplicateExport:\n \"`%0` has already been exported. Exported identifiers must be unique.\",\n DuplicateProto: \"Redefinition of __proto__ property\",\n DuplicateRegExpFlags: \"Duplicate regular expression flag\",\n ElementAfterRest: \"Rest element must be last element\",\n EscapedCharNotAnIdentifier: \"Invalid Unicode escape\",\n ExportDefaultFromAsIdentifier:\n \"'from' is not allowed as an identifier after 'export default'\",\n ForInOfLoopInitializer:\n \"%0 loop variable declaration may not have an initializer\",\n GeneratorInSingleStatementContext:\n \"Generators can only be declared at the top level or inside a block\",\n IllegalBreakContinue: \"Unsyntactic %0\",\n IllegalLanguageModeDirective:\n \"Illegal 'use strict' directive in function with non-simple parameter list\",\n IllegalReturn: \"'return' outside of function\",\n ImportCallArgumentTrailingComma:\n \"Trailing comma is disallowed inside import(...) arguments\",\n ImportCallArity: \"import() requires exactly %0\",\n ImportCallNotNewExpression: \"Cannot use new with import(...)\",\n ImportCallSpreadArgument: \"... is not allowed in import()\",\n ImportMetaOutsideModule: `import.meta may appear only with 'sourceType: \"module\"'`,\n ImportOutsideModule: `'import' and 'export' may appear only with 'sourceType: \"module\"'`,\n InvalidBigIntLiteral: \"Invalid BigIntLiteral\",\n InvalidCodePoint: \"Code point out of bounds\",\n InvalidDecimal: \"Invalid decimal\",\n InvalidDigit: \"Expected number in radix %0\",\n InvalidEscapeSequence: \"Bad character escape sequence\",\n InvalidEscapeSequenceTemplate: \"Invalid escape sequence in template\",\n InvalidEscapedReservedWord: \"Escape sequence in keyword %0\",\n InvalidIdentifier: \"Invalid identifier %0\",\n InvalidLhs: \"Invalid left-hand side in %0\",\n InvalidLhsBinding: \"Binding invalid left-hand side in %0\",\n InvalidNumber: \"Invalid number\",\n InvalidOrUnexpectedToken: \"Unexpected character '%0'\",\n InvalidParenthesizedAssignment: \"Invalid parenthesized assignment pattern\",\n InvalidPrivateFieldResolution: \"Private name #%0 is not defined\",\n InvalidPropertyBindingPattern: \"Binding member expression\",\n InvalidRecordProperty:\n \"Only properties and spread elements are allowed in record definitions\",\n InvalidRestAssignmentPattern: \"Invalid rest operator's argument\",\n LabelRedeclaration: \"Label '%0' is already declared\",\n LetInLexicalBinding:\n \"'let' is not allowed to be used as a name in 'let' or 'const' declarations.\",\n LineTerminatorBeforeArrow: \"No line break is allowed before '=>'\",\n MalformedRegExpFlags: \"Invalid regular expression flag\",\n MissingClassName: \"A class name is required\",\n MissingEqInAssignment:\n \"Only '=' operator can be used for specifying default value.\",\n MissingUnicodeEscape: \"Expecting Unicode escape sequence \\\\uXXXX\",\n MixingCoalesceWithLogical:\n \"Nullish coalescing operator(??) requires parens when mixing with logical operators\",\n ModuleAttributeDifferentFromType:\n \"The only accepted module attribute is `type`\",\n ModuleAttributeInvalidValue:\n \"Only string literals are allowed as module attribute values\",\n ModuleAttributesWithDuplicateKeys:\n 'Duplicate key \"%0\" is not allowed in module attributes',\n ModuleExportUndefined: \"Export '%0' is not defined\",\n MultipleDefaultsInSwitch: \"Multiple default clauses\",\n NewlineAfterThrow: \"Illegal newline after throw\",\n NoCatchOrFinally: \"Missing catch or finally clause\",\n NumberIdentifier: \"Identifier directly after number\",\n NumericSeparatorInEscapeSequence:\n \"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences\",\n ObsoleteAwaitStar:\n \"await* has been removed from the async functions proposal. Use Promise.all() instead.\",\n OptionalChainingNoNew:\n \"constructors in/after an Optional Chain are not allowed\",\n OptionalChainingNoTemplate:\n \"Tagged Template Literals are not allowed in optionalChain\",\n ParamDupe: \"Argument name clash\",\n PatternHasAccessor: \"Object pattern can't contain getter or setter\",\n PatternHasMethod: \"Object pattern can't contain methods\",\n PipelineBodyNoArrow:\n 'Unexpected arrow \"=>\" after pipeline body; arrow function in pipeline body must be parenthesized',\n PipelineBodySequenceExpression:\n \"Pipeline body may not be a comma-separated sequence expression\",\n PipelineHeadSequenceExpression:\n \"Pipeline head should not be a comma-separated sequence expression\",\n PipelineTopicUnused:\n \"Pipeline is in topic style but does not use topic reference\",\n PrimaryTopicNotAllowed:\n \"Topic reference was used in a lexical context without topic binding\",\n PrimaryTopicRequiresSmartPipeline:\n \"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.\",\n PrivateInExpectedIn:\n \"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`)\",\n PrivateNameRedeclaration: \"Duplicate private name #%0\",\n RecordExpressionBarIncorrectEndSyntaxType:\n \"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'\",\n RecordExpressionBarIncorrectStartSyntaxType:\n \"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'\",\n RecordExpressionHashIncorrectStartSyntaxType:\n \"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'\",\n RecordNoProto: \"'__proto__' is not allowed in Record expressions\",\n RestTrailingComma: \"Unexpected trailing comma after rest element\",\n SloppyFunction:\n \"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement\",\n StaticPrototype: \"Classes may not have static property named prototype\",\n StrictDelete: \"Deleting local variable in strict mode\",\n StrictEvalArguments: \"Assigning to '%0' in strict mode\",\n StrictEvalArgumentsBinding: \"Binding '%0' in strict mode\",\n StrictFunction:\n \"In strict mode code, functions can only be declared at top level or inside a block\",\n StrictNumericEscape: \"The only valid numeric escape in strict mode is '\\\\0'\",\n StrictOctalLiteral: \"Legacy octal literals are not allowed in strict mode\",\n StrictWith: \"'with' in strict mode\",\n SuperNotAllowed:\n \"super() is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?\",\n SuperPrivateField: \"Private fields can't be accessed on super\",\n TrailingDecorator: \"Decorators must be attached to a class element\",\n TupleExpressionBarIncorrectEndSyntaxType:\n \"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'\",\n TupleExpressionBarIncorrectStartSyntaxType:\n \"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'\",\n TupleExpressionHashIncorrectStartSyntaxType:\n \"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'\",\n UnexpectedArgumentPlaceholder: \"Unexpected argument placeholder\",\n UnexpectedAwaitAfterPipelineBody:\n 'Unexpected \"await\" after pipeline body; await must have parentheses in minimal proposal',\n UnexpectedDigitAfterHash: \"Unexpected digit after hash token\",\n UnexpectedImportExport:\n \"'import' and 'export' may only appear at the top level\",\n UnexpectedKeyword: \"Unexpected keyword '%0'\",\n UnexpectedLeadingDecorator:\n \"Leading decorators must be attached to a class declaration\",\n UnexpectedLexicalDeclaration:\n \"Lexical declaration cannot appear in a single-statement context\",\n UnexpectedNewTarget: \"new.target can only be used in functions\",\n UnexpectedNumericSeparator:\n \"A numeric separator is only allowed between two digits\",\n UnexpectedPrivateField:\n \"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\\n or a property of member expression (i.e. this.#p).\",\n UnexpectedReservedWord: \"Unexpected reserved word '%0'\",\n UnexpectedSuper: \"super is only allowed in object methods and classes\",\n UnexpectedToken: \"Unexpected token '%0'\",\n UnexpectedTokenUnaryExponentiation:\n \"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.\",\n UnsupportedBind: \"Binding should be performed on object property.\",\n UnsupportedDecoratorExport:\n \"A decorated export must export a class declaration\",\n UnsupportedDefaultExport:\n \"Only expressions, functions or classes are allowed as the `default` export.\",\n UnsupportedImport: \"import can only be used in import() or import.meta\",\n UnsupportedMetaProperty: \"The only valid meta property for %0 is %0.%1\",\n UnsupportedParameterDecorator:\n \"Decorators cannot be used to decorate parameters\",\n UnsupportedPropertyDecorator:\n \"Decorators cannot be used to decorate object literal properties\",\n UnsupportedSuper:\n \"super can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])\",\n UnterminatedComment: \"Unterminated comment\",\n UnterminatedRegExp: \"Unterminated regular expression\",\n UnterminatedString: \"Unterminated string constant\",\n UnterminatedTemplate: \"Unterminated template\",\n VarRedeclaration: \"Identifier '%0' has already been declared\",\n YieldBindingIdentifier:\n \"Can not use 'yield' as identifier inside a generator\",\n YieldInParameter: \"yield is not allowed in generator parameters\",\n ZeroDigitNumericSeparator:\n \"Numeric separator can not be used after leading 0\",\n});\n","// @flow\n/* eslint sort-keys: \"error\" */\nimport { getLineInfo, type Position } from \"../util/location\";\nimport CommentsParser from \"./comments\";\n\n// This function is used to raise exceptions on parse errors. It\n// takes an offset integer (into the current `input`) to indicate\n// the location of the error, attaches the position to the end\n// of the error message, and then raises a `SyntaxError` with that\n// message.\n\ntype ErrorContext = {\n pos: number,\n loc: Position,\n missingPlugin?: Array,\n code?: string,\n};\n\nexport { ErrorMessages as Errors } from \"./error-message.js\";\n\nexport default class ParserError extends CommentsParser {\n // Forward-declaration: defined in tokenizer/index.js\n /*::\n +isLookahead: boolean;\n */\n\n getLocationForPosition(pos: number): Position {\n let loc;\n if (pos === this.state.start) loc = this.state.startLoc;\n else if (pos === this.state.lastTokStart) loc = this.state.lastTokStartLoc;\n else if (pos === this.state.end) loc = this.state.endLoc;\n else if (pos === this.state.lastTokEnd) loc = this.state.lastTokEndLoc;\n else loc = getLineInfo(this.input, pos);\n\n return loc;\n }\n\n raise(pos: number, errorTemplate: string, ...params: any): Error | empty {\n return this.raiseWithData(pos, undefined, errorTemplate, ...params);\n }\n\n raiseWithData(\n pos: number,\n data?: {\n missingPlugin?: Array,\n code?: string,\n },\n errorTemplate: string,\n ...params: any\n ): Error | empty {\n const loc = this.getLocationForPosition(pos);\n const message =\n errorTemplate.replace(/%(\\d+)/g, (_, i: number) => params[i]) +\n ` (${loc.line}:${loc.column})`;\n return this._raise(Object.assign(({ loc, pos }: Object), data), message);\n }\n\n _raise(errorContext: ErrorContext, message: string): Error | empty {\n // $FlowIgnore\n const err: SyntaxError & ErrorContext = new SyntaxError(message);\n Object.assign(err, errorContext);\n if (this.options.errorRecovery) {\n if (!this.isLookahead) this.state.errors.push(err);\n return err;\n } else {\n throw err;\n }\n }\n}\n","// @flow\n\nimport { types as tt, TokenType } from \"../tokenizer/types\";\nimport type Parser from \"../parser\";\nimport type { ExpressionErrors } from \"../parser/util\";\nimport * as N from \"../types\";\nimport type { Position } from \"../util/location\";\nimport { type BindingTypes, BIND_NONE } from \"../util/scopeflags\";\nimport { Errors } from \"../parser/error\";\n\nfunction isSimpleProperty(node: N.Node): boolean {\n return (\n node != null &&\n node.type === \"Property\" &&\n node.kind === \"init\" &&\n node.method === false\n );\n}\n\nexport default (superClass: Class): Class =>\n class extends superClass {\n estreeParseRegExpLiteral({ pattern, flags }: N.RegExpLiteral): N.Node {\n let regex = null;\n try {\n regex = new RegExp(pattern, flags);\n } catch (e) {\n // In environments that don't support these flags value will\n // be null as the regex can't be represented natively.\n }\n const node = this.estreeParseLiteral(regex);\n node.regex = { pattern, flags };\n\n return node;\n }\n\n estreeParseBigIntLiteral(value: any): N.Node {\n // https://github.com/estree/estree/blob/master/es2020.md#bigintliteral\n // $FlowIgnore\n const bigInt = typeof BigInt !== \"undefined\" ? BigInt(value) : null;\n const node = this.estreeParseLiteral(bigInt);\n node.bigint = String(node.value || value);\n\n return node;\n }\n\n estreeParseDecimalLiteral(value: any): N.Node {\n // https://github.com/estree/estree/blob/master/experimental/decimal.md\n // todo: use BigDecimal when node supports it.\n const decimal = null;\n const node = this.estreeParseLiteral(decimal);\n node.decimal = String(node.value || value);\n\n return node;\n }\n\n estreeParseLiteral(value: any): N.Node {\n return this.parseLiteral(value, \"Literal\");\n }\n\n directiveToStmt(directive: N.Directive): N.ExpressionStatement {\n const directiveLiteral = directive.value;\n\n const stmt = this.startNodeAt(directive.start, directive.loc.start);\n const expression = this.startNodeAt(\n directiveLiteral.start,\n directiveLiteral.loc.start,\n );\n\n expression.value = directiveLiteral.value;\n expression.raw = directiveLiteral.extra.raw;\n\n stmt.expression = this.finishNodeAt(\n expression,\n \"Literal\",\n directiveLiteral.end,\n directiveLiteral.loc.end,\n );\n stmt.directive = directiveLiteral.extra.raw.slice(1, -1);\n\n return this.finishNodeAt(\n stmt,\n \"ExpressionStatement\",\n directive.end,\n directive.loc.end,\n );\n }\n\n // ==================================\n // Overrides\n // ==================================\n\n initFunction(\n node: N.BodilessFunctionOrMethodBase,\n isAsync: ?boolean,\n ): void {\n super.initFunction(node, isAsync);\n node.expression = false;\n }\n\n checkDeclaration(node: N.Pattern | N.ObjectProperty): void {\n if (isSimpleProperty(node)) {\n this.checkDeclaration(((node: any): N.EstreeProperty).value);\n } else {\n super.checkDeclaration(node);\n }\n }\n\n checkGetterSetterParams(method: N.ObjectMethod | N.ClassMethod): void {\n const prop = ((method: any): N.EstreeProperty | N.EstreeMethodDefinition);\n const paramCount = prop.kind === \"get\" ? 0 : 1;\n const start = prop.start;\n if (prop.value.params.length !== paramCount) {\n if (method.kind === \"get\") {\n this.raise(start, Errors.BadGetterArity);\n } else {\n this.raise(start, Errors.BadSetterArity);\n }\n } else if (\n prop.kind === \"set\" &&\n prop.value.params[0].type === \"RestElement\"\n ) {\n this.raise(start, Errors.BadSetterRestParameter);\n }\n }\n\n checkLVal(\n expr: N.Expression,\n bindingType: BindingTypes = BIND_NONE,\n checkClashes: ?{ [key: string]: boolean },\n contextDescription: string,\n disallowLetBinding?: boolean,\n ): void {\n switch (expr.type) {\n case \"ObjectPattern\":\n expr.properties.forEach(prop => {\n this.checkLVal(\n prop.type === \"Property\" ? prop.value : prop,\n bindingType,\n checkClashes,\n \"object destructuring pattern\",\n disallowLetBinding,\n );\n });\n break;\n default:\n super.checkLVal(\n expr,\n bindingType,\n checkClashes,\n contextDescription,\n disallowLetBinding,\n );\n }\n }\n\n checkProto(\n prop: N.ObjectMember | N.SpreadElement,\n isRecord: boolean,\n protoRef: { used: boolean },\n refExpressionErrors: ?ExpressionErrors,\n ): void {\n // $FlowIgnore: check prop.method and fallback to super method\n if (prop.method) {\n return;\n }\n super.checkProto(prop, isRecord, protoRef, refExpressionErrors);\n }\n\n isValidDirective(stmt: N.Statement): boolean {\n return (\n stmt.type === \"ExpressionStatement\" &&\n stmt.expression.type === \"Literal\" &&\n typeof stmt.expression.value === \"string\" &&\n !stmt.expression.extra?.parenthesized\n );\n }\n\n stmtToDirective(stmt: N.Statement): N.Directive {\n const directive = super.stmtToDirective(stmt);\n const value = stmt.expression.value;\n\n // Reset value to the actual value as in estree mode we want\n // the stmt to have the real value and not the raw value\n directive.value.value = value;\n\n return directive;\n }\n\n parseBlockBody(\n node: N.BlockStatementLike,\n allowDirectives: ?boolean,\n topLevel: boolean,\n end: TokenType,\n ): void {\n super.parseBlockBody(node, allowDirectives, topLevel, end);\n\n const directiveStatements = node.directives.map(d =>\n this.directiveToStmt(d),\n );\n node.body = directiveStatements.concat(node.body);\n // $FlowIgnore - directives isn't optional in the type definition\n delete node.directives;\n }\n\n pushClassMethod(\n classBody: N.ClassBody,\n method: N.ClassMethod,\n isGenerator: boolean,\n isAsync: boolean,\n isConstructor: boolean,\n allowsDirectSuper: boolean,\n ): void {\n this.parseMethod(\n method,\n isGenerator,\n isAsync,\n isConstructor,\n allowsDirectSuper,\n \"ClassMethod\",\n true,\n );\n if (method.typeParameters) {\n // $FlowIgnore\n method.value.typeParameters = method.typeParameters;\n delete method.typeParameters;\n }\n classBody.body.push(method);\n }\n\n parseExprAtom(refExpressionErrors?: ?ExpressionErrors): N.Expression {\n switch (this.state.type) {\n case tt.num:\n case tt.string:\n return this.estreeParseLiteral(this.state.value);\n\n case tt.regexp:\n return this.estreeParseRegExpLiteral(this.state.value);\n\n case tt.bigint:\n return this.estreeParseBigIntLiteral(this.state.value);\n\n case tt.decimal:\n return this.estreeParseDecimalLiteral(this.state.value);\n\n case tt._null:\n return this.estreeParseLiteral(null);\n\n case tt._true:\n return this.estreeParseLiteral(true);\n\n case tt._false:\n return this.estreeParseLiteral(false);\n\n default:\n return super.parseExprAtom(refExpressionErrors);\n }\n }\n\n parseLiteral(\n value: any,\n type: /*T[\"kind\"]*/ string,\n startPos?: number,\n startLoc?: Position,\n ): T {\n const node = super.parseLiteral(value, type, startPos, startLoc);\n node.raw = node.extra.raw;\n delete node.extra;\n\n return node;\n }\n\n parseFunctionBody(\n node: N.Function,\n allowExpression: ?boolean,\n isMethod?: boolean = false,\n ): void {\n super.parseFunctionBody(node, allowExpression, isMethod);\n node.expression = node.body.type !== \"BlockStatement\";\n }\n\n parseMethod(\n node: T,\n isGenerator: boolean,\n isAsync: boolean,\n isConstructor: boolean,\n allowDirectSuper: boolean,\n type: string,\n inClassScope: boolean = false,\n ): T {\n let funcNode = this.startNode();\n funcNode.kind = node.kind; // provide kind, so super method correctly sets state\n funcNode = super.parseMethod(\n funcNode,\n isGenerator,\n isAsync,\n isConstructor,\n allowDirectSuper,\n type,\n inClassScope,\n );\n funcNode.type = \"FunctionExpression\";\n delete funcNode.kind;\n // $FlowIgnore\n node.value = funcNode;\n\n type = type === \"ClassMethod\" ? \"MethodDefinition\" : type;\n return this.finishNode(node, type);\n }\n\n parseObjectMethod(\n prop: N.ObjectMethod,\n isGenerator: boolean,\n isAsync: boolean,\n isPattern: boolean,\n isAccessor: boolean,\n ): ?N.ObjectMethod {\n const node: N.EstreeProperty = (super.parseObjectMethod(\n prop,\n isGenerator,\n isAsync,\n isPattern,\n isAccessor,\n ): any);\n\n if (node) {\n node.type = \"Property\";\n if (((node: any): N.ClassMethod).kind === \"method\") node.kind = \"init\";\n node.shorthand = false;\n }\n\n return (node: any);\n }\n\n parseObjectProperty(\n prop: N.ObjectProperty,\n startPos: ?number,\n startLoc: ?Position,\n isPattern: boolean,\n refExpressionErrors: ?ExpressionErrors,\n ): ?N.ObjectProperty {\n const node: N.EstreeProperty = (super.parseObjectProperty(\n prop,\n startPos,\n startLoc,\n isPattern,\n refExpressionErrors,\n ): any);\n\n if (node) {\n node.kind = \"init\";\n node.type = \"Property\";\n }\n\n return (node: any);\n }\n\n toAssignable(node: N.Node): N.Node {\n if (isSimpleProperty(node)) {\n this.toAssignable(node.value);\n\n return node;\n }\n\n return super.toAssignable(node);\n }\n\n toAssignableObjectExpressionProp(prop: N.Node, isLast: boolean) {\n if (prop.kind === \"get\" || prop.kind === \"set\") {\n throw this.raise(prop.key.start, Errors.PatternHasAccessor);\n } else if (prop.method) {\n throw this.raise(prop.key.start, Errors.PatternHasMethod);\n } else {\n super.toAssignableObjectExpressionProp(prop, isLast);\n }\n }\n\n finishCallExpression(\n node: T,\n optional: boolean,\n ): N.Expression {\n super.finishCallExpression(node, optional);\n\n if (node.callee.type === \"Import\") {\n ((node: N.Node): N.EstreeImportExpression).type = \"ImportExpression\";\n ((node: N.Node): N.EstreeImportExpression).source = node.arguments[0];\n // $FlowIgnore - arguments isn't optional in the type definition\n delete node.arguments;\n // $FlowIgnore - callee isn't optional in the type definition\n delete node.callee;\n }\n\n return node;\n }\n\n toReferencedListDeep(\n exprList: $ReadOnlyArray,\n isParenthesizedExpr?: boolean,\n ): void {\n // ImportExpressions do not have an arguments array.\n if (!exprList) {\n return;\n }\n\n super.toReferencedListDeep(exprList, isParenthesizedExpr);\n }\n\n parseExport(node: N.Node) {\n super.parseExport(node);\n\n switch (node.type) {\n case \"ExportAllDeclaration\":\n node.exported = null;\n break;\n\n case \"ExportNamedDeclaration\":\n if (\n node.specifiers.length === 1 &&\n node.specifiers[0].type === \"ExportNamespaceSpecifier\"\n ) {\n node.type = \"ExportAllDeclaration\";\n node.exported = node.specifiers[0].exported;\n delete node.specifiers;\n }\n\n break;\n }\n\n return node;\n }\n\n parseSubscript(\n base: N.Expression,\n startPos: number,\n startLoc: Position,\n noCalls: ?boolean,\n state: N.ParseSubscriptState,\n ) {\n const node = super.parseSubscript(\n base,\n startPos,\n startLoc,\n noCalls,\n state,\n );\n\n if (state.optionalChainMember) {\n // https://github.com/estree/estree/blob/master/es2020.md#chainexpression\n if (\n node.type === \"OptionalMemberExpression\" ||\n node.type === \"OptionalCallExpression\"\n ) {\n node.type = node.type.substring(8); // strip Optional prefix\n }\n if (state.stop) {\n const chain = this.startNodeAtNode(node);\n chain.expression = node;\n return this.finishNode(chain, \"ChainExpression\");\n }\n } else if (\n node.type === \"MemberExpression\" ||\n node.type === \"CallExpression\"\n ) {\n node.optional = false;\n }\n\n return node;\n }\n };\n","// @flow\n\n// The algorithm used to determine whether a regexp can appear at a\n// given point in the program is loosely based on sweet.js' approach.\n// See https://github.com/mozilla/sweet.js/wiki/design\n\nimport { types as tt } from \"./types\";\n\nexport class TokContext {\n constructor(\n token: string,\n isExpr?: boolean,\n preserveSpace?: boolean,\n override?: ?Function, // Takes a Tokenizer as a this-parameter, and returns void.\n ) {\n this.token = token;\n this.isExpr = !!isExpr;\n this.preserveSpace = !!preserveSpace;\n this.override = override;\n }\n\n token: string;\n isExpr: boolean;\n preserveSpace: boolean;\n override: ?Function;\n}\n\nexport const types: {\n [key: string]: TokContext,\n} = {\n braceStatement: new TokContext(\"{\", false),\n braceExpression: new TokContext(\"{\", true),\n recordExpression: new TokContext(\"#{\", true),\n templateQuasi: new TokContext(\"${\", false),\n parenStatement: new TokContext(\"(\", false),\n parenExpression: new TokContext(\"(\", true),\n template: new TokContext(\"`\", true, true, p => p.readTmplToken()),\n functionExpression: new TokContext(\"function\", true),\n functionStatement: new TokContext(\"function\", false),\n};\n\n// Token-specific context update code\n\ntt.parenR.updateContext = tt.braceR.updateContext = function () {\n if (this.state.context.length === 1) {\n this.state.exprAllowed = true;\n return;\n }\n\n let out = this.state.context.pop();\n if (out === types.braceStatement && this.curContext().token === \"function\") {\n out = this.state.context.pop();\n }\n\n this.state.exprAllowed = !out.isExpr;\n};\n\ntt.name.updateContext = function (prevType) {\n let allowed = false;\n if (prevType !== tt.dot) {\n if (\n (this.state.value === \"of\" &&\n !this.state.exprAllowed &&\n prevType !== tt._function &&\n prevType !== tt._class) ||\n (this.state.value === \"yield\" && this.prodParam.hasYield)\n ) {\n allowed = true;\n }\n }\n this.state.exprAllowed = allowed;\n\n if (this.state.isIterator) {\n this.state.isIterator = false;\n }\n};\n\ntt.braceL.updateContext = function (prevType) {\n this.state.context.push(\n this.braceIsBlock(prevType) ? types.braceStatement : types.braceExpression,\n );\n this.state.exprAllowed = true;\n};\n\ntt.dollarBraceL.updateContext = function () {\n this.state.context.push(types.templateQuasi);\n this.state.exprAllowed = true;\n};\n\ntt.parenL.updateContext = function (prevType) {\n const statementParens =\n prevType === tt._if ||\n prevType === tt._for ||\n prevType === tt._with ||\n prevType === tt._while;\n this.state.context.push(\n statementParens ? types.parenStatement : types.parenExpression,\n );\n this.state.exprAllowed = true;\n};\n\ntt.incDec.updateContext = function () {\n // tokExprAllowed stays unchanged\n};\n\ntt._function.updateContext = tt._class.updateContext = function (prevType) {\n if (\n prevType.beforeExpr &&\n prevType !== tt.semi &&\n prevType !== tt._else &&\n !(prevType === tt._return && this.hasPrecedingLineBreak()) &&\n !(\n (prevType === tt.colon || prevType === tt.braceL) &&\n this.curContext() === types.b_stat\n )\n ) {\n this.state.context.push(types.functionExpression);\n } else {\n this.state.context.push(types.functionStatement);\n }\n\n this.state.exprAllowed = false;\n};\n\ntt.backQuote.updateContext = function () {\n if (this.curContext() === types.template) {\n this.state.context.pop();\n } else {\n this.state.context.push(types.template);\n }\n this.state.exprAllowed = false;\n};\n\n// we don't need to update context for tt.braceBarL because we do not pop context for tt.braceBarR\ntt.braceHashL.updateContext = function () {\n this.state.context.push(types.recordExpression);\n this.state.exprAllowed = true; /* tt.braceHashL.beforeExpr */\n};\n","// @flow\n\nimport * as charCodes from \"charcodes\";\n\n// ## Character categories\n\n// Big ugly regular expressions that match characters in the\n// whitespace, identifier, and identifier-start categories. These\n// are only applied when a character is found to actually have a\n// code point between 0x80 and 0xffff.\n// Generated by `scripts/generate-identifier-regex.js`.\n\n/* prettier-ignore */\nlet nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u037f\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u052f\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05d0-\\u05ea\\u05ef-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086a\\u08a0-\\u08b4\\u08b6-\\u08c7\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u09fc\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0af9\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c39\\u0c3d\\u0c58-\\u0c5a\\u0c60\\u0c61\\u0c80\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d04-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d54-\\u0d56\\u0d5f-\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e86-\\u0e8a\\u0e8c-\\u0ea3\\u0ea5\\u0ea7-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f5\\u13f8-\\u13fd\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f8\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1878\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191e\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1c80-\\u1c88\\u1c90-\\u1cba\\u1cbd-\\u1cbf\\u1ce9-\\u1cec\\u1cee-\\u1cf3\\u1cf5\\u1cf6\\u1cfa\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2118-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309b-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u31a0-\\u31bf\\u31f0-\\u31ff\\u3400-\\u4dbf\\u4e00-\\u9ffc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua69d\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua7bf\\ua7c2-\\ua7ca\\ua7f5-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua8fd\\ua8fe\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\ua9e0-\\ua9e4\\ua9e6-\\ua9ef\\ua9fa-\\ua9fe\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa7e-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uab30-\\uab5a\\uab5c-\\uab69\\uab70-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\";\n/* prettier-ignore */\nlet nonASCIIidentifierChars = \"\\u200c\\u200d\\xb7\\u0300-\\u036f\\u0387\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u07fd\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u08d3-\\u08e1\\u08e3-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u09fe\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0afa-\\u0aff\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b55-\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c00-\\u0c04\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c81-\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0d00-\\u0d03\\u0d3b\\u0d3c\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d81-\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0de6-\\u0def\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0ebc\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1369-\\u1371\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19d0-\\u19da\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1ab0-\\u1abd\\u1abf\\u1ac0\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf4\\u1cf7-\\u1cf9\\u1dc0-\\u1df9\\u1dfb-\\u1dff\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69e\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua82c\\ua880\\ua881\\ua8b4-\\ua8c5\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua8ff-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\ua9e5\\ua9f0-\\ua9f9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b-\\uaa7d\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe2f\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\";\n\nconst nonASCIIidentifierStart = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + \"]\",\n);\nconst nonASCIIidentifier = new RegExp(\n \"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\",\n);\n\nnonASCIIidentifierStartChars = nonASCIIidentifierChars = null;\n\n// These are a run-length and offset-encoded representation of the\n// >0xffff code points that are a valid part of identifiers. The\n// offset starts at 0x10000, and each pair of numbers represents an\n// offset to the next range, and then a size of the range. They were\n// generated by `scripts/generate-identifier-regex.js`.\n/* prettier-ignore */\n/* prettier-ignore */\nconst astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];\n/* prettier-ignore */\nconst astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];\n\n// This has a complexity linear to the value of the code. The\n// assumption is that looking up astral identifier characters is\n// rare.\nfunction isInAstralSet(code: number, set: $ReadOnlyArray): boolean {\n let pos = 0x10000;\n for (let i = 0, length = set.length; i < length; i += 2) {\n pos += set[i];\n if (pos > code) return false;\n\n pos += set[i + 1];\n if (pos >= code) return true;\n }\n return false;\n}\n\n// Test whether a given character code starts an identifier.\n\nexport function isIdentifierStart(code: number): boolean {\n if (code < charCodes.uppercaseA) return code === charCodes.dollarSign;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return (\n code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code))\n );\n }\n return isInAstralSet(code, astralIdentifierStartCodes);\n}\n\n// Test whether a given character is part of an identifier.\n\nexport function isIdentifierChar(code: number): boolean {\n if (code < charCodes.digit0) return code === charCodes.dollarSign;\n if (code < charCodes.colon) return true;\n if (code < charCodes.uppercaseA) return false;\n if (code <= charCodes.uppercaseZ) return true;\n if (code < charCodes.lowercaseA) return code === charCodes.underscore;\n if (code <= charCodes.lowercaseZ) return true;\n if (code <= 0xffff) {\n return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));\n }\n return (\n isInAstralSet(code, astralIdentifierStartCodes) ||\n isInAstralSet(code, astralIdentifierCodes)\n );\n}\n\n// Test whether a given string is a valid identifier name\n\nexport function isIdentifierName(name: string): boolean {\n let isFirst = true;\n for (const char of Array.from(name)) {\n const cp = char.codePointAt(0);\n if (isFirst) {\n if (!isIdentifierStart(cp)) {\n return false;\n }\n isFirst = false;\n } else if (!isIdentifierChar(cp)) {\n return false;\n }\n }\n return !isFirst;\n}\n","// @flow\n\nconst reservedWords = {\n keyword: [\n \"break\",\n \"case\",\n \"catch\",\n \"continue\",\n \"debugger\",\n \"default\",\n \"do\",\n \"else\",\n \"finally\",\n \"for\",\n \"function\",\n \"if\",\n \"return\",\n \"switch\",\n \"throw\",\n \"try\",\n \"var\",\n \"const\",\n \"while\",\n \"with\",\n \"new\",\n \"this\",\n \"super\",\n \"class\",\n \"extends\",\n \"export\",\n \"import\",\n \"null\",\n \"true\",\n \"false\",\n \"in\",\n \"instanceof\",\n \"typeof\",\n \"void\",\n \"delete\",\n ],\n strict: [\n \"implements\",\n \"interface\",\n \"let\",\n \"package\",\n \"private\",\n \"protected\",\n \"public\",\n \"static\",\n \"yield\",\n ],\n strictBind: [\"eval\", \"arguments\"],\n};\nconst keywords = new Set(reservedWords.keyword);\nconst reservedWordsStrictSet = new Set(reservedWords.strict);\nconst reservedWordsStrictBindSet = new Set(reservedWords.strictBind);\n\n/**\n * Checks if word is a reserved word in non-strict mode\n */\nexport function isReservedWord(word: string, inModule: boolean): boolean {\n return (inModule && word === \"await\") || word === \"enum\";\n}\n\n/**\n * Checks if word is a reserved word in non-binding strict mode\n *\n * Includes non-strict reserved words\n */\nexport function isStrictReservedWord(word: string, inModule: boolean): boolean {\n return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode, but it is allowed as\n * a normal identifier.\n */\nexport function isStrictBindOnlyReservedWord(word: string): boolean {\n return reservedWordsStrictBindSet.has(word);\n}\n\n/**\n * Checks if word is a reserved word in binding strict mode\n *\n * Includes non-strict reserved words and non-binding strict reserved words\n */\nexport function isStrictBindReservedWord(\n word: string,\n inModule: boolean,\n): boolean {\n return (\n isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word)\n );\n}\n\nexport function isKeyword(word: string): boolean {\n return keywords.has(word);\n}\n","/* eslint max-len: 0 */\n\n// @flow\n\nimport * as charCodes from \"charcodes\";\n\nexport {\n isIdentifierStart,\n isIdentifierChar,\n isReservedWord,\n isStrictBindOnlyReservedWord,\n isStrictBindReservedWord,\n isStrictReservedWord,\n isKeyword,\n} from \"@babel/helper-validator-identifier\";\n\nexport const keywordRelationalOperator = /^in(stanceof)?$/;\n\n// Test whether a current state character code and next character code is @\n\nexport function isIteratorStart(current: number, next: number): boolean {\n return current === charCodes.atSign && next === charCodes.atSign;\n}\n","// @flow\n\n/*:: declare var invariant; */\n\n// Error messages are colocated with the plugin.\n/* eslint-disable @babel/development-internal/dry-error-messages */\n\nimport type Parser from \"../parser\";\nimport { types as tt, type TokenType } from \"../tokenizer/types\";\nimport * as N from \"../types\";\nimport type { Options } from \"../options\";\nimport type { Pos, Position } from \"../util/location\";\nimport type State from \"../tokenizer/state\";\nimport { types as tc } from \"../tokenizer/context\";\nimport * as charCodes from \"charcodes\";\nimport { isIteratorStart } from \"../util/identifier\";\nimport {\n type BindingTypes,\n BIND_NONE,\n BIND_LEXICAL,\n BIND_VAR,\n BIND_FUNCTION,\n SCOPE_ARROW,\n SCOPE_FUNCTION,\n SCOPE_OTHER,\n} from \"../util/scopeflags\";\nimport type { ExpressionErrors } from \"../parser/util\";\nimport { Errors } from \"../parser/error\";\n\nconst reservedTypes = new Set([\n \"_\",\n \"any\",\n \"bool\",\n \"boolean\",\n \"empty\",\n \"extends\",\n \"false\",\n \"interface\",\n \"mixed\",\n \"null\",\n \"number\",\n \"static\",\n \"string\",\n \"true\",\n \"typeof\",\n \"void\",\n]);\n\n/* eslint sort-keys: \"error\" */\n// The Errors key follows https://github.com/facebook/flow/blob/master/src/parser/parse_error.ml unless it does not exist\nconst FlowErrors = Object.freeze({\n AmbiguousConditionalArrow:\n \"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.\",\n AmbiguousDeclareModuleKind:\n \"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module\",\n AssignReservedType: \"Cannot overwrite reserved type %0\",\n DeclareClassElement:\n \"The `declare` modifier can only appear on class fields.\",\n DeclareClassFieldInitializer:\n \"Initializers are not allowed in fields with the `declare` modifier.\",\n DuplicateDeclareModuleExports: \"Duplicate `declare module.exports` statement\",\n EnumBooleanMemberNotInitialized:\n \"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.\",\n EnumDuplicateMemberName:\n \"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.\",\n EnumInconsistentMemberValues:\n \"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.\",\n EnumInvalidExplicitType:\n \"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.\",\n EnumInvalidExplicitTypeUnknownSupplied:\n \"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.\",\n EnumInvalidMemberInitializerPrimaryType:\n \"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.\",\n EnumInvalidMemberInitializerSymbolType:\n \"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.\",\n EnumInvalidMemberInitializerUnknownType:\n \"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.\",\n EnumInvalidMemberName:\n \"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.\",\n EnumNumberMemberNotInitialized:\n \"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.\",\n EnumStringMemberInconsistentlyInitailized:\n \"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.\",\n ImportTypeShorthandOnlyInPureImport:\n \"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements\",\n InexactInsideExact:\n \"Explicit inexact syntax cannot appear inside an explicit exact object type\",\n InexactInsideNonObject:\n \"Explicit inexact syntax cannot appear in class or interface definitions\",\n InexactVariance: \"Explicit inexact syntax cannot have variance\",\n InvalidNonTypeImportInDeclareModule:\n \"Imports within a `declare module` body must always be `import type` or `import typeof`\",\n MissingTypeParamDefault:\n \"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.\",\n NestedDeclareModule:\n \"`declare module` cannot be used inside another `declare module`\",\n NestedFlowComment: \"Cannot have a flow comment inside another flow comment\",\n OptionalBindingPattern:\n \"A binding pattern parameter cannot be optional in an implementation signature.\",\n SpreadVariance: \"Spread properties cannot have variance\",\n TypeBeforeInitializer:\n \"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`\",\n TypeCastInPattern:\n \"The type cast expression is expected to be wrapped with parenthesis\",\n UnexpectedExplicitInexactInObject:\n \"Explicit inexact syntax must appear at the end of an inexact object\",\n UnexpectedReservedType: \"Unexpected reserved type %0\",\n UnexpectedReservedUnderscore:\n \"`_` is only allowed as a type argument to call or new\",\n UnexpectedSpaceBetweenModuloChecks:\n \"Spaces between `%` and `checks` are not allowed here.\",\n UnexpectedSpreadType:\n \"Spread operator cannot appear in class or interface definitions\",\n UnexpectedSubtractionOperand:\n 'Unexpected token, expected \"number\" or \"bigint\"',\n UnexpectedTokenAfterTypeParameter:\n \"Expected an arrow function after this type parameter declaration\",\n UnexpectedTypeParameterBeforeAsyncArrowFunction:\n \"Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`\",\n UnsupportedDeclareExportKind:\n \"`declare export %0` is not supported. Use `%1` instead\",\n UnsupportedStatementInDeclareModule:\n \"Only declares and type imports are allowed inside declare module\",\n UnterminatedFlowComment: \"Unterminated flow-comment\",\n});\n/* eslint-disable sort-keys */\n\nfunction isEsModuleType(bodyElement: N.Node): boolean {\n return (\n bodyElement.type === \"DeclareExportAllDeclaration\" ||\n (bodyElement.type === \"DeclareExportDeclaration\" &&\n (!bodyElement.declaration ||\n (bodyElement.declaration.type !== \"TypeAlias\" &&\n bodyElement.declaration.type !== \"InterfaceDeclaration\")))\n );\n}\n\nfunction hasTypeImportKind(node: N.Node): boolean {\n return node.importKind === \"type\" || node.importKind === \"typeof\";\n}\n\nfunction isMaybeDefaultImport(state: State): boolean {\n return (\n (state.type === tt.name || !!state.type.keyword) && state.value !== \"from\"\n );\n}\n\nconst exportSuggestions = {\n const: \"declare export var\",\n let: \"declare export var\",\n type: \"export type\",\n interface: \"export interface\",\n};\n\n// Like Array#filter, but returns a tuple [ acceptedElements, discardedElements ]\nfunction partition(\n list: T[],\n test: (T, number, T[]) => ?boolean,\n): [T[], T[]] {\n const list1 = [];\n const list2 = [];\n for (let i = 0; i < list.length; i++) {\n (test(list[i], i, list) ? list1 : list2).push(list[i]);\n }\n return [list1, list2];\n}\n\nconst FLOW_PRAGMA_REGEX = /\\*?\\s*@((?:no)?flow)\\b/;\n\n// Flow enums types\ntype EnumExplicitType = null | \"boolean\" | \"number\" | \"string\" | \"symbol\";\ntype EnumContext = {|\n enumName: string,\n explicitType: EnumExplicitType,\n memberName: string,\n|};\ntype EnumMemberInit =\n | {| type: \"number\", pos: number, value: N.Node |}\n | {| type: \"string\", pos: number, value: N.Node |}\n | {| type: \"boolean\", pos: number, value: N.Node |}\n | {| type: \"invalid\", pos: number |}\n | {| type: \"none\", pos: number |};\n\nexport default (superClass: Class): Class =>\n class extends superClass {\n // The value of the @flow/@noflow pragma. Initially undefined, transitions\n // to \"@flow\" or \"@noflow\" if we see a pragma. Transitions to null if we are\n // past the initial comment.\n flowPragma: void | null | \"flow\" | \"noflow\";\n\n constructor(options: ?Options, input: string) {\n super(options, input);\n this.flowPragma = undefined;\n }\n\n shouldParseTypes(): boolean {\n return this.getPluginOption(\"flow\", \"all\") || this.flowPragma === \"flow\";\n }\n\n shouldParseEnums(): boolean {\n return !!this.getPluginOption(\"flow\", \"enums\");\n }\n\n finishToken(type: TokenType, val: any): void {\n if (\n type !== tt.string &&\n type !== tt.semi &&\n type !== tt.interpreterDirective\n ) {\n if (this.flowPragma === undefined) {\n this.flowPragma = null;\n }\n }\n return super.finishToken(type, val);\n }\n\n addComment(comment: N.Comment): void {\n if (this.flowPragma === undefined) {\n // Try to parse a flow pragma.\n const matches = FLOW_PRAGMA_REGEX.exec(comment.value);\n if (!matches) {\n // do nothing\n } else if (matches[1] === \"flow\") {\n this.flowPragma = \"flow\";\n } else if (matches[1] === \"noflow\") {\n this.flowPragma = \"noflow\";\n } else {\n throw new Error(\"Unexpected flow pragma\");\n }\n }\n return super.addComment(comment);\n }\n\n flowParseTypeInitialiser(tok?: TokenType): N.FlowType {\n const oldInType = this.state.inType;\n this.state.inType = true;\n this.expect(tok || tt.colon);\n\n const type = this.flowParseType();\n this.state.inType = oldInType;\n return type;\n }\n\n flowParsePredicate(): N.FlowType {\n const node = this.startNode();\n const moduloLoc = this.state.startLoc;\n const moduloPos = this.state.start;\n this.expect(tt.modulo);\n const checksLoc = this.state.startLoc;\n this.expectContextual(\"checks\");\n // Force '%' and 'checks' to be adjacent\n if (\n moduloLoc.line !== checksLoc.line ||\n moduloLoc.column !== checksLoc.column - 1\n ) {\n this.raise(moduloPos, FlowErrors.UnexpectedSpaceBetweenModuloChecks);\n }\n if (this.eat(tt.parenL)) {\n node.value = this.parseExpression();\n this.expect(tt.parenR);\n return this.finishNode(node, \"DeclaredPredicate\");\n } else {\n return this.finishNode(node, \"InferredPredicate\");\n }\n }\n\n flowParseTypeAndPredicateInitialiser(): [?N.FlowType, ?N.FlowPredicate] {\n const oldInType = this.state.inType;\n this.state.inType = true;\n this.expect(tt.colon);\n let type = null;\n let predicate = null;\n if (this.match(tt.modulo)) {\n this.state.inType = oldInType;\n predicate = this.flowParsePredicate();\n } else {\n type = this.flowParseType();\n this.state.inType = oldInType;\n if (this.match(tt.modulo)) {\n predicate = this.flowParsePredicate();\n }\n }\n return [type, predicate];\n }\n\n flowParseDeclareClass(node: N.FlowDeclareClass): N.FlowDeclareClass {\n this.next();\n this.flowParseInterfaceish(node, /*isClass*/ true);\n return this.finishNode(node, \"DeclareClass\");\n }\n\n flowParseDeclareFunction(\n node: N.FlowDeclareFunction,\n ): N.FlowDeclareFunction {\n this.next();\n\n const id = (node.id = this.parseIdentifier());\n\n const typeNode = this.startNode();\n const typeContainer = this.startNode();\n\n if (this.isRelational(\"<\")) {\n typeNode.typeParameters = this.flowParseTypeParameterDeclaration();\n } else {\n typeNode.typeParameters = null;\n }\n\n this.expect(tt.parenL);\n const tmp = this.flowParseFunctionTypeParams();\n typeNode.params = tmp.params;\n typeNode.rest = tmp.rest;\n this.expect(tt.parenR);\n\n [\n // $FlowFixMe (destructuring not supported yet)\n typeNode.returnType,\n // $FlowFixMe (destructuring not supported yet)\n node.predicate,\n ] = this.flowParseTypeAndPredicateInitialiser();\n\n typeContainer.typeAnnotation = this.finishNode(\n typeNode,\n \"FunctionTypeAnnotation\",\n );\n\n id.typeAnnotation = this.finishNode(typeContainer, \"TypeAnnotation\");\n\n this.resetEndLocation(id);\n this.semicolon();\n\n return this.finishNode(node, \"DeclareFunction\");\n }\n\n flowParseDeclare(\n node: N.FlowDeclare,\n insideModule?: boolean,\n ): N.FlowDeclare {\n if (this.match(tt._class)) {\n return this.flowParseDeclareClass(node);\n } else if (this.match(tt._function)) {\n return this.flowParseDeclareFunction(node);\n } else if (this.match(tt._var)) {\n return this.flowParseDeclareVariable(node);\n } else if (this.eatContextual(\"module\")) {\n if (this.match(tt.dot)) {\n return this.flowParseDeclareModuleExports(node);\n } else {\n if (insideModule) {\n this.raise(this.state.lastTokStart, FlowErrors.NestedDeclareModule);\n }\n return this.flowParseDeclareModule(node);\n }\n } else if (this.isContextual(\"type\")) {\n return this.flowParseDeclareTypeAlias(node);\n } else if (this.isContextual(\"opaque\")) {\n return this.flowParseDeclareOpaqueType(node);\n } else if (this.isContextual(\"interface\")) {\n return this.flowParseDeclareInterface(node);\n } else if (this.match(tt._export)) {\n return this.flowParseDeclareExportDeclaration(node, insideModule);\n } else {\n throw this.unexpected();\n }\n }\n\n flowParseDeclareVariable(\n node: N.FlowDeclareVariable,\n ): N.FlowDeclareVariable {\n this.next();\n node.id = this.flowParseTypeAnnotatableIdentifier(\n /*allowPrimitiveOverride*/ true,\n );\n this.scope.declareName(node.id.name, BIND_VAR, node.id.start);\n this.semicolon();\n return this.finishNode(node, \"DeclareVariable\");\n }\n\n flowParseDeclareModule(node: N.FlowDeclareModule): N.FlowDeclareModule {\n this.scope.enter(SCOPE_OTHER);\n\n if (this.match(tt.string)) {\n node.id = this.parseExprAtom();\n } else {\n node.id = this.parseIdentifier();\n }\n\n const bodyNode = (node.body = this.startNode());\n const body = (bodyNode.body = []);\n this.expect(tt.braceL);\n while (!this.match(tt.braceR)) {\n let bodyNode = this.startNode();\n\n if (this.match(tt._import)) {\n this.next();\n if (!this.isContextual(\"type\") && !this.match(tt._typeof)) {\n this.raise(\n this.state.lastTokStart,\n FlowErrors.InvalidNonTypeImportInDeclareModule,\n );\n }\n this.parseImport(bodyNode);\n } else {\n this.expectContextual(\n \"declare\",\n FlowErrors.UnsupportedStatementInDeclareModule,\n );\n\n bodyNode = this.flowParseDeclare(bodyNode, true);\n }\n\n body.push(bodyNode);\n }\n\n this.scope.exit();\n\n this.expect(tt.braceR);\n\n this.finishNode(bodyNode, \"BlockStatement\");\n\n let kind = null;\n let hasModuleExport = false;\n body.forEach(bodyElement => {\n if (isEsModuleType(bodyElement)) {\n if (kind === \"CommonJS\") {\n this.raise(\n bodyElement.start,\n FlowErrors.AmbiguousDeclareModuleKind,\n );\n }\n kind = \"ES\";\n } else if (bodyElement.type === \"DeclareModuleExports\") {\n if (hasModuleExport) {\n this.raise(\n bodyElement.start,\n FlowErrors.DuplicateDeclareModuleExports,\n );\n }\n if (kind === \"ES\") {\n this.raise(\n bodyElement.start,\n FlowErrors.AmbiguousDeclareModuleKind,\n );\n }\n kind = \"CommonJS\";\n hasModuleExport = true;\n }\n });\n\n node.kind = kind || \"CommonJS\";\n return this.finishNode(node, \"DeclareModule\");\n }\n\n flowParseDeclareExportDeclaration(\n node: N.FlowDeclareExportDeclaration,\n insideModule: ?boolean,\n ): N.FlowDeclareExportDeclaration {\n this.expect(tt._export);\n\n if (this.eat(tt._default)) {\n if (this.match(tt._function) || this.match(tt._class)) {\n // declare export default class ...\n // declare export default function ...\n node.declaration = this.flowParseDeclare(this.startNode());\n } else {\n // declare export default [type];\n node.declaration = this.flowParseType();\n this.semicolon();\n }\n node.default = true;\n\n return this.finishNode(node, \"DeclareExportDeclaration\");\n } else {\n if (\n this.match(tt._const) ||\n this.isLet() ||\n ((this.isContextual(\"type\") || this.isContextual(\"interface\")) &&\n !insideModule)\n ) {\n const label = this.state.value;\n const suggestion = exportSuggestions[label];\n\n throw this.raise(\n this.state.start,\n FlowErrors.UnsupportedDeclareExportKind,\n label,\n suggestion,\n );\n }\n\n if (\n this.match(tt._var) || // declare export var ...\n this.match(tt._function) || // declare export function ...\n this.match(tt._class) || // declare export class ...\n this.isContextual(\"opaque\") // declare export opaque ..\n ) {\n node.declaration = this.flowParseDeclare(this.startNode());\n node.default = false;\n\n return this.finishNode(node, \"DeclareExportDeclaration\");\n } else if (\n this.match(tt.star) || // declare export * from ''\n this.match(tt.braceL) || // declare export {} ...\n this.isContextual(\"interface\") || // declare export interface ...\n this.isContextual(\"type\") || // declare export type ...\n this.isContextual(\"opaque\") // declare export opaque type ...\n ) {\n node = this.parseExport(node);\n if (node.type === \"ExportNamedDeclaration\") {\n // flow does not support the ExportNamedDeclaration\n // $FlowIgnore\n node.type = \"ExportDeclaration\";\n // $FlowFixMe\n node.default = false;\n delete node.exportKind;\n }\n\n // $FlowIgnore\n node.type = \"Declare\" + node.type;\n\n return node;\n }\n }\n\n throw this.unexpected();\n }\n\n flowParseDeclareModuleExports(\n node: N.FlowDeclareModuleExports,\n ): N.FlowDeclareModuleExports {\n this.next();\n this.expectContextual(\"exports\");\n node.typeAnnotation = this.flowParseTypeAnnotation();\n this.semicolon();\n\n return this.finishNode(node, \"DeclareModuleExports\");\n }\n\n flowParseDeclareTypeAlias(\n node: N.FlowDeclareTypeAlias,\n ): N.FlowDeclareTypeAlias {\n this.next();\n this.flowParseTypeAlias(node);\n // Don't do finishNode as we don't want to process comments twice\n node.type = \"DeclareTypeAlias\";\n return node;\n }\n\n flowParseDeclareOpaqueType(\n node: N.FlowDeclareOpaqueType,\n ): N.FlowDeclareOpaqueType {\n this.next();\n this.flowParseOpaqueType(node, true);\n // Don't do finishNode as we don't want to process comments twice\n node.type = \"DeclareOpaqueType\";\n return node;\n }\n\n flowParseDeclareInterface(\n node: N.FlowDeclareInterface,\n ): N.FlowDeclareInterface {\n this.next();\n this.flowParseInterfaceish(node);\n return this.finishNode(node, \"DeclareInterface\");\n }\n\n // Interfaces\n\n flowParseInterfaceish(\n node: N.FlowDeclare,\n isClass?: boolean = false,\n ): void {\n node.id = this.flowParseRestrictedIdentifier(\n /* liberal */ !isClass,\n /* declaration */ true,\n );\n\n this.scope.declareName(\n node.id.name,\n isClass ? BIND_FUNCTION : BIND_LEXICAL,\n node.id.start,\n );\n\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.flowParseTypeParameterDeclaration();\n } else {\n node.typeParameters = null;\n }\n\n node.extends = [];\n node.implements = [];\n node.mixins = [];\n\n if (this.eat(tt._extends)) {\n do {\n node.extends.push(this.flowParseInterfaceExtends());\n } while (!isClass && this.eat(tt.comma));\n }\n\n if (this.isContextual(\"mixins\")) {\n this.next();\n do {\n node.mixins.push(this.flowParseInterfaceExtends());\n } while (this.eat(tt.comma));\n }\n\n if (this.isContextual(\"implements\")) {\n this.next();\n do {\n node.implements.push(this.flowParseInterfaceExtends());\n } while (this.eat(tt.comma));\n }\n\n node.body = this.flowParseObjectType({\n allowStatic: isClass,\n allowExact: false,\n allowSpread: false,\n allowProto: isClass,\n allowInexact: false,\n });\n }\n\n flowParseInterfaceExtends(): N.FlowInterfaceExtends {\n const node = this.startNode();\n\n node.id = this.flowParseQualifiedTypeIdentifier();\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.flowParseTypeParameterInstantiation();\n } else {\n node.typeParameters = null;\n }\n\n return this.finishNode(node, \"InterfaceExtends\");\n }\n\n flowParseInterface(node: N.FlowInterface): N.FlowInterface {\n this.flowParseInterfaceish(node);\n return this.finishNode(node, \"InterfaceDeclaration\");\n }\n\n checkNotUnderscore(word: string) {\n if (word === \"_\") {\n this.raise(this.state.start, FlowErrors.UnexpectedReservedUnderscore);\n }\n }\n\n checkReservedType(word: string, startLoc: number, declaration?: boolean) {\n if (!reservedTypes.has(word)) return;\n\n this.raise(\n startLoc,\n declaration\n ? FlowErrors.AssignReservedType\n : FlowErrors.UnexpectedReservedType,\n word,\n );\n }\n\n flowParseRestrictedIdentifier(\n liberal?: boolean,\n declaration?: boolean,\n ): N.Identifier {\n this.checkReservedType(this.state.value, this.state.start, declaration);\n return this.parseIdentifier(liberal);\n }\n\n // Type aliases\n\n flowParseTypeAlias(node: N.FlowTypeAlias): N.FlowTypeAlias {\n node.id = this.flowParseRestrictedIdentifier(\n /* liberal */ false,\n /* declaration */ true,\n );\n this.scope.declareName(node.id.name, BIND_LEXICAL, node.id.start);\n\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.flowParseTypeParameterDeclaration();\n } else {\n node.typeParameters = null;\n }\n\n node.right = this.flowParseTypeInitialiser(tt.eq);\n this.semicolon();\n\n return this.finishNode(node, \"TypeAlias\");\n }\n\n flowParseOpaqueType(\n node: N.FlowOpaqueType,\n declare: boolean,\n ): N.FlowOpaqueType {\n this.expectContextual(\"type\");\n node.id = this.flowParseRestrictedIdentifier(\n /* liberal */ true,\n /* declaration */ true,\n );\n this.scope.declareName(node.id.name, BIND_LEXICAL, node.id.start);\n\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.flowParseTypeParameterDeclaration();\n } else {\n node.typeParameters = null;\n }\n\n // Parse the supertype\n node.supertype = null;\n if (this.match(tt.colon)) {\n node.supertype = this.flowParseTypeInitialiser(tt.colon);\n }\n\n node.impltype = null;\n if (!declare) {\n node.impltype = this.flowParseTypeInitialiser(tt.eq);\n }\n this.semicolon();\n\n return this.finishNode(node, \"OpaqueType\");\n }\n\n // Type annotations\n\n flowParseTypeParameter(requireDefault?: boolean = false): N.TypeParameter {\n const nodeStart = this.state.start;\n\n const node = this.startNode();\n\n const variance = this.flowParseVariance();\n\n const ident = this.flowParseTypeAnnotatableIdentifier();\n node.name = ident.name;\n node.variance = variance;\n node.bound = ident.typeAnnotation;\n\n if (this.match(tt.eq)) {\n this.eat(tt.eq);\n node.default = this.flowParseType();\n } else {\n if (requireDefault) {\n this.raise(nodeStart, FlowErrors.MissingTypeParamDefault);\n }\n }\n\n return this.finishNode(node, \"TypeParameter\");\n }\n\n flowParseTypeParameterDeclaration(): N.TypeParameterDeclaration {\n const oldInType = this.state.inType;\n const node = this.startNode();\n node.params = [];\n\n this.state.inType = true;\n\n // istanbul ignore else: this condition is already checked at all call sites\n if (this.isRelational(\"<\") || this.match(tt.jsxTagStart)) {\n this.next();\n } else {\n this.unexpected();\n }\n\n let defaultRequired = false;\n\n do {\n const typeParameter = this.flowParseTypeParameter(defaultRequired);\n\n node.params.push(typeParameter);\n\n if (typeParameter.default) {\n defaultRequired = true;\n }\n\n if (!this.isRelational(\">\")) {\n this.expect(tt.comma);\n }\n } while (!this.isRelational(\">\"));\n this.expectRelational(\">\");\n\n this.state.inType = oldInType;\n\n return this.finishNode(node, \"TypeParameterDeclaration\");\n }\n\n flowParseTypeParameterInstantiation(): N.TypeParameterInstantiation {\n const node = this.startNode();\n const oldInType = this.state.inType;\n node.params = [];\n\n this.state.inType = true;\n\n this.expectRelational(\"<\");\n const oldNoAnonFunctionType = this.state.noAnonFunctionType;\n this.state.noAnonFunctionType = false;\n while (!this.isRelational(\">\")) {\n node.params.push(this.flowParseType());\n if (!this.isRelational(\">\")) {\n this.expect(tt.comma);\n }\n }\n this.state.noAnonFunctionType = oldNoAnonFunctionType;\n this.expectRelational(\">\");\n\n this.state.inType = oldInType;\n\n return this.finishNode(node, \"TypeParameterInstantiation\");\n }\n\n flowParseTypeParameterInstantiationCallOrNew(): N.TypeParameterInstantiation {\n const node = this.startNode();\n const oldInType = this.state.inType;\n node.params = [];\n\n this.state.inType = true;\n\n this.expectRelational(\"<\");\n while (!this.isRelational(\">\")) {\n node.params.push(this.flowParseTypeOrImplicitInstantiation());\n if (!this.isRelational(\">\")) {\n this.expect(tt.comma);\n }\n }\n this.expectRelational(\">\");\n\n this.state.inType = oldInType;\n\n return this.finishNode(node, \"TypeParameterInstantiation\");\n }\n\n flowParseInterfaceType(): N.FlowInterfaceType {\n const node = this.startNode();\n this.expectContextual(\"interface\");\n\n node.extends = [];\n if (this.eat(tt._extends)) {\n do {\n node.extends.push(this.flowParseInterfaceExtends());\n } while (this.eat(tt.comma));\n }\n\n node.body = this.flowParseObjectType({\n allowStatic: false,\n allowExact: false,\n allowSpread: false,\n allowProto: false,\n allowInexact: false,\n });\n\n return this.finishNode(node, \"InterfaceTypeAnnotation\");\n }\n\n flowParseObjectPropertyKey(): N.Expression {\n return this.match(tt.num) || this.match(tt.string)\n ? this.parseExprAtom()\n : this.parseIdentifier(true);\n }\n\n flowParseObjectTypeIndexer(\n node: N.FlowObjectTypeIndexer,\n isStatic: boolean,\n variance: ?N.FlowVariance,\n ): N.FlowObjectTypeIndexer {\n node.static = isStatic;\n\n // Note: bracketL has already been consumed\n if (this.lookahead().type === tt.colon) {\n node.id = this.flowParseObjectPropertyKey();\n node.key = this.flowParseTypeInitialiser();\n } else {\n node.id = null;\n node.key = this.flowParseType();\n }\n this.expect(tt.bracketR);\n node.value = this.flowParseTypeInitialiser();\n node.variance = variance;\n\n return this.finishNode(node, \"ObjectTypeIndexer\");\n }\n\n flowParseObjectTypeInternalSlot(\n node: N.FlowObjectTypeInternalSlot,\n isStatic: boolean,\n ): N.FlowObjectTypeInternalSlot {\n node.static = isStatic;\n // Note: both bracketL have already been consumed\n node.id = this.flowParseObjectPropertyKey();\n this.expect(tt.bracketR);\n this.expect(tt.bracketR);\n if (this.isRelational(\"<\") || this.match(tt.parenL)) {\n node.method = true;\n node.optional = false;\n node.value = this.flowParseObjectTypeMethodish(\n this.startNodeAt(node.start, node.loc.start),\n );\n } else {\n node.method = false;\n if (this.eat(tt.question)) {\n node.optional = true;\n }\n node.value = this.flowParseTypeInitialiser();\n }\n return this.finishNode(node, \"ObjectTypeInternalSlot\");\n }\n\n flowParseObjectTypeMethodish(\n node: N.FlowFunctionTypeAnnotation,\n ): N.FlowFunctionTypeAnnotation {\n node.params = [];\n node.rest = null;\n node.typeParameters = null;\n\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.flowParseTypeParameterDeclaration();\n }\n\n this.expect(tt.parenL);\n while (!this.match(tt.parenR) && !this.match(tt.ellipsis)) {\n node.params.push(this.flowParseFunctionTypeParam());\n if (!this.match(tt.parenR)) {\n this.expect(tt.comma);\n }\n }\n\n if (this.eat(tt.ellipsis)) {\n node.rest = this.flowParseFunctionTypeParam();\n }\n this.expect(tt.parenR);\n node.returnType = this.flowParseTypeInitialiser();\n\n return this.finishNode(node, \"FunctionTypeAnnotation\");\n }\n\n flowParseObjectTypeCallProperty(\n node: N.FlowObjectTypeCallProperty,\n isStatic: boolean,\n ): N.FlowObjectTypeCallProperty {\n const valueNode = this.startNode();\n node.static = isStatic;\n node.value = this.flowParseObjectTypeMethodish(valueNode);\n return this.finishNode(node, \"ObjectTypeCallProperty\");\n }\n\n flowParseObjectType({\n allowStatic,\n allowExact,\n allowSpread,\n allowProto,\n allowInexact,\n }: {\n allowStatic: boolean,\n allowExact: boolean,\n allowSpread: boolean,\n allowProto: boolean,\n allowInexact: boolean,\n }): N.FlowObjectTypeAnnotation {\n const oldInType = this.state.inType;\n this.state.inType = true;\n\n const nodeStart = this.startNode();\n\n nodeStart.callProperties = [];\n nodeStart.properties = [];\n nodeStart.indexers = [];\n nodeStart.internalSlots = [];\n\n let endDelim;\n let exact;\n let inexact = false;\n if (allowExact && this.match(tt.braceBarL)) {\n this.expect(tt.braceBarL);\n endDelim = tt.braceBarR;\n exact = true;\n } else {\n this.expect(tt.braceL);\n endDelim = tt.braceR;\n exact = false;\n }\n\n nodeStart.exact = exact;\n\n while (!this.match(endDelim)) {\n let isStatic = false;\n let protoStart: ?number = null;\n let inexactStart: ?number = null;\n const node = this.startNode();\n\n if (allowProto && this.isContextual(\"proto\")) {\n const lookahead = this.lookahead();\n\n if (lookahead.type !== tt.colon && lookahead.type !== tt.question) {\n this.next();\n protoStart = this.state.start;\n allowStatic = false;\n }\n }\n\n if (allowStatic && this.isContextual(\"static\")) {\n const lookahead = this.lookahead();\n\n // static is a valid identifier name\n if (lookahead.type !== tt.colon && lookahead.type !== tt.question) {\n this.next();\n isStatic = true;\n }\n }\n\n const variance = this.flowParseVariance();\n\n if (this.eat(tt.bracketL)) {\n if (protoStart != null) {\n this.unexpected(protoStart);\n }\n if (this.eat(tt.bracketL)) {\n if (variance) {\n this.unexpected(variance.start);\n }\n nodeStart.internalSlots.push(\n this.flowParseObjectTypeInternalSlot(node, isStatic),\n );\n } else {\n nodeStart.indexers.push(\n this.flowParseObjectTypeIndexer(node, isStatic, variance),\n );\n }\n } else if (this.match(tt.parenL) || this.isRelational(\"<\")) {\n if (protoStart != null) {\n this.unexpected(protoStart);\n }\n if (variance) {\n this.unexpected(variance.start);\n }\n nodeStart.callProperties.push(\n this.flowParseObjectTypeCallProperty(node, isStatic),\n );\n } else {\n let kind = \"init\";\n\n if (this.isContextual(\"get\") || this.isContextual(\"set\")) {\n const lookahead = this.lookahead();\n if (\n lookahead.type === tt.name ||\n lookahead.type === tt.string ||\n lookahead.type === tt.num\n ) {\n kind = this.state.value;\n this.next();\n }\n }\n\n const propOrInexact = this.flowParseObjectTypeProperty(\n node,\n isStatic,\n protoStart,\n variance,\n kind,\n allowSpread,\n allowInexact ?? !exact,\n );\n\n if (propOrInexact === null) {\n inexact = true;\n inexactStart = this.state.lastTokStart;\n } else {\n nodeStart.properties.push(propOrInexact);\n }\n }\n\n this.flowObjectTypeSemicolon();\n\n if (\n inexactStart &&\n !this.match(tt.braceR) &&\n !this.match(tt.braceBarR)\n ) {\n this.raise(\n inexactStart,\n FlowErrors.UnexpectedExplicitInexactInObject,\n );\n }\n }\n\n this.expect(endDelim);\n\n /* The inexact flag should only be added on ObjectTypeAnnotations that\n * are not the body of an interface, declare interface, or declare class.\n * Since spreads are only allowed in object types, checking that is\n * sufficient here.\n */\n if (allowSpread) {\n nodeStart.inexact = inexact;\n }\n\n const out = this.finishNode(nodeStart, \"ObjectTypeAnnotation\");\n\n this.state.inType = oldInType;\n\n return out;\n }\n\n flowParseObjectTypeProperty(\n node: N.FlowObjectTypeProperty | N.FlowObjectTypeSpreadProperty,\n isStatic: boolean,\n protoStart: ?number,\n variance: ?N.FlowVariance,\n kind: string,\n allowSpread: boolean,\n allowInexact: boolean,\n ): (N.FlowObjectTypeProperty | N.FlowObjectTypeSpreadProperty) | null {\n if (this.eat(tt.ellipsis)) {\n const isInexactToken =\n this.match(tt.comma) ||\n this.match(tt.semi) ||\n this.match(tt.braceR) ||\n this.match(tt.braceBarR);\n\n if (isInexactToken) {\n if (!allowSpread) {\n this.raise(\n this.state.lastTokStart,\n FlowErrors.InexactInsideNonObject,\n );\n } else if (!allowInexact) {\n this.raise(this.state.lastTokStart, FlowErrors.InexactInsideExact);\n }\n if (variance) {\n this.raise(variance.start, FlowErrors.InexactVariance);\n }\n\n return null;\n }\n\n if (!allowSpread) {\n this.raise(this.state.lastTokStart, FlowErrors.UnexpectedSpreadType);\n }\n if (protoStart != null) {\n this.unexpected(protoStart);\n }\n if (variance) {\n this.raise(variance.start, FlowErrors.SpreadVariance);\n }\n\n node.argument = this.flowParseType();\n return this.finishNode(node, \"ObjectTypeSpreadProperty\");\n } else {\n node.key = this.flowParseObjectPropertyKey();\n node.static = isStatic;\n node.proto = protoStart != null;\n node.kind = kind;\n\n let optional = false;\n if (this.isRelational(\"<\") || this.match(tt.parenL)) {\n // This is a method property\n node.method = true;\n\n if (protoStart != null) {\n this.unexpected(protoStart);\n }\n if (variance) {\n this.unexpected(variance.start);\n }\n\n node.value = this.flowParseObjectTypeMethodish(\n this.startNodeAt(node.start, node.loc.start),\n );\n if (kind === \"get\" || kind === \"set\") {\n this.flowCheckGetterSetterParams(node);\n }\n } else {\n if (kind !== \"init\") this.unexpected();\n\n node.method = false;\n\n if (this.eat(tt.question)) {\n optional = true;\n }\n node.value = this.flowParseTypeInitialiser();\n node.variance = variance;\n }\n\n node.optional = optional;\n\n return this.finishNode(node, \"ObjectTypeProperty\");\n }\n }\n\n // This is similar to checkGetterSetterParams, but as\n // @babel/parser uses non estree properties we cannot reuse it here\n flowCheckGetterSetterParams(\n property: N.FlowObjectTypeProperty | N.FlowObjectTypeSpreadProperty,\n ): void {\n const paramCount = property.kind === \"get\" ? 0 : 1;\n const start = property.start;\n const length =\n property.value.params.length + (property.value.rest ? 1 : 0);\n if (length !== paramCount) {\n if (property.kind === \"get\") {\n this.raise(start, Errors.BadGetterArity);\n } else {\n this.raise(start, Errors.BadSetterArity);\n }\n }\n\n if (property.kind === \"set\" && property.value.rest) {\n this.raise(start, Errors.BadSetterRestParameter);\n }\n }\n\n flowObjectTypeSemicolon(): void {\n if (\n !this.eat(tt.semi) &&\n !this.eat(tt.comma) &&\n !this.match(tt.braceR) &&\n !this.match(tt.braceBarR)\n ) {\n this.unexpected();\n }\n }\n\n flowParseQualifiedTypeIdentifier(\n startPos?: number,\n startLoc?: Position,\n id?: N.Identifier,\n ): N.FlowQualifiedTypeIdentifier {\n startPos = startPos || this.state.start;\n startLoc = startLoc || this.state.startLoc;\n let node = id || this.flowParseRestrictedIdentifier(true);\n\n while (this.eat(tt.dot)) {\n const node2 = this.startNodeAt(startPos, startLoc);\n node2.qualification = node;\n node2.id = this.flowParseRestrictedIdentifier(true);\n node = this.finishNode(node2, \"QualifiedTypeIdentifier\");\n }\n\n return node;\n }\n\n flowParseGenericType(\n startPos: number,\n startLoc: Position,\n id: N.Identifier,\n ): N.FlowGenericTypeAnnotation {\n const node = this.startNodeAt(startPos, startLoc);\n\n node.typeParameters = null;\n node.id = this.flowParseQualifiedTypeIdentifier(startPos, startLoc, id);\n\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.flowParseTypeParameterInstantiation();\n }\n\n return this.finishNode(node, \"GenericTypeAnnotation\");\n }\n\n flowParseTypeofType(): N.FlowTypeofTypeAnnotation {\n const node = this.startNode();\n this.expect(tt._typeof);\n node.argument = this.flowParsePrimaryType();\n return this.finishNode(node, \"TypeofTypeAnnotation\");\n }\n\n flowParseTupleType(): N.FlowTupleTypeAnnotation {\n const node = this.startNode();\n node.types = [];\n this.expect(tt.bracketL);\n // We allow trailing commas\n while (this.state.pos < this.length && !this.match(tt.bracketR)) {\n node.types.push(this.flowParseType());\n if (this.match(tt.bracketR)) break;\n this.expect(tt.comma);\n }\n this.expect(tt.bracketR);\n return this.finishNode(node, \"TupleTypeAnnotation\");\n }\n\n flowParseFunctionTypeParam(): N.FlowFunctionTypeParam {\n let name = null;\n let optional = false;\n let typeAnnotation = null;\n const node = this.startNode();\n const lh = this.lookahead();\n if (lh.type === tt.colon || lh.type === tt.question) {\n name = this.parseIdentifier();\n if (this.eat(tt.question)) {\n optional = true;\n }\n typeAnnotation = this.flowParseTypeInitialiser();\n } else {\n typeAnnotation = this.flowParseType();\n }\n node.name = name;\n node.optional = optional;\n node.typeAnnotation = typeAnnotation;\n return this.finishNode(node, \"FunctionTypeParam\");\n }\n\n reinterpretTypeAsFunctionTypeParam(\n type: N.FlowType,\n ): N.FlowFunctionTypeParam {\n const node = this.startNodeAt(type.start, type.loc.start);\n node.name = null;\n node.optional = false;\n node.typeAnnotation = type;\n return this.finishNode(node, \"FunctionTypeParam\");\n }\n\n flowParseFunctionTypeParams(\n params: N.FlowFunctionTypeParam[] = [],\n ): { params: N.FlowFunctionTypeParam[], rest: ?N.FlowFunctionTypeParam } {\n let rest: ?N.FlowFunctionTypeParam = null;\n while (!this.match(tt.parenR) && !this.match(tt.ellipsis)) {\n params.push(this.flowParseFunctionTypeParam());\n if (!this.match(tt.parenR)) {\n this.expect(tt.comma);\n }\n }\n if (this.eat(tt.ellipsis)) {\n rest = this.flowParseFunctionTypeParam();\n }\n return { params, rest };\n }\n\n flowIdentToTypeAnnotation(\n startPos: number,\n startLoc: Position,\n node: N.FlowTypeAnnotation,\n id: N.Identifier,\n ): N.FlowTypeAnnotation {\n switch (id.name) {\n case \"any\":\n return this.finishNode(node, \"AnyTypeAnnotation\");\n\n case \"bool\":\n case \"boolean\":\n return this.finishNode(node, \"BooleanTypeAnnotation\");\n\n case \"mixed\":\n return this.finishNode(node, \"MixedTypeAnnotation\");\n\n case \"empty\":\n return this.finishNode(node, \"EmptyTypeAnnotation\");\n\n case \"number\":\n return this.finishNode(node, \"NumberTypeAnnotation\");\n\n case \"string\":\n return this.finishNode(node, \"StringTypeAnnotation\");\n\n case \"symbol\":\n return this.finishNode(node, \"SymbolTypeAnnotation\");\n\n default:\n this.checkNotUnderscore(id.name);\n return this.flowParseGenericType(startPos, startLoc, id);\n }\n }\n\n // The parsing of types roughly parallels the parsing of expressions, and\n // primary types are kind of like primary expressions...they're the\n // primitives with which other types are constructed.\n flowParsePrimaryType(): N.FlowTypeAnnotation {\n const startPos = this.state.start;\n const startLoc = this.state.startLoc;\n const node = this.startNode();\n let tmp;\n let type;\n let isGroupedType = false;\n const oldNoAnonFunctionType = this.state.noAnonFunctionType;\n\n switch (this.state.type) {\n case tt.name:\n if (this.isContextual(\"interface\")) {\n return this.flowParseInterfaceType();\n }\n\n return this.flowIdentToTypeAnnotation(\n startPos,\n startLoc,\n node,\n this.parseIdentifier(),\n );\n\n case tt.braceL:\n return this.flowParseObjectType({\n allowStatic: false,\n allowExact: false,\n allowSpread: true,\n allowProto: false,\n allowInexact: true,\n });\n\n case tt.braceBarL:\n return this.flowParseObjectType({\n allowStatic: false,\n allowExact: true,\n allowSpread: true,\n allowProto: false,\n allowInexact: false,\n });\n\n case tt.bracketL:\n this.state.noAnonFunctionType = false;\n type = this.flowParseTupleType();\n this.state.noAnonFunctionType = oldNoAnonFunctionType;\n return type;\n\n case tt.relational:\n if (this.state.value === \"<\") {\n node.typeParameters = this.flowParseTypeParameterDeclaration();\n this.expect(tt.parenL);\n tmp = this.flowParseFunctionTypeParams();\n node.params = tmp.params;\n node.rest = tmp.rest;\n this.expect(tt.parenR);\n\n this.expect(tt.arrow);\n\n node.returnType = this.flowParseType();\n\n return this.finishNode(node, \"FunctionTypeAnnotation\");\n }\n break;\n\n case tt.parenL:\n this.next();\n\n // Check to see if this is actually a grouped type\n if (!this.match(tt.parenR) && !this.match(tt.ellipsis)) {\n if (this.match(tt.name)) {\n const token = this.lookahead().type;\n isGroupedType = token !== tt.question && token !== tt.colon;\n } else {\n isGroupedType = true;\n }\n }\n\n if (isGroupedType) {\n this.state.noAnonFunctionType = false;\n type = this.flowParseType();\n this.state.noAnonFunctionType = oldNoAnonFunctionType;\n\n // A `,` or a `) =>` means this is an anonymous function type\n if (\n this.state.noAnonFunctionType ||\n !(\n this.match(tt.comma) ||\n (this.match(tt.parenR) && this.lookahead().type === tt.arrow)\n )\n ) {\n this.expect(tt.parenR);\n return type;\n } else {\n // Eat a comma if there is one\n this.eat(tt.comma);\n }\n }\n\n if (type) {\n tmp = this.flowParseFunctionTypeParams([\n this.reinterpretTypeAsFunctionTypeParam(type),\n ]);\n } else {\n tmp = this.flowParseFunctionTypeParams();\n }\n\n node.params = tmp.params;\n node.rest = tmp.rest;\n\n this.expect(tt.parenR);\n\n this.expect(tt.arrow);\n\n node.returnType = this.flowParseType();\n\n node.typeParameters = null;\n\n return this.finishNode(node, \"FunctionTypeAnnotation\");\n\n case tt.string:\n return this.parseLiteral(\n this.state.value,\n \"StringLiteralTypeAnnotation\",\n );\n\n case tt._true:\n case tt._false:\n node.value = this.match(tt._true);\n this.next();\n return this.finishNode(node, \"BooleanLiteralTypeAnnotation\");\n\n case tt.plusMin:\n if (this.state.value === \"-\") {\n this.next();\n if (this.match(tt.num)) {\n return this.parseLiteral(\n -this.state.value,\n \"NumberLiteralTypeAnnotation\",\n node.start,\n node.loc.start,\n );\n }\n\n if (this.match(tt.bigint)) {\n return this.parseLiteral(\n -this.state.value,\n \"BigIntLiteralTypeAnnotation\",\n node.start,\n node.loc.start,\n );\n }\n\n throw this.raise(\n this.state.start,\n FlowErrors.UnexpectedSubtractionOperand,\n );\n }\n\n throw this.unexpected();\n case tt.num:\n return this.parseLiteral(\n this.state.value,\n \"NumberLiteralTypeAnnotation\",\n );\n\n case tt.bigint:\n return this.parseLiteral(\n this.state.value,\n \"BigIntLiteralTypeAnnotation\",\n );\n\n case tt._void:\n this.next();\n return this.finishNode(node, \"VoidTypeAnnotation\");\n\n case tt._null:\n this.next();\n return this.finishNode(node, \"NullLiteralTypeAnnotation\");\n\n case tt._this:\n this.next();\n return this.finishNode(node, \"ThisTypeAnnotation\");\n\n case tt.star:\n this.next();\n return this.finishNode(node, \"ExistsTypeAnnotation\");\n\n default:\n if (this.state.type.keyword === \"typeof\") {\n return this.flowParseTypeofType();\n } else if (this.state.type.keyword) {\n const label = this.state.type.label;\n this.next();\n return super.createIdentifier(node, label);\n }\n }\n\n throw this.unexpected();\n }\n\n flowParsePostfixType(): N.FlowTypeAnnotation {\n const startPos = this.state.start,\n startLoc = this.state.startLoc;\n let type = this.flowParsePrimaryType();\n while (this.match(tt.bracketL) && !this.canInsertSemicolon()) {\n const node = this.startNodeAt(startPos, startLoc);\n node.elementType = type;\n this.expect(tt.bracketL);\n this.expect(tt.bracketR);\n type = this.finishNode(node, \"ArrayTypeAnnotation\");\n }\n return type;\n }\n\n flowParsePrefixType(): N.FlowTypeAnnotation {\n const node = this.startNode();\n if (this.eat(tt.question)) {\n node.typeAnnotation = this.flowParsePrefixType();\n return this.finishNode(node, \"NullableTypeAnnotation\");\n } else {\n return this.flowParsePostfixType();\n }\n }\n\n flowParseAnonFunctionWithoutParens(): N.FlowTypeAnnotation {\n const param = this.flowParsePrefixType();\n if (!this.state.noAnonFunctionType && this.eat(tt.arrow)) {\n // TODO: This should be a type error. Passing in a SourceLocation, and it expects a Position.\n const node = this.startNodeAt(param.start, param.loc.start);\n node.params = [this.reinterpretTypeAsFunctionTypeParam(param)];\n node.rest = null;\n node.returnType = this.flowParseType();\n node.typeParameters = null;\n return this.finishNode(node, \"FunctionTypeAnnotation\");\n }\n return param;\n }\n\n flowParseIntersectionType(): N.FlowTypeAnnotation {\n const node = this.startNode();\n this.eat(tt.bitwiseAND);\n const type = this.flowParseAnonFunctionWithoutParens();\n node.types = [type];\n while (this.eat(tt.bitwiseAND)) {\n node.types.push(this.flowParseAnonFunctionWithoutParens());\n }\n return node.types.length === 1\n ? type\n : this.finishNode(node, \"IntersectionTypeAnnotation\");\n }\n\n flowParseUnionType(): N.FlowTypeAnnotation {\n const node = this.startNode();\n this.eat(tt.bitwiseOR);\n const type = this.flowParseIntersectionType();\n node.types = [type];\n while (this.eat(tt.bitwiseOR)) {\n node.types.push(this.flowParseIntersectionType());\n }\n return node.types.length === 1\n ? type\n : this.finishNode(node, \"UnionTypeAnnotation\");\n }\n\n flowParseType(): N.FlowTypeAnnotation {\n const oldInType = this.state.inType;\n this.state.inType = true;\n const type = this.flowParseUnionType();\n this.state.inType = oldInType;\n // Ensure that a brace after a function generic type annotation is a\n // statement, except in arrow functions (noAnonFunctionType)\n this.state.exprAllowed =\n this.state.exprAllowed || this.state.noAnonFunctionType;\n return type;\n }\n\n flowParseTypeOrImplicitInstantiation(): N.FlowTypeAnnotation {\n if (this.state.type === tt.name && this.state.value === \"_\") {\n const startPos = this.state.start;\n const startLoc = this.state.startLoc;\n const node = this.parseIdentifier();\n return this.flowParseGenericType(startPos, startLoc, node);\n } else {\n return this.flowParseType();\n }\n }\n\n flowParseTypeAnnotation(): N.FlowTypeAnnotation {\n const node = this.startNode();\n node.typeAnnotation = this.flowParseTypeInitialiser();\n return this.finishNode(node, \"TypeAnnotation\");\n }\n\n flowParseTypeAnnotatableIdentifier(\n allowPrimitiveOverride?: boolean,\n ): N.Identifier {\n const ident = allowPrimitiveOverride\n ? this.parseIdentifier()\n : this.flowParseRestrictedIdentifier();\n if (this.match(tt.colon)) {\n ident.typeAnnotation = this.flowParseTypeAnnotation();\n this.resetEndLocation(ident);\n }\n return ident;\n }\n\n typeCastToParameter(node: N.Node): N.Node {\n node.expression.typeAnnotation = node.typeAnnotation;\n\n this.resetEndLocation(\n node.expression,\n node.typeAnnotation.end,\n node.typeAnnotation.loc.end,\n );\n\n return node.expression;\n }\n\n flowParseVariance(): ?N.FlowVariance {\n let variance = null;\n if (this.match(tt.plusMin)) {\n variance = this.startNode();\n if (this.state.value === \"+\") {\n variance.kind = \"plus\";\n } else {\n variance.kind = \"minus\";\n }\n this.next();\n this.finishNode(variance, \"Variance\");\n }\n return variance;\n }\n\n // ==================================\n // Overrides\n // ==================================\n\n parseFunctionBody(\n node: N.Function,\n allowExpressionBody: ?boolean,\n isMethod?: boolean = false,\n ): void {\n if (allowExpressionBody) {\n return this.forwardNoArrowParamsConversionAt(node, () =>\n super.parseFunctionBody(node, true, isMethod),\n );\n }\n\n return super.parseFunctionBody(node, false, isMethod);\n }\n\n parseFunctionBodyAndFinish(\n node: N.BodilessFunctionOrMethodBase,\n type: string,\n isMethod?: boolean = false,\n ): void {\n if (this.match(tt.colon)) {\n const typeNode = this.startNode();\n\n [\n // $FlowFixMe (destructuring not supported yet)\n typeNode.typeAnnotation,\n // $FlowFixMe (destructuring not supported yet)\n node.predicate,\n ] = this.flowParseTypeAndPredicateInitialiser();\n\n node.returnType = typeNode.typeAnnotation\n ? this.finishNode(typeNode, \"TypeAnnotation\")\n : null;\n }\n\n super.parseFunctionBodyAndFinish(node, type, isMethod);\n }\n\n // interfaces and enums\n parseStatement(context: ?string, topLevel?: boolean): N.Statement {\n // strict mode handling of `interface` since it's a reserved word\n if (\n this.state.strict &&\n this.match(tt.name) &&\n this.state.value === \"interface\"\n ) {\n const node = this.startNode();\n this.next();\n return this.flowParseInterface(node);\n } else if (this.shouldParseEnums() && this.isContextual(\"enum\")) {\n const node = this.startNode();\n this.next();\n return this.flowParseEnumDeclaration(node);\n } else {\n const stmt = super.parseStatement(context, topLevel);\n // We will parse a flow pragma in any comment before the first statement.\n if (this.flowPragma === undefined && !this.isValidDirective(stmt)) {\n this.flowPragma = null;\n }\n return stmt;\n }\n }\n\n // declares, interfaces and type aliases\n parseExpressionStatement(\n node: N.ExpressionStatement,\n expr: N.Expression,\n ): N.ExpressionStatement {\n if (expr.type === \"Identifier\") {\n if (expr.name === \"declare\") {\n if (\n this.match(tt._class) ||\n this.match(tt.name) ||\n this.match(tt._function) ||\n this.match(tt._var) ||\n this.match(tt._export)\n ) {\n return this.flowParseDeclare(node);\n }\n } else if (this.match(tt.name)) {\n if (expr.name === \"interface\") {\n return this.flowParseInterface(node);\n } else if (expr.name === \"type\") {\n return this.flowParseTypeAlias(node);\n } else if (expr.name === \"opaque\") {\n return this.flowParseOpaqueType(node, false);\n }\n }\n }\n\n return super.parseExpressionStatement(node, expr);\n }\n\n // export type\n shouldParseExportDeclaration(): boolean {\n return (\n this.isContextual(\"type\") ||\n this.isContextual(\"interface\") ||\n this.isContextual(\"opaque\") ||\n (this.shouldParseEnums() && this.isContextual(\"enum\")) ||\n super.shouldParseExportDeclaration()\n );\n }\n\n isExportDefaultSpecifier(): boolean {\n if (\n this.match(tt.name) &&\n (this.state.value === \"type\" ||\n this.state.value === \"interface\" ||\n this.state.value === \"opaque\" ||\n (this.shouldParseEnums() && this.state.value === \"enum\"))\n ) {\n return false;\n }\n\n return super.isExportDefaultSpecifier();\n }\n\n parseExportDefaultExpression(): N.Expression | N.Declaration {\n if (this.shouldParseEnums() && this.isContextual(\"enum\")) {\n const node = this.startNode();\n this.next();\n return this.flowParseEnumDeclaration(node);\n }\n return super.parseExportDefaultExpression();\n }\n\n parseConditional(\n expr: N.Expression,\n startPos: number,\n startLoc: Position,\n refNeedsArrowPos?: ?Pos,\n ): N.Expression {\n if (!this.match(tt.question)) return expr;\n\n // only use the expensive \"tryParse\" method if there is a question mark\n // and if we come from inside parens\n if (refNeedsArrowPos) {\n const result = this.tryParse(() =>\n super.parseConditional(expr, startPos, startLoc),\n );\n\n if (!result.node) {\n // $FlowIgnore\n refNeedsArrowPos.start = result.error.pos || this.state.start;\n return expr;\n }\n\n if (result.error) this.state = result.failState;\n return result.node;\n }\n\n this.expect(tt.question);\n const state = this.state.clone();\n const originalNoArrowAt = this.state.noArrowAt;\n const node = this.startNodeAt(startPos, startLoc);\n let { consequent, failed } = this.tryParseConditionalConsequent();\n let [valid, invalid] = this.getArrowLikeExpressions(consequent);\n\n if (failed || invalid.length > 0) {\n const noArrowAt = [...originalNoArrowAt];\n\n if (invalid.length > 0) {\n this.state = state;\n this.state.noArrowAt = noArrowAt;\n\n for (let i = 0; i < invalid.length; i++) {\n noArrowAt.push(invalid[i].start);\n }\n\n ({ consequent, failed } = this.tryParseConditionalConsequent());\n [valid, invalid] = this.getArrowLikeExpressions(consequent);\n }\n\n if (failed && valid.length > 1) {\n // if there are two or more possible correct ways of parsing, throw an\n // error.\n // e.g. Source: a ? (b): c => (d): e => f\n // Result 1: a ? b : (c => ((d): e => f))\n // Result 2: a ? ((b): c => d) : (e => f)\n this.raise(state.start, FlowErrors.AmbiguousConditionalArrow);\n }\n\n if (failed && valid.length === 1) {\n this.state = state;\n this.state.noArrowAt = noArrowAt.concat(valid[0].start);\n ({ consequent, failed } = this.tryParseConditionalConsequent());\n }\n }\n\n this.getArrowLikeExpressions(consequent, true);\n\n this.state.noArrowAt = originalNoArrowAt;\n this.expect(tt.colon);\n\n node.test = expr;\n node.consequent = consequent;\n node.alternate = this.forwardNoArrowParamsConversionAt(node, () =>\n this.parseMaybeAssign(undefined, undefined, undefined),\n );\n\n return this.finishNode(node, \"ConditionalExpression\");\n }\n\n tryParseConditionalConsequent(): {\n consequent: N.Expression,\n failed: boolean,\n } {\n this.state.noArrowParamsConversionAt.push(this.state.start);\n\n const consequent = this.parseMaybeAssignAllowIn();\n const failed = !this.match(tt.colon);\n\n this.state.noArrowParamsConversionAt.pop();\n\n return { consequent, failed };\n }\n\n // Given an expression, walks through out its arrow functions whose body is\n // an expression and through out conditional expressions. It returns every\n // function which has been parsed with a return type but could have been\n // parenthesized expressions.\n // These functions are separated into two arrays: one containing the ones\n // whose parameters can be converted to assignable lists, one containing the\n // others.\n getArrowLikeExpressions(\n node: N.Expression,\n disallowInvalid?: boolean,\n ): [N.ArrowFunctionExpression[], N.ArrowFunctionExpression[]] {\n const stack = [node];\n const arrows: N.ArrowFunctionExpression[] = [];\n\n while (stack.length !== 0) {\n const node = stack.pop();\n if (node.type === \"ArrowFunctionExpression\") {\n if (node.typeParameters || !node.returnType) {\n // This is an arrow expression without ambiguity, so check its parameters\n this.finishArrowValidation(node);\n } else {\n arrows.push(node);\n }\n stack.push(node.body);\n } else if (node.type === \"ConditionalExpression\") {\n stack.push(node.consequent);\n stack.push(node.alternate);\n }\n }\n\n if (disallowInvalid) {\n arrows.forEach(node => this.finishArrowValidation(node));\n return [arrows, []];\n }\n\n return partition(arrows, node =>\n node.params.every(param => this.isAssignable(param, true)),\n );\n }\n\n finishArrowValidation(node: N.ArrowFunctionExpression) {\n this.toAssignableList(\n // node.params is Expression[] instead of $ReadOnlyArray because it\n // has not been converted yet.\n ((node.params: any): N.Expression[]),\n node.extra?.trailingComma,\n );\n // Enter scope, as checkParams defines bindings\n this.scope.enter(SCOPE_FUNCTION | SCOPE_ARROW);\n // Use super's method to force the parameters to be checked\n super.checkParams(node, false, true);\n this.scope.exit();\n }\n\n forwardNoArrowParamsConversionAt(node: N.Node, parse: () => T): T {\n let result: T;\n if (this.state.noArrowParamsConversionAt.indexOf(node.start) !== -1) {\n this.state.noArrowParamsConversionAt.push(this.state.start);\n result = parse();\n this.state.noArrowParamsConversionAt.pop();\n } else {\n result = parse();\n }\n\n return result;\n }\n\n parseParenItem(\n node: N.Expression,\n startPos: number,\n startLoc: Position,\n ): N.Expression {\n node = super.parseParenItem(node, startPos, startLoc);\n if (this.eat(tt.question)) {\n node.optional = true;\n // Include questionmark in location of node\n // Don't use this.finishNode() as otherwise we might process comments twice and\n // include already consumed parens\n this.resetEndLocation(node);\n }\n\n if (this.match(tt.colon)) {\n const typeCastNode = this.startNodeAt(startPos, startLoc);\n typeCastNode.expression = node;\n typeCastNode.typeAnnotation = this.flowParseTypeAnnotation();\n\n return this.finishNode(typeCastNode, \"TypeCastExpression\");\n }\n\n return node;\n }\n\n assertModuleNodeAllowed(node: N.Node) {\n if (\n (node.type === \"ImportDeclaration\" &&\n (node.importKind === \"type\" || node.importKind === \"typeof\")) ||\n (node.type === \"ExportNamedDeclaration\" &&\n node.exportKind === \"type\") ||\n (node.type === \"ExportAllDeclaration\" && node.exportKind === \"type\")\n ) {\n // Allow Flowtype imports and exports in all conditions because\n // Flow itself does not care about 'sourceType'.\n return;\n }\n\n super.assertModuleNodeAllowed(node);\n }\n\n parseExport(node: N.Node): N.AnyExport {\n const decl = super.parseExport(node);\n if (\n decl.type === \"ExportNamedDeclaration\" ||\n decl.type === \"ExportAllDeclaration\"\n ) {\n decl.exportKind = decl.exportKind || \"value\";\n }\n return decl;\n }\n\n parseExportDeclaration(node: N.ExportNamedDeclaration): ?N.Declaration {\n if (this.isContextual(\"type\")) {\n node.exportKind = \"type\";\n\n const declarationNode = this.startNode();\n this.next();\n\n if (this.match(tt.braceL)) {\n // export type { foo, bar };\n node.specifiers = this.parseExportSpecifiers();\n this.parseExportFrom(node);\n return null;\n } else {\n // export type Foo = Bar;\n return this.flowParseTypeAlias(declarationNode);\n }\n } else if (this.isContextual(\"opaque\")) {\n node.exportKind = \"type\";\n\n const declarationNode = this.startNode();\n this.next();\n // export opaque type Foo = Bar;\n return this.flowParseOpaqueType(declarationNode, false);\n } else if (this.isContextual(\"interface\")) {\n node.exportKind = \"type\";\n const declarationNode = this.startNode();\n this.next();\n return this.flowParseInterface(declarationNode);\n } else if (this.shouldParseEnums() && this.isContextual(\"enum\")) {\n node.exportKind = \"value\";\n const declarationNode = this.startNode();\n this.next();\n return this.flowParseEnumDeclaration(declarationNode);\n } else {\n return super.parseExportDeclaration(node);\n }\n }\n\n eatExportStar(node: N.Node): boolean {\n if (super.eatExportStar(...arguments)) return true;\n\n if (this.isContextual(\"type\") && this.lookahead().type === tt.star) {\n node.exportKind = \"type\";\n this.next();\n this.next();\n return true;\n }\n\n return false;\n }\n\n maybeParseExportNamespaceSpecifier(node: N.Node): boolean {\n const pos = this.state.start;\n const hasNamespace = super.maybeParseExportNamespaceSpecifier(node);\n if (hasNamespace && node.exportKind === \"type\") {\n this.unexpected(pos);\n }\n return hasNamespace;\n }\n\n parseClassId(node: N.Class, isStatement: boolean, optionalId: ?boolean) {\n super.parseClassId(node, isStatement, optionalId);\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.flowParseTypeParameterDeclaration();\n }\n }\n\n parseClassMember(\n classBody: N.ClassBody,\n member: any,\n state: { hadConstructor: boolean },\n constructorAllowsSuper: boolean,\n ): void {\n const pos = this.state.start;\n if (this.isContextual(\"declare\")) {\n if (this.parseClassMemberFromModifier(classBody, member)) {\n // 'declare' is a class element name\n return;\n }\n\n member.declare = true;\n }\n\n super.parseClassMember(classBody, member, state, constructorAllowsSuper);\n\n if (member.declare) {\n if (\n member.type !== \"ClassProperty\" &&\n member.type !== \"ClassPrivateProperty\"\n ) {\n this.raise(pos, FlowErrors.DeclareClassElement);\n } else if (member.value) {\n this.raise(\n member.value.start,\n FlowErrors.DeclareClassFieldInitializer,\n );\n }\n }\n }\n\n // ensure that inside flow types, we bypass the jsx parser plugin\n getTokenFromCode(code: number): void {\n const next = this.input.charCodeAt(this.state.pos + 1);\n if (code === charCodes.leftCurlyBrace && next === charCodes.verticalBar) {\n return this.finishOp(tt.braceBarL, 2);\n } else if (\n this.state.inType &&\n (code === charCodes.greaterThan || code === charCodes.lessThan)\n ) {\n return this.finishOp(tt.relational, 1);\n } else if (this.state.inType && code === charCodes.questionMark) {\n // allow double nullable types in Flow: ??string\n return this.finishOp(tt.question, 1);\n } else if (isIteratorStart(code, next)) {\n this.state.isIterator = true;\n return super.readWord();\n } else {\n return super.getTokenFromCode(code);\n }\n }\n\n isAssignable(node: N.Node, isBinding?: boolean): boolean {\n switch (node.type) {\n case \"Identifier\":\n case \"ObjectPattern\":\n case \"ArrayPattern\":\n case \"AssignmentPattern\":\n return true;\n\n case \"ObjectExpression\": {\n const last = node.properties.length - 1;\n return node.properties.every((prop, i) => {\n return (\n prop.type !== \"ObjectMethod\" &&\n (i === last || prop.type === \"SpreadElement\") &&\n this.isAssignable(prop)\n );\n });\n }\n\n case \"ObjectProperty\":\n return this.isAssignable(node.value);\n\n case \"SpreadElement\":\n return this.isAssignable(node.argument);\n\n case \"ArrayExpression\":\n return node.elements.every(element => this.isAssignable(element));\n\n case \"AssignmentExpression\":\n return node.operator === \"=\";\n\n case \"ParenthesizedExpression\":\n case \"TypeCastExpression\":\n return this.isAssignable(node.expression);\n\n case \"MemberExpression\":\n case \"OptionalMemberExpression\":\n return !isBinding;\n\n default:\n return false;\n }\n }\n\n toAssignable(node: N.Node): N.Node {\n if (node.type === \"TypeCastExpression\") {\n return super.toAssignable(this.typeCastToParameter(node));\n } else {\n return super.toAssignable(node);\n }\n }\n\n // turn type casts that we found in function parameter head into type annotated params\n toAssignableList(\n exprList: N.Expression[],\n trailingCommaPos?: ?number,\n ): $ReadOnlyArray {\n for (let i = 0; i < exprList.length; i++) {\n const expr = exprList[i];\n if (expr?.type === \"TypeCastExpression\") {\n exprList[i] = this.typeCastToParameter(expr);\n }\n }\n return super.toAssignableList(exprList, trailingCommaPos);\n }\n\n // this is a list of nodes, from something like a call expression, we need to filter the\n // type casts that we've found that are illegal in this context\n toReferencedList(\n exprList: $ReadOnlyArray,\n isParenthesizedExpr?: boolean,\n ): $ReadOnlyArray {\n for (let i = 0; i < exprList.length; i++) {\n const expr = exprList[i];\n if (\n expr &&\n expr.type === \"TypeCastExpression\" &&\n !expr.extra?.parenthesized &&\n (exprList.length > 1 || !isParenthesizedExpr)\n ) {\n this.raise(expr.typeAnnotation.start, FlowErrors.TypeCastInPattern);\n }\n }\n\n return exprList;\n }\n\n checkLVal(\n expr: N.Expression,\n bindingType: BindingTypes = BIND_NONE,\n checkClashes: ?{ [key: string]: boolean },\n contextDescription: string,\n ): void {\n if (expr.type !== \"TypeCastExpression\") {\n return super.checkLVal(\n expr,\n bindingType,\n checkClashes,\n contextDescription,\n );\n }\n }\n\n // parse class property type annotations\n parseClassProperty(node: N.ClassProperty): N.ClassProperty {\n if (this.match(tt.colon)) {\n node.typeAnnotation = this.flowParseTypeAnnotation();\n }\n return super.parseClassProperty(node);\n }\n\n parseClassPrivateProperty(\n node: N.ClassPrivateProperty,\n ): N.ClassPrivateProperty {\n if (this.match(tt.colon)) {\n node.typeAnnotation = this.flowParseTypeAnnotation();\n }\n return super.parseClassPrivateProperty(node);\n }\n\n // determine whether or not we're currently in the position where a class method would appear\n isClassMethod(): boolean {\n return this.isRelational(\"<\") || super.isClassMethod();\n }\n\n // determine whether or not we're currently in the position where a class property would appear\n isClassProperty(): boolean {\n return this.match(tt.colon) || super.isClassProperty();\n }\n\n isNonstaticConstructor(method: N.ClassMethod | N.ClassProperty): boolean {\n return !this.match(tt.colon) && super.isNonstaticConstructor(method);\n }\n\n // parse type parameters for class methods\n pushClassMethod(\n classBody: N.ClassBody,\n method: N.ClassMethod,\n isGenerator: boolean,\n isAsync: boolean,\n isConstructor: boolean,\n allowsDirectSuper: boolean,\n ): void {\n if ((method: $FlowFixMe).variance) {\n this.unexpected((method: $FlowFixMe).variance.start);\n }\n delete (method: $FlowFixMe).variance;\n if (this.isRelational(\"<\")) {\n method.typeParameters = this.flowParseTypeParameterDeclaration();\n }\n\n super.pushClassMethod(\n classBody,\n method,\n isGenerator,\n isAsync,\n isConstructor,\n allowsDirectSuper,\n );\n }\n\n pushClassPrivateMethod(\n classBody: N.ClassBody,\n method: N.ClassPrivateMethod,\n isGenerator: boolean,\n isAsync: boolean,\n ): void {\n if ((method: $FlowFixMe).variance) {\n this.unexpected((method: $FlowFixMe).variance.start);\n }\n delete (method: $FlowFixMe).variance;\n if (this.isRelational(\"<\")) {\n method.typeParameters = this.flowParseTypeParameterDeclaration();\n }\n\n super.pushClassPrivateMethod(classBody, method, isGenerator, isAsync);\n }\n\n // parse a the super class type parameters and implements\n parseClassSuper(node: N.Class): void {\n super.parseClassSuper(node);\n if (node.superClass && this.isRelational(\"<\")) {\n node.superTypeParameters = this.flowParseTypeParameterInstantiation();\n }\n if (this.isContextual(\"implements\")) {\n this.next();\n const implemented: N.FlowClassImplements[] = (node.implements = []);\n do {\n const node = this.startNode();\n node.id = this.flowParseRestrictedIdentifier(/*liberal*/ true);\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.flowParseTypeParameterInstantiation();\n } else {\n node.typeParameters = null;\n }\n implemented.push(this.finishNode(node, \"ClassImplements\"));\n } while (this.eat(tt.comma));\n }\n }\n\n parsePropertyName(\n node: N.ObjectOrClassMember | N.ClassMember | N.TsNamedTypeElementBase,\n isPrivateNameAllowed: boolean,\n ): N.Identifier {\n const variance = this.flowParseVariance();\n const key = super.parsePropertyName(node, isPrivateNameAllowed);\n // $FlowIgnore (\"variance\" not defined on TsNamedTypeElementBase)\n node.variance = variance;\n return key;\n }\n\n // parse type parameters for object method shorthand\n parseObjPropValue(\n prop: N.ObjectMember,\n startPos: ?number,\n startLoc: ?Position,\n isGenerator: boolean,\n isAsync: boolean,\n isPattern: boolean,\n isAccessor: boolean,\n refExpressionErrors: ?ExpressionErrors,\n ): void {\n if ((prop: $FlowFixMe).variance) {\n this.unexpected((prop: $FlowFixMe).variance.start);\n }\n delete (prop: $FlowFixMe).variance;\n\n let typeParameters;\n\n // method shorthand\n if (this.isRelational(\"<\") && !isAccessor) {\n typeParameters = this.flowParseTypeParameterDeclaration();\n if (!this.match(tt.parenL)) this.unexpected();\n }\n\n super.parseObjPropValue(\n prop,\n startPos,\n startLoc,\n isGenerator,\n isAsync,\n isPattern,\n isAccessor,\n refExpressionErrors,\n );\n\n // add typeParameters if we found them\n if (typeParameters) {\n (prop.value || prop).typeParameters = typeParameters;\n }\n }\n\n parseAssignableListItemTypes(param: N.Pattern): N.Pattern {\n if (this.eat(tt.question)) {\n if (param.type !== \"Identifier\") {\n this.raise(param.start, FlowErrors.OptionalBindingPattern);\n }\n\n ((param: any): N.Identifier).optional = true;\n }\n if (this.match(tt.colon)) {\n param.typeAnnotation = this.flowParseTypeAnnotation();\n }\n this.resetEndLocation(param);\n return param;\n }\n\n parseMaybeDefault(\n startPos?: ?number,\n startLoc?: ?Position,\n left?: ?N.Pattern,\n ): N.Pattern {\n const node = super.parseMaybeDefault(startPos, startLoc, left);\n\n if (\n node.type === \"AssignmentPattern\" &&\n node.typeAnnotation &&\n node.right.start < node.typeAnnotation.start\n ) {\n this.raise(node.typeAnnotation.start, FlowErrors.TypeBeforeInitializer);\n }\n\n return node;\n }\n\n shouldParseDefaultImport(node: N.ImportDeclaration): boolean {\n if (!hasTypeImportKind(node)) {\n return super.shouldParseDefaultImport(node);\n }\n\n return isMaybeDefaultImport(this.state);\n }\n\n parseImportSpecifierLocal(\n node: N.ImportDeclaration,\n specifier: N.Node,\n type: string,\n contextDescription: string,\n ): void {\n specifier.local = hasTypeImportKind(node)\n ? this.flowParseRestrictedIdentifier(\n /* liberal */ true,\n /* declaration */ true,\n )\n : this.parseIdentifier();\n\n this.checkLVal(\n specifier.local,\n BIND_LEXICAL,\n undefined,\n contextDescription,\n );\n node.specifiers.push(this.finishNode(specifier, type));\n }\n\n // parse typeof and type imports\n maybeParseDefaultImportSpecifier(node: N.ImportDeclaration): boolean {\n node.importKind = \"value\";\n\n let kind = null;\n if (this.match(tt._typeof)) {\n kind = \"typeof\";\n } else if (this.isContextual(\"type\")) {\n kind = \"type\";\n }\n if (kind) {\n const lh = this.lookahead();\n\n // import type * is not allowed\n if (kind === \"type\" && lh.type === tt.star) {\n this.unexpected(lh.start);\n }\n\n if (\n isMaybeDefaultImport(lh) ||\n lh.type === tt.braceL ||\n lh.type === tt.star\n ) {\n this.next();\n node.importKind = kind;\n }\n }\n\n return super.maybeParseDefaultImportSpecifier(node);\n }\n\n // parse import-type/typeof shorthand\n parseImportSpecifier(node: N.ImportDeclaration): void {\n const specifier = this.startNode();\n const firstIdentLoc = this.state.start;\n const firstIdent = this.parseIdentifier(true);\n\n let specifierTypeKind = null;\n if (firstIdent.name === \"type\") {\n specifierTypeKind = \"type\";\n } else if (firstIdent.name === \"typeof\") {\n specifierTypeKind = \"typeof\";\n }\n\n let isBinding = false;\n if (this.isContextual(\"as\") && !this.isLookaheadContextual(\"as\")) {\n const as_ident = this.parseIdentifier(true);\n if (\n specifierTypeKind !== null &&\n !this.match(tt.name) &&\n !this.state.type.keyword\n ) {\n // `import {type as ,` or `import {type as }`\n specifier.imported = as_ident;\n specifier.importKind = specifierTypeKind;\n specifier.local = as_ident.__clone();\n } else {\n // `import {type as foo`\n specifier.imported = firstIdent;\n specifier.importKind = null;\n specifier.local = this.parseIdentifier();\n }\n } else if (\n specifierTypeKind !== null &&\n (this.match(tt.name) || this.state.type.keyword)\n ) {\n // `import {type foo`\n specifier.imported = this.parseIdentifier(true);\n specifier.importKind = specifierTypeKind;\n if (this.eatContextual(\"as\")) {\n specifier.local = this.parseIdentifier();\n } else {\n isBinding = true;\n specifier.local = specifier.imported.__clone();\n }\n } else {\n isBinding = true;\n specifier.imported = firstIdent;\n specifier.importKind = null;\n specifier.local = specifier.imported.__clone();\n }\n\n const nodeIsTypeImport = hasTypeImportKind(node);\n const specifierIsTypeImport = hasTypeImportKind(specifier);\n\n if (nodeIsTypeImport && specifierIsTypeImport) {\n this.raise(\n firstIdentLoc,\n FlowErrors.ImportTypeShorthandOnlyInPureImport,\n );\n }\n\n if (nodeIsTypeImport || specifierIsTypeImport) {\n this.checkReservedType(\n specifier.local.name,\n specifier.local.start,\n /* declaration */ true,\n );\n }\n\n if (isBinding && !nodeIsTypeImport && !specifierIsTypeImport) {\n this.checkReservedWord(\n specifier.local.name,\n specifier.start,\n true,\n true,\n );\n }\n\n this.checkLVal(\n specifier.local,\n BIND_LEXICAL,\n undefined,\n \"import specifier\",\n );\n node.specifiers.push(this.finishNode(specifier, \"ImportSpecifier\"));\n }\n\n // parse function type parameters - function foo() {}\n parseFunctionParams(node: N.Function, allowModifiers?: boolean): void {\n // $FlowFixMe\n const kind = node.kind;\n if (kind !== \"get\" && kind !== \"set\" && this.isRelational(\"<\")) {\n node.typeParameters = this.flowParseTypeParameterDeclaration();\n }\n super.parseFunctionParams(node, allowModifiers);\n }\n\n // parse flow type annotations on variable declarator heads - let foo: string = bar\n parseVarId(\n decl: N.VariableDeclarator,\n kind: \"var\" | \"let\" | \"const\",\n ): void {\n super.parseVarId(decl, kind);\n if (this.match(tt.colon)) {\n decl.id.typeAnnotation = this.flowParseTypeAnnotation();\n this.resetEndLocation(decl.id); // set end position to end of type\n }\n }\n\n // parse the return type of an async arrow function - let foo = (async (): number => {});\n parseAsyncArrowFromCallExpression(\n node: N.ArrowFunctionExpression,\n call: N.CallExpression,\n ): N.ArrowFunctionExpression {\n if (this.match(tt.colon)) {\n const oldNoAnonFunctionType = this.state.noAnonFunctionType;\n this.state.noAnonFunctionType = true;\n node.returnType = this.flowParseTypeAnnotation();\n this.state.noAnonFunctionType = oldNoAnonFunctionType;\n }\n\n return super.parseAsyncArrowFromCallExpression(node, call);\n }\n\n // todo description\n shouldParseAsyncArrow(): boolean {\n return this.match(tt.colon) || super.shouldParseAsyncArrow();\n }\n\n // We need to support type parameter declarations for arrow functions. This\n // is tricky. There are three situations we need to handle\n //\n // 1. This is either JSX or an arrow function. We'll try JSX first. If that\n // fails, we'll try an arrow function. If that fails, we'll throw the JSX\n // error.\n // 2. This is an arrow function. We'll parse the type parameter declaration,\n // parse the rest, make sure the rest is an arrow function, and go from\n // there\n // 3. This is neither. Just call the super method\n parseMaybeAssign(\n refExpressionErrors?: ?ExpressionErrors,\n afterLeftParse?: Function,\n refNeedsArrowPos?: ?Pos,\n ): N.Expression {\n let state = null;\n\n let jsx;\n\n if (\n this.hasPlugin(\"jsx\") &&\n (this.match(tt.jsxTagStart) || this.isRelational(\"<\"))\n ) {\n state = this.state.clone();\n\n jsx = this.tryParse(\n () =>\n super.parseMaybeAssign(\n refExpressionErrors,\n afterLeftParse,\n refNeedsArrowPos,\n ),\n state,\n );\n /*:: invariant(!jsx.aborted) */\n\n if (!jsx.error) return jsx.node;\n\n // Remove `tc.j_expr` and `tc.j_oTag` from context added\n // by parsing `jsxTagStart` to stop the JSX plugin from\n // messing with the tokens\n const { context } = this.state;\n if (context[context.length - 1] === tc.j_oTag) {\n context.length -= 2;\n } else if (context[context.length - 1] === tc.j_expr) {\n context.length -= 1;\n }\n }\n\n if (jsx?.error || this.isRelational(\"<\")) {\n state = state || this.state.clone();\n\n let typeParameters;\n\n const arrow = this.tryParse(abort => {\n typeParameters = this.flowParseTypeParameterDeclaration();\n\n const arrowExpression = this.forwardNoArrowParamsConversionAt(\n typeParameters,\n () => {\n const result = super.parseMaybeAssign(\n refExpressionErrors,\n afterLeftParse,\n refNeedsArrowPos,\n );\n\n this.resetStartLocationFromNode(result, typeParameters);\n\n return result;\n },\n );\n\n // (() => {}: any);\n if (\n arrowExpression.type !== \"ArrowFunctionExpression\" &&\n arrowExpression.extra?.parenthesized\n ) {\n abort();\n }\n\n // The above can return a TypeCastExpression when the arrow\n // expression is not wrapped in parens. See also `this.parseParenItem`.\n const expr = this.maybeUnwrapTypeCastExpression(arrowExpression);\n expr.typeParameters = typeParameters;\n this.resetStartLocationFromNode(expr, typeParameters);\n\n return arrowExpression;\n }, state);\n\n let arrowExpression: ?(\n | N.ArrowFunctionExpression\n | N.TypeCastExpression\n ) = null;\n\n if (\n arrow.node &&\n this.maybeUnwrapTypeCastExpression(arrow.node).type ===\n \"ArrowFunctionExpression\"\n ) {\n if (!arrow.error && !arrow.aborted) {\n // async () => {}\n if (arrow.node.async) {\n /*:: invariant(typeParameters) */\n this.raise(\n typeParameters.start,\n FlowErrors.UnexpectedTypeParameterBeforeAsyncArrowFunction,\n );\n }\n\n return arrow.node;\n }\n\n arrowExpression = arrow.node;\n }\n\n // If we are here, both JSX and Flow parsing attempts failed.\n // Give the precedence to the JSX error, except if JSX had an\n // unrecoverable error while Flow didn't.\n // If the error is recoverable, we can only re-report it if there is\n // a node we can return.\n\n if (jsx?.node) {\n /*:: invariant(jsx.failState) */\n this.state = jsx.failState;\n return jsx.node;\n }\n\n if (arrowExpression) {\n /*:: invariant(arrow.failState) */\n this.state = arrow.failState;\n return arrowExpression;\n }\n\n if (jsx?.thrown) throw jsx.error;\n if (arrow.thrown) throw arrow.error;\n\n /*:: invariant(typeParameters) */\n throw this.raise(\n typeParameters.start,\n FlowErrors.UnexpectedTokenAfterTypeParameter,\n );\n }\n\n return super.parseMaybeAssign(\n refExpressionErrors,\n afterLeftParse,\n refNeedsArrowPos,\n );\n }\n\n // handle return types for arrow functions\n parseArrow(node: N.ArrowFunctionExpression): ?N.ArrowFunctionExpression {\n if (this.match(tt.colon)) {\n const result = this.tryParse(() => {\n const oldNoAnonFunctionType = this.state.noAnonFunctionType;\n this.state.noAnonFunctionType = true;\n\n const typeNode = this.startNode();\n\n [\n // $FlowFixMe (destructuring not supported yet)\n typeNode.typeAnnotation,\n // $FlowFixMe (destructuring not supported yet)\n node.predicate,\n ] = this.flowParseTypeAndPredicateInitialiser();\n\n this.state.noAnonFunctionType = oldNoAnonFunctionType;\n\n if (this.canInsertSemicolon()) this.unexpected();\n if (!this.match(tt.arrow)) this.unexpected();\n\n return typeNode;\n });\n\n if (result.thrown) return null;\n /*:: invariant(result.node) */\n\n if (result.error) this.state = result.failState;\n\n // assign after it is clear it is an arrow\n node.returnType = result.node.typeAnnotation\n ? this.finishNode(result.node, \"TypeAnnotation\")\n : null;\n }\n\n return super.parseArrow(node);\n }\n\n shouldParseArrow(): boolean {\n return this.match(tt.colon) || super.shouldParseArrow();\n }\n\n setArrowFunctionParameters(\n node: N.ArrowFunctionExpression,\n params: N.Expression[],\n ): void {\n if (this.state.noArrowParamsConversionAt.indexOf(node.start) !== -1) {\n node.params = params;\n } else {\n super.setArrowFunctionParameters(node, params);\n }\n }\n\n checkParams(\n node: N.Function,\n allowDuplicates: boolean,\n isArrowFunction: ?boolean,\n ): void {\n if (\n isArrowFunction &&\n this.state.noArrowParamsConversionAt.indexOf(node.start) !== -1\n ) {\n return;\n }\n\n return super.checkParams(...arguments);\n }\n\n parseParenAndDistinguishExpression(canBeArrow: boolean): N.Expression {\n return super.parseParenAndDistinguishExpression(\n canBeArrow && this.state.noArrowAt.indexOf(this.state.start) === -1,\n );\n }\n\n parseSubscripts(\n base: N.Expression,\n startPos: number,\n startLoc: Position,\n noCalls?: ?boolean,\n ): N.Expression {\n if (\n base.type === \"Identifier\" &&\n base.name === \"async\" &&\n this.state.noArrowAt.indexOf(startPos) !== -1\n ) {\n this.next();\n\n const node = this.startNodeAt(startPos, startLoc);\n node.callee = base;\n node.arguments = this.parseCallExpressionArguments(tt.parenR, false);\n base = this.finishNode(node, \"CallExpression\");\n } else if (\n base.type === \"Identifier\" &&\n base.name === \"async\" &&\n this.isRelational(\"<\")\n ) {\n const state = this.state.clone();\n const arrow = this.tryParse(\n abort =>\n this.parseAsyncArrowWithTypeParameters(startPos, startLoc) ||\n abort(),\n state,\n );\n\n if (!arrow.error && !arrow.aborted) return arrow.node;\n\n const result = this.tryParse(\n () => super.parseSubscripts(base, startPos, startLoc, noCalls),\n state,\n );\n\n if (result.node && !result.error) return result.node;\n\n if (arrow.node) {\n this.state = arrow.failState;\n return arrow.node;\n }\n\n if (result.node) {\n this.state = result.failState;\n return result.node;\n }\n\n throw arrow.error || result.error;\n }\n\n return super.parseSubscripts(base, startPos, startLoc, noCalls);\n }\n\n parseSubscript(\n base: N.Expression,\n startPos: number,\n startLoc: Position,\n noCalls: ?boolean,\n subscriptState: N.ParseSubscriptState,\n ): N.Expression {\n if (this.match(tt.questionDot) && this.isLookaheadToken_lt()) {\n subscriptState.optionalChainMember = true;\n if (noCalls) {\n subscriptState.stop = true;\n return base;\n }\n this.next();\n const node: N.OptionalCallExpression = this.startNodeAt(\n startPos,\n startLoc,\n );\n node.callee = base;\n node.typeArguments = this.flowParseTypeParameterInstantiation();\n this.expect(tt.parenL);\n // $FlowFixMe\n node.arguments = this.parseCallExpressionArguments(tt.parenR, false);\n node.optional = true;\n return this.finishCallExpression(node, /* optional */ true);\n } else if (\n !noCalls &&\n this.shouldParseTypes() &&\n this.isRelational(\"<\")\n ) {\n const node = this.startNodeAt(startPos, startLoc);\n node.callee = base;\n\n const result = this.tryParse(() => {\n node.typeArguments = this.flowParseTypeParameterInstantiationCallOrNew();\n this.expect(tt.parenL);\n node.arguments = this.parseCallExpressionArguments(tt.parenR, false);\n if (subscriptState.optionalChainMember) node.optional = false;\n return this.finishCallExpression(\n node,\n subscriptState.optionalChainMember,\n );\n });\n\n if (result.node) {\n if (result.error) this.state = result.failState;\n return result.node;\n }\n }\n\n return super.parseSubscript(\n base,\n startPos,\n startLoc,\n noCalls,\n subscriptState,\n );\n }\n\n parseNewArguments(node: N.NewExpression): void {\n let targs = null;\n if (this.shouldParseTypes() && this.isRelational(\"<\")) {\n targs = this.tryParse(() =>\n this.flowParseTypeParameterInstantiationCallOrNew(),\n ).node;\n }\n node.typeArguments = targs;\n\n super.parseNewArguments(node);\n }\n\n parseAsyncArrowWithTypeParameters(\n startPos: number,\n startLoc: Position,\n ): ?N.ArrowFunctionExpression {\n const node = this.startNodeAt(startPos, startLoc);\n this.parseFunctionParams(node);\n if (!this.parseArrow(node)) return;\n return this.parseArrowExpression(\n node,\n /* params */ undefined,\n /* isAsync */ true,\n );\n }\n\n readToken_mult_modulo(code: number): void {\n const next = this.input.charCodeAt(this.state.pos + 1);\n if (\n code === charCodes.asterisk &&\n next === charCodes.slash &&\n this.state.hasFlowComment\n ) {\n this.state.hasFlowComment = false;\n this.state.pos += 2;\n this.nextToken();\n return;\n }\n\n super.readToken_mult_modulo(code);\n }\n\n readToken_pipe_amp(code: number): void {\n const next = this.input.charCodeAt(this.state.pos + 1);\n if (\n code === charCodes.verticalBar &&\n next === charCodes.rightCurlyBrace\n ) {\n // '|}'\n this.finishOp(tt.braceBarR, 2);\n return;\n }\n\n super.readToken_pipe_amp(code);\n }\n\n parseTopLevel(file: N.File, program: N.Program): N.File {\n const fileNode = super.parseTopLevel(file, program);\n if (this.state.hasFlowComment) {\n this.raise(this.state.pos, FlowErrors.UnterminatedFlowComment);\n }\n return fileNode;\n }\n\n skipBlockComment(): void {\n if (this.hasPlugin(\"flowComments\") && this.skipFlowComment()) {\n if (this.state.hasFlowComment) {\n this.unexpected(null, FlowErrors.NestedFlowComment);\n }\n this.hasFlowCommentCompletion();\n this.state.pos += this.skipFlowComment();\n this.state.hasFlowComment = true;\n return;\n }\n\n if (this.state.hasFlowComment) {\n const end = this.input.indexOf(\"*-/\", (this.state.pos += 2));\n if (end === -1) {\n throw this.raise(this.state.pos - 2, Errors.UnterminatedComment);\n }\n this.state.pos = end + 3;\n return;\n }\n\n super.skipBlockComment();\n }\n\n skipFlowComment(): number | boolean {\n const { pos } = this.state;\n let shiftToFirstNonWhiteSpace = 2;\n while (\n [charCodes.space, charCodes.tab].includes(\n this.input.charCodeAt(pos + shiftToFirstNonWhiteSpace),\n )\n ) {\n shiftToFirstNonWhiteSpace++;\n }\n\n const ch2 = this.input.charCodeAt(shiftToFirstNonWhiteSpace + pos);\n const ch3 = this.input.charCodeAt(shiftToFirstNonWhiteSpace + pos + 1);\n\n if (ch2 === charCodes.colon && ch3 === charCodes.colon) {\n return shiftToFirstNonWhiteSpace + 2; // check for /*::\n }\n if (\n this.input.slice(\n shiftToFirstNonWhiteSpace + pos,\n shiftToFirstNonWhiteSpace + pos + 12,\n ) === \"flow-include\"\n ) {\n return shiftToFirstNonWhiteSpace + 12; // check for /*flow-include\n }\n if (ch2 === charCodes.colon && ch3 !== charCodes.colon) {\n return shiftToFirstNonWhiteSpace; // check for /*:, advance up to :\n }\n return false;\n }\n\n hasFlowCommentCompletion(): void {\n const end = this.input.indexOf(\"*/\", this.state.pos);\n if (end === -1) {\n throw this.raise(this.state.pos, Errors.UnterminatedComment);\n }\n }\n\n // Flow enum parsing\n\n flowEnumErrorBooleanMemberNotInitialized(\n pos: number,\n { enumName, memberName }: { enumName: string, memberName: string },\n ): void {\n this.raise(\n pos,\n FlowErrors.EnumBooleanMemberNotInitialized,\n memberName,\n enumName,\n );\n }\n\n flowEnumErrorInvalidMemberName(\n pos: number,\n { enumName, memberName }: { enumName: string, memberName: string },\n ): void {\n const suggestion = memberName[0].toUpperCase() + memberName.slice(1);\n this.raise(\n pos,\n FlowErrors.EnumInvalidMemberName,\n memberName,\n suggestion,\n enumName,\n );\n }\n\n flowEnumErrorDuplicateMemberName(\n pos: number,\n { enumName, memberName }: { enumName: string, memberName: string },\n ): void {\n this.raise(pos, FlowErrors.EnumDuplicateMemberName, memberName, enumName);\n }\n\n flowEnumErrorInconsistentMemberValues(\n pos: number,\n { enumName }: { enumName: string },\n ): void {\n this.raise(pos, FlowErrors.EnumInconsistentMemberValues, enumName);\n }\n\n flowEnumErrorInvalidExplicitType(\n pos: number,\n {\n enumName,\n suppliedType,\n }: { enumName: string, suppliedType: null | string },\n ) {\n return this.raise(\n pos,\n suppliedType === null\n ? FlowErrors.EnumInvalidExplicitTypeUnknownSupplied\n : FlowErrors.EnumInvalidExplicitType,\n enumName,\n suppliedType,\n );\n }\n\n flowEnumErrorInvalidMemberInitializer(\n pos: number,\n { enumName, explicitType, memberName }: EnumContext,\n ) {\n let message = null;\n switch (explicitType) {\n case \"boolean\":\n case \"number\":\n case \"string\":\n message = FlowErrors.EnumInvalidMemberInitializerPrimaryType;\n break;\n case \"symbol\":\n message = FlowErrors.EnumInvalidMemberInitializerSymbolType;\n break;\n default:\n // null\n message = FlowErrors.EnumInvalidMemberInitializerUnknownType;\n }\n return this.raise(pos, message, enumName, memberName, explicitType);\n }\n\n flowEnumErrorNumberMemberNotInitialized(\n pos: number,\n { enumName, memberName }: { enumName: string, memberName: string },\n ): void {\n this.raise(\n pos,\n FlowErrors.EnumNumberMemberNotInitialized,\n enumName,\n memberName,\n );\n }\n\n flowEnumErrorStringMemberInconsistentlyInitailized(\n pos: number,\n { enumName }: { enumName: string },\n ): void {\n this.raise(\n pos,\n FlowErrors.EnumStringMemberInconsistentlyInitailized,\n enumName,\n );\n }\n\n flowEnumMemberInit(): EnumMemberInit {\n const startPos = this.state.start;\n const endOfInit = () => this.match(tt.comma) || this.match(tt.braceR);\n switch (this.state.type) {\n case tt.num: {\n const literal = this.parseLiteral(this.state.value, \"NumericLiteral\");\n if (endOfInit()) {\n return { type: \"number\", pos: literal.start, value: literal };\n }\n return { type: \"invalid\", pos: startPos };\n }\n case tt.string: {\n const literal = this.parseLiteral(this.state.value, \"StringLiteral\");\n if (endOfInit()) {\n return { type: \"string\", pos: literal.start, value: literal };\n }\n return { type: \"invalid\", pos: startPos };\n }\n case tt._true:\n case tt._false: {\n const literal = this.parseBooleanLiteral();\n if (endOfInit()) {\n return {\n type: \"boolean\",\n pos: literal.start,\n value: literal,\n };\n }\n return { type: \"invalid\", pos: startPos };\n }\n default:\n return { type: \"invalid\", pos: startPos };\n }\n }\n\n flowEnumMemberRaw(): { id: N.Node, init: EnumMemberInit } {\n const pos = this.state.start;\n const id = this.parseIdentifier(true);\n const init = this.eat(tt.eq)\n ? this.flowEnumMemberInit()\n : { type: \"none\", pos };\n return { id, init };\n }\n\n flowEnumCheckExplicitTypeMismatch(\n pos: number,\n context: EnumContext,\n expectedType: EnumExplicitType,\n ): void {\n const { explicitType } = context;\n if (explicitType === null) {\n return;\n }\n if (explicitType !== expectedType) {\n this.flowEnumErrorInvalidMemberInitializer(pos, context);\n }\n }\n\n flowEnumMembers({\n enumName,\n explicitType,\n }: {\n enumName: string,\n explicitType: EnumExplicitType,\n }): {|\n booleanMembers: Array,\n numberMembers: Array,\n stringMembers: Array,\n defaultedMembers: Array,\n |} {\n const seenNames = new Set();\n const members = {\n booleanMembers: [],\n numberMembers: [],\n stringMembers: [],\n defaultedMembers: [],\n };\n while (!this.match(tt.braceR)) {\n const memberNode = this.startNode();\n const { id, init } = this.flowEnumMemberRaw();\n const memberName = id.name;\n if (memberName === \"\") {\n continue;\n }\n if (/^[a-z]/.test(memberName)) {\n this.flowEnumErrorInvalidMemberName(id.start, {\n enumName,\n memberName,\n });\n }\n if (seenNames.has(memberName)) {\n this.flowEnumErrorDuplicateMemberName(id.start, {\n enumName,\n memberName,\n });\n }\n seenNames.add(memberName);\n const context = { enumName, explicitType, memberName };\n memberNode.id = id;\n switch (init.type) {\n case \"boolean\": {\n this.flowEnumCheckExplicitTypeMismatch(\n init.pos,\n context,\n \"boolean\",\n );\n memberNode.init = init.value;\n members.booleanMembers.push(\n this.finishNode(memberNode, \"EnumBooleanMember\"),\n );\n break;\n }\n case \"number\": {\n this.flowEnumCheckExplicitTypeMismatch(init.pos, context, \"number\");\n memberNode.init = init.value;\n members.numberMembers.push(\n this.finishNode(memberNode, \"EnumNumberMember\"),\n );\n break;\n }\n case \"string\": {\n this.flowEnumCheckExplicitTypeMismatch(init.pos, context, \"string\");\n memberNode.init = init.value;\n members.stringMembers.push(\n this.finishNode(memberNode, \"EnumStringMember\"),\n );\n break;\n }\n case \"invalid\": {\n throw this.flowEnumErrorInvalidMemberInitializer(init.pos, context);\n }\n case \"none\": {\n switch (explicitType) {\n case \"boolean\":\n this.flowEnumErrorBooleanMemberNotInitialized(\n init.pos,\n context,\n );\n break;\n case \"number\":\n this.flowEnumErrorNumberMemberNotInitialized(init.pos, context);\n break;\n default:\n members.defaultedMembers.push(\n this.finishNode(memberNode, \"EnumDefaultedMember\"),\n );\n }\n }\n }\n\n if (!this.match(tt.braceR)) {\n this.expect(tt.comma);\n }\n }\n return members;\n }\n\n flowEnumStringMembers(\n initializedMembers: Array,\n defaultedMembers: Array,\n { enumName }: { enumName: string },\n ): Array {\n if (initializedMembers.length === 0) {\n return defaultedMembers;\n } else if (defaultedMembers.length === 0) {\n return initializedMembers;\n } else if (defaultedMembers.length > initializedMembers.length) {\n for (const member of initializedMembers) {\n this.flowEnumErrorStringMemberInconsistentlyInitailized(\n member.start,\n { enumName },\n );\n }\n return defaultedMembers;\n } else {\n for (const member of defaultedMembers) {\n this.flowEnumErrorStringMemberInconsistentlyInitailized(\n member.start,\n { enumName },\n );\n }\n return initializedMembers;\n }\n }\n\n flowEnumParseExplicitType({\n enumName,\n }: {\n enumName: string,\n }): EnumExplicitType {\n if (this.eatContextual(\"of\")) {\n if (!this.match(tt.name)) {\n throw this.flowEnumErrorInvalidExplicitType(this.state.start, {\n enumName,\n suppliedType: null,\n });\n }\n\n const { value } = this.state;\n this.next();\n\n if (\n value !== \"boolean\" &&\n value !== \"number\" &&\n value !== \"string\" &&\n value !== \"symbol\"\n ) {\n this.flowEnumErrorInvalidExplicitType(this.state.start, {\n enumName,\n suppliedType: value,\n });\n }\n\n return value;\n }\n return null;\n }\n\n flowEnumBody(node: N.Node, { enumName, nameLoc }): N.Node {\n const explicitType = this.flowEnumParseExplicitType({ enumName });\n this.expect(tt.braceL);\n const members = this.flowEnumMembers({ enumName, explicitType });\n\n switch (explicitType) {\n case \"boolean\":\n node.explicitType = true;\n node.members = members.booleanMembers;\n this.expect(tt.braceR);\n return this.finishNode(node, \"EnumBooleanBody\");\n case \"number\":\n node.explicitType = true;\n node.members = members.numberMembers;\n this.expect(tt.braceR);\n return this.finishNode(node, \"EnumNumberBody\");\n case \"string\":\n node.explicitType = true;\n node.members = this.flowEnumStringMembers(\n members.stringMembers,\n members.defaultedMembers,\n { enumName },\n );\n this.expect(tt.braceR);\n return this.finishNode(node, \"EnumStringBody\");\n case \"symbol\":\n node.members = members.defaultedMembers;\n this.expect(tt.braceR);\n return this.finishNode(node, \"EnumSymbolBody\");\n default: {\n // `explicitType` is `null`\n const empty = () => {\n node.members = [];\n this.expect(tt.braceR);\n return this.finishNode(node, \"EnumStringBody\");\n };\n node.explicitType = false;\n\n const boolsLen = members.booleanMembers.length;\n const numsLen = members.numberMembers.length;\n const strsLen = members.stringMembers.length;\n const defaultedLen = members.defaultedMembers.length;\n\n if (!boolsLen && !numsLen && !strsLen && !defaultedLen) {\n return empty();\n } else if (!boolsLen && !numsLen) {\n node.members = this.flowEnumStringMembers(\n members.stringMembers,\n members.defaultedMembers,\n { enumName },\n );\n this.expect(tt.braceR);\n return this.finishNode(node, \"EnumStringBody\");\n } else if (!numsLen && !strsLen && boolsLen >= defaultedLen) {\n for (const member of members.defaultedMembers) {\n this.flowEnumErrorBooleanMemberNotInitialized(member.start, {\n enumName,\n memberName: member.id.name,\n });\n }\n node.members = members.booleanMembers;\n this.expect(tt.braceR);\n return this.finishNode(node, \"EnumBooleanBody\");\n } else if (!boolsLen && !strsLen && numsLen >= defaultedLen) {\n for (const member of members.defaultedMembers) {\n this.flowEnumErrorNumberMemberNotInitialized(member.start, {\n enumName,\n memberName: member.id.name,\n });\n }\n node.members = members.numberMembers;\n this.expect(tt.braceR);\n return this.finishNode(node, \"EnumNumberBody\");\n } else {\n this.flowEnumErrorInconsistentMemberValues(nameLoc, { enumName });\n return empty();\n }\n }\n }\n }\n\n flowParseEnumDeclaration(node: N.Node): N.Node {\n const id = this.parseIdentifier();\n node.id = id;\n node.body = this.flowEnumBody(this.startNode(), {\n enumName: id.name,\n nameLoc: id.start,\n });\n return this.finishNode(node, \"EnumDeclaration\");\n }\n\n updateContext(prevType: TokenType): void {\n if (\n this.match(tt.name) &&\n this.state.value === \"of\" &&\n prevType === tt.name &&\n this.input.slice(this.state.lastTokStart, this.state.lastTokEnd) ===\n \"interface\"\n ) {\n this.state.exprAllowed = false;\n } else {\n super.updateContext(prevType);\n }\n }\n\n // check if the next token is a tt.relation(\"<\")\n isLookaheadToken_lt(): boolean {\n const next = this.nextTokenStart();\n if (this.input.charCodeAt(next) === charCodes.lessThan) {\n const afterNext = this.input.charCodeAt(next + 1);\n return (\n afterNext !== charCodes.lessThan && afterNext !== charCodes.equalsTo\n );\n }\n return false;\n }\n\n maybeUnwrapTypeCastExpression(node: N.Node) {\n return node.type === \"TypeCastExpression\" ? node.expression : node;\n }\n };\n","// @flow\n\nconst entities: { [name: string]: string } = {\n quot: \"\\u0022\",\n amp: \"&\",\n apos: \"\\u0027\",\n lt: \"<\",\n gt: \">\",\n nbsp: \"\\u00A0\",\n iexcl: \"\\u00A1\",\n cent: \"\\u00A2\",\n pound: \"\\u00A3\",\n curren: \"\\u00A4\",\n yen: \"\\u00A5\",\n brvbar: \"\\u00A6\",\n sect: \"\\u00A7\",\n uml: \"\\u00A8\",\n copy: \"\\u00A9\",\n ordf: \"\\u00AA\",\n laquo: \"\\u00AB\",\n not: \"\\u00AC\",\n shy: \"\\u00AD\",\n reg: \"\\u00AE\",\n macr: \"\\u00AF\",\n deg: \"\\u00B0\",\n plusmn: \"\\u00B1\",\n sup2: \"\\u00B2\",\n sup3: \"\\u00B3\",\n acute: \"\\u00B4\",\n micro: \"\\u00B5\",\n para: \"\\u00B6\",\n middot: \"\\u00B7\",\n cedil: \"\\u00B8\",\n sup1: \"\\u00B9\",\n ordm: \"\\u00BA\",\n raquo: \"\\u00BB\",\n frac14: \"\\u00BC\",\n frac12: \"\\u00BD\",\n frac34: \"\\u00BE\",\n iquest: \"\\u00BF\",\n Agrave: \"\\u00C0\",\n Aacute: \"\\u00C1\",\n Acirc: \"\\u00C2\",\n Atilde: \"\\u00C3\",\n Auml: \"\\u00C4\",\n Aring: \"\\u00C5\",\n AElig: \"\\u00C6\",\n Ccedil: \"\\u00C7\",\n Egrave: \"\\u00C8\",\n Eacute: \"\\u00C9\",\n Ecirc: \"\\u00CA\",\n Euml: \"\\u00CB\",\n Igrave: \"\\u00CC\",\n Iacute: \"\\u00CD\",\n Icirc: \"\\u00CE\",\n Iuml: \"\\u00CF\",\n ETH: \"\\u00D0\",\n Ntilde: \"\\u00D1\",\n Ograve: \"\\u00D2\",\n Oacute: \"\\u00D3\",\n Ocirc: \"\\u00D4\",\n Otilde: \"\\u00D5\",\n Ouml: \"\\u00D6\",\n times: \"\\u00D7\",\n Oslash: \"\\u00D8\",\n Ugrave: \"\\u00D9\",\n Uacute: \"\\u00DA\",\n Ucirc: \"\\u00DB\",\n Uuml: \"\\u00DC\",\n Yacute: \"\\u00DD\",\n THORN: \"\\u00DE\",\n szlig: \"\\u00DF\",\n agrave: \"\\u00E0\",\n aacute: \"\\u00E1\",\n acirc: \"\\u00E2\",\n atilde: \"\\u00E3\",\n auml: \"\\u00E4\",\n aring: \"\\u00E5\",\n aelig: \"\\u00E6\",\n ccedil: \"\\u00E7\",\n egrave: \"\\u00E8\",\n eacute: \"\\u00E9\",\n ecirc: \"\\u00EA\",\n euml: \"\\u00EB\",\n igrave: \"\\u00EC\",\n iacute: \"\\u00ED\",\n icirc: \"\\u00EE\",\n iuml: \"\\u00EF\",\n eth: \"\\u00F0\",\n ntilde: \"\\u00F1\",\n ograve: \"\\u00F2\",\n oacute: \"\\u00F3\",\n ocirc: \"\\u00F4\",\n otilde: \"\\u00F5\",\n ouml: \"\\u00F6\",\n divide: \"\\u00F7\",\n oslash: \"\\u00F8\",\n ugrave: \"\\u00F9\",\n uacute: \"\\u00FA\",\n ucirc: \"\\u00FB\",\n uuml: \"\\u00FC\",\n yacute: \"\\u00FD\",\n thorn: \"\\u00FE\",\n yuml: \"\\u00FF\",\n OElig: \"\\u0152\",\n oelig: \"\\u0153\",\n Scaron: \"\\u0160\",\n scaron: \"\\u0161\",\n Yuml: \"\\u0178\",\n fnof: \"\\u0192\",\n circ: \"\\u02C6\",\n tilde: \"\\u02DC\",\n Alpha: \"\\u0391\",\n Beta: \"\\u0392\",\n Gamma: \"\\u0393\",\n Delta: \"\\u0394\",\n Epsilon: \"\\u0395\",\n Zeta: \"\\u0396\",\n Eta: \"\\u0397\",\n Theta: \"\\u0398\",\n Iota: \"\\u0399\",\n Kappa: \"\\u039A\",\n Lambda: \"\\u039B\",\n Mu: \"\\u039C\",\n Nu: \"\\u039D\",\n Xi: \"\\u039E\",\n Omicron: \"\\u039F\",\n Pi: \"\\u03A0\",\n Rho: \"\\u03A1\",\n Sigma: \"\\u03A3\",\n Tau: \"\\u03A4\",\n Upsilon: \"\\u03A5\",\n Phi: \"\\u03A6\",\n Chi: \"\\u03A7\",\n Psi: \"\\u03A8\",\n Omega: \"\\u03A9\",\n alpha: \"\\u03B1\",\n beta: \"\\u03B2\",\n gamma: \"\\u03B3\",\n delta: \"\\u03B4\",\n epsilon: \"\\u03B5\",\n zeta: \"\\u03B6\",\n eta: \"\\u03B7\",\n theta: \"\\u03B8\",\n iota: \"\\u03B9\",\n kappa: \"\\u03BA\",\n lambda: \"\\u03BB\",\n mu: \"\\u03BC\",\n nu: \"\\u03BD\",\n xi: \"\\u03BE\",\n omicron: \"\\u03BF\",\n pi: \"\\u03C0\",\n rho: \"\\u03C1\",\n sigmaf: \"\\u03C2\",\n sigma: \"\\u03C3\",\n tau: \"\\u03C4\",\n upsilon: \"\\u03C5\",\n phi: \"\\u03C6\",\n chi: \"\\u03C7\",\n psi: \"\\u03C8\",\n omega: \"\\u03C9\",\n thetasym: \"\\u03D1\",\n upsih: \"\\u03D2\",\n piv: \"\\u03D6\",\n ensp: \"\\u2002\",\n emsp: \"\\u2003\",\n thinsp: \"\\u2009\",\n zwnj: \"\\u200C\",\n zwj: \"\\u200D\",\n lrm: \"\\u200E\",\n rlm: \"\\u200F\",\n ndash: \"\\u2013\",\n mdash: \"\\u2014\",\n lsquo: \"\\u2018\",\n rsquo: \"\\u2019\",\n sbquo: \"\\u201A\",\n ldquo: \"\\u201C\",\n rdquo: \"\\u201D\",\n bdquo: \"\\u201E\",\n dagger: \"\\u2020\",\n Dagger: \"\\u2021\",\n bull: \"\\u2022\",\n hellip: \"\\u2026\",\n permil: \"\\u2030\",\n prime: \"\\u2032\",\n Prime: \"\\u2033\",\n lsaquo: \"\\u2039\",\n rsaquo: \"\\u203A\",\n oline: \"\\u203E\",\n frasl: \"\\u2044\",\n euro: \"\\u20AC\",\n image: \"\\u2111\",\n weierp: \"\\u2118\",\n real: \"\\u211C\",\n trade: \"\\u2122\",\n alefsym: \"\\u2135\",\n larr: \"\\u2190\",\n uarr: \"\\u2191\",\n rarr: \"\\u2192\",\n darr: \"\\u2193\",\n harr: \"\\u2194\",\n crarr: \"\\u21B5\",\n lArr: \"\\u21D0\",\n uArr: \"\\u21D1\",\n rArr: \"\\u21D2\",\n dArr: \"\\u21D3\",\n hArr: \"\\u21D4\",\n forall: \"\\u2200\",\n part: \"\\u2202\",\n exist: \"\\u2203\",\n empty: \"\\u2205\",\n nabla: \"\\u2207\",\n isin: \"\\u2208\",\n notin: \"\\u2209\",\n ni: \"\\u220B\",\n prod: \"\\u220F\",\n sum: \"\\u2211\",\n minus: \"\\u2212\",\n lowast: \"\\u2217\",\n radic: \"\\u221A\",\n prop: \"\\u221D\",\n infin: \"\\u221E\",\n ang: \"\\u2220\",\n and: \"\\u2227\",\n or: \"\\u2228\",\n cap: \"\\u2229\",\n cup: \"\\u222A\",\n int: \"\\u222B\",\n there4: \"\\u2234\",\n sim: \"\\u223C\",\n cong: \"\\u2245\",\n asymp: \"\\u2248\",\n ne: \"\\u2260\",\n equiv: \"\\u2261\",\n le: \"\\u2264\",\n ge: \"\\u2265\",\n sub: \"\\u2282\",\n sup: \"\\u2283\",\n nsub: \"\\u2284\",\n sube: \"\\u2286\",\n supe: \"\\u2287\",\n oplus: \"\\u2295\",\n otimes: \"\\u2297\",\n perp: \"\\u22A5\",\n sdot: \"\\u22C5\",\n lceil: \"\\u2308\",\n rceil: \"\\u2309\",\n lfloor: \"\\u230A\",\n rfloor: \"\\u230B\",\n lang: \"\\u2329\",\n rang: \"\\u232A\",\n loz: \"\\u25CA\",\n spades: \"\\u2660\",\n clubs: \"\\u2663\",\n hearts: \"\\u2665\",\n diams: \"\\u2666\",\n};\nexport default entities;\n","// @flow\n\n// Error messages are colocated with the plugin.\n/* eslint-disable @babel/development-internal/dry-error-messages */\n\nimport * as charCodes from \"charcodes\";\n\nimport XHTMLEntities from \"./xhtml\";\nimport type Parser from \"../../parser\";\nimport type { ExpressionErrors } from \"../../parser/util\";\nimport { TokenType, types as tt } from \"../../tokenizer/types\";\nimport { TokContext, types as tc } from \"../../tokenizer/context\";\nimport * as N from \"../../types\";\nimport { isIdentifierChar, isIdentifierStart } from \"../../util/identifier\";\nimport type { Position } from \"../../util/location\";\nimport { isNewLine } from \"../../util/whitespace\";\nimport { Errors } from \"../../parser/error\";\n\nconst HEX_NUMBER = /^[\\da-fA-F]+$/;\nconst DECIMAL_NUMBER = /^\\d+$/;\n\nconst JsxErrors = Object.freeze({\n AttributeIsEmpty:\n \"JSX attributes must only be assigned a non-empty expression\",\n MissingClosingTagFragment: \"Expected corresponding JSX closing tag for <>\",\n MissingClosingTagElement: \"Expected corresponding JSX closing tag for <%0>\",\n UnsupportedJsxValue:\n \"JSX value should be either an expression or a quoted JSX text\",\n UnterminatedJsxContent: \"Unterminated JSX contents\",\n UnwrappedAdjacentJSXElements:\n \"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?\",\n});\n\n// Be aware that this file is always executed and not only when the plugin is enabled.\n// Therefore this contexts and tokens do always exist.\ntc.j_oTag = new TokContext(\"...\", true, true);\n\ntt.jsxName = new TokenType(\"jsxName\");\ntt.jsxText = new TokenType(\"jsxText\", { beforeExpr: true });\ntt.jsxTagStart = new TokenType(\"jsxTagStart\", { startsExpr: true });\ntt.jsxTagEnd = new TokenType(\"jsxTagEnd\");\n\ntt.jsxTagStart.updateContext = function () {\n this.state.context.push(tc.j_expr); // treat as beginning of JSX expression\n this.state.context.push(tc.j_oTag); // start opening tag context\n this.state.exprAllowed = false;\n};\n\ntt.jsxTagEnd.updateContext = function (prevType) {\n const out = this.state.context.pop();\n if ((out === tc.j_oTag && prevType === tt.slash) || out === tc.j_cTag) {\n this.state.context.pop();\n this.state.exprAllowed = this.curContext() === tc.j_expr;\n } else {\n this.state.exprAllowed = true;\n }\n};\n\nfunction isFragment(object: ?N.JSXElement): boolean {\n return object\n ? object.type === \"JSXOpeningFragment\" ||\n object.type === \"JSXClosingFragment\"\n : false;\n}\n\n// Transforms JSX element name to string.\n\nfunction getQualifiedJSXName(\n object: N.JSXIdentifier | N.JSXNamespacedName | N.JSXMemberExpression,\n): string {\n if (object.type === \"JSXIdentifier\") {\n return object.name;\n }\n\n if (object.type === \"JSXNamespacedName\") {\n return object.namespace.name + \":\" + object.name.name;\n }\n\n if (object.type === \"JSXMemberExpression\") {\n return (\n getQualifiedJSXName(object.object) +\n \".\" +\n getQualifiedJSXName(object.property)\n );\n }\n\n // istanbul ignore next\n throw new Error(\"Node had unexpected type: \" + object.type);\n}\n\nexport default (superClass: Class): Class =>\n class extends superClass {\n // Reads inline JSX contents token.\n\n jsxReadToken(): void {\n let out = \"\";\n let chunkStart = this.state.pos;\n for (;;) {\n if (this.state.pos >= this.length) {\n throw this.raise(this.state.start, JsxErrors.UnterminatedJsxContent);\n }\n\n const ch = this.input.charCodeAt(this.state.pos);\n\n switch (ch) {\n case charCodes.lessThan:\n case charCodes.leftCurlyBrace:\n if (this.state.pos === this.state.start) {\n if (ch === charCodes.lessThan && this.state.exprAllowed) {\n ++this.state.pos;\n return this.finishToken(tt.jsxTagStart);\n }\n return super.getTokenFromCode(ch);\n }\n out += this.input.slice(chunkStart, this.state.pos);\n return this.finishToken(tt.jsxText, out);\n\n case charCodes.ampersand:\n out += this.input.slice(chunkStart, this.state.pos);\n out += this.jsxReadEntity();\n chunkStart = this.state.pos;\n break;\n\n default:\n if (isNewLine(ch)) {\n out += this.input.slice(chunkStart, this.state.pos);\n out += this.jsxReadNewLine(true);\n chunkStart = this.state.pos;\n } else {\n ++this.state.pos;\n }\n }\n }\n }\n\n jsxReadNewLine(normalizeCRLF: boolean): string {\n const ch = this.input.charCodeAt(this.state.pos);\n let out;\n ++this.state.pos;\n if (\n ch === charCodes.carriageReturn &&\n this.input.charCodeAt(this.state.pos) === charCodes.lineFeed\n ) {\n ++this.state.pos;\n out = normalizeCRLF ? \"\\n\" : \"\\r\\n\";\n } else {\n out = String.fromCharCode(ch);\n }\n ++this.state.curLine;\n this.state.lineStart = this.state.pos;\n\n return out;\n }\n\n jsxReadString(quote: number): void {\n let out = \"\";\n let chunkStart = ++this.state.pos;\n for (;;) {\n if (this.state.pos >= this.length) {\n throw this.raise(this.state.start, Errors.UnterminatedString);\n }\n\n const ch = this.input.charCodeAt(this.state.pos);\n if (ch === quote) break;\n if (ch === charCodes.ampersand) {\n out += this.input.slice(chunkStart, this.state.pos);\n out += this.jsxReadEntity();\n chunkStart = this.state.pos;\n } else if (isNewLine(ch)) {\n out += this.input.slice(chunkStart, this.state.pos);\n out += this.jsxReadNewLine(false);\n chunkStart = this.state.pos;\n } else {\n ++this.state.pos;\n }\n }\n out += this.input.slice(chunkStart, this.state.pos++);\n return this.finishToken(tt.string, out);\n }\n\n jsxReadEntity(): string {\n let str = \"\";\n let count = 0;\n let entity;\n let ch = this.input[this.state.pos];\n\n const startPos = ++this.state.pos;\n while (this.state.pos < this.length && count++ < 10) {\n ch = this.input[this.state.pos++];\n if (ch === \";\") {\n if (str[0] === \"#\") {\n if (str[1] === \"x\") {\n str = str.substr(2);\n if (HEX_NUMBER.test(str)) {\n entity = String.fromCodePoint(parseInt(str, 16));\n }\n } else {\n str = str.substr(1);\n if (DECIMAL_NUMBER.test(str)) {\n entity = String.fromCodePoint(parseInt(str, 10));\n }\n }\n } else {\n entity = XHTMLEntities[str];\n }\n break;\n }\n str += ch;\n }\n if (!entity) {\n this.state.pos = startPos;\n return \"&\";\n }\n return entity;\n }\n\n // Read a JSX identifier (valid tag or attribute name).\n //\n // Optimized version since JSX identifiers can\"t contain\n // escape characters and so can be read as single slice.\n // Also assumes that first character was already checked\n // by isIdentifierStart in readToken.\n\n jsxReadWord(): void {\n let ch;\n const start = this.state.pos;\n do {\n ch = this.input.charCodeAt(++this.state.pos);\n } while (isIdentifierChar(ch) || ch === charCodes.dash);\n return this.finishToken(\n tt.jsxName,\n this.input.slice(start, this.state.pos),\n );\n }\n\n // Parse next token as JSX identifier\n\n jsxParseIdentifier(): N.JSXIdentifier {\n const node = this.startNode();\n if (this.match(tt.jsxName)) {\n node.name = this.state.value;\n } else if (this.state.type.keyword) {\n node.name = this.state.type.keyword;\n } else {\n this.unexpected();\n }\n this.next();\n return this.finishNode(node, \"JSXIdentifier\");\n }\n\n // Parse namespaced identifier.\n\n jsxParseNamespacedName(): N.JSXNamespacedName {\n const startPos = this.state.start;\n const startLoc = this.state.startLoc;\n const name = this.jsxParseIdentifier();\n if (!this.eat(tt.colon)) return name;\n\n const node = this.startNodeAt(startPos, startLoc);\n node.namespace = name;\n node.name = this.jsxParseIdentifier();\n return this.finishNode(node, \"JSXNamespacedName\");\n }\n\n // Parses element name in any form - namespaced, member\n // or single identifier.\n\n jsxParseElementName():\n | N.JSXIdentifier\n | N.JSXNamespacedName\n | N.JSXMemberExpression {\n const startPos = this.state.start;\n const startLoc = this.state.startLoc;\n let node = this.jsxParseNamespacedName();\n if (node.type === \"JSXNamespacedName\") {\n return node;\n }\n while (this.eat(tt.dot)) {\n const newNode = this.startNodeAt(startPos, startLoc);\n newNode.object = node;\n newNode.property = this.jsxParseIdentifier();\n node = this.finishNode(newNode, \"JSXMemberExpression\");\n }\n return node;\n }\n\n // Parses any type of JSX attribute value.\n\n jsxParseAttributeValue(): N.Expression {\n let node;\n switch (this.state.type) {\n case tt.braceL:\n node = this.startNode();\n this.next();\n node = this.jsxParseExpressionContainer(node);\n if (node.expression.type === \"JSXEmptyExpression\") {\n this.raise(node.start, JsxErrors.AttributeIsEmpty);\n }\n return node;\n\n case tt.jsxTagStart:\n case tt.string:\n return this.parseExprAtom();\n\n default:\n throw this.raise(this.state.start, JsxErrors.UnsupportedJsxValue);\n }\n }\n\n // JSXEmptyExpression is unique type since it doesn't actually parse anything,\n // and so it should start at the end of last read token (left brace) and finish\n // at the beginning of the next one (right brace).\n\n jsxParseEmptyExpression(): N.JSXEmptyExpression {\n const node = this.startNodeAt(\n this.state.lastTokEnd,\n this.state.lastTokEndLoc,\n );\n return this.finishNodeAt(\n node,\n \"JSXEmptyExpression\",\n this.state.start,\n this.state.startLoc,\n );\n }\n\n // Parse JSX spread child\n\n jsxParseSpreadChild(node: N.JSXSpreadChild): N.JSXSpreadChild {\n this.next(); // ellipsis\n node.expression = this.parseExpression();\n this.expect(tt.braceR);\n\n return this.finishNode(node, \"JSXSpreadChild\");\n }\n\n // Parses JSX expression enclosed into curly brackets.\n\n jsxParseExpressionContainer(\n node: N.JSXExpressionContainer,\n ): N.JSXExpressionContainer {\n if (this.match(tt.braceR)) {\n node.expression = this.jsxParseEmptyExpression();\n } else {\n node.expression = this.parseExpression();\n }\n this.expect(tt.braceR);\n return this.finishNode(node, \"JSXExpressionContainer\");\n }\n\n // Parses following JSX attribute name-value pair.\n\n jsxParseAttribute(): N.JSXAttribute {\n const node = this.startNode();\n if (this.eat(tt.braceL)) {\n this.expect(tt.ellipsis);\n node.argument = this.parseMaybeAssignAllowIn();\n this.expect(tt.braceR);\n return this.finishNode(node, \"JSXSpreadAttribute\");\n }\n node.name = this.jsxParseNamespacedName();\n node.value = this.eat(tt.eq) ? this.jsxParseAttributeValue() : null;\n return this.finishNode(node, \"JSXAttribute\");\n }\n\n // Parses JSX opening tag starting after \"<\".\n\n jsxParseOpeningElementAt(\n startPos: number,\n startLoc: Position,\n ): N.JSXOpeningElement {\n const node = this.startNodeAt(startPos, startLoc);\n if (this.match(tt.jsxTagEnd)) {\n this.expect(tt.jsxTagEnd);\n return this.finishNode(node, \"JSXOpeningFragment\");\n }\n node.name = this.jsxParseElementName();\n return this.jsxParseOpeningElementAfterName(node);\n }\n\n jsxParseOpeningElementAfterName(\n node: N.JSXOpeningElement,\n ): N.JSXOpeningElement {\n const attributes: N.JSXAttribute[] = [];\n while (!this.match(tt.slash) && !this.match(tt.jsxTagEnd)) {\n attributes.push(this.jsxParseAttribute());\n }\n node.attributes = attributes;\n node.selfClosing = this.eat(tt.slash);\n this.expect(tt.jsxTagEnd);\n return this.finishNode(node, \"JSXOpeningElement\");\n }\n\n // Parses JSX closing tag starting after \" JSX open tag -> ... anymore\n this.state.context.push(tc.j_cTag); // reconsider as closing tag context\n this.state.exprAllowed = false;\n } else {\n return super.updateContext(prevType);\n }\n }\n };\n","// @flow\nimport {\n SCOPE_ARROW,\n SCOPE_DIRECT_SUPER,\n SCOPE_FUNCTION,\n SCOPE_SIMPLE_CATCH,\n SCOPE_SUPER,\n SCOPE_PROGRAM,\n SCOPE_VAR,\n SCOPE_CLASS,\n BIND_SCOPE_FUNCTION,\n BIND_SCOPE_VAR,\n BIND_SCOPE_LEXICAL,\n BIND_KIND_VALUE,\n type ScopeFlags,\n type BindingTypes,\n} from \"./scopeflags\";\nimport * as N from \"../types\";\nimport { Errors } from \"../parser/error\";\n\n// Start an AST node, attaching a start offset.\nexport class Scope {\n flags: ScopeFlags;\n // A list of var-declared names in the current lexical scope\n var: string[] = [];\n // A list of lexically-declared names in the current lexical scope\n lexical: string[] = [];\n // A list of lexically-declared FunctionDeclaration names in the current lexical scope\n functions: string[] = [];\n\n constructor(flags: ScopeFlags) {\n this.flags = flags;\n }\n}\n\ntype raiseFunction = (number, string, ...any) => void;\n\n// The functions in this module keep track of declared variables in the\n// current scope in order to detect duplicate variable names.\nexport default class ScopeHandler {\n scopeStack: Array = [];\n raise: raiseFunction;\n inModule: boolean;\n undefinedExports: Map = new Map();\n undefinedPrivateNames: Map = new Map();\n\n constructor(raise: raiseFunction, inModule: boolean) {\n this.raise = raise;\n this.inModule = inModule;\n }\n\n get inFunction() {\n return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0;\n }\n get allowSuper() {\n return (this.currentThisScope().flags & SCOPE_SUPER) > 0;\n }\n get allowDirectSuper() {\n return (this.currentThisScope().flags & SCOPE_DIRECT_SUPER) > 0;\n }\n get inClass() {\n return (this.currentThisScope().flags & SCOPE_CLASS) > 0;\n }\n get inNonArrowFunction() {\n return (this.currentThisScope().flags & SCOPE_FUNCTION) > 0;\n }\n get treatFunctionsAsVar() {\n return this.treatFunctionsAsVarInScope(this.currentScope());\n }\n\n createScope(flags: ScopeFlags): Scope {\n return new Scope(flags);\n }\n // This method will be overwritten by subclasses\n /*:: +createScope: (flags: ScopeFlags) => IScope; */\n\n enter(flags: ScopeFlags) {\n this.scopeStack.push(this.createScope(flags));\n }\n\n exit() {\n this.scopeStack.pop();\n }\n\n // The spec says:\n // > At the top level of a function, or script, function declarations are\n // > treated like var declarations rather than like lexical declarations.\n treatFunctionsAsVarInScope(scope: IScope): boolean {\n return !!(\n scope.flags & SCOPE_FUNCTION ||\n (!this.inModule && scope.flags & SCOPE_PROGRAM)\n );\n }\n\n declareName(name: string, bindingType: BindingTypes, pos: number) {\n let scope = this.currentScope();\n if (bindingType & BIND_SCOPE_LEXICAL || bindingType & BIND_SCOPE_FUNCTION) {\n this.checkRedeclarationInScope(scope, name, bindingType, pos);\n\n if (bindingType & BIND_SCOPE_FUNCTION) {\n scope.functions.push(name);\n } else {\n scope.lexical.push(name);\n }\n\n if (bindingType & BIND_SCOPE_LEXICAL) {\n this.maybeExportDefined(scope, name);\n }\n } else if (bindingType & BIND_SCOPE_VAR) {\n for (let i = this.scopeStack.length - 1; i >= 0; --i) {\n scope = this.scopeStack[i];\n this.checkRedeclarationInScope(scope, name, bindingType, pos);\n scope.var.push(name);\n this.maybeExportDefined(scope, name);\n\n if (scope.flags & SCOPE_VAR) break;\n }\n }\n if (this.inModule && scope.flags & SCOPE_PROGRAM) {\n this.undefinedExports.delete(name);\n }\n }\n\n maybeExportDefined(scope: IScope, name: string) {\n if (this.inModule && scope.flags & SCOPE_PROGRAM) {\n this.undefinedExports.delete(name);\n }\n }\n\n checkRedeclarationInScope(\n scope: IScope,\n name: string,\n bindingType: BindingTypes,\n pos: number,\n ) {\n if (this.isRedeclaredInScope(scope, name, bindingType)) {\n this.raise(pos, Errors.VarRedeclaration, name);\n }\n }\n\n isRedeclaredInScope(\n scope: IScope,\n name: string,\n bindingType: BindingTypes,\n ): boolean {\n if (!(bindingType & BIND_KIND_VALUE)) return false;\n\n if (bindingType & BIND_SCOPE_LEXICAL) {\n return (\n scope.lexical.indexOf(name) > -1 ||\n scope.functions.indexOf(name) > -1 ||\n scope.var.indexOf(name) > -1\n );\n }\n\n if (bindingType & BIND_SCOPE_FUNCTION) {\n return (\n scope.lexical.indexOf(name) > -1 ||\n (!this.treatFunctionsAsVarInScope(scope) &&\n scope.var.indexOf(name) > -1)\n );\n }\n\n return (\n (scope.lexical.indexOf(name) > -1 &&\n !(scope.flags & SCOPE_SIMPLE_CATCH && scope.lexical[0] === name)) ||\n (!this.treatFunctionsAsVarInScope(scope) &&\n scope.functions.indexOf(name) > -1)\n );\n }\n\n checkLocalExport(id: N.Identifier) {\n if (\n this.scopeStack[0].lexical.indexOf(id.name) === -1 &&\n this.scopeStack[0].var.indexOf(id.name) === -1 &&\n // In strict mode, scope.functions will always be empty.\n // Modules are strict by default, but the `scriptMode` option\n // can overwrite this behavior.\n this.scopeStack[0].functions.indexOf(id.name) === -1\n ) {\n this.undefinedExports.set(id.name, id.start);\n }\n }\n\n currentScope(): IScope {\n return this.scopeStack[this.scopeStack.length - 1];\n }\n\n // $FlowIgnore\n currentVarScope(): IScope {\n for (let i = this.scopeStack.length - 1; ; i--) {\n const scope = this.scopeStack[i];\n if (scope.flags & SCOPE_VAR) {\n return scope;\n }\n }\n }\n\n // Could be useful for `arguments`, `this`, `new.target`, `super()`, `super.property`, and `super[property]`.\n // $FlowIgnore\n currentThisScope(): IScope {\n for (let i = this.scopeStack.length - 1; ; i--) {\n const scope = this.scopeStack[i];\n if (\n (scope.flags & SCOPE_VAR || scope.flags & SCOPE_CLASS) &&\n !(scope.flags & SCOPE_ARROW)\n ) {\n return scope;\n }\n }\n }\n}\n","// @flow\n\nimport ScopeHandler, { Scope } from \"../../util/scope\";\nimport {\n BIND_KIND_TYPE,\n BIND_FLAGS_TS_ENUM,\n BIND_FLAGS_TS_CONST_ENUM,\n BIND_FLAGS_TS_EXPORT_ONLY,\n BIND_KIND_VALUE,\n BIND_FLAGS_CLASS,\n type ScopeFlags,\n type BindingTypes,\n} from \"../../util/scopeflags\";\nimport * as N from \"../../types\";\n\nclass TypeScriptScope extends Scope {\n types: string[] = [];\n\n // enums (which are also in .types)\n enums: string[] = [];\n\n // const enums (which are also in .enums and .types)\n constEnums: string[] = [];\n\n // classes (which are also in .lexical) and interface (which are also in .types)\n classes: string[] = [];\n\n // namespaces and ambient functions (or classes) are too difficult to track,\n // especially without type analysis.\n // We need to track them anyway, to avoid \"X is not defined\" errors\n // when exporting them.\n exportOnlyBindings: string[] = [];\n}\n\n// See https://github.com/babel/babel/pull/9766#discussion_r268920730 for an\n// explanation of how typescript handles scope.\n\nexport default class TypeScriptScopeHandler extends ScopeHandler {\n createScope(flags: ScopeFlags): TypeScriptScope {\n return new TypeScriptScope(flags);\n }\n\n declareName(name: string, bindingType: BindingTypes, pos: number) {\n const scope = this.currentScope();\n if (bindingType & BIND_FLAGS_TS_EXPORT_ONLY) {\n this.maybeExportDefined(scope, name);\n scope.exportOnlyBindings.push(name);\n return;\n }\n\n super.declareName(...arguments);\n\n if (bindingType & BIND_KIND_TYPE) {\n if (!(bindingType & BIND_KIND_VALUE)) {\n // \"Value\" bindings have already been registered by the superclass.\n this.checkRedeclarationInScope(scope, name, bindingType, pos);\n this.maybeExportDefined(scope, name);\n }\n scope.types.push(name);\n }\n if (bindingType & BIND_FLAGS_TS_ENUM) scope.enums.push(name);\n if (bindingType & BIND_FLAGS_TS_CONST_ENUM) scope.constEnums.push(name);\n if (bindingType & BIND_FLAGS_CLASS) scope.classes.push(name);\n }\n\n isRedeclaredInScope(\n scope: TypeScriptScope,\n name: string,\n bindingType: BindingTypes,\n ): boolean {\n if (scope.enums.indexOf(name) > -1) {\n if (bindingType & BIND_FLAGS_TS_ENUM) {\n // Enums can be merged with other enums if they are both\n // const or both non-const.\n const isConst = !!(bindingType & BIND_FLAGS_TS_CONST_ENUM);\n const wasConst = scope.constEnums.indexOf(name) > -1;\n return isConst !== wasConst;\n }\n return true;\n }\n if (bindingType & BIND_FLAGS_CLASS && scope.classes.indexOf(name) > -1) {\n if (scope.lexical.indexOf(name) > -1) {\n // Classes can be merged with interfaces\n return !!(bindingType & BIND_KIND_VALUE);\n } else {\n // Interface can be merged with other classes or interfaces\n return false;\n }\n }\n if (bindingType & BIND_KIND_TYPE && scope.types.indexOf(name) > -1) {\n return true;\n }\n\n return super.isRedeclaredInScope(...arguments);\n }\n\n checkLocalExport(id: N.Identifier) {\n if (\n this.scopeStack[0].types.indexOf(id.name) === -1 &&\n this.scopeStack[0].exportOnlyBindings.indexOf(id.name) === -1\n ) {\n super.checkLocalExport(id);\n }\n }\n}\n","// @flow\nexport const PARAM = 0b0000, // Initial Parameter flags\n PARAM_YIELD = 0b0001, // track [Yield] production parameter\n PARAM_AWAIT = 0b0010, // track [Await] production parameter\n PARAM_RETURN = 0b0100, // track [Return] production parameter\n PARAM_IN = 0b1000; // track [In] production parameter\n\n// ProductionParameterHandler is a stack fashioned production parameter tracker\n// https://tc39.es/ecma262/#sec-grammar-notation\n// The tracked parameters are defined above.\n//\n// Whenever [+Await]/[+Yield] appears in the right-hand sides of a production,\n// we must enter a new tracking stack. For example when parsing\n//\n// AsyncFunctionDeclaration [Yield, Await]:\n// async [no LineTerminator here] function BindingIdentifier[?Yield, ?Await]\n// ( FormalParameters[~Yield, +Await] ) { AsyncFunctionBody }\n//\n// we must follow such process:\n//\n// 1. parse async keyword\n// 2. parse function keyword\n// 3. parse bindingIdentifier <= inherit current parameters: [?Await]\n// 4. enter new stack with (PARAM_AWAIT)\n// 5. parse formal parameters <= must have [Await] parameter [+Await]\n// 6. parse function body\n// 7. exit current stack\n\nexport type ParamKind = typeof PARAM | typeof PARAM_AWAIT | typeof PARAM_YIELD;\n\nexport default class ProductionParameterHandler {\n stacks: Array = [];\n enter(flags: ParamKind) {\n this.stacks.push(flags);\n }\n\n exit() {\n this.stacks.pop();\n }\n\n currentFlags(): ParamKind {\n return this.stacks[this.stacks.length - 1];\n }\n\n get hasAwait(): boolean {\n return (this.currentFlags() & PARAM_AWAIT) > 0;\n }\n\n get hasYield(): boolean {\n return (this.currentFlags() & PARAM_YIELD) > 0;\n }\n\n get hasReturn(): boolean {\n return (this.currentFlags() & PARAM_RETURN) > 0;\n }\n\n get hasIn(): boolean {\n return (this.currentFlags() & PARAM_IN) > 0;\n }\n}\n\nexport function functionFlags(\n isAsync: boolean,\n isGenerator: boolean,\n): ParamKind {\n return (isAsync ? PARAM_AWAIT : 0) | (isGenerator ? PARAM_YIELD : 0);\n}\n","// @flow\n\n/*:: declare var invariant; */\n\n// Error messages are colocated with the plugin.\n/* eslint-disable @babel/development-internal/dry-error-messages */\n\nimport type { TokenType } from \"../../tokenizer/types\";\nimport type State from \"../../tokenizer/state\";\nimport { types as tt } from \"../../tokenizer/types\";\nimport { types as ct } from \"../../tokenizer/context\";\nimport * as N from \"../../types\";\nimport type { Pos, Position } from \"../../util/location\";\nimport type Parser from \"../../parser\";\nimport {\n type BindingTypes,\n BIND_NONE,\n SCOPE_TS_MODULE,\n SCOPE_OTHER,\n BIND_TS_ENUM,\n BIND_TS_CONST_ENUM,\n BIND_TS_TYPE,\n BIND_TS_INTERFACE,\n BIND_TS_AMBIENT,\n BIND_TS_NAMESPACE,\n BIND_CLASS,\n BIND_LEXICAL,\n} from \"../../util/scopeflags\";\nimport TypeScriptScopeHandler from \"./scope\";\nimport * as charCodes from \"charcodes\";\nimport type { ExpressionErrors } from \"../../parser/util\";\nimport { PARAM } from \"../../util/production-parameter\";\nimport { Errors } from \"../../parser/error\";\n\ntype TsModifier =\n | \"readonly\"\n | \"abstract\"\n | \"declare\"\n | \"static\"\n | \"public\"\n | \"private\"\n | \"protected\";\n\nfunction nonNull(x: ?T): T {\n if (x == null) {\n // $FlowIgnore\n throw new Error(`Unexpected ${x} value.`);\n }\n return x;\n}\n\nfunction assert(x: boolean): void {\n if (!x) {\n throw new Error(\"Assert fail\");\n }\n}\n\ntype ParsingContext =\n | \"EnumMembers\"\n | \"HeritageClauseElement\"\n | \"TupleElementTypes\"\n | \"TypeMembers\"\n | \"TypeParametersOrArguments\";\n\nconst TSErrors = Object.freeze({\n ClassMethodHasDeclare: \"Class methods cannot have the 'declare' modifier\",\n ClassMethodHasReadonly: \"Class methods cannot have the 'readonly' modifier\",\n DeclareClassFieldHasInitializer:\n \"'declare' class fields cannot have an initializer\",\n DuplicateModifier: \"Duplicate modifier: '%0'\",\n EmptyHeritageClauseType: \"'%0' list cannot be empty.\",\n IndexSignatureHasAbstract:\n \"Index signatures cannot have the 'abstract' modifier\",\n IndexSignatureHasAccessibility:\n \"Index signatures cannot have an accessibility modifier ('%0')\",\n IndexSignatureHasStatic: \"Index signatures cannot have the 'static' modifier\",\n InvalidTupleMemberLabel:\n \"Tuple members must be labeled with a simple identifier.\",\n MixedLabeledAndUnlabeledElements:\n \"Tuple members must all have names or all not have names.\",\n OptionalTypeBeforeRequired:\n \"A required element cannot follow an optional element.\",\n PatternIsOptional:\n \"A binding pattern parameter cannot be optional in an implementation signature.\",\n PrivateElementHasAbstract:\n \"Private elements cannot have the 'abstract' modifier.\",\n PrivateElementHasAccessibility:\n \"Private elements cannot have an accessibility modifier ('%0')\",\n TemplateTypeHasSubstitution:\n \"Template literal types cannot have any substitution\",\n TypeAnnotationAfterAssign:\n \"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`\",\n UnexpectedReadonly:\n \"'readonly' type modifier is only permitted on array and tuple literal types.\",\n UnexpectedTypeAnnotation: \"Did not expect a type annotation here.\",\n UnexpectedTypeCastInParameter: \"Unexpected type cast in parameter position.\",\n UnsupportedImportTypeArgument:\n \"Argument in a type import must be a string literal\",\n UnsupportedParameterPropertyKind:\n \"A parameter property may not be declared using a binding pattern.\",\n UnsupportedSignatureParameterKind:\n \"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0\",\n});\n\n// Doesn't handle \"void\" or \"null\" because those are keywords, not identifiers.\nfunction keywordTypeFromName(\n value: string,\n): N.TsKeywordTypeType | typeof undefined {\n switch (value) {\n case \"any\":\n return \"TSAnyKeyword\";\n case \"boolean\":\n return \"TSBooleanKeyword\";\n case \"bigint\":\n return \"TSBigIntKeyword\";\n case \"never\":\n return \"TSNeverKeyword\";\n case \"number\":\n return \"TSNumberKeyword\";\n case \"object\":\n return \"TSObjectKeyword\";\n case \"string\":\n return \"TSStringKeyword\";\n case \"symbol\":\n return \"TSSymbolKeyword\";\n case \"undefined\":\n return \"TSUndefinedKeyword\";\n case \"unknown\":\n return \"TSUnknownKeyword\";\n default:\n return undefined;\n }\n}\n\nexport default (superClass: Class): Class =>\n class extends superClass {\n getScopeHandler(): Class {\n return TypeScriptScopeHandler;\n }\n\n tsIsIdentifier(): boolean {\n // TODO: actually a bit more complex in TypeScript, but shouldn't matter.\n // See https://github.com/Microsoft/TypeScript/issues/15008\n return this.match(tt.name);\n }\n\n tsNextTokenCanFollowModifier() {\n // Note: TypeScript's implementation is much more complicated because\n // more things are considered modifiers there.\n // This implementation only handles modifiers not handled by @babel/parser itself. And \"static\".\n // TODO: Would be nice to avoid lookahead. Want a hasLineBreakUpNext() method...\n this.next();\n return (\n !this.hasPrecedingLineBreak() &&\n !this.match(tt.parenL) &&\n !this.match(tt.parenR) &&\n !this.match(tt.colon) &&\n !this.match(tt.eq) &&\n !this.match(tt.question) &&\n !this.match(tt.bang)\n );\n }\n\n /** Parses a modifier matching one the given modifier names. */\n tsParseModifier(allowedModifiers: T[]): ?T {\n if (!this.match(tt.name)) {\n return undefined;\n }\n\n const modifier = this.state.value;\n if (\n allowedModifiers.indexOf(modifier) !== -1 &&\n this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))\n ) {\n return modifier;\n }\n return undefined;\n }\n\n /** Parses a list of modifiers, in any order.\n * If you need a specific order, you must call this function multiple times:\n * this.tsParseModifiers(node, [\"public\"]);\n * this.tsParseModifiers(node, [\"abstract\", \"readonly\"]);\n */\n tsParseModifiers(\n modified: { [key: TsModifier]: ?true },\n allowedModifiers: T[],\n ): void {\n for (;;) {\n const startPos = this.state.start;\n const modifier: ?T = this.tsParseModifier(allowedModifiers);\n\n if (!modifier) break;\n\n if (Object.hasOwnProperty.call(modified, modifier)) {\n this.raise(startPos, TSErrors.DuplicateModifier, modifier);\n }\n modified[modifier] = true;\n }\n }\n\n tsIsListTerminator(kind: ParsingContext): boolean {\n switch (kind) {\n case \"EnumMembers\":\n case \"TypeMembers\":\n return this.match(tt.braceR);\n case \"HeritageClauseElement\":\n return this.match(tt.braceL);\n case \"TupleElementTypes\":\n return this.match(tt.bracketR);\n case \"TypeParametersOrArguments\":\n return this.isRelational(\">\");\n }\n\n throw new Error(\"Unreachable\");\n }\n\n tsParseList(kind: ParsingContext, parseElement: () => T): T[] {\n const result: T[] = [];\n while (!this.tsIsListTerminator(kind)) {\n // Skipping \"parseListElement\" from the TS source since that's just for error handling.\n result.push(parseElement());\n }\n return result;\n }\n\n tsParseDelimitedList(\n kind: ParsingContext,\n parseElement: () => T,\n ): T[] {\n return nonNull(\n this.tsParseDelimitedListWorker(\n kind,\n parseElement,\n /* expectSuccess */ true,\n ),\n );\n }\n\n /**\n * If !expectSuccess, returns undefined instead of failing to parse.\n * If expectSuccess, parseElement should always return a defined value.\n */\n tsParseDelimitedListWorker(\n kind: ParsingContext,\n parseElement: () => ?T,\n expectSuccess: boolean,\n ): ?(T[]) {\n const result = [];\n\n for (;;) {\n if (this.tsIsListTerminator(kind)) {\n break;\n }\n\n const element = parseElement();\n if (element == null) {\n return undefined;\n }\n result.push(element);\n\n if (this.eat(tt.comma)) {\n continue;\n }\n\n if (this.tsIsListTerminator(kind)) {\n break;\n }\n\n if (expectSuccess) {\n // This will fail with an error about a missing comma\n this.expect(tt.comma);\n }\n return undefined;\n }\n\n return result;\n }\n\n tsParseBracketedList(\n kind: ParsingContext,\n parseElement: () => T,\n bracket: boolean,\n skipFirstToken: boolean,\n ): T[] {\n if (!skipFirstToken) {\n if (bracket) {\n this.expect(tt.bracketL);\n } else {\n this.expectRelational(\"<\");\n }\n }\n\n const result = this.tsParseDelimitedList(kind, parseElement);\n\n if (bracket) {\n this.expect(tt.bracketR);\n } else {\n this.expectRelational(\">\");\n }\n\n return result;\n }\n\n tsParseImportType(): N.TsImportType {\n const node: N.TsImportType = this.startNode();\n this.expect(tt._import);\n this.expect(tt.parenL);\n if (!this.match(tt.string)) {\n this.raise(this.state.start, TSErrors.UnsupportedImportTypeArgument);\n }\n\n // For compatibility to estree we cannot call parseLiteral directly here\n node.argument = this.parseExprAtom();\n this.expect(tt.parenR);\n\n if (this.eat(tt.dot)) {\n node.qualifier = this.tsParseEntityName(/* allowReservedWords */ true);\n }\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.tsParseTypeArguments();\n }\n return this.finishNode(node, \"TSImportType\");\n }\n\n tsParseEntityName(allowReservedWords: boolean): N.TsEntityName {\n let entity: N.TsEntityName = this.parseIdentifier();\n while (this.eat(tt.dot)) {\n const node: N.TsQualifiedName = this.startNodeAtNode(entity);\n node.left = entity;\n node.right = this.parseIdentifier(allowReservedWords);\n entity = this.finishNode(node, \"TSQualifiedName\");\n }\n return entity;\n }\n\n tsParseTypeReference(): N.TsTypeReference {\n const node: N.TsTypeReference = this.startNode();\n node.typeName = this.tsParseEntityName(/* allowReservedWords */ false);\n if (!this.hasPrecedingLineBreak() && this.isRelational(\"<\")) {\n node.typeParameters = this.tsParseTypeArguments();\n }\n return this.finishNode(node, \"TSTypeReference\");\n }\n\n tsParseThisTypePredicate(lhs: N.TsThisType): N.TsTypePredicate {\n this.next();\n const node: N.TsTypePredicate = this.startNodeAtNode(lhs);\n node.parameterName = lhs;\n node.typeAnnotation = this.tsParseTypeAnnotation(/* eatColon */ false);\n return this.finishNode(node, \"TSTypePredicate\");\n }\n\n tsParseThisTypeNode(): N.TsThisType {\n const node: N.TsThisType = this.startNode();\n this.next();\n return this.finishNode(node, \"TSThisType\");\n }\n\n tsParseTypeQuery(): N.TsTypeQuery {\n const node: N.TsTypeQuery = this.startNode();\n this.expect(tt._typeof);\n if (this.match(tt._import)) {\n node.exprName = this.tsParseImportType();\n } else {\n node.exprName = this.tsParseEntityName(/* allowReservedWords */ true);\n }\n return this.finishNode(node, \"TSTypeQuery\");\n }\n\n tsParseTypeParameter(): N.TsTypeParameter {\n const node: N.TsTypeParameter = this.startNode();\n node.name = this.parseIdentifierName(node.start);\n node.constraint = this.tsEatThenParseType(tt._extends);\n node.default = this.tsEatThenParseType(tt.eq);\n return this.finishNode(node, \"TSTypeParameter\");\n }\n\n tsTryParseTypeParameters(): ?N.TsTypeParameterDeclaration {\n if (this.isRelational(\"<\")) {\n return this.tsParseTypeParameters();\n }\n }\n\n tsParseTypeParameters() {\n const node: N.TsTypeParameterDeclaration = this.startNode();\n\n if (this.isRelational(\"<\") || this.match(tt.jsxTagStart)) {\n this.next();\n } else {\n this.unexpected();\n }\n\n node.params = this.tsParseBracketedList(\n \"TypeParametersOrArguments\",\n this.tsParseTypeParameter.bind(this),\n /* bracket */ false,\n /* skipFirstToken */ true,\n );\n return this.finishNode(node, \"TSTypeParameterDeclaration\");\n }\n\n tsTryNextParseConstantContext(): ?N.TsTypeReference {\n if (this.lookahead().type === tt._const) {\n this.next();\n return this.tsParseTypeReference();\n }\n return null;\n }\n\n // Note: In TypeScript implementation we must provide `yieldContext` and `awaitContext`,\n // but here it's always false, because this is only used for types.\n tsFillSignature(\n returnToken: TokenType,\n signature: N.TsSignatureDeclaration,\n ): void {\n // Arrow fns *must* have return token (`=>`). Normal functions can omit it.\n const returnTokenRequired = returnToken === tt.arrow;\n signature.typeParameters = this.tsTryParseTypeParameters();\n this.expect(tt.parenL);\n signature.parameters = this.tsParseBindingListForSignature();\n if (returnTokenRequired) {\n signature.typeAnnotation = this.tsParseTypeOrTypePredicateAnnotation(\n returnToken,\n );\n } else if (this.match(returnToken)) {\n signature.typeAnnotation = this.tsParseTypeOrTypePredicateAnnotation(\n returnToken,\n );\n }\n }\n\n tsParseBindingListForSignature(): $ReadOnlyArray<\n N.Identifier | N.RestElement | N.ObjectPattern | N.ArrayPattern,\n > {\n return this.parseBindingList(tt.parenR, charCodes.rightParenthesis).map(\n pattern => {\n if (\n pattern.type !== \"Identifier\" &&\n pattern.type !== \"RestElement\" &&\n pattern.type !== \"ObjectPattern\" &&\n pattern.type !== \"ArrayPattern\"\n ) {\n this.raise(\n pattern.start,\n TSErrors.UnsupportedSignatureParameterKind,\n pattern.type,\n );\n }\n return (pattern: any);\n },\n );\n }\n\n tsParseTypeMemberSemicolon(): void {\n if (!this.eat(tt.comma)) {\n this.semicolon();\n }\n }\n\n tsParseSignatureMember(\n kind: \"TSCallSignatureDeclaration\" | \"TSConstructSignatureDeclaration\",\n node: N.TsCallSignatureDeclaration | N.TsConstructSignatureDeclaration,\n ): N.TsCallSignatureDeclaration | N.TsConstructSignatureDeclaration {\n this.tsFillSignature(tt.colon, node);\n this.tsParseTypeMemberSemicolon();\n return this.finishNode(node, kind);\n }\n\n tsIsUnambiguouslyIndexSignature() {\n this.next(); // Skip '{'\n return this.eat(tt.name) && this.match(tt.colon);\n }\n\n tsTryParseIndexSignature(node: N.Node): ?N.TsIndexSignature {\n if (\n !(\n this.match(tt.bracketL) &&\n this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))\n )\n ) {\n return undefined;\n }\n\n this.expect(tt.bracketL);\n const id = this.parseIdentifier();\n id.typeAnnotation = this.tsParseTypeAnnotation();\n this.resetEndLocation(id); // set end position to end of type\n\n this.expect(tt.bracketR);\n node.parameters = [id];\n\n const type = this.tsTryParseTypeAnnotation();\n if (type) node.typeAnnotation = type;\n this.tsParseTypeMemberSemicolon();\n return this.finishNode(node, \"TSIndexSignature\");\n }\n\n tsParsePropertyOrMethodSignature(\n node: N.TsPropertySignature | N.TsMethodSignature,\n readonly: boolean,\n ): N.TsPropertySignature | N.TsMethodSignature {\n if (this.eat(tt.question)) node.optional = true;\n const nodeAny: any = node;\n\n if (!readonly && (this.match(tt.parenL) || this.isRelational(\"<\"))) {\n const method: N.TsMethodSignature = nodeAny;\n this.tsFillSignature(tt.colon, method);\n this.tsParseTypeMemberSemicolon();\n return this.finishNode(method, \"TSMethodSignature\");\n } else {\n const property: N.TsPropertySignature = nodeAny;\n if (readonly) property.readonly = true;\n const type = this.tsTryParseTypeAnnotation();\n if (type) property.typeAnnotation = type;\n this.tsParseTypeMemberSemicolon();\n return this.finishNode(property, \"TSPropertySignature\");\n }\n }\n\n tsParseTypeMember(): N.TsTypeElement {\n const node: any = this.startNode();\n\n if (this.match(tt.parenL) || this.isRelational(\"<\")) {\n return this.tsParseSignatureMember(\"TSCallSignatureDeclaration\", node);\n }\n\n if (this.match(tt._new)) {\n const id: N.Identifier = this.startNode();\n this.next();\n if (this.match(tt.parenL) || this.isRelational(\"<\")) {\n return this.tsParseSignatureMember(\n \"TSConstructSignatureDeclaration\",\n node,\n );\n } else {\n node.key = this.createIdentifier(id, \"new\");\n return this.tsParsePropertyOrMethodSignature(node, false);\n }\n }\n\n const readonly = !!this.tsParseModifier([\"readonly\"]);\n\n const idx = this.tsTryParseIndexSignature(node);\n if (idx) {\n if (readonly) node.readonly = true;\n return idx;\n }\n\n this.parsePropertyName(node, /* isPrivateNameAllowed */ false);\n return this.tsParsePropertyOrMethodSignature(node, readonly);\n }\n\n tsParseTypeLiteral(): N.TsTypeLiteral {\n const node: N.TsTypeLiteral = this.startNode();\n node.members = this.tsParseObjectTypeMembers();\n return this.finishNode(node, \"TSTypeLiteral\");\n }\n\n tsParseObjectTypeMembers(): $ReadOnlyArray {\n this.expect(tt.braceL);\n const members = this.tsParseList(\n \"TypeMembers\",\n this.tsParseTypeMember.bind(this),\n );\n this.expect(tt.braceR);\n return members;\n }\n\n tsIsStartOfMappedType(): boolean {\n this.next();\n if (this.eat(tt.plusMin)) {\n return this.isContextual(\"readonly\");\n }\n if (this.isContextual(\"readonly\")) {\n this.next();\n }\n if (!this.match(tt.bracketL)) {\n return false;\n }\n this.next();\n if (!this.tsIsIdentifier()) {\n return false;\n }\n this.next();\n return this.match(tt._in);\n }\n\n tsParseMappedTypeParameter(): N.TsTypeParameter {\n const node: N.TsTypeParameter = this.startNode();\n node.name = this.parseIdentifierName(node.start);\n node.constraint = this.tsExpectThenParseType(tt._in);\n return this.finishNode(node, \"TSTypeParameter\");\n }\n\n tsParseMappedType(): N.TsMappedType {\n const node: N.TsMappedType = this.startNode();\n\n this.expect(tt.braceL);\n\n if (this.match(tt.plusMin)) {\n node.readonly = this.state.value;\n this.next();\n this.expectContextual(\"readonly\");\n } else if (this.eatContextual(\"readonly\")) {\n node.readonly = true;\n }\n\n this.expect(tt.bracketL);\n node.typeParameter = this.tsParseMappedTypeParameter();\n this.expect(tt.bracketR);\n\n if (this.match(tt.plusMin)) {\n node.optional = this.state.value;\n this.next();\n this.expect(tt.question);\n } else if (this.eat(tt.question)) {\n node.optional = true;\n }\n\n node.typeAnnotation = this.tsTryParseType();\n this.semicolon();\n this.expect(tt.braceR);\n\n return this.finishNode(node, \"TSMappedType\");\n }\n\n tsParseTupleType(): N.TsTupleType {\n const node: N.TsTupleType = this.startNode();\n node.elementTypes = this.tsParseBracketedList(\n \"TupleElementTypes\",\n this.tsParseTupleElementType.bind(this),\n /* bracket */ true,\n /* skipFirstToken */ false,\n );\n\n // Validate the elementTypes to ensure that no mandatory elements\n // follow optional elements\n let seenOptionalElement = false;\n let labeledElements = null;\n node.elementTypes.forEach(elementNode => {\n let { type } = elementNode;\n\n if (\n seenOptionalElement &&\n type !== \"TSRestType\" &&\n type !== \"TSOptionalType\" &&\n !(type === \"TSNamedTupleMember\" && elementNode.optional)\n ) {\n this.raise(elementNode.start, TSErrors.OptionalTypeBeforeRequired);\n }\n\n // Flow doesn't support ||=\n seenOptionalElement =\n seenOptionalElement ||\n (type === \"TSNamedTupleMember\" && elementNode.optional) ||\n type === \"TSOptionalType\";\n\n // When checking labels, check the argument of the spread operator\n if (type === \"TSRestType\") {\n elementNode = elementNode.typeAnnotation;\n type = elementNode.type;\n }\n\n const isLabeled = type === \"TSNamedTupleMember\";\n // Flow doesn't support ??=\n labeledElements = labeledElements ?? isLabeled;\n if (labeledElements !== isLabeled) {\n this.raise(\n elementNode.start,\n TSErrors.MixedLabeledAndUnlabeledElements,\n );\n }\n });\n\n return this.finishNode(node, \"TSTupleType\");\n }\n\n tsParseTupleElementType(): N.TsType | N.TsNamedTupleMember {\n // parses `...TsType[]`\n\n const { start: startPos, startLoc } = this.state;\n\n const rest = this.eat(tt.ellipsis);\n let type = this.tsParseType();\n const optional = this.eat(tt.question);\n const labeled = this.eat(tt.colon);\n\n if (labeled) {\n const labeledNode: N.TsNamedTupleMember = this.startNodeAtNode(type);\n labeledNode.optional = optional;\n\n if (\n type.type === \"TSTypeReference\" &&\n !type.typeParameters &&\n type.typeName.type === \"Identifier\"\n ) {\n labeledNode.label = (type.typeName: N.Identifier);\n } else {\n this.raise(type.start, TSErrors.InvalidTupleMemberLabel);\n // This produces an invalid AST, but at least we don't drop\n // nodes representing the invalid source.\n // $FlowIgnore\n labeledNode.label = type;\n }\n\n labeledNode.elementType = this.tsParseType();\n type = this.finishNode(labeledNode, \"TSNamedTupleMember\");\n } else if (optional) {\n const optionalTypeNode: N.TsOptionalType = this.startNodeAtNode(type);\n optionalTypeNode.typeAnnotation = type;\n type = this.finishNode(optionalTypeNode, \"TSOptionalType\");\n }\n\n if (rest) {\n const restNode: N.TsRestType = this.startNodeAt(startPos, startLoc);\n restNode.typeAnnotation = type;\n type = this.finishNode(restNode, \"TSRestType\");\n }\n\n return type;\n }\n\n tsParseParenthesizedType(): N.TsParenthesizedType {\n const node = this.startNode();\n this.expect(tt.parenL);\n node.typeAnnotation = this.tsParseType();\n this.expect(tt.parenR);\n return this.finishNode(node, \"TSParenthesizedType\");\n }\n\n tsParseFunctionOrConstructorType(\n type: \"TSFunctionType\" | \"TSConstructorType\",\n ): N.TsFunctionOrConstructorType {\n const node: N.TsFunctionOrConstructorType = this.startNode();\n if (type === \"TSConstructorType\") {\n this.expect(tt._new);\n }\n this.tsFillSignature(tt.arrow, node);\n return this.finishNode(node, type);\n }\n\n tsParseLiteralTypeNode(): N.TsLiteralType {\n const node: N.TsLiteralType = this.startNode();\n node.literal = (() => {\n switch (this.state.type) {\n case tt.num:\n case tt.bigint:\n case tt.string:\n case tt._true:\n case tt._false:\n // For compatibility to estree we cannot call parseLiteral directly here\n return this.parseExprAtom();\n default:\n throw this.unexpected();\n }\n })();\n return this.finishNode(node, \"TSLiteralType\");\n }\n\n tsParseTemplateLiteralType(): N.TsType {\n const node: N.TsLiteralType = this.startNode();\n const templateNode = this.parseTemplate(false);\n if (templateNode.expressions.length > 0) {\n this.raise(\n templateNode.expressions[0].start,\n TSErrors.TemplateTypeHasSubstitution,\n );\n }\n node.literal = templateNode;\n return this.finishNode(node, \"TSLiteralType\");\n }\n\n tsParseThisTypeOrThisTypePredicate(): N.TsThisType | N.TsTypePredicate {\n const thisKeyword = this.tsParseThisTypeNode();\n if (this.isContextual(\"is\") && !this.hasPrecedingLineBreak()) {\n return this.tsParseThisTypePredicate(thisKeyword);\n } else {\n return thisKeyword;\n }\n }\n\n tsParseNonArrayType(): N.TsType {\n switch (this.state.type) {\n case tt.name:\n case tt._void:\n case tt._null: {\n const type = this.match(tt._void)\n ? \"TSVoidKeyword\"\n : this.match(tt._null)\n ? \"TSNullKeyword\"\n : keywordTypeFromName(this.state.value);\n if (\n type !== undefined &&\n this.lookaheadCharCode() !== charCodes.dot\n ) {\n const node: N.TsKeywordType = this.startNode();\n this.next();\n return this.finishNode(node, type);\n }\n return this.tsParseTypeReference();\n }\n case tt.string:\n case tt.num:\n case tt.bigint:\n case tt._true:\n case tt._false:\n return this.tsParseLiteralTypeNode();\n case tt.plusMin:\n if (this.state.value === \"-\") {\n const node: N.TsLiteralType = this.startNode();\n const nextToken = this.lookahead();\n if (nextToken.type !== tt.num && nextToken.type !== tt.bigint) {\n throw this.unexpected();\n }\n node.literal = this.parseMaybeUnary();\n return this.finishNode(node, \"TSLiteralType\");\n }\n break;\n case tt._this:\n return this.tsParseThisTypeOrThisTypePredicate();\n case tt._typeof:\n return this.tsParseTypeQuery();\n case tt._import:\n return this.tsParseImportType();\n case tt.braceL:\n return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))\n ? this.tsParseMappedType()\n : this.tsParseTypeLiteral();\n case tt.bracketL:\n return this.tsParseTupleType();\n case tt.parenL:\n return this.tsParseParenthesizedType();\n case tt.backQuote:\n return this.tsParseTemplateLiteralType();\n }\n\n throw this.unexpected();\n }\n\n tsParseArrayTypeOrHigher(): N.TsType {\n let type = this.tsParseNonArrayType();\n while (!this.hasPrecedingLineBreak() && this.eat(tt.bracketL)) {\n if (this.match(tt.bracketR)) {\n const node: N.TsArrayType = this.startNodeAtNode(type);\n node.elementType = type;\n this.expect(tt.bracketR);\n type = this.finishNode(node, \"TSArrayType\");\n } else {\n const node: N.TsIndexedAccessType = this.startNodeAtNode(type);\n node.objectType = type;\n node.indexType = this.tsParseType();\n this.expect(tt.bracketR);\n type = this.finishNode(node, \"TSIndexedAccessType\");\n }\n }\n return type;\n }\n\n tsParseTypeOperator(\n operator: \"keyof\" | \"unique\" | \"readonly\",\n ): N.TsTypeOperator {\n const node: N.TsTypeOperator = this.startNode();\n this.expectContextual(operator);\n node.operator = operator;\n node.typeAnnotation = this.tsParseTypeOperatorOrHigher();\n\n if (operator === \"readonly\") {\n this.tsCheckTypeAnnotationForReadOnly(node);\n }\n\n return this.finishNode(node, \"TSTypeOperator\");\n }\n\n tsCheckTypeAnnotationForReadOnly(node: N.Node) {\n switch (node.typeAnnotation.type) {\n case \"TSTupleType\":\n case \"TSArrayType\":\n return;\n default:\n this.raise(node.start, TSErrors.UnexpectedReadonly);\n }\n }\n\n tsParseInferType(): N.TsInferType {\n const node = this.startNode();\n this.expectContextual(\"infer\");\n const typeParameter = this.startNode();\n typeParameter.name = this.parseIdentifierName(typeParameter.start);\n node.typeParameter = this.finishNode(typeParameter, \"TSTypeParameter\");\n return this.finishNode(node, \"TSInferType\");\n }\n\n tsParseTypeOperatorOrHigher(): N.TsType {\n const operator = [\"keyof\", \"unique\", \"readonly\"].find(kw =>\n this.isContextual(kw),\n );\n return operator\n ? this.tsParseTypeOperator(operator)\n : this.isContextual(\"infer\")\n ? this.tsParseInferType()\n : this.tsParseArrayTypeOrHigher();\n }\n\n tsParseUnionOrIntersectionType(\n kind: \"TSUnionType\" | \"TSIntersectionType\",\n parseConstituentType: () => N.TsType,\n operator: TokenType,\n ): N.TsType {\n this.eat(operator);\n let type = parseConstituentType();\n if (this.match(operator)) {\n const types = [type];\n while (this.eat(operator)) {\n types.push(parseConstituentType());\n }\n const node: N.TsUnionType | N.TsIntersectionType = this.startNodeAtNode(\n type,\n );\n node.types = types;\n type = this.finishNode(node, kind);\n }\n return type;\n }\n\n tsParseIntersectionTypeOrHigher(): N.TsType {\n return this.tsParseUnionOrIntersectionType(\n \"TSIntersectionType\",\n this.tsParseTypeOperatorOrHigher.bind(this),\n tt.bitwiseAND,\n );\n }\n\n tsParseUnionTypeOrHigher() {\n return this.tsParseUnionOrIntersectionType(\n \"TSUnionType\",\n this.tsParseIntersectionTypeOrHigher.bind(this),\n tt.bitwiseOR,\n );\n }\n\n tsIsStartOfFunctionType() {\n if (this.isRelational(\"<\")) {\n return true;\n }\n return (\n this.match(tt.parenL) &&\n this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))\n );\n }\n\n tsSkipParameterStart(): boolean {\n if (this.match(tt.name) || this.match(tt._this)) {\n this.next();\n return true;\n }\n\n if (this.match(tt.braceL)) {\n let braceStackCounter = 1;\n this.next();\n\n while (braceStackCounter > 0) {\n if (this.match(tt.braceL)) {\n ++braceStackCounter;\n } else if (this.match(tt.braceR)) {\n --braceStackCounter;\n }\n this.next();\n }\n return true;\n }\n\n if (this.match(tt.bracketL)) {\n let braceStackCounter = 1;\n this.next();\n\n while (braceStackCounter > 0) {\n if (this.match(tt.bracketL)) {\n ++braceStackCounter;\n } else if (this.match(tt.bracketR)) {\n --braceStackCounter;\n }\n this.next();\n }\n return true;\n }\n\n return false;\n }\n\n tsIsUnambiguouslyStartOfFunctionType(): boolean {\n this.next();\n if (this.match(tt.parenR) || this.match(tt.ellipsis)) {\n // ( )\n // ( ...\n return true;\n }\n if (this.tsSkipParameterStart()) {\n if (\n this.match(tt.colon) ||\n this.match(tt.comma) ||\n this.match(tt.question) ||\n this.match(tt.eq)\n ) {\n // ( xxx :\n // ( xxx ,\n // ( xxx ?\n // ( xxx =\n return true;\n }\n if (this.match(tt.parenR)) {\n this.next();\n if (this.match(tt.arrow)) {\n // ( xxx ) =>\n return true;\n }\n }\n }\n return false;\n }\n\n tsParseTypeOrTypePredicateAnnotation(\n returnToken: TokenType,\n ): N.TsTypeAnnotation {\n return this.tsInType(() => {\n const t: N.TsTypeAnnotation = this.startNode();\n this.expect(returnToken);\n\n const asserts = this.tsTryParse(\n this.tsParseTypePredicateAsserts.bind(this),\n );\n\n if (asserts && this.match(tt._this)) {\n // When asserts is false, thisKeyword is handled by tsParseNonArrayType\n // : asserts this is type\n let thisTypePredicate = this.tsParseThisTypeOrThisTypePredicate();\n // if it turns out to be a `TSThisType`, wrap it with `TSTypePredicate`\n // : asserts this\n if (thisTypePredicate.type === \"TSThisType\") {\n const node: N.TsTypePredicate = this.startNodeAtNode(t);\n node.parameterName = (thisTypePredicate: N.TsThisType);\n node.asserts = true;\n thisTypePredicate = this.finishNode(node, \"TSTypePredicate\");\n } else {\n (thisTypePredicate: N.TsTypePredicate).asserts = true;\n }\n t.typeAnnotation = thisTypePredicate;\n return this.finishNode(t, \"TSTypeAnnotation\");\n }\n\n const typePredicateVariable =\n this.tsIsIdentifier() &&\n this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));\n\n if (!typePredicateVariable) {\n if (!asserts) {\n // : type\n return this.tsParseTypeAnnotation(/* eatColon */ false, t);\n }\n\n const node: N.TsTypePredicate = this.startNodeAtNode(t);\n // : asserts foo\n node.parameterName = this.parseIdentifier();\n node.asserts = asserts;\n t.typeAnnotation = this.finishNode(node, \"TSTypePredicate\");\n return this.finishNode(t, \"TSTypeAnnotation\");\n }\n\n // : asserts foo is type\n const type = this.tsParseTypeAnnotation(/* eatColon */ false);\n const node = this.startNodeAtNode(t);\n node.parameterName = typePredicateVariable;\n node.typeAnnotation = type;\n node.asserts = asserts;\n t.typeAnnotation = this.finishNode(node, \"TSTypePredicate\");\n return this.finishNode(t, \"TSTypeAnnotation\");\n });\n }\n\n tsTryParseTypeOrTypePredicateAnnotation(): ?N.TsTypeAnnotation {\n return this.match(tt.colon)\n ? this.tsParseTypeOrTypePredicateAnnotation(tt.colon)\n : undefined;\n }\n\n tsTryParseTypeAnnotation(): ?N.TsTypeAnnotation {\n return this.match(tt.colon) ? this.tsParseTypeAnnotation() : undefined;\n }\n\n tsTryParseType(): ?N.TsType {\n return this.tsEatThenParseType(tt.colon);\n }\n\n tsParseTypePredicatePrefix(): ?N.Identifier {\n const id = this.parseIdentifier();\n if (this.isContextual(\"is\") && !this.hasPrecedingLineBreak()) {\n this.next();\n return id;\n }\n }\n\n tsParseTypePredicateAsserts(): boolean {\n if (\n !this.match(tt.name) ||\n this.state.value !== \"asserts\" ||\n this.hasPrecedingLineBreak()\n ) {\n return false;\n }\n const containsEsc = this.state.containsEsc;\n this.next();\n if (!this.match(tt.name) && !this.match(tt._this)) {\n return false;\n }\n\n if (containsEsc) {\n this.raise(\n this.state.lastTokStart,\n Errors.InvalidEscapedReservedWord,\n \"asserts\",\n );\n }\n\n return true;\n }\n\n tsParseTypeAnnotation(\n eatColon = true,\n t: N.TsTypeAnnotation = this.startNode(),\n ): N.TsTypeAnnotation {\n this.tsInType(() => {\n if (eatColon) this.expect(tt.colon);\n t.typeAnnotation = this.tsParseType();\n });\n return this.finishNode(t, \"TSTypeAnnotation\");\n }\n\n /** Be sure to be in a type context before calling this, using `tsInType`. */\n tsParseType(): N.TsType {\n // Need to set `state.inType` so that we don't parse JSX in a type context.\n assert(this.state.inType);\n const type = this.tsParseNonConditionalType();\n if (this.hasPrecedingLineBreak() || !this.eat(tt._extends)) {\n return type;\n }\n const node: N.TsConditionalType = this.startNodeAtNode(type);\n node.checkType = type;\n node.extendsType = this.tsParseNonConditionalType();\n this.expect(tt.question);\n node.trueType = this.tsParseType();\n this.expect(tt.colon);\n node.falseType = this.tsParseType();\n return this.finishNode(node, \"TSConditionalType\");\n }\n\n tsParseNonConditionalType(): N.TsType {\n if (this.tsIsStartOfFunctionType()) {\n return this.tsParseFunctionOrConstructorType(\"TSFunctionType\");\n }\n if (this.match(tt._new)) {\n // As in `new () => Date`\n return this.tsParseFunctionOrConstructorType(\"TSConstructorType\");\n }\n return this.tsParseUnionTypeOrHigher();\n }\n\n tsParseTypeAssertion(): N.TsTypeAssertion {\n const node: N.TsTypeAssertion = this.startNode();\n const _const = this.tsTryNextParseConstantContext();\n node.typeAnnotation = _const || this.tsNextThenParseType();\n this.expectRelational(\">\");\n node.expression = this.parseMaybeUnary();\n return this.finishNode(node, \"TSTypeAssertion\");\n }\n\n tsParseHeritageClause(\n descriptor: string,\n ): $ReadOnlyArray {\n const originalStart = this.state.start;\n\n const delimitedList = this.tsParseDelimitedList(\n \"HeritageClauseElement\",\n this.tsParseExpressionWithTypeArguments.bind(this),\n );\n\n if (!delimitedList.length) {\n this.raise(originalStart, TSErrors.EmptyHeritageClauseType, descriptor);\n }\n\n return delimitedList;\n }\n\n tsParseExpressionWithTypeArguments(): N.TsExpressionWithTypeArguments {\n const node: N.TsExpressionWithTypeArguments = this.startNode();\n // Note: TS uses parseLeftHandSideExpressionOrHigher,\n // then has grammar errors later if it's not an EntityName.\n node.expression = this.tsParseEntityName(/* allowReservedWords */ false);\n if (this.isRelational(\"<\")) {\n node.typeParameters = this.tsParseTypeArguments();\n }\n\n return this.finishNode(node, \"TSExpressionWithTypeArguments\");\n }\n\n tsParseInterfaceDeclaration(\n node: N.TsInterfaceDeclaration,\n ): N.TsInterfaceDeclaration {\n node.id = this.parseIdentifier();\n this.checkLVal(\n node.id,\n BIND_TS_INTERFACE,\n undefined,\n \"typescript interface declaration\",\n );\n node.typeParameters = this.tsTryParseTypeParameters();\n if (this.eat(tt._extends)) {\n node.extends = this.tsParseHeritageClause(\"extends\");\n }\n const body: N.TSInterfaceBody = this.startNode();\n body.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this));\n node.body = this.finishNode(body, \"TSInterfaceBody\");\n return this.finishNode(node, \"TSInterfaceDeclaration\");\n }\n\n tsParseTypeAliasDeclaration(\n node: N.TsTypeAliasDeclaration,\n ): N.TsTypeAliasDeclaration {\n node.id = this.parseIdentifier();\n this.checkLVal(node.id, BIND_TS_TYPE, undefined, \"typescript type alias\");\n\n node.typeParameters = this.tsTryParseTypeParameters();\n node.typeAnnotation = this.tsExpectThenParseType(tt.eq);\n this.semicolon();\n return this.finishNode(node, \"TSTypeAliasDeclaration\");\n }\n\n tsInNoContext(cb: () => T): T {\n const oldContext = this.state.context;\n this.state.context = [oldContext[0]];\n try {\n return cb();\n } finally {\n this.state.context = oldContext;\n }\n }\n\n /**\n * Runs `cb` in a type context.\n * This should be called one token *before* the first type token,\n * so that the call to `next()` is run in type context.\n */\n tsInType(cb: () => T): T {\n const oldInType = this.state.inType;\n this.state.inType = true;\n try {\n return cb();\n } finally {\n this.state.inType = oldInType;\n }\n }\n\n tsEatThenParseType(token: TokenType): N.TsType | typeof undefined {\n return !this.match(token) ? undefined : this.tsNextThenParseType();\n }\n\n tsExpectThenParseType(token: TokenType): N.TsType {\n return this.tsDoThenParseType(() => this.expect(token));\n }\n\n tsNextThenParseType(): N.TsType {\n return this.tsDoThenParseType(() => this.next());\n }\n\n tsDoThenParseType(cb: () => void): N.TsType {\n return this.tsInType(() => {\n cb();\n return this.tsParseType();\n });\n }\n\n tsParseEnumMember(): N.TsEnumMember {\n const node: N.TsEnumMember = this.startNode();\n // Computed property names are grammar errors in an enum, so accept just string literal or identifier.\n node.id = this.match(tt.string)\n ? this.parseExprAtom()\n : this.parseIdentifier(/* liberal */ true);\n if (this.eat(tt.eq)) {\n node.initializer = this.parseMaybeAssignAllowIn();\n }\n return this.finishNode(node, \"TSEnumMember\");\n }\n\n tsParseEnumDeclaration(\n node: N.TsEnumDeclaration,\n isConst: boolean,\n ): N.TsEnumDeclaration {\n if (isConst) node.const = true;\n node.id = this.parseIdentifier();\n this.checkLVal(\n node.id,\n isConst ? BIND_TS_CONST_ENUM : BIND_TS_ENUM,\n undefined,\n \"typescript enum declaration\",\n );\n\n this.expect(tt.braceL);\n node.members = this.tsParseDelimitedList(\n \"EnumMembers\",\n this.tsParseEnumMember.bind(this),\n );\n this.expect(tt.braceR);\n return this.finishNode(node, \"TSEnumDeclaration\");\n }\n\n tsParseModuleBlock(): N.TsModuleBlock {\n const node: N.TsModuleBlock = this.startNode();\n this.scope.enter(SCOPE_OTHER);\n\n this.expect(tt.braceL);\n // Inside of a module block is considered \"top-level\", meaning it can have imports and exports.\n this.parseBlockOrModuleBlockBody(\n (node.body = []),\n /* directives */ undefined,\n /* topLevel */ true,\n /* end */ tt.braceR,\n );\n this.scope.exit();\n return this.finishNode(node, \"TSModuleBlock\");\n }\n\n tsParseModuleOrNamespaceDeclaration(\n node: N.TsModuleDeclaration,\n nested?: boolean = false,\n ): N.TsModuleDeclaration {\n node.id = this.parseIdentifier();\n\n if (!nested) {\n this.checkLVal(\n node.id,\n BIND_TS_NAMESPACE,\n null,\n \"module or namespace declaration\",\n );\n }\n\n if (this.eat(tt.dot)) {\n const inner = this.startNode();\n this.tsParseModuleOrNamespaceDeclaration(inner, true);\n node.body = inner;\n } else {\n this.scope.enter(SCOPE_TS_MODULE);\n this.prodParam.enter(PARAM);\n node.body = this.tsParseModuleBlock();\n this.prodParam.exit();\n this.scope.exit();\n }\n return this.finishNode(node, \"TSModuleDeclaration\");\n }\n\n tsParseAmbientExternalModuleDeclaration(\n node: N.TsModuleDeclaration,\n ): N.TsModuleDeclaration {\n if (this.isContextual(\"global\")) {\n node.global = true;\n node.id = this.parseIdentifier();\n } else if (this.match(tt.string)) {\n node.id = this.parseExprAtom();\n } else {\n this.unexpected();\n }\n if (this.match(tt.braceL)) {\n this.scope.enter(SCOPE_TS_MODULE);\n this.prodParam.enter(PARAM);\n node.body = this.tsParseModuleBlock();\n this.prodParam.exit();\n this.scope.exit();\n } else {\n this.semicolon();\n }\n\n return this.finishNode(node, \"TSModuleDeclaration\");\n }\n\n tsParseImportEqualsDeclaration(\n node: N.TsImportEqualsDeclaration,\n isExport?: boolean,\n ): N.TsImportEqualsDeclaration {\n node.isExport = isExport || false;\n node.id = this.parseIdentifier();\n this.checkLVal(\n node.id,\n BIND_LEXICAL,\n undefined,\n \"import equals declaration\",\n );\n this.expect(tt.eq);\n node.moduleReference = this.tsParseModuleReference();\n this.semicolon();\n return this.finishNode(node, \"TSImportEqualsDeclaration\");\n }\n\n tsIsExternalModuleReference(): boolean {\n return (\n this.isContextual(\"require\") &&\n this.lookaheadCharCode() === charCodes.leftParenthesis\n );\n }\n\n tsParseModuleReference(): N.TsModuleReference {\n return this.tsIsExternalModuleReference()\n ? this.tsParseExternalModuleReference()\n : this.tsParseEntityName(/* allowReservedWords */ false);\n }\n\n tsParseExternalModuleReference(): N.TsExternalModuleReference {\n const node: N.TsExternalModuleReference = this.startNode();\n this.expectContextual(\"require\");\n this.expect(tt.parenL);\n if (!this.match(tt.string)) {\n throw this.unexpected();\n }\n // For compatibility to estree we cannot call parseLiteral directly here\n node.expression = this.parseExprAtom();\n this.expect(tt.parenR);\n return this.finishNode(node, \"TSExternalModuleReference\");\n }\n\n // Utilities\n\n tsLookAhead(f: () => T): T {\n const state = this.state.clone();\n const res = f();\n this.state = state;\n return res;\n }\n\n tsTryParseAndCatch(f: () => T): ?T {\n const result = this.tryParse(abort => f() || abort());\n\n if (result.aborted || !result.node) return undefined;\n if (result.error) this.state = result.failState;\n return result.node;\n }\n\n tsTryParse(f: () => ?T): ?T {\n const state = this.state.clone();\n const result = f();\n if (result !== undefined && result !== false) {\n return result;\n } else {\n this.state = state;\n return undefined;\n }\n }\n\n tsTryParseDeclare(nany: any): ?N.Declaration {\n if (this.isLineTerminator()) {\n return;\n }\n let starttype = this.state.type;\n let kind;\n\n if (this.isContextual(\"let\")) {\n starttype = tt._var;\n kind = \"let\";\n }\n\n switch (starttype) {\n case tt._function:\n return this.parseFunctionStatement(\n nany,\n /* async */ false,\n /* declarationPosition */ true,\n );\n case tt._class:\n // While this is also set by tsParseExpressionStatement, we need to set it\n // before parsing the class declaration to now how to register it in the scope.\n nany.declare = true;\n return this.parseClass(\n nany,\n /* isStatement */ true,\n /* optionalId */ false,\n );\n case tt._const:\n if (this.match(tt._const) && this.isLookaheadContextual(\"enum\")) {\n // `const enum = 0;` not allowed because \"enum\" is a strict mode reserved word.\n this.expect(tt._const);\n this.expectContextual(\"enum\");\n return this.tsParseEnumDeclaration(nany, /* isConst */ true);\n }\n // falls through\n case tt._var:\n kind = kind || this.state.value;\n return this.parseVarStatement(nany, kind);\n case tt.name: {\n const value = this.state.value;\n if (value === \"global\") {\n return this.tsParseAmbientExternalModuleDeclaration(nany);\n } else {\n return this.tsParseDeclaration(nany, value, /* next */ true);\n }\n }\n }\n }\n\n // Note: this won't be called unless the keyword is allowed in `shouldParseExportDeclaration`.\n tsTryParseExportDeclaration(): ?N.Declaration {\n return this.tsParseDeclaration(\n this.startNode(),\n this.state.value,\n /* next */ true,\n );\n }\n\n tsParseExpressionStatement(node: any, expr: N.Identifier): ?N.Declaration {\n switch (expr.name) {\n case \"declare\": {\n const declaration = this.tsTryParseDeclare(node);\n if (declaration) {\n declaration.declare = true;\n return declaration;\n }\n break;\n }\n case \"global\":\n // `global { }` (with no `declare`) may appear inside an ambient module declaration.\n // Would like to use tsParseAmbientExternalModuleDeclaration here, but already ran past \"global\".\n if (this.match(tt.braceL)) {\n this.scope.enter(SCOPE_TS_MODULE);\n this.prodParam.enter(PARAM);\n const mod: N.TsModuleDeclaration = node;\n mod.global = true;\n mod.id = expr;\n mod.body = this.tsParseModuleBlock();\n this.scope.exit();\n this.prodParam.exit();\n return this.finishNode(mod, \"TSModuleDeclaration\");\n }\n break;\n\n default:\n return this.tsParseDeclaration(node, expr.name, /* next */ false);\n }\n }\n\n // Common to tsTryParseDeclare, tsTryParseExportDeclaration, and tsParseExpressionStatement.\n tsParseDeclaration(\n node: any,\n value: string,\n next: boolean,\n ): ?N.Declaration {\n switch (value) {\n case \"abstract\":\n if (this.tsCheckLineTerminatorAndMatch(tt._class, next)) {\n const cls: N.ClassDeclaration = node;\n cls.abstract = true;\n if (next) {\n this.next();\n if (!this.match(tt._class)) {\n this.unexpected(null, tt._class);\n }\n }\n return this.parseClass(\n cls,\n /* isStatement */ true,\n /* optionalId */ false,\n );\n }\n break;\n\n case \"enum\":\n if (next || this.match(tt.name)) {\n if (next) this.next();\n return this.tsParseEnumDeclaration(node, /* isConst */ false);\n }\n break;\n\n case \"interface\":\n if (this.tsCheckLineTerminatorAndMatch(tt.name, next)) {\n if (next) this.next();\n return this.tsParseInterfaceDeclaration(node);\n }\n break;\n\n case \"module\":\n if (next) this.next();\n if (this.match(tt.string)) {\n return this.tsParseAmbientExternalModuleDeclaration(node);\n } else if (this.tsCheckLineTerminatorAndMatch(tt.name, next)) {\n return this.tsParseModuleOrNamespaceDeclaration(node);\n }\n break;\n\n case \"namespace\":\n if (this.tsCheckLineTerminatorAndMatch(tt.name, next)) {\n if (next) this.next();\n return this.tsParseModuleOrNamespaceDeclaration(node);\n }\n break;\n\n case \"type\":\n if (this.tsCheckLineTerminatorAndMatch(tt.name, next)) {\n if (next) this.next();\n return this.tsParseTypeAliasDeclaration(node);\n }\n break;\n }\n }\n\n tsCheckLineTerminatorAndMatch(tokenType: TokenType, next: boolean) {\n return (next || this.match(tokenType)) && !this.isLineTerminator();\n }\n\n tsTryParseGenericAsyncArrowFunction(\n startPos: number,\n startLoc: Position,\n ): ?N.ArrowFunctionExpression {\n if (!this.isRelational(\"<\")) {\n return undefined;\n }\n\n const oldMaybeInArrowParameters = this.state.maybeInArrowParameters;\n const oldYieldPos = this.state.yieldPos;\n const oldAwaitPos = this.state.awaitPos;\n this.state.maybeInArrowParameters = true;\n this.state.yieldPos = -1;\n this.state.awaitPos = -1;\n\n const res: ?N.ArrowFunctionExpression = this.tsTryParseAndCatch(() => {\n const node: N.ArrowFunctionExpression = this.startNodeAt(\n startPos,\n startLoc,\n );\n node.typeParameters = this.tsParseTypeParameters();\n // Don't use overloaded parseFunctionParams which would look for \"<\" again.\n super.parseFunctionParams(node);\n node.returnType = this.tsTryParseTypeOrTypePredicateAnnotation();\n this.expect(tt.arrow);\n return node;\n });\n\n this.state.maybeInArrowParameters = oldMaybeInArrowParameters;\n this.state.yieldPos = oldYieldPos;\n this.state.awaitPos = oldAwaitPos;\n\n if (!res) {\n return undefined;\n }\n\n return this.parseArrowExpression(\n res,\n /* params are already set */ null,\n /* async */ true,\n );\n }\n\n tsParseTypeArguments(): N.TsTypeParameterInstantiation {\n const node = this.startNode();\n node.params = this.tsInType(() =>\n // Temporarily remove a JSX parsing context, which makes us scan different tokens.\n this.tsInNoContext(() => {\n this.expectRelational(\"<\");\n return this.tsParseDelimitedList(\n \"TypeParametersOrArguments\",\n this.tsParseType.bind(this),\n );\n }),\n );\n // This reads the next token after the `>` too, so do this in the enclosing context.\n // But be sure not to parse a regex in the jsx expression ` />`, so set exprAllowed = false\n this.state.exprAllowed = false;\n this.expectRelational(\">\");\n return this.finishNode(node, \"TSTypeParameterInstantiation\");\n }\n\n tsIsDeclarationStart(): boolean {\n if (this.match(tt.name)) {\n switch (this.state.value) {\n case \"abstract\":\n case \"declare\":\n case \"enum\":\n case \"interface\":\n case \"module\":\n case \"namespace\":\n case \"type\":\n return true;\n }\n }\n\n return false;\n }\n\n // ======================================================\n // OVERRIDES\n // ======================================================\n\n isExportDefaultSpecifier(): boolean {\n if (this.tsIsDeclarationStart()) return false;\n return super.isExportDefaultSpecifier();\n }\n\n parseAssignableListItem(\n allowModifiers: ?boolean,\n decorators: N.Decorator[],\n ): N.Pattern | N.TSParameterProperty {\n // Store original location/position to include modifiers in range\n const startPos = this.state.start;\n const startLoc = this.state.startLoc;\n\n let accessibility: ?N.Accessibility;\n let readonly = false;\n if (allowModifiers) {\n accessibility = this.parseAccessModifier();\n readonly = !!this.tsParseModifier([\"readonly\"]);\n }\n\n const left = this.parseMaybeDefault();\n this.parseAssignableListItemTypes(left);\n const elt = this.parseMaybeDefault(left.start, left.loc.start, left);\n if (accessibility || readonly) {\n const pp: N.TSParameterProperty = this.startNodeAt(startPos, startLoc);\n if (decorators.length) {\n pp.decorators = decorators;\n }\n if (accessibility) pp.accessibility = accessibility;\n if (readonly) pp.readonly = readonly;\n if (elt.type !== \"Identifier\" && elt.type !== \"AssignmentPattern\") {\n this.raise(pp.start, TSErrors.UnsupportedParameterPropertyKind);\n }\n pp.parameter = ((elt: any): N.Identifier | N.AssignmentPattern);\n return this.finishNode(pp, \"TSParameterProperty\");\n }\n\n if (decorators.length) {\n left.decorators = decorators;\n }\n\n return elt;\n }\n\n parseFunctionBodyAndFinish(\n node: N.BodilessFunctionOrMethodBase,\n type: string,\n isMethod?: boolean = false,\n ): void {\n if (this.match(tt.colon)) {\n node.returnType = this.tsParseTypeOrTypePredicateAnnotation(tt.colon);\n }\n\n const bodilessType =\n type === \"FunctionDeclaration\"\n ? \"TSDeclareFunction\"\n : type === \"ClassMethod\"\n ? \"TSDeclareMethod\"\n : undefined;\n if (bodilessType && !this.match(tt.braceL) && this.isLineTerminator()) {\n this.finishNode(node, bodilessType);\n return;\n }\n\n super.parseFunctionBodyAndFinish(node, type, isMethod);\n }\n\n registerFunctionStatementId(node: N.Function): void {\n if (!node.body && node.id) {\n // Function ids are validated after parsing their body.\n // For bodyless function, we need to do it here.\n this.checkLVal(node.id, BIND_TS_AMBIENT, null, \"function name\");\n } else {\n super.registerFunctionStatementId(...arguments);\n }\n }\n\n parseSubscript(\n base: N.Expression,\n startPos: number,\n startLoc: Position,\n noCalls: ?boolean,\n state: N.ParseSubscriptState,\n ): N.Expression {\n if (!this.hasPrecedingLineBreak() && this.match(tt.bang)) {\n this.state.exprAllowed = false;\n this.next();\n\n const nonNullExpression: N.TsNonNullExpression = this.startNodeAt(\n startPos,\n startLoc,\n );\n nonNullExpression.expression = base;\n return this.finishNode(nonNullExpression, \"TSNonNullExpression\");\n }\n\n if (this.isRelational(\"<\")) {\n // tsTryParseAndCatch is expensive, so avoid if not necessary.\n // There are number of things we are going to \"maybe\" parse, like type arguments on\n // tagged template expressions. If any of them fail, walk it back and continue.\n const result = this.tsTryParseAndCatch(() => {\n if (!noCalls && this.atPossibleAsyncArrow(base)) {\n // Almost certainly this is a generic async function `async () => ...\n // But it might be a call with a type argument `async();`\n const asyncArrowFn = this.tsTryParseGenericAsyncArrowFunction(\n startPos,\n startLoc,\n );\n if (asyncArrowFn) {\n return asyncArrowFn;\n }\n }\n\n const node: N.CallExpression = this.startNodeAt(startPos, startLoc);\n node.callee = base;\n\n const typeArguments = this.tsParseTypeArguments();\n\n if (typeArguments) {\n if (!noCalls && this.eat(tt.parenL)) {\n // possibleAsync always false here, because we would have handled it above.\n // $FlowIgnore (won't be any undefined arguments)\n node.arguments = this.parseCallExpressionArguments(\n tt.parenR,\n /* possibleAsync */ false,\n );\n node.typeParameters = typeArguments;\n return this.finishCallExpression(node, state.optionalChainMember);\n } else if (this.match(tt.backQuote)) {\n const result = this.parseTaggedTemplateExpression(\n base,\n startPos,\n startLoc,\n state,\n );\n result.typeParameters = typeArguments;\n return result;\n }\n }\n\n this.unexpected();\n });\n\n if (result) return result;\n }\n\n return super.parseSubscript(base, startPos, startLoc, noCalls, state);\n }\n\n parseNewArguments(node: N.NewExpression): void {\n if (this.isRelational(\"<\")) {\n // tsTryParseAndCatch is expensive, so avoid if not necessary.\n // 99% certain this is `new C();`. But may be `new C < T;`, which is also legal.\n const typeParameters = this.tsTryParseAndCatch(() => {\n const args = this.tsParseTypeArguments();\n if (!this.match(tt.parenL)) this.unexpected();\n return args;\n });\n if (typeParameters) {\n node.typeParameters = typeParameters;\n }\n }\n\n super.parseNewArguments(node);\n }\n\n parseExprOp(\n left: N.Expression,\n leftStartPos: number,\n leftStartLoc: Position,\n minPrec: number,\n ) {\n if (\n nonNull(tt._in.binop) > minPrec &&\n !this.hasPrecedingLineBreak() &&\n this.isContextual(\"as\")\n ) {\n const node: N.TsAsExpression = this.startNodeAt(\n leftStartPos,\n leftStartLoc,\n );\n node.expression = left;\n const _const = this.tsTryNextParseConstantContext();\n if (_const) {\n node.typeAnnotation = _const;\n } else {\n node.typeAnnotation = this.tsNextThenParseType();\n }\n this.finishNode(node, \"TSAsExpression\");\n // rescan `<`, `>` because they were scanned when this.state.inType was true\n this.reScan_lt_gt();\n return this.parseExprOp(node, leftStartPos, leftStartLoc, minPrec);\n }\n\n return super.parseExprOp(left, leftStartPos, leftStartLoc, minPrec);\n }\n\n checkReservedWord(\n word: string, // eslint-disable-line no-unused-vars\n startLoc: number, // eslint-disable-line no-unused-vars\n checkKeywords: boolean, // eslint-disable-line no-unused-vars\n // eslint-disable-next-line no-unused-vars\n isBinding: boolean,\n ): void {\n // Don't bother checking for TypeScript code.\n // Strict mode words may be allowed as in `declare namespace N { const static: number; }`.\n // And we have a type checker anyway, so don't bother having the parser do it.\n }\n\n /*\n Don't bother doing this check in TypeScript code because:\n 1. We may have a nested export statement with the same name:\n export const x = 0;\n export namespace N {\n export const x = 1;\n }\n 2. We have a type checker to warn us about this sort of thing.\n */\n checkDuplicateExports() {}\n\n parseImport(node: N.Node): N.AnyImport {\n if (this.match(tt.name) || this.match(tt.star) || this.match(tt.braceL)) {\n const ahead = this.lookahead();\n\n if (this.match(tt.name) && ahead.type === tt.eq) {\n return this.tsParseImportEqualsDeclaration(node);\n }\n\n if (\n this.isContextual(\"type\") &&\n // import type, { a } from \"b\";\n ahead.type !== tt.comma &&\n // import type from \"a\";\n !(ahead.type === tt.name && ahead.value === \"from\")\n ) {\n node.importKind = \"type\";\n this.next();\n } else {\n node.importKind = \"value\";\n }\n }\n\n const importNode = super.parseImport(node);\n /*:: invariant(importNode.type !== \"TSImportEqualsDeclaration\") */\n\n // `import type` can only be used on imports with named imports or with a\n // default import - but not both\n if (\n importNode.importKind === \"type\" &&\n importNode.specifiers.length > 1 &&\n importNode.specifiers[0].type === \"ImportDefaultSpecifier\"\n ) {\n this.raise(\n importNode.start,\n \"A type-only import can specify a default import or named bindings, but not both.\",\n );\n }\n\n return importNode;\n }\n\n parseExport(node: N.Node): N.AnyExport {\n if (this.match(tt._import)) {\n // `export import A = B;`\n this.expect(tt._import);\n return this.tsParseImportEqualsDeclaration(node, /* isExport */ true);\n } else if (this.eat(tt.eq)) {\n // `export = x;`\n const assign: N.TsExportAssignment = node;\n assign.expression = this.parseExpression();\n this.semicolon();\n return this.finishNode(assign, \"TSExportAssignment\");\n } else if (this.eatContextual(\"as\")) {\n // `export as namespace A;`\n const decl: N.TsNamespaceExportDeclaration = node;\n // See `parseNamespaceExportDeclaration` in TypeScript's own parser\n this.expectContextual(\"namespace\");\n decl.id = this.parseIdentifier();\n this.semicolon();\n return this.finishNode(decl, \"TSNamespaceExportDeclaration\");\n } else {\n if (this.isContextual(\"type\") && this.lookahead().type === tt.braceL) {\n this.next();\n node.exportKind = \"type\";\n } else {\n node.exportKind = \"value\";\n }\n\n return super.parseExport(node);\n }\n }\n\n isAbstractClass(): boolean {\n return (\n this.isContextual(\"abstract\") && this.lookahead().type === tt._class\n );\n }\n\n parseExportDefaultExpression(): N.Expression | N.Declaration {\n if (this.isAbstractClass()) {\n const cls = this.startNode();\n this.next(); // Skip \"abstract\"\n this.parseClass(cls, true, true);\n cls.abstract = true;\n return cls;\n }\n\n // export default interface allowed in:\n // https://github.com/Microsoft/TypeScript/pull/16040\n if (this.state.value === \"interface\") {\n const result = this.tsParseDeclaration(\n this.startNode(),\n this.state.value,\n true,\n );\n\n if (result) return result;\n }\n\n return super.parseExportDefaultExpression();\n }\n\n parseStatementContent(context: ?string, topLevel: ?boolean): N.Statement {\n if (this.state.type === tt._const) {\n const ahead = this.lookahead();\n if (ahead.type === tt.name && ahead.value === \"enum\") {\n const node: N.TsEnumDeclaration = this.startNode();\n this.expect(tt._const);\n this.expectContextual(\"enum\");\n return this.tsParseEnumDeclaration(node, /* isConst */ true);\n }\n }\n return super.parseStatementContent(context, topLevel);\n }\n\n parseAccessModifier(): ?N.Accessibility {\n return this.tsParseModifier([\"public\", \"protected\", \"private\"]);\n }\n\n parseClassMember(\n classBody: N.ClassBody,\n member: any,\n state: { hadConstructor: boolean },\n constructorAllowsSuper: boolean,\n ): void {\n this.tsParseModifiers(member, [\"declare\"]);\n const accessibility = this.parseAccessModifier();\n if (accessibility) member.accessibility = accessibility;\n this.tsParseModifiers(member, [\"declare\"]);\n\n super.parseClassMember(classBody, member, state, constructorAllowsSuper);\n }\n\n parseClassMemberWithIsStatic(\n classBody: N.ClassBody,\n member: N.ClassMember | N.TsIndexSignature,\n state: { hadConstructor: boolean },\n isStatic: boolean,\n constructorAllowsSuper: boolean,\n ): void {\n this.tsParseModifiers(member, [\"abstract\", \"readonly\", \"declare\"]);\n\n const idx = this.tsTryParseIndexSignature(member);\n if (idx) {\n classBody.body.push(idx);\n\n if ((member: any).abstract) {\n this.raise(member.start, TSErrors.IndexSignatureHasAbstract);\n }\n if (isStatic) {\n this.raise(member.start, TSErrors.IndexSignatureHasStatic);\n }\n if ((member: any).accessibility) {\n this.raise(\n member.start,\n TSErrors.IndexSignatureHasAccessibility,\n (member: any).accessibility,\n );\n }\n\n return;\n }\n\n /*:: invariant(member.type !== \"TSIndexSignature\") */\n\n super.parseClassMemberWithIsStatic(\n classBody,\n member,\n state,\n isStatic,\n constructorAllowsSuper,\n );\n }\n\n parsePostMemberNameModifiers(\n methodOrProp: N.ClassMethod | N.ClassProperty | N.ClassPrivateProperty,\n ): void {\n const optional = this.eat(tt.question);\n if (optional) methodOrProp.optional = true;\n\n if ((methodOrProp: any).readonly && this.match(tt.parenL)) {\n this.raise(methodOrProp.start, TSErrors.ClassMethodHasReadonly);\n }\n\n if ((methodOrProp: any).declare && this.match(tt.parenL)) {\n this.raise(methodOrProp.start, TSErrors.ClassMethodHasDeclare);\n }\n }\n\n // Note: The reason we do this in `parseExpressionStatement` and not `parseStatement`\n // is that e.g. `type()` is valid JS, so we must try parsing that first.\n // If it's really a type, we will parse `type` as the statement, and can correct it here\n // by parsing the rest.\n parseExpressionStatement(\n node: N.ExpressionStatement,\n expr: N.Expression,\n ): N.Statement {\n const decl =\n expr.type === \"Identifier\"\n ? this.tsParseExpressionStatement(node, expr)\n : undefined;\n return decl || super.parseExpressionStatement(node, expr);\n }\n\n // export type\n // Should be true for anything parsed by `tsTryParseExportDeclaration`.\n shouldParseExportDeclaration(): boolean {\n if (this.tsIsDeclarationStart()) return true;\n return super.shouldParseExportDeclaration();\n }\n\n // An apparent conditional expression could actually be an optional parameter in an arrow function.\n parseConditional(\n expr: N.Expression,\n startPos: number,\n startLoc: Position,\n refNeedsArrowPos?: ?Pos,\n ): N.Expression {\n // only do the expensive clone if there is a question mark\n // and if we come from inside parens\n if (!refNeedsArrowPos || !this.match(tt.question)) {\n return super.parseConditional(\n expr,\n startPos,\n startLoc,\n refNeedsArrowPos,\n );\n }\n\n const result = this.tryParse(() =>\n super.parseConditional(expr, startPos, startLoc),\n );\n\n if (!result.node) {\n // $FlowIgnore\n refNeedsArrowPos.start = result.error.pos || this.state.start;\n return expr;\n }\n if (result.error) this.state = result.failState;\n return result.node;\n }\n\n // Note: These \"type casts\" are *not* valid TS expressions.\n // But we parse them here and change them when completing the arrow function.\n parseParenItem(\n node: N.Expression,\n startPos: number,\n startLoc: Position,\n ): N.Expression {\n node = super.parseParenItem(node, startPos, startLoc);\n if (this.eat(tt.question)) {\n node.optional = true;\n // Include questionmark in location of node\n // Don't use this.finishNode() as otherwise we might process comments twice and\n // include already consumed parens\n this.resetEndLocation(node);\n }\n\n if (this.match(tt.colon)) {\n const typeCastNode: N.TsTypeCastExpression = this.startNodeAt(\n startPos,\n startLoc,\n );\n typeCastNode.expression = node;\n typeCastNode.typeAnnotation = this.tsParseTypeAnnotation();\n\n return this.finishNode(typeCastNode, \"TSTypeCastExpression\");\n }\n\n return node;\n }\n\n parseExportDeclaration(node: N.ExportNamedDeclaration): ?N.Declaration {\n // Store original location/position\n const startPos = this.state.start;\n const startLoc = this.state.startLoc;\n\n // \"export declare\" is equivalent to just \"export\".\n const isDeclare = this.eatContextual(\"declare\");\n\n let declaration: ?N.Declaration;\n\n if (this.match(tt.name)) {\n declaration = this.tsTryParseExportDeclaration();\n }\n if (!declaration) {\n declaration = super.parseExportDeclaration(node);\n }\n if (\n declaration &&\n (declaration.type === \"TSInterfaceDeclaration\" ||\n declaration.type === \"TSTypeAliasDeclaration\" ||\n isDeclare)\n ) {\n node.exportKind = \"type\";\n }\n\n if (declaration && isDeclare) {\n // Reset location to include `declare` in range\n this.resetStartLocation(declaration, startPos, startLoc);\n\n declaration.declare = true;\n }\n\n return declaration;\n }\n\n parseClassId(\n node: N.Class,\n isStatement: boolean,\n optionalId: ?boolean,\n ): void {\n if ((!isStatement || optionalId) && this.isContextual(\"implements\")) {\n return;\n }\n\n super.parseClassId(\n node,\n isStatement,\n optionalId,\n (node: any).declare ? BIND_TS_AMBIENT : BIND_CLASS,\n );\n const typeParameters = this.tsTryParseTypeParameters();\n if (typeParameters) node.typeParameters = typeParameters;\n }\n\n parseClassPropertyAnnotation(\n node: N.ClassProperty | N.ClassPrivateProperty,\n ): void {\n if (!node.optional && this.eat(tt.bang)) {\n node.definite = true;\n }\n\n const type = this.tsTryParseTypeAnnotation();\n if (type) node.typeAnnotation = type;\n }\n\n parseClassProperty(node: N.ClassProperty): N.ClassProperty {\n this.parseClassPropertyAnnotation(node);\n\n if (node.declare && this.match(tt.equal)) {\n this.raise(this.state.start, TSErrors.DeclareClassFieldHasInitializer);\n }\n\n return super.parseClassProperty(node);\n }\n\n parseClassPrivateProperty(\n node: N.ClassPrivateProperty,\n ): N.ClassPrivateProperty {\n // $FlowIgnore\n if (node.abstract) {\n this.raise(node.start, TSErrors.PrivateElementHasAbstract);\n }\n\n // $FlowIgnore\n if (node.accessibility) {\n this.raise(\n node.start,\n TSErrors.PrivateElementHasAccessibility,\n node.accessibility,\n );\n }\n\n this.parseClassPropertyAnnotation(node);\n return super.parseClassPrivateProperty(node);\n }\n\n pushClassMethod(\n classBody: N.ClassBody,\n method: N.ClassMethod,\n isGenerator: boolean,\n isAsync: boolean,\n isConstructor: boolean,\n allowsDirectSuper: boolean,\n ): void {\n const typeParameters = this.tsTryParseTypeParameters();\n if (typeParameters) method.typeParameters = typeParameters;\n super.pushClassMethod(\n classBody,\n method,\n isGenerator,\n isAsync,\n isConstructor,\n allowsDirectSuper,\n );\n }\n\n pushClassPrivateMethod(\n classBody: N.ClassBody,\n method: N.ClassPrivateMethod,\n isGenerator: boolean,\n isAsync: boolean,\n ): void {\n const typeParameters = this.tsTryParseTypeParameters();\n if (typeParameters) method.typeParameters = typeParameters;\n super.pushClassPrivateMethod(classBody, method, isGenerator, isAsync);\n }\n\n parseClassSuper(node: N.Class): void {\n super.parseClassSuper(node);\n if (node.superClass && this.isRelational(\"<\")) {\n node.superTypeParameters = this.tsParseTypeArguments();\n }\n if (this.eatContextual(\"implements\")) {\n node.implements = this.tsParseHeritageClause(\"implements\");\n }\n }\n\n parseObjPropValue(prop: N.ObjectMember, ...args): void {\n const typeParameters = this.tsTryParseTypeParameters();\n if (typeParameters) prop.typeParameters = typeParameters;\n\n super.parseObjPropValue(prop, ...args);\n }\n\n parseFunctionParams(node: N.Function, allowModifiers?: boolean): void {\n const typeParameters = this.tsTryParseTypeParameters();\n if (typeParameters) node.typeParameters = typeParameters;\n super.parseFunctionParams(node, allowModifiers);\n }\n\n // `let x: number;`\n parseVarId(\n decl: N.VariableDeclarator,\n kind: \"var\" | \"let\" | \"const\",\n ): void {\n super.parseVarId(decl, kind);\n if (decl.id.type === \"Identifier\" && this.eat(tt.bang)) {\n decl.definite = true;\n }\n\n const type = this.tsTryParseTypeAnnotation();\n if (type) {\n decl.id.typeAnnotation = type;\n this.resetEndLocation(decl.id); // set end position to end of type\n }\n }\n\n // parse the return type of an async arrow function - let foo = (async (): number => {});\n parseAsyncArrowFromCallExpression(\n node: N.ArrowFunctionExpression,\n call: N.CallExpression,\n ): N.ArrowFunctionExpression {\n if (this.match(tt.colon)) {\n node.returnType = this.tsParseTypeAnnotation();\n }\n return super.parseAsyncArrowFromCallExpression(node, call);\n }\n\n parseMaybeAssign(...args): N.Expression {\n // Note: When the JSX plugin is on, type assertions (` x`) aren't valid syntax.\n\n let state: ?State;\n let jsx;\n let typeCast;\n\n if (this.match(tt.jsxTagStart)) {\n // Prefer to parse JSX if possible. But may be an arrow fn.\n state = this.state.clone();\n\n jsx = this.tryParse(() => super.parseMaybeAssign(...args), state);\n /*:: invariant(!jsx.aborted) */\n\n if (!jsx.error) return jsx.node;\n\n // Remove `tc.j_expr` and `tc.j_oTag` from context added\n // by parsing `jsxTagStart` to stop the JSX plugin from\n // messing with the tokens\n const { context } = this.state;\n if (context[context.length - 1] === ct.j_oTag) {\n context.length -= 2;\n } else if (context[context.length - 1] === ct.j_expr) {\n context.length -= 1;\n }\n }\n\n if (!jsx?.error && !this.isRelational(\"<\")) {\n return super.parseMaybeAssign(...args);\n }\n\n // Either way, we're looking at a '<': tt.jsxTagStart or relational.\n\n let typeParameters: N.TsTypeParameterDeclaration;\n state = state || this.state.clone();\n\n const arrow = this.tryParse(abort => {\n // This is similar to TypeScript's `tryParseParenthesizedArrowFunctionExpression`.\n typeParameters = this.tsParseTypeParameters();\n const expr = super.parseMaybeAssign(...args);\n\n if (\n expr.type !== \"ArrowFunctionExpression\" ||\n (expr.extra && expr.extra.parenthesized)\n ) {\n abort();\n }\n\n // Correct TypeScript code should have at least 1 type parameter, but don't crash on bad code.\n if (typeParameters?.params.length !== 0) {\n this.resetStartLocationFromNode(expr, typeParameters);\n }\n expr.typeParameters = typeParameters;\n return expr;\n }, state);\n\n if (!arrow.error && !arrow.aborted) return arrow.node;\n\n if (!jsx) {\n // Try parsing a type cast instead of an arrow function.\n // This will never happen outside of JSX.\n // (Because in JSX the '<' should be a jsxTagStart and not a relational.\n assert(!this.hasPlugin(\"jsx\"));\n\n // This will start with a type assertion (via parseMaybeUnary).\n // But don't directly call `this.tsParseTypeAssertion` because we want to handle any binary after it.\n typeCast = this.tryParse(() => super.parseMaybeAssign(...args), state);\n /*:: invariant(!typeCast.aborted) */\n if (!typeCast.error) return typeCast.node;\n }\n\n if (jsx?.node) {\n /*:: invariant(jsx.failState) */\n this.state = jsx.failState;\n return jsx.node;\n }\n\n if (arrow.node) {\n /*:: invariant(arrow.failState) */\n this.state = arrow.failState;\n return arrow.node;\n }\n\n if (typeCast?.node) {\n /*:: invariant(typeCast.failState) */\n this.state = typeCast.failState;\n return typeCast.node;\n }\n\n if (jsx?.thrown) throw jsx.error;\n if (arrow.thrown) throw arrow.error;\n if (typeCast?.thrown) throw typeCast.error;\n\n throw jsx?.error || arrow.error || typeCast?.error;\n }\n\n // Handle type assertions\n parseMaybeUnary(refExpressionErrors?: ?ExpressionErrors): N.Expression {\n if (!this.hasPlugin(\"jsx\") && this.isRelational(\"<\")) {\n return this.tsParseTypeAssertion();\n } else {\n return super.parseMaybeUnary(refExpressionErrors);\n }\n }\n\n parseArrow(node: N.ArrowFunctionExpression): ?N.ArrowFunctionExpression {\n if (this.match(tt.colon)) {\n // This is different from how the TS parser does it.\n // TS uses lookahead. The Babel Parser parses it as a parenthesized expression and converts.\n\n const result = this.tryParse(abort => {\n const returnType = this.tsParseTypeOrTypePredicateAnnotation(\n tt.colon,\n );\n if (this.canInsertSemicolon() || !this.match(tt.arrow)) abort();\n return returnType;\n });\n\n if (result.aborted) return;\n\n if (!result.thrown) {\n if (result.error) this.state = result.failState;\n node.returnType = result.node;\n }\n }\n\n return super.parseArrow(node);\n }\n\n // Allow type annotations inside of a parameter list.\n parseAssignableListItemTypes(param: N.Pattern) {\n if (this.eat(tt.question)) {\n if (param.type !== \"Identifier\") {\n this.raise(param.start, TSErrors.PatternIsOptional);\n }\n\n ((param: any): N.Identifier).optional = true;\n }\n const type = this.tsTryParseTypeAnnotation();\n if (type) param.typeAnnotation = type;\n this.resetEndLocation(param);\n\n return param;\n }\n\n toAssignable(node: N.Node): N.Node {\n switch (node.type) {\n case \"TSTypeCastExpression\":\n return super.toAssignable(this.typeCastToParameter(node));\n case \"TSParameterProperty\":\n return super.toAssignable(node);\n case \"TSAsExpression\":\n case \"TSNonNullExpression\":\n case \"TSTypeAssertion\":\n node.expression = this.toAssignable(node.expression);\n return node;\n default:\n return super.toAssignable(node);\n }\n }\n\n checkLVal(\n expr: N.Expression,\n bindingType: BindingTypes = BIND_NONE,\n checkClashes: ?{ [key: string]: boolean },\n contextDescription: string,\n ): void {\n switch (expr.type) {\n case \"TSTypeCastExpression\":\n // Allow \"typecasts\" to appear on the left of assignment expressions,\n // because it may be in an arrow function.\n // e.g. `const f = (foo: number = 0) => foo;`\n return;\n case \"TSParameterProperty\":\n this.checkLVal(\n expr.parameter,\n bindingType,\n checkClashes,\n \"parameter property\",\n );\n return;\n case \"TSAsExpression\":\n case \"TSNonNullExpression\":\n case \"TSTypeAssertion\":\n this.checkLVal(\n expr.expression,\n bindingType,\n checkClashes,\n contextDescription,\n );\n return;\n default:\n super.checkLVal(expr, bindingType, checkClashes, contextDescription);\n return;\n }\n }\n\n parseBindingAtom(): N.Pattern {\n switch (this.state.type) {\n case tt._this:\n // \"this\" may be the name of a parameter, so allow it.\n return this.parseIdentifier(/* liberal */ true);\n default:\n return super.parseBindingAtom();\n }\n }\n\n parseMaybeDecoratorArguments(expr: N.Expression): N.Expression {\n if (this.isRelational(\"<\")) {\n const typeArguments = this.tsParseTypeArguments();\n\n if (this.match(tt.parenL)) {\n const call = super.parseMaybeDecoratorArguments(expr);\n call.typeParameters = typeArguments;\n return call;\n }\n\n this.unexpected(this.state.start, tt.parenL);\n }\n\n return super.parseMaybeDecoratorArguments(expr);\n }\n\n // === === === === === === === === === === === === === === === ===\n // Note: All below methods are duplicates of something in flow.js.\n // Not sure what the best way to combine these is.\n // === === === === === === === === === === === === === === === ===\n\n isClassMethod(): boolean {\n return this.isRelational(\"<\") || super.isClassMethod();\n }\n\n isClassProperty(): boolean {\n return (\n this.match(tt.bang) || this.match(tt.colon) || super.isClassProperty()\n );\n }\n\n parseMaybeDefault(...args): N.Pattern {\n const node = super.parseMaybeDefault(...args);\n\n if (\n node.type === \"AssignmentPattern\" &&\n node.typeAnnotation &&\n node.right.start < node.typeAnnotation.start\n ) {\n this.raise(\n node.typeAnnotation.start,\n TSErrors.TypeAnnotationAfterAssign,\n );\n }\n\n return node;\n }\n\n // ensure that inside types, we bypass the jsx parser plugin\n getTokenFromCode(code: number): void {\n if (\n this.state.inType &&\n (code === charCodes.greaterThan || code === charCodes.lessThan)\n ) {\n return this.finishOp(tt.relational, 1);\n } else {\n return super.getTokenFromCode(code);\n }\n }\n\n // used after we have finished parsing types\n reScan_lt_gt() {\n if (this.match(tt.relational)) {\n const code = this.input.charCodeAt(this.state.start);\n if (code === charCodes.lessThan || code === charCodes.greaterThan) {\n this.state.pos -= 1;\n this.readToken_lt_gt(code);\n }\n }\n }\n\n toAssignableList(exprList: N.Expression[]): $ReadOnlyArray {\n for (let i = 0; i < exprList.length; i++) {\n const expr = exprList[i];\n if (!expr) continue;\n switch (expr.type) {\n case \"TSTypeCastExpression\":\n exprList[i] = this.typeCastToParameter(expr);\n break;\n case \"TSAsExpression\":\n case \"TSTypeAssertion\":\n if (!this.state.maybeInArrowParameters) {\n exprList[i] = this.typeCastToParameter(expr);\n } else {\n this.raise(expr.start, TSErrors.UnexpectedTypeCastInParameter);\n }\n break;\n }\n }\n return super.toAssignableList(...arguments);\n }\n\n typeCastToParameter(node: N.TsTypeCastExpression): N.Node {\n node.expression.typeAnnotation = node.typeAnnotation;\n\n this.resetEndLocation(\n node.expression,\n node.typeAnnotation.end,\n node.typeAnnotation.loc.end,\n );\n\n return node.expression;\n }\n\n toReferencedList(\n exprList: $ReadOnlyArray,\n isInParens?: boolean, // eslint-disable-line no-unused-vars\n ): $ReadOnlyArray {\n for (let i = 0; i < exprList.length; i++) {\n const expr = exprList[i];\n if (expr?.type === \"TSTypeCastExpression\") {\n this.raise(expr.start, TSErrors.UnexpectedTypeAnnotation);\n }\n }\n\n return exprList;\n }\n\n shouldParseArrow() {\n return this.match(tt.colon) || super.shouldParseArrow();\n }\n\n shouldParseAsyncArrow(): boolean {\n return this.match(tt.colon) || super.shouldParseAsyncArrow();\n }\n\n canHaveLeadingDecorator() {\n // Avoid unnecessary lookahead in checking for abstract class unless needed!\n return super.canHaveLeadingDecorator() || this.isAbstractClass();\n }\n\n jsxParseOpeningElementAfterName(\n node: N.JSXOpeningElement,\n ): N.JSXOpeningElement {\n if (this.isRelational(\"<\")) {\n const typeArguments = this.tsTryParseAndCatch(() =>\n this.tsParseTypeArguments(),\n );\n if (typeArguments) node.typeParameters = typeArguments;\n }\n return super.jsxParseOpeningElementAfterName(node);\n }\n\n getGetterSetterExpectedParamCount(\n method: N.ObjectMethod | N.ClassMethod,\n ): number {\n const baseCount = super.getGetterSetterExpectedParamCount(method);\n const firstParam = method.params[0];\n const hasContextParam =\n firstParam &&\n firstParam.type === \"Identifier\" &&\n firstParam.name === \"this\";\n\n return hasContextParam ? baseCount + 1 : baseCount;\n }\n\n parseCatchClauseParam(): N.Pattern {\n const param = super.parseCatchClauseParam();\n const type = this.tsTryParseTypeAnnotation();\n\n if (type) {\n param.typeAnnotation = type;\n this.resetEndLocation(param);\n }\n\n return param;\n }\n };\n","// @flow\n\nimport * as charCodes from \"charcodes\";\n\nimport { types as tt, TokenType } from \"../tokenizer/types\";\nimport type Parser from \"../parser\";\nimport * as N from \"../types\";\n\ntt.placeholder = new TokenType(\"%%\", { startsExpr: true });\n\nexport type PlaceholderTypes =\n | \"Identifier\"\n | \"StringLiteral\"\n | \"Expression\"\n | \"Statement\"\n | \"Declaration\"\n | \"BlockStatement\"\n | \"ClassBody\"\n | \"Pattern\";\n\n// $PropertyType doesn't support enums. Use a fake \"switch\" (GetPlaceholderNode)\n//type MaybePlaceholder = $PropertyType | N.Placeholder;\n\ntype _Switch = $Call<\n (\n $ElementType<$ElementType, 0>,\n ) => $ElementType<$ElementType, 1>,\n Value,\n>;\ntype $Switch = _Switch;\n\ntype NodeOf = $Switch<\n T,\n [\n [\"Identifier\", N.Identifier],\n [\"StringLiteral\", N.StringLiteral],\n [\"Expression\", N.Expression],\n [\"Statement\", N.Statement],\n [\"Declaration\", N.Declaration],\n [\"BlockStatement\", N.BlockStatement],\n [\"ClassBody\", N.ClassBody],\n [\"Pattern\", N.Pattern],\n ],\n>;\n\n// Placeholder breaks everything, because its type is incompatible with\n// the substituted nodes.\ntype MaybePlaceholder = NodeOf; // | Placeholder\n\nexport default (superClass: Class): Class =>\n class extends superClass {\n parsePlaceholder(\n expectedNode: T,\n ): /*?N.Placeholder*/ ?MaybePlaceholder {\n if (this.match(tt.placeholder)) {\n const node = this.startNode();\n this.next();\n this.assertNoSpace(\"Unexpected space in placeholder.\");\n\n // We can't use this.parseIdentifier because\n // we don't want nested placeholders.\n node.name = super.parseIdentifier(/* liberal */ true);\n\n this.assertNoSpace(\"Unexpected space in placeholder.\");\n this.expect(tt.placeholder);\n return this.finishPlaceholder(node, expectedNode);\n }\n }\n\n finishPlaceholder(\n node: N.Node,\n expectedNode: T,\n ): /*N.Placeholder*/ MaybePlaceholder {\n const isFinished = !!(node.expectedNode && node.type === \"Placeholder\");\n node.expectedNode = expectedNode;\n\n return isFinished ? node : this.finishNode(node, \"Placeholder\");\n }\n\n /* ============================================================ *\n * tokenizer/index.js *\n * ============================================================ */\n\n getTokenFromCode(code: number) {\n if (\n code === charCodes.percentSign &&\n this.input.charCodeAt(this.state.pos + 1) === charCodes.percentSign\n ) {\n return this.finishOp(tt.placeholder, 2);\n }\n\n return super.getTokenFromCode(...arguments);\n }\n\n /* ============================================================ *\n * parser/expression.js *\n * ============================================================ */\n\n parseExprAtom(): MaybePlaceholder<\"Expression\"> {\n return (\n this.parsePlaceholder(\"Expression\") || super.parseExprAtom(...arguments)\n );\n }\n\n parseIdentifier(): MaybePlaceholder<\"Identifier\"> {\n // NOTE: This function only handles identifiers outside of\n // expressions and binding patterns, since they are already\n // handled by the parseExprAtom and parseBindingAtom functions.\n // This is needed, for example, to parse \"class %%NAME%% {}\".\n return (\n this.parsePlaceholder(\"Identifier\") ||\n super.parseIdentifier(...arguments)\n );\n }\n\n checkReservedWord(word: string): void {\n // Sometimes we call #checkReservedWord(node.name), expecting\n // that node is an Identifier. If it is a Placeholder, name\n // will be undefined.\n if (word !== undefined) super.checkReservedWord(...arguments);\n }\n\n /* ============================================================ *\n * parser/lval.js *\n * ============================================================ */\n\n parseBindingAtom(): MaybePlaceholder<\"Pattern\"> {\n return (\n this.parsePlaceholder(\"Pattern\") || super.parseBindingAtom(...arguments)\n );\n }\n\n checkLVal(expr: N.Expression): void {\n if (expr.type !== \"Placeholder\") super.checkLVal(...arguments);\n }\n\n toAssignable(node: N.Node): N.Node {\n if (\n node &&\n node.type === \"Placeholder\" &&\n node.expectedNode === \"Expression\"\n ) {\n node.expectedNode = \"Pattern\";\n return node;\n }\n return super.toAssignable(...arguments);\n }\n\n /* ============================================================ *\n * parser/statement.js *\n * ============================================================ */\n\n verifyBreakContinue(node: N.BreakStatement | N.ContinueStatement) {\n if (node.label && node.label.type === \"Placeholder\") return;\n super.verifyBreakContinue(...arguments);\n }\n\n parseExpressionStatement(\n node: MaybePlaceholder<\"Statement\">,\n expr: N.Expression,\n ): MaybePlaceholder<\"Statement\"> {\n if (\n expr.type !== \"Placeholder\" ||\n (expr.extra && expr.extra.parenthesized)\n ) {\n return super.parseExpressionStatement(...arguments);\n }\n\n if (this.match(tt.colon)) {\n const stmt: N.LabeledStatement = node;\n stmt.label = this.finishPlaceholder(expr, \"Identifier\");\n this.next();\n stmt.body = this.parseStatement(\"label\");\n return this.finishNode(stmt, \"LabeledStatement\");\n }\n\n this.semicolon();\n\n node.name = expr.name;\n return this.finishPlaceholder(node, \"Statement\");\n }\n\n parseBlock(): MaybePlaceholder<\"BlockStatement\"> {\n return (\n this.parsePlaceholder(\"BlockStatement\") ||\n super.parseBlock(...arguments)\n );\n }\n\n parseFunctionId(): ?MaybePlaceholder<\"Identifier\"> {\n return (\n this.parsePlaceholder(\"Identifier\") ||\n super.parseFunctionId(...arguments)\n );\n }\n\n parseClass(\n node: T,\n isStatement: /* T === ClassDeclaration */ boolean,\n optionalId?: boolean,\n ): T {\n const type = isStatement ? \"ClassDeclaration\" : \"ClassExpression\";\n\n this.next();\n this.takeDecorators(node);\n const oldStrict = this.state.strict;\n\n const placeholder = this.parsePlaceholder(\"Identifier\");\n if (placeholder) {\n if (\n this.match(tt._extends) ||\n this.match(tt.placeholder) ||\n this.match(tt.braceL)\n ) {\n node.id = placeholder;\n } else if (optionalId || !isStatement) {\n node.id = null;\n node.body = this.finishPlaceholder(placeholder, \"ClassBody\");\n return this.finishNode(node, type);\n } else {\n this.unexpected(null, \"A class name is required\");\n }\n } else {\n this.parseClassId(node, isStatement, optionalId);\n }\n\n this.parseClassSuper(node);\n node.body =\n this.parsePlaceholder(\"ClassBody\") ||\n this.parseClassBody(!!node.superClass, oldStrict);\n return this.finishNode(node, type);\n }\n\n parseExport(node: N.Node): N.Node {\n const placeholder = this.parsePlaceholder(\"Identifier\");\n if (!placeholder) return super.parseExport(...arguments);\n\n if (!this.isContextual(\"from\") && !this.match(tt.comma)) {\n // export %%DECL%%;\n node.specifiers = [];\n node.source = null;\n node.declaration = this.finishPlaceholder(placeholder, \"Declaration\");\n return this.finishNode(node, \"ExportNamedDeclaration\");\n }\n\n // export %%NAME%% from \"foo\";\n this.expectPlugin(\"exportDefaultFrom\");\n const specifier = this.startNode();\n specifier.exported = placeholder;\n node.specifiers = [this.finishNode(specifier, \"ExportDefaultSpecifier\")];\n\n return super.parseExport(node);\n }\n\n isExportDefaultSpecifier(): boolean {\n if (this.match(tt._default)) {\n const next = this.nextTokenStart();\n if (this.isUnparsedContextual(next, \"from\")) {\n if (\n this.input.startsWith(\n tt.placeholder.label,\n this.nextTokenStartSince(next + 4),\n )\n ) {\n return true;\n }\n }\n }\n return super.isExportDefaultSpecifier();\n }\n\n maybeParseExportDefaultSpecifier(node: N.Node): boolean {\n if (node.specifiers && node.specifiers.length > 0) {\n // \"export %%NAME%%\" has already been parsed by #parseExport.\n return true;\n }\n return super.maybeParseExportDefaultSpecifier(...arguments);\n }\n\n checkExport(node: N.ExportNamedDeclaration): void {\n const { specifiers } = node;\n if (specifiers?.length) {\n node.specifiers = specifiers.filter(\n node => node.exported.type === \"Placeholder\",\n );\n }\n super.checkExport(node);\n node.specifiers = specifiers;\n }\n\n parseImport(\n node: N.Node,\n ): N.ImportDeclaration | N.TsImportEqualsDeclaration {\n const placeholder = this.parsePlaceholder(\"Identifier\");\n if (!placeholder) return super.parseImport(...arguments);\n\n node.specifiers = [];\n\n if (!this.isContextual(\"from\") && !this.match(tt.comma)) {\n // import %%STRING%%;\n node.source = this.finishPlaceholder(placeholder, \"StringLiteral\");\n this.semicolon();\n return this.finishNode(node, \"ImportDeclaration\");\n }\n\n // import %%DEFAULT%% ...\n const specifier = this.startNodeAtNode(placeholder);\n specifier.local = placeholder;\n this.finishNode(specifier, \"ImportDefaultSpecifier\");\n node.specifiers.push(specifier);\n\n if (this.eat(tt.comma)) {\n // import %%DEFAULT%%, * as ...\n const hasStarImport = this.maybeParseStarImportSpecifier(node);\n\n // import %%DEFAULT%%, { ...\n if (!hasStarImport) this.parseNamedImportSpecifiers(node);\n }\n\n this.expectContextual(\"from\");\n node.source = this.parseImportSource();\n this.semicolon();\n return this.finishNode(node, \"ImportDeclaration\");\n }\n\n parseImportSource(): MaybePlaceholder<\"StringLiteral\"> {\n // import ... from %%STRING%%;\n\n return (\n this.parsePlaceholder(\"StringLiteral\") ||\n super.parseImportSource(...arguments)\n );\n }\n };\n","import type Parser from \"../parser\";\nimport { types as tt } from \"../tokenizer/types\";\nimport * as N from \"../types\";\n\nexport default (superClass: Class): Class =>\n class extends superClass {\n parseV8Intrinsic(): N.Expression {\n if (this.match(tt.modulo)) {\n const v8IntrinsicStart = this.state.start;\n // let the `loc` of Identifier starts from `%`\n const node = this.startNode();\n this.eat(tt.modulo);\n if (this.match(tt.name)) {\n const name = this.parseIdentifierName(this.state.start);\n const identifier = this.createIdentifier(node, name);\n identifier.type = \"V8IntrinsicIdentifier\";\n if (this.match(tt.parenL)) {\n return identifier;\n }\n }\n this.unexpected(v8IntrinsicStart);\n }\n }\n\n /* ============================================================ *\n * parser/expression.js *\n * ============================================================ */\n\n parseExprAtom(): N.Expression {\n return this.parseV8Intrinsic() || super.parseExprAtom(...arguments);\n }\n };\n","// @flow\n\nimport type Parser from \"./parser\";\n\nexport type Plugin = string | [string, Object];\n\nexport type PluginList = $ReadOnlyArray;\n\nexport type MixinPlugin = (superClass: Class) => Class;\n\nexport function hasPlugin(plugins: PluginList, name: string): boolean {\n return plugins.some(plugin => {\n if (Array.isArray(plugin)) {\n return plugin[0] === name;\n } else {\n return plugin === name;\n }\n });\n}\n\nexport function getPluginOption(\n plugins: PluginList,\n name: string,\n option: string,\n) {\n const plugin = plugins.find(plugin => {\n if (Array.isArray(plugin)) {\n return plugin[0] === name;\n } else {\n return plugin === name;\n }\n });\n\n if (plugin && Array.isArray(plugin)) {\n return plugin[1][option];\n }\n\n return null;\n}\n\nconst PIPELINE_PROPOSALS = [\"minimal\", \"smart\", \"fsharp\"];\nconst RECORD_AND_TUPLE_SYNTAX_TYPES = [\"hash\", \"bar\"];\n\nexport function validatePlugins(plugins: PluginList) {\n if (hasPlugin(plugins, \"decorators\")) {\n if (hasPlugin(plugins, \"decorators-legacy\")) {\n throw new Error(\n \"Cannot use the decorators and decorators-legacy plugin together\",\n );\n }\n\n const decoratorsBeforeExport = getPluginOption(\n plugins,\n \"decorators\",\n \"decoratorsBeforeExport\",\n );\n if (decoratorsBeforeExport == null) {\n throw new Error(\n \"The 'decorators' plugin requires a 'decoratorsBeforeExport' option,\" +\n \" whose value must be a boolean. If you are migrating from\" +\n \" Babylon/Babel 6 or want to use the old decorators proposal, you\" +\n \" should use the 'decorators-legacy' plugin instead of 'decorators'.\",\n );\n } else if (typeof decoratorsBeforeExport !== \"boolean\") {\n throw new Error(\"'decoratorsBeforeExport' must be a boolean.\");\n }\n }\n\n if (hasPlugin(plugins, \"flow\") && hasPlugin(plugins, \"typescript\")) {\n throw new Error(\"Cannot combine flow and typescript plugins.\");\n }\n\n if (hasPlugin(plugins, \"placeholders\") && hasPlugin(plugins, \"v8intrinsic\")) {\n throw new Error(\"Cannot combine placeholders and v8intrinsic plugins.\");\n }\n\n if (\n hasPlugin(plugins, \"pipelineOperator\") &&\n !PIPELINE_PROPOSALS.includes(\n getPluginOption(plugins, \"pipelineOperator\", \"proposal\"),\n )\n ) {\n throw new Error(\n \"'pipelineOperator' requires 'proposal' option whose value should be one of: \" +\n PIPELINE_PROPOSALS.map(p => `'${p}'`).join(\", \"),\n );\n }\n\n if (hasPlugin(plugins, \"moduleAttributes\")) {\n const moduleAttributesVerionPluginOption = getPluginOption(\n plugins,\n \"moduleAttributes\",\n \"version\",\n );\n if (moduleAttributesVerionPluginOption !== \"may-2020\") {\n throw new Error(\n \"The 'moduleAttributes' plugin requires a 'version' option,\" +\n \" representing the last proposal update. Currently, the\" +\n \" only supported value is 'may-2020'.\",\n );\n }\n }\n if (\n hasPlugin(plugins, \"recordAndTuple\") &&\n !RECORD_AND_TUPLE_SYNTAX_TYPES.includes(\n getPluginOption(plugins, \"recordAndTuple\", \"syntaxType\"),\n )\n ) {\n throw new Error(\n \"'recordAndTuple' requires 'syntaxType' option whose value should be one of: \" +\n RECORD_AND_TUPLE_SYNTAX_TYPES.map(p => `'${p}'`).join(\", \"),\n );\n }\n}\n\n// These plugins are defined using a mixin which extends the parser class.\n\nimport estree from \"./plugins/estree\";\nimport flow from \"./plugins/flow\";\nimport jsx from \"./plugins/jsx\";\nimport typescript from \"./plugins/typescript\";\nimport placeholders from \"./plugins/placeholders\";\nimport v8intrinsic from \"./plugins/v8intrinsic\";\n\n// NOTE: order is important. estree must come first; placeholders must come last.\nexport const mixinPlugins: { [name: string]: MixinPlugin } = {\n estree,\n jsx,\n flow,\n typescript,\n v8intrinsic,\n placeholders,\n};\n\nexport const mixinPluginNames: $ReadOnlyArray = Object.keys(\n mixinPlugins,\n);\n","// @flow\n\nimport type { PluginList } from \"./plugin-utils\";\n\n// A second optional argument can be given to further configure\n// the parser process. These options are recognized:\n\nexport type SourceType = \"script\" | \"module\" | \"unambiguous\";\n\nexport type Options = {\n sourceType: SourceType,\n sourceFilename?: string,\n startLine: number,\n allowAwaitOutsideFunction: boolean,\n allowReturnOutsideFunction: boolean,\n allowImportExportEverywhere: boolean,\n allowSuperOutsideMethod: boolean,\n allowUndeclaredExports: boolean,\n plugins: PluginList,\n strictMode: ?boolean,\n ranges: boolean,\n tokens: boolean,\n createParenthesizedExpressions: boolean,\n errorRecovery: boolean,\n};\n\nexport const defaultOptions: Options = {\n // Source type (\"script\" or \"module\") for different semantics\n sourceType: \"script\",\n // Source filename.\n sourceFilename: undefined,\n // Line from which to start counting source. Useful for\n // integration with other tools.\n startLine: 1,\n // When enabled, await at the top level is not considered an\n // error.\n allowAwaitOutsideFunction: false,\n // When enabled, a return at the top level is not considered an\n // error.\n allowReturnOutsideFunction: false,\n // When enabled, import/export statements are not constrained to\n // appearing at the top of the program.\n allowImportExportEverywhere: false,\n // TODO\n allowSuperOutsideMethod: false,\n // When enabled, export statements can reference undeclared variables.\n allowUndeclaredExports: false,\n // An array of plugins to enable\n plugins: [],\n // TODO\n strictMode: null,\n // Nodes have their start and end characters offsets recorded in\n // `start` and `end` properties (directly on the node, rather than\n // the `loc` object, which holds line/column data. To also add a\n // [semi-standardized][range] `range` property holding a `[start,\n // end]` array with the same numbers, set the `ranges` option to\n // `true`.\n //\n // [range]: https://bugzilla.mozilla.org/show_bug.cgi?id=745678\n ranges: false,\n // Adds all parsed tokens to a `tokens` property on the `File` node\n tokens: false,\n // Whether to create ParenthesizedExpression AST nodes (if false\n // the parser sets extra.parenthesized on the expression nodes instead).\n createParenthesizedExpressions: false,\n // When enabled, errors are attached to the AST instead of being directly thrown.\n // Some errors will still throw, because @babel/parser can't always recover.\n errorRecovery: false,\n};\n\n// Interpret and default an options object\n\nexport function getOptions(opts: ?Options): Options {\n const options: any = {};\n for (const key of Object.keys(defaultOptions)) {\n options[key] = opts && opts[key] != null ? opts[key] : defaultOptions[key];\n }\n return options;\n}\n","// @flow\n\nimport type { Options } from \"../options\";\nimport * as N from \"../types\";\nimport { Position } from \"../util/location\";\n\nimport { types as ct, type TokContext } from \"./context\";\nimport { types as tt, type TokenType } from \"./types\";\n\ntype TopicContextState = {\n // When a topic binding has been currently established,\n // then this is 1. Otherwise, it is 0. This is forwards compatible\n // with a future plugin for multiple lexical topics.\n maxNumOfResolvableTopics: number,\n\n // When a topic binding has been currently established, and if that binding\n // has been used as a topic reference `#`, then this is 0. Otherwise, it is\n // `null`. This is forwards compatible with a future plugin for multiple\n // lexical topics.\n maxTopicIndex: null | 0,\n};\n\nexport default class State {\n strict: boolean;\n curLine: number;\n\n // And, if locations are used, the {line, column} object\n // corresponding to those offsets\n startLoc: Position;\n endLoc: Position;\n\n init(options: Options): void {\n this.strict =\n options.strictMode === false ? false : options.sourceType === \"module\";\n\n this.curLine = options.startLine;\n this.startLoc = this.endLoc = this.curPosition();\n }\n\n errors: SyntaxError[] = [];\n\n // Used to signify the start of a potential arrow function\n potentialArrowAt: number = -1;\n\n // Used to signify the start of an expression which looks like a\n // typed arrow function, but it isn't\n // e.g. a ? (b) : c => d\n // ^\n noArrowAt: number[] = [];\n\n // Used to signify the start of an expression whose params, if it looks like\n // an arrow function, shouldn't be converted to assignable nodes.\n // This is used to defer the validation of typed arrow functions inside\n // conditional expressions.\n // e.g. a ? (b) : c => d\n // ^\n noArrowParamsConversionAt: number[] = [];\n\n // Flags to track\n inParameters: boolean = false;\n maybeInArrowParameters: boolean = false;\n // This flag is used to track async arrow head across function declarations.\n // e.g. async (foo = function (await) {}) => {}\n // When parsing `await` in this expression, `maybeInAsyncArrowHead` is true\n // but `maybeInArrowParameters` is false\n maybeInAsyncArrowHead: boolean = false;\n inPipeline: boolean = false;\n inType: boolean = false;\n noAnonFunctionType: boolean = false;\n inPropertyName: boolean = false;\n hasFlowComment: boolean = false;\n isIterator: boolean = false;\n\n // For the smartPipelines plugin:\n topicContext: TopicContextState = {\n maxNumOfResolvableTopics: 0,\n maxTopicIndex: null,\n };\n\n // For the F# plugin\n soloAwait: boolean = false;\n inFSharpPipelineDirectBody: boolean = false;\n\n // Labels in scope.\n labels: Array<{\n kind: ?(\"loop\" | \"switch\"),\n name?: ?string,\n statementStart?: number,\n }> = [];\n\n // Leading decorators. Last element of the stack represents the decorators in current context.\n // Supports nesting of decorators, e.g. @foo(@bar class inner {}) class outer {}\n // where @foo belongs to the outer class and @bar to the inner\n decoratorStack: Array> = [[]];\n\n // Positions to delayed-check that yield/await does not exist in default parameters.\n yieldPos: number = -1;\n awaitPos: number = -1;\n\n // Comment store.\n comments: Array = [];\n\n // Comment attachment store\n trailingComments: Array = [];\n leadingComments: Array = [];\n commentStack: Array<{\n start: number,\n leadingComments: ?Array,\n trailingComments: ?Array,\n type: string,\n }> = [];\n // $FlowIgnore this is initialized when the parser starts.\n commentPreviousNode: N.Node = null;\n\n // The current position of the tokenizer in the input.\n pos: number = 0;\n lineStart: number = 0;\n\n // Properties of the current token:\n // Its type\n type: TokenType = tt.eof;\n\n // For tokens that include more information than their type, the value\n value: any = null;\n\n // Its start and end offset\n start: number = 0;\n end: number = 0;\n\n // Position information for the previous token\n // $FlowIgnore this is initialized when generating the second token.\n lastTokEndLoc: Position = null;\n // $FlowIgnore this is initialized when generating the second token.\n lastTokStartLoc: Position = null;\n lastTokStart: number = 0;\n lastTokEnd: number = 0;\n\n // The context stack is used to superficially track syntactic\n // context to predict whether a regular expression is allowed in a\n // given position.\n context: Array = [ct.braceStatement];\n exprAllowed: boolean = true;\n\n // Used to signal to callers of `readWord1` whether the word\n // contained any escape sequences. This is needed because words with\n // escape sequences must not be interpreted as keywords.\n containsEsc: boolean = false;\n\n // This property is used to throw an error for\n // an octal literal in a directive that occurs prior\n // to a \"use strict\" directive.\n octalPositions: number[] = [];\n\n // Names of exports store. `default` is stored as a name for both\n // `export default foo;` and `export { foo as default };`.\n exportedIdentifiers: Array = [];\n\n // Tokens length in token store\n tokensLength: number = 0;\n\n curPosition(): Position {\n return new Position(this.curLine, this.pos - this.lineStart);\n }\n\n clone(skipArrays?: boolean): State {\n const state = new State();\n const keys = Object.keys(this);\n for (let i = 0, length = keys.length; i < length; i++) {\n const key = keys[i];\n // $FlowIgnore\n let val = this[key];\n\n if (!skipArrays && Array.isArray(val)) {\n val = val.slice();\n }\n\n // $FlowIgnore\n state[key] = val;\n }\n\n return state;\n }\n}\n","// @flow\n\n/*:: declare var invariant; */\n\nimport type { Options } from \"../options\";\nimport * as N from \"../types\";\nimport type { Position } from \"../util/location\";\nimport * as charCodes from \"charcodes\";\nimport { isIdentifierStart, isIdentifierChar } from \"../util/identifier\";\nimport { types as tt, keywords as keywordTypes, type TokenType } from \"./types\";\nimport { type TokContext, types as ct } from \"./context\";\nimport ParserErrors, { Errors } from \"../parser/error\";\nimport { SourceLocation } from \"../util/location\";\nimport {\n lineBreak,\n lineBreakG,\n isNewLine,\n isWhitespace,\n skipWhiteSpace,\n} from \"../util/whitespace\";\nimport State from \"./state\";\n\nconst VALID_REGEX_FLAGS = new Set([\"g\", \"m\", \"s\", \"i\", \"y\", \"u\"]);\n\n// The following character codes are forbidden from being\n// an immediate sibling of NumericLiteralSeparator _\n\nconst forbiddenNumericSeparatorSiblings = {\n decBinOct: [\n charCodes.dot,\n charCodes.uppercaseB,\n charCodes.uppercaseE,\n charCodes.uppercaseO,\n charCodes.underscore, // multiple separators are not allowed\n charCodes.lowercaseB,\n charCodes.lowercaseE,\n charCodes.lowercaseO,\n ],\n hex: [\n charCodes.dot,\n charCodes.uppercaseX,\n charCodes.underscore, // multiple separators are not allowed\n charCodes.lowercaseX,\n ],\n};\n\nconst allowedNumericSeparatorSiblings = {};\nallowedNumericSeparatorSiblings.bin = [\n // 0 - 1\n charCodes.digit0,\n charCodes.digit1,\n];\nallowedNumericSeparatorSiblings.oct = [\n // 0 - 7\n ...allowedNumericSeparatorSiblings.bin,\n\n charCodes.digit2,\n charCodes.digit3,\n charCodes.digit4,\n charCodes.digit5,\n charCodes.digit6,\n charCodes.digit7,\n];\nallowedNumericSeparatorSiblings.dec = [\n // 0 - 9\n ...allowedNumericSeparatorSiblings.oct,\n\n charCodes.digit8,\n charCodes.digit9,\n];\n\nallowedNumericSeparatorSiblings.hex = [\n // 0 - 9, A - F, a - f,\n ...allowedNumericSeparatorSiblings.dec,\n\n charCodes.uppercaseA,\n charCodes.uppercaseB,\n charCodes.uppercaseC,\n charCodes.uppercaseD,\n charCodes.uppercaseE,\n charCodes.uppercaseF,\n\n charCodes.lowercaseA,\n charCodes.lowercaseB,\n charCodes.lowercaseC,\n charCodes.lowercaseD,\n charCodes.lowercaseE,\n charCodes.lowercaseF,\n];\n\n// Object type used to represent tokens. Note that normally, tokens\n// simply exist as properties on the parser object. This is only\n// used for the onToken callback and the external tokenizer.\n\nexport class Token {\n constructor(state: State) {\n this.type = state.type;\n this.value = state.value;\n this.start = state.start;\n this.end = state.end;\n this.loc = new SourceLocation(state.startLoc, state.endLoc);\n }\n\n type: TokenType;\n value: any;\n start: number;\n end: number;\n loc: SourceLocation;\n}\n\n// ## Tokenizer\n\nexport default class Tokenizer extends ParserErrors {\n // Forward-declarations\n // parser/util.js\n /*::\n +hasPrecedingLineBreak: () => boolean;\n +unexpected: (pos?: ?number, messageOrType?: string | TokenType) => empty;\n +expectPlugin: (name: string, pos?: ?number) => true;\n */\n\n isLookahead: boolean;\n\n // Token store.\n tokens: Array = [];\n\n constructor(options: Options, input: string) {\n super();\n this.state = new State();\n this.state.init(options);\n this.input = input;\n this.length = input.length;\n this.isLookahead = false;\n }\n\n pushToken(token: Token | N.Comment) {\n // Pop out invalid tokens trapped by try-catch parsing.\n // Those parsing branches are mainly created by typescript and flow plugins.\n this.tokens.length = this.state.tokensLength;\n this.tokens.push(token);\n ++this.state.tokensLength;\n }\n\n // Move to the next token\n\n next(): void {\n if (!this.isLookahead) {\n this.checkKeywordEscapes();\n if (this.options.tokens) {\n this.pushToken(new Token(this.state));\n }\n }\n\n this.state.lastTokEnd = this.state.end;\n this.state.lastTokStart = this.state.start;\n this.state.lastTokEndLoc = this.state.endLoc;\n this.state.lastTokStartLoc = this.state.startLoc;\n this.nextToken();\n }\n\n // TODO\n\n eat(type: TokenType): boolean {\n if (this.match(type)) {\n this.next();\n return true;\n } else {\n return false;\n }\n }\n\n // TODO\n\n match(type: TokenType): boolean {\n return this.state.type === type;\n }\n\n // TODO\n\n lookahead(): State {\n const old = this.state;\n this.state = old.clone(true);\n\n this.isLookahead = true;\n this.next();\n this.isLookahead = false;\n\n const curr = this.state;\n this.state = old;\n return curr;\n }\n\n nextTokenStart(): number {\n return this.nextTokenStartSince(this.state.pos);\n }\n\n nextTokenStartSince(pos: number): number {\n skipWhiteSpace.lastIndex = pos;\n const skip = skipWhiteSpace.exec(this.input);\n // $FlowIgnore: The skipWhiteSpace ensures to match any string\n return pos + skip[0].length;\n }\n\n lookaheadCharCode(): number {\n return this.input.charCodeAt(this.nextTokenStart());\n }\n\n // Toggle strict mode. Re-reads the next number or string to please\n // pedantic tests (`\"use strict\"; 010;` should fail).\n\n setStrict(strict: boolean): void {\n this.state.strict = strict;\n if (!this.match(tt.num) && !this.match(tt.string)) return;\n this.state.pos = this.state.start;\n while (this.state.pos < this.state.lineStart) {\n this.state.lineStart =\n this.input.lastIndexOf(\"\\n\", this.state.lineStart - 2) + 1;\n --this.state.curLine;\n }\n this.nextToken();\n }\n\n curContext(): TokContext {\n return this.state.context[this.state.context.length - 1];\n }\n\n // Read a single token, updating the parser object's token-related\n // properties.\n\n nextToken(): void {\n const curContext = this.curContext();\n if (!curContext?.preserveSpace) this.skipSpace();\n\n this.state.octalPositions = [];\n this.state.start = this.state.pos;\n this.state.startLoc = this.state.curPosition();\n if (this.state.pos >= this.length) {\n this.finishToken(tt.eof);\n return;\n }\n\n const override = curContext?.override;\n if (override) {\n override(this);\n } else {\n this.getTokenFromCode(this.input.codePointAt(this.state.pos));\n }\n }\n\n pushComment(\n block: boolean,\n text: string,\n start: number,\n end: number,\n startLoc: Position,\n endLoc: Position,\n ): void {\n const comment = {\n type: block ? \"CommentBlock\" : \"CommentLine\",\n value: text,\n start: start,\n end: end,\n loc: new SourceLocation(startLoc, endLoc),\n };\n\n if (this.options.tokens) this.pushToken(comment);\n this.state.comments.push(comment);\n this.addComment(comment);\n }\n\n skipBlockComment(): void {\n const startLoc = this.state.curPosition();\n const start = this.state.pos;\n const end = this.input.indexOf(\"*/\", this.state.pos + 2);\n if (end === -1) throw this.raise(start, Errors.UnterminatedComment);\n\n this.state.pos = end + 2;\n lineBreakG.lastIndex = start;\n let match;\n while (\n (match = lineBreakG.exec(this.input)) &&\n match.index < this.state.pos\n ) {\n ++this.state.curLine;\n this.state.lineStart = match.index + match[0].length;\n }\n\n // If we are doing a lookahead right now we need to advance the position (above code)\n // but we do not want to push the comment to the state.\n if (this.isLookahead) return;\n\n this.pushComment(\n true,\n this.input.slice(start + 2, end),\n start,\n this.state.pos,\n startLoc,\n this.state.curPosition(),\n );\n }\n\n skipLineComment(startSkip: number): void {\n const start = this.state.pos;\n const startLoc = this.state.curPosition();\n let ch = this.input.charCodeAt((this.state.pos += startSkip));\n if (this.state.pos < this.length) {\n while (!isNewLine(ch) && ++this.state.pos < this.length) {\n ch = this.input.charCodeAt(this.state.pos);\n }\n }\n\n // If we are doing a lookahead right now we need to advance the position (above code)\n // but we do not want to push the comment to the state.\n if (this.isLookahead) return;\n\n this.pushComment(\n false,\n this.input.slice(start + startSkip, this.state.pos),\n start,\n this.state.pos,\n startLoc,\n this.state.curPosition(),\n );\n }\n\n // Called at the start of the parse and after every token. Skips\n // whitespace and comments, and.\n\n skipSpace(): void {\n loop: while (this.state.pos < this.length) {\n const ch = this.input.charCodeAt(this.state.pos);\n switch (ch) {\n case charCodes.space:\n case charCodes.nonBreakingSpace:\n case charCodes.tab:\n ++this.state.pos;\n break;\n case charCodes.carriageReturn:\n if (\n this.input.charCodeAt(this.state.pos + 1) === charCodes.lineFeed\n ) {\n ++this.state.pos;\n }\n // fall through\n case charCodes.lineFeed:\n case charCodes.lineSeparator:\n case charCodes.paragraphSeparator:\n ++this.state.pos;\n ++this.state.curLine;\n this.state.lineStart = this.state.pos;\n break;\n\n case charCodes.slash:\n switch (this.input.charCodeAt(this.state.pos + 1)) {\n case charCodes.asterisk:\n this.skipBlockComment();\n break;\n\n case charCodes.slash:\n this.skipLineComment(2);\n break;\n\n default:\n break loop;\n }\n break;\n\n default:\n if (isWhitespace(ch)) {\n ++this.state.pos;\n } else {\n break loop;\n }\n }\n }\n }\n\n // Called at the end of every token. Sets `end`, `val`, and\n // maintains `context` and `exprAllowed`, and skips the space after\n // the token, so that the next one's `start` will point at the\n // right position.\n\n finishToken(type: TokenType, val: any): void {\n this.state.end = this.state.pos;\n this.state.endLoc = this.state.curPosition();\n const prevType = this.state.type;\n this.state.type = type;\n this.state.value = val;\n\n if (!this.isLookahead) this.updateContext(prevType);\n }\n\n // ### Token reading\n\n // This is the function that is called to fetch the next token. It\n // is somewhat obscure, because it works in character codes rather\n // than characters, and because operator parsing has been inlined\n // into it.\n //\n // All in the name of speed.\n\n // number sign is \"#\"\n readToken_numberSign(): void {\n if (this.state.pos === 0 && this.readToken_interpreter()) {\n return;\n }\n\n const nextPos = this.state.pos + 1;\n const next = this.input.charCodeAt(nextPos);\n if (next >= charCodes.digit0 && next <= charCodes.digit9) {\n throw this.raise(this.state.pos, Errors.UnexpectedDigitAfterHash);\n }\n\n if (\n next === charCodes.leftCurlyBrace ||\n (next === charCodes.leftSquareBracket && this.hasPlugin(\"recordAndTuple\"))\n ) {\n // When we see `#{`, it is likely to be a hash record.\n // However we don't yell at `#[` since users may intend to use \"computed private fields\",\n // which is not allowed in the spec. Throwing expecting recordAndTuple is\n // misleading\n this.expectPlugin(\"recordAndTuple\");\n if (this.getPluginOption(\"recordAndTuple\", \"syntaxType\") !== \"hash\") {\n throw this.raise(\n this.state.pos,\n next === charCodes.leftCurlyBrace\n ? Errors.RecordExpressionHashIncorrectStartSyntaxType\n : Errors.TupleExpressionHashIncorrectStartSyntaxType,\n );\n }\n\n if (next === charCodes.leftCurlyBrace) {\n // #{\n this.finishToken(tt.braceHashL);\n } else {\n // #[\n this.finishToken(tt.bracketHashL);\n }\n this.state.pos += 2;\n } else {\n this.finishOp(tt.hash, 1);\n }\n }\n\n readToken_dot(): void {\n const next = this.input.charCodeAt(this.state.pos + 1);\n if (next >= charCodes.digit0 && next <= charCodes.digit9) {\n this.readNumber(true);\n return;\n }\n\n if (\n next === charCodes.dot &&\n this.input.charCodeAt(this.state.pos + 2) === charCodes.dot\n ) {\n this.state.pos += 3;\n this.finishToken(tt.ellipsis);\n } else {\n ++this.state.pos;\n this.finishToken(tt.dot);\n }\n }\n\n readToken_slash(): void {\n // '/'\n if (this.state.exprAllowed && !this.state.inType) {\n ++this.state.pos;\n this.readRegexp();\n return;\n }\n\n const next = this.input.charCodeAt(this.state.pos + 1);\n if (next === charCodes.equalsTo) {\n this.finishOp(tt.assign, 2);\n } else {\n this.finishOp(tt.slash, 1);\n }\n }\n\n readToken_interpreter(): boolean {\n if (this.state.pos !== 0 || this.length < 2) return false;\n\n let ch = this.input.charCodeAt(this.state.pos + 1);\n if (ch !== charCodes.exclamationMark) return false;\n\n const start = this.state.pos;\n this.state.pos += 1;\n\n while (!isNewLine(ch) && ++this.state.pos < this.length) {\n ch = this.input.charCodeAt(this.state.pos);\n }\n\n const value = this.input.slice(start + 2, this.state.pos);\n\n this.finishToken(tt.interpreterDirective, value);\n\n return true;\n }\n\n readToken_mult_modulo(code: number): void {\n // '%*'\n let type = code === charCodes.asterisk ? tt.star : tt.modulo;\n let width = 1;\n let next = this.input.charCodeAt(this.state.pos + 1);\n const exprAllowed = this.state.exprAllowed;\n\n // Exponentiation operator **\n if (code === charCodes.asterisk && next === charCodes.asterisk) {\n width++;\n next = this.input.charCodeAt(this.state.pos + 2);\n type = tt.exponent;\n }\n\n if (next === charCodes.equalsTo && !exprAllowed) {\n width++;\n type = tt.assign;\n }\n\n this.finishOp(type, width);\n }\n\n readToken_pipe_amp(code: number): void {\n // '||' '&&' '||=' '&&='\n const next = this.input.charCodeAt(this.state.pos + 1);\n\n if (next === code) {\n if (this.input.charCodeAt(this.state.pos + 2) === charCodes.equalsTo) {\n this.finishOp(tt.assign, 3);\n } else {\n this.finishOp(\n code === charCodes.verticalBar ? tt.logicalOR : tt.logicalAND,\n 2,\n );\n }\n return;\n }\n\n if (code === charCodes.verticalBar) {\n // '|>'\n if (next === charCodes.greaterThan) {\n this.finishOp(tt.pipeline, 2);\n return;\n }\n // '|}'\n if (\n this.hasPlugin(\"recordAndTuple\") &&\n next === charCodes.rightCurlyBrace\n ) {\n if (this.getPluginOption(\"recordAndTuple\", \"syntaxType\") !== \"bar\") {\n throw this.raise(\n this.state.pos,\n Errors.RecordExpressionBarIncorrectEndSyntaxType,\n );\n }\n\n this.finishOp(tt.braceBarR, 2);\n return;\n }\n\n // '|]'\n if (\n this.hasPlugin(\"recordAndTuple\") &&\n next === charCodes.rightSquareBracket\n ) {\n if (this.getPluginOption(\"recordAndTuple\", \"syntaxType\") !== \"bar\") {\n throw this.raise(\n this.state.pos,\n Errors.TupleExpressionBarIncorrectEndSyntaxType,\n );\n }\n\n this.finishOp(tt.bracketBarR, 2);\n return;\n }\n }\n\n if (next === charCodes.equalsTo) {\n this.finishOp(tt.assign, 2);\n return;\n }\n\n this.finishOp(\n code === charCodes.verticalBar ? tt.bitwiseOR : tt.bitwiseAND,\n 1,\n );\n }\n\n readToken_caret(): void {\n // '^'\n const next = this.input.charCodeAt(this.state.pos + 1);\n if (next === charCodes.equalsTo) {\n this.finishOp(tt.assign, 2);\n } else {\n this.finishOp(tt.bitwiseXOR, 1);\n }\n }\n\n readToken_plus_min(code: number): void {\n // '+-'\n const next = this.input.charCodeAt(this.state.pos + 1);\n\n if (next === code) {\n if (\n next === charCodes.dash &&\n !this.inModule &&\n this.input.charCodeAt(this.state.pos + 2) === charCodes.greaterThan &&\n (this.state.lastTokEnd === 0 || this.hasPrecedingLineBreak())\n ) {\n // A `-->` line comment\n this.skipLineComment(3);\n this.skipSpace();\n this.nextToken();\n return;\n }\n this.finishOp(tt.incDec, 2);\n return;\n }\n\n if (next === charCodes.equalsTo) {\n this.finishOp(tt.assign, 2);\n } else {\n this.finishOp(tt.plusMin, 1);\n }\n }\n\n readToken_lt_gt(code: number): void {\n // '<>'\n const next = this.input.charCodeAt(this.state.pos + 1);\n let size = 1;\n\n if (next === code) {\n size =\n code === charCodes.greaterThan &&\n this.input.charCodeAt(this.state.pos + 2) === charCodes.greaterThan\n ? 3\n : 2;\n if (this.input.charCodeAt(this.state.pos + size) === charCodes.equalsTo) {\n this.finishOp(tt.assign, size + 1);\n return;\n }\n this.finishOp(tt.bitShift, size);\n return;\n }\n\n if (\n next === charCodes.exclamationMark &&\n code === charCodes.lessThan &&\n !this.inModule &&\n this.input.charCodeAt(this.state.pos + 2) === charCodes.dash &&\n this.input.charCodeAt(this.state.pos + 3) === charCodes.dash\n ) {\n // ` + + + +``` + +### Features Supported + +- JSX spread attributes are compiled to Object.assign() instead of a helper. +- Default, destructured and optional parameters are all natively supported. +- Tagged Templates are fully supported, patched for Safari 10+ and Edge 16+. +- async/await is supported without being transpiled to generators. +- Function name inference works as expected, including Arrow Functions. + +### Installation & Usage + +Install the preset from [npm](https://www.npmjs.com/package/@babel/preset-modules): + +```sh +npm install @babel/preset-modules --save-dev +``` + +To use the preset, add it to your [Babel Configuration](https://babeljs.io/docs/en/configuration): + +```js +{ + "presets": [ + "@babel/preset-modules" + ] +} +``` + +If you're implementing the module/nomodule pattern, your configuration might look something like this: + +```js +{ + "env": { + "modern": { + "presets": [ + "@babel/preset-modules" + ] + }, + "legacy": { + "presets": [ + "@babel/preset-env" + ] + } + } +} +``` + +### Options + +There's a single Boolean `loose` option, which defaults to `false`. Passing `true` further reduces output size. + +The `loose` setting turns off a rarely-needed function name workaround for older versions of Edge. If you're not relying on `Function.prototype.name`, it's worth enabling loose mode. + +### How does it work? + +Babel’s `preset-env` is great, since it lets you define which Babel features are needed based on a browser support target. In order to make that plumbing work automatically, the preset has configuration that groups all of the new JavaScript syntax features into collections of related syntax transforms. These groups are fairly large, for example "function arguments" includes destructured, default and rest parameters. The groupings come from the fact that Babel’s transforms often rely on other transforms, so they can’t always be applied in isolation. + +From this grouping information, Babel enables or disables each group based on the browser support target you specify to preset-env’s [targets](https://babeljs.io/docs/en/babel-preset-env#targets) option. For modern output, the [targets.esmodules](https://babeljs.io/docs/en/babel-preset-env#targetsesmodules) option is effectively an alias for the set of browsers that support ES Modules: Edge 16+, Safari 10.1+, Firefox 60+ and Chrome 61+. + +Here's the problem: if any version of any browser in that list contains a bug triggered by modern syntax, the only solution we have is to enable the corresponding transform group that fixes that bug. This means that fundamentally, preset-env converts code to ES5 in order to get around syntax bugs in ES2017. Since that's the only solution at our disposal, eventually it becomes overused. + +For example, all of the new syntax features relating to function parameters are grouped into the same Babel plugin (`@babel/plugin-transform-function-parameters`). That means because Edge 16 & 17 support ES Modules but have a bug related to parsing shorthand destructured parameters with default values within arrow functions, all functions get compiled from the new compact argument syntaxes down to ES5: + +```js +// this breaks in Edge 16: +const foo = ({ a = 1 }) => {}; + +// .. but this doesn't: +function foo({ a = 1, b }, ...args) {} + +// ... and neither does this: +const foo = ({ a: a = 1 }) => {}; +``` + +In fact, there are 23 syntax improvements for function parameters in ES2017, and only one of them is broken in ES Modules-supporting browsers. It seems unfortunate to transpile all those great features down to ES5 just for one browser! + +This plugin takes a different approach than we've historically taken with JavaScript: it transpiles the broken syntax to the closest _non-broken modern syntax_. In the above case, here's what is generated to fix all ES Modules-supporting browsers: + +**input:** + +```js +const foo = ({ a = 1 }, b = 2, ...args) => [a,b,args]; +``` + +**output:** + +```js +const foo = ({ a: a = 1 }, b = 2, ...args) => [a,b,args]; +``` + +That output works in all ES Modules-supporting browsers, and is only **59 bytes** minified & gzipped. + +> Compare this to `@babel/preset-env`'s `targets.esmodules` output (**147 bytes** minified & gzipped): +> +> ```js +>const foo = function foo(_ref, b) { +> let { a = 1 } = _ref; +> +> if (b === void 0) { b = 2; } +> +> for ( +> var _len = arguments.length, +> args = new Array(_len > 2 ? _len - 2 : 0), +> _key = 2; _key < _len; _key++ +> ) { +> args[_key - 2] = arguments[_key]; +> } +> +> return [a, b, args]; +>}; +>```` + +The result is improved bundle size and performance, while supporting the same browsers. + + +### Important: Minification + +The output generated by this preset includes workarounds for Safari 10, however minifiers like Terser sometimes remove these workarounds. In order to avoid shipping broken code, it's important to tell Terser to preserve the workarounds, which can be done via the `safari10` option. + +It's also generally the case that minifiers are configured to output ES5 by default, so you'll want to change the output syntax to ES2017. + +With [Terser's Node API](https://github.com/terser/terser#minify-options): + +```js +terser.minify({ + ecma: 8, + safari10: true +}) +``` + +With [Terser CLI](https://npm.im/terser): + +```sh +terser --ecma 8 --safari10 ... +``` + +With [terser-webpack-plugin](https://webpack.js.org/plugins/terser-webpack-plugin/): + +```js +module.exports = { + optimization: { + minimizer: [ + new TerserPlugin({ + terserOptions: { + ecma: 8, + safari10: true + } + }) + ] + } +}; +``` + +All of the above configurations also apply to [uglify-es](https://github.com/mishoo/UglifyJS2/tree/harmony). +UglifyJS (2.x and prior) does not support modern JavaScript, so it cannot be used in conjunction with this preset. diff --git a/node_modules/@babel/preset-modules/lib/index.js b/node_modules/@babel/preset-modules/lib/index.js new file mode 100644 index 000000000..a4c63e76e --- /dev/null +++ b/node_modules/@babel/preset-modules/lib/index.js @@ -0,0 +1,27 @@ +"use strict"; + +exports.__esModule = true; +exports.default = void 0; + +var _path = _interopRequireDefault(require("path")); + +var _helperPluginUtils = require("@babel/helper-plugin-utils"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * @babel/preset-modules produces clean, minimal output for ES Modules-supporting browsers. + * @param {Object} [options] + * @param {boolean} [options.loose=false] Loose mode skips seldom-needed transforms that increase output size. + */ +var _default = (0, _helperPluginUtils.declare)((api, opts) => { + api.assertVersion(7); + const loose = opts.loose === true; + return { + plugins: [_path.default.resolve(__dirname, "./plugins/transform-edge-default-parameters"), _path.default.resolve(__dirname, "./plugins/transform-tagged-template-caching"), _path.default.resolve(__dirname, "./plugins/transform-jsx-spread"), _path.default.resolve(__dirname, "./plugins/transform-safari-for-shadowing"), _path.default.resolve(__dirname, "./plugins/transform-safari-block-shadowing"), _path.default.resolve(__dirname, "./plugins/transform-async-arrows-in-class"), !loose && _path.default.resolve(__dirname, "./plugins/transform-edge-function-name"), // Proposals + require.resolve("@babel/plugin-proposal-unicode-property-regex"), require.resolve("@babel/plugin-transform-dotall-regex")].filter(Boolean) + }; +}); + +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/@babel/preset-modules/lib/plugins/transform-async-arrows-in-class/index.js b/node_modules/@babel/preset-modules/lib/plugins/transform-async-arrows-in-class/index.js new file mode 100644 index 000000000..69774046f --- /dev/null +++ b/node_modules/@babel/preset-modules/lib/plugins/transform-async-arrows-in-class/index.js @@ -0,0 +1,45 @@ +"use strict"; + +exports.__esModule = true; +exports.default = void 0; + +/** + * Safari 10.3 had an issue where async arrow function expressions within any class method would throw. + * After an initial fix, any references to the instance via `this` within those methods would also throw. + * This is fixed by converting arrow functions in class methods into equivalent function expressions. + * @see https://bugs.webkit.org/show_bug.cgi?id=166879 + * + * @example + * class X{ a(){ async () => {}; } } // throws + * class X{ a(){ async function() {}; } } // works + * + * @example + * class X{ a(){ + * async () => this.a; // throws + * } } + * class X{ a(){ + * var _this=this; + * async function() { return _this.a }; // works + * } } + */ +const OPTS = { + allowInsertArrow: false, + specCompliant: false +}; + +var _default = ({ + types: t +}) => ({ + name: "transform-async-arrows-in-class", + visitor: { + ArrowFunctionExpression(path) { + if (path.node.async && path.findParent(t.isClassMethod)) { + path.arrowFunctionToExpression(OPTS); + } + } + + } +}); + +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/@babel/preset-modules/lib/plugins/transform-edge-default-parameters/index.js b/node_modules/@babel/preset-modules/lib/plugins/transform-edge-default-parameters/index.js new file mode 100644 index 000000000..639361384 --- /dev/null +++ b/node_modules/@babel/preset-modules/lib/plugins/transform-edge-default-parameters/index.js @@ -0,0 +1,36 @@ +"use strict"; + +exports.__esModule = true; +exports.default = void 0; + +/** + * Converts destructured parameters with default values to non-shorthand syntax. + * This fixes the only arguments-related bug in ES Modules-supporting browsers (Edge 16 & 17). + * Use this plugin instead of @babel/plugin-transform-parameters when targeting ES Modules. + */ +var _default = ({ + types: t +}) => { + const isArrowParent = p => p.parentKey === "params" && p.parentPath && t.isArrowFunctionExpression(p.parentPath); + + return { + name: "transform-edge-default-parameters", + visitor: { + AssignmentPattern(path) { + const arrowArgParent = path.find(isArrowParent); + + if (arrowArgParent && path.parent.shorthand) { + // In Babel 7+, there is no way to force non-shorthand properties. + path.parent.shorthand = false; + (path.parent.extra || {}).shorthand = false; // So, to ensure non-shorthand, rename the local identifier so it no longer matches: + + path.scope.rename(path.parent.key.name); + } + } + + } + }; +}; + +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/@babel/preset-modules/lib/plugins/transform-edge-function-name/index.js b/node_modules/@babel/preset-modules/lib/plugins/transform-edge-function-name/index.js new file mode 100644 index 000000000..f06ca90f2 --- /dev/null +++ b/node_modules/@babel/preset-modules/lib/plugins/transform-edge-function-name/index.js @@ -0,0 +1,42 @@ +"use strict"; + +exports.__esModule = true; +exports.default = void 0; + +/** + * Edge 16 & 17 do not infer function.name from variable assignment. + * All other `function.name` behavior works fine, so we can skip most of @babel/transform-function-name. + * @see https://kangax.github.io/compat-table/es6/#test-function_name_property_variables_(function) + * + * Note: contrary to various Github issues, Edge 16+ *does* correctly infer the name of Arrow Functions. + * The variable declarator name inference issue only affects function expressions, so that's all we fix here. + * + * A Note on Minification: Terser undoes this transform *by default* unless `keep_fnames` is set to true. + * There is by design - if Function.name is critical to your application, you must configure + * your minifier to preserve function names. + */ +var _default = ({ + types: t +}) => ({ + name: "transform-edge-function-name", + visitor: { + FunctionExpression: { + exit(path) { + if (!path.node.id && t.isIdentifier(path.parent.id)) { + const id = t.cloneNode(path.parent.id); + const binding = path.scope.getBinding(id.name); // if the binding gets reassigned anywhere, rename it + + if (binding.constantViolations.length) { + path.scope.rename(id.name); + } + + path.node.id = id; + } + } + + } + } +}); + +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/@babel/preset-modules/lib/plugins/transform-jsx-spread/index.js b/node_modules/@babel/preset-modules/lib/plugins/transform-jsx-spread/index.js new file mode 100644 index 000000000..fcb6af17c --- /dev/null +++ b/node_modules/@babel/preset-modules/lib/plugins/transform-jsx-spread/index.js @@ -0,0 +1,115 @@ +"use strict"; + +exports.__esModule = true; +exports.default = void 0; + +var _esutils = _interopRequireDefault(require("esutils")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Converts JSX Spread arguments into Object Spread, avoiding Babel's helper or Object.assign injection. + * Input: + *
+ * Output: + *
+ * ...which Babel converts to: + * h("div", { a: "1", ...b }) + */ +var _default = ({ + types: t +}) => { + // converts a set of JSXAttributes to an Object.assign() call + function convertAttributesAssign(attributes) { + const args = []; + + for (let i = 0, current; i < attributes.length; i++) { + const node = attributes[i]; + + if (t.isJSXSpreadAttribute(node)) { + // the first attribute is a spread, avoid copying all other attributes onto it + if (i === 0) { + args.push(t.objectExpression([])); + } + + current = null; + args.push(node.argument); + } else { + const name = getAttributeName(node); + const value = getAttributeValue(node); + + if (!current) { + current = t.objectExpression([]); + args.push(current); + } + + current.properties.push(t.objectProperty(name, value)); + } + } + + return t.callExpression(t.memberExpression(t.identifier("Object"), t.identifier("assign")), args); + } // Converts a JSXAttribute to the equivalent ObjectExpression property + + + function convertAttributeSpread(node) { + if (t.isJSXSpreadAttribute(node)) { + return t.spreadElement(node.argument); + } + + const name = getAttributeName(node); + const value = getAttributeValue(node); + return t.inherits(t.objectProperty(name, value), node); + } // Convert a JSX attribute name to an Object expression property name + + + function getAttributeName(node) { + if (t.isJSXNamespacedName(node.name)) { + return t.stringLiteral(node.name.namespace.name + ":" + node.name.name.name); + } + + if (_esutils.default.keyword.isIdentifierNameES6(node.name.name)) { + return t.identifier(node.name.name); + } + + return t.stringLiteral(node.name.name); + } // Convert a JSX attribute value to a JavaScript expression value + + + function getAttributeValue(node) { + let value = node.value || t.booleanLiteral(true); + + if (t.isJSXExpressionContainer(value)) { + value = value.expression; + } else if (t.isStringLiteral(value)) { + value.value = value.value.replace(/\n\s+/g, " "); // "raw" JSXText should not be used from a StringLiteral because it needs to be escaped. + + if (value.extra && value.extra.raw) { + delete value.extra.raw; + } + } + + return value; + } + + return { + name: "transform-jsx-spread", + visitor: { + JSXOpeningElement(path, state) { + const useSpread = state.opts.useSpread === true; + const hasSpread = path.node.attributes.some(attr => t.isJSXSpreadAttribute(attr)); // ignore JSX Elements without spread or with lone spread: + + if (!hasSpread || path.node.attributes.length === 1) return; + + if (useSpread) { + path.node.attributes = [t.jsxSpreadAttribute(t.objectExpression(path.node.attributes.map(convertAttributeSpread)))]; + } else { + path.node.attributes = [t.jsxSpreadAttribute(convertAttributesAssign(path.node.attributes))]; + } + } + + } + }; +}; + +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/@babel/preset-modules/lib/plugins/transform-safari-block-shadowing/index.js b/node_modules/@babel/preset-modules/lib/plugins/transform-safari-block-shadowing/index.js new file mode 100644 index 000000000..932cb8267 --- /dev/null +++ b/node_modules/@babel/preset-modules/lib/plugins/transform-safari-block-shadowing/index.js @@ -0,0 +1,47 @@ +"use strict"; + +exports.__esModule = true; +exports.default = _default; + +/** + * Fixes block-shadowed let/const bindings in Safari 10/11. + * https://kangax.github.io/compat-table/es6/#test-let_scope_shadow_resolution + */ +function _default({ + types: t +}) { + return { + name: "transform-safari-block-shadowing", + visitor: { + VariableDeclarator(path) { + // the issue only affects let and const bindings: + const kind = path.parent.kind; + if (kind !== "let" && kind !== "const") return; // ignore non-block-scoped bindings: + + const block = path.scope.block; + if (t.isFunction(block) || t.isProgram(block)) return; + const bindings = t.getOuterBindingIdentifiers(path.node.id); + + for (const name of Object.keys(bindings)) { + let scope = path.scope; // ignore parent bindings (note: impossible due to let/const?) + + if (!scope.hasOwnBinding(name)) continue; // check if shadowed within the nearest function/program boundary + + while (scope = scope.parent) { + if (scope.hasOwnBinding(name)) { + path.scope.rename(name); + break; + } + + if (t.isFunction(scope.block) || t.isProgram(scope.block)) { + break; + } + } + } + } + + } + }; +} + +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/@babel/preset-modules/lib/plugins/transform-safari-for-shadowing/index.js b/node_modules/@babel/preset-modules/lib/plugins/transform-safari-for-shadowing/index.js new file mode 100644 index 000000000..43c33e5bd --- /dev/null +++ b/node_modules/@babel/preset-modules/lib/plugins/transform-safari-for-shadowing/index.js @@ -0,0 +1,42 @@ +"use strict"; + +exports.__esModule = true; +exports.default = void 0; + +/** + * Safari ~11 has an issue where variable declarations in a For statement throw if they shadow parameters. + * This is fixed by renaming any declarations in the left/init part of a For* statement so they don't shadow. + * @see https://bugs.webkit.org/show_bug.cgi?id=171041 + * + * @example + * e => { for (let e of []) e } // throws + * e => { for (let _e of []) _e } // works + */ +function handle(declaration) { + if (!declaration.isVariableDeclaration()) return; + const fn = declaration.getFunctionParent(); + const { + name + } = declaration.node.declarations[0].id; // check if there is a shadowed binding coming from a parameter + + if (fn && fn.scope.hasOwnBinding(name) && fn.scope.getOwnBinding(name).kind === "param") { + declaration.scope.rename(name); + } +} + +var _default = () => ({ + name: "transform-safari-for-shadowing", + visitor: { + ForXStatement(path) { + handle(path.get("left")); + }, + + ForStatement(path) { + handle(path.get("init")); + } + + } +}); + +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/@babel/preset-modules/lib/plugins/transform-tagged-template-caching/index.js b/node_modules/@babel/preset-modules/lib/plugins/transform-tagged-template-caching/index.js new file mode 100644 index 000000000..944647e19 --- /dev/null +++ b/node_modules/@babel/preset-modules/lib/plugins/transform-tagged-template-caching/index.js @@ -0,0 +1,75 @@ +"use strict"; + +exports.__esModule = true; +exports.default = void 0; + +/** + * Converts destructured parameters with default values to non-shorthand syntax. + * This fixes the only Tagged Templates-related bug in ES Modules-supporting browsers (Safari 10 & 11). + * Use this plugin instead of `@babel/plugin-transform-template-literals` when targeting ES Modules. + * + * @example + * // Bug 1: Safari 10/11 doesn't reliably return the same Strings value. + * // The value changes depending on invocation and function optimization state. + * function f() { return Object`` } + * f() === new f() // false, should be true. + * + * @example + * // Bug 2: Safari 10/11 use the same cached strings value when the string parts are the same. + * // This behavior comes from an earlier version of the spec, and can cause tricky bugs. + * Object``===Object`` // true, should be false. + * + * Benchmarks: https://jsperf.com/compiled-tagged-template-performance + */ +var _default = ({ + types: t +}) => ({ + name: "transform-tagged-template-caching", + visitor: { + TaggedTemplateExpression(path, state) { + // tagged templates we've already dealt with + let processed = state.get("processed"); + + if (!processed) { + processed = new Map(); + state.set("processed", processed); + } + + if (processed.has(path.node)) return path.skip(); // Grab the expressions from the original tag. + // tag`a${'hello'}` // ['hello'] + + const expressions = path.node.quasi.expressions; // Create an identity function helper: + // identity = t => t + + let identity = state.get("identity"); + + if (!identity) { + identity = path.scope.getProgramParent().generateDeclaredUidIdentifier("_"); + state.set("identity", identity); + const binding = path.scope.getBinding(identity.name); + binding.path.get("init").replaceWith(t.arrowFunctionExpression( // re-use the helper identifier for compressability + [t.identifier("t")], t.identifier("t"))); + } // Use the identity function helper to get a reference to the template's Strings. + // We replace all expressions with `0` ensure Strings has the same shape. + // identity`a${0}` + + + const template = t.taggedTemplateExpression(identity, t.templateLiteral(path.node.quasi.quasis, expressions.map(() => t.numericLiteral(0)))); + processed.set(template, true); // Install an inline cache at the callsite using the global variable: + // _t || (_t = identity`a${0}`) + + const ident = path.scope.getProgramParent().generateDeclaredUidIdentifier("t"); + path.scope.getBinding(ident.name).path.parent.kind = "let"; + const inlineCache = t.logicalExpression("||", ident, t.assignmentExpression("=", ident, template)); // The original tag function becomes a plain function call. + // The expressions omitted from the cached Strings tag are directly applied as arguments. + // tag(_t || (_t = Object`a${0}`), 'hello') + + const node = t.callExpression(path.node.tag, [inlineCache, ...expressions]); + path.replaceWith(node); + } + + } +}); + +exports.default = _default; +module.exports = exports.default; \ No newline at end of file diff --git a/node_modules/@babel/preset-modules/package.json b/node_modules/@babel/preset-modules/package.json new file mode 100644 index 000000000..c5e9ed067 --- /dev/null +++ b/node_modules/@babel/preset-modules/package.json @@ -0,0 +1,128 @@ +{ + "_from": "@babel/preset-modules@^0.1.3", + "_id": "@babel/preset-modules@0.1.3", + "_inBundle": false, + "_integrity": "sha512-Ra3JXOHBq2xd56xSF7lMKXdjBn3T772Y1Wet3yWnkDly9zHvJki029tAFzvAAK5cf4YV3yoxuP61crYRol6SVg==", + "_location": "/@babel/preset-modules", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/preset-modules@^0.1.3", + "name": "@babel/preset-modules", + "escapedName": "@babel%2fpreset-modules", + "scope": "@babel", + "rawSpec": "^0.1.3", + "saveSpec": null, + "fetchSpec": "^0.1.3" + }, + "_requiredBy": [ + "/@babel/preset-env" + ], + "_resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.3.tgz", + "_shasum": "13242b53b5ef8c883c3cf7dddd55b36ce80fbc72", + "_spec": "@babel/preset-modules@^0.1.3", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/preset-env", + "authors": [ + "Jason Miller " + ], + "bundleDependencies": false, + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "deprecated": false, + "description": "A Babel preset that targets modern browsers by fixing engine bugs.", + "devDependencies": { + "@babel/cli": "^7.7.0", + "@babel/core": "^7.7.2", + "@babel/helper-fixtures": "^7.6.3", + "@babel/helper-plugin-test-runner": "^7.1.0", + "@babel/plugin-transform-modules-commonjs": "^7.5.0", + "@babel/plugin-transform-react-jsx": "^7.7.0", + "@babel/preset-env": "^7.4.5", + "acorn-jsx": "^5.0.1", + "babel-eslint": "^10.0.3", + "babel-plugin-add-module-exports": "^1.0.2", + "chalk": "^2.4.2", + "concurrently": "^4.1.0", + "eslint": "^6.6.0", + "eslint-config-babel": "^9.0.0", + "eslint-plugin-flowtype": "3", + "eslint-plugin-import": "^2.18.2", + "eslint-plugin-prettier": "^3.1.1", + "gzip-size": "^5.1.1", + "if-env": "^1.0.4", + "jest": "^24.8.0", + "karmatic": "^1.4.0", + "prettier": "^1.19.1", + "pretty-bytes": "^5.2.0", + "rollup": "^1.16.3", + "rollup-plugin-babel": "^4.3.3", + "rollup-plugin-node-resolve": "^5.2.0", + "terser": "^4.0.2", + "webpack": "^4.35.0" + }, + "eslintConfig": { + "extends": "developit", + "rules": { + "no-console": 0, + "new-cap": 0 + } + }, + "eslintIgnore": [ + "test/fixtures/**/*", + "test/integration/**/*" + ], + "files": [ + "src", + "lib" + ], + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "jest": { + "testEnvironment": "node", + "roots": [ + "src", + "test" + ] + }, + "keywords": [ + "babel", + "preset", + "preset-env", + "modern", + "modules", + "ES Modules", + "module/nomodule" + ], + "license": "MIT", + "lint-staged": { + "*.js": [ + "eslint --format=codeframe" + ] + }, + "main": "lib/index.js", + "name": "@babel/preset-modules", + "peerDependencies": { + "@babel/core": "^7.0.0-0" + }, + "scripts": { + "build": "babel src -d lib --ignore '**/*.test.js'", + "start": "concurrently -r 'npm:watch:* -s'", + "test": "eslint src test && jest --colors", + "test:browser": "cd test/browser && karmatic --no-coverage --browsers chrome:headless,sauce-chrome-61,sauce-firefox-60,sauce-safari-10,sauce-safari-11,sauce-edge-16,sauce-edge-17 '**/*.js'", + "test:edge": "npm run test:local -- --browsers sauce-edge-16", + "test:local": "cd test/browser && karmatic --no-coverage '**/*.js'", + "test:safari": "npm run test:local -- --browsers sauce-safari-10", + "watch:build": "npm run -s build -- -w", + "watch:test": "jest --watch" + }, + "version": "0.1.3" +} diff --git a/node_modules/@babel/preset-modules/src/index.js b/node_modules/@babel/preset-modules/src/index.js new file mode 100644 index 000000000..8dd7bedb0 --- /dev/null +++ b/node_modules/@babel/preset-modules/src/index.js @@ -0,0 +1,30 @@ +import path from "path"; +import { declare } from "@babel/helper-plugin-utils"; + +/** + * @babel/preset-modules produces clean, minimal output for ES Modules-supporting browsers. + * @param {Object} [options] + * @param {boolean} [options.loose=false] Loose mode skips seldom-needed transforms that increase output size. + */ +export default declare((api, opts) => { + api.assertVersion(7); + + const loose = opts.loose === true; + + return { + plugins: [ + path.resolve(__dirname, "./plugins/transform-edge-default-parameters"), + path.resolve(__dirname, "./plugins/transform-tagged-template-caching"), + path.resolve(__dirname, "./plugins/transform-jsx-spread"), + path.resolve(__dirname, "./plugins/transform-safari-for-shadowing"), + path.resolve(__dirname, "./plugins/transform-safari-block-shadowing"), + path.resolve(__dirname, "./plugins/transform-async-arrows-in-class"), + !loose && + path.resolve(__dirname, "./plugins/transform-edge-function-name"), + + // Proposals + require.resolve("@babel/plugin-proposal-unicode-property-regex"), + require.resolve("@babel/plugin-transform-dotall-regex"), + ].filter(Boolean), + }; +}); diff --git a/node_modules/@babel/preset-modules/src/plugins/transform-async-arrows-in-class/index.js b/node_modules/@babel/preset-modules/src/plugins/transform-async-arrows-in-class/index.js new file mode 100644 index 000000000..b05947771 --- /dev/null +++ b/node_modules/@babel/preset-modules/src/plugins/transform-async-arrows-in-class/index.js @@ -0,0 +1,35 @@ +/** + * Safari 10.3 had an issue where async arrow function expressions within any class method would throw. + * After an initial fix, any references to the instance via `this` within those methods would also throw. + * This is fixed by converting arrow functions in class methods into equivalent function expressions. + * @see https://bugs.webkit.org/show_bug.cgi?id=166879 + * + * @example + * class X{ a(){ async () => {}; } } // throws + * class X{ a(){ async function() {}; } } // works + * + * @example + * class X{ a(){ + * async () => this.a; // throws + * } } + * class X{ a(){ + * var _this=this; + * async function() { return _this.a }; // works + * } } + */ + +const OPTS = { + allowInsertArrow: false, + specCompliant: false, +}; + +export default ({ types: t }) => ({ + name: "transform-async-arrows-in-class", + visitor: { + ArrowFunctionExpression(path) { + if (path.node.async && path.findParent(t.isClassMethod)) { + path.arrowFunctionToExpression(OPTS); + } + }, + }, +}); diff --git a/node_modules/@babel/preset-modules/src/plugins/transform-edge-default-parameters/index.js b/node_modules/@babel/preset-modules/src/plugins/transform-edge-default-parameters/index.js new file mode 100644 index 000000000..fff50f198 --- /dev/null +++ b/node_modules/@babel/preset-modules/src/plugins/transform-edge-default-parameters/index.js @@ -0,0 +1,29 @@ +/** + * Converts destructured parameters with default values to non-shorthand syntax. + * This fixes the only arguments-related bug in ES Modules-supporting browsers (Edge 16 & 17). + * Use this plugin instead of @babel/plugin-transform-parameters when targeting ES Modules. + */ + +export default ({ types: t }) => { + const isArrowParent = p => + p.parentKey === "params" && + p.parentPath && + t.isArrowFunctionExpression(p.parentPath); + + return { + name: "transform-edge-default-parameters", + visitor: { + AssignmentPattern(path) { + const arrowArgParent = path.find(isArrowParent); + if (arrowArgParent && path.parent.shorthand) { + // In Babel 7+, there is no way to force non-shorthand properties. + path.parent.shorthand = false; + (path.parent.extra || {}).shorthand = false; + + // So, to ensure non-shorthand, rename the local identifier so it no longer matches: + path.scope.rename(path.parent.key.name); + } + }, + }, + }; +}; diff --git a/node_modules/@babel/preset-modules/src/plugins/transform-edge-function-name/index.js b/node_modules/@babel/preset-modules/src/plugins/transform-edge-function-name/index.js new file mode 100644 index 000000000..aab7ffe00 --- /dev/null +++ b/node_modules/@babel/preset-modules/src/plugins/transform-edge-function-name/index.js @@ -0,0 +1,31 @@ +/** + * Edge 16 & 17 do not infer function.name from variable assignment. + * All other `function.name` behavior works fine, so we can skip most of @babel/transform-function-name. + * @see https://kangax.github.io/compat-table/es6/#test-function_name_property_variables_(function) + * + * Note: contrary to various Github issues, Edge 16+ *does* correctly infer the name of Arrow Functions. + * The variable declarator name inference issue only affects function expressions, so that's all we fix here. + * + * A Note on Minification: Terser undoes this transform *by default* unless `keep_fnames` is set to true. + * There is by design - if Function.name is critical to your application, you must configure + * your minifier to preserve function names. + */ + +export default ({ types: t }) => ({ + name: "transform-edge-function-name", + visitor: { + FunctionExpression: { + exit(path) { + if (!path.node.id && t.isIdentifier(path.parent.id)) { + const id = t.cloneNode(path.parent.id); + const binding = path.scope.getBinding(id.name); + // if the binding gets reassigned anywhere, rename it + if (binding.constantViolations.length) { + path.scope.rename(id.name); + } + path.node.id = id; + } + }, + }, + }, +}); diff --git a/node_modules/@babel/preset-modules/src/plugins/transform-jsx-spread/index.js b/node_modules/@babel/preset-modules/src/plugins/transform-jsx-spread/index.js new file mode 100644 index 000000000..ef0152458 --- /dev/null +++ b/node_modules/@babel/preset-modules/src/plugins/transform-jsx-spread/index.js @@ -0,0 +1,111 @@ +import esutils from "esutils"; + +/** + * Converts JSX Spread arguments into Object Spread, avoiding Babel's helper or Object.assign injection. + * Input: + *
+ * Output: + *
+ * ...which Babel converts to: + * h("div", { a: "1", ...b }) + */ +export default ({ types: t }) => { + // converts a set of JSXAttributes to an Object.assign() call + function convertAttributesAssign(attributes) { + const args = []; + for (let i = 0, current; i < attributes.length; i++) { + const node = attributes[i]; + if (t.isJSXSpreadAttribute(node)) { + // the first attribute is a spread, avoid copying all other attributes onto it + if (i === 0) { + args.push(t.objectExpression([])); + } + current = null; + args.push(node.argument); + } else { + const name = getAttributeName(node); + const value = getAttributeValue(node); + if (!current) { + current = t.objectExpression([]); + args.push(current); + } + current.properties.push(t.objectProperty(name, value)); + } + } + return t.callExpression( + t.memberExpression(t.identifier("Object"), t.identifier("assign")), + args + ); + } + + // Converts a JSXAttribute to the equivalent ObjectExpression property + function convertAttributeSpread(node) { + if (t.isJSXSpreadAttribute(node)) { + return t.spreadElement(node.argument); + } + + const name = getAttributeName(node); + const value = getAttributeValue(node); + return t.inherits(t.objectProperty(name, value), node); + } + + // Convert a JSX attribute name to an Object expression property name + function getAttributeName(node) { + if (t.isJSXNamespacedName(node.name)) { + return t.stringLiteral( + node.name.namespace.name + ":" + node.name.name.name + ); + } + if (esutils.keyword.isIdentifierNameES6(node.name.name)) { + return t.identifier(node.name.name); + } + return t.stringLiteral(node.name.name); + } + + // Convert a JSX attribute value to a JavaScript expression value + function getAttributeValue(node) { + let value = node.value || t.booleanLiteral(true); + + if (t.isJSXExpressionContainer(value)) { + value = value.expression; + } else if (t.isStringLiteral(value)) { + value.value = value.value.replace(/\n\s+/g, " "); + + // "raw" JSXText should not be used from a StringLiteral because it needs to be escaped. + if (value.extra && value.extra.raw) { + delete value.extra.raw; + } + } + + return value; + } + + return { + name: "transform-jsx-spread", + visitor: { + JSXOpeningElement(path, state) { + const useSpread = state.opts.useSpread === true; + const hasSpread = path.node.attributes.some(attr => + t.isJSXSpreadAttribute(attr) + ); + + // ignore JSX Elements without spread or with lone spread: + if (!hasSpread || path.node.attributes.length === 1) return; + + if (useSpread) { + path.node.attributes = [ + t.jsxSpreadAttribute( + t.objectExpression( + path.node.attributes.map(convertAttributeSpread) + ) + ), + ]; + } else { + path.node.attributes = [ + t.jsxSpreadAttribute(convertAttributesAssign(path.node.attributes)), + ]; + } + }, + }, + }; +}; diff --git a/node_modules/@babel/preset-modules/src/plugins/transform-safari-block-shadowing/index.js b/node_modules/@babel/preset-modules/src/plugins/transform-safari-block-shadowing/index.js new file mode 100644 index 000000000..f509c6b6b --- /dev/null +++ b/node_modules/@babel/preset-modules/src/plugins/transform-safari-block-shadowing/index.js @@ -0,0 +1,39 @@ +/** + * Fixes block-shadowed let/const bindings in Safari 10/11. + * https://kangax.github.io/compat-table/es6/#test-let_scope_shadow_resolution + */ +export default function({ types: t }) { + return { + name: "transform-safari-block-shadowing", + visitor: { + VariableDeclarator(path) { + // the issue only affects let and const bindings: + const kind = path.parent.kind; + if (kind !== "let" && kind !== "const") return; + + // ignore non-block-scoped bindings: + const block = path.scope.block; + if (t.isFunction(block) || t.isProgram(block)) return; + + const bindings = t.getOuterBindingIdentifiers(path.node.id); + for (const name of Object.keys(bindings)) { + let scope = path.scope; + + // ignore parent bindings (note: impossible due to let/const?) + if (!scope.hasOwnBinding(name)) continue; + + // check if shadowed within the nearest function/program boundary + while ((scope = scope.parent)) { + if (scope.hasOwnBinding(name)) { + path.scope.rename(name); + break; + } + if (t.isFunction(scope.block) || t.isProgram(scope.block)) { + break; + } + } + } + }, + }, + }; +} diff --git a/node_modules/@babel/preset-modules/src/plugins/transform-safari-for-shadowing/index.js b/node_modules/@babel/preset-modules/src/plugins/transform-safari-for-shadowing/index.js new file mode 100644 index 000000000..83b4eafdd --- /dev/null +++ b/node_modules/@babel/preset-modules/src/plugins/transform-safari-for-shadowing/index.js @@ -0,0 +1,38 @@ +/** + * Safari ~11 has an issue where variable declarations in a For statement throw if they shadow parameters. + * This is fixed by renaming any declarations in the left/init part of a For* statement so they don't shadow. + * @see https://bugs.webkit.org/show_bug.cgi?id=171041 + * + * @example + * e => { for (let e of []) e } // throws + * e => { for (let _e of []) _e } // works + */ + +function handle(declaration) { + if (!declaration.isVariableDeclaration()) return; + + const fn = declaration.getFunctionParent(); + const { name } = declaration.node.declarations[0].id; + + // check if there is a shadowed binding coming from a parameter + if ( + fn && + fn.scope.hasOwnBinding(name) && + fn.scope.getOwnBinding(name).kind === "param" + ) { + declaration.scope.rename(name); + } +} + +export default () => ({ + name: "transform-safari-for-shadowing", + visitor: { + ForXStatement(path) { + handle(path.get("left")); + }, + + ForStatement(path) { + handle(path.get("init")); + }, + }, +}); diff --git a/node_modules/@babel/preset-modules/src/plugins/transform-tagged-template-caching/index.js b/node_modules/@babel/preset-modules/src/plugins/transform-tagged-template-caching/index.js new file mode 100644 index 000000000..44b4d2a74 --- /dev/null +++ b/node_modules/@babel/preset-modules/src/plugins/transform-tagged-template-caching/index.js @@ -0,0 +1,88 @@ +/** + * Converts destructured parameters with default values to non-shorthand syntax. + * This fixes the only Tagged Templates-related bug in ES Modules-supporting browsers (Safari 10 & 11). + * Use this plugin instead of `@babel/plugin-transform-template-literals` when targeting ES Modules. + * + * @example + * // Bug 1: Safari 10/11 doesn't reliably return the same Strings value. + * // The value changes depending on invocation and function optimization state. + * function f() { return Object`` } + * f() === new f() // false, should be true. + * + * @example + * // Bug 2: Safari 10/11 use the same cached strings value when the string parts are the same. + * // This behavior comes from an earlier version of the spec, and can cause tricky bugs. + * Object``===Object`` // true, should be false. + * + * Benchmarks: https://jsperf.com/compiled-tagged-template-performance + */ +export default ({ types: t }) => ({ + name: "transform-tagged-template-caching", + visitor: { + TaggedTemplateExpression(path, state) { + // tagged templates we've already dealt with + let processed = state.get("processed"); + if (!processed) { + processed = new Map(); + state.set("processed", processed); + } + + if (processed.has(path.node)) return path.skip(); + + // Grab the expressions from the original tag. + // tag`a${'hello'}` // ['hello'] + const expressions = path.node.quasi.expressions; + + // Create an identity function helper: + // identity = t => t + let identity = state.get("identity"); + if (!identity) { + identity = path.scope + .getProgramParent() + .generateDeclaredUidIdentifier("_"); + state.set("identity", identity); + const binding = path.scope.getBinding(identity.name); + binding.path.get("init").replaceWith( + t.arrowFunctionExpression( + // re-use the helper identifier for compressability + [t.identifier("t")], + t.identifier("t") + ) + ); + } + + // Use the identity function helper to get a reference to the template's Strings. + // We replace all expressions with `0` ensure Strings has the same shape. + // identity`a${0}` + const template = t.taggedTemplateExpression( + identity, + t.templateLiteral( + path.node.quasi.quasis, + expressions.map(() => t.numericLiteral(0)) + ) + ); + processed.set(template, true); + + // Install an inline cache at the callsite using the global variable: + // _t || (_t = identity`a${0}`) + const ident = path.scope + .getProgramParent() + .generateDeclaredUidIdentifier("t"); + path.scope.getBinding(ident.name).path.parent.kind = "let"; + const inlineCache = t.logicalExpression( + "||", + ident, + t.assignmentExpression("=", ident, template) + ); + + // The original tag function becomes a plain function call. + // The expressions omitted from the cached Strings tag are directly applied as arguments. + // tag(_t || (_t = Object`a${0}`), 'hello') + const node = t.callExpression(path.node.tag, [ + inlineCache, + ...expressions, + ]); + path.replaceWith(node); + }, + }, +}); diff --git a/node_modules/@babel/preset-react/LICENSE b/node_modules/@babel/preset-react/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/preset-react/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/preset-react/README.md b/node_modules/@babel/preset-react/README.md new file mode 100644 index 000000000..192d09799 --- /dev/null +++ b/node_modules/@babel/preset-react/README.md @@ -0,0 +1,19 @@ +# @babel/preset-react + +> Babel preset for all React plugins. + +See our website [@babel/preset-react](https://babeljs.io/docs/en/next/babel-preset-react.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20react%22+is%3Aopen) associated with this package. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/preset-react +``` + +or using yarn: + +```sh +yarn add @babel/preset-react --dev +``` diff --git a/node_modules/@babel/preset-react/lib/index.js b/node_modules/@babel/preset-react/lib/index.js new file mode 100644 index 000000000..a4fe179a1 --- /dev/null +++ b/node_modules/@babel/preset-react/lib/index.js @@ -0,0 +1,65 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _helperPluginUtils = require("@babel/helper-plugin-utils"); + +var _pluginTransformReactJsx = _interopRequireDefault(require("@babel/plugin-transform-react-jsx")); + +var _pluginTransformReactJsxDevelopment = _interopRequireDefault(require("@babel/plugin-transform-react-jsx-development")); + +var _pluginTransformReactDisplayName = _interopRequireDefault(require("@babel/plugin-transform-react-display-name")); + +var _pluginTransformReactJsxSource = _interopRequireDefault(require("@babel/plugin-transform-react-jsx-source")); + +var _pluginTransformReactJsxSelf = _interopRequireDefault(require("@babel/plugin-transform-react-jsx-self")); + +var _pluginTransformReactPureAnnotations = _interopRequireDefault(require("@babel/plugin-transform-react-pure-annotations")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var _default = (0, _helperPluginUtils.declare)((api, opts) => { + api.assertVersion(7); + let { + pragma, + pragmaFrag + } = opts; + const { + pure, + throwIfNamespace = true, + useSpread, + runtime = "classic", + importSource + } = opts; + + if (runtime === "classic") { + pragma = pragma || "React.createElement"; + pragmaFrag = pragmaFrag || "React.Fragment"; + } + + const development = !!opts.development; + const useBuiltIns = !!opts.useBuiltIns; + + if (typeof development !== "boolean") { + throw new Error("@babel/preset-react 'development' option must be a boolean."); + } + + const transformReactJSXPlugin = runtime === "automatic" && development ? _pluginTransformReactJsxDevelopment.default : _pluginTransformReactJsx.default; + return { + plugins: [[transformReactJSXPlugin, { + importSource, + pragma, + pragmaFrag, + runtime, + throwIfNamespace, + useBuiltIns, + useSpread, + pure + }], _pluginTransformReactDisplayName.default, pure !== false && _pluginTransformReactPureAnnotations.default, development && runtime === "classic" && _pluginTransformReactJsxSource.default, development && runtime === "classic" && _pluginTransformReactJsxSelf.default].filter(Boolean) + }; +}); + +exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/preset-react/package.json b/node_modules/@babel/preset-react/package.json new file mode 100644 index 000000000..cc7311a7e --- /dev/null +++ b/node_modules/@babel/preset-react/package.json @@ -0,0 +1,67 @@ +{ + "_from": "@babel/preset-react@^7.0.0", + "_id": "@babel/preset-react@7.10.4", + "_inBundle": false, + "_integrity": "sha512-BrHp4TgOIy4M19JAfO1LhycVXOPWdDbTRep7eVyatf174Hff+6Uk53sDyajqZPu8W1qXRBiYOfIamek6jA7YVw==", + "_location": "/@babel/preset-react", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/preset-react@^7.0.0", + "name": "@babel/preset-react", + "escapedName": "@babel%2fpreset-react", + "scope": "@babel", + "rawSpec": "^7.0.0", + "saveSpec": null, + "fetchSpec": "^7.0.0" + }, + "_requiredBy": [ + "/express-react-views" + ], + "_resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.10.4.tgz", + "_shasum": "92e8a66d816f9911d11d4cc935be67adfc82dbcf", + "_spec": "@babel/preset-react@^7.0.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/express-react-views", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/plugin-transform-react-display-name": "^7.10.4", + "@babel/plugin-transform-react-jsx": "^7.10.4", + "@babel/plugin-transform-react-jsx-development": "^7.10.4", + "@babel/plugin-transform-react-jsx-self": "^7.10.4", + "@babel/plugin-transform-react-jsx-source": "^7.10.4", + "@babel/plugin-transform-react-pure-annotations": "^7.10.4" + }, + "deprecated": false, + "description": "Babel preset for all React plugins.", + "devDependencies": { + "@babel/core": "^7.10.4", + "@babel/helper-plugin-test-runner": "^7.10.4", + "@babel/helper-transform-fixture-test-runner": "^7.10.4" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/preset-react", + "peerDependencies": { + "@babel/core": "^7.0.0-0" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-preset-react" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/register/LICENSE b/node_modules/@babel/register/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/register/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/register/README.md b/node_modules/@babel/register/README.md new file mode 100644 index 000000000..2b7ff1fca --- /dev/null +++ b/node_modules/@babel/register/README.md @@ -0,0 +1,19 @@ +# @babel/register + +> babel require hook + +See our website [@babel/register](https://babeljs.io/docs/en/next/babel-register.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20register%22+is%3Aopen) associated with this package. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/register +``` + +or using yarn: + +```sh +yarn add @babel/register --dev +``` diff --git a/node_modules/@babel/register/lib/browser.js b/node_modules/@babel/register/lib/browser.js new file mode 100644 index 000000000..d7ea1830a --- /dev/null +++ b/node_modules/@babel/register/lib/browser.js @@ -0,0 +1,11 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = register; +exports.revert = revert; + +function register() {} + +function revert() {} \ No newline at end of file diff --git a/node_modules/@babel/register/lib/cache.js b/node_modules/@babel/register/lib/cache.js new file mode 100644 index 000000000..0a18213d0 --- /dev/null +++ b/node_modules/@babel/register/lib/cache.js @@ -0,0 +1,121 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.save = save; +exports.load = load; +exports.get = get; +exports.clear = clear; + +var _path = _interopRequireDefault(require("path")); + +var _fs = _interopRequireDefault(require("fs")); + +var _os = _interopRequireDefault(require("os")); + +var _makeDir = require("make-dir"); + +var babel = _interopRequireWildcard(require("@babel/core")); + +var _findCacheDir = _interopRequireDefault(require("find-cache-dir")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const DEFAULT_CACHE_DIR = (0, _findCacheDir.default)({ + name: "@babel/register" +}) || _os.default.homedir() || _os.default.tmpdir(); + +const DEFAULT_FILENAME = _path.default.join(DEFAULT_CACHE_DIR, `.babel.${babel.version}.${babel.getEnv()}.json`); + +const FILENAME = process.env.BABEL_CACHE_PATH || DEFAULT_FILENAME; +let data = {}; +let cacheDisabled = false; + +function isCacheDisabled() { + var _process$env$BABEL_DI; + + return (_process$env$BABEL_DI = process.env.BABEL_DISABLE_CACHE) != null ? _process$env$BABEL_DI : cacheDisabled; +} + +function save() { + if (isCacheDisabled()) return; + let serialised = "{}"; + + try { + serialised = JSON.stringify(data, null, " "); + } catch (err) { + if (err.message === "Invalid string length") { + err.message = "Cache too large so it's been cleared."; + console.error(err.stack); + } else { + throw err; + } + } + + try { + (0, _makeDir.sync)(_path.default.dirname(FILENAME)); + + _fs.default.writeFileSync(FILENAME, serialised); + } catch (e) { + switch (e.code) { + case "ENOENT": + case "EACCES": + case "EPERM": + console.warn(`Babel could not write cache to file: ${FILENAME} +due to a permission issue. Cache is disabled.`); + cacheDisabled = true; + break; + + case "EROFS": + console.warn(`Babel could not write cache to file: ${FILENAME} +because it resides in a readonly filesystem. Cache is disabled.`); + cacheDisabled = true; + break; + + default: + throw e; + } + } +} + +function load() { + if (isCacheDisabled()) { + data = {}; + return; + } + + process.on("exit", save); + process.nextTick(save); + let cacheContent; + + try { + cacheContent = _fs.default.readFileSync(FILENAME); + } catch (e) { + switch (e.code) { + case "EACCES": + console.warn(`Babel could not read cache file: ${FILENAME} +due to a permission issue. Cache is disabled.`); + cacheDisabled = true; + + default: + return; + } + } + + try { + data = JSON.parse(cacheContent); + } catch (_unused) {} +} + +function get() { + return data; +} + +function clear() { + data = {}; +} \ No newline at end of file diff --git a/node_modules/@babel/register/lib/index.js b/node_modules/@babel/register/lib/index.js new file mode 100644 index 000000000..bc1c20edc --- /dev/null +++ b/node_modules/@babel/register/lib/index.js @@ -0,0 +1,10 @@ +exports = module.exports = function (...args) { + return register(...args); +}; + +exports.__esModule = true; + +const node = require("./node"); + +const register = node.default; +Object.assign(exports, node); \ No newline at end of file diff --git a/node_modules/@babel/register/lib/node.js b/node_modules/@babel/register/lib/node.js new file mode 100644 index 000000000..e338eb9cf --- /dev/null +++ b/node_modules/@babel/register/lib/node.js @@ -0,0 +1,152 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.revert = revert; +exports.default = register; + +var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep")); + +var _sourceMapSupport = _interopRequireDefault(require("source-map-support")); + +var registerCache = _interopRequireWildcard(require("./cache")); + +var _escapeRegExp = _interopRequireDefault(require("lodash/escapeRegExp")); + +var babel = _interopRequireWildcard(require("@babel/core")); + +var _pirates = require("pirates"); + +var _fs = _interopRequireDefault(require("fs")); + +var _path = _interopRequireDefault(require("path")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const maps = {}; +let transformOpts = {}; +let piratesRevert = null; + +function installSourceMapSupport() { + _sourceMapSupport.default.install({ + handleUncaughtExceptions: false, + environment: "node", + + retrieveSourceMap(source) { + const map = maps && maps[source]; + + if (map) { + return { + url: null, + map: map + }; + } else { + return null; + } + } + + }); +} + +let cache; + +function mtime(filename) { + return +_fs.default.statSync(filename).mtime; +} + +function compile(code, filename) { + const opts = new babel.OptionManager().init(Object.assign({ + sourceRoot: _path.default.dirname(filename) + _path.default.sep + }, (0, _cloneDeep.default)(transformOpts), { + filename + })); + if (opts === null) return code; + let cacheKey = `${JSON.stringify(opts)}:${babel.version}`; + const env = babel.getEnv(false); + if (env) cacheKey += `:${env}`; + let cached = cache && cache[cacheKey]; + + if (!cached || cached.mtime !== mtime(filename)) { + cached = babel.transform(code, Object.assign({}, opts, { + sourceMaps: opts.sourceMaps === undefined ? "both" : opts.sourceMaps, + ast: false + })); + + if (cache) { + cache[cacheKey] = cached; + cached.mtime = mtime(filename); + } + } + + if (cached.map) { + if (Object.keys(maps).length === 0) { + installSourceMapSupport(); + } + + maps[filename] = cached.map; + } + + return cached.code; +} + +let compiling = false; + +function compileHook(code, filename) { + if (compiling) return code; + + try { + compiling = true; + return compile(code, filename); + } finally { + compiling = false; + } +} + +function hookExtensions(exts) { + if (piratesRevert) piratesRevert(); + piratesRevert = (0, _pirates.addHook)(compileHook, { + exts, + ignoreNodeModules: false + }); +} + +function revert() { + if (piratesRevert) piratesRevert(); +} + +register(); + +function register(opts = {}) { + opts = Object.assign({}, opts); + hookExtensions(opts.extensions || babel.DEFAULT_EXTENSIONS); + + if (opts.cache === false && cache) { + registerCache.clear(); + cache = null; + } else if (opts.cache !== false && !cache) { + registerCache.load(); + cache = registerCache.get(); + } + + delete opts.extensions; + delete opts.cache; + transformOpts = Object.assign({}, opts, { + caller: Object.assign({ + name: "@babel/register" + }, opts.caller || {}) + }); + let { + cwd = "." + } = transformOpts; + cwd = transformOpts.cwd = _path.default.resolve(cwd); + + if (transformOpts.ignore === undefined && transformOpts.only === undefined) { + transformOpts.only = [new RegExp("^" + (0, _escapeRegExp.default)(cwd), "i")]; + transformOpts.ignore = [new RegExp("^" + (0, _escapeRegExp.default)(cwd) + "(?:" + _path.default.sep + ".*)?" + (0, _escapeRegExp.default)(_path.default.sep + "node_modules" + _path.default.sep), "i")]; + } +} \ No newline at end of file diff --git a/node_modules/@babel/register/package.json b/node_modules/@babel/register/package.json new file mode 100644 index 000000000..fdf25bd19 --- /dev/null +++ b/node_modules/@babel/register/package.json @@ -0,0 +1,69 @@ +{ + "_from": "@babel/register@^7.0.0", + "_id": "@babel/register@7.10.5", + "_inBundle": false, + "_integrity": "sha512-eYHdLv43nyvmPn9bfNfrcC4+iYNwdQ8Pxk1MFJuU/U5LpSYl/PH4dFMazCYZDFVi8ueG3shvO+AQfLrxpYulQw==", + "_location": "/@babel/register", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/register@^7.0.0", + "name": "@babel/register", + "escapedName": "@babel%2fregister", + "scope": "@babel", + "rawSpec": "^7.0.0", + "saveSpec": null, + "fetchSpec": "^7.0.0" + }, + "_requiredBy": [ + "/express-react-views" + ], + "_resolved": "https://registry.npmjs.org/@babel/register/-/register-7.10.5.tgz", + "_shasum": "354f3574895f1307f79efe37a51525e52fd38d89", + "_spec": "@babel/register@^7.0.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/express-react-views", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "browser": { + "./lib/node.js": "./lib/browser.js" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "find-cache-dir": "^2.0.0", + "lodash": "^4.17.19", + "make-dir": "^2.1.0", + "pirates": "^4.0.0", + "source-map-support": "^0.5.16" + }, + "deprecated": false, + "description": "babel require hook", + "devDependencies": { + "@babel/core": "^7.10.5", + "@babel/plugin-transform-modules-commonjs": "^7.10.4", + "browserify": "16.5.0", + "default-require-extensions": "^2.0.0" + }, + "gitHead": "f7964a9ac51356f7df6404a25b27ba1cffba1ba7", + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/register", + "peerDependencies": { + "@babel/core": "^7.0.0-0" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-register" + }, + "version": "7.10.5" +} diff --git a/node_modules/@babel/runtime/LICENSE b/node_modules/@babel/runtime/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/runtime/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/runtime/README.md b/node_modules/@babel/runtime/README.md new file mode 100644 index 000000000..72e8daa31 --- /dev/null +++ b/node_modules/@babel/runtime/README.md @@ -0,0 +1,19 @@ +# @babel/runtime + +> babel's modular runtime helpers + +See our website [@babel/runtime](https://babeljs.io/docs/en/next/babel-runtime.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save @babel/runtime +``` + +or using yarn: + +```sh +yarn add @babel/runtime +``` diff --git a/node_modules/@babel/runtime/helpers/AsyncGenerator.js b/node_modules/@babel/runtime/helpers/AsyncGenerator.js new file mode 100644 index 000000000..5e2373061 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/AsyncGenerator.js @@ -0,0 +1,100 @@ +var AwaitValue = require("./AwaitValue"); + +function AsyncGenerator(gen) { + var front, back; + + function send(key, arg) { + return new Promise(function (resolve, reject) { + var request = { + key: key, + arg: arg, + resolve: resolve, + reject: reject, + next: null + }; + + if (back) { + back = back.next = request; + } else { + front = back = request; + resume(key, arg); + } + }); + } + + function resume(key, arg) { + try { + var result = gen[key](arg); + var value = result.value; + var wrappedAwait = value instanceof AwaitValue; + Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) { + if (wrappedAwait) { + resume(key === "return" ? "return" : "next", arg); + return; + } + + settle(result.done ? "return" : "normal", arg); + }, function (err) { + resume("throw", err); + }); + } catch (err) { + settle("throw", err); + } + } + + function settle(type, value) { + switch (type) { + case "return": + front.resolve({ + value: value, + done: true + }); + break; + + case "throw": + front.reject(value); + break; + + default: + front.resolve({ + value: value, + done: false + }); + break; + } + + front = front.next; + + if (front) { + resume(front.key, front.arg); + } else { + back = null; + } + } + + this._invoke = send; + + if (typeof gen["return"] !== "function") { + this["return"] = undefined; + } +} + +if (typeof Symbol === "function" && Symbol.asyncIterator) { + AsyncGenerator.prototype[Symbol.asyncIterator] = function () { + return this; + }; +} + +AsyncGenerator.prototype.next = function (arg) { + return this._invoke("next", arg); +}; + +AsyncGenerator.prototype["throw"] = function (arg) { + return this._invoke("throw", arg); +}; + +AsyncGenerator.prototype["return"] = function (arg) { + return this._invoke("return", arg); +}; + +module.exports = AsyncGenerator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/AwaitValue.js b/node_modules/@babel/runtime/helpers/AwaitValue.js new file mode 100644 index 000000000..f9f418419 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/AwaitValue.js @@ -0,0 +1,5 @@ +function _AwaitValue(value) { + this.wrapped = value; +} + +module.exports = _AwaitValue; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js b/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js new file mode 100644 index 000000000..b0b41ddd2 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js @@ -0,0 +1,30 @@ +function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object.keys(descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object.defineProperty(target, property, desc); + desc = null; + } + + return desc; +} + +module.exports = _applyDecoratedDescriptor; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/arrayLikeToArray.js b/node_modules/@babel/runtime/helpers/arrayLikeToArray.js new file mode 100644 index 000000000..d620194ea --- /dev/null +++ b/node_modules/@babel/runtime/helpers/arrayLikeToArray.js @@ -0,0 +1,11 @@ +function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + + return arr2; +} + +module.exports = _arrayLikeToArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/arrayWithHoles.js b/node_modules/@babel/runtime/helpers/arrayWithHoles.js new file mode 100644 index 000000000..5a62a8ce4 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/arrayWithHoles.js @@ -0,0 +1,5 @@ +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} + +module.exports = _arrayWithHoles; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js b/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js new file mode 100644 index 000000000..694681cb4 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js @@ -0,0 +1,7 @@ +var arrayLikeToArray = require("./arrayLikeToArray"); + +function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return arrayLikeToArray(arr); +} + +module.exports = _arrayWithoutHoles; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/assertThisInitialized.js b/node_modules/@babel/runtime/helpers/assertThisInitialized.js new file mode 100644 index 000000000..98d294983 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/assertThisInitialized.js @@ -0,0 +1,9 @@ +function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; +} + +module.exports = _assertThisInitialized; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js b/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js new file mode 100644 index 000000000..c37ecf2c0 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js @@ -0,0 +1,58 @@ +function _asyncGeneratorDelegate(inner, awaitWrap) { + var iter = {}, + waiting = false; + + function pump(key, value) { + waiting = true; + value = new Promise(function (resolve) { + resolve(inner[key](value)); + }); + return { + done: false, + value: awaitWrap(value) + }; + } + + ; + + if (typeof Symbol === "function" && Symbol.iterator) { + iter[Symbol.iterator] = function () { + return this; + }; + } + + iter.next = function (value) { + if (waiting) { + waiting = false; + return value; + } + + return pump("next", value); + }; + + if (typeof inner["throw"] === "function") { + iter["throw"] = function (value) { + if (waiting) { + waiting = false; + throw value; + } + + return pump("throw", value); + }; + } + + if (typeof inner["return"] === "function") { + iter["return"] = function (value) { + if (waiting) { + waiting = false; + return value; + } + + return pump("return", value); + }; + } + + return iter; +} + +module.exports = _asyncGeneratorDelegate; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/asyncIterator.js b/node_modules/@babel/runtime/helpers/asyncIterator.js new file mode 100644 index 000000000..ef5db274a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/asyncIterator.js @@ -0,0 +1,19 @@ +function _asyncIterator(iterable) { + var method; + + if (typeof Symbol !== "undefined") { + if (Symbol.asyncIterator) { + method = iterable[Symbol.asyncIterator]; + if (method != null) return method.call(iterable); + } + + if (Symbol.iterator) { + method = iterable[Symbol.iterator]; + if (method != null) return method.call(iterable); + } + } + + throw new TypeError("Object is not async iterable"); +} + +module.exports = _asyncIterator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/asyncToGenerator.js b/node_modules/@babel/runtime/helpers/asyncToGenerator.js new file mode 100644 index 000000000..f5db93df3 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/asyncToGenerator.js @@ -0,0 +1,37 @@ +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { + try { + var info = gen[key](arg); + var value = info.value; + } catch (error) { + reject(error); + return; + } + + if (info.done) { + resolve(value); + } else { + Promise.resolve(value).then(_next, _throw); + } +} + +function _asyncToGenerator(fn) { + return function () { + var self = this, + args = arguments; + return new Promise(function (resolve, reject) { + var gen = fn.apply(self, args); + + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } + + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } + + _next(undefined); + }); + }; +} + +module.exports = _asyncToGenerator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js b/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js new file mode 100644 index 000000000..59f797af7 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js @@ -0,0 +1,7 @@ +var AwaitValue = require("./AwaitValue"); + +function _awaitAsyncGenerator(value) { + return new AwaitValue(value); +} + +module.exports = _awaitAsyncGenerator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classCallCheck.js b/node_modules/@babel/runtime/helpers/classCallCheck.js new file mode 100644 index 000000000..f389f2e82 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classCallCheck.js @@ -0,0 +1,7 @@ +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +module.exports = _classCallCheck; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classNameTDZError.js b/node_modules/@babel/runtime/helpers/classNameTDZError.js new file mode 100644 index 000000000..8c1bdf554 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classNameTDZError.js @@ -0,0 +1,5 @@ +function _classNameTDZError(name) { + throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); +} + +module.exports = _classNameTDZError; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js new file mode 100644 index 000000000..fab91057a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js @@ -0,0 +1,28 @@ +function _classPrivateFieldDestructureSet(receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + + var descriptor = privateMap.get(receiver); + + if (descriptor.set) { + if (!("__destrObj" in descriptor)) { + descriptor.__destrObj = { + set value(v) { + descriptor.set.call(receiver, v); + } + + }; + } + + return descriptor.__destrObj; + } else { + if (!descriptor.writable) { + throw new TypeError("attempted to set read only private field"); + } + + return descriptor; + } +} + +module.exports = _classPrivateFieldDestructureSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js new file mode 100644 index 000000000..106c3cd90 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js @@ -0,0 +1,15 @@ +function _classPrivateFieldGet(receiver, privateMap) { + var descriptor = privateMap.get(receiver); + + if (!descriptor) { + throw new TypeError("attempted to get private field on non-instance"); + } + + if (descriptor.get) { + return descriptor.get.call(receiver); + } + + return descriptor.value; +} + +module.exports = _classPrivateFieldGet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js b/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js new file mode 100644 index 000000000..64ed79df6 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js @@ -0,0 +1,9 @@ +function _classPrivateFieldBase(receiver, privateKey) { + if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { + throw new TypeError("attempted to use private field on non-instance"); + } + + return receiver; +} + +module.exports = _classPrivateFieldBase; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js b/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js new file mode 100644 index 000000000..a1a6417a5 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js @@ -0,0 +1,7 @@ +var id = 0; + +function _classPrivateFieldKey(name) { + return "__private_" + id++ + "_" + name; +} + +module.exports = _classPrivateFieldKey; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js new file mode 100644 index 000000000..c92f97a8e --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js @@ -0,0 +1,21 @@ +function _classPrivateFieldSet(receiver, privateMap, value) { + var descriptor = privateMap.get(receiver); + + if (!descriptor) { + throw new TypeError("attempted to set private field on non-instance"); + } + + if (descriptor.set) { + descriptor.set.call(receiver, value); + } else { + if (!descriptor.writable) { + throw new TypeError("attempted to set read only private field"); + } + + descriptor.value = value; + } + + return value; +} + +module.exports = _classPrivateFieldSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js new file mode 100644 index 000000000..a3432b9a8 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js @@ -0,0 +1,9 @@ +function _classPrivateMethodGet(receiver, privateSet, fn) { + if (!privateSet.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + + return fn; +} + +module.exports = _classPrivateMethodGet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js new file mode 100644 index 000000000..38472848c --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js @@ -0,0 +1,5 @@ +function _classPrivateMethodSet() { + throw new TypeError("attempted to reassign private method"); +} + +module.exports = _classPrivateMethodSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js new file mode 100644 index 000000000..c2b676647 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js @@ -0,0 +1,13 @@ +function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { + if (receiver !== classConstructor) { + throw new TypeError("Private static access of wrong provenance"); + } + + if (descriptor.get) { + return descriptor.get.call(receiver); + } + + return descriptor.value; +} + +module.exports = _classStaticPrivateFieldSpecGet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js new file mode 100644 index 000000000..8799fbb34 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js @@ -0,0 +1,19 @@ +function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { + if (receiver !== classConstructor) { + throw new TypeError("Private static access of wrong provenance"); + } + + if (descriptor.set) { + descriptor.set.call(receiver, value); + } else { + if (!descriptor.writable) { + throw new TypeError("attempted to set read only private field"); + } + + descriptor.value = value; + } + + return value; +} + +module.exports = _classStaticPrivateFieldSpecSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js new file mode 100644 index 000000000..f9b0d0033 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js @@ -0,0 +1,9 @@ +function _classStaticPrivateMethodGet(receiver, classConstructor, method) { + if (receiver !== classConstructor) { + throw new TypeError("Private static access of wrong provenance"); + } + + return method; +} + +module.exports = _classStaticPrivateMethodGet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js new file mode 100644 index 000000000..89042da5d --- /dev/null +++ b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js @@ -0,0 +1,5 @@ +function _classStaticPrivateMethodSet() { + throw new TypeError("attempted to set read only static private field"); +} + +module.exports = _classStaticPrivateMethodSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/construct.js b/node_modules/@babel/runtime/helpers/construct.js new file mode 100644 index 000000000..e6cccf077 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/construct.js @@ -0,0 +1,22 @@ +var setPrototypeOf = require("./setPrototypeOf"); + +var isNativeReflectConstruct = require("./isNativeReflectConstruct"); + +function _construct(Parent, args, Class) { + if (isNativeReflectConstruct()) { + module.exports = _construct = Reflect.construct; + } else { + module.exports = _construct = function _construct(Parent, args, Class) { + var a = [null]; + a.push.apply(a, args); + var Constructor = Function.bind.apply(Parent, a); + var instance = new Constructor(); + if (Class) setPrototypeOf(instance, Class.prototype); + return instance; + }; + } + + return _construct.apply(null, arguments); +} + +module.exports = _construct; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createClass.js b/node_modules/@babel/runtime/helpers/createClass.js new file mode 100644 index 000000000..f9d484109 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/createClass.js @@ -0,0 +1,17 @@ +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } +} + +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; +} + +module.exports = _createClass; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js b/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js new file mode 100644 index 000000000..fbb374358 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js @@ -0,0 +1,60 @@ +var unsupportedIterableToArray = require("./unsupportedIterableToArray"); + +function _createForOfIteratorHelper(o, allowArrayLike) { + var it; + + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + + var F = function F() {}; + + return { + s: F, + n: function n() { + if (i >= o.length) return { + done: true + }; + return { + done: false, + value: o[i++] + }; + }, + e: function e(_e) { + throw _e; + }, + f: F + }; + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var normalCompletion = true, + didErr = false, + err; + return { + s: function s() { + it = o[Symbol.iterator](); + }, + n: function n() { + var step = it.next(); + normalCompletion = step.done; + return step; + }, + e: function e(_e2) { + didErr = true; + err = _e2; + }, + f: function f() { + try { + if (!normalCompletion && it["return"] != null) it["return"](); + } finally { + if (didErr) throw err; + } + } + }; +} + +module.exports = _createForOfIteratorHelper; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js b/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js new file mode 100644 index 000000000..547d4b995 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js @@ -0,0 +1,28 @@ +var unsupportedIterableToArray = require("./unsupportedIterableToArray"); + +function _createForOfIteratorHelperLoose(o, allowArrayLike) { + var it; + + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + return function () { + if (i >= o.length) return { + done: true + }; + return { + done: false, + value: o[i++] + }; + }; + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + it = o[Symbol.iterator](); + return it.next.bind(it); +} + +module.exports = _createForOfIteratorHelperLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createSuper.js b/node_modules/@babel/runtime/helpers/createSuper.js new file mode 100644 index 000000000..fcf128376 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/createSuper.js @@ -0,0 +1,24 @@ +var getPrototypeOf = require("./getPrototypeOf"); + +var isNativeReflectConstruct = require("./isNativeReflectConstruct"); + +var possibleConstructorReturn = require("./possibleConstructorReturn"); + +function _createSuper(Derived) { + var hasNativeReflectConstruct = isNativeReflectConstruct(); + return function _createSuperInternal() { + var Super = getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = getPrototypeOf(this).constructor; + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return possibleConstructorReturn(this, result); + }; +} + +module.exports = _createSuper; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/decorate.js b/node_modules/@babel/runtime/helpers/decorate.js new file mode 100644 index 000000000..77c0b9808 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/decorate.js @@ -0,0 +1,400 @@ +var toArray = require("./toArray"); + +var toPropertyKey = require("./toPropertyKey"); + +function _decorate(decorators, factory, superClass, mixins) { + var api = _getDecoratorsApi(); + + if (mixins) { + for (var i = 0; i < mixins.length; i++) { + api = mixins[i](api); + } + } + + var r = factory(function initialize(O) { + api.initializeInstanceElements(O, decorated.elements); + }, superClass); + var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators); + api.initializeClassElements(r.F, decorated.elements); + return api.runClassFinishers(r.F, decorated.finishers); +} + +function _getDecoratorsApi() { + _getDecoratorsApi = function _getDecoratorsApi() { + return api; + }; + + var api = { + elementsDefinitionOrder: [["method"], ["field"]], + initializeInstanceElements: function initializeInstanceElements(O, elements) { + ["method", "field"].forEach(function (kind) { + elements.forEach(function (element) { + if (element.kind === kind && element.placement === "own") { + this.defineClassElement(O, element); + } + }, this); + }, this); + }, + initializeClassElements: function initializeClassElements(F, elements) { + var proto = F.prototype; + ["method", "field"].forEach(function (kind) { + elements.forEach(function (element) { + var placement = element.placement; + + if (element.kind === kind && (placement === "static" || placement === "prototype")) { + var receiver = placement === "static" ? F : proto; + this.defineClassElement(receiver, element); + } + }, this); + }, this); + }, + defineClassElement: function defineClassElement(receiver, element) { + var descriptor = element.descriptor; + + if (element.kind === "field") { + var initializer = element.initializer; + descriptor = { + enumerable: descriptor.enumerable, + writable: descriptor.writable, + configurable: descriptor.configurable, + value: initializer === void 0 ? void 0 : initializer.call(receiver) + }; + } + + Object.defineProperty(receiver, element.key, descriptor); + }, + decorateClass: function decorateClass(elements, decorators) { + var newElements = []; + var finishers = []; + var placements = { + "static": [], + prototype: [], + own: [] + }; + elements.forEach(function (element) { + this.addElementPlacement(element, placements); + }, this); + elements.forEach(function (element) { + if (!_hasDecorators(element)) return newElements.push(element); + var elementFinishersExtras = this.decorateElement(element, placements); + newElements.push(elementFinishersExtras.element); + newElements.push.apply(newElements, elementFinishersExtras.extras); + finishers.push.apply(finishers, elementFinishersExtras.finishers); + }, this); + + if (!decorators) { + return { + elements: newElements, + finishers: finishers + }; + } + + var result = this.decorateConstructor(newElements, decorators); + finishers.push.apply(finishers, result.finishers); + result.finishers = finishers; + return result; + }, + addElementPlacement: function addElementPlacement(element, placements, silent) { + var keys = placements[element.placement]; + + if (!silent && keys.indexOf(element.key) !== -1) { + throw new TypeError("Duplicated element (" + element.key + ")"); + } + + keys.push(element.key); + }, + decorateElement: function decorateElement(element, placements) { + var extras = []; + var finishers = []; + + for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { + var keys = placements[element.placement]; + keys.splice(keys.indexOf(element.key), 1); + var elementObject = this.fromElementDescriptor(element); + var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); + element = elementFinisherExtras.element; + this.addElementPlacement(element, placements); + + if (elementFinisherExtras.finisher) { + finishers.push(elementFinisherExtras.finisher); + } + + var newExtras = elementFinisherExtras.extras; + + if (newExtras) { + for (var j = 0; j < newExtras.length; j++) { + this.addElementPlacement(newExtras[j], placements); + } + + extras.push.apply(extras, newExtras); + } + } + + return { + element: element, + finishers: finishers, + extras: extras + }; + }, + decorateConstructor: function decorateConstructor(elements, decorators) { + var finishers = []; + + for (var i = decorators.length - 1; i >= 0; i--) { + var obj = this.fromClassDescriptor(elements); + var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); + + if (elementsAndFinisher.finisher !== undefined) { + finishers.push(elementsAndFinisher.finisher); + } + + if (elementsAndFinisher.elements !== undefined) { + elements = elementsAndFinisher.elements; + + for (var j = 0; j < elements.length - 1; j++) { + for (var k = j + 1; k < elements.length; k++) { + if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { + throw new TypeError("Duplicated element (" + elements[j].key + ")"); + } + } + } + } + } + + return { + elements: elements, + finishers: finishers + }; + }, + fromElementDescriptor: function fromElementDescriptor(element) { + var obj = { + kind: element.kind, + key: element.key, + placement: element.placement, + descriptor: element.descriptor + }; + var desc = { + value: "Descriptor", + configurable: true + }; + Object.defineProperty(obj, Symbol.toStringTag, desc); + if (element.kind === "field") obj.initializer = element.initializer; + return obj; + }, + toElementDescriptors: function toElementDescriptors(elementObjects) { + if (elementObjects === undefined) return; + return toArray(elementObjects).map(function (elementObject) { + var element = this.toElementDescriptor(elementObject); + this.disallowProperty(elementObject, "finisher", "An element descriptor"); + this.disallowProperty(elementObject, "extras", "An element descriptor"); + return element; + }, this); + }, + toElementDescriptor: function toElementDescriptor(elementObject) { + var kind = String(elementObject.kind); + + if (kind !== "method" && kind !== "field") { + throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); + } + + var key = toPropertyKey(elementObject.key); + var placement = String(elementObject.placement); + + if (placement !== "static" && placement !== "prototype" && placement !== "own") { + throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); + } + + var descriptor = elementObject.descriptor; + this.disallowProperty(elementObject, "elements", "An element descriptor"); + var element = { + kind: kind, + key: key, + placement: placement, + descriptor: Object.assign({}, descriptor) + }; + + if (kind !== "field") { + this.disallowProperty(elementObject, "initializer", "A method descriptor"); + } else { + this.disallowProperty(descriptor, "get", "The property descriptor of a field descriptor"); + this.disallowProperty(descriptor, "set", "The property descriptor of a field descriptor"); + this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); + element.initializer = elementObject.initializer; + } + + return element; + }, + toElementFinisherExtras: function toElementFinisherExtras(elementObject) { + var element = this.toElementDescriptor(elementObject); + + var finisher = _optionalCallableProperty(elementObject, "finisher"); + + var extras = this.toElementDescriptors(elementObject.extras); + return { + element: element, + finisher: finisher, + extras: extras + }; + }, + fromClassDescriptor: function fromClassDescriptor(elements) { + var obj = { + kind: "class", + elements: elements.map(this.fromElementDescriptor, this) + }; + var desc = { + value: "Descriptor", + configurable: true + }; + Object.defineProperty(obj, Symbol.toStringTag, desc); + return obj; + }, + toClassDescriptor: function toClassDescriptor(obj) { + var kind = String(obj.kind); + + if (kind !== "class") { + throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); + } + + this.disallowProperty(obj, "key", "A class descriptor"); + this.disallowProperty(obj, "placement", "A class descriptor"); + this.disallowProperty(obj, "descriptor", "A class descriptor"); + this.disallowProperty(obj, "initializer", "A class descriptor"); + this.disallowProperty(obj, "extras", "A class descriptor"); + + var finisher = _optionalCallableProperty(obj, "finisher"); + + var elements = this.toElementDescriptors(obj.elements); + return { + elements: elements, + finisher: finisher + }; + }, + runClassFinishers: function runClassFinishers(constructor, finishers) { + for (var i = 0; i < finishers.length; i++) { + var newConstructor = (0, finishers[i])(constructor); + + if (newConstructor !== undefined) { + if (typeof newConstructor !== "function") { + throw new TypeError("Finishers must return a constructor."); + } + + constructor = newConstructor; + } + } + + return constructor; + }, + disallowProperty: function disallowProperty(obj, name, objectType) { + if (obj[name] !== undefined) { + throw new TypeError(objectType + " can't have a ." + name + " property."); + } + } + }; + return api; +} + +function _createElementDescriptor(def) { + var key = toPropertyKey(def.key); + var descriptor; + + if (def.kind === "method") { + descriptor = { + value: def.value, + writable: true, + configurable: true, + enumerable: false + }; + } else if (def.kind === "get") { + descriptor = { + get: def.value, + configurable: true, + enumerable: false + }; + } else if (def.kind === "set") { + descriptor = { + set: def.value, + configurable: true, + enumerable: false + }; + } else if (def.kind === "field") { + descriptor = { + configurable: true, + writable: true, + enumerable: true + }; + } + + var element = { + kind: def.kind === "field" ? "field" : "method", + key: key, + placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", + descriptor: descriptor + }; + if (def.decorators) element.decorators = def.decorators; + if (def.kind === "field") element.initializer = def.value; + return element; +} + +function _coalesceGetterSetter(element, other) { + if (element.descriptor.get !== undefined) { + other.descriptor.get = element.descriptor.get; + } else { + other.descriptor.set = element.descriptor.set; + } +} + +function _coalesceClassElements(elements) { + var newElements = []; + + var isSameElement = function isSameElement(other) { + return other.kind === "method" && other.key === element.key && other.placement === element.placement; + }; + + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + var other; + + if (element.kind === "method" && (other = newElements.find(isSameElement))) { + if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { + if (_hasDecorators(element) || _hasDecorators(other)) { + throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); + } + + other.descriptor = element.descriptor; + } else { + if (_hasDecorators(element)) { + if (_hasDecorators(other)) { + throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); + } + + other.decorators = element.decorators; + } + + _coalesceGetterSetter(element, other); + } + } else { + newElements.push(element); + } + } + + return newElements; +} + +function _hasDecorators(element) { + return element.decorators && element.decorators.length; +} + +function _isDataDescriptor(desc) { + return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); +} + +function _optionalCallableProperty(obj, name) { + var value = obj[name]; + + if (value !== undefined && typeof value !== "function") { + throw new TypeError("Expected '" + name + "' to be a function"); + } + + return value; +} + +module.exports = _decorate; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defaults.js b/node_modules/@babel/runtime/helpers/defaults.js new file mode 100644 index 000000000..55ba1febf --- /dev/null +++ b/node_modules/@babel/runtime/helpers/defaults.js @@ -0,0 +1,16 @@ +function _defaults(obj, defaults) { + var keys = Object.getOwnPropertyNames(defaults); + + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + var value = Object.getOwnPropertyDescriptor(defaults, key); + + if (value && value.configurable && obj[key] === undefined) { + Object.defineProperty(obj, key, value); + } + } + + return obj; +} + +module.exports = _defaults; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js b/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js new file mode 100644 index 000000000..5d80ea1e3 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js @@ -0,0 +1,24 @@ +function _defineEnumerableProperties(obj, descs) { + for (var key in descs) { + var desc = descs[key]; + desc.configurable = desc.enumerable = true; + if ("value" in desc) desc.writable = true; + Object.defineProperty(obj, key, desc); + } + + if (Object.getOwnPropertySymbols) { + var objectSymbols = Object.getOwnPropertySymbols(descs); + + for (var i = 0; i < objectSymbols.length; i++) { + var sym = objectSymbols[i]; + var desc = descs[sym]; + desc.configurable = desc.enumerable = true; + if ("value" in desc) desc.writable = true; + Object.defineProperty(obj, sym, desc); + } + } + + return obj; +} + +module.exports = _defineEnumerableProperties; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defineProperty.js b/node_modules/@babel/runtime/helpers/defineProperty.js new file mode 100644 index 000000000..32a8d73f5 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/defineProperty.js @@ -0,0 +1,16 @@ +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +module.exports = _defineProperty; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js b/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js new file mode 100644 index 000000000..65361d96e --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js @@ -0,0 +1,97 @@ +import AwaitValue from "./AwaitValue"; +export default function AsyncGenerator(gen) { + var front, back; + + function send(key, arg) { + return new Promise(function (resolve, reject) { + var request = { + key: key, + arg: arg, + resolve: resolve, + reject: reject, + next: null + }; + + if (back) { + back = back.next = request; + } else { + front = back = request; + resume(key, arg); + } + }); + } + + function resume(key, arg) { + try { + var result = gen[key](arg); + var value = result.value; + var wrappedAwait = value instanceof AwaitValue; + Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) { + if (wrappedAwait) { + resume(key === "return" ? "return" : "next", arg); + return; + } + + settle(result.done ? "return" : "normal", arg); + }, function (err) { + resume("throw", err); + }); + } catch (err) { + settle("throw", err); + } + } + + function settle(type, value) { + switch (type) { + case "return": + front.resolve({ + value: value, + done: true + }); + break; + + case "throw": + front.reject(value); + break; + + default: + front.resolve({ + value: value, + done: false + }); + break; + } + + front = front.next; + + if (front) { + resume(front.key, front.arg); + } else { + back = null; + } + } + + this._invoke = send; + + if (typeof gen["return"] !== "function") { + this["return"] = undefined; + } +} + +if (typeof Symbol === "function" && Symbol.asyncIterator) { + AsyncGenerator.prototype[Symbol.asyncIterator] = function () { + return this; + }; +} + +AsyncGenerator.prototype.next = function (arg) { + return this._invoke("next", arg); +}; + +AsyncGenerator.prototype["throw"] = function (arg) { + return this._invoke("throw", arg); +}; + +AsyncGenerator.prototype["return"] = function (arg) { + return this._invoke("return", arg); +}; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/AwaitValue.js b/node_modules/@babel/runtime/helpers/esm/AwaitValue.js new file mode 100644 index 000000000..5237e18fd --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/AwaitValue.js @@ -0,0 +1,3 @@ +export default function _AwaitValue(value) { + this.wrapped = value; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js b/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js new file mode 100644 index 000000000..84b59617c --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js @@ -0,0 +1,28 @@ +export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { + var desc = {}; + Object.keys(descriptor).forEach(function (key) { + desc[key] = descriptor[key]; + }); + desc.enumerable = !!desc.enumerable; + desc.configurable = !!desc.configurable; + + if ('value' in desc || desc.initializer) { + desc.writable = true; + } + + desc = decorators.slice().reverse().reduce(function (desc, decorator) { + return decorator(target, property, desc) || desc; + }, desc); + + if (context && desc.initializer !== void 0) { + desc.value = desc.initializer ? desc.initializer.call(context) : void 0; + desc.initializer = undefined; + } + + if (desc.initializer === void 0) { + Object.defineProperty(target, property, desc); + desc = null; + } + + return desc; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js b/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js new file mode 100644 index 000000000..edbeb8ee3 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js @@ -0,0 +1,9 @@ +export default function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + + return arr2; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js b/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js new file mode 100644 index 000000000..be734fc38 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js @@ -0,0 +1,3 @@ +export default function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js b/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js new file mode 100644 index 000000000..e736ad879 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js @@ -0,0 +1,4 @@ +import arrayLikeToArray from "./arrayLikeToArray"; +export default function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return arrayLikeToArray(arr); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js b/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js new file mode 100644 index 000000000..bbf849ca5 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js @@ -0,0 +1,7 @@ +export default function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js b/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js new file mode 100644 index 000000000..eb56fe59a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js @@ -0,0 +1,56 @@ +export default function _asyncGeneratorDelegate(inner, awaitWrap) { + var iter = {}, + waiting = false; + + function pump(key, value) { + waiting = true; + value = new Promise(function (resolve) { + resolve(inner[key](value)); + }); + return { + done: false, + value: awaitWrap(value) + }; + } + + ; + + if (typeof Symbol === "function" && Symbol.iterator) { + iter[Symbol.iterator] = function () { + return this; + }; + } + + iter.next = function (value) { + if (waiting) { + waiting = false; + return value; + } + + return pump("next", value); + }; + + if (typeof inner["throw"] === "function") { + iter["throw"] = function (value) { + if (waiting) { + waiting = false; + throw value; + } + + return pump("throw", value); + }; + } + + if (typeof inner["return"] === "function") { + iter["return"] = function (value) { + if (waiting) { + waiting = false; + return value; + } + + return pump("return", value); + }; + } + + return iter; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/asyncIterator.js b/node_modules/@babel/runtime/helpers/esm/asyncIterator.js new file mode 100644 index 000000000..e03fa9782 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/asyncIterator.js @@ -0,0 +1,17 @@ +export default function _asyncIterator(iterable) { + var method; + + if (typeof Symbol !== "undefined") { + if (Symbol.asyncIterator) { + method = iterable[Symbol.asyncIterator]; + if (method != null) return method.call(iterable); + } + + if (Symbol.iterator) { + method = iterable[Symbol.iterator]; + if (method != null) return method.call(iterable); + } + } + + throw new TypeError("Object is not async iterable"); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js b/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js new file mode 100644 index 000000000..2a25f543b --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js @@ -0,0 +1,35 @@ +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { + try { + var info = gen[key](arg); + var value = info.value; + } catch (error) { + reject(error); + return; + } + + if (info.done) { + resolve(value); + } else { + Promise.resolve(value).then(_next, _throw); + } +} + +export default function _asyncToGenerator(fn) { + return function () { + var self = this, + args = arguments; + return new Promise(function (resolve, reject) { + var gen = fn.apply(self, args); + + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } + + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } + + _next(undefined); + }); + }; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js b/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js new file mode 100644 index 000000000..462f99cda --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js @@ -0,0 +1,4 @@ +import AwaitValue from "./AwaitValue"; +export default function _awaitAsyncGenerator(value) { + return new AwaitValue(value); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classCallCheck.js b/node_modules/@babel/runtime/helpers/esm/classCallCheck.js new file mode 100644 index 000000000..2f1738a3d --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classCallCheck.js @@ -0,0 +1,5 @@ +export default function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js b/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js new file mode 100644 index 000000000..f7b6dd578 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js @@ -0,0 +1,3 @@ +export default function _classNameTDZError(name) { + throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js new file mode 100644 index 000000000..1f265bc8e --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js @@ -0,0 +1,26 @@ +export default function _classPrivateFieldDestructureSet(receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + + var descriptor = privateMap.get(receiver); + + if (descriptor.set) { + if (!("__destrObj" in descriptor)) { + descriptor.__destrObj = { + set value(v) { + descriptor.set.call(receiver, v); + } + + }; + } + + return descriptor.__destrObj; + } else { + if (!descriptor.writable) { + throw new TypeError("attempted to set read only private field"); + } + + return descriptor; + } +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js new file mode 100644 index 000000000..f8287f115 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js @@ -0,0 +1,13 @@ +export default function _classPrivateFieldGet(receiver, privateMap) { + var descriptor = privateMap.get(receiver); + + if (!descriptor) { + throw new TypeError("attempted to get private field on non-instance"); + } + + if (descriptor.get) { + return descriptor.get.call(receiver); + } + + return descriptor.value; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js new file mode 100644 index 000000000..5b10916f4 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js @@ -0,0 +1,7 @@ +export default function _classPrivateFieldBase(receiver, privateKey) { + if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { + throw new TypeError("attempted to use private field on non-instance"); + } + + return receiver; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js new file mode 100644 index 000000000..5b7e5ac02 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js @@ -0,0 +1,4 @@ +var id = 0; +export default function _classPrivateFieldKey(name) { + return "__private_" + id++ + "_" + name; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js new file mode 100644 index 000000000..fb4e5d2b2 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js @@ -0,0 +1,19 @@ +export default function _classPrivateFieldSet(receiver, privateMap, value) { + var descriptor = privateMap.get(receiver); + + if (!descriptor) { + throw new TypeError("attempted to set private field on non-instance"); + } + + if (descriptor.set) { + descriptor.set.call(receiver, value); + } else { + if (!descriptor.writable) { + throw new TypeError("attempted to set read only private field"); + } + + descriptor.value = value; + } + + return value; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js new file mode 100644 index 000000000..38b9d584d --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js @@ -0,0 +1,7 @@ +export default function _classPrivateMethodGet(receiver, privateSet, fn) { + if (!privateSet.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + + return fn; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js new file mode 100644 index 000000000..2bbaf3a7a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js @@ -0,0 +1,3 @@ +export default function _classPrivateMethodSet() { + throw new TypeError("attempted to reassign private method"); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js new file mode 100644 index 000000000..75a9b7cea --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js @@ -0,0 +1,11 @@ +export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { + if (receiver !== classConstructor) { + throw new TypeError("Private static access of wrong provenance"); + } + + if (descriptor.get) { + return descriptor.get.call(receiver); + } + + return descriptor.value; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js new file mode 100644 index 000000000..163279f22 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js @@ -0,0 +1,17 @@ +export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { + if (receiver !== classConstructor) { + throw new TypeError("Private static access of wrong provenance"); + } + + if (descriptor.set) { + descriptor.set.call(receiver, value); + } else { + if (!descriptor.writable) { + throw new TypeError("attempted to set read only private field"); + } + + descriptor.value = value; + } + + return value; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js new file mode 100644 index 000000000..da9b1e57e --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js @@ -0,0 +1,7 @@ +export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { + if (receiver !== classConstructor) { + throw new TypeError("Private static access of wrong provenance"); + } + + return method; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js new file mode 100644 index 000000000..d5ab60a97 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js @@ -0,0 +1,3 @@ +export default function _classStaticPrivateMethodSet() { + throw new TypeError("attempted to set read only static private field"); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/construct.js b/node_modules/@babel/runtime/helpers/esm/construct.js new file mode 100644 index 000000000..106815456 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/construct.js @@ -0,0 +1,18 @@ +import setPrototypeOf from "./setPrototypeOf"; +import isNativeReflectConstruct from "./isNativeReflectConstruct"; +export default function _construct(Parent, args, Class) { + if (isNativeReflectConstruct()) { + _construct = Reflect.construct; + } else { + _construct = function _construct(Parent, args, Class) { + var a = [null]; + a.push.apply(a, args); + var Constructor = Function.bind.apply(Parent, a); + var instance = new Constructor(); + if (Class) setPrototypeOf(instance, Class.prototype); + return instance; + }; + } + + return _construct.apply(null, arguments); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createClass.js b/node_modules/@babel/runtime/helpers/esm/createClass.js new file mode 100644 index 000000000..d6cf41220 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/createClass.js @@ -0,0 +1,15 @@ +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } +} + +export default function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js b/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js new file mode 100644 index 000000000..a4f8b41eb --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js @@ -0,0 +1,57 @@ +import unsupportedIterableToArray from "./unsupportedIterableToArray"; +export default function _createForOfIteratorHelper(o, allowArrayLike) { + var it; + + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + + var F = function F() {}; + + return { + s: F, + n: function n() { + if (i >= o.length) return { + done: true + }; + return { + done: false, + value: o[i++] + }; + }, + e: function e(_e) { + throw _e; + }, + f: F + }; + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + var normalCompletion = true, + didErr = false, + err; + return { + s: function s() { + it = o[Symbol.iterator](); + }, + n: function n() { + var step = it.next(); + normalCompletion = step.done; + return step; + }, + e: function e(_e2) { + didErr = true; + err = _e2; + }, + f: function f() { + try { + if (!normalCompletion && it["return"] != null) it["return"](); + } finally { + if (didErr) throw err; + } + } + }; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js b/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js new file mode 100644 index 000000000..535c7a4a6 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js @@ -0,0 +1,25 @@ +import unsupportedIterableToArray from "./unsupportedIterableToArray"; +export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { + var it; + + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (it) o = it; + var i = 0; + return function () { + if (i >= o.length) return { + done: true + }; + return { + done: false, + value: o[i++] + }; + }; + } + + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + it = o[Symbol.iterator](); + return it.next.bind(it); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createSuper.js b/node_modules/@babel/runtime/helpers/esm/createSuper.js new file mode 100644 index 000000000..70404e41e --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/createSuper.js @@ -0,0 +1,19 @@ +import getPrototypeOf from "./getPrototypeOf"; +import isNativeReflectConstruct from "./isNativeReflectConstruct"; +import possibleConstructorReturn from "./possibleConstructorReturn"; +export default function _createSuper(Derived) { + var hasNativeReflectConstruct = isNativeReflectConstruct(); + return function _createSuperInternal() { + var Super = getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = getPrototypeOf(this).constructor; + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return possibleConstructorReturn(this, result); + }; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/decorate.js b/node_modules/@babel/runtime/helpers/esm/decorate.js new file mode 100644 index 000000000..b6acd1ff9 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/decorate.js @@ -0,0 +1,396 @@ +import toArray from "./toArray"; +import toPropertyKey from "./toPropertyKey"; +export default function _decorate(decorators, factory, superClass, mixins) { + var api = _getDecoratorsApi(); + + if (mixins) { + for (var i = 0; i < mixins.length; i++) { + api = mixins[i](api); + } + } + + var r = factory(function initialize(O) { + api.initializeInstanceElements(O, decorated.elements); + }, superClass); + var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators); + api.initializeClassElements(r.F, decorated.elements); + return api.runClassFinishers(r.F, decorated.finishers); +} + +function _getDecoratorsApi() { + _getDecoratorsApi = function _getDecoratorsApi() { + return api; + }; + + var api = { + elementsDefinitionOrder: [["method"], ["field"]], + initializeInstanceElements: function initializeInstanceElements(O, elements) { + ["method", "field"].forEach(function (kind) { + elements.forEach(function (element) { + if (element.kind === kind && element.placement === "own") { + this.defineClassElement(O, element); + } + }, this); + }, this); + }, + initializeClassElements: function initializeClassElements(F, elements) { + var proto = F.prototype; + ["method", "field"].forEach(function (kind) { + elements.forEach(function (element) { + var placement = element.placement; + + if (element.kind === kind && (placement === "static" || placement === "prototype")) { + var receiver = placement === "static" ? F : proto; + this.defineClassElement(receiver, element); + } + }, this); + }, this); + }, + defineClassElement: function defineClassElement(receiver, element) { + var descriptor = element.descriptor; + + if (element.kind === "field") { + var initializer = element.initializer; + descriptor = { + enumerable: descriptor.enumerable, + writable: descriptor.writable, + configurable: descriptor.configurable, + value: initializer === void 0 ? void 0 : initializer.call(receiver) + }; + } + + Object.defineProperty(receiver, element.key, descriptor); + }, + decorateClass: function decorateClass(elements, decorators) { + var newElements = []; + var finishers = []; + var placements = { + "static": [], + prototype: [], + own: [] + }; + elements.forEach(function (element) { + this.addElementPlacement(element, placements); + }, this); + elements.forEach(function (element) { + if (!_hasDecorators(element)) return newElements.push(element); + var elementFinishersExtras = this.decorateElement(element, placements); + newElements.push(elementFinishersExtras.element); + newElements.push.apply(newElements, elementFinishersExtras.extras); + finishers.push.apply(finishers, elementFinishersExtras.finishers); + }, this); + + if (!decorators) { + return { + elements: newElements, + finishers: finishers + }; + } + + var result = this.decorateConstructor(newElements, decorators); + finishers.push.apply(finishers, result.finishers); + result.finishers = finishers; + return result; + }, + addElementPlacement: function addElementPlacement(element, placements, silent) { + var keys = placements[element.placement]; + + if (!silent && keys.indexOf(element.key) !== -1) { + throw new TypeError("Duplicated element (" + element.key + ")"); + } + + keys.push(element.key); + }, + decorateElement: function decorateElement(element, placements) { + var extras = []; + var finishers = []; + + for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { + var keys = placements[element.placement]; + keys.splice(keys.indexOf(element.key), 1); + var elementObject = this.fromElementDescriptor(element); + var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); + element = elementFinisherExtras.element; + this.addElementPlacement(element, placements); + + if (elementFinisherExtras.finisher) { + finishers.push(elementFinisherExtras.finisher); + } + + var newExtras = elementFinisherExtras.extras; + + if (newExtras) { + for (var j = 0; j < newExtras.length; j++) { + this.addElementPlacement(newExtras[j], placements); + } + + extras.push.apply(extras, newExtras); + } + } + + return { + element: element, + finishers: finishers, + extras: extras + }; + }, + decorateConstructor: function decorateConstructor(elements, decorators) { + var finishers = []; + + for (var i = decorators.length - 1; i >= 0; i--) { + var obj = this.fromClassDescriptor(elements); + var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); + + if (elementsAndFinisher.finisher !== undefined) { + finishers.push(elementsAndFinisher.finisher); + } + + if (elementsAndFinisher.elements !== undefined) { + elements = elementsAndFinisher.elements; + + for (var j = 0; j < elements.length - 1; j++) { + for (var k = j + 1; k < elements.length; k++) { + if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { + throw new TypeError("Duplicated element (" + elements[j].key + ")"); + } + } + } + } + } + + return { + elements: elements, + finishers: finishers + }; + }, + fromElementDescriptor: function fromElementDescriptor(element) { + var obj = { + kind: element.kind, + key: element.key, + placement: element.placement, + descriptor: element.descriptor + }; + var desc = { + value: "Descriptor", + configurable: true + }; + Object.defineProperty(obj, Symbol.toStringTag, desc); + if (element.kind === "field") obj.initializer = element.initializer; + return obj; + }, + toElementDescriptors: function toElementDescriptors(elementObjects) { + if (elementObjects === undefined) return; + return toArray(elementObjects).map(function (elementObject) { + var element = this.toElementDescriptor(elementObject); + this.disallowProperty(elementObject, "finisher", "An element descriptor"); + this.disallowProperty(elementObject, "extras", "An element descriptor"); + return element; + }, this); + }, + toElementDescriptor: function toElementDescriptor(elementObject) { + var kind = String(elementObject.kind); + + if (kind !== "method" && kind !== "field") { + throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); + } + + var key = toPropertyKey(elementObject.key); + var placement = String(elementObject.placement); + + if (placement !== "static" && placement !== "prototype" && placement !== "own") { + throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); + } + + var descriptor = elementObject.descriptor; + this.disallowProperty(elementObject, "elements", "An element descriptor"); + var element = { + kind: kind, + key: key, + placement: placement, + descriptor: Object.assign({}, descriptor) + }; + + if (kind !== "field") { + this.disallowProperty(elementObject, "initializer", "A method descriptor"); + } else { + this.disallowProperty(descriptor, "get", "The property descriptor of a field descriptor"); + this.disallowProperty(descriptor, "set", "The property descriptor of a field descriptor"); + this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); + element.initializer = elementObject.initializer; + } + + return element; + }, + toElementFinisherExtras: function toElementFinisherExtras(elementObject) { + var element = this.toElementDescriptor(elementObject); + + var finisher = _optionalCallableProperty(elementObject, "finisher"); + + var extras = this.toElementDescriptors(elementObject.extras); + return { + element: element, + finisher: finisher, + extras: extras + }; + }, + fromClassDescriptor: function fromClassDescriptor(elements) { + var obj = { + kind: "class", + elements: elements.map(this.fromElementDescriptor, this) + }; + var desc = { + value: "Descriptor", + configurable: true + }; + Object.defineProperty(obj, Symbol.toStringTag, desc); + return obj; + }, + toClassDescriptor: function toClassDescriptor(obj) { + var kind = String(obj.kind); + + if (kind !== "class") { + throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); + } + + this.disallowProperty(obj, "key", "A class descriptor"); + this.disallowProperty(obj, "placement", "A class descriptor"); + this.disallowProperty(obj, "descriptor", "A class descriptor"); + this.disallowProperty(obj, "initializer", "A class descriptor"); + this.disallowProperty(obj, "extras", "A class descriptor"); + + var finisher = _optionalCallableProperty(obj, "finisher"); + + var elements = this.toElementDescriptors(obj.elements); + return { + elements: elements, + finisher: finisher + }; + }, + runClassFinishers: function runClassFinishers(constructor, finishers) { + for (var i = 0; i < finishers.length; i++) { + var newConstructor = (0, finishers[i])(constructor); + + if (newConstructor !== undefined) { + if (typeof newConstructor !== "function") { + throw new TypeError("Finishers must return a constructor."); + } + + constructor = newConstructor; + } + } + + return constructor; + }, + disallowProperty: function disallowProperty(obj, name, objectType) { + if (obj[name] !== undefined) { + throw new TypeError(objectType + " can't have a ." + name + " property."); + } + } + }; + return api; +} + +function _createElementDescriptor(def) { + var key = toPropertyKey(def.key); + var descriptor; + + if (def.kind === "method") { + descriptor = { + value: def.value, + writable: true, + configurable: true, + enumerable: false + }; + } else if (def.kind === "get") { + descriptor = { + get: def.value, + configurable: true, + enumerable: false + }; + } else if (def.kind === "set") { + descriptor = { + set: def.value, + configurable: true, + enumerable: false + }; + } else if (def.kind === "field") { + descriptor = { + configurable: true, + writable: true, + enumerable: true + }; + } + + var element = { + kind: def.kind === "field" ? "field" : "method", + key: key, + placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", + descriptor: descriptor + }; + if (def.decorators) element.decorators = def.decorators; + if (def.kind === "field") element.initializer = def.value; + return element; +} + +function _coalesceGetterSetter(element, other) { + if (element.descriptor.get !== undefined) { + other.descriptor.get = element.descriptor.get; + } else { + other.descriptor.set = element.descriptor.set; + } +} + +function _coalesceClassElements(elements) { + var newElements = []; + + var isSameElement = function isSameElement(other) { + return other.kind === "method" && other.key === element.key && other.placement === element.placement; + }; + + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + var other; + + if (element.kind === "method" && (other = newElements.find(isSameElement))) { + if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { + if (_hasDecorators(element) || _hasDecorators(other)) { + throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); + } + + other.descriptor = element.descriptor; + } else { + if (_hasDecorators(element)) { + if (_hasDecorators(other)) { + throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); + } + + other.decorators = element.decorators; + } + + _coalesceGetterSetter(element, other); + } + } else { + newElements.push(element); + } + } + + return newElements; +} + +function _hasDecorators(element) { + return element.decorators && element.decorators.length; +} + +function _isDataDescriptor(desc) { + return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); +} + +function _optionalCallableProperty(obj, name) { + var value = obj[name]; + + if (value !== undefined && typeof value !== "function") { + throw new TypeError("Expected '" + name + "' to be a function"); + } + + return value; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defaults.js b/node_modules/@babel/runtime/helpers/esm/defaults.js new file mode 100644 index 000000000..3de1d8ecf --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/defaults.js @@ -0,0 +1,14 @@ +export default function _defaults(obj, defaults) { + var keys = Object.getOwnPropertyNames(defaults); + + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + var value = Object.getOwnPropertyDescriptor(defaults, key); + + if (value && value.configurable && obj[key] === undefined) { + Object.defineProperty(obj, key, value); + } + } + + return obj; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js b/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js new file mode 100644 index 000000000..7981acd48 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js @@ -0,0 +1,22 @@ +export default function _defineEnumerableProperties(obj, descs) { + for (var key in descs) { + var desc = descs[key]; + desc.configurable = desc.enumerable = true; + if ("value" in desc) desc.writable = true; + Object.defineProperty(obj, key, desc); + } + + if (Object.getOwnPropertySymbols) { + var objectSymbols = Object.getOwnPropertySymbols(descs); + + for (var i = 0; i < objectSymbols.length; i++) { + var sym = objectSymbols[i]; + var desc = descs[sym]; + desc.configurable = desc.enumerable = true; + if ("value" in desc) desc.writable = true; + Object.defineProperty(obj, sym, desc); + } + } + + return obj; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defineProperty.js b/node_modules/@babel/runtime/helpers/esm/defineProperty.js new file mode 100644 index 000000000..7cf6e59fd --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/defineProperty.js @@ -0,0 +1,14 @@ +export default function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/extends.js b/node_modules/@babel/runtime/helpers/esm/extends.js new file mode 100644 index 000000000..b9b138d82 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/extends.js @@ -0,0 +1,17 @@ +export default function _extends() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/get.js b/node_modules/@babel/runtime/helpers/esm/get.js new file mode 100644 index 000000000..a369d4d14 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/get.js @@ -0,0 +1,20 @@ +import superPropBase from "./superPropBase"; +export default function _get(target, property, receiver) { + if (typeof Reflect !== "undefined" && Reflect.get) { + _get = Reflect.get; + } else { + _get = function _get(target, property, receiver) { + var base = superPropBase(target, property); + if (!base) return; + var desc = Object.getOwnPropertyDescriptor(base, property); + + if (desc.get) { + return desc.get.call(receiver); + } + + return desc.value; + }; + } + + return _get(target, property, receiver || target); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js b/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js new file mode 100644 index 000000000..5abafe381 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js @@ -0,0 +1,6 @@ +export default function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/inherits.js b/node_modules/@babel/runtime/helpers/esm/inherits.js new file mode 100644 index 000000000..035648d0f --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/inherits.js @@ -0,0 +1,15 @@ +import setPrototypeOf from "./setPrototypeOf"; +export default function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) setPrototypeOf(subClass, superClass); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js b/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js new file mode 100644 index 000000000..32017e662 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js @@ -0,0 +1,5 @@ +export default function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js b/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js new file mode 100644 index 000000000..26fdea084 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js @@ -0,0 +1,9 @@ +export default function _initializerDefineProperty(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js b/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js new file mode 100644 index 000000000..30d518cfd --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js @@ -0,0 +1,3 @@ +export default function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/instanceof.js b/node_modules/@babel/runtime/helpers/esm/instanceof.js new file mode 100644 index 000000000..8c43b7178 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/instanceof.js @@ -0,0 +1,7 @@ +export default function _instanceof(left, right) { + if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { + return !!right[Symbol.hasInstance](left); + } else { + return left instanceof right; + } +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js b/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js new file mode 100644 index 000000000..c2df7b641 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js @@ -0,0 +1,5 @@ +export default function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { + "default": obj + }; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js b/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js new file mode 100644 index 000000000..d39be9efa --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js @@ -0,0 +1,53 @@ +import _typeof from "../../helpers/esm/typeof"; + +function _getRequireWildcardCache() { + if (typeof WeakMap !== "function") return null; + var cache = new WeakMap(); + + _getRequireWildcardCache = function _getRequireWildcardCache() { + return cache; + }; + + return cache; +} + +export default function _interopRequireWildcard(obj) { + if (obj && obj.__esModule) { + return obj; + } + + if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { + return { + "default": obj + }; + } + + var cache = _getRequireWildcardCache(); + + if (cache && cache.has(obj)) { + return cache.get(obj); + } + + var newObj = {}; + var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; + + for (var key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) { + var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; + + if (desc && (desc.get || desc.set)) { + Object.defineProperty(newObj, key, desc); + } else { + newObj[key] = obj[key]; + } + } + } + + newObj["default"] = obj; + + if (cache) { + cache.set(obj, newObj); + } + + return newObj; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js b/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js new file mode 100644 index 000000000..7b1bc821f --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js @@ -0,0 +1,3 @@ +export default function _isNativeFunction(fn) { + return Function.toString.call(fn).indexOf("[native code]") !== -1; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js b/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js new file mode 100644 index 000000000..9829e0fb7 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js @@ -0,0 +1,12 @@ +export default function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); + return true; + } catch (e) { + return false; + } +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/iterableToArray.js b/node_modules/@babel/runtime/helpers/esm/iterableToArray.js new file mode 100644 index 000000000..6cd6ae353 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/iterableToArray.js @@ -0,0 +1,3 @@ +export default function _iterableToArray(iter) { + if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js b/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js new file mode 100644 index 000000000..6402595d3 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js @@ -0,0 +1,26 @@ +export default function _iterableToArrayLimit(arr, i) { + if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + var _arr = []; + var _n = true; + var _d = false; + var _e = undefined; + + try { + for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + + return _arr; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js b/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js new file mode 100644 index 000000000..025c0ea5f --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js @@ -0,0 +1,12 @@ +export default function _iterableToArrayLimitLoose(arr, i) { + if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + var _arr = []; + + for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { + _arr.push(_step.value); + + if (i && _arr.length === i) break; + } + + return _arr; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/jsx.js b/node_modules/@babel/runtime/helpers/esm/jsx.js new file mode 100644 index 000000000..3a98cec84 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/jsx.js @@ -0,0 +1,46 @@ +var REACT_ELEMENT_TYPE; +export default function _createRawReactElement(type, props, key, children) { + if (!REACT_ELEMENT_TYPE) { + REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7; + } + + var defaultProps = type && type.defaultProps; + var childrenLength = arguments.length - 3; + + if (!props && childrenLength !== 0) { + props = { + children: void 0 + }; + } + + if (childrenLength === 1) { + props.children = children; + } else if (childrenLength > 1) { + var childArray = new Array(childrenLength); + + for (var i = 0; i < childrenLength; i++) { + childArray[i] = arguments[i + 3]; + } + + props.children = childArray; + } + + if (props && defaultProps) { + for (var propName in defaultProps) { + if (props[propName] === void 0) { + props[propName] = defaultProps[propName]; + } + } + } else if (!props) { + props = defaultProps || {}; + } + + return { + $$typeof: REACT_ELEMENT_TYPE, + type: type, + key: key === undefined ? null : '' + key, + ref: null, + props: props, + _owner: null + }; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js b/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js new file mode 100644 index 000000000..91d5c62b9 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js @@ -0,0 +1,9 @@ +import arrayLikeToArray from "./arrayLikeToArray"; +export default function _maybeArrayLike(next, arr, i) { + if (arr && !Array.isArray(arr) && typeof arr.length === "number") { + var len = arr.length; + return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); + } + + return next(arr, i); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js b/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js new file mode 100644 index 000000000..d6cd86437 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js @@ -0,0 +1,5 @@ +export default function _newArrowCheck(innerThis, boundThis) { + if (innerThis !== boundThis) { + throw new TypeError("Cannot instantiate an arrow function"); + } +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js b/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js new file mode 100644 index 000000000..b349d006c --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js @@ -0,0 +1,3 @@ +export default function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js b/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js new file mode 100644 index 000000000..82d829614 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js @@ -0,0 +1,3 @@ +export default function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js b/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js new file mode 100644 index 000000000..82b67d2cb --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js @@ -0,0 +1,3 @@ +export default function _objectDestructuringEmpty(obj) { + if (obj == null) throw new TypeError("Cannot destructure undefined"); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectSpread.js b/node_modules/@babel/runtime/helpers/esm/objectSpread.js new file mode 100644 index 000000000..0e189fbe1 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/objectSpread.js @@ -0,0 +1,19 @@ +import defineProperty from "./defineProperty"; +export default function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); + + if (typeof Object.getOwnPropertySymbols === 'function') { + ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; + })); + } + + ownKeys.forEach(function (key) { + defineProperty(target, key, source[key]); + }); + } + + return target; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectSpread2.js b/node_modules/@babel/runtime/helpers/esm/objectSpread2.js new file mode 100644 index 000000000..1da08661c --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/objectSpread2.js @@ -0,0 +1,35 @@ +import defineProperty from "./defineProperty"; + +function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + if (enumerableOnly) symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + keys.push.apply(keys, symbols); + } + + return keys; +} + +export default function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + if (i % 2) { + ownKeys(Object(source), true).forEach(function (key) { + defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + } + + return target; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js b/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js new file mode 100644 index 000000000..2af6091d3 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js @@ -0,0 +1,19 @@ +import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose"; +export default function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + var target = objectWithoutPropertiesLoose(source, excluded); + var key, i; + + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } + } + + return target; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js b/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js new file mode 100644 index 000000000..c36815ceb --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js @@ -0,0 +1,14 @@ +export default function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/package.json b/node_modules/@babel/runtime/helpers/esm/package.json new file mode 100644 index 000000000..aead43de3 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js b/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js new file mode 100644 index 000000000..be7b7a441 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js @@ -0,0 +1,9 @@ +import _typeof from "../../helpers/esm/typeof"; +import assertThisInitialized from "./assertThisInitialized"; +export default function _possibleConstructorReturn(self, call) { + if (call && (_typeof(call) === "object" || typeof call === "function")) { + return call; + } + + return assertThisInitialized(self); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/readOnlyError.js b/node_modules/@babel/runtime/helpers/esm/readOnlyError.js new file mode 100644 index 000000000..45d01d724 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/readOnlyError.js @@ -0,0 +1,3 @@ +export default function _readOnlyError(name) { + throw new Error("\"" + name + "\" is read-only"); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/set.js b/node_modules/@babel/runtime/helpers/esm/set.js new file mode 100644 index 000000000..fb20af78c --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/set.js @@ -0,0 +1,51 @@ +import superPropBase from "./superPropBase"; +import defineProperty from "./defineProperty"; + +function set(target, property, value, receiver) { + if (typeof Reflect !== "undefined" && Reflect.set) { + set = Reflect.set; + } else { + set = function set(target, property, value, receiver) { + var base = superPropBase(target, property); + var desc; + + if (base) { + desc = Object.getOwnPropertyDescriptor(base, property); + + if (desc.set) { + desc.set.call(receiver, value); + return true; + } else if (!desc.writable) { + return false; + } + } + + desc = Object.getOwnPropertyDescriptor(receiver, property); + + if (desc) { + if (!desc.writable) { + return false; + } + + desc.value = value; + Object.defineProperty(receiver, property, desc); + } else { + defineProperty(receiver, property, value); + } + + return true; + }; + } + + return set(target, property, value, receiver); +} + +export default function _set(target, property, value, receiver, isStrict) { + var s = set(target, property, value, receiver || target); + + if (!s && isStrict) { + throw new Error('failed to set property'); + } + + return value; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js b/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js new file mode 100644 index 000000000..e6ef03e59 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js @@ -0,0 +1,8 @@ +export default function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js b/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js new file mode 100644 index 000000000..cadd9bb5b --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js @@ -0,0 +1,7 @@ +export default function _skipFirstGeneratorNext(fn) { + return function () { + var it = fn.apply(this, arguments); + it.next(); + return it; + }; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/slicedToArray.js b/node_modules/@babel/runtime/helpers/esm/slicedToArray.js new file mode 100644 index 000000000..696860801 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/slicedToArray.js @@ -0,0 +1,7 @@ +import arrayWithHoles from "./arrayWithHoles"; +import iterableToArrayLimit from "./iterableToArrayLimit"; +import unsupportedIterableToArray from "./unsupportedIterableToArray"; +import nonIterableRest from "./nonIterableRest"; +export default function _slicedToArray(arr, i) { + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js b/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js new file mode 100644 index 000000000..883f9e328 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js @@ -0,0 +1,7 @@ +import arrayWithHoles from "./arrayWithHoles"; +import iterableToArrayLimitLoose from "./iterableToArrayLimitLoose"; +import unsupportedIterableToArray from "./unsupportedIterableToArray"; +import nonIterableRest from "./nonIterableRest"; +export default function _slicedToArrayLoose(arr, i) { + return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/superPropBase.js b/node_modules/@babel/runtime/helpers/esm/superPropBase.js new file mode 100644 index 000000000..eace947c9 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/superPropBase.js @@ -0,0 +1,9 @@ +import getPrototypeOf from "./getPrototypeOf"; +export default function _superPropBase(object, property) { + while (!Object.prototype.hasOwnProperty.call(object, property)) { + object = getPrototypeOf(object); + if (object === null) break; + } + + return object; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js b/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js new file mode 100644 index 000000000..421f18abd --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js @@ -0,0 +1,11 @@ +export default function _taggedTemplateLiteral(strings, raw) { + if (!raw) { + raw = strings.slice(0); + } + + return Object.freeze(Object.defineProperties(strings, { + raw: { + value: Object.freeze(raw) + } + })); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js b/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js new file mode 100644 index 000000000..c8f081e9e --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js @@ -0,0 +1,8 @@ +export default function _taggedTemplateLiteralLoose(strings, raw) { + if (!raw) { + raw = strings.slice(0); + } + + strings.raw = raw; + return strings; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/tdz.js b/node_modules/@babel/runtime/helpers/esm/tdz.js new file mode 100644 index 000000000..d5d0adc8a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/tdz.js @@ -0,0 +1,3 @@ +export default function _tdzError(name) { + throw new ReferenceError(name + " is not defined - temporal dead zone"); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/temporalRef.js b/node_modules/@babel/runtime/helpers/esm/temporalRef.js new file mode 100644 index 000000000..6d167a303 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/temporalRef.js @@ -0,0 +1,5 @@ +import undef from "./temporalUndefined"; +import err from "./tdz"; +export default function _temporalRef(val, name) { + return val === undef ? err(name) : val; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js b/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js new file mode 100644 index 000000000..1a3571734 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js @@ -0,0 +1 @@ +export default function _temporalUndefined() {} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toArray.js b/node_modules/@babel/runtime/helpers/esm/toArray.js new file mode 100644 index 000000000..7d4a65d19 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/toArray.js @@ -0,0 +1,7 @@ +import arrayWithHoles from "./arrayWithHoles"; +import iterableToArray from "./iterableToArray"; +import unsupportedIterableToArray from "./unsupportedIterableToArray"; +import nonIterableRest from "./nonIterableRest"; +export default function _toArray(arr) { + return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest(); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js b/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js new file mode 100644 index 000000000..67439c92e --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js @@ -0,0 +1,7 @@ +import arrayWithoutHoles from "./arrayWithoutHoles"; +import iterableToArray from "./iterableToArray"; +import unsupportedIterableToArray from "./unsupportedIterableToArray"; +import nonIterableSpread from "./nonIterableSpread"; +export default function _toConsumableArray(arr) { + return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toPrimitive.js b/node_modules/@babel/runtime/helpers/esm/toPrimitive.js new file mode 100644 index 000000000..72a4a0973 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/toPrimitive.js @@ -0,0 +1,13 @@ +import _typeof from "../../helpers/esm/typeof"; +export default function _toPrimitive(input, hint) { + if (_typeof(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (_typeof(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + + return (hint === "string" ? String : Number)(input); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js b/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js new file mode 100644 index 000000000..7b53a4de8 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js @@ -0,0 +1,6 @@ +import _typeof from "../../helpers/esm/typeof"; +import toPrimitive from "./toPrimitive"; +export default function _toPropertyKey(arg) { + var key = toPrimitive(arg, "string"); + return _typeof(key) === "symbol" ? key : String(key); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/typeof.js b/node_modules/@babel/runtime/helpers/esm/typeof.js new file mode 100644 index 000000000..eb444f73d --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/typeof.js @@ -0,0 +1,15 @@ +export default function _typeof(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js b/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js new file mode 100644 index 000000000..078d0488a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js @@ -0,0 +1,9 @@ +import arrayLikeToArray from "./arrayLikeToArray"; +export default function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js b/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js new file mode 100644 index 000000000..6d6d9811e --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js @@ -0,0 +1,6 @@ +import AsyncGenerator from "./AsyncGenerator"; +export default function _wrapAsyncGenerator(fn) { + return function () { + return new AsyncGenerator(fn.apply(this, arguments)); + }; +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js b/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js new file mode 100644 index 000000000..5c55d058d --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js @@ -0,0 +1,37 @@ +import getPrototypeOf from "./getPrototypeOf"; +import setPrototypeOf from "./setPrototypeOf"; +import isNativeFunction from "./isNativeFunction"; +import construct from "./construct"; +export default function _wrapNativeSuper(Class) { + var _cache = typeof Map === "function" ? new Map() : undefined; + + _wrapNativeSuper = function _wrapNativeSuper(Class) { + if (Class === null || !isNativeFunction(Class)) return Class; + + if (typeof Class !== "function") { + throw new TypeError("Super expression must either be null or a function"); + } + + if (typeof _cache !== "undefined") { + if (_cache.has(Class)) return _cache.get(Class); + + _cache.set(Class, Wrapper); + } + + function Wrapper() { + return construct(Class, arguments, getPrototypeOf(this).constructor); + } + + Wrapper.prototype = Object.create(Class.prototype, { + constructor: { + value: Wrapper, + enumerable: false, + writable: true, + configurable: true + } + }); + return setPrototypeOf(Wrapper, Class); + }; + + return _wrapNativeSuper(Class); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js b/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js new file mode 100644 index 000000000..c88545007 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js @@ -0,0 +1,69 @@ +import _typeof from "../../helpers/esm/typeof"; +import wrapNativeSuper from "./wrapNativeSuper"; +import getPrototypeOf from "./getPrototypeOf"; +import possibleConstructorReturn from "./possibleConstructorReturn"; +import inherits from "./inherits"; +export default function _wrapRegExp(re, groups) { + _wrapRegExp = function _wrapRegExp(re, groups) { + return new BabelRegExp(re, undefined, groups); + }; + + var _RegExp = wrapNativeSuper(RegExp); + + var _super = RegExp.prototype; + + var _groups = new WeakMap(); + + function BabelRegExp(re, flags, groups) { + var _this = _RegExp.call(this, re, flags); + + _groups.set(_this, groups || _groups.get(re)); + + return _this; + } + + inherits(BabelRegExp, _RegExp); + + BabelRegExp.prototype.exec = function (str) { + var result = _super.exec.call(this, str); + + if (result) result.groups = buildGroups(result, this); + return result; + }; + + BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { + if (typeof substitution === "string") { + var groups = _groups.get(this); + + return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { + return "$" + groups[name]; + })); + } else if (typeof substitution === "function") { + var _this = this; + + return _super[Symbol.replace].call(this, str, function () { + var args = []; + args.push.apply(args, arguments); + + if (_typeof(args[args.length - 1]) !== "object") { + args.push(buildGroups(args, _this)); + } + + return substitution.apply(this, args); + }); + } else { + return _super[Symbol.replace].call(this, str, substitution); + } + }; + + function buildGroups(result, re) { + var g = _groups.get(re); + + return Object.keys(g).reduce(function (groups, name) { + groups[name] = result[g[name]]; + return groups; + }, Object.create(null)); + } + + return _wrapRegExp.apply(this, arguments); +} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/extends.js b/node_modules/@babel/runtime/helpers/extends.js new file mode 100644 index 000000000..1816877e2 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/extends.js @@ -0,0 +1,19 @@ +function _extends() { + module.exports = _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); +} + +module.exports = _extends; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/get.js b/node_modules/@babel/runtime/helpers/get.js new file mode 100644 index 000000000..31ffc656c --- /dev/null +++ b/node_modules/@babel/runtime/helpers/get.js @@ -0,0 +1,23 @@ +var superPropBase = require("./superPropBase"); + +function _get(target, property, receiver) { + if (typeof Reflect !== "undefined" && Reflect.get) { + module.exports = _get = Reflect.get; + } else { + module.exports = _get = function _get(target, property, receiver) { + var base = superPropBase(target, property); + if (!base) return; + var desc = Object.getOwnPropertyDescriptor(base, property); + + if (desc.get) { + return desc.get.call(receiver); + } + + return desc.value; + }; + } + + return _get(target, property, receiver || target); +} + +module.exports = _get; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/getPrototypeOf.js b/node_modules/@babel/runtime/helpers/getPrototypeOf.js new file mode 100644 index 000000000..5fc9a169c --- /dev/null +++ b/node_modules/@babel/runtime/helpers/getPrototypeOf.js @@ -0,0 +1,8 @@ +function _getPrototypeOf(o) { + module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); +} + +module.exports = _getPrototypeOf; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/inherits.js b/node_modules/@babel/runtime/helpers/inherits.js new file mode 100644 index 000000000..6b4f286d0 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/inherits.js @@ -0,0 +1,18 @@ +var setPrototypeOf = require("./setPrototypeOf"); + +function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) setPrototypeOf(subClass, superClass); +} + +module.exports = _inherits; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/inheritsLoose.js b/node_modules/@babel/runtime/helpers/inheritsLoose.js new file mode 100644 index 000000000..c3f7cdb4a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/inheritsLoose.js @@ -0,0 +1,7 @@ +function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; +} + +module.exports = _inheritsLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/initializerDefineProperty.js b/node_modules/@babel/runtime/helpers/initializerDefineProperty.js new file mode 100644 index 000000000..4caa5ca60 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/initializerDefineProperty.js @@ -0,0 +1,11 @@ +function _initializerDefineProperty(target, property, descriptor, context) { + if (!descriptor) return; + Object.defineProperty(target, property, { + enumerable: descriptor.enumerable, + configurable: descriptor.configurable, + writable: descriptor.writable, + value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 + }); +} + +module.exports = _initializerDefineProperty; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/initializerWarningHelper.js b/node_modules/@babel/runtime/helpers/initializerWarningHelper.js new file mode 100644 index 000000000..50ec82cd4 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/initializerWarningHelper.js @@ -0,0 +1,5 @@ +function _initializerWarningHelper(descriptor, context) { + throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); +} + +module.exports = _initializerWarningHelper; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/instanceof.js b/node_modules/@babel/runtime/helpers/instanceof.js new file mode 100644 index 000000000..efe134c13 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/instanceof.js @@ -0,0 +1,9 @@ +function _instanceof(left, right) { + if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { + return !!right[Symbol.hasInstance](left); + } else { + return left instanceof right; + } +} + +module.exports = _instanceof; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/interopRequireDefault.js b/node_modules/@babel/runtime/helpers/interopRequireDefault.js new file mode 100644 index 000000000..f713d130b --- /dev/null +++ b/node_modules/@babel/runtime/helpers/interopRequireDefault.js @@ -0,0 +1,7 @@ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { + "default": obj + }; +} + +module.exports = _interopRequireDefault; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/interopRequireWildcard.js b/node_modules/@babel/runtime/helpers/interopRequireWildcard.js new file mode 100644 index 000000000..68fd84c61 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/interopRequireWildcard.js @@ -0,0 +1,55 @@ +var _typeof = require("../helpers/typeof"); + +function _getRequireWildcardCache() { + if (typeof WeakMap !== "function") return null; + var cache = new WeakMap(); + + _getRequireWildcardCache = function _getRequireWildcardCache() { + return cache; + }; + + return cache; +} + +function _interopRequireWildcard(obj) { + if (obj && obj.__esModule) { + return obj; + } + + if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { + return { + "default": obj + }; + } + + var cache = _getRequireWildcardCache(); + + if (cache && cache.has(obj)) { + return cache.get(obj); + } + + var newObj = {}; + var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; + + for (var key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) { + var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; + + if (desc && (desc.get || desc.set)) { + Object.defineProperty(newObj, key, desc); + } else { + newObj[key] = obj[key]; + } + } + } + + newObj["default"] = obj; + + if (cache) { + cache.set(obj, newObj); + } + + return newObj; +} + +module.exports = _interopRequireWildcard; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/isNativeFunction.js b/node_modules/@babel/runtime/helpers/isNativeFunction.js new file mode 100644 index 000000000..e2dc3ed7b --- /dev/null +++ b/node_modules/@babel/runtime/helpers/isNativeFunction.js @@ -0,0 +1,5 @@ +function _isNativeFunction(fn) { + return Function.toString.call(fn).indexOf("[native code]") !== -1; +} + +module.exports = _isNativeFunction; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js b/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js new file mode 100644 index 000000000..4dc5853ea --- /dev/null +++ b/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js @@ -0,0 +1,14 @@ +function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); + return true; + } catch (e) { + return false; + } +} + +module.exports = _isNativeReflectConstruct; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/iterableToArray.js b/node_modules/@babel/runtime/helpers/iterableToArray.js new file mode 100644 index 000000000..954244b9f --- /dev/null +++ b/node_modules/@babel/runtime/helpers/iterableToArray.js @@ -0,0 +1,5 @@ +function _iterableToArray(iter) { + if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); +} + +module.exports = _iterableToArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js b/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js new file mode 100644 index 000000000..548e6393a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js @@ -0,0 +1,28 @@ +function _iterableToArrayLimit(arr, i) { + if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + var _arr = []; + var _n = true; + var _d = false; + var _e = undefined; + + try { + for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + _arr.push(_s.value); + + if (i && _arr.length === i) break; + } + } catch (err) { + _d = true; + _e = err; + } finally { + try { + if (!_n && _i["return"] != null) _i["return"](); + } finally { + if (_d) throw _e; + } + } + + return _arr; +} + +module.exports = _iterableToArrayLimit; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js b/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js new file mode 100644 index 000000000..e1a959f4c --- /dev/null +++ b/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js @@ -0,0 +1,14 @@ +function _iterableToArrayLimitLoose(arr, i) { + if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + var _arr = []; + + for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { + _arr.push(_step.value); + + if (i && _arr.length === i) break; + } + + return _arr; +} + +module.exports = _iterableToArrayLimitLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/jsx.js b/node_modules/@babel/runtime/helpers/jsx.js new file mode 100644 index 000000000..4b1ee5496 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/jsx.js @@ -0,0 +1,49 @@ +var REACT_ELEMENT_TYPE; + +function _createRawReactElement(type, props, key, children) { + if (!REACT_ELEMENT_TYPE) { + REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7; + } + + var defaultProps = type && type.defaultProps; + var childrenLength = arguments.length - 3; + + if (!props && childrenLength !== 0) { + props = { + children: void 0 + }; + } + + if (childrenLength === 1) { + props.children = children; + } else if (childrenLength > 1) { + var childArray = new Array(childrenLength); + + for (var i = 0; i < childrenLength; i++) { + childArray[i] = arguments[i + 3]; + } + + props.children = childArray; + } + + if (props && defaultProps) { + for (var propName in defaultProps) { + if (props[propName] === void 0) { + props[propName] = defaultProps[propName]; + } + } + } else if (!props) { + props = defaultProps || {}; + } + + return { + $$typeof: REACT_ELEMENT_TYPE, + type: type, + key: key === undefined ? null : '' + key, + ref: null, + props: props, + _owner: null + }; +} + +module.exports = _createRawReactElement; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/maybeArrayLike.js b/node_modules/@babel/runtime/helpers/maybeArrayLike.js new file mode 100644 index 000000000..0a09c4350 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/maybeArrayLike.js @@ -0,0 +1,12 @@ +var arrayLikeToArray = require("./arrayLikeToArray"); + +function _maybeArrayLike(next, arr, i) { + if (arr && !Array.isArray(arr) && typeof arr.length === "number") { + var len = arr.length; + return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); + } + + return next(arr, i); +} + +module.exports = _maybeArrayLike; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/newArrowCheck.js b/node_modules/@babel/runtime/helpers/newArrowCheck.js new file mode 100644 index 000000000..9b59f58c8 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/newArrowCheck.js @@ -0,0 +1,7 @@ +function _newArrowCheck(innerThis, boundThis) { + if (innerThis !== boundThis) { + throw new TypeError("Cannot instantiate an arrow function"); + } +} + +module.exports = _newArrowCheck; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/nonIterableRest.js b/node_modules/@babel/runtime/helpers/nonIterableRest.js new file mode 100644 index 000000000..5b3a52eed --- /dev/null +++ b/node_modules/@babel/runtime/helpers/nonIterableRest.js @@ -0,0 +1,5 @@ +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} + +module.exports = _nonIterableRest; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/nonIterableSpread.js b/node_modules/@babel/runtime/helpers/nonIterableSpread.js new file mode 100644 index 000000000..65457a224 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/nonIterableSpread.js @@ -0,0 +1,5 @@ +function _nonIterableSpread() { + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} + +module.exports = _nonIterableSpread; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js b/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js new file mode 100644 index 000000000..1d5c04a71 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js @@ -0,0 +1,5 @@ +function _objectDestructuringEmpty(obj) { + if (obj == null) throw new TypeError("Cannot destructure undefined"); +} + +module.exports = _objectDestructuringEmpty; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectSpread.js b/node_modules/@babel/runtime/helpers/objectSpread.js new file mode 100644 index 000000000..ad8036e30 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/objectSpread.js @@ -0,0 +1,22 @@ +var defineProperty = require("./defineProperty"); + +function _objectSpread(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? Object(arguments[i]) : {}; + var ownKeys = Object.keys(source); + + if (typeof Object.getOwnPropertySymbols === 'function') { + ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { + return Object.getOwnPropertyDescriptor(source, sym).enumerable; + })); + } + + ownKeys.forEach(function (key) { + defineProperty(target, key, source[key]); + }); + } + + return target; +} + +module.exports = _objectSpread; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectSpread2.js b/node_modules/@babel/runtime/helpers/objectSpread2.js new file mode 100644 index 000000000..f067f3ec2 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/objectSpread2.js @@ -0,0 +1,37 @@ +var defineProperty = require("./defineProperty"); + +function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + if (enumerableOnly) symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + keys.push.apply(keys, symbols); + } + + return keys; +} + +function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + if (i % 2) { + ownKeys(Object(source), true).forEach(function (key) { + defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + } + + return target; +} + +module.exports = _objectSpread2; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectWithoutProperties.js b/node_modules/@babel/runtime/helpers/objectWithoutProperties.js new file mode 100644 index 000000000..253d33c95 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/objectWithoutProperties.js @@ -0,0 +1,22 @@ +var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose"); + +function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + var target = objectWithoutPropertiesLoose(source, excluded); + var key, i; + + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } + } + + return target; +} + +module.exports = _objectWithoutProperties; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js b/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js new file mode 100644 index 000000000..a58c56b00 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js @@ -0,0 +1,16 @@ +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +module.exports = _objectWithoutPropertiesLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js b/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js new file mode 100644 index 000000000..84f7bf634 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js @@ -0,0 +1,13 @@ +var _typeof = require("../helpers/typeof"); + +var assertThisInitialized = require("./assertThisInitialized"); + +function _possibleConstructorReturn(self, call) { + if (call && (_typeof(call) === "object" || typeof call === "function")) { + return call; + } + + return assertThisInitialized(self); +} + +module.exports = _possibleConstructorReturn; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/readOnlyError.js b/node_modules/@babel/runtime/helpers/readOnlyError.js new file mode 100644 index 000000000..4e61e3fd4 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/readOnlyError.js @@ -0,0 +1,5 @@ +function _readOnlyError(name) { + throw new Error("\"" + name + "\" is read-only"); +} + +module.exports = _readOnlyError; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/set.js b/node_modules/@babel/runtime/helpers/set.js new file mode 100644 index 000000000..97fa8c357 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/set.js @@ -0,0 +1,54 @@ +var superPropBase = require("./superPropBase"); + +var defineProperty = require("./defineProperty"); + +function set(target, property, value, receiver) { + if (typeof Reflect !== "undefined" && Reflect.set) { + set = Reflect.set; + } else { + set = function set(target, property, value, receiver) { + var base = superPropBase(target, property); + var desc; + + if (base) { + desc = Object.getOwnPropertyDescriptor(base, property); + + if (desc.set) { + desc.set.call(receiver, value); + return true; + } else if (!desc.writable) { + return false; + } + } + + desc = Object.getOwnPropertyDescriptor(receiver, property); + + if (desc) { + if (!desc.writable) { + return false; + } + + desc.value = value; + Object.defineProperty(receiver, property, desc); + } else { + defineProperty(receiver, property, value); + } + + return true; + }; + } + + return set(target, property, value, receiver); +} + +function _set(target, property, value, receiver, isStrict) { + var s = set(target, property, value, receiver || target); + + if (!s && isStrict) { + throw new Error('failed to set property'); + } + + return value; +} + +module.exports = _set; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/setPrototypeOf.js b/node_modules/@babel/runtime/helpers/setPrototypeOf.js new file mode 100644 index 000000000..d86e2fc34 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/setPrototypeOf.js @@ -0,0 +1,10 @@ +function _setPrototypeOf(o, p) { + module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); +} + +module.exports = _setPrototypeOf; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js b/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js new file mode 100644 index 000000000..e1d6c86bf --- /dev/null +++ b/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js @@ -0,0 +1,9 @@ +function _skipFirstGeneratorNext(fn) { + return function () { + var it = fn.apply(this, arguments); + it.next(); + return it; + }; +} + +module.exports = _skipFirstGeneratorNext; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/slicedToArray.js b/node_modules/@babel/runtime/helpers/slicedToArray.js new file mode 100644 index 000000000..4255ab983 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/slicedToArray.js @@ -0,0 +1,13 @@ +var arrayWithHoles = require("./arrayWithHoles"); + +var iterableToArrayLimit = require("./iterableToArrayLimit"); + +var unsupportedIterableToArray = require("./unsupportedIterableToArray"); + +var nonIterableRest = require("./nonIterableRest"); + +function _slicedToArray(arr, i) { + return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); +} + +module.exports = _slicedToArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js b/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js new file mode 100644 index 000000000..730401335 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js @@ -0,0 +1,13 @@ +var arrayWithHoles = require("./arrayWithHoles"); + +var iterableToArrayLimitLoose = require("./iterableToArrayLimitLoose"); + +var unsupportedIterableToArray = require("./unsupportedIterableToArray"); + +var nonIterableRest = require("./nonIterableRest"); + +function _slicedToArrayLoose(arr, i) { + return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); +} + +module.exports = _slicedToArrayLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/superPropBase.js b/node_modules/@babel/runtime/helpers/superPropBase.js new file mode 100644 index 000000000..bbb34a2d1 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/superPropBase.js @@ -0,0 +1,12 @@ +var getPrototypeOf = require("./getPrototypeOf"); + +function _superPropBase(object, property) { + while (!Object.prototype.hasOwnProperty.call(object, property)) { + object = getPrototypeOf(object); + if (object === null) break; + } + + return object; +} + +module.exports = _superPropBase; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js b/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js new file mode 100644 index 000000000..bdcc1e9d6 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js @@ -0,0 +1,13 @@ +function _taggedTemplateLiteral(strings, raw) { + if (!raw) { + raw = strings.slice(0); + } + + return Object.freeze(Object.defineProperties(strings, { + raw: { + value: Object.freeze(raw) + } + })); +} + +module.exports = _taggedTemplateLiteral; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js b/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js new file mode 100644 index 000000000..beced5418 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js @@ -0,0 +1,10 @@ +function _taggedTemplateLiteralLoose(strings, raw) { + if (!raw) { + raw = strings.slice(0); + } + + strings.raw = raw; + return strings; +} + +module.exports = _taggedTemplateLiteralLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/tdz.js b/node_modules/@babel/runtime/helpers/tdz.js new file mode 100644 index 000000000..6075e8d39 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/tdz.js @@ -0,0 +1,5 @@ +function _tdzError(name) { + throw new ReferenceError(name + " is not defined - temporal dead zone"); +} + +module.exports = _tdzError; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/temporalRef.js b/node_modules/@babel/runtime/helpers/temporalRef.js new file mode 100644 index 000000000..8aa5e5e58 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/temporalRef.js @@ -0,0 +1,9 @@ +var temporalUndefined = require("./temporalUndefined"); + +var tdz = require("./tdz"); + +function _temporalRef(val, name) { + return val === temporalUndefined ? tdz(name) : val; +} + +module.exports = _temporalRef; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/temporalUndefined.js b/node_modules/@babel/runtime/helpers/temporalUndefined.js new file mode 100644 index 000000000..416d9b3a5 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/temporalUndefined.js @@ -0,0 +1,3 @@ +function _temporalUndefined() {} + +module.exports = _temporalUndefined; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toArray.js b/node_modules/@babel/runtime/helpers/toArray.js new file mode 100644 index 000000000..f11382298 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/toArray.js @@ -0,0 +1,13 @@ +var arrayWithHoles = require("./arrayWithHoles"); + +var iterableToArray = require("./iterableToArray"); + +var unsupportedIterableToArray = require("./unsupportedIterableToArray"); + +var nonIterableRest = require("./nonIterableRest"); + +function _toArray(arr) { + return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest(); +} + +module.exports = _toArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toConsumableArray.js b/node_modules/@babel/runtime/helpers/toConsumableArray.js new file mode 100644 index 000000000..ec51d2ec8 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/toConsumableArray.js @@ -0,0 +1,13 @@ +var arrayWithoutHoles = require("./arrayWithoutHoles"); + +var iterableToArray = require("./iterableToArray"); + +var unsupportedIterableToArray = require("./unsupportedIterableToArray"); + +var nonIterableSpread = require("./nonIterableSpread"); + +function _toConsumableArray(arr) { + return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); +} + +module.exports = _toConsumableArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toPrimitive.js b/node_modules/@babel/runtime/helpers/toPrimitive.js new file mode 100644 index 000000000..cd1d383f4 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/toPrimitive.js @@ -0,0 +1,16 @@ +var _typeof = require("../helpers/typeof"); + +function _toPrimitive(input, hint) { + if (_typeof(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (_typeof(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + + return (hint === "string" ? String : Number)(input); +} + +module.exports = _toPrimitive; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toPropertyKey.js b/node_modules/@babel/runtime/helpers/toPropertyKey.js new file mode 100644 index 000000000..108b083ec --- /dev/null +++ b/node_modules/@babel/runtime/helpers/toPropertyKey.js @@ -0,0 +1,10 @@ +var _typeof = require("../helpers/typeof"); + +var toPrimitive = require("./toPrimitive"); + +function _toPropertyKey(arg) { + var key = toPrimitive(arg, "string"); + return _typeof(key) === "symbol" ? key : String(key); +} + +module.exports = _toPropertyKey; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/typeof.js b/node_modules/@babel/runtime/helpers/typeof.js new file mode 100644 index 000000000..cad12330a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/typeof.js @@ -0,0 +1,17 @@ +function _typeof(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + module.exports = _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + module.exports = _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +module.exports = _typeof; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js b/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js new file mode 100644 index 000000000..3d3e12aab --- /dev/null +++ b/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js @@ -0,0 +1,12 @@ +var arrayLikeToArray = require("./arrayLikeToArray"); + +function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); +} + +module.exports = _unsupportedIterableToArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js b/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js new file mode 100644 index 000000000..11554f3d0 --- /dev/null +++ b/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js @@ -0,0 +1,9 @@ +var AsyncGenerator = require("./AsyncGenerator"); + +function _wrapAsyncGenerator(fn) { + return function () { + return new AsyncGenerator(fn.apply(this, arguments)); + }; +} + +module.exports = _wrapAsyncGenerator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/wrapNativeSuper.js b/node_modules/@babel/runtime/helpers/wrapNativeSuper.js new file mode 100644 index 000000000..3d4bd7a0a --- /dev/null +++ b/node_modules/@babel/runtime/helpers/wrapNativeSuper.js @@ -0,0 +1,43 @@ +var getPrototypeOf = require("./getPrototypeOf"); + +var setPrototypeOf = require("./setPrototypeOf"); + +var isNativeFunction = require("./isNativeFunction"); + +var construct = require("./construct"); + +function _wrapNativeSuper(Class) { + var _cache = typeof Map === "function" ? new Map() : undefined; + + module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { + if (Class === null || !isNativeFunction(Class)) return Class; + + if (typeof Class !== "function") { + throw new TypeError("Super expression must either be null or a function"); + } + + if (typeof _cache !== "undefined") { + if (_cache.has(Class)) return _cache.get(Class); + + _cache.set(Class, Wrapper); + } + + function Wrapper() { + return construct(Class, arguments, getPrototypeOf(this).constructor); + } + + Wrapper.prototype = Object.create(Class.prototype, { + constructor: { + value: Wrapper, + enumerable: false, + writable: true, + configurable: true + } + }); + return setPrototypeOf(Wrapper, Class); + }; + + return _wrapNativeSuper(Class); +} + +module.exports = _wrapNativeSuper; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/wrapRegExp.js b/node_modules/@babel/runtime/helpers/wrapRegExp.js new file mode 100644 index 000000000..fcf91d83c --- /dev/null +++ b/node_modules/@babel/runtime/helpers/wrapRegExp.js @@ -0,0 +1,76 @@ +var _typeof = require("../helpers/typeof"); + +var wrapNativeSuper = require("./wrapNativeSuper"); + +var getPrototypeOf = require("./getPrototypeOf"); + +var possibleConstructorReturn = require("./possibleConstructorReturn"); + +var inherits = require("./inherits"); + +function _wrapRegExp(re, groups) { + module.exports = _wrapRegExp = function _wrapRegExp(re, groups) { + return new BabelRegExp(re, undefined, groups); + }; + + var _RegExp = wrapNativeSuper(RegExp); + + var _super = RegExp.prototype; + + var _groups = new WeakMap(); + + function BabelRegExp(re, flags, groups) { + var _this = _RegExp.call(this, re, flags); + + _groups.set(_this, groups || _groups.get(re)); + + return _this; + } + + inherits(BabelRegExp, _RegExp); + + BabelRegExp.prototype.exec = function (str) { + var result = _super.exec.call(this, str); + + if (result) result.groups = buildGroups(result, this); + return result; + }; + + BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { + if (typeof substitution === "string") { + var groups = _groups.get(this); + + return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { + return "$" + groups[name]; + })); + } else if (typeof substitution === "function") { + var _this = this; + + return _super[Symbol.replace].call(this, str, function () { + var args = []; + args.push.apply(args, arguments); + + if (_typeof(args[args.length - 1]) !== "object") { + args.push(buildGroups(args, _this)); + } + + return substitution.apply(this, args); + }); + } else { + return _super[Symbol.replace].call(this, str, substitution); + } + }; + + function buildGroups(result, re) { + var g = _groups.get(re); + + return Object.keys(g).reduce(function (groups, name) { + groups[name] = result[g[name]]; + return groups; + }, Object.create(null)); + } + + return _wrapRegExp.apply(this, arguments); +} + +module.exports = _wrapRegExp; \ No newline at end of file diff --git a/node_modules/@babel/runtime/package.json b/node_modules/@babel/runtime/package.json new file mode 100644 index 000000000..98eab3aa2 --- /dev/null +++ b/node_modules/@babel/runtime/package.json @@ -0,0 +1,55 @@ +{ + "_from": "@babel/runtime@^7.8.4", + "_id": "@babel/runtime@7.11.2", + "_inBundle": false, + "_integrity": "sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw==", + "_location": "/@babel/runtime", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/runtime@^7.8.4", + "name": "@babel/runtime", + "escapedName": "@babel%2fruntime", + "scope": "@babel", + "rawSpec": "^7.8.4", + "saveSpec": null, + "fetchSpec": "^7.8.4" + }, + "_requiredBy": [ + "/regenerator-transform" + ], + "_resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.11.2.tgz", + "_shasum": "f549c13c754cc40b87644b9fa9f09a6a95fe0736", + "_spec": "@babel/runtime@^7.8.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/regenerator-transform", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "regenerator-runtime": "^0.13.4" + }, + "deprecated": false, + "description": "babel's modular runtime helpers", + "devDependencies": { + "@babel/helpers": "^7.10.4" + }, + "gitHead": "bc7a811fce3ceeea393229299c1cdb63858608e6", + "homepage": "https://babeljs.io/", + "license": "MIT", + "name": "@babel/runtime", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-runtime" + }, + "version": "7.11.2" +} diff --git a/node_modules/@babel/runtime/regenerator/index.js b/node_modules/@babel/runtime/regenerator/index.js new file mode 100644 index 000000000..9fd4158a6 --- /dev/null +++ b/node_modules/@babel/runtime/regenerator/index.js @@ -0,0 +1 @@ +module.exports = require("regenerator-runtime"); diff --git a/node_modules/@babel/template/LICENSE b/node_modules/@babel/template/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/template/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/template/README.md b/node_modules/@babel/template/README.md new file mode 100644 index 000000000..cf8f94439 --- /dev/null +++ b/node_modules/@babel/template/README.md @@ -0,0 +1,19 @@ +# @babel/template + +> Generate an AST from a string template. + +See our website [@babel/template](https://babeljs.io/docs/en/next/babel-template.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20template%22+is%3Aopen) associated with this package. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/template +``` + +or using yarn: + +```sh +yarn add @babel/template --dev +``` diff --git a/node_modules/@babel/template/lib/builder.js b/node_modules/@babel/template/lib/builder.js new file mode 100644 index 000000000..2a0e62972 --- /dev/null +++ b/node_modules/@babel/template/lib/builder.js @@ -0,0 +1,83 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = createTemplateBuilder; + +var _options = require("./options"); + +var _string = _interopRequireDefault(require("./string")); + +var _literal = _interopRequireDefault(require("./literal")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const NO_PLACEHOLDER = (0, _options.validate)({ + placeholderPattern: false +}); + +function createTemplateBuilder(formatter, defaultOpts) { + const templateFnCache = new WeakMap(); + const templateAstCache = new WeakMap(); + const cachedOpts = defaultOpts || (0, _options.validate)(null); + return Object.assign((tpl, ...args) => { + if (typeof tpl === "string") { + if (args.length > 1) throw new Error("Unexpected extra params."); + return extendedTrace((0, _string.default)(formatter, tpl, (0, _options.merge)(cachedOpts, (0, _options.validate)(args[0])))); + } else if (Array.isArray(tpl)) { + let builder = templateFnCache.get(tpl); + + if (!builder) { + builder = (0, _literal.default)(formatter, tpl, cachedOpts); + templateFnCache.set(tpl, builder); + } + + return extendedTrace(builder(args)); + } else if (typeof tpl === "object" && tpl) { + if (args.length > 0) throw new Error("Unexpected extra params."); + return createTemplateBuilder(formatter, (0, _options.merge)(cachedOpts, (0, _options.validate)(tpl))); + } + + throw new Error(`Unexpected template param ${typeof tpl}`); + }, { + ast: (tpl, ...args) => { + if (typeof tpl === "string") { + if (args.length > 1) throw new Error("Unexpected extra params."); + return (0, _string.default)(formatter, tpl, (0, _options.merge)((0, _options.merge)(cachedOpts, (0, _options.validate)(args[0])), NO_PLACEHOLDER))(); + } else if (Array.isArray(tpl)) { + let builder = templateAstCache.get(tpl); + + if (!builder) { + builder = (0, _literal.default)(formatter, tpl, (0, _options.merge)(cachedOpts, NO_PLACEHOLDER)); + templateAstCache.set(tpl, builder); + } + + return builder(args)(); + } + + throw new Error(`Unexpected template param ${typeof tpl}`); + } + }); +} + +function extendedTrace(fn) { + let rootStack = ""; + + try { + throw new Error(); + } catch (error) { + if (error.stack) { + rootStack = error.stack.split("\n").slice(3).join("\n"); + } + } + + return arg => { + try { + return fn(arg); + } catch (err) { + err.stack += `\n =============\n${rootStack}`; + throw err; + } + }; +} \ No newline at end of file diff --git a/node_modules/@babel/template/lib/formatters.js b/node_modules/@babel/template/lib/formatters.js new file mode 100644 index 000000000..59e0984cb --- /dev/null +++ b/node_modules/@babel/template/lib/formatters.js @@ -0,0 +1,63 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.program = exports.expression = exports.statement = exports.statements = exports.smart = void 0; + +function makeStatementFormatter(fn) { + return { + code: str => `/* @babel/template */;\n${str}`, + validate: () => {}, + unwrap: ast => { + return fn(ast.program.body.slice(1)); + } + }; +} + +const smart = makeStatementFormatter(body => { + if (body.length > 1) { + return body; + } else { + return body[0]; + } +}); +exports.smart = smart; +const statements = makeStatementFormatter(body => body); +exports.statements = statements; +const statement = makeStatementFormatter(body => { + if (body.length === 0) { + throw new Error("Found nothing to return."); + } + + if (body.length > 1) { + throw new Error("Found multiple statements but wanted one"); + } + + return body[0]; +}); +exports.statement = statement; +const expression = { + code: str => `(\n${str}\n)`, + validate: ({ + program + }) => { + if (program.body.length > 1) { + throw new Error("Found multiple statements but wanted one"); + } + + const expression = program.body[0].expression; + + if (expression.start === 0) { + throw new Error("Parse result included parens."); + } + }, + unwrap: ast => ast.program.body[0].expression +}; +exports.expression = expression; +const program = { + code: str => str, + validate: () => {}, + unwrap: ast => ast.program +}; +exports.program = program; \ No newline at end of file diff --git a/node_modules/@babel/template/lib/index.js b/node_modules/@babel/template/lib/index.js new file mode 100644 index 000000000..9c666dbcc --- /dev/null +++ b/node_modules/@babel/template/lib/index.js @@ -0,0 +1,38 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = exports.program = exports.expression = exports.statements = exports.statement = exports.smart = void 0; + +var formatters = _interopRequireWildcard(require("./formatters")); + +var _builder = _interopRequireDefault(require("./builder")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const smart = (0, _builder.default)(formatters.smart); +exports.smart = smart; +const statement = (0, _builder.default)(formatters.statement); +exports.statement = statement; +const statements = (0, _builder.default)(formatters.statements); +exports.statements = statements; +const expression = (0, _builder.default)(formatters.expression); +exports.expression = expression; +const program = (0, _builder.default)(formatters.program); +exports.program = program; + +var _default = Object.assign(smart.bind(undefined), { + smart, + statement, + statements, + expression, + program, + ast: smart.ast +}); + +exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/template/lib/literal.js b/node_modules/@babel/template/lib/literal.js new file mode 100644 index 000000000..0b8f90458 --- /dev/null +++ b/node_modules/@babel/template/lib/literal.js @@ -0,0 +1,82 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = literalTemplate; + +var _options = require("./options"); + +var _parse = _interopRequireDefault(require("./parse")); + +var _populate = _interopRequireDefault(require("./populate")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function literalTemplate(formatter, tpl, opts) { + const { + metadata, + names + } = buildLiteralData(formatter, tpl, opts); + return arg => { + const defaultReplacements = arg.reduce((acc, replacement, i) => { + acc[names[i]] = replacement; + return acc; + }, {}); + return arg => { + const replacements = (0, _options.normalizeReplacements)(arg); + + if (replacements) { + Object.keys(replacements).forEach(key => { + if (Object.prototype.hasOwnProperty.call(defaultReplacements, key)) { + throw new Error("Unexpected replacement overlap."); + } + }); + } + + return formatter.unwrap((0, _populate.default)(metadata, replacements ? Object.assign(replacements, defaultReplacements) : defaultReplacements)); + }; + }; +} + +function buildLiteralData(formatter, tpl, opts) { + let names; + let nameSet; + let metadata; + let prefix = ""; + + do { + prefix += "$"; + const result = buildTemplateCode(tpl, prefix); + names = result.names; + nameSet = new Set(names); + metadata = (0, _parse.default)(formatter, formatter.code(result.code), { + parser: opts.parser, + placeholderWhitelist: new Set(result.names.concat(opts.placeholderWhitelist ? Array.from(opts.placeholderWhitelist) : [])), + placeholderPattern: opts.placeholderPattern, + preserveComments: opts.preserveComments, + syntacticPlaceholders: opts.syntacticPlaceholders + }); + } while (metadata.placeholders.some(placeholder => placeholder.isDuplicate && nameSet.has(placeholder.name))); + + return { + metadata, + names + }; +} + +function buildTemplateCode(tpl, prefix) { + const names = []; + let code = tpl[0]; + + for (let i = 1; i < tpl.length; i++) { + const value = `${prefix}${i - 1}`; + names.push(value); + code += value + tpl[i]; + } + + return { + names, + code + }; +} \ No newline at end of file diff --git a/node_modules/@babel/template/lib/options.js b/node_modules/@babel/template/lib/options.js new file mode 100644 index 000000000..8622c640b --- /dev/null +++ b/node_modules/@babel/template/lib/options.js @@ -0,0 +1,82 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.merge = merge; +exports.validate = validate; +exports.normalizeReplacements = normalizeReplacements; + +function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } + +function merge(a, b) { + const { + placeholderWhitelist = a.placeholderWhitelist, + placeholderPattern = a.placeholderPattern, + preserveComments = a.preserveComments, + syntacticPlaceholders = a.syntacticPlaceholders + } = b; + return { + parser: Object.assign({}, a.parser, b.parser), + placeholderWhitelist, + placeholderPattern, + preserveComments, + syntacticPlaceholders + }; +} + +function validate(opts) { + if (opts != null && typeof opts !== "object") { + throw new Error("Unknown template options."); + } + + const _ref = opts || {}, + { + placeholderWhitelist, + placeholderPattern, + preserveComments, + syntacticPlaceholders + } = _ref, + parser = _objectWithoutPropertiesLoose(_ref, ["placeholderWhitelist", "placeholderPattern", "preserveComments", "syntacticPlaceholders"]); + + if (placeholderWhitelist != null && !(placeholderWhitelist instanceof Set)) { + throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined"); + } + + if (placeholderPattern != null && !(placeholderPattern instanceof RegExp) && placeholderPattern !== false) { + throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined"); + } + + if (preserveComments != null && typeof preserveComments !== "boolean") { + throw new Error("'.preserveComments' must be a boolean, null, or undefined"); + } + + if (syntacticPlaceholders != null && typeof syntacticPlaceholders !== "boolean") { + throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined"); + } + + if (syntacticPlaceholders === true && (placeholderWhitelist != null || placeholderPattern != null)) { + throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible" + " with '.syntacticPlaceholders: true'"); + } + + return { + parser, + placeholderWhitelist: placeholderWhitelist || undefined, + placeholderPattern: placeholderPattern == null ? undefined : placeholderPattern, + preserveComments: preserveComments == null ? undefined : preserveComments, + syntacticPlaceholders: syntacticPlaceholders == null ? undefined : syntacticPlaceholders + }; +} + +function normalizeReplacements(replacements) { + if (Array.isArray(replacements)) { + return replacements.reduce((acc, replacement, i) => { + acc["$" + i] = replacement; + return acc; + }, {}); + } else if (typeof replacements === "object" || replacements == null) { + return replacements || undefined; + } + + throw new Error("Template replacements must be an array, object, null, or undefined"); +} \ No newline at end of file diff --git a/node_modules/@babel/template/lib/parse.js b/node_modules/@babel/template/lib/parse.js new file mode 100644 index 000000000..ff5497b7d --- /dev/null +++ b/node_modules/@babel/template/lib/parse.js @@ -0,0 +1,179 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = parseAndBuildMetadata; + +var t = _interopRequireWildcard(require("@babel/types")); + +var _parser = require("@babel/parser"); + +var _codeFrame = require("@babel/code-frame"); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const PATTERN = /^[_$A-Z0-9]+$/; + +function parseAndBuildMetadata(formatter, code, opts) { + const { + placeholderWhitelist, + placeholderPattern, + preserveComments, + syntacticPlaceholders + } = opts; + const ast = parseWithCodeFrame(code, opts.parser, syntacticPlaceholders); + t.removePropertiesDeep(ast, { + preserveComments + }); + formatter.validate(ast); + const syntactic = { + placeholders: [], + placeholderNames: new Set() + }; + const legacy = { + placeholders: [], + placeholderNames: new Set() + }; + const isLegacyRef = { + value: undefined + }; + t.traverse(ast, placeholderVisitorHandler, { + syntactic, + legacy, + isLegacyRef, + placeholderWhitelist, + placeholderPattern, + syntacticPlaceholders + }); + return Object.assign({ + ast + }, isLegacyRef.value ? legacy : syntactic); +} + +function placeholderVisitorHandler(node, ancestors, state) { + var _state$placeholderWhi; + + let name; + + if (t.isPlaceholder(node)) { + if (state.syntacticPlaceholders === false) { + throw new Error("%%foo%%-style placeholders can't be used when " + "'.syntacticPlaceholders' is false."); + } else { + name = node.name.name; + state.isLegacyRef.value = false; + } + } else if (state.isLegacyRef.value === false || state.syntacticPlaceholders) { + return; + } else if (t.isIdentifier(node) || t.isJSXIdentifier(node)) { + name = node.name; + state.isLegacyRef.value = true; + } else if (t.isStringLiteral(node)) { + name = node.value; + state.isLegacyRef.value = true; + } else { + return; + } + + if (!state.isLegacyRef.value && (state.placeholderPattern != null || state.placeholderWhitelist != null)) { + throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible" + " with '.syntacticPlaceholders: true'"); + } + + if (state.isLegacyRef.value && (state.placeholderPattern === false || !(state.placeholderPattern || PATTERN).test(name)) && !((_state$placeholderWhi = state.placeholderWhitelist) == null ? void 0 : _state$placeholderWhi.has(name))) { + return; + } + + ancestors = ancestors.slice(); + const { + node: parent, + key + } = ancestors[ancestors.length - 1]; + let type; + + if (t.isStringLiteral(node) || t.isPlaceholder(node, { + expectedNode: "StringLiteral" + })) { + type = "string"; + } else if (t.isNewExpression(parent) && key === "arguments" || t.isCallExpression(parent) && key === "arguments" || t.isFunction(parent) && key === "params") { + type = "param"; + } else if (t.isExpressionStatement(parent) && !t.isPlaceholder(node)) { + type = "statement"; + ancestors = ancestors.slice(0, -1); + } else if (t.isStatement(node) && t.isPlaceholder(node)) { + type = "statement"; + } else { + type = "other"; + } + + const { + placeholders, + placeholderNames + } = state.isLegacyRef.value ? state.legacy : state.syntactic; + placeholders.push({ + name, + type, + resolve: ast => resolveAncestors(ast, ancestors), + isDuplicate: placeholderNames.has(name) + }); + placeholderNames.add(name); +} + +function resolveAncestors(ast, ancestors) { + let parent = ast; + + for (let i = 0; i < ancestors.length - 1; i++) { + const { + key, + index + } = ancestors[i]; + + if (index === undefined) { + parent = parent[key]; + } else { + parent = parent[key][index]; + } + } + + const { + key, + index + } = ancestors[ancestors.length - 1]; + return { + parent, + key, + index + }; +} + +function parseWithCodeFrame(code, parserOpts, syntacticPlaceholders) { + const plugins = (parserOpts.plugins || []).slice(); + + if (syntacticPlaceholders !== false) { + plugins.push("placeholders"); + } + + parserOpts = Object.assign({ + allowReturnOutsideFunction: true, + allowSuperOutsideMethod: true, + sourceType: "module" + }, parserOpts, { + plugins + }); + + try { + return (0, _parser.parse)(code, parserOpts); + } catch (err) { + const loc = err.loc; + + if (loc) { + err.message += "\n" + (0, _codeFrame.codeFrameColumns)(code, { + start: loc + }); + err.code = "BABEL_TEMPLATE_PARSE_ERROR"; + } + + throw err; + } +} \ No newline at end of file diff --git a/node_modules/@babel/template/lib/populate.js b/node_modules/@babel/template/lib/populate.js new file mode 100644 index 000000000..cbca1917c --- /dev/null +++ b/node_modules/@babel/template/lib/populate.js @@ -0,0 +1,127 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = populatePlaceholders; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function populatePlaceholders(metadata, replacements) { + const ast = t.cloneNode(metadata.ast); + + if (replacements) { + metadata.placeholders.forEach(placeholder => { + if (!Object.prototype.hasOwnProperty.call(replacements, placeholder.name)) { + const placeholderName = placeholder.name; + throw new Error(`Error: No substitution given for "${placeholderName}". If this is not meant to be a + placeholder you may want to consider passing one of the following options to @babel/template: + - { placeholderPattern: false, placeholderWhitelist: new Set(['${placeholderName}'])} + - { placeholderPattern: /^${placeholderName}$/ }`); + } + }); + Object.keys(replacements).forEach(key => { + if (!metadata.placeholderNames.has(key)) { + throw new Error(`Unknown substitution "${key}" given`); + } + }); + } + + metadata.placeholders.slice().reverse().forEach(placeholder => { + try { + applyReplacement(placeholder, ast, replacements && replacements[placeholder.name] || null); + } catch (e) { + e.message = `@babel/template placeholder "${placeholder.name}": ${e.message}`; + throw e; + } + }); + return ast; +} + +function applyReplacement(placeholder, ast, replacement) { + if (placeholder.isDuplicate) { + if (Array.isArray(replacement)) { + replacement = replacement.map(node => t.cloneNode(node)); + } else if (typeof replacement === "object") { + replacement = t.cloneNode(replacement); + } + } + + const { + parent, + key, + index + } = placeholder.resolve(ast); + + if (placeholder.type === "string") { + if (typeof replacement === "string") { + replacement = t.stringLiteral(replacement); + } + + if (!replacement || !t.isStringLiteral(replacement)) { + throw new Error("Expected string substitution"); + } + } else if (placeholder.type === "statement") { + if (index === undefined) { + if (!replacement) { + replacement = t.emptyStatement(); + } else if (Array.isArray(replacement)) { + replacement = t.blockStatement(replacement); + } else if (typeof replacement === "string") { + replacement = t.expressionStatement(t.identifier(replacement)); + } else if (!t.isStatement(replacement)) { + replacement = t.expressionStatement(replacement); + } + } else { + if (replacement && !Array.isArray(replacement)) { + if (typeof replacement === "string") { + replacement = t.identifier(replacement); + } + + if (!t.isStatement(replacement)) { + replacement = t.expressionStatement(replacement); + } + } + } + } else if (placeholder.type === "param") { + if (typeof replacement === "string") { + replacement = t.identifier(replacement); + } + + if (index === undefined) throw new Error("Assertion failure."); + } else { + if (typeof replacement === "string") { + replacement = t.identifier(replacement); + } + + if (Array.isArray(replacement)) { + throw new Error("Cannot replace single expression with an array."); + } + } + + if (index === undefined) { + t.validate(parent, key, replacement); + parent[key] = replacement; + } else { + const items = parent[key].slice(); + + if (placeholder.type === "statement" || placeholder.type === "param") { + if (replacement == null) { + items.splice(index, 1); + } else if (Array.isArray(replacement)) { + items.splice(index, 1, ...replacement); + } else { + items[index] = replacement; + } + } else { + items[index] = replacement; + } + + t.validate(parent, key, items); + parent[key] = items; + } +} \ No newline at end of file diff --git a/node_modules/@babel/template/lib/string.js b/node_modules/@babel/template/lib/string.js new file mode 100644 index 000000000..02ad45782 --- /dev/null +++ b/node_modules/@babel/template/lib/string.js @@ -0,0 +1,24 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = stringTemplate; + +var _options = require("./options"); + +var _parse = _interopRequireDefault(require("./parse")); + +var _populate = _interopRequireDefault(require("./populate")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function stringTemplate(formatter, code, opts) { + code = formatter.code(code); + let metadata; + return arg => { + const replacements = (0, _options.normalizeReplacements)(arg); + if (!metadata) metadata = (0, _parse.default)(formatter, code, opts); + return formatter.unwrap((0, _populate.default)(metadata, replacements)); + }; +} \ No newline at end of file diff --git a/node_modules/@babel/template/package.json b/node_modules/@babel/template/package.json new file mode 100644 index 000000000..7a553c16e --- /dev/null +++ b/node_modules/@babel/template/package.json @@ -0,0 +1,61 @@ +{ + "_from": "@babel/template@^7.10.4", + "_id": "@babel/template@7.10.4", + "_inBundle": false, + "_integrity": "sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==", + "_location": "/@babel/template", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/template@^7.10.4", + "name": "@babel/template", + "escapedName": "@babel%2ftemplate", + "scope": "@babel", + "rawSpec": "^7.10.4", + "saveSpec": null, + "fetchSpec": "^7.10.4" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/helper-function-name", + "/@babel/helper-module-transforms", + "/@babel/helper-remap-async-to-generator", + "/@babel/helper-simple-access", + "/@babel/helper-wrap-function", + "/@babel/helpers" + ], + "_resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz", + "_shasum": "3251996c4200ebc71d1a8fc405fba940f36ba278", + "_spec": "@babel/template@^7.10.4", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/core", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "@babel/parser": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "deprecated": false, + "description": "Generate an AST from a string template.", + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/template", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-template" + }, + "version": "7.10.4" +} diff --git a/node_modules/@babel/traverse/LICENSE b/node_modules/@babel/traverse/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/traverse/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/traverse/README.md b/node_modules/@babel/traverse/README.md new file mode 100644 index 000000000..61dc58006 --- /dev/null +++ b/node_modules/@babel/traverse/README.md @@ -0,0 +1,19 @@ +# @babel/traverse + +> The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes + +See our website [@babel/traverse](https://babeljs.io/docs/en/next/babel-traverse.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20traverse%22+is%3Aopen) associated with this package. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/traverse +``` + +or using yarn: + +```sh +yarn add @babel/traverse --dev +``` diff --git a/node_modules/@babel/traverse/lib/cache.js b/node_modules/@babel/traverse/lib/cache.js new file mode 100644 index 000000000..89f200777 --- /dev/null +++ b/node_modules/@babel/traverse/lib/cache.js @@ -0,0 +1,26 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.clear = clear; +exports.clearPath = clearPath; +exports.clearScope = clearScope; +exports.scope = exports.path = void 0; +let path = new WeakMap(); +exports.path = path; +let scope = new WeakMap(); +exports.scope = scope; + +function clear() { + clearPath(); + clearScope(); +} + +function clearPath() { + exports.path = path = new WeakMap(); +} + +function clearScope() { + exports.scope = scope = new WeakMap(); +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/context.js b/node_modules/@babel/traverse/lib/context.js new file mode 100644 index 000000000..ca8723bb0 --- /dev/null +++ b/node_modules/@babel/traverse/lib/context.js @@ -0,0 +1,146 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _path = _interopRequireDefault(require("./path")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const testing = process.env.NODE_ENV === "test"; + +class TraversalContext { + constructor(scope, opts, state, parentPath) { + this.queue = null; + this.parentPath = parentPath; + this.scope = scope; + this.state = state; + this.opts = opts; + } + + shouldVisit(node) { + const opts = this.opts; + if (opts.enter || opts.exit) return true; + if (opts[node.type]) return true; + const keys = t.VISITOR_KEYS[node.type]; + if (!(keys == null ? void 0 : keys.length)) return false; + + for (const key of keys) { + if (node[key]) return true; + } + + return false; + } + + create(node, obj, key, listKey) { + return _path.default.get({ + parentPath: this.parentPath, + parent: node, + container: obj, + key: key, + listKey + }); + } + + maybeQueue(path, notPriority) { + if (this.trap) { + throw new Error("Infinite cycle detected"); + } + + if (this.queue) { + if (notPriority) { + this.queue.push(path); + } else { + this.priorityQueue.push(path); + } + } + } + + visitMultiple(container, parent, listKey) { + if (container.length === 0) return false; + const queue = []; + + for (let key = 0; key < container.length; key++) { + const node = container[key]; + + if (node && this.shouldVisit(node)) { + queue.push(this.create(parent, container, key, listKey)); + } + } + + return this.visitQueue(queue); + } + + visitSingle(node, key) { + if (this.shouldVisit(node[key])) { + return this.visitQueue([this.create(node, node, key)]); + } else { + return false; + } + } + + visitQueue(queue) { + this.queue = queue; + this.priorityQueue = []; + const visited = []; + let stop = false; + + for (const path of queue) { + path.resync(); + + if (path.contexts.length === 0 || path.contexts[path.contexts.length - 1] !== this) { + path.pushContext(this); + } + + if (path.key === null) continue; + + if (testing && queue.length >= 10000) { + this.trap = true; + } + + if (visited.indexOf(path.node) >= 0) continue; + visited.push(path.node); + + if (path.visit()) { + stop = true; + break; + } + + if (this.priorityQueue.length) { + stop = this.visitQueue(this.priorityQueue); + this.priorityQueue = []; + this.queue = queue; + if (stop) break; + } + } + + for (const path of queue) { + path.popContext(); + } + + this.queue = null; + return stop; + } + + visit(node, key) { + const nodes = node[key]; + if (!nodes) return false; + + if (Array.isArray(nodes)) { + return this.visitMultiple(nodes, node, key); + } else { + return this.visitSingle(node, key); + } + } + +} + +exports.default = TraversalContext; \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/hub.js b/node_modules/@babel/traverse/lib/hub.js new file mode 100644 index 000000000..fe139d2a8 --- /dev/null +++ b/node_modules/@babel/traverse/lib/hub.js @@ -0,0 +1,23 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +class Hub { + getCode() {} + + getScope() {} + + addHelper() { + throw new Error("Helpers are not supported by the default hub."); + } + + buildError(node, msg, Error = TypeError) { + return new Error(msg); + } + +} + +exports.default = Hub; \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/index.js b/node_modules/@babel/traverse/lib/index.js new file mode 100644 index 000000000..057814f43 --- /dev/null +++ b/node_modules/@babel/traverse/lib/index.js @@ -0,0 +1,118 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = traverse; +Object.defineProperty(exports, "NodePath", { + enumerable: true, + get: function () { + return _path.default; + } +}); +Object.defineProperty(exports, "Scope", { + enumerable: true, + get: function () { + return _scope.default; + } +}); +Object.defineProperty(exports, "Hub", { + enumerable: true, + get: function () { + return _hub.default; + } +}); +exports.visitors = void 0; + +var _context = _interopRequireDefault(require("./context")); + +var visitors = _interopRequireWildcard(require("./visitors")); + +exports.visitors = visitors; + +var t = _interopRequireWildcard(require("@babel/types")); + +var cache = _interopRequireWildcard(require("./cache")); + +var _path = _interopRequireDefault(require("./path")); + +var _scope = _interopRequireDefault(require("./scope")); + +var _hub = _interopRequireDefault(require("./hub")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function traverse(parent, opts, scope, state, parentPath) { + if (!parent) return; + if (!opts) opts = {}; + + if (!opts.noScope && !scope) { + if (parent.type !== "Program" && parent.type !== "File") { + throw new Error("You must pass a scope and parentPath unless traversing a Program/File. " + `Instead of that you tried to traverse a ${parent.type} node without ` + "passing scope and parentPath."); + } + } + + if (!t.VISITOR_KEYS[parent.type]) { + return; + } + + visitors.explode(opts); + traverse.node(parent, opts, scope, state, parentPath); +} + +traverse.visitors = visitors; +traverse.verify = visitors.verify; +traverse.explode = visitors.explode; + +traverse.cheap = function (node, enter) { + return t.traverseFast(node, enter); +}; + +traverse.node = function (node, opts, scope, state, parentPath, skipKeys) { + const keys = t.VISITOR_KEYS[node.type]; + if (!keys) return; + const context = new _context.default(scope, opts, state, parentPath); + + for (const key of keys) { + if (skipKeys && skipKeys[key]) continue; + if (context.visit(node, key)) return; + } +}; + +traverse.clearNode = function (node, opts) { + t.removeProperties(node, opts); + cache.path.delete(node); +}; + +traverse.removeProperties = function (tree, opts) { + t.traverseFast(tree, traverse.clearNode, opts); + return tree; +}; + +function hasDenylistedType(path, state) { + if (path.node.type === state.type) { + state.has = true; + path.stop(); + } +} + +traverse.hasType = function (tree, type, denylistTypes) { + if (denylistTypes == null ? void 0 : denylistTypes.includes(tree.type)) return false; + if (tree.type === type) return true; + const state = { + has: false, + type: type + }; + traverse(tree, { + noScope: true, + denylist: denylistTypes, + enter: hasDenylistedType + }, null, state); + return state.has; +}; + +traverse.cache = cache; \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/ancestry.js b/node_modules/@babel/traverse/lib/path/ancestry.js new file mode 100644 index 000000000..d2c7908d0 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/ancestry.js @@ -0,0 +1,182 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.findParent = findParent; +exports.find = find; +exports.getFunctionParent = getFunctionParent; +exports.getStatementParent = getStatementParent; +exports.getEarliestCommonAncestorFrom = getEarliestCommonAncestorFrom; +exports.getDeepestCommonAncestorFrom = getDeepestCommonAncestorFrom; +exports.getAncestry = getAncestry; +exports.isAncestor = isAncestor; +exports.isDescendant = isDescendant; +exports.inType = inType; + +var t = _interopRequireWildcard(require("@babel/types")); + +var _index = _interopRequireDefault(require("./index")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function findParent(callback) { + let path = this; + + while (path = path.parentPath) { + if (callback(path)) return path; + } + + return null; +} + +function find(callback) { + let path = this; + + do { + if (callback(path)) return path; + } while (path = path.parentPath); + + return null; +} + +function getFunctionParent() { + return this.findParent(p => p.isFunction()); +} + +function getStatementParent() { + let path = this; + + do { + if (!path.parentPath || Array.isArray(path.container) && path.isStatement()) { + break; + } else { + path = path.parentPath; + } + } while (path); + + if (path && (path.isProgram() || path.isFile())) { + throw new Error("File/Program node, we can't possibly find a statement parent to this"); + } + + return path; +} + +function getEarliestCommonAncestorFrom(paths) { + return this.getDeepestCommonAncestorFrom(paths, function (deepest, i, ancestries) { + let earliest; + const keys = t.VISITOR_KEYS[deepest.type]; + + for (const ancestry of ancestries) { + const path = ancestry[i + 1]; + + if (!earliest) { + earliest = path; + continue; + } + + if (path.listKey && earliest.listKey === path.listKey) { + if (path.key < earliest.key) { + earliest = path; + continue; + } + } + + const earliestKeyIndex = keys.indexOf(earliest.parentKey); + const currentKeyIndex = keys.indexOf(path.parentKey); + + if (earliestKeyIndex > currentKeyIndex) { + earliest = path; + } + } + + return earliest; + }); +} + +function getDeepestCommonAncestorFrom(paths, filter) { + if (!paths.length) { + return this; + } + + if (paths.length === 1) { + return paths[0]; + } + + let minDepth = Infinity; + let lastCommonIndex, lastCommon; + const ancestries = paths.map(path => { + const ancestry = []; + + do { + ancestry.unshift(path); + } while ((path = path.parentPath) && path !== this); + + if (ancestry.length < minDepth) { + minDepth = ancestry.length; + } + + return ancestry; + }); + const first = ancestries[0]; + + depthLoop: for (let i = 0; i < minDepth; i++) { + const shouldMatch = first[i]; + + for (const ancestry of ancestries) { + if (ancestry[i] !== shouldMatch) { + break depthLoop; + } + } + + lastCommonIndex = i; + lastCommon = shouldMatch; + } + + if (lastCommon) { + if (filter) { + return filter(lastCommon, lastCommonIndex, ancestries); + } else { + return lastCommon; + } + } else { + throw new Error("Couldn't find intersection"); + } +} + +function getAncestry() { + let path = this; + const paths = []; + + do { + paths.push(path); + } while (path = path.parentPath); + + return paths; +} + +function isAncestor(maybeDescendant) { + return maybeDescendant.isDescendant(this); +} + +function isDescendant(maybeAncestor) { + return !!this.findParent(parent => parent === maybeAncestor); +} + +function inType() { + let path = this; + + while (path) { + for (const type of arguments) { + if (path.node.type === type) return true; + } + + path = path.parentPath; + } + + return false; +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/comments.js b/node_modules/@babel/traverse/lib/path/comments.js new file mode 100644 index 000000000..1e7f77024 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/comments.js @@ -0,0 +1,41 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.shareCommentsWithSiblings = shareCommentsWithSiblings; +exports.addComment = addComment; +exports.addComments = addComments; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function shareCommentsWithSiblings() { + if (typeof this.key === "string") return; + const node = this.node; + if (!node) return; + const trailing = node.trailingComments; + const leading = node.leadingComments; + if (!trailing && !leading) return; + const prev = this.getSibling(this.key - 1); + const next = this.getSibling(this.key + 1); + const hasPrev = Boolean(prev.node); + const hasNext = Boolean(next.node); + + if (hasPrev && !hasNext) { + prev.addComments("trailing", trailing); + } else if (hasNext && !hasPrev) { + next.addComments("leading", leading); + } +} + +function addComment(type, content, line) { + t.addComment(this.node, type, content, line); +} + +function addComments(type, comments) { + t.addComments(this.node, type, comments); +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/context.js b/node_modules/@babel/traverse/lib/path/context.js new file mode 100644 index 000000000..47ae8e8f6 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/context.js @@ -0,0 +1,253 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.call = call; +exports._call = _call; +exports.isBlacklisted = exports.isDenylisted = isDenylisted; +exports.visit = visit; +exports.skip = skip; +exports.skipKey = skipKey; +exports.stop = stop; +exports.setScope = setScope; +exports.setContext = setContext; +exports.resync = resync; +exports._resyncParent = _resyncParent; +exports._resyncKey = _resyncKey; +exports._resyncList = _resyncList; +exports._resyncRemoved = _resyncRemoved; +exports.popContext = popContext; +exports.pushContext = pushContext; +exports.setup = setup; +exports.setKey = setKey; +exports.requeue = requeue; +exports._getQueueContexts = _getQueueContexts; + +var _index = _interopRequireDefault(require("../index")); + +var _index2 = require("./index"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function call(key) { + const opts = this.opts; + this.debug(key); + + if (this.node) { + if (this._call(opts[key])) return true; + } + + if (this.node) { + return this._call(opts[this.node.type] && opts[this.node.type][key]); + } + + return false; +} + +function _call(fns) { + if (!fns) return false; + + for (const fn of fns) { + if (!fn) continue; + const node = this.node; + if (!node) return true; + const ret = fn.call(this.state, this, this.state); + + if (ret && typeof ret === "object" && typeof ret.then === "function") { + throw new Error(`You appear to be using a plugin with an async traversal visitor, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`); + } + + if (ret) { + throw new Error(`Unexpected return value from visitor method ${fn}`); + } + + if (this.node !== node) return true; + if (this._traverseFlags > 0) return true; + } + + return false; +} + +function isDenylisted() { + var _this$opts$denylist; + + const denylist = (_this$opts$denylist = this.opts.denylist) != null ? _this$opts$denylist : this.opts.blacklist; + return denylist && denylist.indexOf(this.node.type) > -1; +} + +function visit() { + if (!this.node) { + return false; + } + + if (this.isDenylisted()) { + return false; + } + + if (this.opts.shouldSkip && this.opts.shouldSkip(this)) { + return false; + } + + if (this.shouldSkip || this.call("enter") || this.shouldSkip) { + this.debug("Skip..."); + return this.shouldStop; + } + + this.debug("Recursing into..."); + + _index.default.node(this.node, this.opts, this.scope, this.state, this, this.skipKeys); + + this.call("exit"); + return this.shouldStop; +} + +function skip() { + this.shouldSkip = true; +} + +function skipKey(key) { + if (this.skipKeys == null) { + this.skipKeys = {}; + } + + this.skipKeys[key] = true; +} + +function stop() { + this._traverseFlags |= _index2.SHOULD_SKIP | _index2.SHOULD_STOP; +} + +function setScope() { + if (this.opts && this.opts.noScope) return; + let path = this.parentPath; + let target; + + while (path && !target) { + if (path.opts && path.opts.noScope) return; + target = path.scope; + path = path.parentPath; + } + + this.scope = this.getScope(target); + if (this.scope) this.scope.init(); +} + +function setContext(context) { + if (this.skipKeys != null) { + this.skipKeys = {}; + } + + this._traverseFlags = 0; + + if (context) { + this.context = context; + this.state = context.state; + this.opts = context.opts; + } + + this.setScope(); + return this; +} + +function resync() { + if (this.removed) return; + + this._resyncParent(); + + this._resyncList(); + + this._resyncKey(); +} + +function _resyncParent() { + if (this.parentPath) { + this.parent = this.parentPath.node; + } +} + +function _resyncKey() { + if (!this.container) return; + if (this.node === this.container[this.key]) return; + + if (Array.isArray(this.container)) { + for (let i = 0; i < this.container.length; i++) { + if (this.container[i] === this.node) { + return this.setKey(i); + } + } + } else { + for (const key of Object.keys(this.container)) { + if (this.container[key] === this.node) { + return this.setKey(key); + } + } + } + + this.key = null; +} + +function _resyncList() { + if (!this.parent || !this.inList) return; + const newContainer = this.parent[this.listKey]; + if (this.container === newContainer) return; + this.container = newContainer || null; +} + +function _resyncRemoved() { + if (this.key == null || !this.container || this.container[this.key] !== this.node) { + this._markRemoved(); + } +} + +function popContext() { + this.contexts.pop(); + + if (this.contexts.length > 0) { + this.setContext(this.contexts[this.contexts.length - 1]); + } else { + this.setContext(undefined); + } +} + +function pushContext(context) { + this.contexts.push(context); + this.setContext(context); +} + +function setup(parentPath, container, listKey, key) { + this.listKey = listKey; + this.container = container; + this.parentPath = parentPath || this.parentPath; + this.setKey(key); +} + +function setKey(key) { + var _this$node; + + this.key = key; + this.node = this.container[this.key]; + this.type = (_this$node = this.node) == null ? void 0 : _this$node.type; +} + +function requeue(pathToQueue = this) { + if (pathToQueue.removed) return; + const contexts = this.contexts; + + for (const context of contexts) { + context.maybeQueue(pathToQueue); + } +} + +function _getQueueContexts() { + let path = this; + let contexts = this.contexts; + + while (!contexts.length) { + path = path.parentPath; + if (!path) break; + contexts = path.contexts; + } + + return contexts; +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/conversion.js b/node_modules/@babel/traverse/lib/path/conversion.js new file mode 100644 index 000000000..f6a119879 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/conversion.js @@ -0,0 +1,428 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.toComputedKey = toComputedKey; +exports.ensureBlock = ensureBlock; +exports.arrowFunctionToShadowed = arrowFunctionToShadowed; +exports.unwrapFunctionEnvironment = unwrapFunctionEnvironment; +exports.arrowFunctionToExpression = arrowFunctionToExpression; + +var t = _interopRequireWildcard(require("@babel/types")); + +var _helperFunctionName = _interopRequireDefault(require("@babel/helper-function-name")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function toComputedKey() { + const node = this.node; + let key; + + if (this.isMemberExpression()) { + key = node.property; + } else if (this.isProperty() || this.isMethod()) { + key = node.key; + } else { + throw new ReferenceError("todo"); + } + + if (!node.computed) { + if (t.isIdentifier(key)) key = t.stringLiteral(key.name); + } + + return key; +} + +function ensureBlock() { + const body = this.get("body"); + const bodyNode = body.node; + + if (Array.isArray(body)) { + throw new Error("Can't convert array path to a block statement"); + } + + if (!bodyNode) { + throw new Error("Can't convert node without a body"); + } + + if (body.isBlockStatement()) { + return bodyNode; + } + + const statements = []; + let stringPath = "body"; + let key; + let listKey; + + if (body.isStatement()) { + listKey = "body"; + key = 0; + statements.push(body.node); + } else { + stringPath += ".body.0"; + + if (this.isFunction()) { + key = "argument"; + statements.push(t.returnStatement(body.node)); + } else { + key = "expression"; + statements.push(t.expressionStatement(body.node)); + } + } + + this.node.body = t.blockStatement(statements); + const parentPath = this.get(stringPath); + body.setup(parentPath, listKey ? parentPath.node[listKey] : parentPath.node, listKey, key); + return this.node; +} + +function arrowFunctionToShadowed() { + if (!this.isArrowFunctionExpression()) return; + this.arrowFunctionToExpression(); +} + +function unwrapFunctionEnvironment() { + if (!this.isArrowFunctionExpression() && !this.isFunctionExpression() && !this.isFunctionDeclaration()) { + throw this.buildCodeFrameError("Can only unwrap the environment of a function."); + } + + hoistFunctionEnvironment(this); +} + +function arrowFunctionToExpression({ + allowInsertArrow = true, + specCompliant = false +} = {}) { + if (!this.isArrowFunctionExpression()) { + throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression."); + } + + const thisBinding = hoistFunctionEnvironment(this, specCompliant, allowInsertArrow); + this.ensureBlock(); + this.node.type = "FunctionExpression"; + + if (specCompliant) { + const checkBinding = thisBinding ? null : this.parentPath.scope.generateUidIdentifier("arrowCheckId"); + + if (checkBinding) { + this.parentPath.scope.push({ + id: checkBinding, + init: t.objectExpression([]) + }); + } + + this.get("body").unshiftContainer("body", t.expressionStatement(t.callExpression(this.hub.addHelper("newArrowCheck"), [t.thisExpression(), checkBinding ? t.identifier(checkBinding.name) : t.identifier(thisBinding)]))); + this.replaceWith(t.callExpression(t.memberExpression((0, _helperFunctionName.default)(this, true) || this.node, t.identifier("bind")), [checkBinding ? t.identifier(checkBinding.name) : t.thisExpression()])); + } +} + +function hoistFunctionEnvironment(fnPath, specCompliant = false, allowInsertArrow = true) { + const thisEnvFn = fnPath.findParent(p => { + return p.isFunction() && !p.isArrowFunctionExpression() || p.isProgram() || p.isClassProperty({ + static: false + }); + }); + const inConstructor = (thisEnvFn == null ? void 0 : thisEnvFn.node.kind) === "constructor"; + + if (thisEnvFn.isClassProperty()) { + throw fnPath.buildCodeFrameError("Unable to transform arrow inside class property"); + } + + const { + thisPaths, + argumentsPaths, + newTargetPaths, + superProps, + superCalls + } = getScopeInformation(fnPath); + + if (inConstructor && superCalls.length > 0) { + if (!allowInsertArrow) { + throw superCalls[0].buildCodeFrameError("Unable to handle nested super() usage in arrow"); + } + + const allSuperCalls = []; + thisEnvFn.traverse({ + Function(child) { + if (child.isArrowFunctionExpression()) return; + child.skip(); + }, + + ClassProperty(child) { + child.skip(); + }, + + CallExpression(child) { + if (!child.get("callee").isSuper()) return; + allSuperCalls.push(child); + } + + }); + const superBinding = getSuperBinding(thisEnvFn); + allSuperCalls.forEach(superCall => { + const callee = t.identifier(superBinding); + callee.loc = superCall.node.callee.loc; + superCall.get("callee").replaceWith(callee); + }); + } + + if (argumentsPaths.length > 0) { + const argumentsBinding = getBinding(thisEnvFn, "arguments", () => t.identifier("arguments")); + argumentsPaths.forEach(argumentsChild => { + const argsRef = t.identifier(argumentsBinding); + argsRef.loc = argumentsChild.node.loc; + argumentsChild.replaceWith(argsRef); + }); + } + + if (newTargetPaths.length > 0) { + const newTargetBinding = getBinding(thisEnvFn, "newtarget", () => t.metaProperty(t.identifier("new"), t.identifier("target"))); + newTargetPaths.forEach(targetChild => { + const targetRef = t.identifier(newTargetBinding); + targetRef.loc = targetChild.node.loc; + targetChild.replaceWith(targetRef); + }); + } + + if (superProps.length > 0) { + if (!allowInsertArrow) { + throw superProps[0].buildCodeFrameError("Unable to handle nested super.prop usage"); + } + + const flatSuperProps = superProps.reduce((acc, superProp) => acc.concat(standardizeSuperProperty(superProp)), []); + flatSuperProps.forEach(superProp => { + const key = superProp.node.computed ? "" : superProp.get("property").node.name; + const isAssignment = superProp.parentPath.isAssignmentExpression({ + left: superProp.node + }); + const isCall = superProp.parentPath.isCallExpression({ + callee: superProp.node + }); + const superBinding = getSuperPropBinding(thisEnvFn, isAssignment, key); + const args = []; + + if (superProp.node.computed) { + args.push(superProp.get("property").node); + } + + if (isAssignment) { + const value = superProp.parentPath.node.right; + args.push(value); + } + + const call = t.callExpression(t.identifier(superBinding), args); + + if (isCall) { + superProp.parentPath.unshiftContainer("arguments", t.thisExpression()); + superProp.replaceWith(t.memberExpression(call, t.identifier("call"))); + thisPaths.push(superProp.parentPath.get("arguments.0")); + } else if (isAssignment) { + superProp.parentPath.replaceWith(call); + } else { + superProp.replaceWith(call); + } + }); + } + + let thisBinding; + + if (thisPaths.length > 0 || specCompliant) { + thisBinding = getThisBinding(thisEnvFn, inConstructor); + + if (!specCompliant || inConstructor && hasSuperClass(thisEnvFn)) { + thisPaths.forEach(thisChild => { + const thisRef = thisChild.isJSX() ? t.jsxIdentifier(thisBinding) : t.identifier(thisBinding); + thisRef.loc = thisChild.node.loc; + thisChild.replaceWith(thisRef); + }); + if (specCompliant) thisBinding = null; + } + } + + return thisBinding; +} + +function standardizeSuperProperty(superProp) { + if (superProp.parentPath.isAssignmentExpression() && superProp.parentPath.node.operator !== "=") { + const assignmentPath = superProp.parentPath; + const op = assignmentPath.node.operator.slice(0, -1); + const value = assignmentPath.node.right; + assignmentPath.node.operator = "="; + + if (superProp.node.computed) { + const tmp = superProp.scope.generateDeclaredUidIdentifier("tmp"); + assignmentPath.get("left").replaceWith(t.memberExpression(superProp.node.object, t.assignmentExpression("=", tmp, superProp.node.property), true)); + assignmentPath.get("right").replaceWith(t.binaryExpression(op, t.memberExpression(superProp.node.object, t.identifier(tmp.name), true), value)); + } else { + assignmentPath.get("left").replaceWith(t.memberExpression(superProp.node.object, superProp.node.property)); + assignmentPath.get("right").replaceWith(t.binaryExpression(op, t.memberExpression(superProp.node.object, t.identifier(superProp.node.property.name)), value)); + } + + return [assignmentPath.get("left"), assignmentPath.get("right").get("left")]; + } else if (superProp.parentPath.isUpdateExpression()) { + const updateExpr = superProp.parentPath; + const tmp = superProp.scope.generateDeclaredUidIdentifier("tmp"); + const computedKey = superProp.node.computed ? superProp.scope.generateDeclaredUidIdentifier("prop") : null; + const parts = [t.assignmentExpression("=", tmp, t.memberExpression(superProp.node.object, computedKey ? t.assignmentExpression("=", computedKey, superProp.node.property) : superProp.node.property, superProp.node.computed)), t.assignmentExpression("=", t.memberExpression(superProp.node.object, computedKey ? t.identifier(computedKey.name) : superProp.node.property, superProp.node.computed), t.binaryExpression("+", t.identifier(tmp.name), t.numericLiteral(1)))]; + + if (!superProp.parentPath.node.prefix) { + parts.push(t.identifier(tmp.name)); + } + + updateExpr.replaceWith(t.sequenceExpression(parts)); + const left = updateExpr.get("expressions.0.right"); + const right = updateExpr.get("expressions.1.left"); + return [left, right]; + } + + return [superProp]; +} + +function hasSuperClass(thisEnvFn) { + return thisEnvFn.isClassMethod() && !!thisEnvFn.parentPath.parentPath.node.superClass; +} + +function getThisBinding(thisEnvFn, inConstructor) { + return getBinding(thisEnvFn, "this", thisBinding => { + if (!inConstructor || !hasSuperClass(thisEnvFn)) return t.thisExpression(); + const supers = new WeakSet(); + thisEnvFn.traverse({ + Function(child) { + if (child.isArrowFunctionExpression()) return; + child.skip(); + }, + + ClassProperty(child) { + child.skip(); + }, + + CallExpression(child) { + if (!child.get("callee").isSuper()) return; + if (supers.has(child.node)) return; + supers.add(child.node); + child.replaceWithMultiple([child.node, t.assignmentExpression("=", t.identifier(thisBinding), t.identifier("this"))]); + } + + }); + }); +} + +function getSuperBinding(thisEnvFn) { + return getBinding(thisEnvFn, "supercall", () => { + const argsBinding = thisEnvFn.scope.generateUidIdentifier("args"); + return t.arrowFunctionExpression([t.restElement(argsBinding)], t.callExpression(t.super(), [t.spreadElement(t.identifier(argsBinding.name))])); + }); +} + +function getSuperPropBinding(thisEnvFn, isAssignment, propName) { + const op = isAssignment ? "set" : "get"; + return getBinding(thisEnvFn, `superprop_${op}:${propName || ""}`, () => { + const argsList = []; + let fnBody; + + if (propName) { + fnBody = t.memberExpression(t.super(), t.identifier(propName)); + } else { + const method = thisEnvFn.scope.generateUidIdentifier("prop"); + argsList.unshift(method); + fnBody = t.memberExpression(t.super(), t.identifier(method.name), true); + } + + if (isAssignment) { + const valueIdent = thisEnvFn.scope.generateUidIdentifier("value"); + argsList.push(valueIdent); + fnBody = t.assignmentExpression("=", fnBody, t.identifier(valueIdent.name)); + } + + return t.arrowFunctionExpression(argsList, fnBody); + }); +} + +function getBinding(thisEnvFn, key, init) { + const cacheKey = "binding:" + key; + let data = thisEnvFn.getData(cacheKey); + + if (!data) { + const id = thisEnvFn.scope.generateUidIdentifier(key); + data = id.name; + thisEnvFn.setData(cacheKey, data); + thisEnvFn.scope.push({ + id: id, + init: init(data) + }); + } + + return data; +} + +function getScopeInformation(fnPath) { + const thisPaths = []; + const argumentsPaths = []; + const newTargetPaths = []; + const superProps = []; + const superCalls = []; + fnPath.traverse({ + ClassProperty(child) { + child.skip(); + }, + + Function(child) { + if (child.isArrowFunctionExpression()) return; + child.skip(); + }, + + ThisExpression(child) { + thisPaths.push(child); + }, + + JSXIdentifier(child) { + if (child.node.name !== "this") return; + + if (!child.parentPath.isJSXMemberExpression({ + object: child.node + }) && !child.parentPath.isJSXOpeningElement({ + name: child.node + })) { + return; + } + + thisPaths.push(child); + }, + + CallExpression(child) { + if (child.get("callee").isSuper()) superCalls.push(child); + }, + + MemberExpression(child) { + if (child.get("object").isSuper()) superProps.push(child); + }, + + ReferencedIdentifier(child) { + if (child.node.name !== "arguments") return; + argumentsPaths.push(child); + }, + + MetaProperty(child) { + if (!child.get("meta").isIdentifier({ + name: "new" + })) return; + if (!child.get("property").isIdentifier({ + name: "target" + })) return; + newTargetPaths.push(child); + } + + }); + return { + thisPaths, + argumentsPaths, + newTargetPaths, + superProps, + superCalls + }; +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/evaluation.js b/node_modules/@babel/traverse/lib/path/evaluation.js new file mode 100644 index 000000000..f0e587ea6 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/evaluation.js @@ -0,0 +1,404 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.evaluateTruthy = evaluateTruthy; +exports.evaluate = evaluate; +const VALID_CALLEES = ["String", "Number", "Math"]; +const INVALID_METHODS = ["random"]; + +function evaluateTruthy() { + const res = this.evaluate(); + if (res.confident) return !!res.value; +} + +function deopt(path, state) { + if (!state.confident) return; + state.deoptPath = path; + state.confident = false; +} + +function evaluateCached(path, state) { + const { + node + } = path; + const { + seen + } = state; + + if (seen.has(node)) { + const existing = seen.get(node); + + if (existing.resolved) { + return existing.value; + } else { + deopt(path, state); + return; + } + } else { + const item = { + resolved: false + }; + seen.set(node, item); + + const val = _evaluate(path, state); + + if (state.confident) { + item.resolved = true; + item.value = val; + } + + return val; + } +} + +function _evaluate(path, state) { + if (!state.confident) return; + const { + node + } = path; + + if (path.isSequenceExpression()) { + const exprs = path.get("expressions"); + return evaluateCached(exprs[exprs.length - 1], state); + } + + if (path.isStringLiteral() || path.isNumericLiteral() || path.isBooleanLiteral()) { + return node.value; + } + + if (path.isNullLiteral()) { + return null; + } + + if (path.isTemplateLiteral()) { + return evaluateQuasis(path, node.quasis, state); + } + + if (path.isTaggedTemplateExpression() && path.get("tag").isMemberExpression()) { + const object = path.get("tag.object"); + const { + node: { + name + } + } = object; + const property = path.get("tag.property"); + + if (object.isIdentifier() && name === "String" && !path.scope.getBinding(name, true) && property.isIdentifier && property.node.name === "raw") { + return evaluateQuasis(path, node.quasi.quasis, state, true); + } + } + + if (path.isConditionalExpression()) { + const testResult = evaluateCached(path.get("test"), state); + if (!state.confident) return; + + if (testResult) { + return evaluateCached(path.get("consequent"), state); + } else { + return evaluateCached(path.get("alternate"), state); + } + } + + if (path.isExpressionWrapper()) { + return evaluateCached(path.get("expression"), state); + } + + if (path.isMemberExpression() && !path.parentPath.isCallExpression({ + callee: node + })) { + const property = path.get("property"); + const object = path.get("object"); + + if (object.isLiteral() && property.isIdentifier()) { + const value = object.node.value; + const type = typeof value; + + if (type === "number" || type === "string") { + return value[property.node.name]; + } + } + } + + if (path.isReferencedIdentifier()) { + const binding = path.scope.getBinding(node.name); + + if (binding && binding.constantViolations.length > 0) { + return deopt(binding.path, state); + } + + if (binding && path.node.start < binding.path.node.end) { + return deopt(binding.path, state); + } + + if (binding == null ? void 0 : binding.hasValue) { + return binding.value; + } else { + if (node.name === "undefined") { + return binding ? deopt(binding.path, state) : undefined; + } else if (node.name === "Infinity") { + return binding ? deopt(binding.path, state) : Infinity; + } else if (node.name === "NaN") { + return binding ? deopt(binding.path, state) : NaN; + } + + const resolved = path.resolve(); + + if (resolved === path) { + return deopt(path, state); + } else { + return evaluateCached(resolved, state); + } + } + } + + if (path.isUnaryExpression({ + prefix: true + })) { + if (node.operator === "void") { + return undefined; + } + + const argument = path.get("argument"); + + if (node.operator === "typeof" && (argument.isFunction() || argument.isClass())) { + return "function"; + } + + const arg = evaluateCached(argument, state); + if (!state.confident) return; + + switch (node.operator) { + case "!": + return !arg; + + case "+": + return +arg; + + case "-": + return -arg; + + case "~": + return ~arg; + + case "typeof": + return typeof arg; + } + } + + if (path.isArrayExpression()) { + const arr = []; + const elems = path.get("elements"); + + for (const elem of elems) { + const elemValue = elem.evaluate(); + + if (elemValue.confident) { + arr.push(elemValue.value); + } else { + return deopt(elem, state); + } + } + + return arr; + } + + if (path.isObjectExpression()) { + const obj = {}; + const props = path.get("properties"); + + for (const prop of props) { + if (prop.isObjectMethod() || prop.isSpreadElement()) { + return deopt(prop, state); + } + + const keyPath = prop.get("key"); + let key = keyPath; + + if (prop.node.computed) { + key = key.evaluate(); + + if (!key.confident) { + return deopt(keyPath, state); + } + + key = key.value; + } else if (key.isIdentifier()) { + key = key.node.name; + } else { + key = key.node.value; + } + + const valuePath = prop.get("value"); + let value = valuePath.evaluate(); + + if (!value.confident) { + return deopt(valuePath, state); + } + + value = value.value; + obj[key] = value; + } + + return obj; + } + + if (path.isLogicalExpression()) { + const wasConfident = state.confident; + const left = evaluateCached(path.get("left"), state); + const leftConfident = state.confident; + state.confident = wasConfident; + const right = evaluateCached(path.get("right"), state); + const rightConfident = state.confident; + + switch (node.operator) { + case "||": + state.confident = leftConfident && (!!left || rightConfident); + if (!state.confident) return; + return left || right; + + case "&&": + state.confident = leftConfident && (!left || rightConfident); + if (!state.confident) return; + return left && right; + } + } + + if (path.isBinaryExpression()) { + const left = evaluateCached(path.get("left"), state); + if (!state.confident) return; + const right = evaluateCached(path.get("right"), state); + if (!state.confident) return; + + switch (node.operator) { + case "-": + return left - right; + + case "+": + return left + right; + + case "/": + return left / right; + + case "*": + return left * right; + + case "%": + return left % right; + + case "**": + return Math.pow(left, right); + + case "<": + return left < right; + + case ">": + return left > right; + + case "<=": + return left <= right; + + case ">=": + return left >= right; + + case "==": + return left == right; + + case "!=": + return left != right; + + case "===": + return left === right; + + case "!==": + return left !== right; + + case "|": + return left | right; + + case "&": + return left & right; + + case "^": + return left ^ right; + + case "<<": + return left << right; + + case ">>": + return left >> right; + + case ">>>": + return left >>> right; + } + } + + if (path.isCallExpression()) { + const callee = path.get("callee"); + let context; + let func; + + if (callee.isIdentifier() && !path.scope.getBinding(callee.node.name, true) && VALID_CALLEES.indexOf(callee.node.name) >= 0) { + func = global[node.callee.name]; + } + + if (callee.isMemberExpression()) { + const object = callee.get("object"); + const property = callee.get("property"); + + if (object.isIdentifier() && property.isIdentifier() && VALID_CALLEES.indexOf(object.node.name) >= 0 && INVALID_METHODS.indexOf(property.node.name) < 0) { + context = global[object.node.name]; + func = context[property.node.name]; + } + + if (object.isLiteral() && property.isIdentifier()) { + const type = typeof object.node.value; + + if (type === "string" || type === "number") { + context = object.node.value; + func = context[property.node.name]; + } + } + } + + if (func) { + const args = path.get("arguments").map(arg => evaluateCached(arg, state)); + if (!state.confident) return; + return func.apply(context, args); + } + } + + deopt(path, state); +} + +function evaluateQuasis(path, quasis, state, raw = false) { + let str = ""; + let i = 0; + const exprs = path.get("expressions"); + + for (const elem of quasis) { + if (!state.confident) break; + str += raw ? elem.value.raw : elem.value.cooked; + const expr = exprs[i++]; + if (expr) str += String(evaluateCached(expr, state)); + } + + if (!state.confident) return; + return str; +} + +function evaluate() { + const state = { + confident: true, + deoptPath: null, + seen: new Map() + }; + let value = evaluateCached(this, state); + if (!state.confident) value = undefined; + return { + confident: state.confident, + deopt: state.deoptPath, + value: value + }; +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/family.js b/node_modules/@babel/traverse/lib/path/family.js new file mode 100644 index 000000000..a88cdff66 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/family.js @@ -0,0 +1,287 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getOpposite = getOpposite; +exports.getCompletionRecords = getCompletionRecords; +exports.getSibling = getSibling; +exports.getPrevSibling = getPrevSibling; +exports.getNextSibling = getNextSibling; +exports.getAllNextSiblings = getAllNextSiblings; +exports.getAllPrevSiblings = getAllPrevSiblings; +exports.get = get; +exports._getKey = _getKey; +exports._getPattern = _getPattern; +exports.getBindingIdentifiers = getBindingIdentifiers; +exports.getOuterBindingIdentifiers = getOuterBindingIdentifiers; +exports.getBindingIdentifierPaths = getBindingIdentifierPaths; +exports.getOuterBindingIdentifierPaths = getOuterBindingIdentifierPaths; + +var _index = _interopRequireDefault(require("./index")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function getOpposite() { + if (this.key === "left") { + return this.getSibling("right"); + } else if (this.key === "right") { + return this.getSibling("left"); + } +} + +function addCompletionRecords(path, paths) { + if (path) return paths.concat(path.getCompletionRecords()); + return paths; +} + +function completionRecordForSwitch(cases, paths) { + let isLastCaseWithConsequent = true; + + for (let i = cases.length - 1; i >= 0; i--) { + const switchCase = cases[i]; + const consequent = switchCase.get("consequent"); + let breakStatement; + + findBreak: for (const statement of consequent) { + if (statement.isBlockStatement()) { + for (const statementInBlock of statement.get("body")) { + if (statementInBlock.isBreakStatement()) { + breakStatement = statementInBlock; + break findBreak; + } + } + } else if (statement.isBreakStatement()) { + breakStatement = statement; + break; + } + } + + if (breakStatement) { + while (breakStatement.key === 0 && breakStatement.parentPath.isBlockStatement()) { + breakStatement = breakStatement.parentPath; + } + + const prevSibling = breakStatement.getPrevSibling(); + + if (breakStatement.key > 0 && (prevSibling.isExpressionStatement() || prevSibling.isBlockStatement())) { + paths = addCompletionRecords(prevSibling, paths); + breakStatement.remove(); + } else { + breakStatement.replaceWith(breakStatement.scope.buildUndefinedNode()); + paths = addCompletionRecords(breakStatement, paths); + } + } else if (isLastCaseWithConsequent) { + const statementFinder = statement => !statement.isBlockStatement() || statement.get("body").some(statementFinder); + + const hasConsequent = consequent.some(statementFinder); + + if (hasConsequent) { + paths = addCompletionRecords(consequent[consequent.length - 1], paths); + isLastCaseWithConsequent = false; + } + } + } + + return paths; +} + +function getCompletionRecords() { + let paths = []; + + if (this.isIfStatement()) { + paths = addCompletionRecords(this.get("consequent"), paths); + paths = addCompletionRecords(this.get("alternate"), paths); + } else if (this.isDoExpression() || this.isFor() || this.isWhile()) { + paths = addCompletionRecords(this.get("body"), paths); + } else if (this.isProgram() || this.isBlockStatement()) { + paths = addCompletionRecords(this.get("body").pop(), paths); + } else if (this.isFunction()) { + return this.get("body").getCompletionRecords(); + } else if (this.isTryStatement()) { + paths = addCompletionRecords(this.get("block"), paths); + paths = addCompletionRecords(this.get("handler"), paths); + } else if (this.isCatchClause()) { + paths = addCompletionRecords(this.get("body"), paths); + } else if (this.isSwitchStatement()) { + paths = completionRecordForSwitch(this.get("cases"), paths); + } else { + paths.push(this); + } + + return paths; +} + +function getSibling(key) { + return _index.default.get({ + parentPath: this.parentPath, + parent: this.parent, + container: this.container, + listKey: this.listKey, + key: key + }); +} + +function getPrevSibling() { + return this.getSibling(this.key - 1); +} + +function getNextSibling() { + return this.getSibling(this.key + 1); +} + +function getAllNextSiblings() { + let _key = this.key; + let sibling = this.getSibling(++_key); + const siblings = []; + + while (sibling.node) { + siblings.push(sibling); + sibling = this.getSibling(++_key); + } + + return siblings; +} + +function getAllPrevSiblings() { + let _key = this.key; + let sibling = this.getSibling(--_key); + const siblings = []; + + while (sibling.node) { + siblings.push(sibling); + sibling = this.getSibling(--_key); + } + + return siblings; +} + +function get(key, context) { + if (context === true) context = this.context; + const parts = key.split("."); + + if (parts.length === 1) { + return this._getKey(key, context); + } else { + return this._getPattern(parts, context); + } +} + +function _getKey(key, context) { + const node = this.node; + const container = node[key]; + + if (Array.isArray(container)) { + return container.map((_, i) => { + return _index.default.get({ + listKey: key, + parentPath: this, + parent: node, + container: container, + key: i + }).setContext(context); + }); + } else { + return _index.default.get({ + parentPath: this, + parent: node, + container: node, + key: key + }).setContext(context); + } +} + +function _getPattern(parts, context) { + let path = this; + + for (const part of parts) { + if (part === ".") { + path = path.parentPath; + } else { + if (Array.isArray(path)) { + path = path[part]; + } else { + path = path.get(part, context); + } + } + } + + return path; +} + +function getBindingIdentifiers(duplicates) { + return t.getBindingIdentifiers(this.node, duplicates); +} + +function getOuterBindingIdentifiers(duplicates) { + return t.getOuterBindingIdentifiers(this.node, duplicates); +} + +function getBindingIdentifierPaths(duplicates = false, outerOnly = false) { + const path = this; + let search = [].concat(path); + const ids = Object.create(null); + + while (search.length) { + const id = search.shift(); + if (!id) continue; + if (!id.node) continue; + const keys = t.getBindingIdentifiers.keys[id.node.type]; + + if (id.isIdentifier()) { + if (duplicates) { + const _ids = ids[id.node.name] = ids[id.node.name] || []; + + _ids.push(id); + } else { + ids[id.node.name] = id; + } + + continue; + } + + if (id.isExportDeclaration()) { + const declaration = id.get("declaration"); + + if (declaration.isDeclaration()) { + search.push(declaration); + } + + continue; + } + + if (outerOnly) { + if (id.isFunctionDeclaration()) { + search.push(id.get("id")); + continue; + } + + if (id.isFunctionExpression()) { + continue; + } + } + + if (keys) { + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + const child = id.get(key); + + if (Array.isArray(child) || child.node) { + search = search.concat(child); + } + } + } + } + + return ids; +} + +function getOuterBindingIdentifierPaths(duplicates) { + return this.getBindingIdentifierPaths(duplicates, true); +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/index.js b/node_modules/@babel/traverse/lib/path/index.js new file mode 100644 index 000000000..b03b7e3a0 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/index.js @@ -0,0 +1,256 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = exports.SHOULD_SKIP = exports.SHOULD_STOP = exports.REMOVED = void 0; + +var virtualTypes = _interopRequireWildcard(require("./lib/virtual-types")); + +var _debug = _interopRequireDefault(require("debug")); + +var _index = _interopRequireDefault(require("../index")); + +var _scope = _interopRequireDefault(require("../scope")); + +var t = _interopRequireWildcard(require("@babel/types")); + +var _cache = require("../cache"); + +var _generator = _interopRequireDefault(require("@babel/generator")); + +var NodePath_ancestry = _interopRequireWildcard(require("./ancestry")); + +var NodePath_inference = _interopRequireWildcard(require("./inference")); + +var NodePath_replacement = _interopRequireWildcard(require("./replacement")); + +var NodePath_evaluation = _interopRequireWildcard(require("./evaluation")); + +var NodePath_conversion = _interopRequireWildcard(require("./conversion")); + +var NodePath_introspection = _interopRequireWildcard(require("./introspection")); + +var NodePath_context = _interopRequireWildcard(require("./context")); + +var NodePath_removal = _interopRequireWildcard(require("./removal")); + +var NodePath_modification = _interopRequireWildcard(require("./modification")); + +var NodePath_family = _interopRequireWildcard(require("./family")); + +var NodePath_comments = _interopRequireWildcard(require("./comments")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const debug = (0, _debug.default)("babel"); +const REMOVED = 1 << 0; +exports.REMOVED = REMOVED; +const SHOULD_STOP = 1 << 1; +exports.SHOULD_STOP = SHOULD_STOP; +const SHOULD_SKIP = 1 << 2; +exports.SHOULD_SKIP = SHOULD_SKIP; + +class NodePath { + constructor(hub, parent) { + this.parent = parent; + this.hub = hub; + this.contexts = []; + this.data = null; + this._traverseFlags = 0; + this.state = null; + this.opts = null; + this.skipKeys = null; + this.parentPath = null; + this.context = null; + this.container = null; + this.listKey = null; + this.key = null; + this.node = null; + this.scope = null; + this.type = null; + } + + static get({ + hub, + parentPath, + parent, + container, + listKey, + key + }) { + if (!hub && parentPath) { + hub = parentPath.hub; + } + + if (!parent) { + throw new Error("To get a node path the parent needs to exist"); + } + + const targetNode = container[key]; + const paths = _cache.path.get(parent) || []; + + if (!_cache.path.has(parent)) { + _cache.path.set(parent, paths); + } + + let path; + + for (let i = 0; i < paths.length; i++) { + const pathCheck = paths[i]; + + if (pathCheck.node === targetNode) { + path = pathCheck; + break; + } + } + + if (!path) { + path = new NodePath(hub, parent); + paths.push(path); + } + + path.setup(parentPath, container, listKey, key); + return path; + } + + getScope(scope) { + return this.isScope() ? new _scope.default(this) : scope; + } + + setData(key, val) { + if (this.data == null) { + this.data = Object.create(null); + } + + return this.data[key] = val; + } + + getData(key, def) { + if (this.data == null) { + this.data = Object.create(null); + } + + let val = this.data[key]; + if (val === undefined && def !== undefined) val = this.data[key] = def; + return val; + } + + buildCodeFrameError(msg, Error = SyntaxError) { + return this.hub.buildError(this.node, msg, Error); + } + + traverse(visitor, state) { + (0, _index.default)(this.node, visitor, this.scope, state, this); + } + + set(key, node) { + t.validate(this.node, key, node); + this.node[key] = node; + } + + getPathLocation() { + const parts = []; + let path = this; + + do { + let key = path.key; + if (path.inList) key = `${path.listKey}[${key}]`; + parts.unshift(key); + } while (path = path.parentPath); + + return parts.join("."); + } + + debug(message) { + if (!debug.enabled) return; + debug(`${this.getPathLocation()} ${this.type}: ${message}`); + } + + toString() { + return (0, _generator.default)(this.node).code; + } + + get inList() { + return !!this.listKey; + } + + set inList(inList) { + if (!inList) { + this.listKey = null; + } + } + + get parentKey() { + return this.listKey || this.key; + } + + get shouldSkip() { + return !!(this._traverseFlags & SHOULD_SKIP); + } + + set shouldSkip(v) { + if (v) { + this._traverseFlags |= SHOULD_SKIP; + } else { + this._traverseFlags &= ~SHOULD_SKIP; + } + } + + get shouldStop() { + return !!(this._traverseFlags & SHOULD_STOP); + } + + set shouldStop(v) { + if (v) { + this._traverseFlags |= SHOULD_STOP; + } else { + this._traverseFlags &= ~SHOULD_STOP; + } + } + + get removed() { + return !!(this._traverseFlags & REMOVED); + } + + set removed(v) { + if (v) { + this._traverseFlags |= REMOVED; + } else { + this._traverseFlags &= ~REMOVED; + } + } + +} + +exports.default = NodePath; +Object.assign(NodePath.prototype, NodePath_ancestry, NodePath_inference, NodePath_replacement, NodePath_evaluation, NodePath_conversion, NodePath_introspection, NodePath_context, NodePath_removal, NodePath_modification, NodePath_family, NodePath_comments); + +for (const type of t.TYPES) { + const typeKey = `is${type}`; + const fn = t[typeKey]; + + NodePath.prototype[typeKey] = function (opts) { + return fn(this.node, opts); + }; + + NodePath.prototype[`assert${type}`] = function (opts) { + if (!fn(this.node, opts)) { + throw new TypeError(`Expected node path of type ${type}`); + } + }; +} + +for (const type of Object.keys(virtualTypes)) { + if (type[0] === "_") continue; + if (t.TYPES.indexOf(type) < 0) t.TYPES.push(type); + const virtualType = virtualTypes[type]; + + NodePath.prototype[`is${type}`] = function (opts) { + return virtualType.checkPath(this, opts); + }; +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/inference/index.js b/node_modules/@babel/traverse/lib/path/inference/index.js new file mode 100644 index 000000000..276f3e58e --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/inference/index.js @@ -0,0 +1,128 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getTypeAnnotation = getTypeAnnotation; +exports._getTypeAnnotation = _getTypeAnnotation; +exports.isBaseType = isBaseType; +exports.couldBeBaseType = couldBeBaseType; +exports.baseTypeStrictlyMatches = baseTypeStrictlyMatches; +exports.isGenericType = isGenericType; + +var inferers = _interopRequireWildcard(require("./inferers")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function getTypeAnnotation() { + if (this.typeAnnotation) return this.typeAnnotation; + let type = this._getTypeAnnotation() || t.anyTypeAnnotation(); + if (t.isTypeAnnotation(type)) type = type.typeAnnotation; + return this.typeAnnotation = type; +} + +function _getTypeAnnotation() { + var _inferer; + + const node = this.node; + + if (!node) { + if (this.key === "init" && this.parentPath.isVariableDeclarator()) { + const declar = this.parentPath.parentPath; + const declarParent = declar.parentPath; + + if (declar.key === "left" && declarParent.isForInStatement()) { + return t.stringTypeAnnotation(); + } + + if (declar.key === "left" && declarParent.isForOfStatement()) { + return t.anyTypeAnnotation(); + } + + return t.voidTypeAnnotation(); + } else { + return; + } + } + + if (node.typeAnnotation) { + return node.typeAnnotation; + } + + let inferer = inferers[node.type]; + + if (inferer) { + return inferer.call(this, node); + } + + inferer = inferers[this.parentPath.type]; + + if ((_inferer = inferer) == null ? void 0 : _inferer.validParent) { + return this.parentPath.getTypeAnnotation(); + } +} + +function isBaseType(baseName, soft) { + return _isBaseType(baseName, this.getTypeAnnotation(), soft); +} + +function _isBaseType(baseName, type, soft) { + if (baseName === "string") { + return t.isStringTypeAnnotation(type); + } else if (baseName === "number") { + return t.isNumberTypeAnnotation(type); + } else if (baseName === "boolean") { + return t.isBooleanTypeAnnotation(type); + } else if (baseName === "any") { + return t.isAnyTypeAnnotation(type); + } else if (baseName === "mixed") { + return t.isMixedTypeAnnotation(type); + } else if (baseName === "empty") { + return t.isEmptyTypeAnnotation(type); + } else if (baseName === "void") { + return t.isVoidTypeAnnotation(type); + } else { + if (soft) { + return false; + } else { + throw new Error(`Unknown base type ${baseName}`); + } + } +} + +function couldBeBaseType(name) { + const type = this.getTypeAnnotation(); + if (t.isAnyTypeAnnotation(type)) return true; + + if (t.isUnionTypeAnnotation(type)) { + for (const type2 of type.types) { + if (t.isAnyTypeAnnotation(type2) || _isBaseType(name, type2, true)) { + return true; + } + } + + return false; + } else { + return _isBaseType(name, type, true); + } +} + +function baseTypeStrictlyMatches(right) { + const left = this.getTypeAnnotation(); + right = right.getTypeAnnotation(); + + if (!t.isAnyTypeAnnotation(left) && t.isFlowBaseAnnotation(left)) { + return right.type === left.type; + } +} + +function isGenericType(genericName) { + const type = this.getTypeAnnotation(); + return t.isGenericTypeAnnotation(type) && t.isIdentifier(type.id, { + name: genericName + }); +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js b/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js new file mode 100644 index 000000000..d890af241 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js @@ -0,0 +1,199 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = _default; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _default(node) { + if (!this.isReferenced()) return; + const binding = this.scope.getBinding(node.name); + + if (binding) { + if (binding.identifier.typeAnnotation) { + return binding.identifier.typeAnnotation; + } else { + return getTypeAnnotationBindingConstantViolations(binding, this, node.name); + } + } + + if (node.name === "undefined") { + return t.voidTypeAnnotation(); + } else if (node.name === "NaN" || node.name === "Infinity") { + return t.numberTypeAnnotation(); + } else if (node.name === "arguments") {} +} + +function getTypeAnnotationBindingConstantViolations(binding, path, name) { + const types = []; + const functionConstantViolations = []; + let constantViolations = getConstantViolationsBefore(binding, path, functionConstantViolations); + const testType = getConditionalAnnotation(binding, path, name); + + if (testType) { + const testConstantViolations = getConstantViolationsBefore(binding, testType.ifStatement); + constantViolations = constantViolations.filter(path => testConstantViolations.indexOf(path) < 0); + types.push(testType.typeAnnotation); + } + + if (constantViolations.length) { + constantViolations = constantViolations.concat(functionConstantViolations); + + for (const violation of constantViolations) { + types.push(violation.getTypeAnnotation()); + } + } + + if (!types.length) { + return; + } + + if (t.isTSTypeAnnotation(types[0]) && t.createTSUnionType) { + return t.createTSUnionType(types); + } + + if (t.createFlowUnionType) { + return t.createFlowUnionType(types); + } + + return t.createUnionTypeAnnotation(types); +} + +function getConstantViolationsBefore(binding, path, functions) { + const violations = binding.constantViolations.slice(); + violations.unshift(binding.path); + return violations.filter(violation => { + violation = violation.resolve(); + + const status = violation._guessExecutionStatusRelativeTo(path); + + if (functions && status === "unknown") functions.push(violation); + return status === "before"; + }); +} + +function inferAnnotationFromBinaryExpression(name, path) { + const operator = path.node.operator; + const right = path.get("right").resolve(); + const left = path.get("left").resolve(); + let target; + + if (left.isIdentifier({ + name + })) { + target = right; + } else if (right.isIdentifier({ + name + })) { + target = left; + } + + if (target) { + if (operator === "===") { + return target.getTypeAnnotation(); + } + + if (t.BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(operator) >= 0) { + return t.numberTypeAnnotation(); + } + + return; + } + + if (operator !== "===" && operator !== "==") return; + let typeofPath; + let typePath; + + if (left.isUnaryExpression({ + operator: "typeof" + })) { + typeofPath = left; + typePath = right; + } else if (right.isUnaryExpression({ + operator: "typeof" + })) { + typeofPath = right; + typePath = left; + } + + if (!typeofPath) return; + if (!typeofPath.get("argument").isIdentifier({ + name + })) return; + typePath = typePath.resolve(); + if (!typePath.isLiteral()) return; + const typeValue = typePath.node.value; + if (typeof typeValue !== "string") return; + return t.createTypeAnnotationBasedOnTypeof(typeValue); +} + +function getParentConditionalPath(binding, path, name) { + let parentPath; + + while (parentPath = path.parentPath) { + if (parentPath.isIfStatement() || parentPath.isConditionalExpression()) { + if (path.key === "test") { + return; + } + + return parentPath; + } + + if (parentPath.isFunction()) { + if (parentPath.parentPath.scope.getBinding(name) !== binding) return; + } + + path = parentPath; + } +} + +function getConditionalAnnotation(binding, path, name) { + const ifStatement = getParentConditionalPath(binding, path, name); + if (!ifStatement) return; + const test = ifStatement.get("test"); + const paths = [test]; + const types = []; + + for (let i = 0; i < paths.length; i++) { + const path = paths[i]; + + if (path.isLogicalExpression()) { + if (path.node.operator === "&&") { + paths.push(path.get("left")); + paths.push(path.get("right")); + } + } else if (path.isBinaryExpression()) { + const type = inferAnnotationFromBinaryExpression(name, path); + if (type) types.push(type); + } + } + + if (types.length) { + if (t.isTSTypeAnnotation(types[0]) && t.createTSUnionType) { + return { + typeAnnotation: t.createTSUnionType(types), + ifStatement + }; + } + + if (t.createFlowUnionType) { + return { + typeAnnotation: t.createFlowUnionType(types), + ifStatement + }; + } + + return { + typeAnnotation: t.createUnionTypeAnnotation(types), + ifStatement + }; + } + + return getConditionalAnnotation(ifStatement, name); +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/inference/inferers.js b/node_modules/@babel/traverse/lib/path/inference/inferers.js new file mode 100644 index 000000000..a187c92b2 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/inference/inferers.js @@ -0,0 +1,243 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.VariableDeclarator = VariableDeclarator; +exports.TypeCastExpression = TypeCastExpression; +exports.NewExpression = NewExpression; +exports.TemplateLiteral = TemplateLiteral; +exports.UnaryExpression = UnaryExpression; +exports.BinaryExpression = BinaryExpression; +exports.LogicalExpression = LogicalExpression; +exports.ConditionalExpression = ConditionalExpression; +exports.SequenceExpression = SequenceExpression; +exports.ParenthesizedExpression = ParenthesizedExpression; +exports.AssignmentExpression = AssignmentExpression; +exports.UpdateExpression = UpdateExpression; +exports.StringLiteral = StringLiteral; +exports.NumericLiteral = NumericLiteral; +exports.BooleanLiteral = BooleanLiteral; +exports.NullLiteral = NullLiteral; +exports.RegExpLiteral = RegExpLiteral; +exports.ObjectExpression = ObjectExpression; +exports.ArrayExpression = ArrayExpression; +exports.RestElement = RestElement; +exports.ClassDeclaration = exports.ClassExpression = exports.FunctionDeclaration = exports.ArrowFunctionExpression = exports.FunctionExpression = Func; +exports.CallExpression = CallExpression; +exports.TaggedTemplateExpression = TaggedTemplateExpression; +Object.defineProperty(exports, "Identifier", { + enumerable: true, + get: function () { + return _infererReference.default; + } +}); + +var t = _interopRequireWildcard(require("@babel/types")); + +var _infererReference = _interopRequireDefault(require("./inferer-reference")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function VariableDeclarator() { + var _type; + + const id = this.get("id"); + if (!id.isIdentifier()) return; + const init = this.get("init"); + let type = init.getTypeAnnotation(); + + if (((_type = type) == null ? void 0 : _type.type) === "AnyTypeAnnotation") { + if (init.isCallExpression() && init.get("callee").isIdentifier({ + name: "Array" + }) && !init.scope.hasBinding("Array", true)) { + type = ArrayExpression(); + } + } + + return type; +} + +function TypeCastExpression(node) { + return node.typeAnnotation; +} + +TypeCastExpression.validParent = true; + +function NewExpression(node) { + if (this.get("callee").isIdentifier()) { + return t.genericTypeAnnotation(node.callee); + } +} + +function TemplateLiteral() { + return t.stringTypeAnnotation(); +} + +function UnaryExpression(node) { + const operator = node.operator; + + if (operator === "void") { + return t.voidTypeAnnotation(); + } else if (t.NUMBER_UNARY_OPERATORS.indexOf(operator) >= 0) { + return t.numberTypeAnnotation(); + } else if (t.STRING_UNARY_OPERATORS.indexOf(operator) >= 0) { + return t.stringTypeAnnotation(); + } else if (t.BOOLEAN_UNARY_OPERATORS.indexOf(operator) >= 0) { + return t.booleanTypeAnnotation(); + } +} + +function BinaryExpression(node) { + const operator = node.operator; + + if (t.NUMBER_BINARY_OPERATORS.indexOf(operator) >= 0) { + return t.numberTypeAnnotation(); + } else if (t.BOOLEAN_BINARY_OPERATORS.indexOf(operator) >= 0) { + return t.booleanTypeAnnotation(); + } else if (operator === "+") { + const right = this.get("right"); + const left = this.get("left"); + + if (left.isBaseType("number") && right.isBaseType("number")) { + return t.numberTypeAnnotation(); + } else if (left.isBaseType("string") || right.isBaseType("string")) { + return t.stringTypeAnnotation(); + } + + return t.unionTypeAnnotation([t.stringTypeAnnotation(), t.numberTypeAnnotation()]); + } +} + +function LogicalExpression() { + const argumentTypes = [this.get("left").getTypeAnnotation(), this.get("right").getTypeAnnotation()]; + + if (t.isTSTypeAnnotation(argumentTypes[0]) && t.createTSUnionType) { + return t.createTSUnionType(argumentTypes); + } + + if (t.createFlowUnionType) { + return t.createFlowUnionType(argumentTypes); + } + + return t.createUnionTypeAnnotation(argumentTypes); +} + +function ConditionalExpression() { + const argumentTypes = [this.get("consequent").getTypeAnnotation(), this.get("alternate").getTypeAnnotation()]; + + if (t.isTSTypeAnnotation(argumentTypes[0]) && t.createTSUnionType) { + return t.createTSUnionType(argumentTypes); + } + + if (t.createFlowUnionType) { + return t.createFlowUnionType(argumentTypes); + } + + return t.createUnionTypeAnnotation(argumentTypes); +} + +function SequenceExpression() { + return this.get("expressions").pop().getTypeAnnotation(); +} + +function ParenthesizedExpression() { + return this.get("expression").getTypeAnnotation(); +} + +function AssignmentExpression() { + return this.get("right").getTypeAnnotation(); +} + +function UpdateExpression(node) { + const operator = node.operator; + + if (operator === "++" || operator === "--") { + return t.numberTypeAnnotation(); + } +} + +function StringLiteral() { + return t.stringTypeAnnotation(); +} + +function NumericLiteral() { + return t.numberTypeAnnotation(); +} + +function BooleanLiteral() { + return t.booleanTypeAnnotation(); +} + +function NullLiteral() { + return t.nullLiteralTypeAnnotation(); +} + +function RegExpLiteral() { + return t.genericTypeAnnotation(t.identifier("RegExp")); +} + +function ObjectExpression() { + return t.genericTypeAnnotation(t.identifier("Object")); +} + +function ArrayExpression() { + return t.genericTypeAnnotation(t.identifier("Array")); +} + +function RestElement() { + return ArrayExpression(); +} + +RestElement.validParent = true; + +function Func() { + return t.genericTypeAnnotation(t.identifier("Function")); +} + +const isArrayFrom = t.buildMatchMemberExpression("Array.from"); +const isObjectKeys = t.buildMatchMemberExpression("Object.keys"); +const isObjectValues = t.buildMatchMemberExpression("Object.values"); +const isObjectEntries = t.buildMatchMemberExpression("Object.entries"); + +function CallExpression() { + const { + callee + } = this.node; + + if (isObjectKeys(callee)) { + return t.arrayTypeAnnotation(t.stringTypeAnnotation()); + } else if (isArrayFrom(callee) || isObjectValues(callee)) { + return t.arrayTypeAnnotation(t.anyTypeAnnotation()); + } else if (isObjectEntries(callee)) { + return t.arrayTypeAnnotation(t.tupleTypeAnnotation([t.stringTypeAnnotation(), t.anyTypeAnnotation()])); + } + + return resolveCall(this.get("callee")); +} + +function TaggedTemplateExpression() { + return resolveCall(this.get("tag")); +} + +function resolveCall(callee) { + callee = callee.resolve(); + + if (callee.isFunction()) { + if (callee.is("async")) { + if (callee.is("generator")) { + return t.genericTypeAnnotation(t.identifier("AsyncIterator")); + } else { + return t.genericTypeAnnotation(t.identifier("Promise")); + } + } else { + if (callee.node.returnType) { + return callee.node.returnType; + } else {} + } + } +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/introspection.js b/node_modules/@babel/traverse/lib/path/introspection.js new file mode 100644 index 000000000..718a6c85d --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/introspection.js @@ -0,0 +1,419 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.matchesPattern = matchesPattern; +exports.has = has; +exports.isStatic = isStatic; +exports.isnt = isnt; +exports.equals = equals; +exports.isNodeType = isNodeType; +exports.canHaveVariableDeclarationOrExpression = canHaveVariableDeclarationOrExpression; +exports.canSwapBetweenExpressionAndStatement = canSwapBetweenExpressionAndStatement; +exports.isCompletionRecord = isCompletionRecord; +exports.isStatementOrBlock = isStatementOrBlock; +exports.referencesImport = referencesImport; +exports.getSource = getSource; +exports.willIMaybeExecuteBefore = willIMaybeExecuteBefore; +exports._guessExecutionStatusRelativeTo = _guessExecutionStatusRelativeTo; +exports._guessExecutionStatusRelativeToDifferentFunctions = _guessExecutionStatusRelativeToDifferentFunctions; +exports.resolve = resolve; +exports._resolve = _resolve; +exports.isConstantExpression = isConstantExpression; +exports.isInStrictMode = isInStrictMode; +exports.is = void 0; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function matchesPattern(pattern, allowPartial) { + return t.matchesPattern(this.node, pattern, allowPartial); +} + +function has(key) { + const val = this.node && this.node[key]; + + if (val && Array.isArray(val)) { + return !!val.length; + } else { + return !!val; + } +} + +function isStatic() { + return this.scope.isStatic(this.node); +} + +const is = has; +exports.is = is; + +function isnt(key) { + return !this.has(key); +} + +function equals(key, value) { + return this.node[key] === value; +} + +function isNodeType(type) { + return t.isType(this.type, type); +} + +function canHaveVariableDeclarationOrExpression() { + return (this.key === "init" || this.key === "left") && this.parentPath.isFor(); +} + +function canSwapBetweenExpressionAndStatement(replacement) { + if (this.key !== "body" || !this.parentPath.isArrowFunctionExpression()) { + return false; + } + + if (this.isExpression()) { + return t.isBlockStatement(replacement); + } else if (this.isBlockStatement()) { + return t.isExpression(replacement); + } + + return false; +} + +function isCompletionRecord(allowInsideFunction) { + let path = this; + let first = true; + + do { + const container = path.container; + + if (path.isFunction() && !first) { + return !!allowInsideFunction; + } + + first = false; + + if (Array.isArray(container) && path.key !== container.length - 1) { + return false; + } + } while ((path = path.parentPath) && !path.isProgram()); + + return true; +} + +function isStatementOrBlock() { + if (this.parentPath.isLabeledStatement() || t.isBlockStatement(this.container)) { + return false; + } else { + return t.STATEMENT_OR_BLOCK_KEYS.includes(this.key); + } +} + +function referencesImport(moduleSource, importName) { + if (!this.isReferencedIdentifier()) return false; + const binding = this.scope.getBinding(this.node.name); + if (!binding || binding.kind !== "module") return false; + const path = binding.path; + const parent = path.parentPath; + if (!parent.isImportDeclaration()) return false; + + if (parent.node.source.value === moduleSource) { + if (!importName) return true; + } else { + return false; + } + + if (path.isImportDefaultSpecifier() && importName === "default") { + return true; + } + + if (path.isImportNamespaceSpecifier() && importName === "*") { + return true; + } + + if (path.isImportSpecifier() && path.node.imported.name === importName) { + return true; + } + + return false; +} + +function getSource() { + const node = this.node; + + if (node.end) { + const code = this.hub.getCode(); + if (code) return code.slice(node.start, node.end); + } + + return ""; +} + +function willIMaybeExecuteBefore(target) { + return this._guessExecutionStatusRelativeTo(target) !== "after"; +} + +function getOuterFunction(path) { + return (path.scope.getFunctionParent() || path.scope.getProgramParent()).path; +} + +function isExecutionUncertain(type, key) { + switch (type) { + case "LogicalExpression": + return key === "right"; + + case "ConditionalExpression": + case "IfStatement": + return key === "consequent" || key === "alternate"; + + case "WhileStatement": + case "DoWhileStatement": + case "ForInStatement": + case "ForOfStatement": + return key === "body"; + + case "ForStatement": + return key === "body" || key === "update"; + + case "SwitchStatement": + return key === "cases"; + + case "TryStatement": + return key === "handler"; + + case "AssignmentPattern": + return key === "right"; + + case "OptionalMemberExpression": + return key === "property"; + + case "OptionalCallExpression": + return key === "arguments"; + + default: + return false; + } +} + +function isExecutionUncertainInList(paths, maxIndex) { + for (let i = 0; i < maxIndex; i++) { + const path = paths[i]; + + if (isExecutionUncertain(path.parent.type, path.parentKey)) { + return true; + } + } + + return false; +} + +function _guessExecutionStatusRelativeTo(target) { + const funcParent = { + this: getOuterFunction(this), + target: getOuterFunction(target) + }; + + if (funcParent.target.node !== funcParent.this.node) { + return this._guessExecutionStatusRelativeToDifferentFunctions(funcParent.target); + } + + const paths = { + target: target.getAncestry(), + this: this.getAncestry() + }; + if (paths.target.indexOf(this) >= 0) return "after"; + if (paths.this.indexOf(target) >= 0) return "before"; + let commonPath; + const commonIndex = { + target: 0, + this: 0 + }; + + while (!commonPath && commonIndex.this < paths.this.length) { + const path = paths.this[commonIndex.this]; + commonIndex.target = paths.target.indexOf(path); + + if (commonIndex.target >= 0) { + commonPath = path; + } else { + commonIndex.this++; + } + } + + if (!commonPath) { + throw new Error("Internal Babel error - The two compared nodes" + " don't appear to belong to the same program."); + } + + if (isExecutionUncertainInList(paths.this, commonIndex.this - 1) || isExecutionUncertainInList(paths.target, commonIndex.target - 1)) { + return "unknown"; + } + + const divergence = { + this: paths.this[commonIndex.this - 1], + target: paths.target[commonIndex.target - 1] + }; + + if (divergence.target.listKey && divergence.this.listKey && divergence.target.container === divergence.this.container) { + return divergence.target.key > divergence.this.key ? "before" : "after"; + } + + const keys = t.VISITOR_KEYS[commonPath.type]; + const keyPosition = { + this: keys.indexOf(divergence.this.parentKey), + target: keys.indexOf(divergence.target.parentKey) + }; + return keyPosition.target > keyPosition.this ? "before" : "after"; +} + +const executionOrderCheckedNodes = new WeakSet(); + +function _guessExecutionStatusRelativeToDifferentFunctions(target) { + if (!target.isFunctionDeclaration() || target.parentPath.isExportDeclaration()) { + return "unknown"; + } + + const binding = target.scope.getBinding(target.node.id.name); + if (!binding.references) return "before"; + const referencePaths = binding.referencePaths; + let allStatus; + + for (const path of referencePaths) { + const childOfFunction = !!path.find(path => path.node === target.node); + if (childOfFunction) continue; + + if (path.key !== "callee" || !path.parentPath.isCallExpression()) { + return "unknown"; + } + + if (executionOrderCheckedNodes.has(path.node)) continue; + executionOrderCheckedNodes.add(path.node); + + const status = this._guessExecutionStatusRelativeTo(path); + + executionOrderCheckedNodes.delete(path.node); + + if (allStatus && allStatus !== status) { + return "unknown"; + } else { + allStatus = status; + } + } + + return allStatus; +} + +function resolve(dangerous, resolved) { + return this._resolve(dangerous, resolved) || this; +} + +function _resolve(dangerous, resolved) { + if (resolved && resolved.indexOf(this) >= 0) return; + resolved = resolved || []; + resolved.push(this); + + if (this.isVariableDeclarator()) { + if (this.get("id").isIdentifier()) { + return this.get("init").resolve(dangerous, resolved); + } else {} + } else if (this.isReferencedIdentifier()) { + const binding = this.scope.getBinding(this.node.name); + if (!binding) return; + if (!binding.constant) return; + if (binding.kind === "module") return; + + if (binding.path !== this) { + const ret = binding.path.resolve(dangerous, resolved); + if (this.find(parent => parent.node === ret.node)) return; + return ret; + } + } else if (this.isTypeCastExpression()) { + return this.get("expression").resolve(dangerous, resolved); + } else if (dangerous && this.isMemberExpression()) { + const targetKey = this.toComputedKey(); + if (!t.isLiteral(targetKey)) return; + const targetName = targetKey.value; + const target = this.get("object").resolve(dangerous, resolved); + + if (target.isObjectExpression()) { + const props = target.get("properties"); + + for (const prop of props) { + if (!prop.isProperty()) continue; + const key = prop.get("key"); + let match = prop.isnt("computed") && key.isIdentifier({ + name: targetName + }); + match = match || key.isLiteral({ + value: targetName + }); + if (match) return prop.get("value").resolve(dangerous, resolved); + } + } else if (target.isArrayExpression() && !isNaN(+targetName)) { + const elems = target.get("elements"); + const elem = elems[targetName]; + if (elem) return elem.resolve(dangerous, resolved); + } + } +} + +function isConstantExpression() { + if (this.isIdentifier()) { + const binding = this.scope.getBinding(this.node.name); + if (!binding) return false; + return binding.constant; + } + + if (this.isLiteral()) { + if (this.isRegExpLiteral()) { + return false; + } + + if (this.isTemplateLiteral()) { + return this.get("expressions").every(expression => expression.isConstantExpression()); + } + + return true; + } + + if (this.isUnaryExpression()) { + if (this.get("operator").node !== "void") { + return false; + } + + return this.get("argument").isConstantExpression(); + } + + if (this.isBinaryExpression()) { + return this.get("left").isConstantExpression() && this.get("right").isConstantExpression(); + } + + return false; +} + +function isInStrictMode() { + const start = this.isProgram() ? this : this.parentPath; + const strictParent = start.find(path => { + if (path.isProgram({ + sourceType: "module" + })) return true; + if (path.isClass()) return true; + if (!path.isProgram() && !path.isFunction()) return false; + + if (path.isArrowFunctionExpression() && !path.get("body").isBlockStatement()) { + return false; + } + + let { + node + } = path; + if (path.isFunction()) node = node.body; + + for (const directive of node.directives) { + if (directive.value.value === "use strict") { + return true; + } + } + }); + return !!strictParent; +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/lib/hoister.js b/node_modules/@babel/traverse/lib/path/lib/hoister.js new file mode 100644 index 000000000..4d6644ad8 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/lib/hoister.js @@ -0,0 +1,193 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const referenceVisitor = { + ReferencedIdentifier(path, state) { + if (path.isJSXIdentifier() && t.react.isCompatTag(path.node.name) && !path.parentPath.isJSXMemberExpression()) { + return; + } + + if (path.node.name === "this") { + let scope = path.scope; + + do { + if (scope.path.isFunction() && !scope.path.isArrowFunctionExpression()) { + break; + } + } while (scope = scope.parent); + + if (scope) state.breakOnScopePaths.push(scope.path); + } + + const binding = path.scope.getBinding(path.node.name); + if (!binding) return; + + for (const violation of binding.constantViolations) { + if (violation.scope !== binding.path.scope) { + state.mutableBinding = true; + path.stop(); + return; + } + } + + if (binding !== state.scope.getBinding(path.node.name)) return; + state.bindings[path.node.name] = binding; + } + +}; + +class PathHoister { + constructor(path, scope) { + this.breakOnScopePaths = []; + this.bindings = {}; + this.mutableBinding = false; + this.scopes = []; + this.scope = scope; + this.path = path; + this.attachAfter = false; + } + + isCompatibleScope(scope) { + for (const key of Object.keys(this.bindings)) { + const binding = this.bindings[key]; + + if (!scope.bindingIdentifierEquals(key, binding.identifier)) { + return false; + } + } + + return true; + } + + getCompatibleScopes() { + let scope = this.path.scope; + + do { + if (this.isCompatibleScope(scope)) { + this.scopes.push(scope); + } else { + break; + } + + if (this.breakOnScopePaths.indexOf(scope.path) >= 0) { + break; + } + } while (scope = scope.parent); + } + + getAttachmentPath() { + let path = this._getAttachmentPath(); + + if (!path) return; + let targetScope = path.scope; + + if (targetScope.path === path) { + targetScope = path.scope.parent; + } + + if (targetScope.path.isProgram() || targetScope.path.isFunction()) { + for (const name of Object.keys(this.bindings)) { + if (!targetScope.hasOwnBinding(name)) continue; + const binding = this.bindings[name]; + + if (binding.kind === "param" || binding.path.parentKey === "params") { + continue; + } + + const bindingParentPath = this.getAttachmentParentForPath(binding.path); + + if (bindingParentPath.key >= path.key) { + this.attachAfter = true; + path = binding.path; + + for (const violationPath of binding.constantViolations) { + if (this.getAttachmentParentForPath(violationPath).key > path.key) { + path = violationPath; + } + } + } + } + } + + return path; + } + + _getAttachmentPath() { + const scopes = this.scopes; + const scope = scopes.pop(); + if (!scope) return; + + if (scope.path.isFunction()) { + if (this.hasOwnParamBindings(scope)) { + if (this.scope === scope) return; + const bodies = scope.path.get("body").get("body"); + + for (let i = 0; i < bodies.length; i++) { + if (bodies[i].node._blockHoist) continue; + return bodies[i]; + } + } else { + return this.getNextScopeAttachmentParent(); + } + } else if (scope.path.isProgram()) { + return this.getNextScopeAttachmentParent(); + } + } + + getNextScopeAttachmentParent() { + const scope = this.scopes.pop(); + if (scope) return this.getAttachmentParentForPath(scope.path); + } + + getAttachmentParentForPath(path) { + do { + if (!path.parentPath || Array.isArray(path.container) && path.isStatement()) { + return path; + } + } while (path = path.parentPath); + } + + hasOwnParamBindings(scope) { + for (const name of Object.keys(this.bindings)) { + if (!scope.hasOwnBinding(name)) continue; + const binding = this.bindings[name]; + if (binding.kind === "param" && binding.constant) return true; + } + + return false; + } + + run() { + this.path.traverse(referenceVisitor, this); + if (this.mutableBinding) return; + this.getCompatibleScopes(); + const attachTo = this.getAttachmentPath(); + if (!attachTo) return; + if (attachTo.getFunctionParent() === this.path.getFunctionParent()) return; + let uid = attachTo.scope.generateUidIdentifier("ref"); + const declarator = t.variableDeclarator(uid, this.path.node); + const insertFn = this.attachAfter ? "insertAfter" : "insertBefore"; + const [attached] = attachTo[insertFn]([attachTo.isVariableDeclarator() ? declarator : t.variableDeclaration("var", [declarator])]); + const parent = this.path.parentPath; + + if (parent.isJSXElement() && this.path.container === parent.node.children) { + uid = t.JSXExpressionContainer(uid); + } + + this.path.replaceWith(t.cloneNode(uid)); + return attachTo.isVariableDeclarator() ? attached.get("init") : attached.get("declarations.0.init"); + } + +} + +exports.default = PathHoister; \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js b/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js new file mode 100644 index 000000000..23ec8fe6d --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js @@ -0,0 +1,38 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.hooks = void 0; +const hooks = [function (self, parent) { + const removeParent = self.key === "test" && (parent.isWhile() || parent.isSwitchCase()) || self.key === "declaration" && parent.isExportDeclaration() || self.key === "body" && parent.isLabeledStatement() || self.listKey === "declarations" && parent.isVariableDeclaration() && parent.node.declarations.length === 1 || self.key === "expression" && parent.isExpressionStatement(); + + if (removeParent) { + parent.remove(); + return true; + } +}, function (self, parent) { + if (parent.isSequenceExpression() && parent.node.expressions.length === 1) { + parent.replaceWith(parent.node.expressions[0]); + return true; + } +}, function (self, parent) { + if (parent.isBinary()) { + if (self.key === "left") { + parent.replaceWith(parent.node.right); + } else { + parent.replaceWith(parent.node.left); + } + + return true; + } +}, function (self, parent) { + if (parent.isIfStatement() && (self.key === "consequent" || self.key === "alternate") || self.key === "body" && (parent.isLoop() || parent.isArrowFunctionExpression())) { + self.replaceWith({ + type: "BlockStatement", + body: [] + }); + return true; + } +}]; +exports.hooks = hooks; \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/lib/virtual-types.js b/node_modules/@babel/traverse/lib/path/lib/virtual-types.js new file mode 100644 index 000000000..505e9a449 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/lib/virtual-types.js @@ -0,0 +1,210 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ForAwaitStatement = exports.NumericLiteralTypeAnnotation = exports.ExistentialTypeParam = exports.SpreadProperty = exports.RestProperty = exports.Flow = exports.Pure = exports.Generated = exports.User = exports.Var = exports.BlockScoped = exports.Referenced = exports.Scope = exports.Expression = exports.Statement = exports.BindingIdentifier = exports.ReferencedMemberExpression = exports.ReferencedIdentifier = void 0; + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const ReferencedIdentifier = { + types: ["Identifier", "JSXIdentifier"], + + checkPath(path, opts) { + const { + node, + parent + } = path; + + if (!t.isIdentifier(node, opts) && !t.isJSXMemberExpression(parent, opts)) { + if (t.isJSXIdentifier(node, opts)) { + if (t.react.isCompatTag(node.name)) return false; + } else { + return false; + } + } + + return t.isReferenced(node, parent, path.parentPath.parent); + } + +}; +exports.ReferencedIdentifier = ReferencedIdentifier; +const ReferencedMemberExpression = { + types: ["MemberExpression"], + + checkPath({ + node, + parent + }) { + return t.isMemberExpression(node) && t.isReferenced(node, parent); + } + +}; +exports.ReferencedMemberExpression = ReferencedMemberExpression; +const BindingIdentifier = { + types: ["Identifier"], + + checkPath(path) { + const { + node, + parent + } = path; + const grandparent = path.parentPath.parent; + return t.isIdentifier(node) && t.isBinding(node, parent, grandparent); + } + +}; +exports.BindingIdentifier = BindingIdentifier; +const Statement = { + types: ["Statement"], + + checkPath({ + node, + parent + }) { + if (t.isStatement(node)) { + if (t.isVariableDeclaration(node)) { + if (t.isForXStatement(parent, { + left: node + })) return false; + if (t.isForStatement(parent, { + init: node + })) return false; + } + + return true; + } else { + return false; + } + } + +}; +exports.Statement = Statement; +const Expression = { + types: ["Expression"], + + checkPath(path) { + if (path.isIdentifier()) { + return path.isReferencedIdentifier(); + } else { + return t.isExpression(path.node); + } + } + +}; +exports.Expression = Expression; +const Scope = { + types: ["Scopable", "Pattern"], + + checkPath(path) { + return t.isScope(path.node, path.parent); + } + +}; +exports.Scope = Scope; +const Referenced = { + checkPath(path) { + return t.isReferenced(path.node, path.parent); + } + +}; +exports.Referenced = Referenced; +const BlockScoped = { + checkPath(path) { + return t.isBlockScoped(path.node); + } + +}; +exports.BlockScoped = BlockScoped; +const Var = { + types: ["VariableDeclaration"], + + checkPath(path) { + return t.isVar(path.node); + } + +}; +exports.Var = Var; +const User = { + checkPath(path) { + return path.node && !!path.node.loc; + } + +}; +exports.User = User; +const Generated = { + checkPath(path) { + return !path.isUser(); + } + +}; +exports.Generated = Generated; +const Pure = { + checkPath(path, opts) { + return path.scope.isPure(path.node, opts); + } + +}; +exports.Pure = Pure; +const Flow = { + types: ["Flow", "ImportDeclaration", "ExportDeclaration", "ImportSpecifier"], + + checkPath({ + node + }) { + if (t.isFlow(node)) { + return true; + } else if (t.isImportDeclaration(node)) { + return node.importKind === "type" || node.importKind === "typeof"; + } else if (t.isExportDeclaration(node)) { + return node.exportKind === "type"; + } else if (t.isImportSpecifier(node)) { + return node.importKind === "type" || node.importKind === "typeof"; + } else { + return false; + } + } + +}; +exports.Flow = Flow; +const RestProperty = { + types: ["RestElement"], + + checkPath(path) { + return path.parentPath && path.parentPath.isObjectPattern(); + } + +}; +exports.RestProperty = RestProperty; +const SpreadProperty = { + types: ["RestElement"], + + checkPath(path) { + return path.parentPath && path.parentPath.isObjectExpression(); + } + +}; +exports.SpreadProperty = SpreadProperty; +const ExistentialTypeParam = { + types: ["ExistsTypeAnnotation"] +}; +exports.ExistentialTypeParam = ExistentialTypeParam; +const NumericLiteralTypeAnnotation = { + types: ["NumberLiteralTypeAnnotation"] +}; +exports.NumericLiteralTypeAnnotation = NumericLiteralTypeAnnotation; +const ForAwaitStatement = { + types: ["ForOfStatement"], + + checkPath({ + node + }) { + return node.await === true; + } + +}; +exports.ForAwaitStatement = ForAwaitStatement; \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/modification.js b/node_modules/@babel/traverse/lib/path/modification.js new file mode 100644 index 000000000..13aece767 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/modification.js @@ -0,0 +1,216 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.insertBefore = insertBefore; +exports._containerInsert = _containerInsert; +exports._containerInsertBefore = _containerInsertBefore; +exports._containerInsertAfter = _containerInsertAfter; +exports.insertAfter = insertAfter; +exports.updateSiblingKeys = updateSiblingKeys; +exports._verifyNodeList = _verifyNodeList; +exports.unshiftContainer = unshiftContainer; +exports.pushContainer = pushContainer; +exports.hoist = hoist; + +var _cache = require("../cache"); + +var _hoister = _interopRequireDefault(require("./lib/hoister")); + +var _index = _interopRequireDefault(require("./index")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function insertBefore(nodes) { + this._assertUnremoved(); + + nodes = this._verifyNodeList(nodes); + const { + parentPath + } = this; + + if (parentPath.isExpressionStatement() || parentPath.isLabeledStatement() || parentPath.isExportNamedDeclaration() || parentPath.isExportDefaultDeclaration() && this.isDeclaration()) { + return parentPath.insertBefore(nodes); + } else if (this.isNodeType("Expression") && !this.isJSXElement() || parentPath.isForStatement() && this.key === "init") { + if (this.node) nodes.push(this.node); + return this.replaceExpressionWithStatements(nodes); + } else if (Array.isArray(this.container)) { + return this._containerInsertBefore(nodes); + } else if (this.isStatementOrBlock()) { + const shouldInsertCurrentNode = this.node && (!this.isExpressionStatement() || this.node.expression != null); + this.replaceWith(t.blockStatement(shouldInsertCurrentNode ? [this.node] : [])); + return this.unshiftContainer("body", nodes); + } else { + throw new Error("We don't know what to do with this node type. " + "We were previously a Statement but we can't fit in here?"); + } +} + +function _containerInsert(from, nodes) { + this.updateSiblingKeys(from, nodes.length); + const paths = []; + this.container.splice(from, 0, ...nodes); + + for (let i = 0; i < nodes.length; i++) { + const to = from + i; + const path = this.getSibling(to); + paths.push(path); + + if (this.context && this.context.queue) { + path.pushContext(this.context); + } + } + + const contexts = this._getQueueContexts(); + + for (const path of paths) { + path.setScope(); + path.debug("Inserted."); + + for (const context of contexts) { + context.maybeQueue(path, true); + } + } + + return paths; +} + +function _containerInsertBefore(nodes) { + return this._containerInsert(this.key, nodes); +} + +function _containerInsertAfter(nodes) { + return this._containerInsert(this.key + 1, nodes); +} + +function insertAfter(nodes) { + this._assertUnremoved(); + + nodes = this._verifyNodeList(nodes); + const { + parentPath + } = this; + + if (parentPath.isExpressionStatement() || parentPath.isLabeledStatement() || parentPath.isExportNamedDeclaration() || parentPath.isExportDefaultDeclaration() && this.isDeclaration()) { + return parentPath.insertAfter(nodes.map(node => { + return t.isExpression(node) ? t.expressionStatement(node) : node; + })); + } else if (this.isNodeType("Expression") && !this.isJSXElement() && !parentPath.isJSXElement() || parentPath.isForStatement() && this.key === "init") { + if (this.node) { + let { + scope + } = this; + + if (parentPath.isMethod({ + computed: true, + key: this.node + })) { + scope = scope.parent; + } + + const temp = scope.generateDeclaredUidIdentifier(); + nodes.unshift(t.expressionStatement(t.assignmentExpression("=", t.cloneNode(temp), this.node))); + nodes.push(t.expressionStatement(t.cloneNode(temp))); + } + + return this.replaceExpressionWithStatements(nodes); + } else if (Array.isArray(this.container)) { + return this._containerInsertAfter(nodes); + } else if (this.isStatementOrBlock()) { + const shouldInsertCurrentNode = this.node && (!this.isExpressionStatement() || this.node.expression != null); + this.replaceWith(t.blockStatement(shouldInsertCurrentNode ? [this.node] : [])); + return this.pushContainer("body", nodes); + } else { + throw new Error("We don't know what to do with this node type. " + "We were previously a Statement but we can't fit in here?"); + } +} + +function updateSiblingKeys(fromIndex, incrementBy) { + if (!this.parent) return; + + const paths = _cache.path.get(this.parent); + + for (let i = 0; i < paths.length; i++) { + const path = paths[i]; + + if (path.key >= fromIndex) { + path.key += incrementBy; + } + } +} + +function _verifyNodeList(nodes) { + if (!nodes) { + return []; + } + + if (nodes.constructor !== Array) { + nodes = [nodes]; + } + + for (let i = 0; i < nodes.length; i++) { + const node = nodes[i]; + let msg; + + if (!node) { + msg = "has falsy node"; + } else if (typeof node !== "object") { + msg = "contains a non-object node"; + } else if (!node.type) { + msg = "without a type"; + } else if (node instanceof _index.default) { + msg = "has a NodePath when it expected a raw object"; + } + + if (msg) { + const type = Array.isArray(node) ? "array" : typeof node; + throw new Error(`Node list ${msg} with the index of ${i} and type of ${type}`); + } + } + + return nodes; +} + +function unshiftContainer(listKey, nodes) { + this._assertUnremoved(); + + nodes = this._verifyNodeList(nodes); + + const path = _index.default.get({ + parentPath: this, + parent: this.node, + container: this.node[listKey], + listKey, + key: 0 + }); + + return path._containerInsertBefore(nodes); +} + +function pushContainer(listKey, nodes) { + this._assertUnremoved(); + + nodes = this._verifyNodeList(nodes); + const container = this.node[listKey]; + + const path = _index.default.get({ + parentPath: this, + parent: this.node, + container: container, + listKey, + key: container.length + }); + + return path.replaceWithMultiple(nodes); +} + +function hoist(scope = this.scope) { + const hoister = new _hoister.default(this, scope); + return hoister.run(); +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/removal.js b/node_modules/@babel/traverse/lib/path/removal.js new file mode 100644 index 000000000..07c280638 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/removal.js @@ -0,0 +1,70 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.remove = remove; +exports._removeFromScope = _removeFromScope; +exports._callRemovalHooks = _callRemovalHooks; +exports._remove = _remove; +exports._markRemoved = _markRemoved; +exports._assertUnremoved = _assertUnremoved; + +var _removalHooks = require("./lib/removal-hooks"); + +var _index = require("./index"); + +function remove() { + var _this$opts; + + this._assertUnremoved(); + + this.resync(); + + if (!((_this$opts = this.opts) == null ? void 0 : _this$opts.noScope)) { + this._removeFromScope(); + } + + if (this._callRemovalHooks()) { + this._markRemoved(); + + return; + } + + this.shareCommentsWithSiblings(); + + this._remove(); + + this._markRemoved(); +} + +function _removeFromScope() { + const bindings = this.getBindingIdentifiers(); + Object.keys(bindings).forEach(name => this.scope.removeBinding(name)); +} + +function _callRemovalHooks() { + for (const fn of _removalHooks.hooks) { + if (fn(this, this.parentPath)) return true; + } +} + +function _remove() { + if (Array.isArray(this.container)) { + this.container.splice(this.key, 1); + this.updateSiblingKeys(this.key, -1); + } else { + this._replaceWith(null); + } +} + +function _markRemoved() { + this._traverseFlags |= _index.SHOULD_SKIP | _index.REMOVED; + this.node = null; +} + +function _assertUnremoved() { + if (this.removed) { + throw this.buildCodeFrameError("NodePath has been removed so is read-only."); + } +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/path/replacement.js b/node_modules/@babel/traverse/lib/path/replacement.js new file mode 100644 index 000000000..6de659650 --- /dev/null +++ b/node_modules/@babel/traverse/lib/path/replacement.js @@ -0,0 +1,244 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.replaceWithMultiple = replaceWithMultiple; +exports.replaceWithSourceString = replaceWithSourceString; +exports.replaceWith = replaceWith; +exports._replaceWith = _replaceWith; +exports.replaceExpressionWithStatements = replaceExpressionWithStatements; +exports.replaceInline = replaceInline; + +var _codeFrame = require("@babel/code-frame"); + +var _index = _interopRequireDefault(require("../index")); + +var _index2 = _interopRequireDefault(require("./index")); + +var _parser = require("@babel/parser"); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const hoistVariablesVisitor = { + Function(path) { + path.skip(); + }, + + VariableDeclaration(path) { + if (path.node.kind !== "var") return; + const bindings = path.getBindingIdentifiers(); + + for (const key of Object.keys(bindings)) { + path.scope.push({ + id: bindings[key] + }); + } + + const exprs = []; + + for (const declar of path.node.declarations) { + if (declar.init) { + exprs.push(t.expressionStatement(t.assignmentExpression("=", declar.id, declar.init))); + } + } + + path.replaceWithMultiple(exprs); + } + +}; + +function replaceWithMultiple(nodes) { + this.resync(); + nodes = this._verifyNodeList(nodes); + t.inheritLeadingComments(nodes[0], this.node); + t.inheritTrailingComments(nodes[nodes.length - 1], this.node); + this.node = this.container[this.key] = null; + const paths = this.insertAfter(nodes); + + if (this.node) { + this.requeue(); + } else { + this.remove(); + } + + return paths; +} + +function replaceWithSourceString(replacement) { + this.resync(); + + try { + replacement = `(${replacement})`; + replacement = (0, _parser.parse)(replacement); + } catch (err) { + const loc = err.loc; + + if (loc) { + err.message += " - make sure this is an expression.\n" + (0, _codeFrame.codeFrameColumns)(replacement, { + start: { + line: loc.line, + column: loc.column + 1 + } + }); + err.code = "BABEL_REPLACE_SOURCE_ERROR"; + } + + throw err; + } + + replacement = replacement.program.body[0].expression; + + _index.default.removeProperties(replacement); + + return this.replaceWith(replacement); +} + +function replaceWith(replacement) { + this.resync(); + + if (this.removed) { + throw new Error("You can't replace this node, we've already removed it"); + } + + if (replacement instanceof _index2.default) { + replacement = replacement.node; + } + + if (!replacement) { + throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead"); + } + + if (this.node === replacement) { + return [this]; + } + + if (this.isProgram() && !t.isProgram(replacement)) { + throw new Error("You can only replace a Program root node with another Program node"); + } + + if (Array.isArray(replacement)) { + throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`"); + } + + if (typeof replacement === "string") { + throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`"); + } + + let nodePath = ""; + + if (this.isNodeType("Statement") && t.isExpression(replacement)) { + if (!this.canHaveVariableDeclarationOrExpression() && !this.canSwapBetweenExpressionAndStatement(replacement) && !this.parentPath.isExportDefaultDeclaration()) { + replacement = t.expressionStatement(replacement); + nodePath = "expression"; + } + } + + if (this.isNodeType("Expression") && t.isStatement(replacement)) { + if (!this.canHaveVariableDeclarationOrExpression() && !this.canSwapBetweenExpressionAndStatement(replacement)) { + return this.replaceExpressionWithStatements([replacement]); + } + } + + const oldNode = this.node; + + if (oldNode) { + t.inheritsComments(replacement, oldNode); + t.removeComments(oldNode); + } + + this._replaceWith(replacement); + + this.type = replacement.type; + this.setScope(); + this.requeue(); + return [nodePath ? this.get(nodePath) : this]; +} + +function _replaceWith(node) { + if (!this.container) { + throw new ReferenceError("Container is falsy"); + } + + if (this.inList) { + t.validate(this.parent, this.key, [node]); + } else { + t.validate(this.parent, this.key, node); + } + + this.debug(`Replace with ${node == null ? void 0 : node.type}`); + this.node = this.container[this.key] = node; +} + +function replaceExpressionWithStatements(nodes) { + this.resync(); + const toSequenceExpression = t.toSequenceExpression(nodes, this.scope); + + if (toSequenceExpression) { + return this.replaceWith(toSequenceExpression)[0].get("expressions"); + } + + const functionParent = this.getFunctionParent(); + const isParentAsync = functionParent == null ? void 0 : functionParent.is("async"); + const container = t.arrowFunctionExpression([], t.blockStatement(nodes)); + this.replaceWith(t.callExpression(container, [])); + this.traverse(hoistVariablesVisitor); + const completionRecords = this.get("callee").getCompletionRecords(); + + for (const path of completionRecords) { + if (!path.isExpressionStatement()) continue; + const loop = path.findParent(path => path.isLoop()); + + if (loop) { + let uid = loop.getData("expressionReplacementReturnUid"); + + if (!uid) { + const callee = this.get("callee"); + uid = callee.scope.generateDeclaredUidIdentifier("ret"); + callee.get("body").pushContainer("body", t.returnStatement(t.cloneNode(uid))); + loop.setData("expressionReplacementReturnUid", uid); + } else { + uid = t.identifier(uid.name); + } + + path.get("expression").replaceWith(t.assignmentExpression("=", t.cloneNode(uid), path.node.expression)); + } else { + path.replaceWith(t.returnStatement(path.node.expression)); + } + } + + const callee = this.get("callee"); + callee.arrowFunctionToExpression(); + + if (isParentAsync && _index.default.hasType(this.get("callee.body").node, "AwaitExpression", t.FUNCTION_TYPES)) { + callee.set("async", true); + this.replaceWith(t.awaitExpression(this.node)); + } + + return callee.get("body.body"); +} + +function replaceInline(nodes) { + this.resync(); + + if (Array.isArray(nodes)) { + if (Array.isArray(this.container)) { + nodes = this._verifyNodeList(nodes); + + const paths = this._containerInsertAfter(nodes); + + this.remove(); + return paths; + } else { + return this.replaceWithMultiple(nodes); + } + } else { + return this.replaceWith(nodes); + } +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/scope/binding.js b/node_modules/@babel/traverse/lib/scope/binding.js new file mode 100644 index 000000000..d19f1168d --- /dev/null +++ b/node_modules/@babel/traverse/lib/scope/binding.js @@ -0,0 +1,71 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +class Binding { + constructor({ + identifier, + scope, + path, + kind + }) { + this.identifier = identifier; + this.scope = scope; + this.path = path; + this.kind = kind; + this.constantViolations = []; + this.constant = true; + this.referencePaths = []; + this.referenced = false; + this.references = 0; + this.clearValue(); + } + + deoptValue() { + this.clearValue(); + this.hasDeoptedValue = true; + } + + setValue(value) { + if (this.hasDeoptedValue) return; + this.hasValue = true; + this.value = value; + } + + clearValue() { + this.hasDeoptedValue = false; + this.hasValue = false; + this.value = null; + } + + reassign(path) { + this.constant = false; + + if (this.constantViolations.indexOf(path) !== -1) { + return; + } + + this.constantViolations.push(path); + } + + reference(path) { + if (this.referencePaths.indexOf(path) !== -1) { + return; + } + + this.referenced = true; + this.references++; + this.referencePaths.push(path); + } + + dereference() { + this.references--; + this.referenced = !!this.references; + } + +} + +exports.default = Binding; \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/scope/index.js b/node_modules/@babel/traverse/lib/scope/index.js new file mode 100644 index 000000000..2cdcd52b4 --- /dev/null +++ b/node_modules/@babel/traverse/lib/scope/index.js @@ -0,0 +1,954 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _renamer = _interopRequireDefault(require("./lib/renamer")); + +var _index = _interopRequireDefault(require("../index")); + +var _defaults = _interopRequireDefault(require("lodash/defaults")); + +var _binding = _interopRequireDefault(require("./binding")); + +var _globals = _interopRequireDefault(require("globals")); + +var t = _interopRequireWildcard(require("@babel/types")); + +var _cache = require("../cache"); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function gatherNodeParts(node, parts) { + switch (node == null ? void 0 : node.type) { + default: + if (t.isModuleDeclaration(node)) { + if (node.source) { + gatherNodeParts(node.source, parts); + } else if (node.specifiers && node.specifiers.length) { + for (const e of node.specifiers) gatherNodeParts(e, parts); + } else if (node.declaration) { + gatherNodeParts(node.declaration, parts); + } + } else if (t.isModuleSpecifier(node)) { + gatherNodeParts(node.local, parts); + } else if (t.isLiteral(node)) { + parts.push(node.value); + } + + break; + + case "MemberExpression": + case "OptionalMemberExpression": + case "JSXMemberExpression": + gatherNodeParts(node.object, parts); + gatherNodeParts(node.property, parts); + break; + + case "Identifier": + case "JSXIdentifier": + parts.push(node.name); + break; + + case "CallExpression": + case "OptionalCallExpression": + case "NewExpression": + gatherNodeParts(node.callee, parts); + break; + + case "ObjectExpression": + case "ObjectPattern": + for (const e of node.properties) { + gatherNodeParts(e, parts); + } + + break; + + case "SpreadElement": + case "RestElement": + gatherNodeParts(node.argument, parts); + break; + + case "ObjectProperty": + case "ObjectMethod": + case "ClassProperty": + case "ClassMethod": + case "ClassPrivateProperty": + case "ClassPrivateMethod": + gatherNodeParts(node.key, parts); + break; + + case "ThisExpression": + parts.push("this"); + break; + + case "Super": + parts.push("super"); + break; + + case "Import": + parts.push("import"); + break; + + case "DoExpression": + parts.push("do"); + break; + + case "YieldExpression": + parts.push("yield"); + gatherNodeParts(node.argument, parts); + break; + + case "AwaitExpression": + parts.push("await"); + gatherNodeParts(node.argument, parts); + break; + + case "AssignmentExpression": + gatherNodeParts(node.left, parts); + break; + + case "VariableDeclarator": + gatherNodeParts(node.id, parts); + break; + + case "FunctionExpression": + case "FunctionDeclaration": + case "ClassExpression": + case "ClassDeclaration": + gatherNodeParts(node.id, parts); + break; + + case "PrivateName": + gatherNodeParts(node.id, parts); + break; + + case "ParenthesizedExpression": + gatherNodeParts(node.expression, parts); + break; + + case "UnaryExpression": + case "UpdateExpression": + gatherNodeParts(node.argument, parts); + break; + + case "MetaProperty": + gatherNodeParts(node.meta, parts); + gatherNodeParts(node.property, parts); + break; + + case "JSXElement": + gatherNodeParts(node.openingElement, parts); + break; + + case "JSXOpeningElement": + parts.push(node.name); + break; + + case "JSXFragment": + gatherNodeParts(node.openingFragment, parts); + break; + + case "JSXOpeningFragment": + parts.push("Fragment"); + break; + + case "JSXNamespacedName": + gatherNodeParts(node.namespace, parts); + gatherNodeParts(node.name, parts); + break; + } +} + +const collectorVisitor = { + For(path) { + for (const key of t.FOR_INIT_KEYS) { + const declar = path.get(key); + + if (declar.isVar()) { + const parentScope = path.scope.getFunctionParent() || path.scope.getProgramParent(); + parentScope.registerBinding("var", declar); + } + } + }, + + Declaration(path) { + if (path.isBlockScoped()) return; + + if (path.isExportDeclaration() && path.get("declaration").isDeclaration()) { + return; + } + + const parent = path.scope.getFunctionParent() || path.scope.getProgramParent(); + parent.registerDeclaration(path); + }, + + ReferencedIdentifier(path, state) { + state.references.push(path); + }, + + ForXStatement(path, state) { + const left = path.get("left"); + + if (left.isPattern() || left.isIdentifier()) { + state.constantViolations.push(path); + } + }, + + ExportDeclaration: { + exit(path) { + const { + node, + scope + } = path; + const declar = node.declaration; + + if (t.isClassDeclaration(declar) || t.isFunctionDeclaration(declar)) { + const id = declar.id; + if (!id) return; + const binding = scope.getBinding(id.name); + if (binding) binding.reference(path); + } else if (t.isVariableDeclaration(declar)) { + for (const decl of declar.declarations) { + for (const name of Object.keys(t.getBindingIdentifiers(decl))) { + const binding = scope.getBinding(name); + if (binding) binding.reference(path); + } + } + } + } + + }, + + LabeledStatement(path) { + path.scope.getProgramParent().addGlobal(path.node); + path.scope.getBlockParent().registerDeclaration(path); + }, + + AssignmentExpression(path, state) { + state.assignments.push(path); + }, + + UpdateExpression(path, state) { + state.constantViolations.push(path); + }, + + UnaryExpression(path, state) { + if (path.node.operator === "delete") { + state.constantViolations.push(path); + } + }, + + BlockScoped(path) { + let scope = path.scope; + if (scope.path === path) scope = scope.parent; + const parent = scope.getBlockParent(); + parent.registerDeclaration(path); + + if (path.isClassDeclaration() && path.node.id) { + const id = path.node.id; + const name = id.name; + path.scope.bindings[name] = path.scope.parent.getBinding(name); + } + }, + + Block(path) { + const paths = path.get("body"); + + for (const bodyPath of paths) { + if (bodyPath.isFunctionDeclaration()) { + path.scope.getBlockParent().registerDeclaration(bodyPath); + } + } + }, + + CatchClause(path) { + path.scope.registerBinding("let", path); + }, + + Function(path) { + if (path.isFunctionExpression() && path.has("id") && !path.get("id").node[t.NOT_LOCAL_BINDING]) { + path.scope.registerBinding("local", path.get("id"), path); + } + + const params = path.get("params"); + + for (const param of params) { + path.scope.registerBinding("param", param); + } + }, + + ClassExpression(path) { + if (path.has("id") && !path.get("id").node[t.NOT_LOCAL_BINDING]) { + path.scope.registerBinding("local", path); + } + } + +}; +let uid = 0; + +class Scope { + constructor(path) { + const { + node + } = path; + + const cached = _cache.scope.get(node); + + if ((cached == null ? void 0 : cached.path) === path) { + return cached; + } + + _cache.scope.set(node, this); + + this.uid = uid++; + this.block = node; + this.path = path; + this.labels = new Map(); + this.inited = false; + } + + get parent() { + const parent = this.path.findParent(p => p.isScope()); + return parent == null ? void 0 : parent.scope; + } + + get parentBlock() { + return this.path.parent; + } + + get hub() { + return this.path.hub; + } + + traverse(node, opts, state) { + (0, _index.default)(node, opts, this, state, this.path); + } + + generateDeclaredUidIdentifier(name) { + const id = this.generateUidIdentifier(name); + this.push({ + id + }); + return t.cloneNode(id); + } + + generateUidIdentifier(name) { + return t.identifier(this.generateUid(name)); + } + + generateUid(name = "temp") { + name = t.toIdentifier(name).replace(/^_+/, "").replace(/[0-9]+$/g, ""); + let uid; + let i = 0; + + do { + uid = this._generateUid(name, i); + i++; + } while (this.hasLabel(uid) || this.hasBinding(uid) || this.hasGlobal(uid) || this.hasReference(uid)); + + const program = this.getProgramParent(); + program.references[uid] = true; + program.uids[uid] = true; + return uid; + } + + _generateUid(name, i) { + let id = name; + if (i > 1) id += i; + return `_${id}`; + } + + generateUidBasedOnNode(node, defaultName) { + const parts = []; + gatherNodeParts(node, parts); + let id = parts.join("$"); + id = id.replace(/^_/, "") || defaultName || "ref"; + return this.generateUid(id.slice(0, 20)); + } + + generateUidIdentifierBasedOnNode(node, defaultName) { + return t.identifier(this.generateUidBasedOnNode(node, defaultName)); + } + + isStatic(node) { + if (t.isThisExpression(node) || t.isSuper(node)) { + return true; + } + + if (t.isIdentifier(node)) { + const binding = this.getBinding(node.name); + + if (binding) { + return binding.constant; + } else { + return this.hasBinding(node.name); + } + } + + return false; + } + + maybeGenerateMemoised(node, dontPush) { + if (this.isStatic(node)) { + return null; + } else { + const id = this.generateUidIdentifierBasedOnNode(node); + + if (!dontPush) { + this.push({ + id + }); + return t.cloneNode(id); + } + + return id; + } + } + + checkBlockScopedCollisions(local, kind, name, id) { + if (kind === "param") return; + if (local.kind === "local") return; + const duplicate = kind === "let" || local.kind === "let" || local.kind === "const" || local.kind === "module" || local.kind === "param" && (kind === "let" || kind === "const"); + + if (duplicate) { + throw this.hub.buildError(id, `Duplicate declaration "${name}"`, TypeError); + } + } + + rename(oldName, newName, block) { + const binding = this.getBinding(oldName); + + if (binding) { + newName = newName || this.generateUidIdentifier(oldName).name; + return new _renamer.default(binding, oldName, newName).rename(block); + } + } + + _renameFromMap(map, oldName, newName, value) { + if (map[oldName]) { + map[newName] = value; + map[oldName] = null; + } + } + + dump() { + const sep = "-".repeat(60); + console.log(sep); + let scope = this; + + do { + console.log("#", scope.block.type); + + for (const name of Object.keys(scope.bindings)) { + const binding = scope.bindings[name]; + console.log(" -", name, { + constant: binding.constant, + references: binding.references, + violations: binding.constantViolations.length, + kind: binding.kind + }); + } + } while (scope = scope.parent); + + console.log(sep); + } + + toArray(node, i, allowArrayLike) { + if (t.isIdentifier(node)) { + const binding = this.getBinding(node.name); + + if ((binding == null ? void 0 : binding.constant) && binding.path.isGenericType("Array")) { + return node; + } + } + + if (t.isArrayExpression(node)) { + return node; + } + + if (t.isIdentifier(node, { + name: "arguments" + })) { + return t.callExpression(t.memberExpression(t.memberExpression(t.memberExpression(t.identifier("Array"), t.identifier("prototype")), t.identifier("slice")), t.identifier("call")), [node]); + } + + let helperName; + const args = [node]; + + if (i === true) { + helperName = "toConsumableArray"; + } else if (i) { + args.push(t.numericLiteral(i)); + helperName = "slicedToArray"; + } else { + helperName = "toArray"; + } + + if (allowArrayLike) { + args.unshift(this.hub.addHelper(helperName)); + helperName = "maybeArrayLike"; + } + + return t.callExpression(this.hub.addHelper(helperName), args); + } + + hasLabel(name) { + return !!this.getLabel(name); + } + + getLabel(name) { + return this.labels.get(name); + } + + registerLabel(path) { + this.labels.set(path.node.label.name, path); + } + + registerDeclaration(path) { + if (path.isLabeledStatement()) { + this.registerLabel(path); + } else if (path.isFunctionDeclaration()) { + this.registerBinding("hoisted", path.get("id"), path); + } else if (path.isVariableDeclaration()) { + const declarations = path.get("declarations"); + + for (const declar of declarations) { + this.registerBinding(path.node.kind, declar); + } + } else if (path.isClassDeclaration()) { + this.registerBinding("let", path); + } else if (path.isImportDeclaration()) { + const specifiers = path.get("specifiers"); + + for (const specifier of specifiers) { + this.registerBinding("module", specifier); + } + } else if (path.isExportDeclaration()) { + const declar = path.get("declaration"); + + if (declar.isClassDeclaration() || declar.isFunctionDeclaration() || declar.isVariableDeclaration()) { + this.registerDeclaration(declar); + } + } else { + this.registerBinding("unknown", path); + } + } + + buildUndefinedNode() { + return t.unaryExpression("void", t.numericLiteral(0), true); + } + + registerConstantViolation(path) { + const ids = path.getBindingIdentifiers(); + + for (const name of Object.keys(ids)) { + const binding = this.getBinding(name); + if (binding) binding.reassign(path); + } + } + + registerBinding(kind, path, bindingPath = path) { + if (!kind) throw new ReferenceError("no `kind`"); + + if (path.isVariableDeclaration()) { + const declarators = path.get("declarations"); + + for (const declar of declarators) { + this.registerBinding(kind, declar); + } + + return; + } + + const parent = this.getProgramParent(); + const ids = path.getOuterBindingIdentifiers(true); + + for (const name of Object.keys(ids)) { + parent.references[name] = true; + + for (const id of ids[name]) { + const local = this.getOwnBinding(name); + + if (local) { + if (local.identifier === id) continue; + this.checkBlockScopedCollisions(local, kind, name, id); + } + + if (local) { + this.registerConstantViolation(bindingPath); + } else { + this.bindings[name] = new _binding.default({ + identifier: id, + scope: this, + path: bindingPath, + kind: kind + }); + } + } + } + } + + addGlobal(node) { + this.globals[node.name] = node; + } + + hasUid(name) { + let scope = this; + + do { + if (scope.uids[name]) return true; + } while (scope = scope.parent); + + return false; + } + + hasGlobal(name) { + let scope = this; + + do { + if (scope.globals[name]) return true; + } while (scope = scope.parent); + + return false; + } + + hasReference(name) { + return !!this.getProgramParent().references[name]; + } + + isPure(node, constantsOnly) { + if (t.isIdentifier(node)) { + const binding = this.getBinding(node.name); + if (!binding) return false; + if (constantsOnly) return binding.constant; + return true; + } else if (t.isClass(node)) { + if (node.superClass && !this.isPure(node.superClass, constantsOnly)) { + return false; + } + + return this.isPure(node.body, constantsOnly); + } else if (t.isClassBody(node)) { + for (const method of node.body) { + if (!this.isPure(method, constantsOnly)) return false; + } + + return true; + } else if (t.isBinary(node)) { + return this.isPure(node.left, constantsOnly) && this.isPure(node.right, constantsOnly); + } else if (t.isArrayExpression(node)) { + for (const elem of node.elements) { + if (!this.isPure(elem, constantsOnly)) return false; + } + + return true; + } else if (t.isObjectExpression(node)) { + for (const prop of node.properties) { + if (!this.isPure(prop, constantsOnly)) return false; + } + + return true; + } else if (t.isMethod(node)) { + if (node.computed && !this.isPure(node.key, constantsOnly)) return false; + if (node.kind === "get" || node.kind === "set") return false; + return true; + } else if (t.isProperty(node)) { + if (node.computed && !this.isPure(node.key, constantsOnly)) return false; + return this.isPure(node.value, constantsOnly); + } else if (t.isUnaryExpression(node)) { + return this.isPure(node.argument, constantsOnly); + } else if (t.isTaggedTemplateExpression(node)) { + return t.matchesPattern(node.tag, "String.raw") && !this.hasBinding("String", true) && this.isPure(node.quasi, constantsOnly); + } else if (t.isTemplateLiteral(node)) { + for (const expression of node.expressions) { + if (!this.isPure(expression, constantsOnly)) return false; + } + + return true; + } else { + return t.isPureish(node); + } + } + + setData(key, val) { + return this.data[key] = val; + } + + getData(key) { + let scope = this; + + do { + const data = scope.data[key]; + if (data != null) return data; + } while (scope = scope.parent); + } + + removeData(key) { + let scope = this; + + do { + const data = scope.data[key]; + if (data != null) scope.data[key] = null; + } while (scope = scope.parent); + } + + init() { + if (!this.inited) { + this.inited = true; + this.crawl(); + } + } + + crawl() { + const path = this.path; + this.references = Object.create(null); + this.bindings = Object.create(null); + this.globals = Object.create(null); + this.uids = Object.create(null); + this.data = Object.create(null); + + if (path.isFunction()) { + if (path.isFunctionExpression() && path.has("id") && !path.get("id").node[t.NOT_LOCAL_BINDING]) { + this.registerBinding("local", path.get("id"), path); + } + + const params = path.get("params"); + + for (const param of params) { + this.registerBinding("param", param); + } + } + + const programParent = this.getProgramParent(); + if (programParent.crawling) return; + const state = { + references: [], + constantViolations: [], + assignments: [] + }; + this.crawling = true; + path.traverse(collectorVisitor, state); + this.crawling = false; + + for (const path of state.assignments) { + const ids = path.getBindingIdentifiers(); + + for (const name of Object.keys(ids)) { + if (path.scope.getBinding(name)) continue; + programParent.addGlobal(ids[name]); + } + + path.scope.registerConstantViolation(path); + } + + for (const ref of state.references) { + const binding = ref.scope.getBinding(ref.node.name); + + if (binding) { + binding.reference(ref); + } else { + programParent.addGlobal(ref.node); + } + } + + for (const path of state.constantViolations) { + path.scope.registerConstantViolation(path); + } + } + + push(opts) { + let path = this.path; + + if (!path.isBlockStatement() && !path.isProgram()) { + path = this.getBlockParent().path; + } + + if (path.isSwitchStatement()) { + path = (this.getFunctionParent() || this.getProgramParent()).path; + } + + if (path.isLoop() || path.isCatchClause() || path.isFunction()) { + path.ensureBlock(); + path = path.get("body"); + } + + const unique = opts.unique; + const kind = opts.kind || "var"; + const blockHoist = opts._blockHoist == null ? 2 : opts._blockHoist; + const dataKey = `declaration:${kind}:${blockHoist}`; + let declarPath = !unique && path.getData(dataKey); + + if (!declarPath) { + const declar = t.variableDeclaration(kind, []); + declar._blockHoist = blockHoist; + [declarPath] = path.unshiftContainer("body", [declar]); + if (!unique) path.setData(dataKey, declarPath); + } + + const declarator = t.variableDeclarator(opts.id, opts.init); + declarPath.node.declarations.push(declarator); + this.registerBinding(kind, declarPath.get("declarations").pop()); + } + + getProgramParent() { + let scope = this; + + do { + if (scope.path.isProgram()) { + return scope; + } + } while (scope = scope.parent); + + throw new Error("Couldn't find a Program"); + } + + getFunctionParent() { + let scope = this; + + do { + if (scope.path.isFunctionParent()) { + return scope; + } + } while (scope = scope.parent); + + return null; + } + + getBlockParent() { + let scope = this; + + do { + if (scope.path.isBlockParent()) { + return scope; + } + } while (scope = scope.parent); + + throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program..."); + } + + getAllBindings() { + const ids = Object.create(null); + let scope = this; + + do { + (0, _defaults.default)(ids, scope.bindings); + scope = scope.parent; + } while (scope); + + return ids; + } + + getAllBindingsOfKind() { + const ids = Object.create(null); + + for (const kind of arguments) { + let scope = this; + + do { + for (const name of Object.keys(scope.bindings)) { + const binding = scope.bindings[name]; + if (binding.kind === kind) ids[name] = binding; + } + + scope = scope.parent; + } while (scope); + } + + return ids; + } + + bindingIdentifierEquals(name, node) { + return this.getBindingIdentifier(name) === node; + } + + getBinding(name) { + let scope = this; + let previousPath; + + do { + const binding = scope.getOwnBinding(name); + + if (binding) { + if (previousPath && previousPath.isPattern() && previousPath.parentPath.isFunction() && binding.kind !== "param") {} else { + return binding; + } + } + + previousPath = scope.path; + } while (scope = scope.parent); + } + + getOwnBinding(name) { + return this.bindings[name]; + } + + getBindingIdentifier(name) { + var _this$getBinding; + + return (_this$getBinding = this.getBinding(name)) == null ? void 0 : _this$getBinding.identifier; + } + + getOwnBindingIdentifier(name) { + const binding = this.bindings[name]; + return binding == null ? void 0 : binding.identifier; + } + + hasOwnBinding(name) { + return !!this.getOwnBinding(name); + } + + hasBinding(name, noGlobals) { + if (!name) return false; + if (this.hasOwnBinding(name)) return true; + if (this.parentHasBinding(name, noGlobals)) return true; + if (this.hasUid(name)) return true; + if (!noGlobals && Scope.globals.includes(name)) return true; + if (!noGlobals && Scope.contextVariables.includes(name)) return true; + return false; + } + + parentHasBinding(name, noGlobals) { + var _this$parent; + + return (_this$parent = this.parent) == null ? void 0 : _this$parent.hasBinding(name, noGlobals); + } + + moveBindingTo(name, scope) { + const info = this.getBinding(name); + + if (info) { + info.scope.removeOwnBinding(name); + info.scope = scope; + scope.bindings[name] = info; + } + } + + removeOwnBinding(name) { + delete this.bindings[name]; + } + + removeBinding(name) { + var _this$getBinding2; + + (_this$getBinding2 = this.getBinding(name)) == null ? void 0 : _this$getBinding2.scope.removeOwnBinding(name); + let scope = this; + + do { + if (scope.uids[name]) { + scope.uids[name] = false; + } + } while (scope = scope.parent); + } + +} + +exports.default = Scope; +Scope.globals = Object.keys(_globals.default.builtin); +Scope.contextVariables = ["arguments", "undefined", "Infinity", "NaN"]; \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/scope/lib/renamer.js b/node_modules/@babel/traverse/lib/scope/lib/renamer.js new file mode 100644 index 000000000..6d1bb1847 --- /dev/null +++ b/node_modules/@babel/traverse/lib/scope/lib/renamer.js @@ -0,0 +1,125 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _binding = _interopRequireDefault(require("../binding")); + +var _helperSplitExportDeclaration = _interopRequireDefault(require("@babel/helper-split-export-declaration")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const renameVisitor = { + ReferencedIdentifier({ + node + }, state) { + if (node.name === state.oldName) { + node.name = state.newName; + } + }, + + Scope(path, state) { + if (!path.scope.bindingIdentifierEquals(state.oldName, state.binding.identifier)) { + path.skip(); + } + }, + + "AssignmentExpression|Declaration|VariableDeclarator"(path, state) { + if (path.isVariableDeclaration()) return; + const ids = path.getOuterBindingIdentifiers(); + + for (const name in ids) { + if (name === state.oldName) ids[name].name = state.newName; + } + } + +}; + +class Renamer { + constructor(binding, oldName, newName) { + this.newName = newName; + this.oldName = oldName; + this.binding = binding; + } + + maybeConvertFromExportDeclaration(parentDeclar) { + const maybeExportDeclar = parentDeclar.parentPath; + + if (!maybeExportDeclar.isExportDeclaration()) { + return; + } + + if (maybeExportDeclar.isExportDefaultDeclaration() && !maybeExportDeclar.get("declaration").node.id) { + return; + } + + (0, _helperSplitExportDeclaration.default)(maybeExportDeclar); + } + + maybeConvertFromClassFunctionDeclaration(path) { + return; + if (!path.isFunctionDeclaration() && !path.isClassDeclaration()) return; + if (this.binding.kind !== "hoisted") return; + path.node.id = t.identifier(this.oldName); + path.node._blockHoist = 3; + path.replaceWith(t.variableDeclaration("let", [t.variableDeclarator(t.identifier(this.newName), t.toExpression(path.node))])); + } + + maybeConvertFromClassFunctionExpression(path) { + return; + if (!path.isFunctionExpression() && !path.isClassExpression()) return; + if (this.binding.kind !== "local") return; + path.node.id = t.identifier(this.oldName); + this.binding.scope.parent.push({ + id: t.identifier(this.newName) + }); + path.replaceWith(t.assignmentExpression("=", t.identifier(this.newName), path.node)); + } + + rename(block) { + const { + binding, + oldName, + newName + } = this; + const { + scope, + path + } = binding; + const parentDeclar = path.find(path => path.isDeclaration() || path.isFunctionExpression() || path.isClassExpression()); + + if (parentDeclar) { + const bindingIds = parentDeclar.getOuterBindingIdentifiers(); + + if (bindingIds[oldName] === binding.identifier) { + this.maybeConvertFromExportDeclaration(parentDeclar); + } + } + + scope.traverse(block || scope.block, renameVisitor, this); + + if (!block) { + scope.removeOwnBinding(oldName); + scope.bindings[newName] = binding; + this.binding.identifier.name = newName; + } + + if (binding.type === "hoisted") {} + + if (parentDeclar) { + this.maybeConvertFromClassFunctionDeclaration(parentDeclar); + this.maybeConvertFromClassFunctionExpression(parentDeclar); + } + } + +} + +exports.default = Renamer; \ No newline at end of file diff --git a/node_modules/@babel/traverse/lib/visitors.js b/node_modules/@babel/traverse/lib/visitors.js new file mode 100644 index 000000000..2a9ea6971 --- /dev/null +++ b/node_modules/@babel/traverse/lib/visitors.js @@ -0,0 +1,240 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.explode = explode; +exports.verify = verify; +exports.merge = merge; + +var virtualTypes = _interopRequireWildcard(require("./path/lib/virtual-types")); + +var t = _interopRequireWildcard(require("@babel/types")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function explode(visitor) { + if (visitor._exploded) return visitor; + visitor._exploded = true; + + for (const nodeType of Object.keys(visitor)) { + if (shouldIgnoreKey(nodeType)) continue; + const parts = nodeType.split("|"); + if (parts.length === 1) continue; + const fns = visitor[nodeType]; + delete visitor[nodeType]; + + for (const part of parts) { + visitor[part] = fns; + } + } + + verify(visitor); + delete visitor.__esModule; + ensureEntranceObjects(visitor); + ensureCallbackArrays(visitor); + + for (const nodeType of Object.keys(visitor)) { + if (shouldIgnoreKey(nodeType)) continue; + const wrapper = virtualTypes[nodeType]; + if (!wrapper) continue; + const fns = visitor[nodeType]; + + for (const type of Object.keys(fns)) { + fns[type] = wrapCheck(wrapper, fns[type]); + } + + delete visitor[nodeType]; + + if (wrapper.types) { + for (const type of wrapper.types) { + if (visitor[type]) { + mergePair(visitor[type], fns); + } else { + visitor[type] = fns; + } + } + } else { + mergePair(visitor, fns); + } + } + + for (const nodeType of Object.keys(visitor)) { + if (shouldIgnoreKey(nodeType)) continue; + const fns = visitor[nodeType]; + let aliases = t.FLIPPED_ALIAS_KEYS[nodeType]; + const deprecratedKey = t.DEPRECATED_KEYS[nodeType]; + + if (deprecratedKey) { + console.trace(`Visitor defined for ${nodeType} but it has been renamed to ${deprecratedKey}`); + aliases = [deprecratedKey]; + } + + if (!aliases) continue; + delete visitor[nodeType]; + + for (const alias of aliases) { + const existing = visitor[alias]; + + if (existing) { + mergePair(existing, fns); + } else { + visitor[alias] = Object.assign({}, fns); + } + } + } + + for (const nodeType of Object.keys(visitor)) { + if (shouldIgnoreKey(nodeType)) continue; + ensureCallbackArrays(visitor[nodeType]); + } + + return visitor; +} + +function verify(visitor) { + if (visitor._verified) return; + + if (typeof visitor === "function") { + throw new Error("You passed `traverse()` a function when it expected a visitor object, " + "are you sure you didn't mean `{ enter: Function }`?"); + } + + for (const nodeType of Object.keys(visitor)) { + if (nodeType === "enter" || nodeType === "exit") { + validateVisitorMethods(nodeType, visitor[nodeType]); + } + + if (shouldIgnoreKey(nodeType)) continue; + + if (t.TYPES.indexOf(nodeType) < 0) { + throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type`); + } + + const visitors = visitor[nodeType]; + + if (typeof visitors === "object") { + for (const visitorKey of Object.keys(visitors)) { + if (visitorKey === "enter" || visitorKey === "exit") { + validateVisitorMethods(`${nodeType}.${visitorKey}`, visitors[visitorKey]); + } else { + throw new Error("You passed `traverse()` a visitor object with the property " + `${nodeType} that has the invalid property ${visitorKey}`); + } + } + } + } + + visitor._verified = true; +} + +function validateVisitorMethods(path, val) { + const fns = [].concat(val); + + for (const fn of fns) { + if (typeof fn !== "function") { + throw new TypeError(`Non-function found defined in ${path} with type ${typeof fn}`); + } + } +} + +function merge(visitors, states = [], wrapper) { + const rootVisitor = {}; + + for (let i = 0; i < visitors.length; i++) { + const visitor = visitors[i]; + const state = states[i]; + explode(visitor); + + for (const type of Object.keys(visitor)) { + let visitorType = visitor[type]; + + if (state || wrapper) { + visitorType = wrapWithStateOrWrapper(visitorType, state, wrapper); + } + + const nodeVisitor = rootVisitor[type] = rootVisitor[type] || {}; + mergePair(nodeVisitor, visitorType); + } + } + + return rootVisitor; +} + +function wrapWithStateOrWrapper(oldVisitor, state, wrapper) { + const newVisitor = {}; + + for (const key of Object.keys(oldVisitor)) { + let fns = oldVisitor[key]; + if (!Array.isArray(fns)) continue; + fns = fns.map(function (fn) { + let newFn = fn; + + if (state) { + newFn = function (path) { + return fn.call(state, path, state); + }; + } + + if (wrapper) { + newFn = wrapper(state.key, key, newFn); + } + + if (newFn !== fn) { + newFn.toString = () => fn.toString(); + } + + return newFn; + }); + newVisitor[key] = fns; + } + + return newVisitor; +} + +function ensureEntranceObjects(obj) { + for (const key of Object.keys(obj)) { + if (shouldIgnoreKey(key)) continue; + const fns = obj[key]; + + if (typeof fns === "function") { + obj[key] = { + enter: fns + }; + } + } +} + +function ensureCallbackArrays(obj) { + if (obj.enter && !Array.isArray(obj.enter)) obj.enter = [obj.enter]; + if (obj.exit && !Array.isArray(obj.exit)) obj.exit = [obj.exit]; +} + +function wrapCheck(wrapper, fn) { + const newFn = function (path) { + if (wrapper.checkPath(path)) { + return fn.apply(this, arguments); + } + }; + + newFn.toString = () => fn.toString(); + + return newFn; +} + +function shouldIgnoreKey(key) { + if (key[0] === "_") return true; + if (key === "enter" || key === "exit" || key === "shouldSkip") return true; + + if (key === "denylist" || key === "noScope" || key === "skipKeys" || key === "blacklist") { + return true; + } + + return false; +} + +function mergePair(dest, src) { + for (const key of Object.keys(src)) { + dest[key] = [].concat(dest[key] || [], src[key]); + } +} \ No newline at end of file diff --git a/node_modules/@babel/traverse/node_modules/debug/CHANGELOG.md b/node_modules/@babel/traverse/node_modules/debug/CHANGELOG.md new file mode 100644 index 000000000..820d21e33 --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/debug/CHANGELOG.md @@ -0,0 +1,395 @@ + +3.1.0 / 2017-09-26 +================== + + * Add `DEBUG_HIDE_DATE` env var (#486) + * Remove ReDoS regexp in %o formatter (#504) + * Remove "component" from package.json + * Remove `component.json` + * Ignore package-lock.json + * Examples: fix colors printout + * Fix: browser detection + * Fix: spelling mistake (#496, @EdwardBetts) + +3.0.1 / 2017-08-24 +================== + + * Fix: Disable colors in Edge and Internet Explorer (#489) + +3.0.0 / 2017-08-08 +================== + + * Breaking: Remove DEBUG_FD (#406) + * Breaking: Use `Date#toISOString()` instead to `Date#toUTCString()` when output is not a TTY (#418) + * Breaking: Make millisecond timer namespace specific and allow 'always enabled' output (#408) + * Addition: document `enabled` flag (#465) + * Addition: add 256 colors mode (#481) + * Addition: `enabled()` updates existing debug instances, add `destroy()` function (#440) + * Update: component: update "ms" to v2.0.0 + * Update: separate the Node and Browser tests in Travis-CI + * Update: refactor Readme, fixed documentation, added "Namespace Colors" section, redid screenshots + * Update: separate Node.js and web browser examples for organization + * Update: update "browserify" to v14.4.0 + * Fix: fix Readme typo (#473) + +2.6.9 / 2017-09-22 +================== + + * remove ReDoS regexp in %o formatter (#504) + +2.6.8 / 2017-05-18 +================== + + * Fix: Check for undefined on browser globals (#462, @marbemac) + +2.6.7 / 2017-05-16 +================== + + * Fix: Update ms to 2.0.0 to fix regular expression denial of service vulnerability (#458, @hubdotcom) + * Fix: Inline extend function in node implementation (#452, @dougwilson) + * Docs: Fix typo (#455, @msasad) + +2.6.5 / 2017-04-27 +================== + + * Fix: null reference check on window.documentElement.style.WebkitAppearance (#447, @thebigredgeek) + * Misc: clean up browser reference checks (#447, @thebigredgeek) + * Misc: add npm-debug.log to .gitignore (@thebigredgeek) + + +2.6.4 / 2017-04-20 +================== + + * Fix: bug that would occur if process.env.DEBUG is a non-string value. (#444, @LucianBuzzo) + * Chore: ignore bower.json in npm installations. (#437, @joaovieira) + * Misc: update "ms" to v0.7.3 (@tootallnate) + +2.6.3 / 2017-03-13 +================== + + * Fix: Electron reference to `process.env.DEBUG` (#431, @paulcbetts) + * Docs: Changelog fix (@thebigredgeek) + +2.6.2 / 2017-03-10 +================== + + * Fix: DEBUG_MAX_ARRAY_LENGTH (#420, @slavaGanzin) + * Docs: Add backers and sponsors from Open Collective (#422, @piamancini) + * Docs: Add Slackin invite badge (@tootallnate) + +2.6.1 / 2017-02-10 +================== + + * Fix: Module's `export default` syntax fix for IE8 `Expected identifier` error + * Fix: Whitelist DEBUG_FD for values 1 and 2 only (#415, @pi0) + * Fix: IE8 "Expected identifier" error (#414, @vgoma) + * Fix: Namespaces would not disable once enabled (#409, @musikov) + +2.6.0 / 2016-12-28 +================== + + * Fix: added better null pointer checks for browser useColors (@thebigredgeek) + * Improvement: removed explicit `window.debug` export (#404, @tootallnate) + * Improvement: deprecated `DEBUG_FD` environment variable (#405, @tootallnate) + +2.5.2 / 2016-12-25 +================== + + * Fix: reference error on window within webworkers (#393, @KlausTrainer) + * Docs: fixed README typo (#391, @lurch) + * Docs: added notice about v3 api discussion (@thebigredgeek) + +2.5.1 / 2016-12-20 +================== + + * Fix: babel-core compatibility + +2.5.0 / 2016-12-20 +================== + + * Fix: wrong reference in bower file (@thebigredgeek) + * Fix: webworker compatibility (@thebigredgeek) + * Fix: output formatting issue (#388, @kribblo) + * Fix: babel-loader compatibility (#383, @escwald) + * Misc: removed built asset from repo and publications (@thebigredgeek) + * Misc: moved source files to /src (#378, @yamikuronue) + * Test: added karma integration and replaced babel with browserify for browser tests (#378, @yamikuronue) + * Test: coveralls integration (#378, @yamikuronue) + * Docs: simplified language in the opening paragraph (#373, @yamikuronue) + +2.4.5 / 2016-12-17 +================== + + * Fix: `navigator` undefined in Rhino (#376, @jochenberger) + * Fix: custom log function (#379, @hsiliev) + * Improvement: bit of cleanup + linting fixes (@thebigredgeek) + * Improvement: rm non-maintainted `dist/` dir (#375, @freewil) + * Docs: simplified language in the opening paragraph. (#373, @yamikuronue) + +2.4.4 / 2016-12-14 +================== + + * Fix: work around debug being loaded in preload scripts for electron (#368, @paulcbetts) + +2.4.3 / 2016-12-14 +================== + + * Fix: navigation.userAgent error for react native (#364, @escwald) + +2.4.2 / 2016-12-14 +================== + + * Fix: browser colors (#367, @tootallnate) + * Misc: travis ci integration (@thebigredgeek) + * Misc: added linting and testing boilerplate with sanity check (@thebigredgeek) + +2.4.1 / 2016-12-13 +================== + + * Fix: typo that broke the package (#356) + +2.4.0 / 2016-12-13 +================== + + * Fix: bower.json references unbuilt src entry point (#342, @justmatt) + * Fix: revert "handle regex special characters" (@tootallnate) + * Feature: configurable util.inspect()`options for NodeJS (#327, @tootallnate) + * Feature: %O`(big O) pretty-prints objects (#322, @tootallnate) + * Improvement: allow colors in workers (#335, @botverse) + * Improvement: use same color for same namespace. (#338, @lchenay) + +2.3.3 / 2016-11-09 +================== + + * Fix: Catch `JSON.stringify()` errors (#195, Jovan Alleyne) + * Fix: Returning `localStorage` saved values (#331, Levi Thomason) + * Improvement: Don't create an empty object when no `process` (Nathan Rajlich) + +2.3.2 / 2016-11-09 +================== + + * Fix: be super-safe in index.js as well (@TooTallNate) + * Fix: should check whether process exists (Tom Newby) + +2.3.1 / 2016-11-09 +================== + + * Fix: Added electron compatibility (#324, @paulcbetts) + * Improvement: Added performance optimizations (@tootallnate) + * Readme: Corrected PowerShell environment variable example (#252, @gimre) + * Misc: Removed yarn lock file from source control (#321, @fengmk2) + +2.3.0 / 2016-11-07 +================== + + * Fix: Consistent placement of ms diff at end of output (#215, @gorangajic) + * Fix: Escaping of regex special characters in namespace strings (#250, @zacronos) + * Fix: Fixed bug causing crash on react-native (#282, @vkarpov15) + * Feature: Enabled ES6+ compatible import via default export (#212 @bucaran) + * Feature: Added %O formatter to reflect Chrome's console.log capability (#279, @oncletom) + * Package: Update "ms" to 0.7.2 (#315, @DevSide) + * Package: removed superfluous version property from bower.json (#207 @kkirsche) + * Readme: fix USE_COLORS to DEBUG_COLORS + * Readme: Doc fixes for format string sugar (#269, @mlucool) + * Readme: Updated docs for DEBUG_FD and DEBUG_COLORS environment variables (#232, @mattlyons0) + * Readme: doc fixes for PowerShell (#271 #243, @exoticknight @unreadable) + * Readme: better docs for browser support (#224, @matthewmueller) + * Tooling: Added yarn integration for development (#317, @thebigredgeek) + * Misc: Renamed History.md to CHANGELOG.md (@thebigredgeek) + * Misc: Added license file (#226 #274, @CantemoInternal @sdaitzman) + * Misc: Updated contributors (@thebigredgeek) + +2.2.0 / 2015-05-09 +================== + + * package: update "ms" to v0.7.1 (#202, @dougwilson) + * README: add logging to file example (#193, @DanielOchoa) + * README: fixed a typo (#191, @amir-s) + * browser: expose `storage` (#190, @stephenmathieson) + * Makefile: add a `distclean` target (#189, @stephenmathieson) + +2.1.3 / 2015-03-13 +================== + + * Updated stdout/stderr example (#186) + * Updated example/stdout.js to match debug current behaviour + * Renamed example/stderr.js to stdout.js + * Update Readme.md (#184) + * replace high intensity foreground color for bold (#182, #183) + +2.1.2 / 2015-03-01 +================== + + * dist: recompile + * update "ms" to v0.7.0 + * package: update "browserify" to v9.0.3 + * component: fix "ms.js" repo location + * changed bower package name + * updated documentation about using debug in a browser + * fix: security error on safari (#167, #168, @yields) + +2.1.1 / 2014-12-29 +================== + + * browser: use `typeof` to check for `console` existence + * browser: check for `console.log` truthiness (fix IE 8/9) + * browser: add support for Chrome apps + * Readme: added Windows usage remarks + * Add `bower.json` to properly support bower install + +2.1.0 / 2014-10-15 +================== + + * node: implement `DEBUG_FD` env variable support + * package: update "browserify" to v6.1.0 + * package: add "license" field to package.json (#135, @panuhorsmalahti) + +2.0.0 / 2014-09-01 +================== + + * package: update "browserify" to v5.11.0 + * node: use stderr rather than stdout for logging (#29, @stephenmathieson) + +1.0.4 / 2014-07-15 +================== + + * dist: recompile + * example: remove `console.info()` log usage + * example: add "Content-Type" UTF-8 header to browser example + * browser: place %c marker after the space character + * browser: reset the "content" color via `color: inherit` + * browser: add colors support for Firefox >= v31 + * debug: prefer an instance `log()` function over the global one (#119) + * Readme: update documentation about styled console logs for FF v31 (#116, @wryk) + +1.0.3 / 2014-07-09 +================== + + * Add support for multiple wildcards in namespaces (#122, @seegno) + * browser: fix lint + +1.0.2 / 2014-06-10 +================== + + * browser: update color palette (#113, @gscottolson) + * common: make console logging function configurable (#108, @timoxley) + * node: fix %o colors on old node <= 0.8.x + * Makefile: find node path using shell/which (#109, @timoxley) + +1.0.1 / 2014-06-06 +================== + + * browser: use `removeItem()` to clear localStorage + * browser, node: don't set DEBUG if namespaces is undefined (#107, @leedm777) + * package: add "contributors" section + * node: fix comment typo + * README: list authors + +1.0.0 / 2014-06-04 +================== + + * make ms diff be global, not be scope + * debug: ignore empty strings in enable() + * node: make DEBUG_COLORS able to disable coloring + * *: export the `colors` array + * npmignore: don't publish the `dist` dir + * Makefile: refactor to use browserify + * package: add "browserify" as a dev dependency + * Readme: add Web Inspector Colors section + * node: reset terminal color for the debug content + * node: map "%o" to `util.inspect()` + * browser: map "%j" to `JSON.stringify()` + * debug: add custom "formatters" + * debug: use "ms" module for humanizing the diff + * Readme: add "bash" syntax highlighting + * browser: add Firebug color support + * browser: add colors for WebKit browsers + * node: apply log to `console` + * rewrite: abstract common logic for Node & browsers + * add .jshintrc file + +0.8.1 / 2014-04-14 +================== + + * package: re-add the "component" section + +0.8.0 / 2014-03-30 +================== + + * add `enable()` method for nodejs. Closes #27 + * change from stderr to stdout + * remove unnecessary index.js file + +0.7.4 / 2013-11-13 +================== + + * remove "browserify" key from package.json (fixes something in browserify) + +0.7.3 / 2013-10-30 +================== + + * fix: catch localStorage security error when cookies are blocked (Chrome) + * add debug(err) support. Closes #46 + * add .browser prop to package.json. Closes #42 + +0.7.2 / 2013-02-06 +================== + + * fix package.json + * fix: Mobile Safari (private mode) is broken with debug + * fix: Use unicode to send escape character to shell instead of octal to work with strict mode javascript + +0.7.1 / 2013-02-05 +================== + + * add repository URL to package.json + * add DEBUG_COLORED to force colored output + * add browserify support + * fix component. Closes #24 + +0.7.0 / 2012-05-04 +================== + + * Added .component to package.json + * Added debug.component.js build + +0.6.0 / 2012-03-16 +================== + + * Added support for "-" prefix in DEBUG [Vinay Pulim] + * Added `.enabled` flag to the node version [TooTallNate] + +0.5.0 / 2012-02-02 +================== + + * Added: humanize diffs. Closes #8 + * Added `debug.disable()` to the CS variant + * Removed padding. Closes #10 + * Fixed: persist client-side variant again. Closes #9 + +0.4.0 / 2012-02-01 +================== + + * Added browser variant support for older browsers [TooTallNate] + * Added `debug.enable('project:*')` to browser variant [TooTallNate] + * Added padding to diff (moved it to the right) + +0.3.0 / 2012-01-26 +================== + + * Added millisecond diff when isatty, otherwise UTC string + +0.2.0 / 2012-01-22 +================== + + * Added wildcard support + +0.1.0 / 2011-12-02 +================== + + * Added: remove colors unless stderr isatty [TooTallNate] + +0.0.1 / 2010-01-03 +================== + + * Initial release diff --git a/node_modules/@babel/traverse/node_modules/debug/LICENSE b/node_modules/@babel/traverse/node_modules/debug/LICENSE new file mode 100644 index 000000000..658c933d2 --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/debug/LICENSE @@ -0,0 +1,19 @@ +(The MIT License) + +Copyright (c) 2014 TJ Holowaychuk + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the 'Software'), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/node_modules/@babel/traverse/node_modules/debug/README.md b/node_modules/@babel/traverse/node_modules/debug/README.md new file mode 100644 index 000000000..88dae35d9 --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/debug/README.md @@ -0,0 +1,455 @@ +# debug +[![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug) [![Coverage Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers) +[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors) + + + +A tiny JavaScript debugging utility modelled after Node.js core's debugging +technique. Works in Node.js and web browsers. + +## Installation + +```bash +$ npm install debug +``` + +## Usage + +`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole. + +Example [_app.js_](./examples/node/app.js): + +```js +var debug = require('debug')('http') + , http = require('http') + , name = 'My App'; + +// fake app + +debug('booting %o', name); + +http.createServer(function(req, res){ + debug(req.method + ' ' + req.url); + res.end('hello\n'); +}).listen(3000, function(){ + debug('listening'); +}); + +// fake worker of some kind + +require('./worker'); +``` + +Example [_worker.js_](./examples/node/worker.js): + +```js +var a = require('debug')('worker:a') + , b = require('debug')('worker:b'); + +function work() { + a('doing lots of uninteresting work'); + setTimeout(work, Math.random() * 1000); +} + +work(); + +function workb() { + b('doing some work'); + setTimeout(workb, Math.random() * 2000); +} + +workb(); +``` + +The `DEBUG` environment variable is then used to enable these based on space or +comma-delimited names. + +Here are some examples: + +screen shot 2017-08-08 at 12 53 04 pm +screen shot 2017-08-08 at 12 53 38 pm +screen shot 2017-08-08 at 12 53 25 pm + +#### Windows command prompt notes + +##### CMD + +On Windows the environment variable is set using the `set` command. + +```cmd +set DEBUG=*,-not_this +``` + +Example: + +```cmd +set DEBUG=* & node app.js +``` + +##### PowerShell (VS Code default) + +PowerShell uses different syntax to set environment variables. + +```cmd +$env:DEBUG = "*,-not_this" +``` + +Example: + +```cmd +$env:DEBUG='app';node app.js +``` + +Then, run the program to be debugged as usual. + +npm script example: +```js + "windowsDebug": "@powershell -Command $env:DEBUG='*';node app.js", +``` + +## Namespace Colors + +Every debug instance has a color generated for it based on its namespace name. +This helps when visually parsing the debug output to identify which debug instance +a debug line belongs to. + +#### Node.js + +In Node.js, colors are enabled when stderr is a TTY. You also _should_ install +the [`supports-color`](https://npmjs.org/supports-color) module alongside debug, +otherwise debug will only use a small handful of basic colors. + + + +#### Web Browser + +Colors are also enabled on "Web Inspectors" that understand the `%c` formatting +option. These are WebKit web inspectors, Firefox ([since version +31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/)) +and the Firebug plugin for Firefox (any version). + + + + +## Millisecond diff + +When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls. + + + +When stdout is not a TTY, `Date#toISOString()` is used, making it more useful for logging the debug information as shown below: + + + + +## Conventions + +If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser". If you append a "*" to the end of your name, it will always be enabled regardless of the setting of the DEBUG environment variable. You can then use it for normal output as well as debug output. + +## Wildcards + +The `*` character may be used as a wildcard. Suppose for example your library has +debuggers named "connect:bodyParser", "connect:compress", "connect:session", +instead of listing all three with +`DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do +`DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`. + +You can also exclude specific debuggers by prefixing them with a "-" character. +For example, `DEBUG=*,-connect:*` would include all debuggers except those +starting with "connect:". + +## Environment Variables + +When running through Node.js, you can set a few environment variables that will +change the behavior of the debug logging: + +| Name | Purpose | +|-----------|-------------------------------------------------| +| `DEBUG` | Enables/disables specific debugging namespaces. | +| `DEBUG_HIDE_DATE` | Hide date from debug output (non-TTY). | +| `DEBUG_COLORS`| Whether or not to use colors in the debug output. | +| `DEBUG_DEPTH` | Object inspection depth. | +| `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects. | + + +__Note:__ The environment variables beginning with `DEBUG_` end up being +converted into an Options object that gets used with `%o`/`%O` formatters. +See the Node.js documentation for +[`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options) +for the complete list. + +## Formatters + +Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting. +Below are the officially supported formatters: + +| Formatter | Representation | +|-----------|----------------| +| `%O` | Pretty-print an Object on multiple lines. | +| `%o` | Pretty-print an Object all on a single line. | +| `%s` | String. | +| `%d` | Number (both integer and float). | +| `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. | +| `%%` | Single percent sign ('%'). This does not consume an argument. | + + +### Custom formatters + +You can add custom formatters by extending the `debug.formatters` object. +For example, if you wanted to add support for rendering a Buffer as hex with +`%h`, you could do something like: + +```js +const createDebug = require('debug') +createDebug.formatters.h = (v) => { + return v.toString('hex') +} + +// …elsewhere +const debug = createDebug('foo') +debug('this is hex: %h', new Buffer('hello world')) +// foo this is hex: 68656c6c6f20776f726c6421 +0ms +``` + + +## Browser Support + +You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify), +or just use the [browserify-as-a-service](https://wzrd.in/) [build](https://wzrd.in/standalone/debug@latest), +if you don't want to build it yourself. + +Debug's enable state is currently persisted by `localStorage`. +Consider the situation shown below where you have `worker:a` and `worker:b`, +and wish to debug both. You can enable this using `localStorage.debug`: + +```js +localStorage.debug = 'worker:*' +``` + +And then refresh the page. + +```js +a = debug('worker:a'); +b = debug('worker:b'); + +setInterval(function(){ + a('doing some work'); +}, 1000); + +setInterval(function(){ + b('doing some work'); +}, 1200); +``` + + +## Output streams + + By default `debug` will log to stderr, however this can be configured per-namespace by overriding the `log` method: + +Example [_stdout.js_](./examples/node/stdout.js): + +```js +var debug = require('debug'); +var error = debug('app:error'); + +// by default stderr is used +error('goes to stderr!'); + +var log = debug('app:log'); +// set this namespace to log via console.log +log.log = console.log.bind(console); // don't forget to bind to console! +log('goes to stdout'); +error('still goes to stderr!'); + +// set all output to go via console.info +// overrides all per-namespace log settings +debug.log = console.info.bind(console); +error('now goes to stdout via console.info'); +log('still goes to stdout, but via console.info now'); +``` + +## Extend +You can simply extend debugger +```js +const log = require('debug')('auth'); + +//creates new debug instance with extended namespace +const logSign = log.extend('sign'); +const logLogin = log.extend('login'); + +log('hello'); // auth hello +logSign('hello'); //auth:sign hello +logLogin('hello'); //auth:login hello +``` + +## Set dynamically + +You can also enable debug dynamically by calling the `enable()` method : + +```js +let debug = require('debug'); + +console.log(1, debug.enabled('test')); + +debug.enable('test'); +console.log(2, debug.enabled('test')); + +debug.disable(); +console.log(3, debug.enabled('test')); + +``` + +print : +``` +1 false +2 true +3 false +``` + +Usage : +`enable(namespaces)` +`namespaces` can include modes separated by a colon and wildcards. + +Note that calling `enable()` completely overrides previously set DEBUG variable : + +``` +$ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))' +=> false +``` + +`disable()` + +Will disable all namespaces. The functions returns the namespaces currently +enabled (and skipped). This can be useful if you want to disable debugging +temporarily without knowing what was enabled to begin with. + +For example: + +```js +let debug = require('debug'); +debug.enable('foo:*,-foo:bar'); +let namespaces = debug.disable(); +debug.enable(namespaces); +``` + +Note: There is no guarantee that the string will be identical to the initial +enable string, but semantically they will be identical. + +## Checking whether a debug target is enabled + +After you've created a debug instance, you can determine whether or not it is +enabled by checking the `enabled` property: + +```javascript +const debug = require('debug')('http'); + +if (debug.enabled) { + // do stuff... +} +``` + +You can also manually toggle this property to force the debug instance to be +enabled or disabled. + + +## Authors + + - TJ Holowaychuk + - Nathan Rajlich + - Andrew Rhyne + +## Backers + +Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/debug#backer)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## Sponsors + +Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/debug#sponsor)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## License + +(The MIT License) + +Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca> + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/traverse/node_modules/debug/dist/debug.js b/node_modules/@babel/traverse/node_modules/debug/dist/debug.js new file mode 100644 index 000000000..89ad0c217 --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/debug/dist/debug.js @@ -0,0 +1,912 @@ +"use strict"; + +function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } + +function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } + +function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + +function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } + +function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +(function (f) { + if ((typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined") { + module.exports = f(); + } else if (typeof define === "function" && define.amd) { + define([], f); + } else { + var g; + + if (typeof window !== "undefined") { + g = window; + } else if (typeof global !== "undefined") { + g = global; + } else if (typeof self !== "undefined") { + g = self; + } else { + g = this; + } + + g.debug = f(); + } +})(function () { + var define, module, exports; + return function () { + function r(e, n, t) { + function o(i, f) { + if (!n[i]) { + if (!e[i]) { + var c = "function" == typeof require && require; + if (!f && c) return c(i, !0); + if (u) return u(i, !0); + var a = new Error("Cannot find module '" + i + "'"); + throw a.code = "MODULE_NOT_FOUND", a; + } + + var p = n[i] = { + exports: {} + }; + e[i][0].call(p.exports, function (r) { + var n = e[i][1][r]; + return o(n || r); + }, p, p.exports, r, e, n, t); + } + + return n[i].exports; + } + + for (var u = "function" == typeof require && require, i = 0; i < t.length; i++) { + o(t[i]); + } + + return o; + } + + return r; + }()({ + 1: [function (require, module, exports) { + /** + * Helpers. + */ + var s = 1000; + var m = s * 60; + var h = m * 60; + var d = h * 24; + var w = d * 7; + var y = d * 365.25; + /** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + + module.exports = function (val, options) { + options = options || {}; + + var type = _typeof(val); + + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isNaN(val) === false) { + return options.long ? fmtLong(val) : fmtShort(val); + } + + throw new Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val)); + }; + /** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + + + function parse(str) { + str = String(str); + + if (str.length > 100) { + return; + } + + var match = /^((?:\d+)?\-?\d?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str); + + if (!match) { + return; + } + + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + + case 'weeks': + case 'week': + case 'w': + return n * w; + + case 'days': + case 'day': + case 'd': + return n * d; + + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + + default: + return undefined; + } + } + /** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + + function fmtShort(ms) { + var msAbs = Math.abs(ms); + + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + + return ms + 'ms'; + } + /** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + + function fmtLong(ms) { + var msAbs = Math.abs(ms); + + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + + return ms + ' ms'; + } + /** + * Pluralization helper. + */ + + + function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); + } + }, {}], + 2: [function (require, module, exports) { + // shim for using process in browser + var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it + // don't break things. But we need to wrap it in a try catch in case it is + // wrapped in strict mode code which doesn't define any globals. It's inside a + // function because try/catches deoptimize in certain engines. + + var cachedSetTimeout; + var cachedClearTimeout; + + function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); + } + + function defaultClearTimeout() { + throw new Error('clearTimeout has not been defined'); + } + + (function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } + })(); + + function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } // if setTimeout wasn't available but was latter defined + + + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + } + + function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } // if clearTimeout wasn't available but was latter defined + + + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e) { + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e) { + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + } + + var queue = []; + var draining = false; + var currentQueue; + var queueIndex = -1; + + function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + + draining = false; + + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + + if (queue.length) { + drainQueue(); + } + } + + function drainQueue() { + if (draining) { + return; + } + + var timeout = runTimeout(cleanUpNextTick); + draining = true; + var len = queue.length; + + while (len) { + currentQueue = queue; + queue = []; + + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + + queueIndex = -1; + len = queue.length; + } + + currentQueue = null; + draining = false; + runClearTimeout(timeout); + } + + process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + + queue.push(new Item(fun, args)); + + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } + }; // v8 likes predictible objects + + + function Item(fun, array) { + this.fun = fun; + this.array = array; + } + + Item.prototype.run = function () { + this.fun.apply(null, this.array); + }; + + process.title = 'browser'; + process.browser = true; + process.env = {}; + process.argv = []; + process.version = ''; // empty string to avoid regexp issues + + process.versions = {}; + + function noop() {} + + process.on = noop; + process.addListener = noop; + process.once = noop; + process.off = noop; + process.removeListener = noop; + process.removeAllListeners = noop; + process.emit = noop; + process.prependListener = noop; + process.prependOnceListener = noop; + + process.listeners = function (name) { + return []; + }; + + process.binding = function (name) { + throw new Error('process.binding is not supported'); + }; + + process.cwd = function () { + return '/'; + }; + + process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); + }; + + process.umask = function () { + return 0; + }; + }, {}], + 3: [function (require, module, exports) { + /** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ + function setup(env) { + createDebug.debug = createDebug; + createDebug.default = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = require('ms'); + Object.keys(env).forEach(function (key) { + createDebug[key] = env[key]; + }); + /** + * Active `debug` instances. + */ + + createDebug.instances = []; + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + + createDebug.formatters = {}; + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + + function selectColor(namespace) { + var hash = 0; + + for (var i = 0; i < namespace.length; i++) { + hash = (hash << 5) - hash + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + + createDebug.selectColor = selectColor; + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + + function createDebug(namespace) { + var prevTime; + + function debug() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + // Disabled? + if (!debug.enabled) { + return; + } + + var self = debug; // Set `diff` timestamp + + var curr = Number(new Date()); + var ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } // Apply any `formatters` transformations + + + var index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return match; + } + + index++; + var formatter = createDebug.formatters[format]; + + if (typeof formatter === 'function') { + var val = args[index]; + match = formatter.call(self, val); // Now we need to remove `args[index]` since it's inlined in the `format` + + args.splice(index, 1); + index--; + } + + return match; + }); // Apply env-specific formatting (colors, etc.) + + createDebug.formatArgs.call(self, args); + var logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.enabled = createDebug.enabled(namespace); + debug.useColors = createDebug.useColors(); + debug.color = selectColor(namespace); + debug.destroy = destroy; + debug.extend = extend; // Debug.formatArgs = formatArgs; + // debug.rawLog = rawLog; + // env-specific initialization logic for debug instances + + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + createDebug.instances.push(debug); + return debug; + } + + function destroy() { + var index = createDebug.instances.indexOf(this); + + if (index !== -1) { + createDebug.instances.splice(index, 1); + return true; + } + + return false; + } + + function extend(namespace, delimiter) { + var newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + + + function enable(namespaces) { + createDebug.save(namespaces); + createDebug.names = []; + createDebug.skips = []; + var i; + var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + var len = split.length; + + for (i = 0; i < len; i++) { + if (!split[i]) { + // ignore empty strings + continue; + } + + namespaces = split[i].replace(/\*/g, '.*?'); + + if (namespaces[0] === '-') { + createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); + } else { + createDebug.names.push(new RegExp('^' + namespaces + '$')); + } + } + + for (i = 0; i < createDebug.instances.length; i++) { + var instance = createDebug.instances[i]; + instance.enabled = createDebug.enabled(instance.namespace); + } + } + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + + + function disable() { + var namespaces = [].concat(_toConsumableArray(createDebug.names.map(toNamespace)), _toConsumableArray(createDebug.skips.map(toNamespace).map(function (namespace) { + return '-' + namespace; + }))).join(','); + createDebug.enable(''); + return namespaces; + } + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + + + function enabled(name) { + if (name[name.length - 1] === '*') { + return true; + } + + var i; + var len; + + for (i = 0, len = createDebug.skips.length; i < len; i++) { + if (createDebug.skips[i].test(name)) { + return false; + } + } + + for (i = 0, len = createDebug.names.length; i < len; i++) { + if (createDebug.names[i].test(name)) { + return true; + } + } + + return false; + } + /** + * Convert regexp to namespace + * + * @param {RegExp} regxep + * @return {String} namespace + * @api private + */ + + + function toNamespace(regexp) { + return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, '*'); + } + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + + + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + + return val; + } + + createDebug.enable(createDebug.load()); + return createDebug; + } + + module.exports = setup; + }, { + "ms": 1 + }], + 4: [function (require, module, exports) { + (function (process) { + /* eslint-env browser */ + + /** + * This is the web browser implementation of `debug()`. + */ + exports.log = log; + exports.formatArgs = formatArgs; + exports.save = save; + exports.load = load; + exports.useColors = useColors; + exports.storage = localstorage(); + /** + * Colors. + */ + + exports.colors = ['#0000CC', '#0000FF', '#0033CC', '#0033FF', '#0066CC', '#0066FF', '#0099CC', '#0099FF', '#00CC00', '#00CC33', '#00CC66', '#00CC99', '#00CCCC', '#00CCFF', '#3300CC', '#3300FF', '#3333CC', '#3333FF', '#3366CC', '#3366FF', '#3399CC', '#3399FF', '#33CC00', '#33CC33', '#33CC66', '#33CC99', '#33CCCC', '#33CCFF', '#6600CC', '#6600FF', '#6633CC', '#6633FF', '#66CC00', '#66CC33', '#9900CC', '#9900FF', '#9933CC', '#9933FF', '#99CC00', '#99CC33', '#CC0000', '#CC0033', '#CC0066', '#CC0099', '#CC00CC', '#CC00FF', '#CC3300', '#CC3333', '#CC3366', '#CC3399', '#CC33CC', '#CC33FF', '#CC6600', '#CC6633', '#CC9900', '#CC9933', '#CCCC00', '#CCCC33', '#FF0000', '#FF0033', '#FF0066', '#FF0099', '#FF00CC', '#FF00FF', '#FF3300', '#FF3333', '#FF3366', '#FF3399', '#FF33CC', '#FF33FF', '#FF6600', '#FF6633', '#FF9900', '#FF9933', '#FFCC00', '#FFCC33']; + /** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + // eslint-disable-next-line complexity + + function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } // Internet Explorer and Edge do not support colors. + + + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + + + return typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773 + typeof window !== 'undefined' && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker + typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/); + } + /** + * Colorize log arguments if enabled. + * + * @api public + */ + + + function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + this.namespace + (this.useColors ? ' %c' : ' ') + args[0] + (this.useColors ? '%c ' : ' ') + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + var c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + + var index = 0; + var lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, function (match) { + if (match === '%%') { + return; + } + + index++; + + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + args.splice(lastC, 0, c); + } + /** + * Invokes `console.log()` when available. + * No-op when `console.log` is not a "function". + * + * @api public + */ + + + function log() { + var _console; + + // This hackery is required for IE8/9, where + // the `console.log` function doesn't have 'apply' + return (typeof console === "undefined" ? "undefined" : _typeof(console)) === 'object' && console.log && (_console = console).log.apply(_console, arguments); + } + /** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ + + + function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } + } + /** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + + + function load() { + var r; + + try { + r = exports.storage.getItem('debug'); + } catch (error) {} // Swallow + // XXX (@Qix-) should we be logging these? + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + + + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } + + return r; + } + /** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + + + function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) {// Swallow + // XXX (@Qix-) should we be logging these? + } + } + + module.exports = require('./common')(exports); + var formatters = module.exports.formatters; + /** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + + formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } + }; + }).call(this, require('_process')); + }, { + "./common": 3, + "_process": 2 + }] + }, {}, [4])(4); +}); diff --git a/node_modules/@babel/traverse/node_modules/debug/package.json b/node_modules/@babel/traverse/node_modules/debug/package.json new file mode 100644 index 000000000..5ce2a589a --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/debug/package.json @@ -0,0 +1,102 @@ +{ + "_from": "debug@^4.1.0", + "_id": "debug@4.1.1", + "_inBundle": false, + "_integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "_location": "/@babel/traverse/debug", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "debug@^4.1.0", + "name": "debug", + "escapedName": "debug", + "rawSpec": "^4.1.0", + "saveSpec": null, + "fetchSpec": "^4.1.0" + }, + "_requiredBy": [ + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "_shasum": "3b72260255109c6b589cee050f1d516139664791", + "_spec": "debug@^4.1.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/traverse", + "author": { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca" + }, + "browser": "./src/browser.js", + "bugs": { + "url": "https://github.com/visionmedia/debug/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Nathan Rajlich", + "email": "nathan@tootallnate.net", + "url": "http://n8.io" + }, + { + "name": "Andrew Rhyne", + "email": "rhyneandrew@gmail.com" + } + ], + "dependencies": { + "ms": "^2.1.1" + }, + "deprecated": false, + "description": "small debugging utility", + "devDependencies": { + "@babel/cli": "^7.0.0", + "@babel/core": "^7.0.0", + "@babel/preset-env": "^7.0.0", + "browserify": "14.4.0", + "chai": "^3.5.0", + "concurrently": "^3.1.0", + "coveralls": "^3.0.2", + "istanbul": "^0.4.5", + "karma": "^3.0.0", + "karma-chai": "^0.1.0", + "karma-mocha": "^1.3.0", + "karma-phantomjs-launcher": "^1.0.2", + "mocha": "^5.2.0", + "mocha-lcov-reporter": "^1.2.0", + "rimraf": "^2.5.4", + "xo": "^0.23.0" + }, + "files": [ + "src", + "dist/debug.js", + "LICENSE", + "README.md" + ], + "homepage": "https://github.com/visionmedia/debug#readme", + "keywords": [ + "debug", + "log", + "debugger" + ], + "license": "MIT", + "main": "./src/index.js", + "name": "debug", + "repository": { + "type": "git", + "url": "git://github.com/visionmedia/debug.git" + }, + "scripts": { + "build": "npm run build:debug && npm run build:test", + "build:debug": "babel -o dist/debug.js dist/debug.es6.js > dist/debug.js", + "build:test": "babel -d dist test.js", + "clean": "rimraf dist coverage", + "lint": "xo", + "prebuild:debug": "mkdir -p dist && browserify --standalone debug -o dist/debug.es6.js .", + "pretest:browser": "npm run build", + "test": "npm run test:node && npm run test:browser", + "test:browser": "karma start --single-run", + "test:coverage": "cat ./coverage/lcov.info | coveralls", + "test:node": "istanbul cover _mocha -- test.js" + }, + "unpkg": "./dist/debug.js", + "version": "4.1.1" +} diff --git a/node_modules/@babel/traverse/node_modules/debug/src/browser.js b/node_modules/@babel/traverse/node_modules/debug/src/browser.js new file mode 100644 index 000000000..5f34c0d0a --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/debug/src/browser.js @@ -0,0 +1,264 @@ +/* eslint-env browser */ + +/** + * This is the web browser implementation of `debug()`. + */ + +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.storage = localstorage(); + +/** + * Colors. + */ + +exports.colors = [ + '#0000CC', + '#0000FF', + '#0033CC', + '#0033FF', + '#0066CC', + '#0066FF', + '#0099CC', + '#0099FF', + '#00CC00', + '#00CC33', + '#00CC66', + '#00CC99', + '#00CCCC', + '#00CCFF', + '#3300CC', + '#3300FF', + '#3333CC', + '#3333FF', + '#3366CC', + '#3366FF', + '#3399CC', + '#3399FF', + '#33CC00', + '#33CC33', + '#33CC66', + '#33CC99', + '#33CCCC', + '#33CCFF', + '#6600CC', + '#6600FF', + '#6633CC', + '#6633FF', + '#66CC00', + '#66CC33', + '#9900CC', + '#9900FF', + '#9933CC', + '#9933FF', + '#99CC00', + '#99CC33', + '#CC0000', + '#CC0033', + '#CC0066', + '#CC0099', + '#CC00CC', + '#CC00FF', + '#CC3300', + '#CC3333', + '#CC3366', + '#CC3399', + '#CC33CC', + '#CC33FF', + '#CC6600', + '#CC6633', + '#CC9900', + '#CC9933', + '#CCCC00', + '#CCCC33', + '#FF0000', + '#FF0033', + '#FF0066', + '#FF0099', + '#FF00CC', + '#FF00FF', + '#FF3300', + '#FF3333', + '#FF3366', + '#FF3399', + '#FF33CC', + '#FF33FF', + '#FF6600', + '#FF6633', + '#FF9900', + '#FF9933', + '#FFCC00', + '#FFCC33' +]; + +/** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + +// eslint-disable-next-line complexity +function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } + + // Internet Explorer and Edge do not support colors. + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } + + // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || + // Is firebug? http://stackoverflow.com/a/398120/376773 + (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || + // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || + // Double check webkit in userAgent just in case we are in a worker + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); +} + +/** + * Colorize log arguments if enabled. + * + * @api public + */ + +function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + + this.namespace + + (this.useColors ? ' %c' : ' ') + + args[0] + + (this.useColors ? '%c ' : ' ') + + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + const c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); + + // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + let index = 0; + let lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, match => { + if (match === '%%') { + return; + } + index++; + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + + args.splice(lastC, 0, c); +} + +/** + * Invokes `console.log()` when available. + * No-op when `console.log` is not a "function". + * + * @api public + */ +function log(...args) { + // This hackery is required for IE8/9, where + // the `console.log` function doesn't have 'apply' + return typeof console === 'object' && + console.log && + console.log(...args); +} + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ +function load() { + let r; + try { + r = exports.storage.getItem('debug'); + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } + + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } + + return r; +} + +/** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + +function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +module.exports = require('./common')(exports); + +const {formatters} = module.exports; + +/** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + +formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } +}; diff --git a/node_modules/@babel/traverse/node_modules/debug/src/common.js b/node_modules/@babel/traverse/node_modules/debug/src/common.js new file mode 100644 index 000000000..2f82b8dc7 --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/debug/src/common.js @@ -0,0 +1,266 @@ + +/** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ + +function setup(env) { + createDebug.debug = createDebug; + createDebug.default = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = require('ms'); + + Object.keys(env).forEach(key => { + createDebug[key] = env[key]; + }); + + /** + * Active `debug` instances. + */ + createDebug.instances = []; + + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + createDebug.formatters = {}; + + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + function selectColor(namespace) { + let hash = 0; + + for (let i = 0; i < namespace.length; i++) { + hash = ((hash << 5) - hash) + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + createDebug.selectColor = selectColor; + + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + function createDebug(namespace) { + let prevTime; + + function debug(...args) { + // Disabled? + if (!debug.enabled) { + return; + } + + const self = debug; + + // Set `diff` timestamp + const curr = Number(new Date()); + const ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } + + // Apply any `formatters` transformations + let index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return match; + } + index++; + const formatter = createDebug.formatters[format]; + if (typeof formatter === 'function') { + const val = args[index]; + match = formatter.call(self, val); + + // Now we need to remove `args[index]` since it's inlined in the `format` + args.splice(index, 1); + index--; + } + return match; + }); + + // Apply env-specific formatting (colors, etc.) + createDebug.formatArgs.call(self, args); + + const logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.enabled = createDebug.enabled(namespace); + debug.useColors = createDebug.useColors(); + debug.color = selectColor(namespace); + debug.destroy = destroy; + debug.extend = extend; + // Debug.formatArgs = formatArgs; + // debug.rawLog = rawLog; + + // env-specific initialization logic for debug instances + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + createDebug.instances.push(debug); + + return debug; + } + + function destroy() { + const index = createDebug.instances.indexOf(this); + if (index !== -1) { + createDebug.instances.splice(index, 1); + return true; + } + return false; + } + + function extend(namespace, delimiter) { + const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + function enable(namespaces) { + createDebug.save(namespaces); + + createDebug.names = []; + createDebug.skips = []; + + let i; + const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + const len = split.length; + + for (i = 0; i < len; i++) { + if (!split[i]) { + // ignore empty strings + continue; + } + + namespaces = split[i].replace(/\*/g, '.*?'); + + if (namespaces[0] === '-') { + createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); + } else { + createDebug.names.push(new RegExp('^' + namespaces + '$')); + } + } + + for (i = 0; i < createDebug.instances.length; i++) { + const instance = createDebug.instances[i]; + instance.enabled = createDebug.enabled(instance.namespace); + } + } + + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + function disable() { + const namespaces = [ + ...createDebug.names.map(toNamespace), + ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace) + ].join(','); + createDebug.enable(''); + return namespaces; + } + + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + function enabled(name) { + if (name[name.length - 1] === '*') { + return true; + } + + let i; + let len; + + for (i = 0, len = createDebug.skips.length; i < len; i++) { + if (createDebug.skips[i].test(name)) { + return false; + } + } + + for (i = 0, len = createDebug.names.length; i < len; i++) { + if (createDebug.names[i].test(name)) { + return true; + } + } + + return false; + } + + /** + * Convert regexp to namespace + * + * @param {RegExp} regxep + * @return {String} namespace + * @api private + */ + function toNamespace(regexp) { + return regexp.toString() + .substring(2, regexp.toString().length - 2) + .replace(/\.\*\?$/, '*'); + } + + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + return val; + } + + createDebug.enable(createDebug.load()); + + return createDebug; +} + +module.exports = setup; diff --git a/node_modules/@babel/traverse/node_modules/debug/src/index.js b/node_modules/@babel/traverse/node_modules/debug/src/index.js new file mode 100644 index 000000000..bf4c57f25 --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/debug/src/index.js @@ -0,0 +1,10 @@ +/** + * Detect Electron renderer / nwjs process, which is node, but we should + * treat as a browser. + */ + +if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { + module.exports = require('./browser.js'); +} else { + module.exports = require('./node.js'); +} diff --git a/node_modules/@babel/traverse/node_modules/debug/src/node.js b/node_modules/@babel/traverse/node_modules/debug/src/node.js new file mode 100644 index 000000000..5e1f1541a --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/debug/src/node.js @@ -0,0 +1,257 @@ +/** + * Module dependencies. + */ + +const tty = require('tty'); +const util = require('util'); + +/** + * This is the Node.js implementation of `debug()`. + */ + +exports.init = init; +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; + +/** + * Colors. + */ + +exports.colors = [6, 2, 3, 4, 5, 1]; + +try { + // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) + // eslint-disable-next-line import/no-extraneous-dependencies + const supportsColor = require('supports-color'); + + if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { + exports.colors = [ + 20, + 21, + 26, + 27, + 32, + 33, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 56, + 57, + 62, + 63, + 68, + 69, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 92, + 93, + 98, + 99, + 112, + 113, + 128, + 129, + 134, + 135, + 148, + 149, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 178, + 179, + 184, + 185, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 214, + 215, + 220, + 221 + ]; + } +} catch (error) { + // Swallow - we only care if `supports-color` is available; it doesn't have to be. +} + +/** + * Build up the default `inspectOpts` object from the environment variables. + * + * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js + */ + +exports.inspectOpts = Object.keys(process.env).filter(key => { + return /^debug_/i.test(key); +}).reduce((obj, key) => { + // Camel-case + const prop = key + .substring(6) + .toLowerCase() + .replace(/_([a-z])/g, (_, k) => { + return k.toUpperCase(); + }); + + // Coerce string value into JS value + let val = process.env[key]; + if (/^(yes|on|true|enabled)$/i.test(val)) { + val = true; + } else if (/^(no|off|false|disabled)$/i.test(val)) { + val = false; + } else if (val === 'null') { + val = null; + } else { + val = Number(val); + } + + obj[prop] = val; + return obj; +}, {}); + +/** + * Is stdout a TTY? Colored output is enabled when `true`. + */ + +function useColors() { + return 'colors' in exports.inspectOpts ? + Boolean(exports.inspectOpts.colors) : + tty.isatty(process.stderr.fd); +} + +/** + * Adds ANSI color escape codes if enabled. + * + * @api public + */ + +function formatArgs(args) { + const {namespace: name, useColors} = this; + + if (useColors) { + const c = this.color; + const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); + const prefix = ` ${colorCode};1m${name} \u001B[0m`; + + args[0] = prefix + args[0].split('\n').join('\n' + prefix); + args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); + } else { + args[0] = getDate() + name + ' ' + args[0]; + } +} + +function getDate() { + if (exports.inspectOpts.hideDate) { + return ''; + } + return new Date().toISOString() + ' '; +} + +/** + * Invokes `util.format()` with the specified arguments and writes to stderr. + */ + +function log(...args) { + return process.stderr.write(util.format(...args) + '\n'); +} + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + if (namespaces) { + process.env.DEBUG = namespaces; + } else { + // If you set a process.env field to null or undefined, it gets cast to the + // string 'null' or 'undefined'. Just delete instead. + delete process.env.DEBUG; + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + +function load() { + return process.env.DEBUG; +} + +/** + * Init logic for `debug` instances. + * + * Create a new `inspectOpts` object in case `useColors` is set + * differently for a particular `debug` instance. + */ + +function init(debug) { + debug.inspectOpts = {}; + + const keys = Object.keys(exports.inspectOpts); + for (let i = 0; i < keys.length; i++) { + debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + } +} + +module.exports = require('./common')(exports); + +const {formatters} = module.exports; + +/** + * Map %o to `util.inspect()`, all on a single line. + */ + +formatters.o = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts) + .replace(/\s*\n\s*/g, ' '); +}; + +/** + * Map %O to `util.inspect()`, allowing multiple lines if needed. + */ + +formatters.O = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts); +}; diff --git a/node_modules/@babel/traverse/node_modules/ms/index.js b/node_modules/@babel/traverse/node_modules/ms/index.js new file mode 100644 index 000000000..c4498bcc2 --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/ms/index.js @@ -0,0 +1,162 @@ +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function(val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} diff --git a/node_modules/@babel/traverse/node_modules/ms/license.md b/node_modules/@babel/traverse/node_modules/ms/license.md new file mode 100644 index 000000000..69b61253a --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/ms/license.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Zeit, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/@babel/traverse/node_modules/ms/package.json b/node_modules/@babel/traverse/node_modules/ms/package.json new file mode 100644 index 000000000..2333bebff --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/ms/package.json @@ -0,0 +1,69 @@ +{ + "_from": "ms@^2.1.1", + "_id": "ms@2.1.2", + "_inBundle": false, + "_integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "_location": "/@babel/traverse/ms", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ms@^2.1.1", + "name": "ms", + "escapedName": "ms", + "rawSpec": "^2.1.1", + "saveSpec": null, + "fetchSpec": "^2.1.1" + }, + "_requiredBy": [ + "/@babel/traverse/debug" + ], + "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "_shasum": "d09d1f357b443f493382a8eb3ccd183872ae6009", + "_spec": "ms@^2.1.1", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/traverse/node_modules/debug", + "bugs": { + "url": "https://github.com/zeit/ms/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Tiny millisecond conversion utility", + "devDependencies": { + "eslint": "4.12.1", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1" + }, + "eslintConfig": { + "extends": "eslint:recommended", + "env": { + "node": true, + "es6": true + } + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/zeit/ms#readme", + "license": "MIT", + "lint-staged": { + "*.js": [ + "npm run lint", + "prettier --single-quote --write", + "git add" + ] + }, + "main": "./index", + "name": "ms", + "repository": { + "type": "git", + "url": "git+https://github.com/zeit/ms.git" + }, + "scripts": { + "lint": "eslint lib/* bin/*", + "precommit": "lint-staged", + "test": "mocha tests.js" + }, + "version": "2.1.2" +} diff --git a/node_modules/@babel/traverse/node_modules/ms/readme.md b/node_modules/@babel/traverse/node_modules/ms/readme.md new file mode 100644 index 000000000..9a1996b17 --- /dev/null +++ b/node_modules/@babel/traverse/node_modules/ms/readme.md @@ -0,0 +1,60 @@ +# ms + +[![Build Status](https://travis-ci.org/zeit/ms.svg?branch=master)](https://travis-ci.org/zeit/ms) +[![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/zeit) + +Use this package to easily convert various time formats to milliseconds. + +## Examples + +```js +ms('2 days') // 172800000 +ms('1d') // 86400000 +ms('10h') // 36000000 +ms('2.5 hrs') // 9000000 +ms('2h') // 7200000 +ms('1m') // 60000 +ms('5s') // 5000 +ms('1y') // 31557600000 +ms('100') // 100 +ms('-3 days') // -259200000 +ms('-1h') // -3600000 +ms('-200') // -200 +``` + +### Convert from Milliseconds + +```js +ms(60000) // "1m" +ms(2 * 60000) // "2m" +ms(-3 * 60000) // "-3m" +ms(ms('10 hours')) // "10h" +``` + +### Time Format Written-Out + +```js +ms(60000, { long: true }) // "1 minute" +ms(2 * 60000, { long: true }) // "2 minutes" +ms(-3 * 60000, { long: true }) // "-3 minutes" +ms(ms('10 hours'), { long: true }) // "10 hours" +``` + +## Features + +- Works both in [Node.js](https://nodejs.org) and in the browser +- If a number is supplied to `ms`, a string with a unit is returned +- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`) +- If you pass a string with a number and a valid unit, the number of equivalent milliseconds is returned + +## Related Packages + +- [ms.macro](https://github.com/knpwrs/ms.macro) - Run `ms` as a macro at build-time. + +## Caught a Bug? + +1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device +2. Link the package to the global module directory: `npm link` +3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, Node.js will now use your clone of ms! + +As always, you can run the tests using: `npm test` diff --git a/node_modules/@babel/traverse/package.json b/node_modules/@babel/traverse/package.json new file mode 100644 index 000000000..387d5a47e --- /dev/null +++ b/node_modules/@babel/traverse/package.json @@ -0,0 +1,66 @@ +{ + "_from": "@babel/traverse@^7.11.0", + "_id": "@babel/traverse@7.11.0", + "_inBundle": false, + "_integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==", + "_location": "/@babel/traverse", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/traverse@^7.11.0", + "name": "@babel/traverse", + "escapedName": "@babel%2ftraverse", + "scope": "@babel", + "rawSpec": "^7.11.0", + "saveSpec": null, + "fetchSpec": "^7.11.0" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/helper-replace-supers", + "/@babel/helper-wrap-function", + "/@babel/helpers" + ], + "_resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz", + "_shasum": "9b996ce1b98f53f7c3e4175115605d56ed07dd24", + "_spec": "@babel/traverse@^7.11.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/core", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.11.0", + "@babel/helper-function-name": "^7.10.4", + "@babel/helper-split-export-declaration": "^7.11.0", + "@babel/parser": "^7.11.0", + "@babel/types": "^7.11.0", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.19" + }, + "deprecated": false, + "description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", + "devDependencies": { + "@babel/helper-plugin-test-runner": "^7.10.4" + }, + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/traverse", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-traverse" + }, + "version": "7.11.0" +} diff --git a/node_modules/@babel/types/LICENSE b/node_modules/@babel/types/LICENSE new file mode 100644 index 000000000..f31575ec7 --- /dev/null +++ b/node_modules/@babel/types/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@babel/types/README.md b/node_modules/@babel/types/README.md new file mode 100644 index 000000000..8d33374d3 --- /dev/null +++ b/node_modules/@babel/types/README.md @@ -0,0 +1,19 @@ +# @babel/types + +> Babel Types is a Lodash-esque utility library for AST nodes + +See our website [@babel/types](https://babeljs.io/docs/en/next/babel-types.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20types%22+is%3Aopen) associated with this package. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/types +``` + +or using yarn: + +```sh +yarn add @babel/types --dev +``` diff --git a/node_modules/@babel/types/lib/asserts/assertNode.js b/node_modules/@babel/types/lib/asserts/assertNode.js new file mode 100644 index 000000000..e28a9e0f5 --- /dev/null +++ b/node_modules/@babel/types/lib/asserts/assertNode.js @@ -0,0 +1,19 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = assertNode; + +var _isNode = _interopRequireDefault(require("../validators/isNode")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function assertNode(node) { + if (!(0, _isNode.default)(node)) { + var _node$type; + + const type = (_node$type = node == null ? void 0 : node.type) != null ? _node$type : JSON.stringify(node); + throw new TypeError(`Not a valid node of type "${type}"`); + } +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/asserts/generated/index.js b/node_modules/@babel/types/lib/asserts/generated/index.js new file mode 100644 index 000000000..d503d7624 --- /dev/null +++ b/node_modules/@babel/types/lib/asserts/generated/index.js @@ -0,0 +1,1464 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.assertArrayExpression = assertArrayExpression; +exports.assertAssignmentExpression = assertAssignmentExpression; +exports.assertBinaryExpression = assertBinaryExpression; +exports.assertInterpreterDirective = assertInterpreterDirective; +exports.assertDirective = assertDirective; +exports.assertDirectiveLiteral = assertDirectiveLiteral; +exports.assertBlockStatement = assertBlockStatement; +exports.assertBreakStatement = assertBreakStatement; +exports.assertCallExpression = assertCallExpression; +exports.assertCatchClause = assertCatchClause; +exports.assertConditionalExpression = assertConditionalExpression; +exports.assertContinueStatement = assertContinueStatement; +exports.assertDebuggerStatement = assertDebuggerStatement; +exports.assertDoWhileStatement = assertDoWhileStatement; +exports.assertEmptyStatement = assertEmptyStatement; +exports.assertExpressionStatement = assertExpressionStatement; +exports.assertFile = assertFile; +exports.assertForInStatement = assertForInStatement; +exports.assertForStatement = assertForStatement; +exports.assertFunctionDeclaration = assertFunctionDeclaration; +exports.assertFunctionExpression = assertFunctionExpression; +exports.assertIdentifier = assertIdentifier; +exports.assertIfStatement = assertIfStatement; +exports.assertLabeledStatement = assertLabeledStatement; +exports.assertStringLiteral = assertStringLiteral; +exports.assertNumericLiteral = assertNumericLiteral; +exports.assertNullLiteral = assertNullLiteral; +exports.assertBooleanLiteral = assertBooleanLiteral; +exports.assertRegExpLiteral = assertRegExpLiteral; +exports.assertLogicalExpression = assertLogicalExpression; +exports.assertMemberExpression = assertMemberExpression; +exports.assertNewExpression = assertNewExpression; +exports.assertProgram = assertProgram; +exports.assertObjectExpression = assertObjectExpression; +exports.assertObjectMethod = assertObjectMethod; +exports.assertObjectProperty = assertObjectProperty; +exports.assertRestElement = assertRestElement; +exports.assertReturnStatement = assertReturnStatement; +exports.assertSequenceExpression = assertSequenceExpression; +exports.assertParenthesizedExpression = assertParenthesizedExpression; +exports.assertSwitchCase = assertSwitchCase; +exports.assertSwitchStatement = assertSwitchStatement; +exports.assertThisExpression = assertThisExpression; +exports.assertThrowStatement = assertThrowStatement; +exports.assertTryStatement = assertTryStatement; +exports.assertUnaryExpression = assertUnaryExpression; +exports.assertUpdateExpression = assertUpdateExpression; +exports.assertVariableDeclaration = assertVariableDeclaration; +exports.assertVariableDeclarator = assertVariableDeclarator; +exports.assertWhileStatement = assertWhileStatement; +exports.assertWithStatement = assertWithStatement; +exports.assertAssignmentPattern = assertAssignmentPattern; +exports.assertArrayPattern = assertArrayPattern; +exports.assertArrowFunctionExpression = assertArrowFunctionExpression; +exports.assertClassBody = assertClassBody; +exports.assertClassExpression = assertClassExpression; +exports.assertClassDeclaration = assertClassDeclaration; +exports.assertExportAllDeclaration = assertExportAllDeclaration; +exports.assertExportDefaultDeclaration = assertExportDefaultDeclaration; +exports.assertExportNamedDeclaration = assertExportNamedDeclaration; +exports.assertExportSpecifier = assertExportSpecifier; +exports.assertForOfStatement = assertForOfStatement; +exports.assertImportDeclaration = assertImportDeclaration; +exports.assertImportDefaultSpecifier = assertImportDefaultSpecifier; +exports.assertImportNamespaceSpecifier = assertImportNamespaceSpecifier; +exports.assertImportSpecifier = assertImportSpecifier; +exports.assertMetaProperty = assertMetaProperty; +exports.assertClassMethod = assertClassMethod; +exports.assertObjectPattern = assertObjectPattern; +exports.assertSpreadElement = assertSpreadElement; +exports.assertSuper = assertSuper; +exports.assertTaggedTemplateExpression = assertTaggedTemplateExpression; +exports.assertTemplateElement = assertTemplateElement; +exports.assertTemplateLiteral = assertTemplateLiteral; +exports.assertYieldExpression = assertYieldExpression; +exports.assertAwaitExpression = assertAwaitExpression; +exports.assertImport = assertImport; +exports.assertBigIntLiteral = assertBigIntLiteral; +exports.assertExportNamespaceSpecifier = assertExportNamespaceSpecifier; +exports.assertOptionalMemberExpression = assertOptionalMemberExpression; +exports.assertOptionalCallExpression = assertOptionalCallExpression; +exports.assertAnyTypeAnnotation = assertAnyTypeAnnotation; +exports.assertArrayTypeAnnotation = assertArrayTypeAnnotation; +exports.assertBooleanTypeAnnotation = assertBooleanTypeAnnotation; +exports.assertBooleanLiteralTypeAnnotation = assertBooleanLiteralTypeAnnotation; +exports.assertNullLiteralTypeAnnotation = assertNullLiteralTypeAnnotation; +exports.assertClassImplements = assertClassImplements; +exports.assertDeclareClass = assertDeclareClass; +exports.assertDeclareFunction = assertDeclareFunction; +exports.assertDeclareInterface = assertDeclareInterface; +exports.assertDeclareModule = assertDeclareModule; +exports.assertDeclareModuleExports = assertDeclareModuleExports; +exports.assertDeclareTypeAlias = assertDeclareTypeAlias; +exports.assertDeclareOpaqueType = assertDeclareOpaqueType; +exports.assertDeclareVariable = assertDeclareVariable; +exports.assertDeclareExportDeclaration = assertDeclareExportDeclaration; +exports.assertDeclareExportAllDeclaration = assertDeclareExportAllDeclaration; +exports.assertDeclaredPredicate = assertDeclaredPredicate; +exports.assertExistsTypeAnnotation = assertExistsTypeAnnotation; +exports.assertFunctionTypeAnnotation = assertFunctionTypeAnnotation; +exports.assertFunctionTypeParam = assertFunctionTypeParam; +exports.assertGenericTypeAnnotation = assertGenericTypeAnnotation; +exports.assertInferredPredicate = assertInferredPredicate; +exports.assertInterfaceExtends = assertInterfaceExtends; +exports.assertInterfaceDeclaration = assertInterfaceDeclaration; +exports.assertInterfaceTypeAnnotation = assertInterfaceTypeAnnotation; +exports.assertIntersectionTypeAnnotation = assertIntersectionTypeAnnotation; +exports.assertMixedTypeAnnotation = assertMixedTypeAnnotation; +exports.assertEmptyTypeAnnotation = assertEmptyTypeAnnotation; +exports.assertNullableTypeAnnotation = assertNullableTypeAnnotation; +exports.assertNumberLiteralTypeAnnotation = assertNumberLiteralTypeAnnotation; +exports.assertNumberTypeAnnotation = assertNumberTypeAnnotation; +exports.assertObjectTypeAnnotation = assertObjectTypeAnnotation; +exports.assertObjectTypeInternalSlot = assertObjectTypeInternalSlot; +exports.assertObjectTypeCallProperty = assertObjectTypeCallProperty; +exports.assertObjectTypeIndexer = assertObjectTypeIndexer; +exports.assertObjectTypeProperty = assertObjectTypeProperty; +exports.assertObjectTypeSpreadProperty = assertObjectTypeSpreadProperty; +exports.assertOpaqueType = assertOpaqueType; +exports.assertQualifiedTypeIdentifier = assertQualifiedTypeIdentifier; +exports.assertStringLiteralTypeAnnotation = assertStringLiteralTypeAnnotation; +exports.assertStringTypeAnnotation = assertStringTypeAnnotation; +exports.assertSymbolTypeAnnotation = assertSymbolTypeAnnotation; +exports.assertThisTypeAnnotation = assertThisTypeAnnotation; +exports.assertTupleTypeAnnotation = assertTupleTypeAnnotation; +exports.assertTypeofTypeAnnotation = assertTypeofTypeAnnotation; +exports.assertTypeAlias = assertTypeAlias; +exports.assertTypeAnnotation = assertTypeAnnotation; +exports.assertTypeCastExpression = assertTypeCastExpression; +exports.assertTypeParameter = assertTypeParameter; +exports.assertTypeParameterDeclaration = assertTypeParameterDeclaration; +exports.assertTypeParameterInstantiation = assertTypeParameterInstantiation; +exports.assertUnionTypeAnnotation = assertUnionTypeAnnotation; +exports.assertVariance = assertVariance; +exports.assertVoidTypeAnnotation = assertVoidTypeAnnotation; +exports.assertEnumDeclaration = assertEnumDeclaration; +exports.assertEnumBooleanBody = assertEnumBooleanBody; +exports.assertEnumNumberBody = assertEnumNumberBody; +exports.assertEnumStringBody = assertEnumStringBody; +exports.assertEnumSymbolBody = assertEnumSymbolBody; +exports.assertEnumBooleanMember = assertEnumBooleanMember; +exports.assertEnumNumberMember = assertEnumNumberMember; +exports.assertEnumStringMember = assertEnumStringMember; +exports.assertEnumDefaultedMember = assertEnumDefaultedMember; +exports.assertJSXAttribute = assertJSXAttribute; +exports.assertJSXClosingElement = assertJSXClosingElement; +exports.assertJSXElement = assertJSXElement; +exports.assertJSXEmptyExpression = assertJSXEmptyExpression; +exports.assertJSXExpressionContainer = assertJSXExpressionContainer; +exports.assertJSXSpreadChild = assertJSXSpreadChild; +exports.assertJSXIdentifier = assertJSXIdentifier; +exports.assertJSXMemberExpression = assertJSXMemberExpression; +exports.assertJSXNamespacedName = assertJSXNamespacedName; +exports.assertJSXOpeningElement = assertJSXOpeningElement; +exports.assertJSXSpreadAttribute = assertJSXSpreadAttribute; +exports.assertJSXText = assertJSXText; +exports.assertJSXFragment = assertJSXFragment; +exports.assertJSXOpeningFragment = assertJSXOpeningFragment; +exports.assertJSXClosingFragment = assertJSXClosingFragment; +exports.assertNoop = assertNoop; +exports.assertPlaceholder = assertPlaceholder; +exports.assertV8IntrinsicIdentifier = assertV8IntrinsicIdentifier; +exports.assertArgumentPlaceholder = assertArgumentPlaceholder; +exports.assertBindExpression = assertBindExpression; +exports.assertClassProperty = assertClassProperty; +exports.assertPipelineTopicExpression = assertPipelineTopicExpression; +exports.assertPipelineBareFunction = assertPipelineBareFunction; +exports.assertPipelinePrimaryTopicReference = assertPipelinePrimaryTopicReference; +exports.assertClassPrivateProperty = assertClassPrivateProperty; +exports.assertClassPrivateMethod = assertClassPrivateMethod; +exports.assertImportAttribute = assertImportAttribute; +exports.assertDecorator = assertDecorator; +exports.assertDoExpression = assertDoExpression; +exports.assertExportDefaultSpecifier = assertExportDefaultSpecifier; +exports.assertPrivateName = assertPrivateName; +exports.assertRecordExpression = assertRecordExpression; +exports.assertTupleExpression = assertTupleExpression; +exports.assertDecimalLiteral = assertDecimalLiteral; +exports.assertTSParameterProperty = assertTSParameterProperty; +exports.assertTSDeclareFunction = assertTSDeclareFunction; +exports.assertTSDeclareMethod = assertTSDeclareMethod; +exports.assertTSQualifiedName = assertTSQualifiedName; +exports.assertTSCallSignatureDeclaration = assertTSCallSignatureDeclaration; +exports.assertTSConstructSignatureDeclaration = assertTSConstructSignatureDeclaration; +exports.assertTSPropertySignature = assertTSPropertySignature; +exports.assertTSMethodSignature = assertTSMethodSignature; +exports.assertTSIndexSignature = assertTSIndexSignature; +exports.assertTSAnyKeyword = assertTSAnyKeyword; +exports.assertTSBooleanKeyword = assertTSBooleanKeyword; +exports.assertTSBigIntKeyword = assertTSBigIntKeyword; +exports.assertTSNeverKeyword = assertTSNeverKeyword; +exports.assertTSNullKeyword = assertTSNullKeyword; +exports.assertTSNumberKeyword = assertTSNumberKeyword; +exports.assertTSObjectKeyword = assertTSObjectKeyword; +exports.assertTSStringKeyword = assertTSStringKeyword; +exports.assertTSSymbolKeyword = assertTSSymbolKeyword; +exports.assertTSUndefinedKeyword = assertTSUndefinedKeyword; +exports.assertTSUnknownKeyword = assertTSUnknownKeyword; +exports.assertTSVoidKeyword = assertTSVoidKeyword; +exports.assertTSThisType = assertTSThisType; +exports.assertTSFunctionType = assertTSFunctionType; +exports.assertTSConstructorType = assertTSConstructorType; +exports.assertTSTypeReference = assertTSTypeReference; +exports.assertTSTypePredicate = assertTSTypePredicate; +exports.assertTSTypeQuery = assertTSTypeQuery; +exports.assertTSTypeLiteral = assertTSTypeLiteral; +exports.assertTSArrayType = assertTSArrayType; +exports.assertTSTupleType = assertTSTupleType; +exports.assertTSOptionalType = assertTSOptionalType; +exports.assertTSRestType = assertTSRestType; +exports.assertTSNamedTupleMember = assertTSNamedTupleMember; +exports.assertTSUnionType = assertTSUnionType; +exports.assertTSIntersectionType = assertTSIntersectionType; +exports.assertTSConditionalType = assertTSConditionalType; +exports.assertTSInferType = assertTSInferType; +exports.assertTSParenthesizedType = assertTSParenthesizedType; +exports.assertTSTypeOperator = assertTSTypeOperator; +exports.assertTSIndexedAccessType = assertTSIndexedAccessType; +exports.assertTSMappedType = assertTSMappedType; +exports.assertTSLiteralType = assertTSLiteralType; +exports.assertTSExpressionWithTypeArguments = assertTSExpressionWithTypeArguments; +exports.assertTSInterfaceDeclaration = assertTSInterfaceDeclaration; +exports.assertTSInterfaceBody = assertTSInterfaceBody; +exports.assertTSTypeAliasDeclaration = assertTSTypeAliasDeclaration; +exports.assertTSAsExpression = assertTSAsExpression; +exports.assertTSTypeAssertion = assertTSTypeAssertion; +exports.assertTSEnumDeclaration = assertTSEnumDeclaration; +exports.assertTSEnumMember = assertTSEnumMember; +exports.assertTSModuleDeclaration = assertTSModuleDeclaration; +exports.assertTSModuleBlock = assertTSModuleBlock; +exports.assertTSImportType = assertTSImportType; +exports.assertTSImportEqualsDeclaration = assertTSImportEqualsDeclaration; +exports.assertTSExternalModuleReference = assertTSExternalModuleReference; +exports.assertTSNonNullExpression = assertTSNonNullExpression; +exports.assertTSExportAssignment = assertTSExportAssignment; +exports.assertTSNamespaceExportDeclaration = assertTSNamespaceExportDeclaration; +exports.assertTSTypeAnnotation = assertTSTypeAnnotation; +exports.assertTSTypeParameterInstantiation = assertTSTypeParameterInstantiation; +exports.assertTSTypeParameterDeclaration = assertTSTypeParameterDeclaration; +exports.assertTSTypeParameter = assertTSTypeParameter; +exports.assertExpression = assertExpression; +exports.assertBinary = assertBinary; +exports.assertScopable = assertScopable; +exports.assertBlockParent = assertBlockParent; +exports.assertBlock = assertBlock; +exports.assertStatement = assertStatement; +exports.assertTerminatorless = assertTerminatorless; +exports.assertCompletionStatement = assertCompletionStatement; +exports.assertConditional = assertConditional; +exports.assertLoop = assertLoop; +exports.assertWhile = assertWhile; +exports.assertExpressionWrapper = assertExpressionWrapper; +exports.assertFor = assertFor; +exports.assertForXStatement = assertForXStatement; +exports.assertFunction = assertFunction; +exports.assertFunctionParent = assertFunctionParent; +exports.assertPureish = assertPureish; +exports.assertDeclaration = assertDeclaration; +exports.assertPatternLike = assertPatternLike; +exports.assertLVal = assertLVal; +exports.assertTSEntityName = assertTSEntityName; +exports.assertLiteral = assertLiteral; +exports.assertImmutable = assertImmutable; +exports.assertUserWhitespacable = assertUserWhitespacable; +exports.assertMethod = assertMethod; +exports.assertObjectMember = assertObjectMember; +exports.assertProperty = assertProperty; +exports.assertUnaryLike = assertUnaryLike; +exports.assertPattern = assertPattern; +exports.assertClass = assertClass; +exports.assertModuleDeclaration = assertModuleDeclaration; +exports.assertExportDeclaration = assertExportDeclaration; +exports.assertModuleSpecifier = assertModuleSpecifier; +exports.assertFlow = assertFlow; +exports.assertFlowType = assertFlowType; +exports.assertFlowBaseAnnotation = assertFlowBaseAnnotation; +exports.assertFlowDeclaration = assertFlowDeclaration; +exports.assertFlowPredicate = assertFlowPredicate; +exports.assertEnumBody = assertEnumBody; +exports.assertEnumMember = assertEnumMember; +exports.assertJSX = assertJSX; +exports.assertPrivate = assertPrivate; +exports.assertTSTypeElement = assertTSTypeElement; +exports.assertTSType = assertTSType; +exports.assertTSBaseType = assertTSBaseType; +exports.assertNumberLiteral = assertNumberLiteral; +exports.assertRegexLiteral = assertRegexLiteral; +exports.assertRestProperty = assertRestProperty; +exports.assertSpreadProperty = assertSpreadProperty; + +var _is = _interopRequireDefault(require("../../validators/is")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function assert(type, node, opts) { + if (!(0, _is.default)(type, node, opts)) { + throw new Error(`Expected type "${type}" with option ${JSON.stringify(opts)}, ` + `but instead got "${node.type}".`); + } +} + +function assertArrayExpression(node, opts = {}) { + assert("ArrayExpression", node, opts); +} + +function assertAssignmentExpression(node, opts = {}) { + assert("AssignmentExpression", node, opts); +} + +function assertBinaryExpression(node, opts = {}) { + assert("BinaryExpression", node, opts); +} + +function assertInterpreterDirective(node, opts = {}) { + assert("InterpreterDirective", node, opts); +} + +function assertDirective(node, opts = {}) { + assert("Directive", node, opts); +} + +function assertDirectiveLiteral(node, opts = {}) { + assert("DirectiveLiteral", node, opts); +} + +function assertBlockStatement(node, opts = {}) { + assert("BlockStatement", node, opts); +} + +function assertBreakStatement(node, opts = {}) { + assert("BreakStatement", node, opts); +} + +function assertCallExpression(node, opts = {}) { + assert("CallExpression", node, opts); +} + +function assertCatchClause(node, opts = {}) { + assert("CatchClause", node, opts); +} + +function assertConditionalExpression(node, opts = {}) { + assert("ConditionalExpression", node, opts); +} + +function assertContinueStatement(node, opts = {}) { + assert("ContinueStatement", node, opts); +} + +function assertDebuggerStatement(node, opts = {}) { + assert("DebuggerStatement", node, opts); +} + +function assertDoWhileStatement(node, opts = {}) { + assert("DoWhileStatement", node, opts); +} + +function assertEmptyStatement(node, opts = {}) { + assert("EmptyStatement", node, opts); +} + +function assertExpressionStatement(node, opts = {}) { + assert("ExpressionStatement", node, opts); +} + +function assertFile(node, opts = {}) { + assert("File", node, opts); +} + +function assertForInStatement(node, opts = {}) { + assert("ForInStatement", node, opts); +} + +function assertForStatement(node, opts = {}) { + assert("ForStatement", node, opts); +} + +function assertFunctionDeclaration(node, opts = {}) { + assert("FunctionDeclaration", node, opts); +} + +function assertFunctionExpression(node, opts = {}) { + assert("FunctionExpression", node, opts); +} + +function assertIdentifier(node, opts = {}) { + assert("Identifier", node, opts); +} + +function assertIfStatement(node, opts = {}) { + assert("IfStatement", node, opts); +} + +function assertLabeledStatement(node, opts = {}) { + assert("LabeledStatement", node, opts); +} + +function assertStringLiteral(node, opts = {}) { + assert("StringLiteral", node, opts); +} + +function assertNumericLiteral(node, opts = {}) { + assert("NumericLiteral", node, opts); +} + +function assertNullLiteral(node, opts = {}) { + assert("NullLiteral", node, opts); +} + +function assertBooleanLiteral(node, opts = {}) { + assert("BooleanLiteral", node, opts); +} + +function assertRegExpLiteral(node, opts = {}) { + assert("RegExpLiteral", node, opts); +} + +function assertLogicalExpression(node, opts = {}) { + assert("LogicalExpression", node, opts); +} + +function assertMemberExpression(node, opts = {}) { + assert("MemberExpression", node, opts); +} + +function assertNewExpression(node, opts = {}) { + assert("NewExpression", node, opts); +} + +function assertProgram(node, opts = {}) { + assert("Program", node, opts); +} + +function assertObjectExpression(node, opts = {}) { + assert("ObjectExpression", node, opts); +} + +function assertObjectMethod(node, opts = {}) { + assert("ObjectMethod", node, opts); +} + +function assertObjectProperty(node, opts = {}) { + assert("ObjectProperty", node, opts); +} + +function assertRestElement(node, opts = {}) { + assert("RestElement", node, opts); +} + +function assertReturnStatement(node, opts = {}) { + assert("ReturnStatement", node, opts); +} + +function assertSequenceExpression(node, opts = {}) { + assert("SequenceExpression", node, opts); +} + +function assertParenthesizedExpression(node, opts = {}) { + assert("ParenthesizedExpression", node, opts); +} + +function assertSwitchCase(node, opts = {}) { + assert("SwitchCase", node, opts); +} + +function assertSwitchStatement(node, opts = {}) { + assert("SwitchStatement", node, opts); +} + +function assertThisExpression(node, opts = {}) { + assert("ThisExpression", node, opts); +} + +function assertThrowStatement(node, opts = {}) { + assert("ThrowStatement", node, opts); +} + +function assertTryStatement(node, opts = {}) { + assert("TryStatement", node, opts); +} + +function assertUnaryExpression(node, opts = {}) { + assert("UnaryExpression", node, opts); +} + +function assertUpdateExpression(node, opts = {}) { + assert("UpdateExpression", node, opts); +} + +function assertVariableDeclaration(node, opts = {}) { + assert("VariableDeclaration", node, opts); +} + +function assertVariableDeclarator(node, opts = {}) { + assert("VariableDeclarator", node, opts); +} + +function assertWhileStatement(node, opts = {}) { + assert("WhileStatement", node, opts); +} + +function assertWithStatement(node, opts = {}) { + assert("WithStatement", node, opts); +} + +function assertAssignmentPattern(node, opts = {}) { + assert("AssignmentPattern", node, opts); +} + +function assertArrayPattern(node, opts = {}) { + assert("ArrayPattern", node, opts); +} + +function assertArrowFunctionExpression(node, opts = {}) { + assert("ArrowFunctionExpression", node, opts); +} + +function assertClassBody(node, opts = {}) { + assert("ClassBody", node, opts); +} + +function assertClassExpression(node, opts = {}) { + assert("ClassExpression", node, opts); +} + +function assertClassDeclaration(node, opts = {}) { + assert("ClassDeclaration", node, opts); +} + +function assertExportAllDeclaration(node, opts = {}) { + assert("ExportAllDeclaration", node, opts); +} + +function assertExportDefaultDeclaration(node, opts = {}) { + assert("ExportDefaultDeclaration", node, opts); +} + +function assertExportNamedDeclaration(node, opts = {}) { + assert("ExportNamedDeclaration", node, opts); +} + +function assertExportSpecifier(node, opts = {}) { + assert("ExportSpecifier", node, opts); +} + +function assertForOfStatement(node, opts = {}) { + assert("ForOfStatement", node, opts); +} + +function assertImportDeclaration(node, opts = {}) { + assert("ImportDeclaration", node, opts); +} + +function assertImportDefaultSpecifier(node, opts = {}) { + assert("ImportDefaultSpecifier", node, opts); +} + +function assertImportNamespaceSpecifier(node, opts = {}) { + assert("ImportNamespaceSpecifier", node, opts); +} + +function assertImportSpecifier(node, opts = {}) { + assert("ImportSpecifier", node, opts); +} + +function assertMetaProperty(node, opts = {}) { + assert("MetaProperty", node, opts); +} + +function assertClassMethod(node, opts = {}) { + assert("ClassMethod", node, opts); +} + +function assertObjectPattern(node, opts = {}) { + assert("ObjectPattern", node, opts); +} + +function assertSpreadElement(node, opts = {}) { + assert("SpreadElement", node, opts); +} + +function assertSuper(node, opts = {}) { + assert("Super", node, opts); +} + +function assertTaggedTemplateExpression(node, opts = {}) { + assert("TaggedTemplateExpression", node, opts); +} + +function assertTemplateElement(node, opts = {}) { + assert("TemplateElement", node, opts); +} + +function assertTemplateLiteral(node, opts = {}) { + assert("TemplateLiteral", node, opts); +} + +function assertYieldExpression(node, opts = {}) { + assert("YieldExpression", node, opts); +} + +function assertAwaitExpression(node, opts = {}) { + assert("AwaitExpression", node, opts); +} + +function assertImport(node, opts = {}) { + assert("Import", node, opts); +} + +function assertBigIntLiteral(node, opts = {}) { + assert("BigIntLiteral", node, opts); +} + +function assertExportNamespaceSpecifier(node, opts = {}) { + assert("ExportNamespaceSpecifier", node, opts); +} + +function assertOptionalMemberExpression(node, opts = {}) { + assert("OptionalMemberExpression", node, opts); +} + +function assertOptionalCallExpression(node, opts = {}) { + assert("OptionalCallExpression", node, opts); +} + +function assertAnyTypeAnnotation(node, opts = {}) { + assert("AnyTypeAnnotation", node, opts); +} + +function assertArrayTypeAnnotation(node, opts = {}) { + assert("ArrayTypeAnnotation", node, opts); +} + +function assertBooleanTypeAnnotation(node, opts = {}) { + assert("BooleanTypeAnnotation", node, opts); +} + +function assertBooleanLiteralTypeAnnotation(node, opts = {}) { + assert("BooleanLiteralTypeAnnotation", node, opts); +} + +function assertNullLiteralTypeAnnotation(node, opts = {}) { + assert("NullLiteralTypeAnnotation", node, opts); +} + +function assertClassImplements(node, opts = {}) { + assert("ClassImplements", node, opts); +} + +function assertDeclareClass(node, opts = {}) { + assert("DeclareClass", node, opts); +} + +function assertDeclareFunction(node, opts = {}) { + assert("DeclareFunction", node, opts); +} + +function assertDeclareInterface(node, opts = {}) { + assert("DeclareInterface", node, opts); +} + +function assertDeclareModule(node, opts = {}) { + assert("DeclareModule", node, opts); +} + +function assertDeclareModuleExports(node, opts = {}) { + assert("DeclareModuleExports", node, opts); +} + +function assertDeclareTypeAlias(node, opts = {}) { + assert("DeclareTypeAlias", node, opts); +} + +function assertDeclareOpaqueType(node, opts = {}) { + assert("DeclareOpaqueType", node, opts); +} + +function assertDeclareVariable(node, opts = {}) { + assert("DeclareVariable", node, opts); +} + +function assertDeclareExportDeclaration(node, opts = {}) { + assert("DeclareExportDeclaration", node, opts); +} + +function assertDeclareExportAllDeclaration(node, opts = {}) { + assert("DeclareExportAllDeclaration", node, opts); +} + +function assertDeclaredPredicate(node, opts = {}) { + assert("DeclaredPredicate", node, opts); +} + +function assertExistsTypeAnnotation(node, opts = {}) { + assert("ExistsTypeAnnotation", node, opts); +} + +function assertFunctionTypeAnnotation(node, opts = {}) { + assert("FunctionTypeAnnotation", node, opts); +} + +function assertFunctionTypeParam(node, opts = {}) { + assert("FunctionTypeParam", node, opts); +} + +function assertGenericTypeAnnotation(node, opts = {}) { + assert("GenericTypeAnnotation", node, opts); +} + +function assertInferredPredicate(node, opts = {}) { + assert("InferredPredicate", node, opts); +} + +function assertInterfaceExtends(node, opts = {}) { + assert("InterfaceExtends", node, opts); +} + +function assertInterfaceDeclaration(node, opts = {}) { + assert("InterfaceDeclaration", node, opts); +} + +function assertInterfaceTypeAnnotation(node, opts = {}) { + assert("InterfaceTypeAnnotation", node, opts); +} + +function assertIntersectionTypeAnnotation(node, opts = {}) { + assert("IntersectionTypeAnnotation", node, opts); +} + +function assertMixedTypeAnnotation(node, opts = {}) { + assert("MixedTypeAnnotation", node, opts); +} + +function assertEmptyTypeAnnotation(node, opts = {}) { + assert("EmptyTypeAnnotation", node, opts); +} + +function assertNullableTypeAnnotation(node, opts = {}) { + assert("NullableTypeAnnotation", node, opts); +} + +function assertNumberLiteralTypeAnnotation(node, opts = {}) { + assert("NumberLiteralTypeAnnotation", node, opts); +} + +function assertNumberTypeAnnotation(node, opts = {}) { + assert("NumberTypeAnnotation", node, opts); +} + +function assertObjectTypeAnnotation(node, opts = {}) { + assert("ObjectTypeAnnotation", node, opts); +} + +function assertObjectTypeInternalSlot(node, opts = {}) { + assert("ObjectTypeInternalSlot", node, opts); +} + +function assertObjectTypeCallProperty(node, opts = {}) { + assert("ObjectTypeCallProperty", node, opts); +} + +function assertObjectTypeIndexer(node, opts = {}) { + assert("ObjectTypeIndexer", node, opts); +} + +function assertObjectTypeProperty(node, opts = {}) { + assert("ObjectTypeProperty", node, opts); +} + +function assertObjectTypeSpreadProperty(node, opts = {}) { + assert("ObjectTypeSpreadProperty", node, opts); +} + +function assertOpaqueType(node, opts = {}) { + assert("OpaqueType", node, opts); +} + +function assertQualifiedTypeIdentifier(node, opts = {}) { + assert("QualifiedTypeIdentifier", node, opts); +} + +function assertStringLiteralTypeAnnotation(node, opts = {}) { + assert("StringLiteralTypeAnnotation", node, opts); +} + +function assertStringTypeAnnotation(node, opts = {}) { + assert("StringTypeAnnotation", node, opts); +} + +function assertSymbolTypeAnnotation(node, opts = {}) { + assert("SymbolTypeAnnotation", node, opts); +} + +function assertThisTypeAnnotation(node, opts = {}) { + assert("ThisTypeAnnotation", node, opts); +} + +function assertTupleTypeAnnotation(node, opts = {}) { + assert("TupleTypeAnnotation", node, opts); +} + +function assertTypeofTypeAnnotation(node, opts = {}) { + assert("TypeofTypeAnnotation", node, opts); +} + +function assertTypeAlias(node, opts = {}) { + assert("TypeAlias", node, opts); +} + +function assertTypeAnnotation(node, opts = {}) { + assert("TypeAnnotation", node, opts); +} + +function assertTypeCastExpression(node, opts = {}) { + assert("TypeCastExpression", node, opts); +} + +function assertTypeParameter(node, opts = {}) { + assert("TypeParameter", node, opts); +} + +function assertTypeParameterDeclaration(node, opts = {}) { + assert("TypeParameterDeclaration", node, opts); +} + +function assertTypeParameterInstantiation(node, opts = {}) { + assert("TypeParameterInstantiation", node, opts); +} + +function assertUnionTypeAnnotation(node, opts = {}) { + assert("UnionTypeAnnotation", node, opts); +} + +function assertVariance(node, opts = {}) { + assert("Variance", node, opts); +} + +function assertVoidTypeAnnotation(node, opts = {}) { + assert("VoidTypeAnnotation", node, opts); +} + +function assertEnumDeclaration(node, opts = {}) { + assert("EnumDeclaration", node, opts); +} + +function assertEnumBooleanBody(node, opts = {}) { + assert("EnumBooleanBody", node, opts); +} + +function assertEnumNumberBody(node, opts = {}) { + assert("EnumNumberBody", node, opts); +} + +function assertEnumStringBody(node, opts = {}) { + assert("EnumStringBody", node, opts); +} + +function assertEnumSymbolBody(node, opts = {}) { + assert("EnumSymbolBody", node, opts); +} + +function assertEnumBooleanMember(node, opts = {}) { + assert("EnumBooleanMember", node, opts); +} + +function assertEnumNumberMember(node, opts = {}) { + assert("EnumNumberMember", node, opts); +} + +function assertEnumStringMember(node, opts = {}) { + assert("EnumStringMember", node, opts); +} + +function assertEnumDefaultedMember(node, opts = {}) { + assert("EnumDefaultedMember", node, opts); +} + +function assertJSXAttribute(node, opts = {}) { + assert("JSXAttribute", node, opts); +} + +function assertJSXClosingElement(node, opts = {}) { + assert("JSXClosingElement", node, opts); +} + +function assertJSXElement(node, opts = {}) { + assert("JSXElement", node, opts); +} + +function assertJSXEmptyExpression(node, opts = {}) { + assert("JSXEmptyExpression", node, opts); +} + +function assertJSXExpressionContainer(node, opts = {}) { + assert("JSXExpressionContainer", node, opts); +} + +function assertJSXSpreadChild(node, opts = {}) { + assert("JSXSpreadChild", node, opts); +} + +function assertJSXIdentifier(node, opts = {}) { + assert("JSXIdentifier", node, opts); +} + +function assertJSXMemberExpression(node, opts = {}) { + assert("JSXMemberExpression", node, opts); +} + +function assertJSXNamespacedName(node, opts = {}) { + assert("JSXNamespacedName", node, opts); +} + +function assertJSXOpeningElement(node, opts = {}) { + assert("JSXOpeningElement", node, opts); +} + +function assertJSXSpreadAttribute(node, opts = {}) { + assert("JSXSpreadAttribute", node, opts); +} + +function assertJSXText(node, opts = {}) { + assert("JSXText", node, opts); +} + +function assertJSXFragment(node, opts = {}) { + assert("JSXFragment", node, opts); +} + +function assertJSXOpeningFragment(node, opts = {}) { + assert("JSXOpeningFragment", node, opts); +} + +function assertJSXClosingFragment(node, opts = {}) { + assert("JSXClosingFragment", node, opts); +} + +function assertNoop(node, opts = {}) { + assert("Noop", node, opts); +} + +function assertPlaceholder(node, opts = {}) { + assert("Placeholder", node, opts); +} + +function assertV8IntrinsicIdentifier(node, opts = {}) { + assert("V8IntrinsicIdentifier", node, opts); +} + +function assertArgumentPlaceholder(node, opts = {}) { + assert("ArgumentPlaceholder", node, opts); +} + +function assertBindExpression(node, opts = {}) { + assert("BindExpression", node, opts); +} + +function assertClassProperty(node, opts = {}) { + assert("ClassProperty", node, opts); +} + +function assertPipelineTopicExpression(node, opts = {}) { + assert("PipelineTopicExpression", node, opts); +} + +function assertPipelineBareFunction(node, opts = {}) { + assert("PipelineBareFunction", node, opts); +} + +function assertPipelinePrimaryTopicReference(node, opts = {}) { + assert("PipelinePrimaryTopicReference", node, opts); +} + +function assertClassPrivateProperty(node, opts = {}) { + assert("ClassPrivateProperty", node, opts); +} + +function assertClassPrivateMethod(node, opts = {}) { + assert("ClassPrivateMethod", node, opts); +} + +function assertImportAttribute(node, opts = {}) { + assert("ImportAttribute", node, opts); +} + +function assertDecorator(node, opts = {}) { + assert("Decorator", node, opts); +} + +function assertDoExpression(node, opts = {}) { + assert("DoExpression", node, opts); +} + +function assertExportDefaultSpecifier(node, opts = {}) { + assert("ExportDefaultSpecifier", node, opts); +} + +function assertPrivateName(node, opts = {}) { + assert("PrivateName", node, opts); +} + +function assertRecordExpression(node, opts = {}) { + assert("RecordExpression", node, opts); +} + +function assertTupleExpression(node, opts = {}) { + assert("TupleExpression", node, opts); +} + +function assertDecimalLiteral(node, opts = {}) { + assert("DecimalLiteral", node, opts); +} + +function assertTSParameterProperty(node, opts = {}) { + assert("TSParameterProperty", node, opts); +} + +function assertTSDeclareFunction(node, opts = {}) { + assert("TSDeclareFunction", node, opts); +} + +function assertTSDeclareMethod(node, opts = {}) { + assert("TSDeclareMethod", node, opts); +} + +function assertTSQualifiedName(node, opts = {}) { + assert("TSQualifiedName", node, opts); +} + +function assertTSCallSignatureDeclaration(node, opts = {}) { + assert("TSCallSignatureDeclaration", node, opts); +} + +function assertTSConstructSignatureDeclaration(node, opts = {}) { + assert("TSConstructSignatureDeclaration", node, opts); +} + +function assertTSPropertySignature(node, opts = {}) { + assert("TSPropertySignature", node, opts); +} + +function assertTSMethodSignature(node, opts = {}) { + assert("TSMethodSignature", node, opts); +} + +function assertTSIndexSignature(node, opts = {}) { + assert("TSIndexSignature", node, opts); +} + +function assertTSAnyKeyword(node, opts = {}) { + assert("TSAnyKeyword", node, opts); +} + +function assertTSBooleanKeyword(node, opts = {}) { + assert("TSBooleanKeyword", node, opts); +} + +function assertTSBigIntKeyword(node, opts = {}) { + assert("TSBigIntKeyword", node, opts); +} + +function assertTSNeverKeyword(node, opts = {}) { + assert("TSNeverKeyword", node, opts); +} + +function assertTSNullKeyword(node, opts = {}) { + assert("TSNullKeyword", node, opts); +} + +function assertTSNumberKeyword(node, opts = {}) { + assert("TSNumberKeyword", node, opts); +} + +function assertTSObjectKeyword(node, opts = {}) { + assert("TSObjectKeyword", node, opts); +} + +function assertTSStringKeyword(node, opts = {}) { + assert("TSStringKeyword", node, opts); +} + +function assertTSSymbolKeyword(node, opts = {}) { + assert("TSSymbolKeyword", node, opts); +} + +function assertTSUndefinedKeyword(node, opts = {}) { + assert("TSUndefinedKeyword", node, opts); +} + +function assertTSUnknownKeyword(node, opts = {}) { + assert("TSUnknownKeyword", node, opts); +} + +function assertTSVoidKeyword(node, opts = {}) { + assert("TSVoidKeyword", node, opts); +} + +function assertTSThisType(node, opts = {}) { + assert("TSThisType", node, opts); +} + +function assertTSFunctionType(node, opts = {}) { + assert("TSFunctionType", node, opts); +} + +function assertTSConstructorType(node, opts = {}) { + assert("TSConstructorType", node, opts); +} + +function assertTSTypeReference(node, opts = {}) { + assert("TSTypeReference", node, opts); +} + +function assertTSTypePredicate(node, opts = {}) { + assert("TSTypePredicate", node, opts); +} + +function assertTSTypeQuery(node, opts = {}) { + assert("TSTypeQuery", node, opts); +} + +function assertTSTypeLiteral(node, opts = {}) { + assert("TSTypeLiteral", node, opts); +} + +function assertTSArrayType(node, opts = {}) { + assert("TSArrayType", node, opts); +} + +function assertTSTupleType(node, opts = {}) { + assert("TSTupleType", node, opts); +} + +function assertTSOptionalType(node, opts = {}) { + assert("TSOptionalType", node, opts); +} + +function assertTSRestType(node, opts = {}) { + assert("TSRestType", node, opts); +} + +function assertTSNamedTupleMember(node, opts = {}) { + assert("TSNamedTupleMember", node, opts); +} + +function assertTSUnionType(node, opts = {}) { + assert("TSUnionType", node, opts); +} + +function assertTSIntersectionType(node, opts = {}) { + assert("TSIntersectionType", node, opts); +} + +function assertTSConditionalType(node, opts = {}) { + assert("TSConditionalType", node, opts); +} + +function assertTSInferType(node, opts = {}) { + assert("TSInferType", node, opts); +} + +function assertTSParenthesizedType(node, opts = {}) { + assert("TSParenthesizedType", node, opts); +} + +function assertTSTypeOperator(node, opts = {}) { + assert("TSTypeOperator", node, opts); +} + +function assertTSIndexedAccessType(node, opts = {}) { + assert("TSIndexedAccessType", node, opts); +} + +function assertTSMappedType(node, opts = {}) { + assert("TSMappedType", node, opts); +} + +function assertTSLiteralType(node, opts = {}) { + assert("TSLiteralType", node, opts); +} + +function assertTSExpressionWithTypeArguments(node, opts = {}) { + assert("TSExpressionWithTypeArguments", node, opts); +} + +function assertTSInterfaceDeclaration(node, opts = {}) { + assert("TSInterfaceDeclaration", node, opts); +} + +function assertTSInterfaceBody(node, opts = {}) { + assert("TSInterfaceBody", node, opts); +} + +function assertTSTypeAliasDeclaration(node, opts = {}) { + assert("TSTypeAliasDeclaration", node, opts); +} + +function assertTSAsExpression(node, opts = {}) { + assert("TSAsExpression", node, opts); +} + +function assertTSTypeAssertion(node, opts = {}) { + assert("TSTypeAssertion", node, opts); +} + +function assertTSEnumDeclaration(node, opts = {}) { + assert("TSEnumDeclaration", node, opts); +} + +function assertTSEnumMember(node, opts = {}) { + assert("TSEnumMember", node, opts); +} + +function assertTSModuleDeclaration(node, opts = {}) { + assert("TSModuleDeclaration", node, opts); +} + +function assertTSModuleBlock(node, opts = {}) { + assert("TSModuleBlock", node, opts); +} + +function assertTSImportType(node, opts = {}) { + assert("TSImportType", node, opts); +} + +function assertTSImportEqualsDeclaration(node, opts = {}) { + assert("TSImportEqualsDeclaration", node, opts); +} + +function assertTSExternalModuleReference(node, opts = {}) { + assert("TSExternalModuleReference", node, opts); +} + +function assertTSNonNullExpression(node, opts = {}) { + assert("TSNonNullExpression", node, opts); +} + +function assertTSExportAssignment(node, opts = {}) { + assert("TSExportAssignment", node, opts); +} + +function assertTSNamespaceExportDeclaration(node, opts = {}) { + assert("TSNamespaceExportDeclaration", node, opts); +} + +function assertTSTypeAnnotation(node, opts = {}) { + assert("TSTypeAnnotation", node, opts); +} + +function assertTSTypeParameterInstantiation(node, opts = {}) { + assert("TSTypeParameterInstantiation", node, opts); +} + +function assertTSTypeParameterDeclaration(node, opts = {}) { + assert("TSTypeParameterDeclaration", node, opts); +} + +function assertTSTypeParameter(node, opts = {}) { + assert("TSTypeParameter", node, opts); +} + +function assertExpression(node, opts = {}) { + assert("Expression", node, opts); +} + +function assertBinary(node, opts = {}) { + assert("Binary", node, opts); +} + +function assertScopable(node, opts = {}) { + assert("Scopable", node, opts); +} + +function assertBlockParent(node, opts = {}) { + assert("BlockParent", node, opts); +} + +function assertBlock(node, opts = {}) { + assert("Block", node, opts); +} + +function assertStatement(node, opts = {}) { + assert("Statement", node, opts); +} + +function assertTerminatorless(node, opts = {}) { + assert("Terminatorless", node, opts); +} + +function assertCompletionStatement(node, opts = {}) { + assert("CompletionStatement", node, opts); +} + +function assertConditional(node, opts = {}) { + assert("Conditional", node, opts); +} + +function assertLoop(node, opts = {}) { + assert("Loop", node, opts); +} + +function assertWhile(node, opts = {}) { + assert("While", node, opts); +} + +function assertExpressionWrapper(node, opts = {}) { + assert("ExpressionWrapper", node, opts); +} + +function assertFor(node, opts = {}) { + assert("For", node, opts); +} + +function assertForXStatement(node, opts = {}) { + assert("ForXStatement", node, opts); +} + +function assertFunction(node, opts = {}) { + assert("Function", node, opts); +} + +function assertFunctionParent(node, opts = {}) { + assert("FunctionParent", node, opts); +} + +function assertPureish(node, opts = {}) { + assert("Pureish", node, opts); +} + +function assertDeclaration(node, opts = {}) { + assert("Declaration", node, opts); +} + +function assertPatternLike(node, opts = {}) { + assert("PatternLike", node, opts); +} + +function assertLVal(node, opts = {}) { + assert("LVal", node, opts); +} + +function assertTSEntityName(node, opts = {}) { + assert("TSEntityName", node, opts); +} + +function assertLiteral(node, opts = {}) { + assert("Literal", node, opts); +} + +function assertImmutable(node, opts = {}) { + assert("Immutable", node, opts); +} + +function assertUserWhitespacable(node, opts = {}) { + assert("UserWhitespacable", node, opts); +} + +function assertMethod(node, opts = {}) { + assert("Method", node, opts); +} + +function assertObjectMember(node, opts = {}) { + assert("ObjectMember", node, opts); +} + +function assertProperty(node, opts = {}) { + assert("Property", node, opts); +} + +function assertUnaryLike(node, opts = {}) { + assert("UnaryLike", node, opts); +} + +function assertPattern(node, opts = {}) { + assert("Pattern", node, opts); +} + +function assertClass(node, opts = {}) { + assert("Class", node, opts); +} + +function assertModuleDeclaration(node, opts = {}) { + assert("ModuleDeclaration", node, opts); +} + +function assertExportDeclaration(node, opts = {}) { + assert("ExportDeclaration", node, opts); +} + +function assertModuleSpecifier(node, opts = {}) { + assert("ModuleSpecifier", node, opts); +} + +function assertFlow(node, opts = {}) { + assert("Flow", node, opts); +} + +function assertFlowType(node, opts = {}) { + assert("FlowType", node, opts); +} + +function assertFlowBaseAnnotation(node, opts = {}) { + assert("FlowBaseAnnotation", node, opts); +} + +function assertFlowDeclaration(node, opts = {}) { + assert("FlowDeclaration", node, opts); +} + +function assertFlowPredicate(node, opts = {}) { + assert("FlowPredicate", node, opts); +} + +function assertEnumBody(node, opts = {}) { + assert("EnumBody", node, opts); +} + +function assertEnumMember(node, opts = {}) { + assert("EnumMember", node, opts); +} + +function assertJSX(node, opts = {}) { + assert("JSX", node, opts); +} + +function assertPrivate(node, opts = {}) { + assert("Private", node, opts); +} + +function assertTSTypeElement(node, opts = {}) { + assert("TSTypeElement", node, opts); +} + +function assertTSType(node, opts = {}) { + assert("TSType", node, opts); +} + +function assertTSBaseType(node, opts = {}) { + assert("TSBaseType", node, opts); +} + +function assertNumberLiteral(node, opts) { + console.trace("The node type NumberLiteral has been renamed to NumericLiteral"); + assert("NumberLiteral", node, opts); +} + +function assertRegexLiteral(node, opts) { + console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"); + assert("RegexLiteral", node, opts); +} + +function assertRestProperty(node, opts) { + console.trace("The node type RestProperty has been renamed to RestElement"); + assert("RestProperty", node, opts); +} + +function assertSpreadProperty(node, opts) { + console.trace("The node type SpreadProperty has been renamed to SpreadElement"); + assert("SpreadProperty", node, opts); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/builders/builder.js b/node_modules/@babel/types/lib/builders/builder.js new file mode 100644 index 000000000..812cc1793 --- /dev/null +++ b/node_modules/@babel/types/lib/builders/builder.js @@ -0,0 +1,42 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = builder; + +var _clone = _interopRequireDefault(require("lodash/clone")); + +var _definitions = require("../definitions"); + +var _validate = _interopRequireDefault(require("../validators/validate")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function builder(type, ...args) { + const keys = _definitions.BUILDER_KEYS[type]; + const countArgs = args.length; + + if (countArgs > keys.length) { + throw new Error(`${type}: Too many arguments passed. Received ${countArgs} but can receive no more than ${keys.length}`); + } + + const node = { + type + }; + let i = 0; + keys.forEach(key => { + const field = _definitions.NODE_FIELDS[type][key]; + let arg; + if (i < countArgs) arg = args[i]; + if (arg === undefined) arg = (0, _clone.default)(field.default); + node[key] = arg; + i++; + }); + + for (const key of Object.keys(node)) { + (0, _validate.default)(node, key, node[key]); + } + + return node; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js b/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js new file mode 100644 index 000000000..a91391ffd --- /dev/null +++ b/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js @@ -0,0 +1,22 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = createFlowUnionType; + +var _generated = require("../generated"); + +var _removeTypeDuplicates = _interopRequireDefault(require("../../modifications/flow/removeTypeDuplicates")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function createFlowUnionType(types) { + const flattened = (0, _removeTypeDuplicates.default)(types); + + if (flattened.length === 1) { + return flattened[0]; + } else { + return (0, _generated.unionTypeAnnotation)(flattened); + } +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js b/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js new file mode 100644 index 000000000..4724335f2 --- /dev/null +++ b/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js @@ -0,0 +1,28 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = createTypeAnnotationBasedOnTypeof; + +var _generated = require("../generated"); + +function createTypeAnnotationBasedOnTypeof(type) { + if (type === "string") { + return (0, _generated.stringTypeAnnotation)(); + } else if (type === "number") { + return (0, _generated.numberTypeAnnotation)(); + } else if (type === "undefined") { + return (0, _generated.voidTypeAnnotation)(); + } else if (type === "boolean") { + return (0, _generated.booleanTypeAnnotation)(); + } else if (type === "function") { + return (0, _generated.genericTypeAnnotation)((0, _generated.identifier)("Function")); + } else if (type === "object") { + return (0, _generated.genericTypeAnnotation)((0, _generated.identifier)("Object")); + } else if (type === "symbol") { + return (0, _generated.genericTypeAnnotation)((0, _generated.identifier)("Symbol")); + } else { + throw new Error("Invalid typeof value"); + } +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/builders/generated/index.js b/node_modules/@babel/types/lib/builders/generated/index.js new file mode 100644 index 000000000..85f0b6ed5 --- /dev/null +++ b/node_modules/@babel/types/lib/builders/generated/index.js @@ -0,0 +1,1233 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.ArrayExpression = exports.arrayExpression = arrayExpression; +exports.AssignmentExpression = exports.assignmentExpression = assignmentExpression; +exports.BinaryExpression = exports.binaryExpression = binaryExpression; +exports.InterpreterDirective = exports.interpreterDirective = interpreterDirective; +exports.Directive = exports.directive = directive; +exports.DirectiveLiteral = exports.directiveLiteral = directiveLiteral; +exports.BlockStatement = exports.blockStatement = blockStatement; +exports.BreakStatement = exports.breakStatement = breakStatement; +exports.CallExpression = exports.callExpression = callExpression; +exports.CatchClause = exports.catchClause = catchClause; +exports.ConditionalExpression = exports.conditionalExpression = conditionalExpression; +exports.ContinueStatement = exports.continueStatement = continueStatement; +exports.DebuggerStatement = exports.debuggerStatement = debuggerStatement; +exports.DoWhileStatement = exports.doWhileStatement = doWhileStatement; +exports.EmptyStatement = exports.emptyStatement = emptyStatement; +exports.ExpressionStatement = exports.expressionStatement = expressionStatement; +exports.File = exports.file = file; +exports.ForInStatement = exports.forInStatement = forInStatement; +exports.ForStatement = exports.forStatement = forStatement; +exports.FunctionDeclaration = exports.functionDeclaration = functionDeclaration; +exports.FunctionExpression = exports.functionExpression = functionExpression; +exports.Identifier = exports.identifier = identifier; +exports.IfStatement = exports.ifStatement = ifStatement; +exports.LabeledStatement = exports.labeledStatement = labeledStatement; +exports.StringLiteral = exports.stringLiteral = stringLiteral; +exports.NumericLiteral = exports.numericLiteral = numericLiteral; +exports.NullLiteral = exports.nullLiteral = nullLiteral; +exports.BooleanLiteral = exports.booleanLiteral = booleanLiteral; +exports.RegExpLiteral = exports.regExpLiteral = regExpLiteral; +exports.LogicalExpression = exports.logicalExpression = logicalExpression; +exports.MemberExpression = exports.memberExpression = memberExpression; +exports.NewExpression = exports.newExpression = newExpression; +exports.Program = exports.program = program; +exports.ObjectExpression = exports.objectExpression = objectExpression; +exports.ObjectMethod = exports.objectMethod = objectMethod; +exports.ObjectProperty = exports.objectProperty = objectProperty; +exports.RestElement = exports.restElement = restElement; +exports.ReturnStatement = exports.returnStatement = returnStatement; +exports.SequenceExpression = exports.sequenceExpression = sequenceExpression; +exports.ParenthesizedExpression = exports.parenthesizedExpression = parenthesizedExpression; +exports.SwitchCase = exports.switchCase = switchCase; +exports.SwitchStatement = exports.switchStatement = switchStatement; +exports.ThisExpression = exports.thisExpression = thisExpression; +exports.ThrowStatement = exports.throwStatement = throwStatement; +exports.TryStatement = exports.tryStatement = tryStatement; +exports.UnaryExpression = exports.unaryExpression = unaryExpression; +exports.UpdateExpression = exports.updateExpression = updateExpression; +exports.VariableDeclaration = exports.variableDeclaration = variableDeclaration; +exports.VariableDeclarator = exports.variableDeclarator = variableDeclarator; +exports.WhileStatement = exports.whileStatement = whileStatement; +exports.WithStatement = exports.withStatement = withStatement; +exports.AssignmentPattern = exports.assignmentPattern = assignmentPattern; +exports.ArrayPattern = exports.arrayPattern = arrayPattern; +exports.ArrowFunctionExpression = exports.arrowFunctionExpression = arrowFunctionExpression; +exports.ClassBody = exports.classBody = classBody; +exports.ClassExpression = exports.classExpression = classExpression; +exports.ClassDeclaration = exports.classDeclaration = classDeclaration; +exports.ExportAllDeclaration = exports.exportAllDeclaration = exportAllDeclaration; +exports.ExportDefaultDeclaration = exports.exportDefaultDeclaration = exportDefaultDeclaration; +exports.ExportNamedDeclaration = exports.exportNamedDeclaration = exportNamedDeclaration; +exports.ExportSpecifier = exports.exportSpecifier = exportSpecifier; +exports.ForOfStatement = exports.forOfStatement = forOfStatement; +exports.ImportDeclaration = exports.importDeclaration = importDeclaration; +exports.ImportDefaultSpecifier = exports.importDefaultSpecifier = importDefaultSpecifier; +exports.ImportNamespaceSpecifier = exports.importNamespaceSpecifier = importNamespaceSpecifier; +exports.ImportSpecifier = exports.importSpecifier = importSpecifier; +exports.MetaProperty = exports.metaProperty = metaProperty; +exports.ClassMethod = exports.classMethod = classMethod; +exports.ObjectPattern = exports.objectPattern = objectPattern; +exports.SpreadElement = exports.spreadElement = spreadElement; +exports.super = exports.Super = _super; +exports.TaggedTemplateExpression = exports.taggedTemplateExpression = taggedTemplateExpression; +exports.TemplateElement = exports.templateElement = templateElement; +exports.TemplateLiteral = exports.templateLiteral = templateLiteral; +exports.YieldExpression = exports.yieldExpression = yieldExpression; +exports.AwaitExpression = exports.awaitExpression = awaitExpression; +exports.import = exports.Import = _import; +exports.BigIntLiteral = exports.bigIntLiteral = bigIntLiteral; +exports.ExportNamespaceSpecifier = exports.exportNamespaceSpecifier = exportNamespaceSpecifier; +exports.OptionalMemberExpression = exports.optionalMemberExpression = optionalMemberExpression; +exports.OptionalCallExpression = exports.optionalCallExpression = optionalCallExpression; +exports.AnyTypeAnnotation = exports.anyTypeAnnotation = anyTypeAnnotation; +exports.ArrayTypeAnnotation = exports.arrayTypeAnnotation = arrayTypeAnnotation; +exports.BooleanTypeAnnotation = exports.booleanTypeAnnotation = booleanTypeAnnotation; +exports.BooleanLiteralTypeAnnotation = exports.booleanLiteralTypeAnnotation = booleanLiteralTypeAnnotation; +exports.NullLiteralTypeAnnotation = exports.nullLiteralTypeAnnotation = nullLiteralTypeAnnotation; +exports.ClassImplements = exports.classImplements = classImplements; +exports.DeclareClass = exports.declareClass = declareClass; +exports.DeclareFunction = exports.declareFunction = declareFunction; +exports.DeclareInterface = exports.declareInterface = declareInterface; +exports.DeclareModule = exports.declareModule = declareModule; +exports.DeclareModuleExports = exports.declareModuleExports = declareModuleExports; +exports.DeclareTypeAlias = exports.declareTypeAlias = declareTypeAlias; +exports.DeclareOpaqueType = exports.declareOpaqueType = declareOpaqueType; +exports.DeclareVariable = exports.declareVariable = declareVariable; +exports.DeclareExportDeclaration = exports.declareExportDeclaration = declareExportDeclaration; +exports.DeclareExportAllDeclaration = exports.declareExportAllDeclaration = declareExportAllDeclaration; +exports.DeclaredPredicate = exports.declaredPredicate = declaredPredicate; +exports.ExistsTypeAnnotation = exports.existsTypeAnnotation = existsTypeAnnotation; +exports.FunctionTypeAnnotation = exports.functionTypeAnnotation = functionTypeAnnotation; +exports.FunctionTypeParam = exports.functionTypeParam = functionTypeParam; +exports.GenericTypeAnnotation = exports.genericTypeAnnotation = genericTypeAnnotation; +exports.InferredPredicate = exports.inferredPredicate = inferredPredicate; +exports.InterfaceExtends = exports.interfaceExtends = interfaceExtends; +exports.InterfaceDeclaration = exports.interfaceDeclaration = interfaceDeclaration; +exports.InterfaceTypeAnnotation = exports.interfaceTypeAnnotation = interfaceTypeAnnotation; +exports.IntersectionTypeAnnotation = exports.intersectionTypeAnnotation = intersectionTypeAnnotation; +exports.MixedTypeAnnotation = exports.mixedTypeAnnotation = mixedTypeAnnotation; +exports.EmptyTypeAnnotation = exports.emptyTypeAnnotation = emptyTypeAnnotation; +exports.NullableTypeAnnotation = exports.nullableTypeAnnotation = nullableTypeAnnotation; +exports.NumberLiteralTypeAnnotation = exports.numberLiteralTypeAnnotation = numberLiteralTypeAnnotation; +exports.NumberTypeAnnotation = exports.numberTypeAnnotation = numberTypeAnnotation; +exports.ObjectTypeAnnotation = exports.objectTypeAnnotation = objectTypeAnnotation; +exports.ObjectTypeInternalSlot = exports.objectTypeInternalSlot = objectTypeInternalSlot; +exports.ObjectTypeCallProperty = exports.objectTypeCallProperty = objectTypeCallProperty; +exports.ObjectTypeIndexer = exports.objectTypeIndexer = objectTypeIndexer; +exports.ObjectTypeProperty = exports.objectTypeProperty = objectTypeProperty; +exports.ObjectTypeSpreadProperty = exports.objectTypeSpreadProperty = objectTypeSpreadProperty; +exports.OpaqueType = exports.opaqueType = opaqueType; +exports.QualifiedTypeIdentifier = exports.qualifiedTypeIdentifier = qualifiedTypeIdentifier; +exports.StringLiteralTypeAnnotation = exports.stringLiteralTypeAnnotation = stringLiteralTypeAnnotation; +exports.StringTypeAnnotation = exports.stringTypeAnnotation = stringTypeAnnotation; +exports.SymbolTypeAnnotation = exports.symbolTypeAnnotation = symbolTypeAnnotation; +exports.ThisTypeAnnotation = exports.thisTypeAnnotation = thisTypeAnnotation; +exports.TupleTypeAnnotation = exports.tupleTypeAnnotation = tupleTypeAnnotation; +exports.TypeofTypeAnnotation = exports.typeofTypeAnnotation = typeofTypeAnnotation; +exports.TypeAlias = exports.typeAlias = typeAlias; +exports.TypeAnnotation = exports.typeAnnotation = typeAnnotation; +exports.TypeCastExpression = exports.typeCastExpression = typeCastExpression; +exports.TypeParameter = exports.typeParameter = typeParameter; +exports.TypeParameterDeclaration = exports.typeParameterDeclaration = typeParameterDeclaration; +exports.TypeParameterInstantiation = exports.typeParameterInstantiation = typeParameterInstantiation; +exports.UnionTypeAnnotation = exports.unionTypeAnnotation = unionTypeAnnotation; +exports.Variance = exports.variance = variance; +exports.VoidTypeAnnotation = exports.voidTypeAnnotation = voidTypeAnnotation; +exports.EnumDeclaration = exports.enumDeclaration = enumDeclaration; +exports.EnumBooleanBody = exports.enumBooleanBody = enumBooleanBody; +exports.EnumNumberBody = exports.enumNumberBody = enumNumberBody; +exports.EnumStringBody = exports.enumStringBody = enumStringBody; +exports.EnumSymbolBody = exports.enumSymbolBody = enumSymbolBody; +exports.EnumBooleanMember = exports.enumBooleanMember = enumBooleanMember; +exports.EnumNumberMember = exports.enumNumberMember = enumNumberMember; +exports.EnumStringMember = exports.enumStringMember = enumStringMember; +exports.EnumDefaultedMember = exports.enumDefaultedMember = enumDefaultedMember; +exports.jSXAttribute = exports.JSXAttribute = exports.jsxAttribute = jsxAttribute; +exports.jSXClosingElement = exports.JSXClosingElement = exports.jsxClosingElement = jsxClosingElement; +exports.jSXElement = exports.JSXElement = exports.jsxElement = jsxElement; +exports.jSXEmptyExpression = exports.JSXEmptyExpression = exports.jsxEmptyExpression = jsxEmptyExpression; +exports.jSXExpressionContainer = exports.JSXExpressionContainer = exports.jsxExpressionContainer = jsxExpressionContainer; +exports.jSXSpreadChild = exports.JSXSpreadChild = exports.jsxSpreadChild = jsxSpreadChild; +exports.jSXIdentifier = exports.JSXIdentifier = exports.jsxIdentifier = jsxIdentifier; +exports.jSXMemberExpression = exports.JSXMemberExpression = exports.jsxMemberExpression = jsxMemberExpression; +exports.jSXNamespacedName = exports.JSXNamespacedName = exports.jsxNamespacedName = jsxNamespacedName; +exports.jSXOpeningElement = exports.JSXOpeningElement = exports.jsxOpeningElement = jsxOpeningElement; +exports.jSXSpreadAttribute = exports.JSXSpreadAttribute = exports.jsxSpreadAttribute = jsxSpreadAttribute; +exports.jSXText = exports.JSXText = exports.jsxText = jsxText; +exports.jSXFragment = exports.JSXFragment = exports.jsxFragment = jsxFragment; +exports.jSXOpeningFragment = exports.JSXOpeningFragment = exports.jsxOpeningFragment = jsxOpeningFragment; +exports.jSXClosingFragment = exports.JSXClosingFragment = exports.jsxClosingFragment = jsxClosingFragment; +exports.Noop = exports.noop = noop; +exports.Placeholder = exports.placeholder = placeholder; +exports.V8IntrinsicIdentifier = exports.v8IntrinsicIdentifier = v8IntrinsicIdentifier; +exports.ArgumentPlaceholder = exports.argumentPlaceholder = argumentPlaceholder; +exports.BindExpression = exports.bindExpression = bindExpression; +exports.ClassProperty = exports.classProperty = classProperty; +exports.PipelineTopicExpression = exports.pipelineTopicExpression = pipelineTopicExpression; +exports.PipelineBareFunction = exports.pipelineBareFunction = pipelineBareFunction; +exports.PipelinePrimaryTopicReference = exports.pipelinePrimaryTopicReference = pipelinePrimaryTopicReference; +exports.ClassPrivateProperty = exports.classPrivateProperty = classPrivateProperty; +exports.ClassPrivateMethod = exports.classPrivateMethod = classPrivateMethod; +exports.ImportAttribute = exports.importAttribute = importAttribute; +exports.Decorator = exports.decorator = decorator; +exports.DoExpression = exports.doExpression = doExpression; +exports.ExportDefaultSpecifier = exports.exportDefaultSpecifier = exportDefaultSpecifier; +exports.PrivateName = exports.privateName = privateName; +exports.RecordExpression = exports.recordExpression = recordExpression; +exports.TupleExpression = exports.tupleExpression = tupleExpression; +exports.DecimalLiteral = exports.decimalLiteral = decimalLiteral; +exports.tSParameterProperty = exports.TSParameterProperty = exports.tsParameterProperty = tsParameterProperty; +exports.tSDeclareFunction = exports.TSDeclareFunction = exports.tsDeclareFunction = tsDeclareFunction; +exports.tSDeclareMethod = exports.TSDeclareMethod = exports.tsDeclareMethod = tsDeclareMethod; +exports.tSQualifiedName = exports.TSQualifiedName = exports.tsQualifiedName = tsQualifiedName; +exports.tSCallSignatureDeclaration = exports.TSCallSignatureDeclaration = exports.tsCallSignatureDeclaration = tsCallSignatureDeclaration; +exports.tSConstructSignatureDeclaration = exports.TSConstructSignatureDeclaration = exports.tsConstructSignatureDeclaration = tsConstructSignatureDeclaration; +exports.tSPropertySignature = exports.TSPropertySignature = exports.tsPropertySignature = tsPropertySignature; +exports.tSMethodSignature = exports.TSMethodSignature = exports.tsMethodSignature = tsMethodSignature; +exports.tSIndexSignature = exports.TSIndexSignature = exports.tsIndexSignature = tsIndexSignature; +exports.tSAnyKeyword = exports.TSAnyKeyword = exports.tsAnyKeyword = tsAnyKeyword; +exports.tSBooleanKeyword = exports.TSBooleanKeyword = exports.tsBooleanKeyword = tsBooleanKeyword; +exports.tSBigIntKeyword = exports.TSBigIntKeyword = exports.tsBigIntKeyword = tsBigIntKeyword; +exports.tSNeverKeyword = exports.TSNeverKeyword = exports.tsNeverKeyword = tsNeverKeyword; +exports.tSNullKeyword = exports.TSNullKeyword = exports.tsNullKeyword = tsNullKeyword; +exports.tSNumberKeyword = exports.TSNumberKeyword = exports.tsNumberKeyword = tsNumberKeyword; +exports.tSObjectKeyword = exports.TSObjectKeyword = exports.tsObjectKeyword = tsObjectKeyword; +exports.tSStringKeyword = exports.TSStringKeyword = exports.tsStringKeyword = tsStringKeyword; +exports.tSSymbolKeyword = exports.TSSymbolKeyword = exports.tsSymbolKeyword = tsSymbolKeyword; +exports.tSUndefinedKeyword = exports.TSUndefinedKeyword = exports.tsUndefinedKeyword = tsUndefinedKeyword; +exports.tSUnknownKeyword = exports.TSUnknownKeyword = exports.tsUnknownKeyword = tsUnknownKeyword; +exports.tSVoidKeyword = exports.TSVoidKeyword = exports.tsVoidKeyword = tsVoidKeyword; +exports.tSThisType = exports.TSThisType = exports.tsThisType = tsThisType; +exports.tSFunctionType = exports.TSFunctionType = exports.tsFunctionType = tsFunctionType; +exports.tSConstructorType = exports.TSConstructorType = exports.tsConstructorType = tsConstructorType; +exports.tSTypeReference = exports.TSTypeReference = exports.tsTypeReference = tsTypeReference; +exports.tSTypePredicate = exports.TSTypePredicate = exports.tsTypePredicate = tsTypePredicate; +exports.tSTypeQuery = exports.TSTypeQuery = exports.tsTypeQuery = tsTypeQuery; +exports.tSTypeLiteral = exports.TSTypeLiteral = exports.tsTypeLiteral = tsTypeLiteral; +exports.tSArrayType = exports.TSArrayType = exports.tsArrayType = tsArrayType; +exports.tSTupleType = exports.TSTupleType = exports.tsTupleType = tsTupleType; +exports.tSOptionalType = exports.TSOptionalType = exports.tsOptionalType = tsOptionalType; +exports.tSRestType = exports.TSRestType = exports.tsRestType = tsRestType; +exports.tSNamedTupleMember = exports.TSNamedTupleMember = exports.tsNamedTupleMember = tsNamedTupleMember; +exports.tSUnionType = exports.TSUnionType = exports.tsUnionType = tsUnionType; +exports.tSIntersectionType = exports.TSIntersectionType = exports.tsIntersectionType = tsIntersectionType; +exports.tSConditionalType = exports.TSConditionalType = exports.tsConditionalType = tsConditionalType; +exports.tSInferType = exports.TSInferType = exports.tsInferType = tsInferType; +exports.tSParenthesizedType = exports.TSParenthesizedType = exports.tsParenthesizedType = tsParenthesizedType; +exports.tSTypeOperator = exports.TSTypeOperator = exports.tsTypeOperator = tsTypeOperator; +exports.tSIndexedAccessType = exports.TSIndexedAccessType = exports.tsIndexedAccessType = tsIndexedAccessType; +exports.tSMappedType = exports.TSMappedType = exports.tsMappedType = tsMappedType; +exports.tSLiteralType = exports.TSLiteralType = exports.tsLiteralType = tsLiteralType; +exports.tSExpressionWithTypeArguments = exports.TSExpressionWithTypeArguments = exports.tsExpressionWithTypeArguments = tsExpressionWithTypeArguments; +exports.tSInterfaceDeclaration = exports.TSInterfaceDeclaration = exports.tsInterfaceDeclaration = tsInterfaceDeclaration; +exports.tSInterfaceBody = exports.TSInterfaceBody = exports.tsInterfaceBody = tsInterfaceBody; +exports.tSTypeAliasDeclaration = exports.TSTypeAliasDeclaration = exports.tsTypeAliasDeclaration = tsTypeAliasDeclaration; +exports.tSAsExpression = exports.TSAsExpression = exports.tsAsExpression = tsAsExpression; +exports.tSTypeAssertion = exports.TSTypeAssertion = exports.tsTypeAssertion = tsTypeAssertion; +exports.tSEnumDeclaration = exports.TSEnumDeclaration = exports.tsEnumDeclaration = tsEnumDeclaration; +exports.tSEnumMember = exports.TSEnumMember = exports.tsEnumMember = tsEnumMember; +exports.tSModuleDeclaration = exports.TSModuleDeclaration = exports.tsModuleDeclaration = tsModuleDeclaration; +exports.tSModuleBlock = exports.TSModuleBlock = exports.tsModuleBlock = tsModuleBlock; +exports.tSImportType = exports.TSImportType = exports.tsImportType = tsImportType; +exports.tSImportEqualsDeclaration = exports.TSImportEqualsDeclaration = exports.tsImportEqualsDeclaration = tsImportEqualsDeclaration; +exports.tSExternalModuleReference = exports.TSExternalModuleReference = exports.tsExternalModuleReference = tsExternalModuleReference; +exports.tSNonNullExpression = exports.TSNonNullExpression = exports.tsNonNullExpression = tsNonNullExpression; +exports.tSExportAssignment = exports.TSExportAssignment = exports.tsExportAssignment = tsExportAssignment; +exports.tSNamespaceExportDeclaration = exports.TSNamespaceExportDeclaration = exports.tsNamespaceExportDeclaration = tsNamespaceExportDeclaration; +exports.tSTypeAnnotation = exports.TSTypeAnnotation = exports.tsTypeAnnotation = tsTypeAnnotation; +exports.tSTypeParameterInstantiation = exports.TSTypeParameterInstantiation = exports.tsTypeParameterInstantiation = tsTypeParameterInstantiation; +exports.tSTypeParameterDeclaration = exports.TSTypeParameterDeclaration = exports.tsTypeParameterDeclaration = tsTypeParameterDeclaration; +exports.tSTypeParameter = exports.TSTypeParameter = exports.tsTypeParameter = tsTypeParameter; +exports.numberLiteral = exports.NumberLiteral = NumberLiteral; +exports.regexLiteral = exports.RegexLiteral = RegexLiteral; +exports.restProperty = exports.RestProperty = RestProperty; +exports.spreadProperty = exports.SpreadProperty = SpreadProperty; + +var _builder = _interopRequireDefault(require("../builder")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function arrayExpression(...args) { + return (0, _builder.default)("ArrayExpression", ...args); +} + +function assignmentExpression(...args) { + return (0, _builder.default)("AssignmentExpression", ...args); +} + +function binaryExpression(...args) { + return (0, _builder.default)("BinaryExpression", ...args); +} + +function interpreterDirective(...args) { + return (0, _builder.default)("InterpreterDirective", ...args); +} + +function directive(...args) { + return (0, _builder.default)("Directive", ...args); +} + +function directiveLiteral(...args) { + return (0, _builder.default)("DirectiveLiteral", ...args); +} + +function blockStatement(...args) { + return (0, _builder.default)("BlockStatement", ...args); +} + +function breakStatement(...args) { + return (0, _builder.default)("BreakStatement", ...args); +} + +function callExpression(...args) { + return (0, _builder.default)("CallExpression", ...args); +} + +function catchClause(...args) { + return (0, _builder.default)("CatchClause", ...args); +} + +function conditionalExpression(...args) { + return (0, _builder.default)("ConditionalExpression", ...args); +} + +function continueStatement(...args) { + return (0, _builder.default)("ContinueStatement", ...args); +} + +function debuggerStatement(...args) { + return (0, _builder.default)("DebuggerStatement", ...args); +} + +function doWhileStatement(...args) { + return (0, _builder.default)("DoWhileStatement", ...args); +} + +function emptyStatement(...args) { + return (0, _builder.default)("EmptyStatement", ...args); +} + +function expressionStatement(...args) { + return (0, _builder.default)("ExpressionStatement", ...args); +} + +function file(...args) { + return (0, _builder.default)("File", ...args); +} + +function forInStatement(...args) { + return (0, _builder.default)("ForInStatement", ...args); +} + +function forStatement(...args) { + return (0, _builder.default)("ForStatement", ...args); +} + +function functionDeclaration(...args) { + return (0, _builder.default)("FunctionDeclaration", ...args); +} + +function functionExpression(...args) { + return (0, _builder.default)("FunctionExpression", ...args); +} + +function identifier(...args) { + return (0, _builder.default)("Identifier", ...args); +} + +function ifStatement(...args) { + return (0, _builder.default)("IfStatement", ...args); +} + +function labeledStatement(...args) { + return (0, _builder.default)("LabeledStatement", ...args); +} + +function stringLiteral(...args) { + return (0, _builder.default)("StringLiteral", ...args); +} + +function numericLiteral(...args) { + return (0, _builder.default)("NumericLiteral", ...args); +} + +function nullLiteral(...args) { + return (0, _builder.default)("NullLiteral", ...args); +} + +function booleanLiteral(...args) { + return (0, _builder.default)("BooleanLiteral", ...args); +} + +function regExpLiteral(...args) { + return (0, _builder.default)("RegExpLiteral", ...args); +} + +function logicalExpression(...args) { + return (0, _builder.default)("LogicalExpression", ...args); +} + +function memberExpression(...args) { + return (0, _builder.default)("MemberExpression", ...args); +} + +function newExpression(...args) { + return (0, _builder.default)("NewExpression", ...args); +} + +function program(...args) { + return (0, _builder.default)("Program", ...args); +} + +function objectExpression(...args) { + return (0, _builder.default)("ObjectExpression", ...args); +} + +function objectMethod(...args) { + return (0, _builder.default)("ObjectMethod", ...args); +} + +function objectProperty(...args) { + return (0, _builder.default)("ObjectProperty", ...args); +} + +function restElement(...args) { + return (0, _builder.default)("RestElement", ...args); +} + +function returnStatement(...args) { + return (0, _builder.default)("ReturnStatement", ...args); +} + +function sequenceExpression(...args) { + return (0, _builder.default)("SequenceExpression", ...args); +} + +function parenthesizedExpression(...args) { + return (0, _builder.default)("ParenthesizedExpression", ...args); +} + +function switchCase(...args) { + return (0, _builder.default)("SwitchCase", ...args); +} + +function switchStatement(...args) { + return (0, _builder.default)("SwitchStatement", ...args); +} + +function thisExpression(...args) { + return (0, _builder.default)("ThisExpression", ...args); +} + +function throwStatement(...args) { + return (0, _builder.default)("ThrowStatement", ...args); +} + +function tryStatement(...args) { + return (0, _builder.default)("TryStatement", ...args); +} + +function unaryExpression(...args) { + return (0, _builder.default)("UnaryExpression", ...args); +} + +function updateExpression(...args) { + return (0, _builder.default)("UpdateExpression", ...args); +} + +function variableDeclaration(...args) { + return (0, _builder.default)("VariableDeclaration", ...args); +} + +function variableDeclarator(...args) { + return (0, _builder.default)("VariableDeclarator", ...args); +} + +function whileStatement(...args) { + return (0, _builder.default)("WhileStatement", ...args); +} + +function withStatement(...args) { + return (0, _builder.default)("WithStatement", ...args); +} + +function assignmentPattern(...args) { + return (0, _builder.default)("AssignmentPattern", ...args); +} + +function arrayPattern(...args) { + return (0, _builder.default)("ArrayPattern", ...args); +} + +function arrowFunctionExpression(...args) { + return (0, _builder.default)("ArrowFunctionExpression", ...args); +} + +function classBody(...args) { + return (0, _builder.default)("ClassBody", ...args); +} + +function classExpression(...args) { + return (0, _builder.default)("ClassExpression", ...args); +} + +function classDeclaration(...args) { + return (0, _builder.default)("ClassDeclaration", ...args); +} + +function exportAllDeclaration(...args) { + return (0, _builder.default)("ExportAllDeclaration", ...args); +} + +function exportDefaultDeclaration(...args) { + return (0, _builder.default)("ExportDefaultDeclaration", ...args); +} + +function exportNamedDeclaration(...args) { + return (0, _builder.default)("ExportNamedDeclaration", ...args); +} + +function exportSpecifier(...args) { + return (0, _builder.default)("ExportSpecifier", ...args); +} + +function forOfStatement(...args) { + return (0, _builder.default)("ForOfStatement", ...args); +} + +function importDeclaration(...args) { + return (0, _builder.default)("ImportDeclaration", ...args); +} + +function importDefaultSpecifier(...args) { + return (0, _builder.default)("ImportDefaultSpecifier", ...args); +} + +function importNamespaceSpecifier(...args) { + return (0, _builder.default)("ImportNamespaceSpecifier", ...args); +} + +function importSpecifier(...args) { + return (0, _builder.default)("ImportSpecifier", ...args); +} + +function metaProperty(...args) { + return (0, _builder.default)("MetaProperty", ...args); +} + +function classMethod(...args) { + return (0, _builder.default)("ClassMethod", ...args); +} + +function objectPattern(...args) { + return (0, _builder.default)("ObjectPattern", ...args); +} + +function spreadElement(...args) { + return (0, _builder.default)("SpreadElement", ...args); +} + +function _super(...args) { + return (0, _builder.default)("Super", ...args); +} + +function taggedTemplateExpression(...args) { + return (0, _builder.default)("TaggedTemplateExpression", ...args); +} + +function templateElement(...args) { + return (0, _builder.default)("TemplateElement", ...args); +} + +function templateLiteral(...args) { + return (0, _builder.default)("TemplateLiteral", ...args); +} + +function yieldExpression(...args) { + return (0, _builder.default)("YieldExpression", ...args); +} + +function awaitExpression(...args) { + return (0, _builder.default)("AwaitExpression", ...args); +} + +function _import(...args) { + return (0, _builder.default)("Import", ...args); +} + +function bigIntLiteral(...args) { + return (0, _builder.default)("BigIntLiteral", ...args); +} + +function exportNamespaceSpecifier(...args) { + return (0, _builder.default)("ExportNamespaceSpecifier", ...args); +} + +function optionalMemberExpression(...args) { + return (0, _builder.default)("OptionalMemberExpression", ...args); +} + +function optionalCallExpression(...args) { + return (0, _builder.default)("OptionalCallExpression", ...args); +} + +function anyTypeAnnotation(...args) { + return (0, _builder.default)("AnyTypeAnnotation", ...args); +} + +function arrayTypeAnnotation(...args) { + return (0, _builder.default)("ArrayTypeAnnotation", ...args); +} + +function booleanTypeAnnotation(...args) { + return (0, _builder.default)("BooleanTypeAnnotation", ...args); +} + +function booleanLiteralTypeAnnotation(...args) { + return (0, _builder.default)("BooleanLiteralTypeAnnotation", ...args); +} + +function nullLiteralTypeAnnotation(...args) { + return (0, _builder.default)("NullLiteralTypeAnnotation", ...args); +} + +function classImplements(...args) { + return (0, _builder.default)("ClassImplements", ...args); +} + +function declareClass(...args) { + return (0, _builder.default)("DeclareClass", ...args); +} + +function declareFunction(...args) { + return (0, _builder.default)("DeclareFunction", ...args); +} + +function declareInterface(...args) { + return (0, _builder.default)("DeclareInterface", ...args); +} + +function declareModule(...args) { + return (0, _builder.default)("DeclareModule", ...args); +} + +function declareModuleExports(...args) { + return (0, _builder.default)("DeclareModuleExports", ...args); +} + +function declareTypeAlias(...args) { + return (0, _builder.default)("DeclareTypeAlias", ...args); +} + +function declareOpaqueType(...args) { + return (0, _builder.default)("DeclareOpaqueType", ...args); +} + +function declareVariable(...args) { + return (0, _builder.default)("DeclareVariable", ...args); +} + +function declareExportDeclaration(...args) { + return (0, _builder.default)("DeclareExportDeclaration", ...args); +} + +function declareExportAllDeclaration(...args) { + return (0, _builder.default)("DeclareExportAllDeclaration", ...args); +} + +function declaredPredicate(...args) { + return (0, _builder.default)("DeclaredPredicate", ...args); +} + +function existsTypeAnnotation(...args) { + return (0, _builder.default)("ExistsTypeAnnotation", ...args); +} + +function functionTypeAnnotation(...args) { + return (0, _builder.default)("FunctionTypeAnnotation", ...args); +} + +function functionTypeParam(...args) { + return (0, _builder.default)("FunctionTypeParam", ...args); +} + +function genericTypeAnnotation(...args) { + return (0, _builder.default)("GenericTypeAnnotation", ...args); +} + +function inferredPredicate(...args) { + return (0, _builder.default)("InferredPredicate", ...args); +} + +function interfaceExtends(...args) { + return (0, _builder.default)("InterfaceExtends", ...args); +} + +function interfaceDeclaration(...args) { + return (0, _builder.default)("InterfaceDeclaration", ...args); +} + +function interfaceTypeAnnotation(...args) { + return (0, _builder.default)("InterfaceTypeAnnotation", ...args); +} + +function intersectionTypeAnnotation(...args) { + return (0, _builder.default)("IntersectionTypeAnnotation", ...args); +} + +function mixedTypeAnnotation(...args) { + return (0, _builder.default)("MixedTypeAnnotation", ...args); +} + +function emptyTypeAnnotation(...args) { + return (0, _builder.default)("EmptyTypeAnnotation", ...args); +} + +function nullableTypeAnnotation(...args) { + return (0, _builder.default)("NullableTypeAnnotation", ...args); +} + +function numberLiteralTypeAnnotation(...args) { + return (0, _builder.default)("NumberLiteralTypeAnnotation", ...args); +} + +function numberTypeAnnotation(...args) { + return (0, _builder.default)("NumberTypeAnnotation", ...args); +} + +function objectTypeAnnotation(...args) { + return (0, _builder.default)("ObjectTypeAnnotation", ...args); +} + +function objectTypeInternalSlot(...args) { + return (0, _builder.default)("ObjectTypeInternalSlot", ...args); +} + +function objectTypeCallProperty(...args) { + return (0, _builder.default)("ObjectTypeCallProperty", ...args); +} + +function objectTypeIndexer(...args) { + return (0, _builder.default)("ObjectTypeIndexer", ...args); +} + +function objectTypeProperty(...args) { + return (0, _builder.default)("ObjectTypeProperty", ...args); +} + +function objectTypeSpreadProperty(...args) { + return (0, _builder.default)("ObjectTypeSpreadProperty", ...args); +} + +function opaqueType(...args) { + return (0, _builder.default)("OpaqueType", ...args); +} + +function qualifiedTypeIdentifier(...args) { + return (0, _builder.default)("QualifiedTypeIdentifier", ...args); +} + +function stringLiteralTypeAnnotation(...args) { + return (0, _builder.default)("StringLiteralTypeAnnotation", ...args); +} + +function stringTypeAnnotation(...args) { + return (0, _builder.default)("StringTypeAnnotation", ...args); +} + +function symbolTypeAnnotation(...args) { + return (0, _builder.default)("SymbolTypeAnnotation", ...args); +} + +function thisTypeAnnotation(...args) { + return (0, _builder.default)("ThisTypeAnnotation", ...args); +} + +function tupleTypeAnnotation(...args) { + return (0, _builder.default)("TupleTypeAnnotation", ...args); +} + +function typeofTypeAnnotation(...args) { + return (0, _builder.default)("TypeofTypeAnnotation", ...args); +} + +function typeAlias(...args) { + return (0, _builder.default)("TypeAlias", ...args); +} + +function typeAnnotation(...args) { + return (0, _builder.default)("TypeAnnotation", ...args); +} + +function typeCastExpression(...args) { + return (0, _builder.default)("TypeCastExpression", ...args); +} + +function typeParameter(...args) { + return (0, _builder.default)("TypeParameter", ...args); +} + +function typeParameterDeclaration(...args) { + return (0, _builder.default)("TypeParameterDeclaration", ...args); +} + +function typeParameterInstantiation(...args) { + return (0, _builder.default)("TypeParameterInstantiation", ...args); +} + +function unionTypeAnnotation(...args) { + return (0, _builder.default)("UnionTypeAnnotation", ...args); +} + +function variance(...args) { + return (0, _builder.default)("Variance", ...args); +} + +function voidTypeAnnotation(...args) { + return (0, _builder.default)("VoidTypeAnnotation", ...args); +} + +function enumDeclaration(...args) { + return (0, _builder.default)("EnumDeclaration", ...args); +} + +function enumBooleanBody(...args) { + return (0, _builder.default)("EnumBooleanBody", ...args); +} + +function enumNumberBody(...args) { + return (0, _builder.default)("EnumNumberBody", ...args); +} + +function enumStringBody(...args) { + return (0, _builder.default)("EnumStringBody", ...args); +} + +function enumSymbolBody(...args) { + return (0, _builder.default)("EnumSymbolBody", ...args); +} + +function enumBooleanMember(...args) { + return (0, _builder.default)("EnumBooleanMember", ...args); +} + +function enumNumberMember(...args) { + return (0, _builder.default)("EnumNumberMember", ...args); +} + +function enumStringMember(...args) { + return (0, _builder.default)("EnumStringMember", ...args); +} + +function enumDefaultedMember(...args) { + return (0, _builder.default)("EnumDefaultedMember", ...args); +} + +function jsxAttribute(...args) { + return (0, _builder.default)("JSXAttribute", ...args); +} + +function jsxClosingElement(...args) { + return (0, _builder.default)("JSXClosingElement", ...args); +} + +function jsxElement(...args) { + return (0, _builder.default)("JSXElement", ...args); +} + +function jsxEmptyExpression(...args) { + return (0, _builder.default)("JSXEmptyExpression", ...args); +} + +function jsxExpressionContainer(...args) { + return (0, _builder.default)("JSXExpressionContainer", ...args); +} + +function jsxSpreadChild(...args) { + return (0, _builder.default)("JSXSpreadChild", ...args); +} + +function jsxIdentifier(...args) { + return (0, _builder.default)("JSXIdentifier", ...args); +} + +function jsxMemberExpression(...args) { + return (0, _builder.default)("JSXMemberExpression", ...args); +} + +function jsxNamespacedName(...args) { + return (0, _builder.default)("JSXNamespacedName", ...args); +} + +function jsxOpeningElement(...args) { + return (0, _builder.default)("JSXOpeningElement", ...args); +} + +function jsxSpreadAttribute(...args) { + return (0, _builder.default)("JSXSpreadAttribute", ...args); +} + +function jsxText(...args) { + return (0, _builder.default)("JSXText", ...args); +} + +function jsxFragment(...args) { + return (0, _builder.default)("JSXFragment", ...args); +} + +function jsxOpeningFragment(...args) { + return (0, _builder.default)("JSXOpeningFragment", ...args); +} + +function jsxClosingFragment(...args) { + return (0, _builder.default)("JSXClosingFragment", ...args); +} + +function noop(...args) { + return (0, _builder.default)("Noop", ...args); +} + +function placeholder(...args) { + return (0, _builder.default)("Placeholder", ...args); +} + +function v8IntrinsicIdentifier(...args) { + return (0, _builder.default)("V8IntrinsicIdentifier", ...args); +} + +function argumentPlaceholder(...args) { + return (0, _builder.default)("ArgumentPlaceholder", ...args); +} + +function bindExpression(...args) { + return (0, _builder.default)("BindExpression", ...args); +} + +function classProperty(...args) { + return (0, _builder.default)("ClassProperty", ...args); +} + +function pipelineTopicExpression(...args) { + return (0, _builder.default)("PipelineTopicExpression", ...args); +} + +function pipelineBareFunction(...args) { + return (0, _builder.default)("PipelineBareFunction", ...args); +} + +function pipelinePrimaryTopicReference(...args) { + return (0, _builder.default)("PipelinePrimaryTopicReference", ...args); +} + +function classPrivateProperty(...args) { + return (0, _builder.default)("ClassPrivateProperty", ...args); +} + +function classPrivateMethod(...args) { + return (0, _builder.default)("ClassPrivateMethod", ...args); +} + +function importAttribute(...args) { + return (0, _builder.default)("ImportAttribute", ...args); +} + +function decorator(...args) { + return (0, _builder.default)("Decorator", ...args); +} + +function doExpression(...args) { + return (0, _builder.default)("DoExpression", ...args); +} + +function exportDefaultSpecifier(...args) { + return (0, _builder.default)("ExportDefaultSpecifier", ...args); +} + +function privateName(...args) { + return (0, _builder.default)("PrivateName", ...args); +} + +function recordExpression(...args) { + return (0, _builder.default)("RecordExpression", ...args); +} + +function tupleExpression(...args) { + return (0, _builder.default)("TupleExpression", ...args); +} + +function decimalLiteral(...args) { + return (0, _builder.default)("DecimalLiteral", ...args); +} + +function tsParameterProperty(...args) { + return (0, _builder.default)("TSParameterProperty", ...args); +} + +function tsDeclareFunction(...args) { + return (0, _builder.default)("TSDeclareFunction", ...args); +} + +function tsDeclareMethod(...args) { + return (0, _builder.default)("TSDeclareMethod", ...args); +} + +function tsQualifiedName(...args) { + return (0, _builder.default)("TSQualifiedName", ...args); +} + +function tsCallSignatureDeclaration(...args) { + return (0, _builder.default)("TSCallSignatureDeclaration", ...args); +} + +function tsConstructSignatureDeclaration(...args) { + return (0, _builder.default)("TSConstructSignatureDeclaration", ...args); +} + +function tsPropertySignature(...args) { + return (0, _builder.default)("TSPropertySignature", ...args); +} + +function tsMethodSignature(...args) { + return (0, _builder.default)("TSMethodSignature", ...args); +} + +function tsIndexSignature(...args) { + return (0, _builder.default)("TSIndexSignature", ...args); +} + +function tsAnyKeyword(...args) { + return (0, _builder.default)("TSAnyKeyword", ...args); +} + +function tsBooleanKeyword(...args) { + return (0, _builder.default)("TSBooleanKeyword", ...args); +} + +function tsBigIntKeyword(...args) { + return (0, _builder.default)("TSBigIntKeyword", ...args); +} + +function tsNeverKeyword(...args) { + return (0, _builder.default)("TSNeverKeyword", ...args); +} + +function tsNullKeyword(...args) { + return (0, _builder.default)("TSNullKeyword", ...args); +} + +function tsNumberKeyword(...args) { + return (0, _builder.default)("TSNumberKeyword", ...args); +} + +function tsObjectKeyword(...args) { + return (0, _builder.default)("TSObjectKeyword", ...args); +} + +function tsStringKeyword(...args) { + return (0, _builder.default)("TSStringKeyword", ...args); +} + +function tsSymbolKeyword(...args) { + return (0, _builder.default)("TSSymbolKeyword", ...args); +} + +function tsUndefinedKeyword(...args) { + return (0, _builder.default)("TSUndefinedKeyword", ...args); +} + +function tsUnknownKeyword(...args) { + return (0, _builder.default)("TSUnknownKeyword", ...args); +} + +function tsVoidKeyword(...args) { + return (0, _builder.default)("TSVoidKeyword", ...args); +} + +function tsThisType(...args) { + return (0, _builder.default)("TSThisType", ...args); +} + +function tsFunctionType(...args) { + return (0, _builder.default)("TSFunctionType", ...args); +} + +function tsConstructorType(...args) { + return (0, _builder.default)("TSConstructorType", ...args); +} + +function tsTypeReference(...args) { + return (0, _builder.default)("TSTypeReference", ...args); +} + +function tsTypePredicate(...args) { + return (0, _builder.default)("TSTypePredicate", ...args); +} + +function tsTypeQuery(...args) { + return (0, _builder.default)("TSTypeQuery", ...args); +} + +function tsTypeLiteral(...args) { + return (0, _builder.default)("TSTypeLiteral", ...args); +} + +function tsArrayType(...args) { + return (0, _builder.default)("TSArrayType", ...args); +} + +function tsTupleType(...args) { + return (0, _builder.default)("TSTupleType", ...args); +} + +function tsOptionalType(...args) { + return (0, _builder.default)("TSOptionalType", ...args); +} + +function tsRestType(...args) { + return (0, _builder.default)("TSRestType", ...args); +} + +function tsNamedTupleMember(...args) { + return (0, _builder.default)("TSNamedTupleMember", ...args); +} + +function tsUnionType(...args) { + return (0, _builder.default)("TSUnionType", ...args); +} + +function tsIntersectionType(...args) { + return (0, _builder.default)("TSIntersectionType", ...args); +} + +function tsConditionalType(...args) { + return (0, _builder.default)("TSConditionalType", ...args); +} + +function tsInferType(...args) { + return (0, _builder.default)("TSInferType", ...args); +} + +function tsParenthesizedType(...args) { + return (0, _builder.default)("TSParenthesizedType", ...args); +} + +function tsTypeOperator(...args) { + return (0, _builder.default)("TSTypeOperator", ...args); +} + +function tsIndexedAccessType(...args) { + return (0, _builder.default)("TSIndexedAccessType", ...args); +} + +function tsMappedType(...args) { + return (0, _builder.default)("TSMappedType", ...args); +} + +function tsLiteralType(...args) { + return (0, _builder.default)("TSLiteralType", ...args); +} + +function tsExpressionWithTypeArguments(...args) { + return (0, _builder.default)("TSExpressionWithTypeArguments", ...args); +} + +function tsInterfaceDeclaration(...args) { + return (0, _builder.default)("TSInterfaceDeclaration", ...args); +} + +function tsInterfaceBody(...args) { + return (0, _builder.default)("TSInterfaceBody", ...args); +} + +function tsTypeAliasDeclaration(...args) { + return (0, _builder.default)("TSTypeAliasDeclaration", ...args); +} + +function tsAsExpression(...args) { + return (0, _builder.default)("TSAsExpression", ...args); +} + +function tsTypeAssertion(...args) { + return (0, _builder.default)("TSTypeAssertion", ...args); +} + +function tsEnumDeclaration(...args) { + return (0, _builder.default)("TSEnumDeclaration", ...args); +} + +function tsEnumMember(...args) { + return (0, _builder.default)("TSEnumMember", ...args); +} + +function tsModuleDeclaration(...args) { + return (0, _builder.default)("TSModuleDeclaration", ...args); +} + +function tsModuleBlock(...args) { + return (0, _builder.default)("TSModuleBlock", ...args); +} + +function tsImportType(...args) { + return (0, _builder.default)("TSImportType", ...args); +} + +function tsImportEqualsDeclaration(...args) { + return (0, _builder.default)("TSImportEqualsDeclaration", ...args); +} + +function tsExternalModuleReference(...args) { + return (0, _builder.default)("TSExternalModuleReference", ...args); +} + +function tsNonNullExpression(...args) { + return (0, _builder.default)("TSNonNullExpression", ...args); +} + +function tsExportAssignment(...args) { + return (0, _builder.default)("TSExportAssignment", ...args); +} + +function tsNamespaceExportDeclaration(...args) { + return (0, _builder.default)("TSNamespaceExportDeclaration", ...args); +} + +function tsTypeAnnotation(...args) { + return (0, _builder.default)("TSTypeAnnotation", ...args); +} + +function tsTypeParameterInstantiation(...args) { + return (0, _builder.default)("TSTypeParameterInstantiation", ...args); +} + +function tsTypeParameterDeclaration(...args) { + return (0, _builder.default)("TSTypeParameterDeclaration", ...args); +} + +function tsTypeParameter(...args) { + return (0, _builder.default)("TSTypeParameter", ...args); +} + +function NumberLiteral(...args) { + console.trace("The node type NumberLiteral has been renamed to NumericLiteral"); + return (0, _builder.default)("NumberLiteral", ...args); +} + +function RegexLiteral(...args) { + console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"); + return (0, _builder.default)("RegexLiteral", ...args); +} + +function RestProperty(...args) { + console.trace("The node type RestProperty has been renamed to RestElement"); + return (0, _builder.default)("RestProperty", ...args); +} + +function SpreadProperty(...args) { + console.trace("The node type SpreadProperty has been renamed to SpreadElement"); + return (0, _builder.default)("SpreadProperty", ...args); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/builders/react/buildChildren.js b/node_modules/@babel/types/lib/builders/react/buildChildren.js new file mode 100644 index 000000000..91e7cbd9c --- /dev/null +++ b/node_modules/@babel/types/lib/builders/react/buildChildren.js @@ -0,0 +1,31 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = buildChildren; + +var _generated = require("../../validators/generated"); + +var _cleanJSXElementLiteralChild = _interopRequireDefault(require("../../utils/react/cleanJSXElementLiteralChild")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function buildChildren(node) { + const elements = []; + + for (let i = 0; i < node.children.length; i++) { + let child = node.children[i]; + + if ((0, _generated.isJSXText)(child)) { + (0, _cleanJSXElementLiteralChild.default)(child, elements); + continue; + } + + if ((0, _generated.isJSXExpressionContainer)(child)) child = child.expression; + if ((0, _generated.isJSXEmptyExpression)(child)) continue; + elements.push(child); + } + + return elements; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js b/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js new file mode 100644 index 000000000..7dbe885f2 --- /dev/null +++ b/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js @@ -0,0 +1,23 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = createTSUnionType; + +var _generated = require("../generated"); + +var _removeTypeDuplicates = _interopRequireDefault(require("../../modifications/typescript/removeTypeDuplicates")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function createTSUnionType(typeAnnotations) { + const types = typeAnnotations.map(type => type.typeAnnotations); + const flattened = (0, _removeTypeDuplicates.default)(types); + + if (flattened.length === 1) { + return flattened[0]; + } else { + return (0, _generated.tsUnionType)(flattened); + } +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/clone/clone.js b/node_modules/@babel/types/lib/clone/clone.js new file mode 100644 index 000000000..9595f6e25 --- /dev/null +++ b/node_modules/@babel/types/lib/clone/clone.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = clone; + +var _cloneNode = _interopRequireDefault(require("./cloneNode")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function clone(node) { + return (0, _cloneNode.default)(node, false); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/clone/cloneDeep.js b/node_modules/@babel/types/lib/clone/cloneDeep.js new file mode 100644 index 000000000..eb29c5362 --- /dev/null +++ b/node_modules/@babel/types/lib/clone/cloneDeep.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = cloneDeep; + +var _cloneNode = _interopRequireDefault(require("./cloneNode")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function cloneDeep(node) { + return (0, _cloneNode.default)(node); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js b/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js new file mode 100644 index 000000000..d8612e9eb --- /dev/null +++ b/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = cloneDeepWithoutLoc; + +var _cloneNode = _interopRequireDefault(require("./cloneNode")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function cloneDeepWithoutLoc(node) { + return (0, _cloneNode.default)(node, true, true); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/clone/cloneNode.js b/node_modules/@babel/types/lib/clone/cloneNode.js new file mode 100644 index 000000000..44032e3f9 --- /dev/null +++ b/node_modules/@babel/types/lib/clone/cloneNode.js @@ -0,0 +1,101 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = cloneNode; + +var _definitions = require("../definitions"); + +const has = Function.call.bind(Object.prototype.hasOwnProperty); + +function cloneIfNode(obj, deep, withoutLoc) { + if (obj && typeof obj.type === "string") { + return cloneNode(obj, deep, withoutLoc); + } + + return obj; +} + +function cloneIfNodeOrArray(obj, deep, withoutLoc) { + if (Array.isArray(obj)) { + return obj.map(node => cloneIfNode(node, deep, withoutLoc)); + } + + return cloneIfNode(obj, deep, withoutLoc); +} + +function cloneNode(node, deep = true, withoutLoc = false) { + if (!node) return node; + const { + type + } = node; + const newNode = { + type + }; + + if (type === "Identifier") { + newNode.name = node.name; + + if (has(node, "optional") && typeof node.optional === "boolean") { + newNode.optional = node.optional; + } + + if (has(node, "typeAnnotation")) { + newNode.typeAnnotation = deep ? cloneIfNodeOrArray(node.typeAnnotation, true, withoutLoc) : node.typeAnnotation; + } + } else if (!has(_definitions.NODE_FIELDS, type)) { + throw new Error(`Unknown node type: "${type}"`); + } else { + for (const field of Object.keys(_definitions.NODE_FIELDS[type])) { + if (has(node, field)) { + if (deep) { + newNode[field] = type === "File" && field === "comments" ? maybeCloneComments(node.comments, deep, withoutLoc) : cloneIfNodeOrArray(node[field], true, withoutLoc); + } else { + newNode[field] = node[field]; + } + } + } + } + + if (has(node, "loc")) { + if (withoutLoc) { + newNode.loc = null; + } else { + newNode.loc = node.loc; + } + } + + if (has(node, "leadingComments")) { + newNode.leadingComments = maybeCloneComments(node.leadingComments, deep, withoutLoc); + } + + if (has(node, "innerComments")) { + newNode.innerComments = maybeCloneComments(node.innerComments, deep, withoutLoc); + } + + if (has(node, "trailingComments")) { + newNode.trailingComments = maybeCloneComments(node.trailingComments, deep, withoutLoc); + } + + if (has(node, "extra")) { + newNode.extra = Object.assign({}, node.extra); + } + + return newNode; +} + +function cloneCommentsWithoutLoc(comments) { + return comments.map(({ + type, + value + }) => ({ + type, + value, + loc: null + })); +} + +function maybeCloneComments(comments, deep, withoutLoc) { + return deep && withoutLoc ? cloneCommentsWithoutLoc(comments) : comments; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js b/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js new file mode 100644 index 000000000..34fd172ed --- /dev/null +++ b/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = cloneWithoutLoc; + +var _cloneNode = _interopRequireDefault(require("./cloneNode")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function cloneWithoutLoc(node) { + return (0, _cloneNode.default)(node, false, true); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/comments/addComment.js b/node_modules/@babel/types/lib/comments/addComment.js new file mode 100644 index 000000000..ff586514e --- /dev/null +++ b/node_modules/@babel/types/lib/comments/addComment.js @@ -0,0 +1,17 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addComment; + +var _addComments = _interopRequireDefault(require("./addComments")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function addComment(node, type, content, line) { + return (0, _addComments.default)(node, type, [{ + type: line ? "CommentLine" : "CommentBlock", + value: content + }]); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/comments/addComments.js b/node_modules/@babel/types/lib/comments/addComments.js new file mode 100644 index 000000000..f3a61df71 --- /dev/null +++ b/node_modules/@babel/types/lib/comments/addComments.js @@ -0,0 +1,23 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = addComments; + +function addComments(node, type, comments) { + if (!comments || !node) return node; + const key = `${type}Comments`; + + if (node[key]) { + if (type === "leading") { + node[key] = comments.concat(node[key]); + } else { + node[key] = node[key].concat(comments); + } + } else { + node[key] = comments; + } + + return node; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/comments/inheritInnerComments.js b/node_modules/@babel/types/lib/comments/inheritInnerComments.js new file mode 100644 index 000000000..fbe59dec6 --- /dev/null +++ b/node_modules/@babel/types/lib/comments/inheritInnerComments.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = inheritInnerComments; + +var _inherit = _interopRequireDefault(require("../utils/inherit")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function inheritInnerComments(child, parent) { + (0, _inherit.default)("innerComments", child, parent); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/comments/inheritLeadingComments.js b/node_modules/@babel/types/lib/comments/inheritLeadingComments.js new file mode 100644 index 000000000..ccb02ec55 --- /dev/null +++ b/node_modules/@babel/types/lib/comments/inheritLeadingComments.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = inheritLeadingComments; + +var _inherit = _interopRequireDefault(require("../utils/inherit")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function inheritLeadingComments(child, parent) { + (0, _inherit.default)("leadingComments", child, parent); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/comments/inheritTrailingComments.js b/node_modules/@babel/types/lib/comments/inheritTrailingComments.js new file mode 100644 index 000000000..bce1e2d9a --- /dev/null +++ b/node_modules/@babel/types/lib/comments/inheritTrailingComments.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = inheritTrailingComments; + +var _inherit = _interopRequireDefault(require("../utils/inherit")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function inheritTrailingComments(child, parent) { + (0, _inherit.default)("trailingComments", child, parent); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/comments/inheritsComments.js b/node_modules/@babel/types/lib/comments/inheritsComments.js new file mode 100644 index 000000000..fd942d86c --- /dev/null +++ b/node_modules/@babel/types/lib/comments/inheritsComments.js @@ -0,0 +1,21 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = inheritsComments; + +var _inheritTrailingComments = _interopRequireDefault(require("./inheritTrailingComments")); + +var _inheritLeadingComments = _interopRequireDefault(require("./inheritLeadingComments")); + +var _inheritInnerComments = _interopRequireDefault(require("./inheritInnerComments")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function inheritsComments(child, parent) { + (0, _inheritTrailingComments.default)(child, parent); + (0, _inheritLeadingComments.default)(child, parent); + (0, _inheritInnerComments.default)(child, parent); + return child; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/comments/removeComments.js b/node_modules/@babel/types/lib/comments/removeComments.js new file mode 100644 index 000000000..fe34f1a89 --- /dev/null +++ b/node_modules/@babel/types/lib/comments/removeComments.js @@ -0,0 +1,16 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = removeComments; + +var _constants = require("../constants"); + +function removeComments(node) { + _constants.COMMENT_KEYS.forEach(key => { + node[key] = null; + }); + + return node; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/constants/generated/index.js b/node_modules/@babel/types/lib/constants/generated/index.js new file mode 100644 index 000000000..2c308098e --- /dev/null +++ b/node_modules/@babel/types/lib/constants/generated/index.js @@ -0,0 +1,99 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.TSBASETYPE_TYPES = exports.TSTYPE_TYPES = exports.TSTYPEELEMENT_TYPES = exports.PRIVATE_TYPES = exports.JSX_TYPES = exports.ENUMMEMBER_TYPES = exports.ENUMBODY_TYPES = exports.FLOWPREDICATE_TYPES = exports.FLOWDECLARATION_TYPES = exports.FLOWBASEANNOTATION_TYPES = exports.FLOWTYPE_TYPES = exports.FLOW_TYPES = exports.MODULESPECIFIER_TYPES = exports.EXPORTDECLARATION_TYPES = exports.MODULEDECLARATION_TYPES = exports.CLASS_TYPES = exports.PATTERN_TYPES = exports.UNARYLIKE_TYPES = exports.PROPERTY_TYPES = exports.OBJECTMEMBER_TYPES = exports.METHOD_TYPES = exports.USERWHITESPACABLE_TYPES = exports.IMMUTABLE_TYPES = exports.LITERAL_TYPES = exports.TSENTITYNAME_TYPES = exports.LVAL_TYPES = exports.PATTERNLIKE_TYPES = exports.DECLARATION_TYPES = exports.PUREISH_TYPES = exports.FUNCTIONPARENT_TYPES = exports.FUNCTION_TYPES = exports.FORXSTATEMENT_TYPES = exports.FOR_TYPES = exports.EXPRESSIONWRAPPER_TYPES = exports.WHILE_TYPES = exports.LOOP_TYPES = exports.CONDITIONAL_TYPES = exports.COMPLETIONSTATEMENT_TYPES = exports.TERMINATORLESS_TYPES = exports.STATEMENT_TYPES = exports.BLOCK_TYPES = exports.BLOCKPARENT_TYPES = exports.SCOPABLE_TYPES = exports.BINARY_TYPES = exports.EXPRESSION_TYPES = void 0; + +var _definitions = require("../../definitions"); + +const EXPRESSION_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Expression"]; +exports.EXPRESSION_TYPES = EXPRESSION_TYPES; +const BINARY_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Binary"]; +exports.BINARY_TYPES = BINARY_TYPES; +const SCOPABLE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Scopable"]; +exports.SCOPABLE_TYPES = SCOPABLE_TYPES; +const BLOCKPARENT_TYPES = _definitions.FLIPPED_ALIAS_KEYS["BlockParent"]; +exports.BLOCKPARENT_TYPES = BLOCKPARENT_TYPES; +const BLOCK_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Block"]; +exports.BLOCK_TYPES = BLOCK_TYPES; +const STATEMENT_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Statement"]; +exports.STATEMENT_TYPES = STATEMENT_TYPES; +const TERMINATORLESS_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Terminatorless"]; +exports.TERMINATORLESS_TYPES = TERMINATORLESS_TYPES; +const COMPLETIONSTATEMENT_TYPES = _definitions.FLIPPED_ALIAS_KEYS["CompletionStatement"]; +exports.COMPLETIONSTATEMENT_TYPES = COMPLETIONSTATEMENT_TYPES; +const CONDITIONAL_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Conditional"]; +exports.CONDITIONAL_TYPES = CONDITIONAL_TYPES; +const LOOP_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Loop"]; +exports.LOOP_TYPES = LOOP_TYPES; +const WHILE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["While"]; +exports.WHILE_TYPES = WHILE_TYPES; +const EXPRESSIONWRAPPER_TYPES = _definitions.FLIPPED_ALIAS_KEYS["ExpressionWrapper"]; +exports.EXPRESSIONWRAPPER_TYPES = EXPRESSIONWRAPPER_TYPES; +const FOR_TYPES = _definitions.FLIPPED_ALIAS_KEYS["For"]; +exports.FOR_TYPES = FOR_TYPES; +const FORXSTATEMENT_TYPES = _definitions.FLIPPED_ALIAS_KEYS["ForXStatement"]; +exports.FORXSTATEMENT_TYPES = FORXSTATEMENT_TYPES; +const FUNCTION_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Function"]; +exports.FUNCTION_TYPES = FUNCTION_TYPES; +const FUNCTIONPARENT_TYPES = _definitions.FLIPPED_ALIAS_KEYS["FunctionParent"]; +exports.FUNCTIONPARENT_TYPES = FUNCTIONPARENT_TYPES; +const PUREISH_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Pureish"]; +exports.PUREISH_TYPES = PUREISH_TYPES; +const DECLARATION_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Declaration"]; +exports.DECLARATION_TYPES = DECLARATION_TYPES; +const PATTERNLIKE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["PatternLike"]; +exports.PATTERNLIKE_TYPES = PATTERNLIKE_TYPES; +const LVAL_TYPES = _definitions.FLIPPED_ALIAS_KEYS["LVal"]; +exports.LVAL_TYPES = LVAL_TYPES; +const TSENTITYNAME_TYPES = _definitions.FLIPPED_ALIAS_KEYS["TSEntityName"]; +exports.TSENTITYNAME_TYPES = TSENTITYNAME_TYPES; +const LITERAL_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Literal"]; +exports.LITERAL_TYPES = LITERAL_TYPES; +const IMMUTABLE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Immutable"]; +exports.IMMUTABLE_TYPES = IMMUTABLE_TYPES; +const USERWHITESPACABLE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["UserWhitespacable"]; +exports.USERWHITESPACABLE_TYPES = USERWHITESPACABLE_TYPES; +const METHOD_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Method"]; +exports.METHOD_TYPES = METHOD_TYPES; +const OBJECTMEMBER_TYPES = _definitions.FLIPPED_ALIAS_KEYS["ObjectMember"]; +exports.OBJECTMEMBER_TYPES = OBJECTMEMBER_TYPES; +const PROPERTY_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Property"]; +exports.PROPERTY_TYPES = PROPERTY_TYPES; +const UNARYLIKE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["UnaryLike"]; +exports.UNARYLIKE_TYPES = UNARYLIKE_TYPES; +const PATTERN_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Pattern"]; +exports.PATTERN_TYPES = PATTERN_TYPES; +const CLASS_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Class"]; +exports.CLASS_TYPES = CLASS_TYPES; +const MODULEDECLARATION_TYPES = _definitions.FLIPPED_ALIAS_KEYS["ModuleDeclaration"]; +exports.MODULEDECLARATION_TYPES = MODULEDECLARATION_TYPES; +const EXPORTDECLARATION_TYPES = _definitions.FLIPPED_ALIAS_KEYS["ExportDeclaration"]; +exports.EXPORTDECLARATION_TYPES = EXPORTDECLARATION_TYPES; +const MODULESPECIFIER_TYPES = _definitions.FLIPPED_ALIAS_KEYS["ModuleSpecifier"]; +exports.MODULESPECIFIER_TYPES = MODULESPECIFIER_TYPES; +const FLOW_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Flow"]; +exports.FLOW_TYPES = FLOW_TYPES; +const FLOWTYPE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["FlowType"]; +exports.FLOWTYPE_TYPES = FLOWTYPE_TYPES; +const FLOWBASEANNOTATION_TYPES = _definitions.FLIPPED_ALIAS_KEYS["FlowBaseAnnotation"]; +exports.FLOWBASEANNOTATION_TYPES = FLOWBASEANNOTATION_TYPES; +const FLOWDECLARATION_TYPES = _definitions.FLIPPED_ALIAS_KEYS["FlowDeclaration"]; +exports.FLOWDECLARATION_TYPES = FLOWDECLARATION_TYPES; +const FLOWPREDICATE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["FlowPredicate"]; +exports.FLOWPREDICATE_TYPES = FLOWPREDICATE_TYPES; +const ENUMBODY_TYPES = _definitions.FLIPPED_ALIAS_KEYS["EnumBody"]; +exports.ENUMBODY_TYPES = ENUMBODY_TYPES; +const ENUMMEMBER_TYPES = _definitions.FLIPPED_ALIAS_KEYS["EnumMember"]; +exports.ENUMMEMBER_TYPES = ENUMMEMBER_TYPES; +const JSX_TYPES = _definitions.FLIPPED_ALIAS_KEYS["JSX"]; +exports.JSX_TYPES = JSX_TYPES; +const PRIVATE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["Private"]; +exports.PRIVATE_TYPES = PRIVATE_TYPES; +const TSTYPEELEMENT_TYPES = _definitions.FLIPPED_ALIAS_KEYS["TSTypeElement"]; +exports.TSTYPEELEMENT_TYPES = TSTYPEELEMENT_TYPES; +const TSTYPE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["TSType"]; +exports.TSTYPE_TYPES = TSTYPE_TYPES; +const TSBASETYPE_TYPES = _definitions.FLIPPED_ALIAS_KEYS["TSBaseType"]; +exports.TSBASETYPE_TYPES = TSBASETYPE_TYPES; \ No newline at end of file diff --git a/node_modules/@babel/types/lib/constants/index.js b/node_modules/@babel/types/lib/constants/index.js new file mode 100644 index 000000000..7553162c6 --- /dev/null +++ b/node_modules/@babel/types/lib/constants/index.js @@ -0,0 +1,49 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.NOT_LOCAL_BINDING = exports.BLOCK_SCOPED_SYMBOL = exports.INHERIT_KEYS = exports.UNARY_OPERATORS = exports.STRING_UNARY_OPERATORS = exports.NUMBER_UNARY_OPERATORS = exports.BOOLEAN_UNARY_OPERATORS = exports.ASSIGNMENT_OPERATORS = exports.BINARY_OPERATORS = exports.NUMBER_BINARY_OPERATORS = exports.BOOLEAN_BINARY_OPERATORS = exports.COMPARISON_BINARY_OPERATORS = exports.EQUALITY_BINARY_OPERATORS = exports.BOOLEAN_NUMBER_BINARY_OPERATORS = exports.UPDATE_OPERATORS = exports.LOGICAL_OPERATORS = exports.COMMENT_KEYS = exports.FOR_INIT_KEYS = exports.FLATTENABLE_KEYS = exports.STATEMENT_OR_BLOCK_KEYS = void 0; +const STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"]; +exports.STATEMENT_OR_BLOCK_KEYS = STATEMENT_OR_BLOCK_KEYS; +const FLATTENABLE_KEYS = ["body", "expressions"]; +exports.FLATTENABLE_KEYS = FLATTENABLE_KEYS; +const FOR_INIT_KEYS = ["left", "init"]; +exports.FOR_INIT_KEYS = FOR_INIT_KEYS; +const COMMENT_KEYS = ["leadingComments", "trailingComments", "innerComments"]; +exports.COMMENT_KEYS = COMMENT_KEYS; +const LOGICAL_OPERATORS = ["||", "&&", "??"]; +exports.LOGICAL_OPERATORS = LOGICAL_OPERATORS; +const UPDATE_OPERATORS = ["++", "--"]; +exports.UPDATE_OPERATORS = UPDATE_OPERATORS; +const BOOLEAN_NUMBER_BINARY_OPERATORS = [">", "<", ">=", "<="]; +exports.BOOLEAN_NUMBER_BINARY_OPERATORS = BOOLEAN_NUMBER_BINARY_OPERATORS; +const EQUALITY_BINARY_OPERATORS = ["==", "===", "!=", "!=="]; +exports.EQUALITY_BINARY_OPERATORS = EQUALITY_BINARY_OPERATORS; +const COMPARISON_BINARY_OPERATORS = [...EQUALITY_BINARY_OPERATORS, "in", "instanceof"]; +exports.COMPARISON_BINARY_OPERATORS = COMPARISON_BINARY_OPERATORS; +const BOOLEAN_BINARY_OPERATORS = [...COMPARISON_BINARY_OPERATORS, ...BOOLEAN_NUMBER_BINARY_OPERATORS]; +exports.BOOLEAN_BINARY_OPERATORS = BOOLEAN_BINARY_OPERATORS; +const NUMBER_BINARY_OPERATORS = ["-", "/", "%", "*", "**", "&", "|", ">>", ">>>", "<<", "^"]; +exports.NUMBER_BINARY_OPERATORS = NUMBER_BINARY_OPERATORS; +const BINARY_OPERATORS = ["+", ...NUMBER_BINARY_OPERATORS, ...BOOLEAN_BINARY_OPERATORS]; +exports.BINARY_OPERATORS = BINARY_OPERATORS; +const ASSIGNMENT_OPERATORS = ["=", "+=", ...NUMBER_BINARY_OPERATORS.map(op => op + "="), ...LOGICAL_OPERATORS.map(op => op + "=")]; +exports.ASSIGNMENT_OPERATORS = ASSIGNMENT_OPERATORS; +const BOOLEAN_UNARY_OPERATORS = ["delete", "!"]; +exports.BOOLEAN_UNARY_OPERATORS = BOOLEAN_UNARY_OPERATORS; +const NUMBER_UNARY_OPERATORS = ["+", "-", "~"]; +exports.NUMBER_UNARY_OPERATORS = NUMBER_UNARY_OPERATORS; +const STRING_UNARY_OPERATORS = ["typeof"]; +exports.STRING_UNARY_OPERATORS = STRING_UNARY_OPERATORS; +const UNARY_OPERATORS = ["void", "throw", ...BOOLEAN_UNARY_OPERATORS, ...NUMBER_UNARY_OPERATORS, ...STRING_UNARY_OPERATORS]; +exports.UNARY_OPERATORS = UNARY_OPERATORS; +const INHERIT_KEYS = { + optional: ["typeAnnotation", "typeParameters", "returnType"], + force: ["start", "loc", "end"] +}; +exports.INHERIT_KEYS = INHERIT_KEYS; +const BLOCK_SCOPED_SYMBOL = Symbol.for("var used to be block scoped"); +exports.BLOCK_SCOPED_SYMBOL = BLOCK_SCOPED_SYMBOL; +const NOT_LOCAL_BINDING = Symbol.for("should not be considered a local binding"); +exports.NOT_LOCAL_BINDING = NOT_LOCAL_BINDING; \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/ensureBlock.js b/node_modules/@babel/types/lib/converters/ensureBlock.js new file mode 100644 index 000000000..2836b3657 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/ensureBlock.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = ensureBlock; + +var _toBlock = _interopRequireDefault(require("./toBlock")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function ensureBlock(node, key = "body") { + return node[key] = (0, _toBlock.default)(node[key], node); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js b/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js new file mode 100644 index 000000000..bae4e8f38 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js @@ -0,0 +1,77 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = gatherSequenceExpressions; + +var _getBindingIdentifiers = _interopRequireDefault(require("../retrievers/getBindingIdentifiers")); + +var _generated = require("../validators/generated"); + +var _generated2 = require("../builders/generated"); + +var _cloneNode = _interopRequireDefault(require("../clone/cloneNode")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function gatherSequenceExpressions(nodes, scope, declars) { + const exprs = []; + let ensureLastUndefined = true; + + for (const node of nodes) { + if (!(0, _generated.isEmptyStatement)(node)) { + ensureLastUndefined = false; + } + + if ((0, _generated.isExpression)(node)) { + exprs.push(node); + } else if ((0, _generated.isExpressionStatement)(node)) { + exprs.push(node.expression); + } else if ((0, _generated.isVariableDeclaration)(node)) { + if (node.kind !== "var") return; + + for (const declar of node.declarations) { + const bindings = (0, _getBindingIdentifiers.default)(declar); + + for (const key of Object.keys(bindings)) { + declars.push({ + kind: node.kind, + id: (0, _cloneNode.default)(bindings[key]) + }); + } + + if (declar.init) { + exprs.push((0, _generated2.assignmentExpression)("=", declar.id, declar.init)); + } + } + + ensureLastUndefined = true; + } else if ((0, _generated.isIfStatement)(node)) { + const consequent = node.consequent ? gatherSequenceExpressions([node.consequent], scope, declars) : scope.buildUndefinedNode(); + const alternate = node.alternate ? gatherSequenceExpressions([node.alternate], scope, declars) : scope.buildUndefinedNode(); + if (!consequent || !alternate) return; + exprs.push((0, _generated2.conditionalExpression)(node.test, consequent, alternate)); + } else if ((0, _generated.isBlockStatement)(node)) { + const body = gatherSequenceExpressions(node.body, scope, declars); + if (!body) return; + exprs.push(body); + } else if ((0, _generated.isEmptyStatement)(node)) { + if (nodes.indexOf(node) === 0) { + ensureLastUndefined = true; + } + } else { + return; + } + } + + if (ensureLastUndefined) { + exprs.push(scope.buildUndefinedNode()); + } + + if (exprs.length === 1) { + return exprs[0]; + } else { + return (0, _generated2.sequenceExpression)(exprs); + } +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js b/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js new file mode 100644 index 000000000..b9d165b6f --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js @@ -0,0 +1,16 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toBindingIdentifierName; + +var _toIdentifier = _interopRequireDefault(require("./toIdentifier")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function toBindingIdentifierName(name) { + name = (0, _toIdentifier.default)(name); + if (name === "eval" || name === "arguments") name = "_" + name; + return name; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toBlock.js b/node_modules/@babel/types/lib/converters/toBlock.js new file mode 100644 index 000000000..19886833f --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toBlock.js @@ -0,0 +1,34 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toBlock; + +var _generated = require("../validators/generated"); + +var _generated2 = require("../builders/generated"); + +function toBlock(node, parent) { + if ((0, _generated.isBlockStatement)(node)) { + return node; + } + + let blockNodes = []; + + if ((0, _generated.isEmptyStatement)(node)) { + blockNodes = []; + } else { + if (!(0, _generated.isStatement)(node)) { + if ((0, _generated.isFunction)(parent)) { + node = (0, _generated2.returnStatement)(node); + } else { + node = (0, _generated2.expressionStatement)(node); + } + } + + blockNodes = [node]; + } + + return (0, _generated2.blockStatement)(blockNodes); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toComputedKey.js b/node_modules/@babel/types/lib/converters/toComputedKey.js new file mode 100644 index 000000000..31e6770f6 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toComputedKey.js @@ -0,0 +1,15 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toComputedKey; + +var _generated = require("../validators/generated"); + +var _generated2 = require("../builders/generated"); + +function toComputedKey(node, key = node.key || node.property) { + if (!node.computed && (0, _generated.isIdentifier)(key)) key = (0, _generated2.stringLiteral)(key.name); + return key; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toExpression.js b/node_modules/@babel/types/lib/converters/toExpression.js new file mode 100644 index 000000000..6e58b0de4 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toExpression.js @@ -0,0 +1,30 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toExpression; + +var _generated = require("../validators/generated"); + +function toExpression(node) { + if ((0, _generated.isExpressionStatement)(node)) { + node = node.expression; + } + + if ((0, _generated.isExpression)(node)) { + return node; + } + + if ((0, _generated.isClass)(node)) { + node.type = "ClassExpression"; + } else if ((0, _generated.isFunction)(node)) { + node.type = "FunctionExpression"; + } + + if (!(0, _generated.isExpression)(node)) { + throw new Error(`cannot turn ${node.type} to an expression`); + } + + return node; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toIdentifier.js b/node_modules/@babel/types/lib/converters/toIdentifier.js new file mode 100644 index 000000000..e55db41fc --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toIdentifier.js @@ -0,0 +1,25 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toIdentifier; + +var _isValidIdentifier = _interopRequireDefault(require("../validators/isValidIdentifier")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function toIdentifier(name) { + name = name + ""; + name = name.replace(/[^a-zA-Z0-9$_]/g, "-"); + name = name.replace(/^[-0-9]+/, ""); + name = name.replace(/[-\s]+(.)?/g, function (match, c) { + return c ? c.toUpperCase() : ""; + }); + + if (!(0, _isValidIdentifier.default)(name)) { + name = `_${name}`; + } + + return name || "_"; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toKeyAlias.js b/node_modules/@babel/types/lib/converters/toKeyAlias.js new file mode 100644 index 000000000..c48fd0e7f --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toKeyAlias.js @@ -0,0 +1,48 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toKeyAlias; + +var _generated = require("../validators/generated"); + +var _cloneNode = _interopRequireDefault(require("../clone/cloneNode")); + +var _removePropertiesDeep = _interopRequireDefault(require("../modifications/removePropertiesDeep")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function toKeyAlias(node, key = node.key) { + let alias; + + if (node.kind === "method") { + return toKeyAlias.increment() + ""; + } else if ((0, _generated.isIdentifier)(key)) { + alias = key.name; + } else if ((0, _generated.isStringLiteral)(key)) { + alias = JSON.stringify(key.value); + } else { + alias = JSON.stringify((0, _removePropertiesDeep.default)((0, _cloneNode.default)(key))); + } + + if (node.computed) { + alias = `[${alias}]`; + } + + if (node.static) { + alias = `static:${alias}`; + } + + return alias; +} + +toKeyAlias.uid = 0; + +toKeyAlias.increment = function () { + if (toKeyAlias.uid >= Number.MAX_SAFE_INTEGER) { + return toKeyAlias.uid = 0; + } else { + return toKeyAlias.uid++; + } +}; \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toSequenceExpression.js b/node_modules/@babel/types/lib/converters/toSequenceExpression.js new file mode 100644 index 000000000..4b61276ce --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toSequenceExpression.js @@ -0,0 +1,23 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toSequenceExpression; + +var _gatherSequenceExpressions = _interopRequireDefault(require("./gatherSequenceExpressions")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function toSequenceExpression(nodes, scope) { + if (!(nodes == null ? void 0 : nodes.length)) return; + const declars = []; + const result = (0, _gatherSequenceExpressions.default)(nodes, scope, declars); + if (!result) return; + + for (const declar of declars) { + scope.push(declar); + } + + return result; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toStatement.js b/node_modules/@babel/types/lib/converters/toStatement.js new file mode 100644 index 000000000..69b22ae09 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toStatement.js @@ -0,0 +1,44 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toStatement; + +var _generated = require("../validators/generated"); + +var _generated2 = require("../builders/generated"); + +function toStatement(node, ignore) { + if ((0, _generated.isStatement)(node)) { + return node; + } + + let mustHaveId = false; + let newType; + + if ((0, _generated.isClass)(node)) { + mustHaveId = true; + newType = "ClassDeclaration"; + } else if ((0, _generated.isFunction)(node)) { + mustHaveId = true; + newType = "FunctionDeclaration"; + } else if ((0, _generated.isAssignmentExpression)(node)) { + return (0, _generated2.expressionStatement)(node); + } + + if (mustHaveId && !node.id) { + newType = false; + } + + if (!newType) { + if (ignore) { + return false; + } else { + throw new Error(`cannot turn ${node.type} to a statement`); + } + } + + node.type = newType; + return node; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/valueToNode.js b/node_modules/@babel/types/lib/converters/valueToNode.js new file mode 100644 index 000000000..d1118e164 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/valueToNode.js @@ -0,0 +1,88 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = valueToNode; + +var _isPlainObject = _interopRequireDefault(require("lodash/isPlainObject")); + +var _isRegExp = _interopRequireDefault(require("lodash/isRegExp")); + +var _isValidIdentifier = _interopRequireDefault(require("../validators/isValidIdentifier")); + +var _generated = require("../builders/generated"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function valueToNode(value) { + if (value === undefined) { + return (0, _generated.identifier)("undefined"); + } + + if (value === true || value === false) { + return (0, _generated.booleanLiteral)(value); + } + + if (value === null) { + return (0, _generated.nullLiteral)(); + } + + if (typeof value === "string") { + return (0, _generated.stringLiteral)(value); + } + + if (typeof value === "number") { + let result; + + if (Number.isFinite(value)) { + result = (0, _generated.numericLiteral)(Math.abs(value)); + } else { + let numerator; + + if (Number.isNaN(value)) { + numerator = (0, _generated.numericLiteral)(0); + } else { + numerator = (0, _generated.numericLiteral)(1); + } + + result = (0, _generated.binaryExpression)("/", numerator, (0, _generated.numericLiteral)(0)); + } + + if (value < 0 || Object.is(value, -0)) { + result = (0, _generated.unaryExpression)("-", result); + } + + return result; + } + + if ((0, _isRegExp.default)(value)) { + const pattern = value.source; + const flags = value.toString().match(/\/([a-z]+|)$/)[1]; + return (0, _generated.regExpLiteral)(pattern, flags); + } + + if (Array.isArray(value)) { + return (0, _generated.arrayExpression)(value.map(valueToNode)); + } + + if ((0, _isPlainObject.default)(value)) { + const props = []; + + for (const key of Object.keys(value)) { + let nodeKey; + + if ((0, _isValidIdentifier.default)(key)) { + nodeKey = (0, _generated.identifier)(key); + } else { + nodeKey = (0, _generated.stringLiteral)(key); + } + + props.push((0, _generated.objectProperty)(nodeKey, valueToNode(value[key]))); + } + + return (0, _generated.objectExpression)(props); + } + + throw new Error("don't know how to turn this value into a node"); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/core.js b/node_modules/@babel/types/lib/definitions/core.js new file mode 100644 index 000000000..709cb1f70 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/core.js @@ -0,0 +1,1476 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.classMethodOrDeclareMethodCommon = exports.classMethodOrPropertyCommon = exports.patternLikeCommon = exports.functionDeclarationCommon = exports.functionTypeAnnotationCommon = exports.functionCommon = void 0; + +var _is = _interopRequireDefault(require("../validators/is")); + +var _isValidIdentifier = _interopRequireDefault(require("../validators/isValidIdentifier")); + +var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); + +var _constants = require("../constants"); + +var _utils = _interopRequireWildcard(require("./utils")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +(0, _utils.default)("ArrayExpression", { + fields: { + elements: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeOrValueType)("null", "Expression", "SpreadElement"))), + default: !process.env.BABEL_TYPES_8_BREAKING ? [] : undefined + } + }, + visitor: ["elements"], + aliases: ["Expression"] +}); +(0, _utils.default)("AssignmentExpression", { + fields: { + operator: { + validate: function () { + if (!process.env.BABEL_TYPES_8_BREAKING) { + return (0, _utils.assertValueType)("string"); + } + + const identifier = (0, _utils.assertOneOf)(..._constants.ASSIGNMENT_OPERATORS); + const pattern = (0, _utils.assertOneOf)("="); + return function (node, key, val) { + const validator = (0, _is.default)("Pattern", node.left) ? pattern : identifier; + validator(node, key, val); + }; + }() + }, + left: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("LVal") : (0, _utils.assertNodeType)("Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern") + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + builder: ["operator", "left", "right"], + visitor: ["left", "right"], + aliases: ["Expression"] +}); +(0, _utils.default)("BinaryExpression", { + builder: ["operator", "left", "right"], + fields: { + operator: { + validate: (0, _utils.assertOneOf)(..._constants.BINARY_OPERATORS) + }, + left: { + validate: function () { + const expression = (0, _utils.assertNodeType)("Expression"); + const inOp = (0, _utils.assertNodeType)("Expression", "PrivateName"); + + const validator = function (node, key, val) { + const validator = node.operator === "in" ? inOp : expression; + validator(node, key, val); + }; + + validator.oneOfNodeTypes = ["Expression", "PrivateName"]; + return validator; + }() + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + visitor: ["left", "right"], + aliases: ["Binary", "Expression"] +}); +(0, _utils.default)("InterpreterDirective", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + } +}); +(0, _utils.default)("Directive", { + visitor: ["value"], + fields: { + value: { + validate: (0, _utils.assertNodeType)("DirectiveLiteral") + } + } +}); +(0, _utils.default)("DirectiveLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + } +}); +(0, _utils.default)("BlockStatement", { + builder: ["body", "directives"], + visitor: ["directives", "body"], + fields: { + directives: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Directive"))), + default: [] + }, + body: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Statement"))) + } + }, + aliases: ["Scopable", "BlockParent", "Block", "Statement"] +}); +(0, _utils.default)("BreakStatement", { + visitor: ["label"], + fields: { + label: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + } + }, + aliases: ["Statement", "Terminatorless", "CompletionStatement"] +}); +(0, _utils.default)("CallExpression", { + visitor: ["callee", "arguments", "typeParameters", "typeArguments"], + builder: ["callee", "arguments"], + aliases: ["Expression"], + fields: Object.assign({ + callee: { + validate: (0, _utils.assertNodeType)("Expression", "V8IntrinsicIdentifier") + }, + arguments: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Expression", "SpreadElement", "JSXNamespacedName", "ArgumentPlaceholder"))) + } + }, !process.env.BABEL_TYPES_8_BREAKING ? { + optional: { + validate: (0, _utils.assertOneOf)(true, false), + optional: true + } + } : {}, { + typeArguments: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TSTypeParameterInstantiation"), + optional: true + } + }) +}); +(0, _utils.default)("CatchClause", { + visitor: ["param", "body"], + fields: { + param: { + validate: (0, _utils.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }, + aliases: ["Scopable", "BlockParent"] +}); +(0, _utils.default)("ConditionalExpression", { + visitor: ["test", "consequent", "alternate"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression") + }, + consequent: { + validate: (0, _utils.assertNodeType)("Expression") + }, + alternate: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + aliases: ["Expression", "Conditional"] +}); +(0, _utils.default)("ContinueStatement", { + visitor: ["label"], + fields: { + label: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + } + }, + aliases: ["Statement", "Terminatorless", "CompletionStatement"] +}); +(0, _utils.default)("DebuggerStatement", { + aliases: ["Statement"] +}); +(0, _utils.default)("DoWhileStatement", { + visitor: ["test", "body"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + }, + aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"] +}); +(0, _utils.default)("EmptyStatement", { + aliases: ["Statement"] +}); +(0, _utils.default)("ExpressionStatement", { + visitor: ["expression"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + aliases: ["Statement", "ExpressionWrapper"] +}); +(0, _utils.default)("File", { + builder: ["program", "comments", "tokens"], + visitor: ["program"], + fields: { + program: { + validate: (0, _utils.assertNodeType)("Program") + }, + comments: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? Object.assign(() => {}, { + each: { + oneOfNodeTypes: ["CommentBlock", "CommentLine"] + } + }) : (0, _utils.assertEach)((0, _utils.assertNodeType)("CommentBlock", "CommentLine")), + optional: true + }, + tokens: { + validate: (0, _utils.assertEach)(Object.assign(() => {}, { + type: "any" + })), + optional: true + } + } +}); +(0, _utils.default)("ForInStatement", { + visitor: ["left", "right", "body"], + aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], + fields: { + left: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("VariableDeclaration", "LVal") : (0, _utils.assertNodeType)("VariableDeclaration", "Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern") + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +(0, _utils.default)("ForStatement", { + visitor: ["init", "test", "update", "body"], + aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop"], + fields: { + init: { + validate: (0, _utils.assertNodeType)("VariableDeclaration", "Expression"), + optional: true + }, + test: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + update: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +const functionCommon = { + params: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Identifier", "Pattern", "RestElement", "TSParameterProperty"))) + }, + generator: { + default: false + }, + async: { + default: false + } +}; +exports.functionCommon = functionCommon; +const functionTypeAnnotationCommon = { + returnType: { + validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), + optional: true + } +}; +exports.functionTypeAnnotationCommon = functionTypeAnnotationCommon; +const functionDeclarationCommon = Object.assign({}, functionCommon, { + declare: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + id: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + } +}); +exports.functionDeclarationCommon = functionDeclarationCommon; +(0, _utils.default)("FunctionDeclaration", { + builder: ["id", "params", "body", "generator", "async"], + visitor: ["id", "params", "body", "returnType", "typeParameters"], + fields: Object.assign({}, functionDeclarationCommon, functionTypeAnnotationCommon, { + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }), + aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Statement", "Pureish", "Declaration"], + validate: function () { + if (!process.env.BABEL_TYPES_8_BREAKING) return () => {}; + const identifier = (0, _utils.assertNodeType)("Identifier"); + return function (parent, key, node) { + if (!(0, _is.default)("ExportDefaultDeclaration", parent)) { + identifier(node, "id", node.id); + } + }; + }() +}); +(0, _utils.default)("FunctionExpression", { + inherits: "FunctionDeclaration", + aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], + fields: Object.assign({}, functionCommon, functionTypeAnnotationCommon, { + id: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }) +}); +const patternLikeCommon = { + typeAnnotation: { + validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), + optional: true + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))) + } +}; +exports.patternLikeCommon = patternLikeCommon; +(0, _utils.default)("Identifier", { + builder: ["name"], + visitor: ["typeAnnotation", "decorators"], + aliases: ["Expression", "PatternLike", "LVal", "TSEntityName"], + fields: Object.assign({}, patternLikeCommon, { + name: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("string"), Object.assign(function (node, key, val) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + + if (!(0, _isValidIdentifier.default)(val, false)) { + throw new TypeError(`"${val}" is not a valid identifier name`); + } + }, { + type: "string" + })) + }, + optional: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + } + }), + + validate(parent, key, node) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + const match = /\.(\w+)$/.exec(key); + if (!match) return; + const [, parentKey] = match; + const nonComp = { + computed: false + }; + + if (parentKey === "property") { + if ((0, _is.default)("MemberExpression", parent, nonComp)) return; + if ((0, _is.default)("OptionalMemberExpression", parent, nonComp)) return; + } else if (parentKey === "key") { + if ((0, _is.default)("Property", parent, nonComp)) return; + if ((0, _is.default)("Method", parent, nonComp)) return; + } else if (parentKey === "exported") { + if ((0, _is.default)("ExportSpecifier", parent)) return; + } else if (parentKey === "imported") { + if ((0, _is.default)("ImportSpecifier", parent, { + imported: node + })) return; + } else if (parentKey === "meta") { + if ((0, _is.default)("MetaProperty", parent, { + meta: node + })) return; + } + + if (((0, _helperValidatorIdentifier.isKeyword)(node.name) || (0, _helperValidatorIdentifier.isReservedWord)(node.name)) && node.name !== "this") { + throw new TypeError(`"${node.name}" is not a valid identifier`); + } + } + +}); +(0, _utils.default)("IfStatement", { + visitor: ["test", "consequent", "alternate"], + aliases: ["Statement", "Conditional"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression") + }, + consequent: { + validate: (0, _utils.assertNodeType)("Statement") + }, + alternate: { + optional: true, + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +(0, _utils.default)("LabeledStatement", { + visitor: ["label", "body"], + aliases: ["Statement"], + fields: { + label: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +(0, _utils.default)("StringLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +(0, _utils.default)("NumericLiteral", { + builder: ["value"], + deprecatedAlias: "NumberLiteral", + fields: { + value: { + validate: (0, _utils.assertValueType)("number") + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +(0, _utils.default)("NullLiteral", { + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +(0, _utils.default)("BooleanLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("boolean") + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +(0, _utils.default)("RegExpLiteral", { + builder: ["pattern", "flags"], + deprecatedAlias: "RegexLiteral", + aliases: ["Expression", "Pureish", "Literal"], + fields: { + pattern: { + validate: (0, _utils.assertValueType)("string") + }, + flags: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("string"), Object.assign(function (node, key, val) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + const invalid = /[^gimsuy]/.exec(val); + + if (invalid) { + throw new TypeError(`"${invalid[0]}" is not a valid RegExp flag`); + } + }, { + type: "string" + })), + default: "" + } + } +}); +(0, _utils.default)("LogicalExpression", { + builder: ["operator", "left", "right"], + visitor: ["left", "right"], + aliases: ["Binary", "Expression"], + fields: { + operator: { + validate: (0, _utils.assertOneOf)(..._constants.LOGICAL_OPERATORS) + }, + left: { + validate: (0, _utils.assertNodeType)("Expression") + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("MemberExpression", { + builder: ["object", "property", "computed", "optional"], + visitor: ["object", "property"], + aliases: ["Expression", "LVal"], + fields: Object.assign({ + object: { + validate: (0, _utils.assertNodeType)("Expression") + }, + property: { + validate: function () { + const normal = (0, _utils.assertNodeType)("Identifier", "PrivateName"); + const computed = (0, _utils.assertNodeType)("Expression"); + + const validator = function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }; + + validator.oneOfNodeTypes = ["Expression", "Identifier", "PrivateName"]; + return validator; + }() + }, + computed: { + default: false + } + }, !process.env.BABEL_TYPES_8_BREAKING ? { + optional: { + validate: (0, _utils.assertOneOf)(true, false), + optional: true + } + } : {}) +}); +(0, _utils.default)("NewExpression", { + inherits: "CallExpression" +}); +(0, _utils.default)("Program", { + visitor: ["directives", "body"], + builder: ["body", "directives", "sourceType", "interpreter"], + fields: { + sourceFile: { + validate: (0, _utils.assertValueType)("string") + }, + sourceType: { + validate: (0, _utils.assertOneOf)("script", "module"), + default: "script" + }, + interpreter: { + validate: (0, _utils.assertNodeType)("InterpreterDirective"), + default: null, + optional: true + }, + directives: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Directive"))), + default: [] + }, + body: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Statement"))) + } + }, + aliases: ["Scopable", "BlockParent", "Block"] +}); +(0, _utils.default)("ObjectExpression", { + visitor: ["properties"], + aliases: ["Expression"], + fields: { + properties: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("ObjectMethod", "ObjectProperty", "SpreadElement"))) + } + } +}); +(0, _utils.default)("ObjectMethod", { + builder: ["kind", "key", "params", "body", "computed", "generator", "async"], + fields: Object.assign({}, functionCommon, functionTypeAnnotationCommon, { + kind: Object.assign({ + validate: (0, _utils.assertOneOf)("method", "get", "set") + }, !process.env.BABEL_TYPES_8_BREAKING ? { + default: "method" + } : {}), + computed: { + default: false + }, + key: { + validate: function () { + const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral"); + const computed = (0, _utils.assertNodeType)("Expression"); + + const validator = function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }; + + validator.oneOfNodeTypes = ["Expression", "Identifier", "StringLiteral", "NumericLiteral"]; + return validator; + }() + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }), + visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], + aliases: ["UserWhitespacable", "Function", "Scopable", "BlockParent", "FunctionParent", "Method", "ObjectMember"] +}); +(0, _utils.default)("ObjectProperty", { + builder: ["key", "value", "computed", "shorthand", ...(!process.env.BABEL_TYPES_8_BREAKING ? ["decorators"] : [])], + fields: { + computed: { + default: false + }, + key: { + validate: function () { + const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral"); + const computed = (0, _utils.assertNodeType)("Expression"); + + const validator = function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }; + + validator.oneOfNodeTypes = ["Expression", "Identifier", "StringLiteral", "NumericLiteral"]; + return validator; + }() + }, + value: { + validate: (0, _utils.assertNodeType)("Expression", "PatternLike") + }, + shorthand: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("boolean"), Object.assign(function (node, key, val) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + + if (val && node.computed) { + throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true"); + } + }, { + type: "boolean" + }), function (node, key, val) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + + if (val && !(0, _is.default)("Identifier", node.key)) { + throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier"); + } + }), + default: false + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), + optional: true + } + }, + visitor: ["key", "value", "decorators"], + aliases: ["UserWhitespacable", "Property", "ObjectMember"], + validate: function () { + const pattern = (0, _utils.assertNodeType)("Identifier", "Pattern"); + const expression = (0, _utils.assertNodeType)("Expression"); + return function (parent, key, node) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + const validator = (0, _is.default)("ObjectPattern", parent) ? pattern : expression; + validator(node, "value", node.value); + }; + }() +}); +(0, _utils.default)("RestElement", { + visitor: ["argument", "typeAnnotation"], + builder: ["argument"], + aliases: ["LVal", "PatternLike"], + deprecatedAlias: "RestProperty", + fields: Object.assign({}, patternLikeCommon, { + argument: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("LVal") : (0, _utils.assertNodeType)("Identifier", "Pattern", "MemberExpression") + } + }), + + validate(parent, key) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + const match = /(\w+)\[(\d+)\]/.exec(key); + if (!match) throw new Error("Internal Babel error: malformed key."); + const [, listKey, index] = match; + + if (parent[listKey].length > index + 1) { + throw new TypeError(`RestElement must be last element of ${listKey}`); + } + } + +}); +(0, _utils.default)("ReturnStatement", { + visitor: ["argument"], + aliases: ["Statement", "Terminatorless", "CompletionStatement"], + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + } + } +}); +(0, _utils.default)("SequenceExpression", { + visitor: ["expressions"], + fields: { + expressions: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Expression"))) + } + }, + aliases: ["Expression"] +}); +(0, _utils.default)("ParenthesizedExpression", { + visitor: ["expression"], + aliases: ["Expression", "ExpressionWrapper"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("SwitchCase", { + visitor: ["test", "consequent"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + consequent: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Statement"))) + } + } +}); +(0, _utils.default)("SwitchStatement", { + visitor: ["discriminant", "cases"], + aliases: ["Statement", "BlockParent", "Scopable"], + fields: { + discriminant: { + validate: (0, _utils.assertNodeType)("Expression") + }, + cases: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("SwitchCase"))) + } + } +}); +(0, _utils.default)("ThisExpression", { + aliases: ["Expression"] +}); +(0, _utils.default)("ThrowStatement", { + visitor: ["argument"], + aliases: ["Statement", "Terminatorless", "CompletionStatement"], + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("TryStatement", { + visitor: ["block", "handler", "finalizer"], + aliases: ["Statement"], + fields: { + block: { + validate: (0, _utils.chain)((0, _utils.assertNodeType)("BlockStatement"), Object.assign(function (node) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + + if (!node.handler && !node.finalizer) { + throw new TypeError("TryStatement expects either a handler or finalizer, or both"); + } + }, { + oneOfNodeTypes: ["BlockStatement"] + })) + }, + handler: { + optional: true, + validate: (0, _utils.assertNodeType)("CatchClause") + }, + finalizer: { + optional: true, + validate: (0, _utils.assertNodeType)("BlockStatement") + } + } +}); +(0, _utils.default)("UnaryExpression", { + builder: ["operator", "argument", "prefix"], + fields: { + prefix: { + default: true + }, + argument: { + validate: (0, _utils.assertNodeType)("Expression") + }, + operator: { + validate: (0, _utils.assertOneOf)(..._constants.UNARY_OPERATORS) + } + }, + visitor: ["argument"], + aliases: ["UnaryLike", "Expression"] +}); +(0, _utils.default)("UpdateExpression", { + builder: ["operator", "argument", "prefix"], + fields: { + prefix: { + default: false + }, + argument: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("Expression") : (0, _utils.assertNodeType)("Identifier", "MemberExpression") + }, + operator: { + validate: (0, _utils.assertOneOf)(..._constants.UPDATE_OPERATORS) + } + }, + visitor: ["argument"], + aliases: ["Expression"] +}); +(0, _utils.default)("VariableDeclaration", { + builder: ["kind", "declarations"], + visitor: ["declarations"], + aliases: ["Statement", "Declaration"], + fields: { + declare: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + kind: { + validate: (0, _utils.assertOneOf)("var", "let", "const") + }, + declarations: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("VariableDeclarator"))) + } + }, + + validate(parent, key, node) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + if (!(0, _is.default)("ForXStatement", parent, { + left: node + })) return; + + if (node.declarations.length !== 1) { + throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${parent.type}`); + } + } + +}); +(0, _utils.default)("VariableDeclarator", { + visitor: ["id", "init"], + fields: { + id: { + validate: function () { + if (!process.env.BABEL_TYPES_8_BREAKING) { + return (0, _utils.assertNodeType)("LVal"); + } + + const normal = (0, _utils.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern"); + const without = (0, _utils.assertNodeType)("Identifier"); + return function (node, key, val) { + const validator = node.init ? normal : without; + validator(node, key, val); + }; + }() + }, + definite: { + optional: true, + validate: (0, _utils.assertValueType)("boolean") + }, + init: { + optional: true, + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("WhileStatement", { + visitor: ["test", "body"], + aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +(0, _utils.default)("WithStatement", { + visitor: ["object", "body"], + aliases: ["Statement"], + fields: { + object: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +(0, _utils.default)("AssignmentPattern", { + visitor: ["left", "right", "decorators"], + builder: ["left", "right"], + aliases: ["Pattern", "PatternLike", "LVal"], + fields: Object.assign({}, patternLikeCommon, { + left: { + validate: (0, _utils.assertNodeType)("Identifier", "ObjectPattern", "ArrayPattern", "MemberExpression") + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), + optional: true + } + }) +}); +(0, _utils.default)("ArrayPattern", { + visitor: ["elements", "typeAnnotation"], + builder: ["elements"], + aliases: ["Pattern", "PatternLike", "LVal"], + fields: Object.assign({}, patternLikeCommon, { + elements: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeOrValueType)("null", "PatternLike"))) + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), + optional: true + } + }) +}); +(0, _utils.default)("ArrowFunctionExpression", { + builder: ["params", "body", "async"], + visitor: ["params", "body", "returnType", "typeParameters"], + aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], + fields: Object.assign({}, functionCommon, functionTypeAnnotationCommon, { + expression: { + validate: (0, _utils.assertValueType)("boolean") + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement", "Expression") + } + }) +}); +(0, _utils.default)("ClassBody", { + visitor: ["body"], + fields: { + body: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("ClassMethod", "ClassPrivateMethod", "ClassProperty", "ClassPrivateProperty", "TSDeclareMethod", "TSIndexSignature"))) + } + } +}); +(0, _utils.default)("ClassExpression", { + builder: ["id", "superClass", "body", "decorators"], + visitor: ["id", "body", "superClass", "mixins", "typeParameters", "superTypeParameters", "implements", "decorators"], + aliases: ["Scopable", "Class", "Expression"], + fields: { + id: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("ClassBody") + }, + superClass: { + optional: true, + validate: (0, _utils.assertNodeType)("Expression") + }, + superTypeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), + optional: true + }, + implements: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("TSExpressionWithTypeArguments", "ClassImplements"))), + optional: true + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), + optional: true + }, + mixins: { + validate: (0, _utils.assertNodeType)("InterfaceExtends"), + optional: true + } + } +}); +(0, _utils.default)("ClassDeclaration", { + inherits: "ClassExpression", + aliases: ["Scopable", "Class", "Statement", "Declaration"], + fields: { + id: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("ClassBody") + }, + superClass: { + optional: true, + validate: (0, _utils.assertNodeType)("Expression") + }, + superTypeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), + optional: true + }, + implements: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("TSExpressionWithTypeArguments", "ClassImplements"))), + optional: true + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), + optional: true + }, + mixins: { + validate: (0, _utils.assertNodeType)("InterfaceExtends"), + optional: true + }, + declare: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + abstract: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + } + }, + validate: function () { + const identifier = (0, _utils.assertNodeType)("Identifier"); + return function (parent, key, node) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + + if (!(0, _is.default)("ExportDefaultDeclaration", parent)) { + identifier(node, "id", node.id); + } + }; + }() +}); +(0, _utils.default)("ExportAllDeclaration", { + visitor: ["source"], + aliases: ["Statement", "Declaration", "ModuleDeclaration", "ExportDeclaration"], + fields: { + source: { + validate: (0, _utils.assertNodeType)("StringLiteral") + } + } +}); +(0, _utils.default)("ExportDefaultDeclaration", { + visitor: ["declaration"], + aliases: ["Statement", "Declaration", "ModuleDeclaration", "ExportDeclaration"], + fields: { + declaration: { + validate: (0, _utils.assertNodeType)("FunctionDeclaration", "TSDeclareFunction", "ClassDeclaration", "Expression") + } + } +}); +(0, _utils.default)("ExportNamedDeclaration", { + visitor: ["declaration", "specifiers", "source"], + aliases: ["Statement", "Declaration", "ModuleDeclaration", "ExportDeclaration"], + fields: { + declaration: { + optional: true, + validate: (0, _utils.chain)((0, _utils.assertNodeType)("Declaration"), Object.assign(function (node, key, val) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + + if (val && node.specifiers.length) { + throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration"); + } + }, { + oneOfNodeTypes: ["Declaration"] + }), function (node, key, val) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + + if (val && node.source) { + throw new TypeError("Cannot export a declaration from a source"); + } + }) + }, + specifiers: { + default: [], + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)(function () { + const sourced = (0, _utils.assertNodeType)("ExportSpecifier", "ExportDefaultSpecifier", "ExportNamespaceSpecifier"); + const sourceless = (0, _utils.assertNodeType)("ExportSpecifier"); + if (!process.env.BABEL_TYPES_8_BREAKING) return sourced; + return function (node, key, val) { + const validator = node.source ? sourced : sourceless; + validator(node, key, val); + }; + }())) + }, + source: { + validate: (0, _utils.assertNodeType)("StringLiteral"), + optional: true + }, + exportKind: (0, _utils.validateOptional)((0, _utils.assertOneOf)("type", "value")) + } +}); +(0, _utils.default)("ExportSpecifier", { + visitor: ["local", "exported"], + aliases: ["ModuleSpecifier"], + fields: { + local: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + exported: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +(0, _utils.default)("ForOfStatement", { + visitor: ["left", "right", "body"], + builder: ["left", "right", "body", "await"], + aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], + fields: { + left: { + validate: function () { + if (!process.env.BABEL_TYPES_8_BREAKING) { + return (0, _utils.assertNodeType)("VariableDeclaration", "LVal"); + } + + const declaration = (0, _utils.assertNodeType)("VariableDeclaration"); + const lval = (0, _utils.assertNodeType)("Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern"); + return function (node, key, val) { + if ((0, _is.default)("VariableDeclaration", val)) { + declaration(node, key, val); + } else { + lval(node, key, val); + } + }; + }() + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + }, + await: { + default: false + } + } +}); +(0, _utils.default)("ImportDeclaration", { + visitor: ["specifiers", "source"], + aliases: ["Statement", "Declaration", "ModuleDeclaration"], + fields: { + specifiers: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("ImportSpecifier", "ImportDefaultSpecifier", "ImportNamespaceSpecifier"))) + }, + source: { + validate: (0, _utils.assertNodeType)("StringLiteral") + }, + importKind: { + validate: (0, _utils.assertOneOf)("type", "typeof", "value"), + optional: true + } + } +}); +(0, _utils.default)("ImportDefaultSpecifier", { + visitor: ["local"], + aliases: ["ModuleSpecifier"], + fields: { + local: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +(0, _utils.default)("ImportNamespaceSpecifier", { + visitor: ["local"], + aliases: ["ModuleSpecifier"], + fields: { + local: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +(0, _utils.default)("ImportSpecifier", { + visitor: ["local", "imported"], + aliases: ["ModuleSpecifier"], + fields: { + local: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + imported: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + importKind: { + validate: (0, _utils.assertOneOf)("type", "typeof"), + optional: true + } + } +}); +(0, _utils.default)("MetaProperty", { + visitor: ["meta", "property"], + aliases: ["Expression"], + fields: { + meta: { + validate: (0, _utils.chain)((0, _utils.assertNodeType)("Identifier"), Object.assign(function (node, key, val) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + let property; + + switch (val.name) { + case "function": + property = "sent"; + break; + + case "new": + property = "target"; + break; + + case "import": + property = "meta"; + break; + } + + if (!(0, _is.default)("Identifier", node.property, { + name: property + })) { + throw new TypeError("Unrecognised MetaProperty"); + } + }, { + oneOfNodeTypes: ["Identifier"] + })) + }, + property: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +const classMethodOrPropertyCommon = { + abstract: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + accessibility: { + validate: (0, _utils.assertOneOf)("public", "private", "protected"), + optional: true + }, + static: { + default: false + }, + computed: { + default: false + }, + optional: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + key: { + validate: (0, _utils.chain)(function () { + const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral"); + const computed = (0, _utils.assertNodeType)("Expression"); + return function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }; + }(), (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "Expression")) + } +}; +exports.classMethodOrPropertyCommon = classMethodOrPropertyCommon; +const classMethodOrDeclareMethodCommon = Object.assign({}, functionCommon, classMethodOrPropertyCommon, { + kind: { + validate: (0, _utils.assertOneOf)("get", "set", "method", "constructor"), + default: "method" + }, + access: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("string"), (0, _utils.assertOneOf)("public", "private", "protected")), + optional: true + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), + optional: true + } +}); +exports.classMethodOrDeclareMethodCommon = classMethodOrDeclareMethodCommon; +(0, _utils.default)("ClassMethod", { + aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method"], + builder: ["kind", "key", "params", "body", "computed", "static", "generator", "async"], + visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], + fields: Object.assign({}, classMethodOrDeclareMethodCommon, functionTypeAnnotationCommon, { + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }) +}); +(0, _utils.default)("ObjectPattern", { + visitor: ["properties", "typeAnnotation", "decorators"], + builder: ["properties"], + aliases: ["Pattern", "PatternLike", "LVal"], + fields: Object.assign({}, patternLikeCommon, { + properties: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("RestElement", "ObjectProperty"))) + } + }) +}); +(0, _utils.default)("SpreadElement", { + visitor: ["argument"], + aliases: ["UnaryLike"], + deprecatedAlias: "SpreadProperty", + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("Super", { + aliases: ["Expression"] +}); +(0, _utils.default)("TaggedTemplateExpression", { + visitor: ["tag", "quasi"], + aliases: ["Expression"], + fields: { + tag: { + validate: (0, _utils.assertNodeType)("Expression") + }, + quasi: { + validate: (0, _utils.assertNodeType)("TemplateLiteral") + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), + optional: true + } + } +}); +(0, _utils.default)("TemplateElement", { + builder: ["value", "tail"], + fields: { + value: { + validate: (0, _utils.assertShape)({ + raw: { + validate: (0, _utils.assertValueType)("string") + }, + cooked: { + validate: (0, _utils.assertValueType)("string"), + optional: true + } + }) + }, + tail: { + default: false + } + } +}); +(0, _utils.default)("TemplateLiteral", { + visitor: ["quasis", "expressions"], + aliases: ["Expression", "Literal"], + fields: { + quasis: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("TemplateElement"))) + }, + expressions: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Expression")), function (node, key, val) { + if (node.quasis.length !== val.length + 1) { + throw new TypeError(`Number of ${node.type} quasis should be exactly one more than the number of expressions.\nExpected ${val.length + 1} quasis but got ${node.quasis.length}`); + } + }) + } + } +}); +(0, _utils.default)("YieldExpression", { + builder: ["argument", "delegate"], + visitor: ["argument"], + aliases: ["Expression", "Terminatorless"], + fields: { + delegate: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("boolean"), Object.assign(function (node, key, val) { + if (!process.env.BABEL_TYPES_8_BREAKING) return; + + if (val && !node.argument) { + throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument"); + } + }, { + type: "boolean" + })), + default: false + }, + argument: { + optional: true, + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("AwaitExpression", { + builder: ["argument"], + visitor: ["argument"], + aliases: ["Expression", "Terminatorless"], + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("Import", { + aliases: ["Expression"] +}); +(0, _utils.default)("BigIntLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +(0, _utils.default)("ExportNamespaceSpecifier", { + visitor: ["exported"], + aliases: ["ModuleSpecifier"], + fields: { + exported: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +(0, _utils.default)("OptionalMemberExpression", { + builder: ["object", "property", "computed", "optional"], + visitor: ["object", "property"], + aliases: ["Expression"], + fields: { + object: { + validate: (0, _utils.assertNodeType)("Expression") + }, + property: { + validate: function () { + const normal = (0, _utils.assertNodeType)("Identifier"); + const computed = (0, _utils.assertNodeType)("Expression"); + + const validator = function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }; + + validator.oneOfNodeTypes = ["Expression", "Identifier"]; + return validator; + }() + }, + computed: { + default: false + }, + optional: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertValueType)("boolean") : (0, _utils.chain)((0, _utils.assertValueType)("boolean"), (0, _utils.assertOptionalChainStart)()) + } + } +}); +(0, _utils.default)("OptionalCallExpression", { + visitor: ["callee", "arguments", "typeParameters", "typeArguments"], + builder: ["callee", "arguments", "optional"], + aliases: ["Expression"], + fields: { + callee: { + validate: (0, _utils.assertNodeType)("Expression") + }, + arguments: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Expression", "SpreadElement", "JSXNamespacedName"))) + }, + optional: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertValueType)("boolean") : (0, _utils.chain)((0, _utils.assertValueType)("boolean"), (0, _utils.assertOptionalChainStart)()) + }, + typeArguments: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TSTypeParameterInstantiation"), + optional: true + } + } +}); \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/experimental.js b/node_modules/@babel/types/lib/definitions/experimental.js new file mode 100644 index 000000000..7fe9460dc --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/experimental.js @@ -0,0 +1,191 @@ +"use strict"; + +var _utils = _interopRequireWildcard(require("./utils")); + +var _core = require("./core"); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +(0, _utils.default)("ArgumentPlaceholder", {}); +(0, _utils.default)("BindExpression", { + visitor: ["object", "callee"], + aliases: ["Expression"], + fields: !process.env.BABEL_TYPES_8_BREAKING ? { + object: { + validate: Object.assign(() => {}, { + oneOfNodeTypes: ["Expression"] + }) + }, + callee: { + validate: Object.assign(() => {}, { + oneOfNodeTypes: ["Expression"] + }) + } + } : { + object: { + validate: (0, _utils.assertNodeType)("Expression") + }, + callee: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("ClassProperty", { + visitor: ["key", "value", "typeAnnotation", "decorators"], + builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], + aliases: ["Property"], + fields: Object.assign({}, _core.classMethodOrPropertyCommon, { + value: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + definite: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + typeAnnotation: { + validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), + optional: true + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), + optional: true + }, + readonly: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + declare: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + } + }) +}); +(0, _utils.default)("PipelineTopicExpression", { + builder: ["expression"], + visitor: ["expression"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("PipelineBareFunction", { + builder: ["callee"], + visitor: ["callee"], + fields: { + callee: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("PipelinePrimaryTopicReference", { + aliases: ["Expression"] +}); +(0, _utils.default)("ClassPrivateProperty", { + visitor: ["key", "value", "decorators"], + builder: ["key", "value", "decorators"], + aliases: ["Property", "Private"], + fields: { + key: { + validate: (0, _utils.assertNodeType)("PrivateName") + }, + value: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + decorators: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Decorator"))), + optional: true + } + } +}); +(0, _utils.default)("ClassPrivateMethod", { + builder: ["kind", "key", "params", "body", "static"], + visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], + aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method", "Private"], + fields: Object.assign({}, _core.classMethodOrDeclareMethodCommon, _core.functionTypeAnnotationCommon, { + key: { + validate: (0, _utils.assertNodeType)("PrivateName") + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }) +}); +(0, _utils.default)("ImportAttribute", { + visitor: ["key", "value"], + fields: { + key: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + value: { + validate: (0, _utils.assertNodeType)("StringLiteral") + } + } +}); +(0, _utils.default)("Decorator", { + visitor: ["expression"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("DoExpression", { + visitor: ["body"], + aliases: ["Expression"], + fields: { + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + } +}); +(0, _utils.default)("ExportDefaultSpecifier", { + visitor: ["exported"], + aliases: ["ModuleSpecifier"], + fields: { + exported: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +(0, _utils.default)("PrivateName", { + visitor: ["id"], + aliases: ["Private"], + fields: { + id: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +(0, _utils.default)("RecordExpression", { + visitor: ["properties"], + aliases: ["Expression"], + fields: { + properties: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("ObjectProperty", "SpreadElement"))) + } + } +}); +(0, _utils.default)("TupleExpression", { + fields: { + elements: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Expression", "SpreadElement"))), + default: [] + } + }, + visitor: ["elements"], + aliases: ["Expression"] +}); +(0, _utils.default)("DecimalLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/flow.js b/node_modules/@babel/types/lib/definitions/flow.js new file mode 100644 index 000000000..a6d74d7aa --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/flow.js @@ -0,0 +1,461 @@ +"use strict"; + +var _utils = _interopRequireWildcard(require("./utils")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const defineInterfaceishType = (name, typeParameterType = "TypeParameterDeclaration") => { + (0, _utils.default)(name, { + builder: ["id", "typeParameters", "extends", "body"], + visitor: ["id", "typeParameters", "extends", "mixins", "implements", "body"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)(typeParameterType), + extends: (0, _utils.validateOptional)((0, _utils.arrayOfType)("InterfaceExtends")), + mixins: (0, _utils.validateOptional)((0, _utils.arrayOfType)("InterfaceExtends")), + implements: (0, _utils.validateOptional)((0, _utils.arrayOfType)("ClassImplements")), + body: (0, _utils.validateType)("ObjectTypeAnnotation") + } + }); +}; + +(0, _utils.default)("AnyTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("ArrayTypeAnnotation", { + visitor: ["elementType"], + aliases: ["Flow", "FlowType"], + fields: { + elementType: (0, _utils.validateType)("FlowType") + } +}); +(0, _utils.default)("BooleanTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("BooleanLiteralTypeAnnotation", { + builder: ["value"], + aliases: ["Flow", "FlowType"], + fields: { + value: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +(0, _utils.default)("NullLiteralTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("ClassImplements", { + visitor: ["id", "typeParameters"], + aliases: ["Flow"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterInstantiation") + } +}); +defineInterfaceishType("DeclareClass"); +(0, _utils.default)("DeclareFunction", { + visitor: ["id"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + predicate: (0, _utils.validateOptionalType)("DeclaredPredicate") + } +}); +defineInterfaceishType("DeclareInterface"); +(0, _utils.default)("DeclareModule", { + builder: ["id", "body", "kind"], + visitor: ["id", "body"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)(["Identifier", "StringLiteral"]), + body: (0, _utils.validateType)("BlockStatement"), + kind: (0, _utils.validateOptional)((0, _utils.assertOneOf)("CommonJS", "ES")) + } +}); +(0, _utils.default)("DeclareModuleExports", { + visitor: ["typeAnnotation"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + typeAnnotation: (0, _utils.validateType)("TypeAnnotation") + } +}); +(0, _utils.default)("DeclareTypeAlias", { + visitor: ["id", "typeParameters", "right"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + right: (0, _utils.validateType)("FlowType") + } +}); +(0, _utils.default)("DeclareOpaqueType", { + visitor: ["id", "typeParameters", "supertype"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + supertype: (0, _utils.validateOptionalType)("FlowType") + } +}); +(0, _utils.default)("DeclareVariable", { + visitor: ["id"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier") + } +}); +(0, _utils.default)("DeclareExportDeclaration", { + visitor: ["declaration", "specifiers", "source"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + declaration: (0, _utils.validateOptionalType)("Flow"), + specifiers: (0, _utils.validateOptional)((0, _utils.arrayOfType)(["ExportSpecifier", "ExportNamespaceSpecifier"])), + source: (0, _utils.validateOptionalType)("StringLiteral"), + default: (0, _utils.validateOptional)((0, _utils.assertValueType)("boolean")) + } +}); +(0, _utils.default)("DeclareExportAllDeclaration", { + visitor: ["source"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + source: (0, _utils.validateType)("StringLiteral"), + exportKind: (0, _utils.validateOptional)((0, _utils.assertOneOf)("type", "value")) + } +}); +(0, _utils.default)("DeclaredPredicate", { + visitor: ["value"], + aliases: ["Flow", "FlowPredicate"], + fields: { + value: (0, _utils.validateType)("Flow") + } +}); +(0, _utils.default)("ExistsTypeAnnotation", { + aliases: ["Flow", "FlowType"] +}); +(0, _utils.default)("FunctionTypeAnnotation", { + visitor: ["typeParameters", "params", "rest", "returnType"], + aliases: ["Flow", "FlowType"], + fields: { + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + params: (0, _utils.validate)((0, _utils.arrayOfType)("FunctionTypeParam")), + rest: (0, _utils.validateOptionalType)("FunctionTypeParam"), + returnType: (0, _utils.validateType)("FlowType") + } +}); +(0, _utils.default)("FunctionTypeParam", { + visitor: ["name", "typeAnnotation"], + aliases: ["Flow"], + fields: { + name: (0, _utils.validateOptionalType)("Identifier"), + typeAnnotation: (0, _utils.validateType)("FlowType"), + optional: (0, _utils.validateOptional)((0, _utils.assertValueType)("boolean")) + } +}); +(0, _utils.default)("GenericTypeAnnotation", { + visitor: ["id", "typeParameters"], + aliases: ["Flow", "FlowType"], + fields: { + id: (0, _utils.validateType)(["Identifier", "QualifiedTypeIdentifier"]), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterInstantiation") + } +}); +(0, _utils.default)("InferredPredicate", { + aliases: ["Flow", "FlowPredicate"] +}); +(0, _utils.default)("InterfaceExtends", { + visitor: ["id", "typeParameters"], + aliases: ["Flow"], + fields: { + id: (0, _utils.validateType)(["Identifier", "QualifiedTypeIdentifier"]), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterInstantiation") + } +}); +defineInterfaceishType("InterfaceDeclaration"); +(0, _utils.default)("InterfaceTypeAnnotation", { + visitor: ["extends", "body"], + aliases: ["Flow", "FlowType"], + fields: { + extends: (0, _utils.validateOptional)((0, _utils.arrayOfType)("InterfaceExtends")), + body: (0, _utils.validateType)("ObjectTypeAnnotation") + } +}); +(0, _utils.default)("IntersectionTypeAnnotation", { + visitor: ["types"], + aliases: ["Flow", "FlowType"], + fields: { + types: (0, _utils.validate)((0, _utils.arrayOfType)("FlowType")) + } +}); +(0, _utils.default)("MixedTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("EmptyTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("NullableTypeAnnotation", { + visitor: ["typeAnnotation"], + aliases: ["Flow", "FlowType"], + fields: { + typeAnnotation: (0, _utils.validateType)("FlowType") + } +}); +(0, _utils.default)("NumberLiteralTypeAnnotation", { + builder: ["value"], + aliases: ["Flow", "FlowType"], + fields: { + value: (0, _utils.validate)((0, _utils.assertValueType)("number")) + } +}); +(0, _utils.default)("NumberTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("ObjectTypeAnnotation", { + visitor: ["properties", "indexers", "callProperties", "internalSlots"], + aliases: ["Flow", "FlowType"], + builder: ["properties", "indexers", "callProperties", "internalSlots", "exact"], + fields: { + properties: (0, _utils.validate)((0, _utils.arrayOfType)(["ObjectTypeProperty", "ObjectTypeSpreadProperty"])), + indexers: (0, _utils.validateOptional)((0, _utils.arrayOfType)("ObjectTypeIndexer")), + callProperties: (0, _utils.validateOptional)((0, _utils.arrayOfType)("ObjectTypeCallProperty")), + internalSlots: (0, _utils.validateOptional)((0, _utils.arrayOfType)("ObjectTypeInternalSlot")), + exact: { + validate: (0, _utils.assertValueType)("boolean"), + default: false + }, + inexact: (0, _utils.validateOptional)((0, _utils.assertValueType)("boolean")) + } +}); +(0, _utils.default)("ObjectTypeInternalSlot", { + visitor: ["id", "value", "optional", "static", "method"], + aliases: ["Flow", "UserWhitespacable"], + fields: { + id: (0, _utils.validateType)("Identifier"), + value: (0, _utils.validateType)("FlowType"), + optional: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + static: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + method: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +(0, _utils.default)("ObjectTypeCallProperty", { + visitor: ["value"], + aliases: ["Flow", "UserWhitespacable"], + fields: { + value: (0, _utils.validateType)("FlowType"), + static: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +(0, _utils.default)("ObjectTypeIndexer", { + visitor: ["id", "key", "value", "variance"], + aliases: ["Flow", "UserWhitespacable"], + fields: { + id: (0, _utils.validateOptionalType)("Identifier"), + key: (0, _utils.validateType)("FlowType"), + value: (0, _utils.validateType)("FlowType"), + static: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + variance: (0, _utils.validateOptionalType)("Variance") + } +}); +(0, _utils.default)("ObjectTypeProperty", { + visitor: ["key", "value", "variance"], + aliases: ["Flow", "UserWhitespacable"], + fields: { + key: (0, _utils.validateType)(["Identifier", "StringLiteral"]), + value: (0, _utils.validateType)("FlowType"), + kind: (0, _utils.validate)((0, _utils.assertOneOf)("init", "get", "set")), + static: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + proto: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + optional: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + variance: (0, _utils.validateOptionalType)("Variance") + } +}); +(0, _utils.default)("ObjectTypeSpreadProperty", { + visitor: ["argument"], + aliases: ["Flow", "UserWhitespacable"], + fields: { + argument: (0, _utils.validateType)("FlowType") + } +}); +(0, _utils.default)("OpaqueType", { + visitor: ["id", "typeParameters", "supertype", "impltype"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + supertype: (0, _utils.validateOptionalType)("FlowType"), + impltype: (0, _utils.validateType)("FlowType") + } +}); +(0, _utils.default)("QualifiedTypeIdentifier", { + visitor: ["id", "qualification"], + aliases: ["Flow"], + fields: { + id: (0, _utils.validateType)("Identifier"), + qualification: (0, _utils.validateType)(["Identifier", "QualifiedTypeIdentifier"]) + } +}); +(0, _utils.default)("StringLiteralTypeAnnotation", { + builder: ["value"], + aliases: ["Flow", "FlowType"], + fields: { + value: (0, _utils.validate)((0, _utils.assertValueType)("string")) + } +}); +(0, _utils.default)("StringTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("SymbolTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("ThisTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("TupleTypeAnnotation", { + visitor: ["types"], + aliases: ["Flow", "FlowType"], + fields: { + types: (0, _utils.validate)((0, _utils.arrayOfType)("FlowType")) + } +}); +(0, _utils.default)("TypeofTypeAnnotation", { + visitor: ["argument"], + aliases: ["Flow", "FlowType"], + fields: { + argument: (0, _utils.validateType)("FlowType") + } +}); +(0, _utils.default)("TypeAlias", { + visitor: ["id", "typeParameters", "right"], + aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + right: (0, _utils.validateType)("FlowType") + } +}); +(0, _utils.default)("TypeAnnotation", { + aliases: ["Flow"], + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: (0, _utils.validateType)("FlowType") + } +}); +(0, _utils.default)("TypeCastExpression", { + visitor: ["expression", "typeAnnotation"], + aliases: ["Flow", "ExpressionWrapper", "Expression"], + fields: { + expression: (0, _utils.validateType)("Expression"), + typeAnnotation: (0, _utils.validateType)("TypeAnnotation") + } +}); +(0, _utils.default)("TypeParameter", { + aliases: ["Flow"], + visitor: ["bound", "default", "variance"], + fields: { + name: (0, _utils.validate)((0, _utils.assertValueType)("string")), + bound: (0, _utils.validateOptionalType)("TypeAnnotation"), + default: (0, _utils.validateOptionalType)("FlowType"), + variance: (0, _utils.validateOptionalType)("Variance") + } +}); +(0, _utils.default)("TypeParameterDeclaration", { + aliases: ["Flow"], + visitor: ["params"], + fields: { + params: (0, _utils.validate)((0, _utils.arrayOfType)("TypeParameter")) + } +}); +(0, _utils.default)("TypeParameterInstantiation", { + aliases: ["Flow"], + visitor: ["params"], + fields: { + params: (0, _utils.validate)((0, _utils.arrayOfType)("FlowType")) + } +}); +(0, _utils.default)("UnionTypeAnnotation", { + visitor: ["types"], + aliases: ["Flow", "FlowType"], + fields: { + types: (0, _utils.validate)((0, _utils.arrayOfType)("FlowType")) + } +}); +(0, _utils.default)("Variance", { + aliases: ["Flow"], + builder: ["kind"], + fields: { + kind: (0, _utils.validate)((0, _utils.assertOneOf)("minus", "plus")) + } +}); +(0, _utils.default)("VoidTypeAnnotation", { + aliases: ["Flow", "FlowType", "FlowBaseAnnotation"] +}); +(0, _utils.default)("EnumDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "body"], + fields: { + id: (0, _utils.validateType)("Identifier"), + body: (0, _utils.validateType)(["EnumBooleanBody", "EnumNumberBody", "EnumStringBody", "EnumSymbolBody"]) + } +}); +(0, _utils.default)("EnumBooleanBody", { + aliases: ["EnumBody"], + visitor: ["members"], + fields: { + explicit: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + members: (0, _utils.validateArrayOfType)("EnumBooleanMember") + } +}); +(0, _utils.default)("EnumNumberBody", { + aliases: ["EnumBody"], + visitor: ["members"], + fields: { + explicit: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + members: (0, _utils.validateArrayOfType)("EnumNumberMember") + } +}); +(0, _utils.default)("EnumStringBody", { + aliases: ["EnumBody"], + visitor: ["members"], + fields: { + explicit: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + members: (0, _utils.validateArrayOfType)(["EnumStringMember", "EnumDefaultedMember"]) + } +}); +(0, _utils.default)("EnumSymbolBody", { + aliases: ["EnumBody"], + visitor: ["members"], + fields: { + members: (0, _utils.validateArrayOfType)("EnumDefaultedMember") + } +}); +(0, _utils.default)("EnumBooleanMember", { + aliases: ["EnumMember"], + visitor: ["id"], + fields: { + id: (0, _utils.validateType)("Identifier"), + init: (0, _utils.validateType)("BooleanLiteral") + } +}); +(0, _utils.default)("EnumNumberMember", { + aliases: ["EnumMember"], + visitor: ["id", "init"], + fields: { + id: (0, _utils.validateType)("Identifier"), + init: (0, _utils.validateType)("NumericLiteral") + } +}); +(0, _utils.default)("EnumStringMember", { + aliases: ["EnumMember"], + visitor: ["id", "init"], + fields: { + id: (0, _utils.validateType)("Identifier"), + init: (0, _utils.validateType)("StringLiteral") + } +}); +(0, _utils.default)("EnumDefaultedMember", { + aliases: ["EnumMember"], + visitor: ["id"], + fields: { + id: (0, _utils.validateType)("Identifier") + } +}); \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/index.js b/node_modules/@babel/types/lib/definitions/index.js new file mode 100644 index 000000000..d69997f29 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/index.js @@ -0,0 +1,97 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "VISITOR_KEYS", { + enumerable: true, + get: function () { + return _utils.VISITOR_KEYS; + } +}); +Object.defineProperty(exports, "ALIAS_KEYS", { + enumerable: true, + get: function () { + return _utils.ALIAS_KEYS; + } +}); +Object.defineProperty(exports, "FLIPPED_ALIAS_KEYS", { + enumerable: true, + get: function () { + return _utils.FLIPPED_ALIAS_KEYS; + } +}); +Object.defineProperty(exports, "NODE_FIELDS", { + enumerable: true, + get: function () { + return _utils.NODE_FIELDS; + } +}); +Object.defineProperty(exports, "BUILDER_KEYS", { + enumerable: true, + get: function () { + return _utils.BUILDER_KEYS; + } +}); +Object.defineProperty(exports, "DEPRECATED_KEYS", { + enumerable: true, + get: function () { + return _utils.DEPRECATED_KEYS; + } +}); +Object.defineProperty(exports, "NODE_PARENT_VALIDATIONS", { + enumerable: true, + get: function () { + return _utils.NODE_PARENT_VALIDATIONS; + } +}); +Object.defineProperty(exports, "PLACEHOLDERS", { + enumerable: true, + get: function () { + return _placeholders.PLACEHOLDERS; + } +}); +Object.defineProperty(exports, "PLACEHOLDERS_ALIAS", { + enumerable: true, + get: function () { + return _placeholders.PLACEHOLDERS_ALIAS; + } +}); +Object.defineProperty(exports, "PLACEHOLDERS_FLIPPED_ALIAS", { + enumerable: true, + get: function () { + return _placeholders.PLACEHOLDERS_FLIPPED_ALIAS; + } +}); +exports.TYPES = void 0; + +var _toFastProperties = _interopRequireDefault(require("to-fast-properties")); + +require("./core"); + +require("./flow"); + +require("./jsx"); + +require("./misc"); + +require("./experimental"); + +require("./typescript"); + +var _utils = require("./utils"); + +var _placeholders = require("./placeholders"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +(0, _toFastProperties.default)(_utils.VISITOR_KEYS); +(0, _toFastProperties.default)(_utils.ALIAS_KEYS); +(0, _toFastProperties.default)(_utils.FLIPPED_ALIAS_KEYS); +(0, _toFastProperties.default)(_utils.NODE_FIELDS); +(0, _toFastProperties.default)(_utils.BUILDER_KEYS); +(0, _toFastProperties.default)(_utils.DEPRECATED_KEYS); +(0, _toFastProperties.default)(_placeholders.PLACEHOLDERS_ALIAS); +(0, _toFastProperties.default)(_placeholders.PLACEHOLDERS_FLIPPED_ALIAS); +const TYPES = Object.keys(_utils.VISITOR_KEYS).concat(Object.keys(_utils.FLIPPED_ALIAS_KEYS)).concat(Object.keys(_utils.DEPRECATED_KEYS)); +exports.TYPES = TYPES; \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/jsx.js b/node_modules/@babel/types/lib/definitions/jsx.js new file mode 100644 index 000000000..cdea06ba3 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/jsx.js @@ -0,0 +1,165 @@ +"use strict"; + +var _utils = _interopRequireWildcard(require("./utils")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +(0, _utils.default)("JSXAttribute", { + visitor: ["name", "value"], + aliases: ["JSX", "Immutable"], + fields: { + name: { + validate: (0, _utils.assertNodeType)("JSXIdentifier", "JSXNamespacedName") + }, + value: { + optional: true, + validate: (0, _utils.assertNodeType)("JSXElement", "JSXFragment", "StringLiteral", "JSXExpressionContainer") + } + } +}); +(0, _utils.default)("JSXClosingElement", { + visitor: ["name"], + aliases: ["JSX", "Immutable"], + fields: { + name: { + validate: (0, _utils.assertNodeType)("JSXIdentifier", "JSXMemberExpression", "JSXNamespacedName") + } + } +}); +(0, _utils.default)("JSXElement", { + builder: ["openingElement", "closingElement", "children", "selfClosing"], + visitor: ["openingElement", "children", "closingElement"], + aliases: ["JSX", "Immutable", "Expression"], + fields: { + openingElement: { + validate: (0, _utils.assertNodeType)("JSXOpeningElement") + }, + closingElement: { + optional: true, + validate: (0, _utils.assertNodeType)("JSXClosingElement") + }, + children: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("JSXText", "JSXExpressionContainer", "JSXSpreadChild", "JSXElement", "JSXFragment"))) + }, + selfClosing: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + } + } +}); +(0, _utils.default)("JSXEmptyExpression", { + aliases: ["JSX"] +}); +(0, _utils.default)("JSXExpressionContainer", { + visitor: ["expression"], + aliases: ["JSX", "Immutable"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression", "JSXEmptyExpression") + } + } +}); +(0, _utils.default)("JSXSpreadChild", { + visitor: ["expression"], + aliases: ["JSX", "Immutable"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("JSXIdentifier", { + builder: ["name"], + aliases: ["JSX"], + fields: { + name: { + validate: (0, _utils.assertValueType)("string") + } + } +}); +(0, _utils.default)("JSXMemberExpression", { + visitor: ["object", "property"], + aliases: ["JSX"], + fields: { + object: { + validate: (0, _utils.assertNodeType)("JSXMemberExpression", "JSXIdentifier") + }, + property: { + validate: (0, _utils.assertNodeType)("JSXIdentifier") + } + } +}); +(0, _utils.default)("JSXNamespacedName", { + visitor: ["namespace", "name"], + aliases: ["JSX"], + fields: { + namespace: { + validate: (0, _utils.assertNodeType)("JSXIdentifier") + }, + name: { + validate: (0, _utils.assertNodeType)("JSXIdentifier") + } + } +}); +(0, _utils.default)("JSXOpeningElement", { + builder: ["name", "attributes", "selfClosing"], + visitor: ["name", "attributes"], + aliases: ["JSX", "Immutable"], + fields: { + name: { + validate: (0, _utils.assertNodeType)("JSXIdentifier", "JSXMemberExpression", "JSXNamespacedName") + }, + selfClosing: { + default: false + }, + attributes: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("JSXAttribute", "JSXSpreadAttribute"))) + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), + optional: true + } + } +}); +(0, _utils.default)("JSXSpreadAttribute", { + visitor: ["argument"], + aliases: ["JSX"], + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("JSXText", { + aliases: ["JSX", "Immutable"], + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + } +}); +(0, _utils.default)("JSXFragment", { + builder: ["openingFragment", "closingFragment", "children"], + visitor: ["openingFragment", "children", "closingFragment"], + aliases: ["JSX", "Immutable", "Expression"], + fields: { + openingFragment: { + validate: (0, _utils.assertNodeType)("JSXOpeningFragment") + }, + closingFragment: { + validate: (0, _utils.assertNodeType)("JSXClosingFragment") + }, + children: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("JSXText", "JSXExpressionContainer", "JSXSpreadChild", "JSXElement", "JSXFragment"))) + } + } +}); +(0, _utils.default)("JSXOpeningFragment", { + aliases: ["JSX", "Immutable"] +}); +(0, _utils.default)("JSXClosingFragment", { + aliases: ["JSX", "Immutable"] +}); \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/misc.js b/node_modules/@babel/types/lib/definitions/misc.js new file mode 100644 index 000000000..f72c65115 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/misc.js @@ -0,0 +1,33 @@ +"use strict"; + +var _utils = _interopRequireWildcard(require("./utils")); + +var _placeholders = require("./placeholders"); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +(0, _utils.default)("Noop", { + visitor: [] +}); +(0, _utils.default)("Placeholder", { + visitor: [], + builder: ["expectedNode", "name"], + fields: { + name: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + expectedNode: { + validate: (0, _utils.assertOneOf)(..._placeholders.PLACEHOLDERS) + } + } +}); +(0, _utils.default)("V8IntrinsicIdentifier", { + builder: ["name"], + fields: { + name: { + validate: (0, _utils.assertValueType)("string") + } + } +}); \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/placeholders.js b/node_modules/@babel/types/lib/definitions/placeholders.js new file mode 100644 index 000000000..52b52e5e8 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/placeholders.js @@ -0,0 +1,33 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PLACEHOLDERS_FLIPPED_ALIAS = exports.PLACEHOLDERS_ALIAS = exports.PLACEHOLDERS = void 0; + +var _utils = require("./utils"); + +const PLACEHOLDERS = ["Identifier", "StringLiteral", "Expression", "Statement", "Declaration", "BlockStatement", "ClassBody", "Pattern"]; +exports.PLACEHOLDERS = PLACEHOLDERS; +const PLACEHOLDERS_ALIAS = { + Declaration: ["Statement"], + Pattern: ["PatternLike", "LVal"] +}; +exports.PLACEHOLDERS_ALIAS = PLACEHOLDERS_ALIAS; + +for (const type of PLACEHOLDERS) { + const alias = _utils.ALIAS_KEYS[type]; + if (alias == null ? void 0 : alias.length) PLACEHOLDERS_ALIAS[type] = alias; +} + +const PLACEHOLDERS_FLIPPED_ALIAS = {}; +exports.PLACEHOLDERS_FLIPPED_ALIAS = PLACEHOLDERS_FLIPPED_ALIAS; +Object.keys(PLACEHOLDERS_ALIAS).forEach(type => { + PLACEHOLDERS_ALIAS[type].forEach(alias => { + if (!Object.hasOwnProperty.call(PLACEHOLDERS_FLIPPED_ALIAS, alias)) { + PLACEHOLDERS_FLIPPED_ALIAS[alias] = []; + } + + PLACEHOLDERS_FLIPPED_ALIAS[alias].push(type); + }); +}); \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/typescript.js b/node_modules/@babel/types/lib/definitions/typescript.js new file mode 100644 index 000000000..0069d40af --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/typescript.js @@ -0,0 +1,427 @@ +"use strict"; + +var _utils = _interopRequireWildcard(require("./utils")); + +var _core = require("./core"); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +const bool = (0, _utils.assertValueType)("boolean"); +const tSFunctionTypeAnnotationCommon = { + returnType: { + validate: (0, _utils.assertNodeType)("TSTypeAnnotation", "Noop"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TSTypeParameterDeclaration", "Noop"), + optional: true + } +}; +(0, _utils.default)("TSParameterProperty", { + aliases: ["LVal"], + visitor: ["parameter"], + fields: { + accessibility: { + validate: (0, _utils.assertOneOf)("public", "private", "protected"), + optional: true + }, + readonly: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + parameter: { + validate: (0, _utils.assertNodeType)("Identifier", "AssignmentPattern") + } + } +}); +(0, _utils.default)("TSDeclareFunction", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "typeParameters", "params", "returnType"], + fields: Object.assign({}, _core.functionDeclarationCommon, tSFunctionTypeAnnotationCommon) +}); +(0, _utils.default)("TSDeclareMethod", { + visitor: ["decorators", "key", "typeParameters", "params", "returnType"], + fields: Object.assign({}, _core.classMethodOrDeclareMethodCommon, tSFunctionTypeAnnotationCommon) +}); +(0, _utils.default)("TSQualifiedName", { + aliases: ["TSEntityName"], + visitor: ["left", "right"], + fields: { + left: (0, _utils.validateType)("TSEntityName"), + right: (0, _utils.validateType)("Identifier") + } +}); +const signatureDeclarationCommon = { + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterDeclaration"), + parameters: (0, _utils.validateArrayOfType)(["Identifier", "RestElement"]), + typeAnnotation: (0, _utils.validateOptionalType)("TSTypeAnnotation") +}; +const callConstructSignatureDeclaration = { + aliases: ["TSTypeElement"], + visitor: ["typeParameters", "parameters", "typeAnnotation"], + fields: signatureDeclarationCommon +}; +(0, _utils.default)("TSCallSignatureDeclaration", callConstructSignatureDeclaration); +(0, _utils.default)("TSConstructSignatureDeclaration", callConstructSignatureDeclaration); +const namedTypeElementCommon = { + key: (0, _utils.validateType)("Expression"), + computed: (0, _utils.validate)(bool), + optional: (0, _utils.validateOptional)(bool) +}; +(0, _utils.default)("TSPropertySignature", { + aliases: ["TSTypeElement"], + visitor: ["key", "typeAnnotation", "initializer"], + fields: Object.assign({}, namedTypeElementCommon, { + readonly: (0, _utils.validateOptional)(bool), + typeAnnotation: (0, _utils.validateOptionalType)("TSTypeAnnotation"), + initializer: (0, _utils.validateOptionalType)("Expression") + }) +}); +(0, _utils.default)("TSMethodSignature", { + aliases: ["TSTypeElement"], + visitor: ["key", "typeParameters", "parameters", "typeAnnotation"], + fields: Object.assign({}, signatureDeclarationCommon, namedTypeElementCommon) +}); +(0, _utils.default)("TSIndexSignature", { + aliases: ["TSTypeElement"], + visitor: ["parameters", "typeAnnotation"], + fields: { + readonly: (0, _utils.validateOptional)(bool), + parameters: (0, _utils.validateArrayOfType)("Identifier"), + typeAnnotation: (0, _utils.validateOptionalType)("TSTypeAnnotation") + } +}); +const tsKeywordTypes = ["TSAnyKeyword", "TSBooleanKeyword", "TSBigIntKeyword", "TSNeverKeyword", "TSNullKeyword", "TSNumberKeyword", "TSObjectKeyword", "TSStringKeyword", "TSSymbolKeyword", "TSUndefinedKeyword", "TSUnknownKeyword", "TSVoidKeyword"]; + +for (const type of tsKeywordTypes) { + (0, _utils.default)(type, { + aliases: ["TSType", "TSBaseType"], + visitor: [], + fields: {} + }); +} + +(0, _utils.default)("TSThisType", { + aliases: ["TSType", "TSBaseType"], + visitor: [], + fields: {} +}); +const fnOrCtr = { + aliases: ["TSType"], + visitor: ["typeParameters", "parameters", "typeAnnotation"], + fields: signatureDeclarationCommon +}; +(0, _utils.default)("TSFunctionType", fnOrCtr); +(0, _utils.default)("TSConstructorType", fnOrCtr); +(0, _utils.default)("TSTypeReference", { + aliases: ["TSType"], + visitor: ["typeName", "typeParameters"], + fields: { + typeName: (0, _utils.validateType)("TSEntityName"), + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterInstantiation") + } +}); +(0, _utils.default)("TSTypePredicate", { + aliases: ["TSType"], + visitor: ["parameterName", "typeAnnotation"], + builder: ["parameterName", "typeAnnotation", "asserts"], + fields: { + parameterName: (0, _utils.validateType)(["Identifier", "TSThisType"]), + typeAnnotation: (0, _utils.validateOptionalType)("TSTypeAnnotation"), + asserts: (0, _utils.validateOptional)(bool) + } +}); +(0, _utils.default)("TSTypeQuery", { + aliases: ["TSType"], + visitor: ["exprName"], + fields: { + exprName: (0, _utils.validateType)(["TSEntityName", "TSImportType"]) + } +}); +(0, _utils.default)("TSTypeLiteral", { + aliases: ["TSType"], + visitor: ["members"], + fields: { + members: (0, _utils.validateArrayOfType)("TSTypeElement") + } +}); +(0, _utils.default)("TSArrayType", { + aliases: ["TSType"], + visitor: ["elementType"], + fields: { + elementType: (0, _utils.validateType)("TSType") + } +}); +(0, _utils.default)("TSTupleType", { + aliases: ["TSType"], + visitor: ["elementTypes"], + fields: { + elementTypes: (0, _utils.validateArrayOfType)(["TSType", "TSNamedTupleMember"]) + } +}); +(0, _utils.default)("TSOptionalType", { + aliases: ["TSType"], + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +(0, _utils.default)("TSRestType", { + aliases: ["TSType"], + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +(0, _utils.default)("TSNamedTupleMember", { + visitor: ["label", "elementType"], + builder: ["label", "elementType", "optional"], + fields: { + label: (0, _utils.validateType)("Identifier"), + optional: { + validate: bool, + default: false + }, + elementType: (0, _utils.validateType)("TSType") + } +}); +const unionOrIntersection = { + aliases: ["TSType"], + visitor: ["types"], + fields: { + types: (0, _utils.validateArrayOfType)("TSType") + } +}; +(0, _utils.default)("TSUnionType", unionOrIntersection); +(0, _utils.default)("TSIntersectionType", unionOrIntersection); +(0, _utils.default)("TSConditionalType", { + aliases: ["TSType"], + visitor: ["checkType", "extendsType", "trueType", "falseType"], + fields: { + checkType: (0, _utils.validateType)("TSType"), + extendsType: (0, _utils.validateType)("TSType"), + trueType: (0, _utils.validateType)("TSType"), + falseType: (0, _utils.validateType)("TSType") + } +}); +(0, _utils.default)("TSInferType", { + aliases: ["TSType"], + visitor: ["typeParameter"], + fields: { + typeParameter: (0, _utils.validateType)("TSTypeParameter") + } +}); +(0, _utils.default)("TSParenthesizedType", { + aliases: ["TSType"], + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +(0, _utils.default)("TSTypeOperator", { + aliases: ["TSType"], + visitor: ["typeAnnotation"], + fields: { + operator: (0, _utils.validate)((0, _utils.assertValueType)("string")), + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +(0, _utils.default)("TSIndexedAccessType", { + aliases: ["TSType"], + visitor: ["objectType", "indexType"], + fields: { + objectType: (0, _utils.validateType)("TSType"), + indexType: (0, _utils.validateType)("TSType") + } +}); +(0, _utils.default)("TSMappedType", { + aliases: ["TSType"], + visitor: ["typeParameter", "typeAnnotation"], + fields: { + readonly: (0, _utils.validateOptional)(bool), + typeParameter: (0, _utils.validateType)("TSTypeParameter"), + optional: (0, _utils.validateOptional)(bool), + typeAnnotation: (0, _utils.validateOptionalType)("TSType") + } +}); +(0, _utils.default)("TSLiteralType", { + aliases: ["TSType", "TSBaseType"], + visitor: ["literal"], + fields: { + literal: (0, _utils.validateType)(["NumericLiteral", "StringLiteral", "BooleanLiteral", "BigIntLiteral"]) + } +}); +(0, _utils.default)("TSExpressionWithTypeArguments", { + aliases: ["TSType"], + visitor: ["expression", "typeParameters"], + fields: { + expression: (0, _utils.validateType)("TSEntityName"), + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterInstantiation") + } +}); +(0, _utils.default)("TSInterfaceDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "typeParameters", "extends", "body"], + fields: { + declare: (0, _utils.validateOptional)(bool), + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterDeclaration"), + extends: (0, _utils.validateOptional)((0, _utils.arrayOfType)("TSExpressionWithTypeArguments")), + body: (0, _utils.validateType)("TSInterfaceBody") + } +}); +(0, _utils.default)("TSInterfaceBody", { + visitor: ["body"], + fields: { + body: (0, _utils.validateArrayOfType)("TSTypeElement") + } +}); +(0, _utils.default)("TSTypeAliasDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "typeParameters", "typeAnnotation"], + fields: { + declare: (0, _utils.validateOptional)(bool), + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterDeclaration"), + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +(0, _utils.default)("TSAsExpression", { + aliases: ["Expression"], + visitor: ["expression", "typeAnnotation"], + fields: { + expression: (0, _utils.validateType)("Expression"), + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +(0, _utils.default)("TSTypeAssertion", { + aliases: ["Expression"], + visitor: ["typeAnnotation", "expression"], + fields: { + typeAnnotation: (0, _utils.validateType)("TSType"), + expression: (0, _utils.validateType)("Expression") + } +}); +(0, _utils.default)("TSEnumDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "members"], + fields: { + declare: (0, _utils.validateOptional)(bool), + const: (0, _utils.validateOptional)(bool), + id: (0, _utils.validateType)("Identifier"), + members: (0, _utils.validateArrayOfType)("TSEnumMember"), + initializer: (0, _utils.validateOptionalType)("Expression") + } +}); +(0, _utils.default)("TSEnumMember", { + visitor: ["id", "initializer"], + fields: { + id: (0, _utils.validateType)(["Identifier", "StringLiteral"]), + initializer: (0, _utils.validateOptionalType)("Expression") + } +}); +(0, _utils.default)("TSModuleDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "body"], + fields: { + declare: (0, _utils.validateOptional)(bool), + global: (0, _utils.validateOptional)(bool), + id: (0, _utils.validateType)(["Identifier", "StringLiteral"]), + body: (0, _utils.validateType)(["TSModuleBlock", "TSModuleDeclaration"]) + } +}); +(0, _utils.default)("TSModuleBlock", { + aliases: ["Scopable", "Block", "BlockParent"], + visitor: ["body"], + fields: { + body: (0, _utils.validateArrayOfType)("Statement") + } +}); +(0, _utils.default)("TSImportType", { + aliases: ["TSType"], + visitor: ["argument", "qualifier", "typeParameters"], + fields: { + argument: (0, _utils.validateType)("StringLiteral"), + qualifier: (0, _utils.validateOptionalType)("TSEntityName"), + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterInstantiation") + } +}); +(0, _utils.default)("TSImportEqualsDeclaration", { + aliases: ["Statement"], + visitor: ["id", "moduleReference"], + fields: { + isExport: (0, _utils.validate)(bool), + id: (0, _utils.validateType)("Identifier"), + moduleReference: (0, _utils.validateType)(["TSEntityName", "TSExternalModuleReference"]) + } +}); +(0, _utils.default)("TSExternalModuleReference", { + visitor: ["expression"], + fields: { + expression: (0, _utils.validateType)("StringLiteral") + } +}); +(0, _utils.default)("TSNonNullExpression", { + aliases: ["Expression"], + visitor: ["expression"], + fields: { + expression: (0, _utils.validateType)("Expression") + } +}); +(0, _utils.default)("TSExportAssignment", { + aliases: ["Statement"], + visitor: ["expression"], + fields: { + expression: (0, _utils.validateType)("Expression") + } +}); +(0, _utils.default)("TSNamespaceExportDeclaration", { + aliases: ["Statement"], + visitor: ["id"], + fields: { + id: (0, _utils.validateType)("Identifier") + } +}); +(0, _utils.default)("TSTypeAnnotation", { + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: { + validate: (0, _utils.assertNodeType)("TSType") + } + } +}); +(0, _utils.default)("TSTypeParameterInstantiation", { + visitor: ["params"], + fields: { + params: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("TSType"))) + } + } +}); +(0, _utils.default)("TSTypeParameterDeclaration", { + visitor: ["params"], + fields: { + params: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("TSTypeParameter"))) + } + } +}); +(0, _utils.default)("TSTypeParameter", { + builder: ["constraint", "default", "name"], + visitor: ["constraint", "default"], + fields: { + name: { + validate: (0, _utils.assertValueType)("string") + }, + constraint: { + validate: (0, _utils.assertNodeType)("TSType"), + optional: true + }, + default: { + validate: (0, _utils.assertNodeType)("TSType"), + optional: true + } + } +}); \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/utils.js b/node_modules/@babel/types/lib/definitions/utils.js new file mode 100644 index 000000000..447142642 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/utils.js @@ -0,0 +1,315 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.validate = validate; +exports.typeIs = typeIs; +exports.validateType = validateType; +exports.validateOptional = validateOptional; +exports.validateOptionalType = validateOptionalType; +exports.arrayOf = arrayOf; +exports.arrayOfType = arrayOfType; +exports.validateArrayOfType = validateArrayOfType; +exports.assertEach = assertEach; +exports.assertOneOf = assertOneOf; +exports.assertNodeType = assertNodeType; +exports.assertNodeOrValueType = assertNodeOrValueType; +exports.assertValueType = assertValueType; +exports.assertShape = assertShape; +exports.assertOptionalChainStart = assertOptionalChainStart; +exports.chain = chain; +exports.default = defineType; +exports.NODE_PARENT_VALIDATIONS = exports.DEPRECATED_KEYS = exports.BUILDER_KEYS = exports.NODE_FIELDS = exports.FLIPPED_ALIAS_KEYS = exports.ALIAS_KEYS = exports.VISITOR_KEYS = void 0; + +var _is = _interopRequireDefault(require("../validators/is")); + +var _validate = require("../validators/validate"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const VISITOR_KEYS = {}; +exports.VISITOR_KEYS = VISITOR_KEYS; +const ALIAS_KEYS = {}; +exports.ALIAS_KEYS = ALIAS_KEYS; +const FLIPPED_ALIAS_KEYS = {}; +exports.FLIPPED_ALIAS_KEYS = FLIPPED_ALIAS_KEYS; +const NODE_FIELDS = {}; +exports.NODE_FIELDS = NODE_FIELDS; +const BUILDER_KEYS = {}; +exports.BUILDER_KEYS = BUILDER_KEYS; +const DEPRECATED_KEYS = {}; +exports.DEPRECATED_KEYS = DEPRECATED_KEYS; +const NODE_PARENT_VALIDATIONS = {}; +exports.NODE_PARENT_VALIDATIONS = NODE_PARENT_VALIDATIONS; + +function getType(val) { + if (Array.isArray(val)) { + return "array"; + } else if (val === null) { + return "null"; + } else { + return typeof val; + } +} + +function validate(validate) { + return { + validate + }; +} + +function typeIs(typeName) { + return typeof typeName === "string" ? assertNodeType(typeName) : assertNodeType(...typeName); +} + +function validateType(typeName) { + return validate(typeIs(typeName)); +} + +function validateOptional(validate) { + return { + validate, + optional: true + }; +} + +function validateOptionalType(typeName) { + return { + validate: typeIs(typeName), + optional: true + }; +} + +function arrayOf(elementType) { + return chain(assertValueType("array"), assertEach(elementType)); +} + +function arrayOfType(typeName) { + return arrayOf(typeIs(typeName)); +} + +function validateArrayOfType(typeName) { + return validate(arrayOfType(typeName)); +} + +function assertEach(callback) { + function validator(node, key, val) { + if (!Array.isArray(val)) return; + + for (let i = 0; i < val.length; i++) { + const subkey = `${key}[${i}]`; + const v = val[i]; + callback(node, subkey, v); + if (process.env.BABEL_TYPES_8_BREAKING) (0, _validate.validateChild)(node, subkey, v); + } + } + + validator.each = callback; + return validator; +} + +function assertOneOf(...values) { + function validate(node, key, val) { + if (values.indexOf(val) < 0) { + throw new TypeError(`Property ${key} expected value to be one of ${JSON.stringify(values)} but got ${JSON.stringify(val)}`); + } + } + + validate.oneOf = values; + return validate; +} + +function assertNodeType(...types) { + function validate(node, key, val) { + for (const type of types) { + if ((0, _is.default)(type, val)) { + (0, _validate.validateChild)(node, key, val); + return; + } + } + + throw new TypeError(`Property ${key} of ${node.type} expected node to be of a type ${JSON.stringify(types)} but instead got ${JSON.stringify(val == null ? void 0 : val.type)}`); + } + + validate.oneOfNodeTypes = types; + return validate; +} + +function assertNodeOrValueType(...types) { + function validate(node, key, val) { + for (const type of types) { + if (getType(val) === type || (0, _is.default)(type, val)) { + (0, _validate.validateChild)(node, key, val); + return; + } + } + + throw new TypeError(`Property ${key} of ${node.type} expected node to be of a type ${JSON.stringify(types)} but instead got ${JSON.stringify(val == null ? void 0 : val.type)}`); + } + + validate.oneOfNodeOrValueTypes = types; + return validate; +} + +function assertValueType(type) { + function validate(node, key, val) { + const valid = getType(val) === type; + + if (!valid) { + throw new TypeError(`Property ${key} expected type of ${type} but got ${getType(val)}`); + } + } + + validate.type = type; + return validate; +} + +function assertShape(shape) { + function validate(node, key, val) { + const errors = []; + + for (const property of Object.keys(shape)) { + try { + (0, _validate.validateField)(node, property, val[property], shape[property]); + } catch (error) { + if (error instanceof TypeError) { + errors.push(error.message); + continue; + } + + throw error; + } + } + + if (errors.length) { + throw new TypeError(`Property ${key} of ${node.type} expected to have the following:\n${errors.join("\n")}`); + } + } + + validate.shapeOf = shape; + return validate; +} + +function assertOptionalChainStart() { + function validate(node) { + var _current; + + let current = node; + + while (node) { + const { + type + } = current; + + if (type === "OptionalCallExpression") { + if (current.optional) return; + current = current.callee; + continue; + } + + if (type === "OptionalMemberExpression") { + if (current.optional) return; + current = current.object; + continue; + } + + break; + } + + throw new TypeError(`Non-optional ${node.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(_current = current) == null ? void 0 : _current.type}`); + } + + return validate; +} + +function chain(...fns) { + function validate(...args) { + for (const fn of fns) { + fn(...args); + } + } + + validate.chainOf = fns; + return validate; +} + +const validTypeOpts = ["aliases", "builder", "deprecatedAlias", "fields", "inherits", "visitor", "validate"]; +const validFieldKeys = ["default", "optional", "validate"]; + +function defineType(type, opts = {}) { + const inherits = opts.inherits && store[opts.inherits] || {}; + let fields = opts.fields; + + if (!fields) { + fields = {}; + + if (inherits.fields) { + const keys = Object.getOwnPropertyNames(inherits.fields); + + for (const key of keys) { + const field = inherits.fields[key]; + fields[key] = { + default: field.default, + optional: field.optional, + validate: field.validate + }; + } + } + } + + const visitor = opts.visitor || inherits.visitor || []; + const aliases = opts.aliases || inherits.aliases || []; + const builder = opts.builder || inherits.builder || opts.visitor || []; + + for (const k of Object.keys(opts)) { + if (validTypeOpts.indexOf(k) === -1) { + throw new Error(`Unknown type option "${k}" on ${type}`); + } + } + + if (opts.deprecatedAlias) { + DEPRECATED_KEYS[opts.deprecatedAlias] = type; + } + + for (const key of visitor.concat(builder)) { + fields[key] = fields[key] || {}; + } + + for (const key of Object.keys(fields)) { + const field = fields[key]; + + if (field.default !== undefined && builder.indexOf(key) === -1) { + field.optional = true; + } + + if (field.default === undefined) { + field.default = null; + } else if (!field.validate && field.default != null) { + field.validate = assertValueType(getType(field.default)); + } + + for (const k of Object.keys(field)) { + if (validFieldKeys.indexOf(k) === -1) { + throw new Error(`Unknown field key "${k}" on ${type}.${key}`); + } + } + } + + VISITOR_KEYS[type] = opts.visitor = visitor; + BUILDER_KEYS[type] = opts.builder = builder; + NODE_FIELDS[type] = opts.fields = fields; + ALIAS_KEYS[type] = opts.aliases = aliases; + aliases.forEach(alias => { + FLIPPED_ALIAS_KEYS[alias] = FLIPPED_ALIAS_KEYS[alias] || []; + FLIPPED_ALIAS_KEYS[alias].push(type); + }); + + if (opts.validate) { + NODE_PARENT_VALIDATIONS[type] = opts.validate; + } + + store[type] = opts; +} + +const store = {}; \ No newline at end of file diff --git a/node_modules/@babel/types/lib/index.d.ts b/node_modules/@babel/types/lib/index.d.ts new file mode 100644 index 000000000..3b05afe0a --- /dev/null +++ b/node_modules/@babel/types/lib/index.d.ts @@ -0,0 +1,2588 @@ +// NOTE: This file is autogenerated. Do not modify. +// See packages/babel-types/scripts/generators/typescript.js for script used. + +interface BaseComment { + value: string; + start: number; + end: number; + loc: SourceLocation; + type: "CommentBlock" | "CommentLine"; +} + +export interface CommentBlock extends BaseComment { + type: "CommentBlock"; +} + +export interface CommentLine extends BaseComment { + type: "CommentLine"; +} + +export type Comment = CommentBlock | CommentLine; + +export interface SourceLocation { + start: { + line: number; + column: number; + }; + + end: { + line: number; + column: number; + }; +} + +interface BaseNode { + leadingComments: ReadonlyArray | null; + innerComments: ReadonlyArray | null; + trailingComments: ReadonlyArray | null; + start: number | null; + end: number | null; + loc: SourceLocation | null; + type: Node["type"]; +} + +export type Node = AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | Binary | BinaryExpression | BindExpression | Block | BlockParent | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | BooleanTypeAnnotation | BreakStatement | CallExpression | CatchClause | Class | ClassBody | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | CompletionStatement | Conditional | ConditionalExpression | ContinueStatement | DebuggerStatement | DecimalLiteral | Declaration | DeclareClass | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | DeclaredPredicate | Decorator | Directive | DirectiveLiteral | DoExpression | DoWhileStatement | EmptyStatement | EmptyTypeAnnotation | EnumBody | EnumBooleanBody | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumMember | EnumNumberBody | EnumNumberMember | EnumStringBody | EnumStringMember | EnumSymbolBody | ExistsTypeAnnotation | ExportAllDeclaration | ExportDeclaration | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamedDeclaration | ExportNamespaceSpecifier | ExportSpecifier | Expression | ExpressionStatement | ExpressionWrapper | File | Flow | FlowBaseAnnotation | FlowDeclaration | FlowPredicate | FlowType | For | ForInStatement | ForOfStatement | ForStatement | ForXStatement | Function | FunctionDeclaration | FunctionExpression | FunctionParent | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | Identifier | IfStatement | Immutable | Import | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | InferredPredicate | InterfaceDeclaration | InterfaceExtends | InterfaceTypeAnnotation | InterpreterDirective | IntersectionTypeAnnotation | JSX | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LVal | LabeledStatement | Literal | LogicalExpression | Loop | MemberExpression | MetaProperty | Method | MixedTypeAnnotation | ModuleDeclaration | ModuleSpecifier | NewExpression | Noop | NullLiteral | NullLiteralTypeAnnotation | NullableTypeAnnotation | NumberLiteral | NumberLiteralTypeAnnotation | NumberTypeAnnotation | NumericLiteral | ObjectExpression | ObjectMember | ObjectMethod | ObjectPattern | ObjectProperty | ObjectTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | Pattern | PatternLike | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | Placeholder | Private | PrivateName | Program | Property | Pureish | QualifiedTypeIdentifier | RecordExpression | RegExpLiteral | RegexLiteral | RestElement | RestProperty | ReturnStatement | Scopable | SequenceExpression | SpreadElement | SpreadProperty | Statement | StringLiteral | StringLiteralTypeAnnotation | StringTypeAnnotation | Super | SwitchCase | SwitchStatement | SymbolTypeAnnotation | TSAnyKeyword | TSArrayType | TSAsExpression | TSBaseType | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSConditionalType | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEntityName | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSIndexedAccessType | TSInferType | TSInterfaceBody | TSInterfaceDeclaration | TSIntersectionType | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSParenthesizedType | TSPropertySignature | TSQualifiedName | TSRestType | TSStringKeyword | TSSymbolKeyword | TSThisType | TSTupleType | TSType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeElement | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | TaggedTemplateExpression | TemplateElement | TemplateLiteral | Terminatorless | ThisExpression | ThisTypeAnnotation | ThrowStatement | TryStatement | TupleExpression | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | TypeofTypeAnnotation | UnaryExpression | UnaryLike | UnionTypeAnnotation | UpdateExpression | UserWhitespacable | V8IntrinsicIdentifier | VariableDeclaration | VariableDeclarator | Variance | VoidTypeAnnotation | While | WhileStatement | WithStatement | YieldExpression; + +export interface ArrayExpression extends BaseNode { + type: "ArrayExpression"; + elements: Array; +} + +export interface AssignmentExpression extends BaseNode { + type: "AssignmentExpression"; + operator: string; + left: LVal; + right: Expression; +} + +export interface BinaryExpression extends BaseNode { + type: "BinaryExpression"; + operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<="; + left: Expression | PrivateName; + right: Expression; +} + +export interface InterpreterDirective extends BaseNode { + type: "InterpreterDirective"; + value: string; +} + +export interface Directive extends BaseNode { + type: "Directive"; + value: DirectiveLiteral; +} + +export interface DirectiveLiteral extends BaseNode { + type: "DirectiveLiteral"; + value: string; +} + +export interface BlockStatement extends BaseNode { + type: "BlockStatement"; + body: Array; + directives: Array; +} + +export interface BreakStatement extends BaseNode { + type: "BreakStatement"; + label: Identifier | null; +} + +export interface CallExpression extends BaseNode { + type: "CallExpression"; + callee: Expression | V8IntrinsicIdentifier; + arguments: Array; + optional: true | false | null; + typeArguments: TypeParameterInstantiation | null; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface CatchClause extends BaseNode { + type: "CatchClause"; + param: Identifier | ArrayPattern | ObjectPattern | null; + body: BlockStatement; +} + +export interface ConditionalExpression extends BaseNode { + type: "ConditionalExpression"; + test: Expression; + consequent: Expression; + alternate: Expression; +} + +export interface ContinueStatement extends BaseNode { + type: "ContinueStatement"; + label: Identifier | null; +} + +export interface DebuggerStatement extends BaseNode { + type: "DebuggerStatement"; +} + +export interface DoWhileStatement extends BaseNode { + type: "DoWhileStatement"; + test: Expression; + body: Statement; +} + +export interface EmptyStatement extends BaseNode { + type: "EmptyStatement"; +} + +export interface ExpressionStatement extends BaseNode { + type: "ExpressionStatement"; + expression: Expression; +} + +export interface File extends BaseNode { + type: "File"; + program: Program; + comments: Array | null; + tokens: Array | null; +} + +export interface ForInStatement extends BaseNode { + type: "ForInStatement"; + left: VariableDeclaration | LVal; + right: Expression; + body: Statement; +} + +export interface ForStatement extends BaseNode { + type: "ForStatement"; + init: VariableDeclaration | Expression | null; + test: Expression | null; + update: Expression | null; + body: Statement; +} + +export interface FunctionDeclaration extends BaseNode { + type: "FunctionDeclaration"; + id: Identifier | null; + params: Array; + body: BlockStatement; + generator: boolean; + async: boolean; + declare: boolean | null; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface FunctionExpression extends BaseNode { + type: "FunctionExpression"; + id: Identifier | null; + params: Array; + body: BlockStatement; + generator: boolean; + async: boolean; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface Identifier extends BaseNode { + type: "Identifier"; + name: string; + decorators: Array | null; + optional: boolean | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface IfStatement extends BaseNode { + type: "IfStatement"; + test: Expression; + consequent: Statement; + alternate: Statement | null; +} + +export interface LabeledStatement extends BaseNode { + type: "LabeledStatement"; + label: Identifier; + body: Statement; +} + +export interface StringLiteral extends BaseNode { + type: "StringLiteral"; + value: string; +} + +export interface NumericLiteral extends BaseNode { + type: "NumericLiteral"; + value: number; +} + +export interface NullLiteral extends BaseNode { + type: "NullLiteral"; +} + +export interface BooleanLiteral extends BaseNode { + type: "BooleanLiteral"; + value: boolean; +} + +export interface RegExpLiteral extends BaseNode { + type: "RegExpLiteral"; + pattern: string; + flags: string; +} + +export interface LogicalExpression extends BaseNode { + type: "LogicalExpression"; + operator: "||" | "&&" | "??"; + left: Expression; + right: Expression; +} + +export interface MemberExpression extends BaseNode { + type: "MemberExpression"; + object: Expression; + property: Expression | Identifier | PrivateName; + computed: boolean; + optional: true | false | null; +} + +export interface NewExpression extends BaseNode { + type: "NewExpression"; + callee: Expression | V8IntrinsicIdentifier; + arguments: Array; + optional: true | false | null; + typeArguments: TypeParameterInstantiation | null; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface Program extends BaseNode { + type: "Program"; + body: Array; + directives: Array; + sourceType: "script" | "module"; + interpreter: InterpreterDirective | null; + sourceFile: string; +} + +export interface ObjectExpression extends BaseNode { + type: "ObjectExpression"; + properties: Array; +} + +export interface ObjectMethod extends BaseNode { + type: "ObjectMethod"; + kind: "method" | "get" | "set"; + key: Expression | Identifier | StringLiteral | NumericLiteral; + params: Array; + body: BlockStatement; + computed: boolean; + generator: boolean; + async: boolean; + decorators: Array | null; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ObjectProperty extends BaseNode { + type: "ObjectProperty"; + key: Expression | Identifier | StringLiteral | NumericLiteral; + value: Expression | PatternLike; + computed: boolean; + shorthand: boolean; + decorators: Array | null; +} + +export interface RestElement extends BaseNode { + type: "RestElement"; + argument: LVal; + decorators: Array | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface ReturnStatement extends BaseNode { + type: "ReturnStatement"; + argument: Expression | null; +} + +export interface SequenceExpression extends BaseNode { + type: "SequenceExpression"; + expressions: Array; +} + +export interface ParenthesizedExpression extends BaseNode { + type: "ParenthesizedExpression"; + expression: Expression; +} + +export interface SwitchCase extends BaseNode { + type: "SwitchCase"; + test: Expression | null; + consequent: Array; +} + +export interface SwitchStatement extends BaseNode { + type: "SwitchStatement"; + discriminant: Expression; + cases: Array; +} + +export interface ThisExpression extends BaseNode { + type: "ThisExpression"; +} + +export interface ThrowStatement extends BaseNode { + type: "ThrowStatement"; + argument: Expression; +} + +export interface TryStatement extends BaseNode { + type: "TryStatement"; + block: BlockStatement; + handler: CatchClause | null; + finalizer: BlockStatement | null; +} + +export interface UnaryExpression extends BaseNode { + type: "UnaryExpression"; + operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof"; + argument: Expression; + prefix: boolean; +} + +export interface UpdateExpression extends BaseNode { + type: "UpdateExpression"; + operator: "++" | "--"; + argument: Expression; + prefix: boolean; +} + +export interface VariableDeclaration extends BaseNode { + type: "VariableDeclaration"; + kind: "var" | "let" | "const"; + declarations: Array; + declare: boolean | null; +} + +export interface VariableDeclarator extends BaseNode { + type: "VariableDeclarator"; + id: LVal; + init: Expression | null; + definite: boolean | null; +} + +export interface WhileStatement extends BaseNode { + type: "WhileStatement"; + test: Expression; + body: Statement; +} + +export interface WithStatement extends BaseNode { + type: "WithStatement"; + object: Expression; + body: Statement; +} + +export interface AssignmentPattern extends BaseNode { + type: "AssignmentPattern"; + left: Identifier | ObjectPattern | ArrayPattern | MemberExpression; + right: Expression; + decorators: Array | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface ArrayPattern extends BaseNode { + type: "ArrayPattern"; + elements: Array; + decorators: Array | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface ArrowFunctionExpression extends BaseNode { + type: "ArrowFunctionExpression"; + params: Array; + body: BlockStatement | Expression; + async: boolean; + expression: boolean; + generator: boolean; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ClassBody extends BaseNode { + type: "ClassBody"; + body: Array; +} + +export interface ClassExpression extends BaseNode { + type: "ClassExpression"; + id: Identifier | null; + superClass: Expression | null; + body: ClassBody; + decorators: Array | null; + implements: Array | null; + mixins: InterfaceExtends | null; + superTypeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ClassDeclaration extends BaseNode { + type: "ClassDeclaration"; + id: Identifier; + superClass: Expression | null; + body: ClassBody; + decorators: Array | null; + abstract: boolean | null; + declare: boolean | null; + implements: Array | null; + mixins: InterfaceExtends | null; + superTypeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ExportAllDeclaration extends BaseNode { + type: "ExportAllDeclaration"; + source: StringLiteral; +} + +export interface ExportDefaultDeclaration extends BaseNode { + type: "ExportDefaultDeclaration"; + declaration: FunctionDeclaration | TSDeclareFunction | ClassDeclaration | Expression; +} + +export interface ExportNamedDeclaration extends BaseNode { + type: "ExportNamedDeclaration"; + declaration: Declaration | null; + specifiers: Array; + source: StringLiteral | null; + exportKind: "type" | "value" | null; +} + +export interface ExportSpecifier extends BaseNode { + type: "ExportSpecifier"; + local: Identifier; + exported: Identifier; +} + +export interface ForOfStatement extends BaseNode { + type: "ForOfStatement"; + left: VariableDeclaration | LVal; + right: Expression; + body: Statement; + await: boolean; +} + +export interface ImportDeclaration extends BaseNode { + type: "ImportDeclaration"; + specifiers: Array; + source: StringLiteral; + importKind: "type" | "typeof" | "value" | null; +} + +export interface ImportDefaultSpecifier extends BaseNode { + type: "ImportDefaultSpecifier"; + local: Identifier; +} + +export interface ImportNamespaceSpecifier extends BaseNode { + type: "ImportNamespaceSpecifier"; + local: Identifier; +} + +export interface ImportSpecifier extends BaseNode { + type: "ImportSpecifier"; + local: Identifier; + imported: Identifier; + importKind: "type" | "typeof" | null; +} + +export interface MetaProperty extends BaseNode { + type: "MetaProperty"; + meta: Identifier; + property: Identifier; +} + +export interface ClassMethod extends BaseNode { + type: "ClassMethod"; + kind: "get" | "set" | "method" | "constructor"; + key: Identifier | StringLiteral | NumericLiteral | Expression; + params: Array; + body: BlockStatement; + computed: boolean; + static: boolean; + generator: boolean; + async: boolean; + abstract: boolean | null; + access: "public" | "private" | "protected" | null; + accessibility: "public" | "private" | "protected" | null; + decorators: Array | null; + optional: boolean | null; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ObjectPattern extends BaseNode { + type: "ObjectPattern"; + properties: Array; + decorators: Array | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface SpreadElement extends BaseNode { + type: "SpreadElement"; + argument: Expression; +} + +export interface Super extends BaseNode { + type: "Super"; +} + +export interface TaggedTemplateExpression extends BaseNode { + type: "TaggedTemplateExpression"; + tag: Expression; + quasi: TemplateLiteral; + typeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; +} + +export interface TemplateElement extends BaseNode { + type: "TemplateElement"; + value: { raw: string, cooked?: string }; + tail: boolean; +} + +export interface TemplateLiteral extends BaseNode { + type: "TemplateLiteral"; + quasis: Array; + expressions: Array; +} + +export interface YieldExpression extends BaseNode { + type: "YieldExpression"; + argument: Expression | null; + delegate: boolean; +} + +export interface AwaitExpression extends BaseNode { + type: "AwaitExpression"; + argument: Expression; +} + +export interface Import extends BaseNode { + type: "Import"; +} + +export interface BigIntLiteral extends BaseNode { + type: "BigIntLiteral"; + value: string; +} + +export interface ExportNamespaceSpecifier extends BaseNode { + type: "ExportNamespaceSpecifier"; + exported: Identifier; +} + +export interface OptionalMemberExpression extends BaseNode { + type: "OptionalMemberExpression"; + object: Expression; + property: Expression | Identifier; + computed: boolean; + optional: boolean; +} + +export interface OptionalCallExpression extends BaseNode { + type: "OptionalCallExpression"; + callee: Expression; + arguments: Array; + optional: boolean; + typeArguments: TypeParameterInstantiation | null; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface AnyTypeAnnotation extends BaseNode { + type: "AnyTypeAnnotation"; +} + +export interface ArrayTypeAnnotation extends BaseNode { + type: "ArrayTypeAnnotation"; + elementType: FlowType; +} + +export interface BooleanTypeAnnotation extends BaseNode { + type: "BooleanTypeAnnotation"; +} + +export interface BooleanLiteralTypeAnnotation extends BaseNode { + type: "BooleanLiteralTypeAnnotation"; + value: boolean; +} + +export interface NullLiteralTypeAnnotation extends BaseNode { + type: "NullLiteralTypeAnnotation"; +} + +export interface ClassImplements extends BaseNode { + type: "ClassImplements"; + id: Identifier; + typeParameters: TypeParameterInstantiation | null; +} + +export interface DeclareClass extends BaseNode { + type: "DeclareClass"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + extends: Array | null; + body: ObjectTypeAnnotation; + implements: Array | null; + mixins: Array | null; +} + +export interface DeclareFunction extends BaseNode { + type: "DeclareFunction"; + id: Identifier; + predicate: DeclaredPredicate | null; +} + +export interface DeclareInterface extends BaseNode { + type: "DeclareInterface"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + extends: Array | null; + body: ObjectTypeAnnotation; + implements: Array | null; + mixins: Array | null; +} + +export interface DeclareModule extends BaseNode { + type: "DeclareModule"; + id: Identifier | StringLiteral; + body: BlockStatement; + kind: "CommonJS" | "ES" | null; +} + +export interface DeclareModuleExports extends BaseNode { + type: "DeclareModuleExports"; + typeAnnotation: TypeAnnotation; +} + +export interface DeclareTypeAlias extends BaseNode { + type: "DeclareTypeAlias"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + right: FlowType; +} + +export interface DeclareOpaqueType extends BaseNode { + type: "DeclareOpaqueType"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + supertype: FlowType | null; +} + +export interface DeclareVariable extends BaseNode { + type: "DeclareVariable"; + id: Identifier; +} + +export interface DeclareExportDeclaration extends BaseNode { + type: "DeclareExportDeclaration"; + declaration: Flow | null; + specifiers: Array | null; + source: StringLiteral | null; + default: boolean | null; +} + +export interface DeclareExportAllDeclaration extends BaseNode { + type: "DeclareExportAllDeclaration"; + source: StringLiteral; + exportKind: "type" | "value" | null; +} + +export interface DeclaredPredicate extends BaseNode { + type: "DeclaredPredicate"; + value: Flow; +} + +export interface ExistsTypeAnnotation extends BaseNode { + type: "ExistsTypeAnnotation"; +} + +export interface FunctionTypeAnnotation extends BaseNode { + type: "FunctionTypeAnnotation"; + typeParameters: TypeParameterDeclaration | null; + params: Array; + rest: FunctionTypeParam | null; + returnType: FlowType; +} + +export interface FunctionTypeParam extends BaseNode { + type: "FunctionTypeParam"; + name: Identifier | null; + typeAnnotation: FlowType; + optional: boolean | null; +} + +export interface GenericTypeAnnotation extends BaseNode { + type: "GenericTypeAnnotation"; + id: Identifier | QualifiedTypeIdentifier; + typeParameters: TypeParameterInstantiation | null; +} + +export interface InferredPredicate extends BaseNode { + type: "InferredPredicate"; +} + +export interface InterfaceExtends extends BaseNode { + type: "InterfaceExtends"; + id: Identifier | QualifiedTypeIdentifier; + typeParameters: TypeParameterInstantiation | null; +} + +export interface InterfaceDeclaration extends BaseNode { + type: "InterfaceDeclaration"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + extends: Array | null; + body: ObjectTypeAnnotation; + implements: Array | null; + mixins: Array | null; +} + +export interface InterfaceTypeAnnotation extends BaseNode { + type: "InterfaceTypeAnnotation"; + extends: Array | null; + body: ObjectTypeAnnotation; +} + +export interface IntersectionTypeAnnotation extends BaseNode { + type: "IntersectionTypeAnnotation"; + types: Array; +} + +export interface MixedTypeAnnotation extends BaseNode { + type: "MixedTypeAnnotation"; +} + +export interface EmptyTypeAnnotation extends BaseNode { + type: "EmptyTypeAnnotation"; +} + +export interface NullableTypeAnnotation extends BaseNode { + type: "NullableTypeAnnotation"; + typeAnnotation: FlowType; +} + +export interface NumberLiteralTypeAnnotation extends BaseNode { + type: "NumberLiteralTypeAnnotation"; + value: number; +} + +export interface NumberTypeAnnotation extends BaseNode { + type: "NumberTypeAnnotation"; +} + +export interface ObjectTypeAnnotation extends BaseNode { + type: "ObjectTypeAnnotation"; + properties: Array; + indexers: Array | null; + callProperties: Array | null; + internalSlots: Array | null; + exact: boolean; + inexact: boolean | null; +} + +export interface ObjectTypeInternalSlot extends BaseNode { + type: "ObjectTypeInternalSlot"; + id: Identifier; + value: FlowType; + optional: boolean; + static: boolean; + method: boolean; +} + +export interface ObjectTypeCallProperty extends BaseNode { + type: "ObjectTypeCallProperty"; + value: FlowType; + static: boolean; +} + +export interface ObjectTypeIndexer extends BaseNode { + type: "ObjectTypeIndexer"; + id: Identifier | null; + key: FlowType; + value: FlowType; + variance: Variance | null; + static: boolean; +} + +export interface ObjectTypeProperty extends BaseNode { + type: "ObjectTypeProperty"; + key: Identifier | StringLiteral; + value: FlowType; + variance: Variance | null; + kind: "init" | "get" | "set"; + optional: boolean; + proto: boolean; + static: boolean; +} + +export interface ObjectTypeSpreadProperty extends BaseNode { + type: "ObjectTypeSpreadProperty"; + argument: FlowType; +} + +export interface OpaqueType extends BaseNode { + type: "OpaqueType"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + supertype: FlowType | null; + impltype: FlowType; +} + +export interface QualifiedTypeIdentifier extends BaseNode { + type: "QualifiedTypeIdentifier"; + id: Identifier; + qualification: Identifier | QualifiedTypeIdentifier; +} + +export interface StringLiteralTypeAnnotation extends BaseNode { + type: "StringLiteralTypeAnnotation"; + value: string; +} + +export interface StringTypeAnnotation extends BaseNode { + type: "StringTypeAnnotation"; +} + +export interface SymbolTypeAnnotation extends BaseNode { + type: "SymbolTypeAnnotation"; +} + +export interface ThisTypeAnnotation extends BaseNode { + type: "ThisTypeAnnotation"; +} + +export interface TupleTypeAnnotation extends BaseNode { + type: "TupleTypeAnnotation"; + types: Array; +} + +export interface TypeofTypeAnnotation extends BaseNode { + type: "TypeofTypeAnnotation"; + argument: FlowType; +} + +export interface TypeAlias extends BaseNode { + type: "TypeAlias"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + right: FlowType; +} + +export interface TypeAnnotation extends BaseNode { + type: "TypeAnnotation"; + typeAnnotation: FlowType; +} + +export interface TypeCastExpression extends BaseNode { + type: "TypeCastExpression"; + expression: Expression; + typeAnnotation: TypeAnnotation; +} + +export interface TypeParameter extends BaseNode { + type: "TypeParameter"; + bound: TypeAnnotation | null; + default: FlowType | null; + variance: Variance | null; + name: string; +} + +export interface TypeParameterDeclaration extends BaseNode { + type: "TypeParameterDeclaration"; + params: Array; +} + +export interface TypeParameterInstantiation extends BaseNode { + type: "TypeParameterInstantiation"; + params: Array; +} + +export interface UnionTypeAnnotation extends BaseNode { + type: "UnionTypeAnnotation"; + types: Array; +} + +export interface Variance extends BaseNode { + type: "Variance"; + kind: "minus" | "plus"; +} + +export interface VoidTypeAnnotation extends BaseNode { + type: "VoidTypeAnnotation"; +} + +export interface EnumDeclaration extends BaseNode { + type: "EnumDeclaration"; + id: Identifier; + body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; +} + +export interface EnumBooleanBody extends BaseNode { + type: "EnumBooleanBody"; + members: Array; + explicit: boolean; +} + +export interface EnumNumberBody extends BaseNode { + type: "EnumNumberBody"; + members: Array; + explicit: boolean; +} + +export interface EnumStringBody extends BaseNode { + type: "EnumStringBody"; + members: Array; + explicit: boolean; +} + +export interface EnumSymbolBody extends BaseNode { + type: "EnumSymbolBody"; + members: Array; +} + +export interface EnumBooleanMember extends BaseNode { + type: "EnumBooleanMember"; + id: Identifier; + init: BooleanLiteral; +} + +export interface EnumNumberMember extends BaseNode { + type: "EnumNumberMember"; + id: Identifier; + init: NumericLiteral; +} + +export interface EnumStringMember extends BaseNode { + type: "EnumStringMember"; + id: Identifier; + init: StringLiteral; +} + +export interface EnumDefaultedMember extends BaseNode { + type: "EnumDefaultedMember"; + id: Identifier; +} + +export interface JSXAttribute extends BaseNode { + type: "JSXAttribute"; + name: JSXIdentifier | JSXNamespacedName; + value: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null; +} + +export interface JSXClosingElement extends BaseNode { + type: "JSXClosingElement"; + name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; +} + +export interface JSXElement extends BaseNode { + type: "JSXElement"; + openingElement: JSXOpeningElement; + closingElement: JSXClosingElement | null; + children: Array; + selfClosing: boolean | null; +} + +export interface JSXEmptyExpression extends BaseNode { + type: "JSXEmptyExpression"; +} + +export interface JSXExpressionContainer extends BaseNode { + type: "JSXExpressionContainer"; + expression: Expression | JSXEmptyExpression; +} + +export interface JSXSpreadChild extends BaseNode { + type: "JSXSpreadChild"; + expression: Expression; +} + +export interface JSXIdentifier extends BaseNode { + type: "JSXIdentifier"; + name: string; +} + +export interface JSXMemberExpression extends BaseNode { + type: "JSXMemberExpression"; + object: JSXMemberExpression | JSXIdentifier; + property: JSXIdentifier; +} + +export interface JSXNamespacedName extends BaseNode { + type: "JSXNamespacedName"; + namespace: JSXIdentifier; + name: JSXIdentifier; +} + +export interface JSXOpeningElement extends BaseNode { + type: "JSXOpeningElement"; + name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; + attributes: Array; + selfClosing: boolean; + typeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; +} + +export interface JSXSpreadAttribute extends BaseNode { + type: "JSXSpreadAttribute"; + argument: Expression; +} + +export interface JSXText extends BaseNode { + type: "JSXText"; + value: string; +} + +export interface JSXFragment extends BaseNode { + type: "JSXFragment"; + openingFragment: JSXOpeningFragment; + closingFragment: JSXClosingFragment; + children: Array; +} + +export interface JSXOpeningFragment extends BaseNode { + type: "JSXOpeningFragment"; +} + +export interface JSXClosingFragment extends BaseNode { + type: "JSXClosingFragment"; +} + +export interface Noop extends BaseNode { + type: "Noop"; +} + +export interface Placeholder extends BaseNode { + type: "Placeholder"; + expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern"; + name: Identifier; +} + +export interface V8IntrinsicIdentifier extends BaseNode { + type: "V8IntrinsicIdentifier"; + name: string; +} + +export interface ArgumentPlaceholder extends BaseNode { + type: "ArgumentPlaceholder"; +} + +export interface BindExpression extends BaseNode { + type: "BindExpression"; + object: Expression; + callee: Expression; +} + +export interface ClassProperty extends BaseNode { + type: "ClassProperty"; + key: Identifier | StringLiteral | NumericLiteral | Expression; + value: Expression | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; + decorators: Array | null; + computed: boolean; + static: boolean; + abstract: boolean | null; + accessibility: "public" | "private" | "protected" | null; + declare: boolean | null; + definite: boolean | null; + optional: boolean | null; + readonly: boolean | null; +} + +export interface PipelineTopicExpression extends BaseNode { + type: "PipelineTopicExpression"; + expression: Expression; +} + +export interface PipelineBareFunction extends BaseNode { + type: "PipelineBareFunction"; + callee: Expression; +} + +export interface PipelinePrimaryTopicReference extends BaseNode { + type: "PipelinePrimaryTopicReference"; +} + +export interface ClassPrivateProperty extends BaseNode { + type: "ClassPrivateProperty"; + key: PrivateName; + value: Expression | null; + decorators: Array | null; +} + +export interface ClassPrivateMethod extends BaseNode { + type: "ClassPrivateMethod"; + kind: "get" | "set" | "method" | "constructor"; + key: PrivateName; + params: Array; + body: BlockStatement; + static: boolean; + abstract: boolean | null; + access: "public" | "private" | "protected" | null; + accessibility: "public" | "private" | "protected" | null; + async: boolean; + computed: boolean; + decorators: Array | null; + generator: boolean; + optional: boolean | null; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ImportAttribute extends BaseNode { + type: "ImportAttribute"; + key: Identifier; + value: StringLiteral; +} + +export interface Decorator extends BaseNode { + type: "Decorator"; + expression: Expression; +} + +export interface DoExpression extends BaseNode { + type: "DoExpression"; + body: BlockStatement; +} + +export interface ExportDefaultSpecifier extends BaseNode { + type: "ExportDefaultSpecifier"; + exported: Identifier; +} + +export interface PrivateName extends BaseNode { + type: "PrivateName"; + id: Identifier; +} + +export interface RecordExpression extends BaseNode { + type: "RecordExpression"; + properties: Array; +} + +export interface TupleExpression extends BaseNode { + type: "TupleExpression"; + elements: Array; +} + +export interface DecimalLiteral extends BaseNode { + type: "DecimalLiteral"; + value: string; +} + +export interface TSParameterProperty extends BaseNode { + type: "TSParameterProperty"; + parameter: Identifier | AssignmentPattern; + accessibility: "public" | "private" | "protected" | null; + readonly: boolean | null; +} + +export interface TSDeclareFunction extends BaseNode { + type: "TSDeclareFunction"; + id: Identifier | null; + typeParameters: TSTypeParameterDeclaration | Noop | null; + params: Array; + returnType: TSTypeAnnotation | Noop | null; + async: boolean; + declare: boolean | null; + generator: boolean; +} + +export interface TSDeclareMethod extends BaseNode { + type: "TSDeclareMethod"; + decorators: Array | null; + key: Identifier | StringLiteral | NumericLiteral | Expression; + typeParameters: TSTypeParameterDeclaration | Noop | null; + params: Array; + returnType: TSTypeAnnotation | Noop | null; + abstract: boolean | null; + access: "public" | "private" | "protected" | null; + accessibility: "public" | "private" | "protected" | null; + async: boolean; + computed: boolean; + generator: boolean; + kind: "get" | "set" | "method" | "constructor"; + optional: boolean | null; + static: boolean; +} + +export interface TSQualifiedName extends BaseNode { + type: "TSQualifiedName"; + left: TSEntityName; + right: Identifier; +} + +export interface TSCallSignatureDeclaration extends BaseNode { + type: "TSCallSignatureDeclaration"; + typeParameters: TSTypeParameterDeclaration | null; + parameters: Array; + typeAnnotation: TSTypeAnnotation | null; +} + +export interface TSConstructSignatureDeclaration extends BaseNode { + type: "TSConstructSignatureDeclaration"; + typeParameters: TSTypeParameterDeclaration | null; + parameters: Array; + typeAnnotation: TSTypeAnnotation | null; +} + +export interface TSPropertySignature extends BaseNode { + type: "TSPropertySignature"; + key: Expression; + typeAnnotation: TSTypeAnnotation | null; + initializer: Expression | null; + computed: boolean | null; + optional: boolean | null; + readonly: boolean | null; +} + +export interface TSMethodSignature extends BaseNode { + type: "TSMethodSignature"; + key: Expression; + typeParameters: TSTypeParameterDeclaration | null; + parameters: Array; + typeAnnotation: TSTypeAnnotation | null; + computed: boolean | null; + optional: boolean | null; +} + +export interface TSIndexSignature extends BaseNode { + type: "TSIndexSignature"; + parameters: Array; + typeAnnotation: TSTypeAnnotation | null; + readonly: boolean | null; +} + +export interface TSAnyKeyword extends BaseNode { + type: "TSAnyKeyword"; +} + +export interface TSBooleanKeyword extends BaseNode { + type: "TSBooleanKeyword"; +} + +export interface TSBigIntKeyword extends BaseNode { + type: "TSBigIntKeyword"; +} + +export interface TSNeverKeyword extends BaseNode { + type: "TSNeverKeyword"; +} + +export interface TSNullKeyword extends BaseNode { + type: "TSNullKeyword"; +} + +export interface TSNumberKeyword extends BaseNode { + type: "TSNumberKeyword"; +} + +export interface TSObjectKeyword extends BaseNode { + type: "TSObjectKeyword"; +} + +export interface TSStringKeyword extends BaseNode { + type: "TSStringKeyword"; +} + +export interface TSSymbolKeyword extends BaseNode { + type: "TSSymbolKeyword"; +} + +export interface TSUndefinedKeyword extends BaseNode { + type: "TSUndefinedKeyword"; +} + +export interface TSUnknownKeyword extends BaseNode { + type: "TSUnknownKeyword"; +} + +export interface TSVoidKeyword extends BaseNode { + type: "TSVoidKeyword"; +} + +export interface TSThisType extends BaseNode { + type: "TSThisType"; +} + +export interface TSFunctionType extends BaseNode { + type: "TSFunctionType"; + typeParameters: TSTypeParameterDeclaration | null; + parameters: Array; + typeAnnotation: TSTypeAnnotation | null; +} + +export interface TSConstructorType extends BaseNode { + type: "TSConstructorType"; + typeParameters: TSTypeParameterDeclaration | null; + parameters: Array; + typeAnnotation: TSTypeAnnotation | null; +} + +export interface TSTypeReference extends BaseNode { + type: "TSTypeReference"; + typeName: TSEntityName; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface TSTypePredicate extends BaseNode { + type: "TSTypePredicate"; + parameterName: Identifier | TSThisType; + typeAnnotation: TSTypeAnnotation | null; + asserts: boolean | null; +} + +export interface TSTypeQuery extends BaseNode { + type: "TSTypeQuery"; + exprName: TSEntityName | TSImportType; +} + +export interface TSTypeLiteral extends BaseNode { + type: "TSTypeLiteral"; + members: Array; +} + +export interface TSArrayType extends BaseNode { + type: "TSArrayType"; + elementType: TSType; +} + +export interface TSTupleType extends BaseNode { + type: "TSTupleType"; + elementTypes: Array; +} + +export interface TSOptionalType extends BaseNode { + type: "TSOptionalType"; + typeAnnotation: TSType; +} + +export interface TSRestType extends BaseNode { + type: "TSRestType"; + typeAnnotation: TSType; +} + +export interface TSNamedTupleMember extends BaseNode { + type: "TSNamedTupleMember"; + label: Identifier; + elementType: TSType; + optional: boolean; +} + +export interface TSUnionType extends BaseNode { + type: "TSUnionType"; + types: Array; +} + +export interface TSIntersectionType extends BaseNode { + type: "TSIntersectionType"; + types: Array; +} + +export interface TSConditionalType extends BaseNode { + type: "TSConditionalType"; + checkType: TSType; + extendsType: TSType; + trueType: TSType; + falseType: TSType; +} + +export interface TSInferType extends BaseNode { + type: "TSInferType"; + typeParameter: TSTypeParameter; +} + +export interface TSParenthesizedType extends BaseNode { + type: "TSParenthesizedType"; + typeAnnotation: TSType; +} + +export interface TSTypeOperator extends BaseNode { + type: "TSTypeOperator"; + typeAnnotation: TSType; + operator: string; +} + +export interface TSIndexedAccessType extends BaseNode { + type: "TSIndexedAccessType"; + objectType: TSType; + indexType: TSType; +} + +export interface TSMappedType extends BaseNode { + type: "TSMappedType"; + typeParameter: TSTypeParameter; + typeAnnotation: TSType | null; + optional: boolean | null; + readonly: boolean | null; +} + +export interface TSLiteralType extends BaseNode { + type: "TSLiteralType"; + literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral; +} + +export interface TSExpressionWithTypeArguments extends BaseNode { + type: "TSExpressionWithTypeArguments"; + expression: TSEntityName; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface TSInterfaceDeclaration extends BaseNode { + type: "TSInterfaceDeclaration"; + id: Identifier; + typeParameters: TSTypeParameterDeclaration | null; + extends: Array | null; + body: TSInterfaceBody; + declare: boolean | null; +} + +export interface TSInterfaceBody extends BaseNode { + type: "TSInterfaceBody"; + body: Array; +} + +export interface TSTypeAliasDeclaration extends BaseNode { + type: "TSTypeAliasDeclaration"; + id: Identifier; + typeParameters: TSTypeParameterDeclaration | null; + typeAnnotation: TSType; + declare: boolean | null; +} + +export interface TSAsExpression extends BaseNode { + type: "TSAsExpression"; + expression: Expression; + typeAnnotation: TSType; +} + +export interface TSTypeAssertion extends BaseNode { + type: "TSTypeAssertion"; + typeAnnotation: TSType; + expression: Expression; +} + +export interface TSEnumDeclaration extends BaseNode { + type: "TSEnumDeclaration"; + id: Identifier; + members: Array; + const: boolean | null; + declare: boolean | null; + initializer: Expression | null; +} + +export interface TSEnumMember extends BaseNode { + type: "TSEnumMember"; + id: Identifier | StringLiteral; + initializer: Expression | null; +} + +export interface TSModuleDeclaration extends BaseNode { + type: "TSModuleDeclaration"; + id: Identifier | StringLiteral; + body: TSModuleBlock | TSModuleDeclaration; + declare: boolean | null; + global: boolean | null; +} + +export interface TSModuleBlock extends BaseNode { + type: "TSModuleBlock"; + body: Array; +} + +export interface TSImportType extends BaseNode { + type: "TSImportType"; + argument: StringLiteral; + qualifier: TSEntityName | null; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface TSImportEqualsDeclaration extends BaseNode { + type: "TSImportEqualsDeclaration"; + id: Identifier; + moduleReference: TSEntityName | TSExternalModuleReference; + isExport: boolean; +} + +export interface TSExternalModuleReference extends BaseNode { + type: "TSExternalModuleReference"; + expression: StringLiteral; +} + +export interface TSNonNullExpression extends BaseNode { + type: "TSNonNullExpression"; + expression: Expression; +} + +export interface TSExportAssignment extends BaseNode { + type: "TSExportAssignment"; + expression: Expression; +} + +export interface TSNamespaceExportDeclaration extends BaseNode { + type: "TSNamespaceExportDeclaration"; + id: Identifier; +} + +export interface TSTypeAnnotation extends BaseNode { + type: "TSTypeAnnotation"; + typeAnnotation: TSType; +} + +export interface TSTypeParameterInstantiation extends BaseNode { + type: "TSTypeParameterInstantiation"; + params: Array; +} + +export interface TSTypeParameterDeclaration extends BaseNode { + type: "TSTypeParameterDeclaration"; + params: Array; +} + +export interface TSTypeParameter extends BaseNode { + type: "TSTypeParameter"; + constraint: TSType | null; + default: TSType | null; + name: string; +} + +/** + * @deprecated Use `NumericLiteral` + */ +export type NumberLiteral = NumericLiteral; + +/** + * @deprecated Use `RegExpLiteral` + */ +export type RegexLiteral = RegExpLiteral; + +/** + * @deprecated Use `RestElement` + */ +export type RestProperty = RestElement; + +/** + * @deprecated Use `SpreadElement` + */ +export type SpreadProperty = SpreadElement; + +export type Expression = ArrayExpression | AssignmentExpression | BinaryExpression | CallExpression | ConditionalExpression | FunctionExpression | Identifier | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | ObjectExpression | SequenceExpression | ParenthesizedExpression | ThisExpression | UnaryExpression | UpdateExpression | ArrowFunctionExpression | ClassExpression | MetaProperty | Super | TaggedTemplateExpression | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | OptionalMemberExpression | OptionalCallExpression | TypeCastExpression | JSXElement | JSXFragment | BindExpression | PipelinePrimaryTopicReference | DoExpression | RecordExpression | TupleExpression | DecimalLiteral | TSAsExpression | TSTypeAssertion | TSNonNullExpression; +export type Binary = BinaryExpression | LogicalExpression; +export type Scopable = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ClassExpression | ClassDeclaration | ForOfStatement | ClassMethod | ClassPrivateMethod | TSModuleBlock; +export type BlockParent = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ForOfStatement | ClassMethod | ClassPrivateMethod | TSModuleBlock; +export type Block = BlockStatement | Program | TSModuleBlock; +export type Statement = BlockStatement | BreakStatement | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | ForInStatement | ForStatement | FunctionDeclaration | IfStatement | LabeledStatement | ReturnStatement | SwitchStatement | ThrowStatement | TryStatement | VariableDeclaration | WhileStatement | WithStatement | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ForOfStatement | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration | TSExportAssignment | TSNamespaceExportDeclaration; +export type Terminatorless = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement | YieldExpression | AwaitExpression; +export type CompletionStatement = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement; +export type Conditional = ConditionalExpression | IfStatement; +export type Loop = DoWhileStatement | ForInStatement | ForStatement | WhileStatement | ForOfStatement; +export type While = DoWhileStatement | WhileStatement; +export type ExpressionWrapper = ExpressionStatement | ParenthesizedExpression | TypeCastExpression; +export type For = ForInStatement | ForStatement | ForOfStatement; +export type ForXStatement = ForInStatement | ForOfStatement; +export type Function = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod; +export type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod; +export type Pureish = FunctionDeclaration | FunctionExpression | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | ArrowFunctionExpression | BigIntLiteral | DecimalLiteral; +export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration; +export type PatternLike = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern; +export type LVal = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSParameterProperty; +export type TSEntityName = Identifier | TSQualifiedName; +export type Literal = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | TemplateLiteral | BigIntLiteral | DecimalLiteral; +export type Immutable = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | BigIntLiteral | JSXAttribute | JSXClosingElement | JSXElement | JSXExpressionContainer | JSXSpreadChild | JSXOpeningElement | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment | DecimalLiteral; +export type UserWhitespacable = ObjectMethod | ObjectProperty | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty; +export type Method = ObjectMethod | ClassMethod | ClassPrivateMethod; +export type ObjectMember = ObjectMethod | ObjectProperty; +export type Property = ObjectProperty | ClassProperty | ClassPrivateProperty; +export type UnaryLike = UnaryExpression | SpreadElement; +export type Pattern = AssignmentPattern | ArrayPattern | ObjectPattern; +export type Class = ClassExpression | ClassDeclaration; +export type ModuleDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration; +export type ExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration; +export type ModuleSpecifier = ExportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | ExportNamespaceSpecifier | ExportDefaultSpecifier; +export type Flow = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ClassImplements | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | DeclaredPredicate | ExistsTypeAnnotation | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | InferredPredicate | InterfaceExtends | InterfaceDeclaration | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | QualifiedTypeIdentifier | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | UnionTypeAnnotation | Variance | VoidTypeAnnotation; +export type FlowType = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ExistsTypeAnnotation | FunctionTypeAnnotation | GenericTypeAnnotation | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | UnionTypeAnnotation | VoidTypeAnnotation; +export type FlowBaseAnnotation = AnyTypeAnnotation | BooleanTypeAnnotation | NullLiteralTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NumberTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | VoidTypeAnnotation; +export type FlowDeclaration = DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias; +export type FlowPredicate = DeclaredPredicate | InferredPredicate; +export type EnumBody = EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; +export type EnumMember = EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember; +export type JSX = JSXAttribute | JSXClosingElement | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXSpreadChild | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXSpreadAttribute | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment; +export type Private = ClassPrivateProperty | ClassPrivateMethod | PrivateName; +export type TSTypeElement = TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature; +export type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSLiteralType | TSExpressionWithTypeArguments | TSImportType; +export type TSBaseType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSLiteralType; + +export interface Aliases { + Expression: Expression; + Binary: Binary; + Scopable: Scopable; + BlockParent: BlockParent; + Block: Block; + Statement: Statement; + Terminatorless: Terminatorless; + CompletionStatement: CompletionStatement; + Conditional: Conditional; + Loop: Loop; + While: While; + ExpressionWrapper: ExpressionWrapper; + For: For; + ForXStatement: ForXStatement; + Function: Function; + FunctionParent: FunctionParent; + Pureish: Pureish; + Declaration: Declaration; + PatternLike: PatternLike; + LVal: LVal; + TSEntityName: TSEntityName; + Literal: Literal; + Immutable: Immutable; + UserWhitespacable: UserWhitespacable; + Method: Method; + ObjectMember: ObjectMember; + Property: Property; + UnaryLike: UnaryLike; + Pattern: Pattern; + Class: Class; + ModuleDeclaration: ModuleDeclaration; + ExportDeclaration: ExportDeclaration; + ModuleSpecifier: ModuleSpecifier; + Flow: Flow; + FlowType: FlowType; + FlowBaseAnnotation: FlowBaseAnnotation; + FlowDeclaration: FlowDeclaration; + FlowPredicate: FlowPredicate; + EnumBody: EnumBody; + EnumMember: EnumMember; + JSX: JSX; + Private: Private; + TSTypeElement: TSTypeElement; + TSType: TSType; + TSBaseType: TSBaseType; +} + +export function arrayExpression(elements?: Array): ArrayExpression; +export function assignmentExpression(operator: string, left: LVal, right: Expression): AssignmentExpression; +export function binaryExpression(operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=", left: Expression | PrivateName, right: Expression): BinaryExpression; +export function interpreterDirective(value: string): InterpreterDirective; +export function directive(value: DirectiveLiteral): Directive; +export function directiveLiteral(value: string): DirectiveLiteral; +export function blockStatement(body: Array, directives?: Array): BlockStatement; +export function breakStatement(label?: Identifier | null): BreakStatement; +export function callExpression(callee: Expression | V8IntrinsicIdentifier, _arguments: Array): CallExpression; +export function catchClause(param: Identifier | ArrayPattern | ObjectPattern | null | undefined, body: BlockStatement): CatchClause; +export function conditionalExpression(test: Expression, consequent: Expression, alternate: Expression): ConditionalExpression; +export function continueStatement(label?: Identifier | null): ContinueStatement; +export function debuggerStatement(): DebuggerStatement; +export function doWhileStatement(test: Expression, body: Statement): DoWhileStatement; +export function emptyStatement(): EmptyStatement; +export function expressionStatement(expression: Expression): ExpressionStatement; +export function file(program: Program, comments?: Array | null, tokens?: Array | null): File; +export function forInStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement): ForInStatement; +export function forStatement(init: VariableDeclaration | Expression | null | undefined, test: Expression | null | undefined, update: Expression | null | undefined, body: Statement): ForStatement; +export function functionDeclaration(id: Identifier | null | undefined, params: Array, body: BlockStatement, generator?: boolean, async?: boolean): FunctionDeclaration; +export function functionExpression(id: Identifier | null | undefined, params: Array, body: BlockStatement, generator?: boolean, async?: boolean): FunctionExpression; +export function identifier(name: string): Identifier; +export function ifStatement(test: Expression, consequent: Statement, alternate?: Statement | null): IfStatement; +export function labeledStatement(label: Identifier, body: Statement): LabeledStatement; +export function stringLiteral(value: string): StringLiteral; +export function numericLiteral(value: number): NumericLiteral; +export function nullLiteral(): NullLiteral; +export function booleanLiteral(value: boolean): BooleanLiteral; +export function regExpLiteral(pattern: string, flags?: string): RegExpLiteral; +export function logicalExpression(operator: "||" | "&&" | "??", left: Expression, right: Expression): LogicalExpression; +export function memberExpression(object: Expression, property: Expression | Identifier | PrivateName, computed?: boolean, optional?: true | false | null): MemberExpression; +export function newExpression(callee: Expression | V8IntrinsicIdentifier, _arguments: Array): NewExpression; +export function program(body: Array, directives?: Array, sourceType?: "script" | "module", interpreter?: InterpreterDirective | null): Program; +export function objectExpression(properties: Array): ObjectExpression; +export function objectMethod(kind: "method" | "get" | "set" | undefined, key: Expression | Identifier | StringLiteral | NumericLiteral, params: Array, body: BlockStatement, computed?: boolean, generator?: boolean, async?: boolean): ObjectMethod; +export function objectProperty(key: Expression | Identifier | StringLiteral | NumericLiteral, value: Expression | PatternLike, computed?: boolean, shorthand?: boolean, decorators?: Array | null): ObjectProperty; +export function restElement(argument: LVal): RestElement; +export function returnStatement(argument?: Expression | null): ReturnStatement; +export function sequenceExpression(expressions: Array): SequenceExpression; +export function parenthesizedExpression(expression: Expression): ParenthesizedExpression; +export function switchCase(test: Expression | null | undefined, consequent: Array): SwitchCase; +export function switchStatement(discriminant: Expression, cases: Array): SwitchStatement; +export function thisExpression(): ThisExpression; +export function throwStatement(argument: Expression): ThrowStatement; +export function tryStatement(block: BlockStatement, handler?: CatchClause | null, finalizer?: BlockStatement | null): TryStatement; +export function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: Expression, prefix?: boolean): UnaryExpression; +export function updateExpression(operator: "++" | "--", argument: Expression, prefix?: boolean): UpdateExpression; +export function variableDeclaration(kind: "var" | "let" | "const", declarations: Array): VariableDeclaration; +export function variableDeclarator(id: LVal, init?: Expression | null): VariableDeclarator; +export function whileStatement(test: Expression, body: Statement): WhileStatement; +export function withStatement(object: Expression, body: Statement): WithStatement; +export function assignmentPattern(left: Identifier | ObjectPattern | ArrayPattern | MemberExpression, right: Expression): AssignmentPattern; +export function arrayPattern(elements: Array): ArrayPattern; +export function arrowFunctionExpression(params: Array, body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression; +export function classBody(body: Array): ClassBody; +export function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array | null): ClassExpression; +export function classDeclaration(id: Identifier, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array | null): ClassDeclaration; +export function exportAllDeclaration(source: StringLiteral): ExportAllDeclaration; +export function exportDefaultDeclaration(declaration: FunctionDeclaration | TSDeclareFunction | ClassDeclaration | Expression): ExportDefaultDeclaration; +export function exportNamedDeclaration(declaration?: Declaration | null, specifiers?: Array, source?: StringLiteral | null): ExportNamedDeclaration; +export function exportSpecifier(local: Identifier, exported: Identifier): ExportSpecifier; +export function forOfStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement, _await?: boolean): ForOfStatement; +export function importDeclaration(specifiers: Array, source: StringLiteral): ImportDeclaration; +export function importDefaultSpecifier(local: Identifier): ImportDefaultSpecifier; +export function importNamespaceSpecifier(local: Identifier): ImportNamespaceSpecifier; +export function importSpecifier(local: Identifier, imported: Identifier): ImportSpecifier; +export function metaProperty(meta: Identifier, property: Identifier): MetaProperty; +export function classMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: Identifier | StringLiteral | NumericLiteral | Expression, params: Array, body: BlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): ClassMethod; +export function objectPattern(properties: Array): ObjectPattern; +export function spreadElement(argument: Expression): SpreadElement; +declare function _super(): Super; +export { _super as super} +export function taggedTemplateExpression(tag: Expression, quasi: TemplateLiteral): TaggedTemplateExpression; +export function templateElement(value: { raw: string, cooked?: string }, tail?: boolean): TemplateElement; +export function templateLiteral(quasis: Array, expressions: Array): TemplateLiteral; +export function yieldExpression(argument?: Expression | null, delegate?: boolean): YieldExpression; +export function awaitExpression(argument: Expression): AwaitExpression; +declare function _import(): Import; +export { _import as import} +export function bigIntLiteral(value: string): BigIntLiteral; +export function exportNamespaceSpecifier(exported: Identifier): ExportNamespaceSpecifier; +export function optionalMemberExpression(object: Expression, property: Expression | Identifier, computed: boolean | undefined, optional: boolean): OptionalMemberExpression; +export function optionalCallExpression(callee: Expression, _arguments: Array, optional: boolean): OptionalCallExpression; +export function anyTypeAnnotation(): AnyTypeAnnotation; +export function arrayTypeAnnotation(elementType: FlowType): ArrayTypeAnnotation; +export function booleanTypeAnnotation(): BooleanTypeAnnotation; +export function booleanLiteralTypeAnnotation(value: boolean): BooleanLiteralTypeAnnotation; +export function nullLiteralTypeAnnotation(): NullLiteralTypeAnnotation; +export function classImplements(id: Identifier, typeParameters?: TypeParameterInstantiation | null): ClassImplements; +export function declareClass(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: ObjectTypeAnnotation): DeclareClass; +export function declareFunction(id: Identifier): DeclareFunction; +export function declareInterface(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: ObjectTypeAnnotation): DeclareInterface; +export function declareModule(id: Identifier | StringLiteral, body: BlockStatement, kind?: "CommonJS" | "ES" | null): DeclareModule; +export function declareModuleExports(typeAnnotation: TypeAnnotation): DeclareModuleExports; +export function declareTypeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): DeclareTypeAlias; +export function declareOpaqueType(id: Identifier, typeParameters?: TypeParameterDeclaration | null, supertype?: FlowType | null): DeclareOpaqueType; +export function declareVariable(id: Identifier): DeclareVariable; +export function declareExportDeclaration(declaration?: Flow | null, specifiers?: Array | null, source?: StringLiteral | null): DeclareExportDeclaration; +export function declareExportAllDeclaration(source: StringLiteral): DeclareExportAllDeclaration; +export function declaredPredicate(value: Flow): DeclaredPredicate; +export function existsTypeAnnotation(): ExistsTypeAnnotation; +export function functionTypeAnnotation(typeParameters: TypeParameterDeclaration | null | undefined, params: Array, rest: FunctionTypeParam | null | undefined, returnType: FlowType): FunctionTypeAnnotation; +export function functionTypeParam(name: Identifier | null | undefined, typeAnnotation: FlowType): FunctionTypeParam; +export function genericTypeAnnotation(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): GenericTypeAnnotation; +export function inferredPredicate(): InferredPredicate; +export function interfaceExtends(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): InterfaceExtends; +export function interfaceDeclaration(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: ObjectTypeAnnotation): InterfaceDeclaration; +export function interfaceTypeAnnotation(_extends: Array | null | undefined, body: ObjectTypeAnnotation): InterfaceTypeAnnotation; +export function intersectionTypeAnnotation(types: Array): IntersectionTypeAnnotation; +export function mixedTypeAnnotation(): MixedTypeAnnotation; +export function emptyTypeAnnotation(): EmptyTypeAnnotation; +export function nullableTypeAnnotation(typeAnnotation: FlowType): NullableTypeAnnotation; +export function numberLiteralTypeAnnotation(value: number): NumberLiteralTypeAnnotation; +export function numberTypeAnnotation(): NumberTypeAnnotation; +export function objectTypeAnnotation(properties: Array, indexers?: Array | null, callProperties?: Array | null, internalSlots?: Array | null, exact?: boolean): ObjectTypeAnnotation; +export function objectTypeInternalSlot(id: Identifier, value: FlowType, optional: boolean, _static: boolean, method: boolean): ObjectTypeInternalSlot; +export function objectTypeCallProperty(value: FlowType): ObjectTypeCallProperty; +export function objectTypeIndexer(id: Identifier | null | undefined, key: FlowType, value: FlowType, variance?: Variance | null): ObjectTypeIndexer; +export function objectTypeProperty(key: Identifier | StringLiteral, value: FlowType, variance?: Variance | null): ObjectTypeProperty; +export function objectTypeSpreadProperty(argument: FlowType): ObjectTypeSpreadProperty; +export function opaqueType(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, supertype: FlowType | null | undefined, impltype: FlowType): OpaqueType; +export function qualifiedTypeIdentifier(id: Identifier, qualification: Identifier | QualifiedTypeIdentifier): QualifiedTypeIdentifier; +export function stringLiteralTypeAnnotation(value: string): StringLiteralTypeAnnotation; +export function stringTypeAnnotation(): StringTypeAnnotation; +export function symbolTypeAnnotation(): SymbolTypeAnnotation; +export function thisTypeAnnotation(): ThisTypeAnnotation; +export function tupleTypeAnnotation(types: Array): TupleTypeAnnotation; +export function typeofTypeAnnotation(argument: FlowType): TypeofTypeAnnotation; +export function typeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): TypeAlias; +export function typeAnnotation(typeAnnotation: FlowType): TypeAnnotation; +export function typeCastExpression(expression: Expression, typeAnnotation: TypeAnnotation): TypeCastExpression; +export function typeParameter(bound?: TypeAnnotation | null, _default?: FlowType | null, variance?: Variance | null): TypeParameter; +export function typeParameterDeclaration(params: Array): TypeParameterDeclaration; +export function typeParameterInstantiation(params: Array): TypeParameterInstantiation; +export function unionTypeAnnotation(types: Array): UnionTypeAnnotation; +export function variance(kind: "minus" | "plus"): Variance; +export function voidTypeAnnotation(): VoidTypeAnnotation; +export function enumDeclaration(id: Identifier, body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody): EnumDeclaration; +export function enumBooleanBody(members: Array): EnumBooleanBody; +export function enumNumberBody(members: Array): EnumNumberBody; +export function enumStringBody(members: Array): EnumStringBody; +export function enumSymbolBody(members: Array): EnumSymbolBody; +export function enumBooleanMember(id: Identifier): EnumBooleanMember; +export function enumNumberMember(id: Identifier, init: NumericLiteral): EnumNumberMember; +export function enumStringMember(id: Identifier, init: StringLiteral): EnumStringMember; +export function enumDefaultedMember(id: Identifier): EnumDefaultedMember; +export function jsxAttribute(name: JSXIdentifier | JSXNamespacedName, value?: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null): JSXAttribute; +export function jsxClosingElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName): JSXClosingElement; +export function jsxElement(openingElement: JSXOpeningElement, closingElement: JSXClosingElement | null | undefined, children: Array, selfClosing?: boolean | null): JSXElement; +export function jsxEmptyExpression(): JSXEmptyExpression; +export function jsxExpressionContainer(expression: Expression | JSXEmptyExpression): JSXExpressionContainer; +export function jsxSpreadChild(expression: Expression): JSXSpreadChild; +export function jsxIdentifier(name: string): JSXIdentifier; +export function jsxMemberExpression(object: JSXMemberExpression | JSXIdentifier, property: JSXIdentifier): JSXMemberExpression; +export function jsxNamespacedName(namespace: JSXIdentifier, name: JSXIdentifier): JSXNamespacedName; +export function jsxOpeningElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName, attributes: Array, selfClosing?: boolean): JSXOpeningElement; +export function jsxSpreadAttribute(argument: Expression): JSXSpreadAttribute; +export function jsxText(value: string): JSXText; +export function jsxFragment(openingFragment: JSXOpeningFragment, closingFragment: JSXClosingFragment, children: Array): JSXFragment; +export function jsxOpeningFragment(): JSXOpeningFragment; +export function jsxClosingFragment(): JSXClosingFragment; +export function noop(): Noop; +export function placeholder(expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern", name: Identifier): Placeholder; +export function v8IntrinsicIdentifier(name: string): V8IntrinsicIdentifier; +export function argumentPlaceholder(): ArgumentPlaceholder; +export function bindExpression(object: Expression, callee: Expression): BindExpression; +export function classProperty(key: Identifier | StringLiteral | NumericLiteral | Expression, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Array | null, computed?: boolean, _static?: boolean): ClassProperty; +export function pipelineTopicExpression(expression: Expression): PipelineTopicExpression; +export function pipelineBareFunction(callee: Expression): PipelineBareFunction; +export function pipelinePrimaryTopicReference(): PipelinePrimaryTopicReference; +export function classPrivateProperty(key: PrivateName, value?: Expression | null, decorators?: Array | null): ClassPrivateProperty; +export function classPrivateMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: PrivateName, params: Array, body: BlockStatement, _static?: boolean): ClassPrivateMethod; +export function importAttribute(key: Identifier, value: StringLiteral): ImportAttribute; +export function decorator(expression: Expression): Decorator; +export function doExpression(body: BlockStatement): DoExpression; +export function exportDefaultSpecifier(exported: Identifier): ExportDefaultSpecifier; +export function privateName(id: Identifier): PrivateName; +export function recordExpression(properties: Array): RecordExpression; +export function tupleExpression(elements?: Array): TupleExpression; +export function decimalLiteral(value: string): DecimalLiteral; +export function tsParameterProperty(parameter: Identifier | AssignmentPattern): TSParameterProperty; +export function tsDeclareFunction(id: Identifier | null | undefined, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array, returnType?: TSTypeAnnotation | Noop | null): TSDeclareFunction; +export function tsDeclareMethod(decorators: Array | null | undefined, key: Identifier | StringLiteral | NumericLiteral | Expression, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array, returnType?: TSTypeAnnotation | Noop | null): TSDeclareMethod; +export function tsQualifiedName(left: TSEntityName, right: Identifier): TSQualifiedName; +export function tsCallSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSCallSignatureDeclaration; +export function tsConstructSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSConstructSignatureDeclaration; +export function tsPropertySignature(key: Expression, typeAnnotation?: TSTypeAnnotation | null, initializer?: Expression | null): TSPropertySignature; +export function tsMethodSignature(key: Expression, typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSMethodSignature; +export function tsIndexSignature(parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSIndexSignature; +export function tsAnyKeyword(): TSAnyKeyword; +export function tsBooleanKeyword(): TSBooleanKeyword; +export function tsBigIntKeyword(): TSBigIntKeyword; +export function tsNeverKeyword(): TSNeverKeyword; +export function tsNullKeyword(): TSNullKeyword; +export function tsNumberKeyword(): TSNumberKeyword; +export function tsObjectKeyword(): TSObjectKeyword; +export function tsStringKeyword(): TSStringKeyword; +export function tsSymbolKeyword(): TSSymbolKeyword; +export function tsUndefinedKeyword(): TSUndefinedKeyword; +export function tsUnknownKeyword(): TSUnknownKeyword; +export function tsVoidKeyword(): TSVoidKeyword; +export function tsThisType(): TSThisType; +export function tsFunctionType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSFunctionType; +export function tsConstructorType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array, typeAnnotation?: TSTypeAnnotation | null): TSConstructorType; +export function tsTypeReference(typeName: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSTypeReference; +export function tsTypePredicate(parameterName: Identifier | TSThisType, typeAnnotation?: TSTypeAnnotation | null, asserts?: boolean | null): TSTypePredicate; +export function tsTypeQuery(exprName: TSEntityName | TSImportType): TSTypeQuery; +export function tsTypeLiteral(members: Array): TSTypeLiteral; +export function tsArrayType(elementType: TSType): TSArrayType; +export function tsTupleType(elementTypes: Array): TSTupleType; +export function tsOptionalType(typeAnnotation: TSType): TSOptionalType; +export function tsRestType(typeAnnotation: TSType): TSRestType; +export function tsNamedTupleMember(label: Identifier, elementType: TSType, optional?: boolean): TSNamedTupleMember; +export function tsUnionType(types: Array): TSUnionType; +export function tsIntersectionType(types: Array): TSIntersectionType; +export function tsConditionalType(checkType: TSType, extendsType: TSType, trueType: TSType, falseType: TSType): TSConditionalType; +export function tsInferType(typeParameter: TSTypeParameter): TSInferType; +export function tsParenthesizedType(typeAnnotation: TSType): TSParenthesizedType; +export function tsTypeOperator(typeAnnotation: TSType): TSTypeOperator; +export function tsIndexedAccessType(objectType: TSType, indexType: TSType): TSIndexedAccessType; +export function tsMappedType(typeParameter: TSTypeParameter, typeAnnotation?: TSType | null): TSMappedType; +export function tsLiteralType(literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral): TSLiteralType; +export function tsExpressionWithTypeArguments(expression: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSExpressionWithTypeArguments; +export function tsInterfaceDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, _extends: Array | null | undefined, body: TSInterfaceBody): TSInterfaceDeclaration; +export function tsInterfaceBody(body: Array): TSInterfaceBody; +export function tsTypeAliasDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, typeAnnotation: TSType): TSTypeAliasDeclaration; +export function tsAsExpression(expression: Expression, typeAnnotation: TSType): TSAsExpression; +export function tsTypeAssertion(typeAnnotation: TSType, expression: Expression): TSTypeAssertion; +export function tsEnumDeclaration(id: Identifier, members: Array): TSEnumDeclaration; +export function tsEnumMember(id: Identifier | StringLiteral, initializer?: Expression | null): TSEnumMember; +export function tsModuleDeclaration(id: Identifier | StringLiteral, body: TSModuleBlock | TSModuleDeclaration): TSModuleDeclaration; +export function tsModuleBlock(body: Array): TSModuleBlock; +export function tsImportType(argument: StringLiteral, qualifier?: TSEntityName | null, typeParameters?: TSTypeParameterInstantiation | null): TSImportType; +export function tsImportEqualsDeclaration(id: Identifier, moduleReference: TSEntityName | TSExternalModuleReference): TSImportEqualsDeclaration; +export function tsExternalModuleReference(expression: StringLiteral): TSExternalModuleReference; +export function tsNonNullExpression(expression: Expression): TSNonNullExpression; +export function tsExportAssignment(expression: Expression): TSExportAssignment; +export function tsNamespaceExportDeclaration(id: Identifier): TSNamespaceExportDeclaration; +export function tsTypeAnnotation(typeAnnotation: TSType): TSTypeAnnotation; +export function tsTypeParameterInstantiation(params: Array): TSTypeParameterInstantiation; +export function tsTypeParameterDeclaration(params: Array): TSTypeParameterDeclaration; +export function tsTypeParameter(constraint: TSType | null | undefined, _default: TSType | null | undefined, name: string): TSTypeParameter; +export function isAnyTypeAnnotation(node: object | null | undefined, opts?: object | null): node is AnyTypeAnnotation; +// export function assertAnyTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is AnyTypeAnnotation; +export function isArgumentPlaceholder(node: object | null | undefined, opts?: object | null): node is ArgumentPlaceholder; +// export function assertArgumentPlaceholder(node: object | null | undefined, opts?: object | null): asserts node is ArgumentPlaceholder; +export function isArrayExpression(node: object | null | undefined, opts?: object | null): node is ArrayExpression; +// export function assertArrayExpression(node: object | null | undefined, opts?: object | null): asserts node is ArrayExpression; +export function isArrayPattern(node: object | null | undefined, opts?: object | null): node is ArrayPattern; +// export function assertArrayPattern(node: object | null | undefined, opts?: object | null): asserts node is ArrayPattern; +export function isArrayTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ArrayTypeAnnotation; +// export function assertArrayTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is ArrayTypeAnnotation; +export function isArrowFunctionExpression(node: object | null | undefined, opts?: object | null): node is ArrowFunctionExpression; +// export function assertArrowFunctionExpression(node: object | null | undefined, opts?: object | null): asserts node is ArrowFunctionExpression; +export function isAssignmentExpression(node: object | null | undefined, opts?: object | null): node is AssignmentExpression; +// export function assertAssignmentExpression(node: object | null | undefined, opts?: object | null): asserts node is AssignmentExpression; +export function isAssignmentPattern(node: object | null | undefined, opts?: object | null): node is AssignmentPattern; +// export function assertAssignmentPattern(node: object | null | undefined, opts?: object | null): asserts node is AssignmentPattern; +export function isAwaitExpression(node: object | null | undefined, opts?: object | null): node is AwaitExpression; +// export function assertAwaitExpression(node: object | null | undefined, opts?: object | null): asserts node is AwaitExpression; +export function isBigIntLiteral(node: object | null | undefined, opts?: object | null): node is BigIntLiteral; +// export function assertBigIntLiteral(node: object | null | undefined, opts?: object | null): asserts node is BigIntLiteral; +export function isBinary(node: object | null | undefined, opts?: object | null): node is Binary; +// export function assertBinary(node: object | null | undefined, opts?: object | null): asserts node is Binary; +export function isBinaryExpression(node: object | null | undefined, opts?: object | null): node is BinaryExpression; +// export function assertBinaryExpression(node: object | null | undefined, opts?: object | null): asserts node is BinaryExpression; +export function isBindExpression(node: object | null | undefined, opts?: object | null): node is BindExpression; +// export function assertBindExpression(node: object | null | undefined, opts?: object | null): asserts node is BindExpression; +export function isBlock(node: object | null | undefined, opts?: object | null): node is Block; +// export function assertBlock(node: object | null | undefined, opts?: object | null): asserts node is Block; +export function isBlockParent(node: object | null | undefined, opts?: object | null): node is BlockParent; +// export function assertBlockParent(node: object | null | undefined, opts?: object | null): asserts node is BlockParent; +export function isBlockStatement(node: object | null | undefined, opts?: object | null): node is BlockStatement; +// export function assertBlockStatement(node: object | null | undefined, opts?: object | null): asserts node is BlockStatement; +export function isBooleanLiteral(node: object | null | undefined, opts?: object | null): node is BooleanLiteral; +// export function assertBooleanLiteral(node: object | null | undefined, opts?: object | null): asserts node is BooleanLiteral; +export function isBooleanLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is BooleanLiteralTypeAnnotation; +// export function assertBooleanLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is BooleanLiteralTypeAnnotation; +export function isBooleanTypeAnnotation(node: object | null | undefined, opts?: object | null): node is BooleanTypeAnnotation; +// export function assertBooleanTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is BooleanTypeAnnotation; +export function isBreakStatement(node: object | null | undefined, opts?: object | null): node is BreakStatement; +// export function assertBreakStatement(node: object | null | undefined, opts?: object | null): asserts node is BreakStatement; +export function isCallExpression(node: object | null | undefined, opts?: object | null): node is CallExpression; +// export function assertCallExpression(node: object | null | undefined, opts?: object | null): asserts node is CallExpression; +export function isCatchClause(node: object | null | undefined, opts?: object | null): node is CatchClause; +// export function assertCatchClause(node: object | null | undefined, opts?: object | null): asserts node is CatchClause; +export function isClass(node: object | null | undefined, opts?: object | null): node is Class; +// export function assertClass(node: object | null | undefined, opts?: object | null): asserts node is Class; +export function isClassBody(node: object | null | undefined, opts?: object | null): node is ClassBody; +// export function assertClassBody(node: object | null | undefined, opts?: object | null): asserts node is ClassBody; +export function isClassDeclaration(node: object | null | undefined, opts?: object | null): node is ClassDeclaration; +// export function assertClassDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ClassDeclaration; +export function isClassExpression(node: object | null | undefined, opts?: object | null): node is ClassExpression; +// export function assertClassExpression(node: object | null | undefined, opts?: object | null): asserts node is ClassExpression; +export function isClassImplements(node: object | null | undefined, opts?: object | null): node is ClassImplements; +// export function assertClassImplements(node: object | null | undefined, opts?: object | null): asserts node is ClassImplements; +export function isClassMethod(node: object | null | undefined, opts?: object | null): node is ClassMethod; +// export function assertClassMethod(node: object | null | undefined, opts?: object | null): asserts node is ClassMethod; +export function isClassPrivateMethod(node: object | null | undefined, opts?: object | null): node is ClassPrivateMethod; +// export function assertClassPrivateMethod(node: object | null | undefined, opts?: object | null): asserts node is ClassPrivateMethod; +export function isClassPrivateProperty(node: object | null | undefined, opts?: object | null): node is ClassPrivateProperty; +// export function assertClassPrivateProperty(node: object | null | undefined, opts?: object | null): asserts node is ClassPrivateProperty; +export function isClassProperty(node: object | null | undefined, opts?: object | null): node is ClassProperty; +// export function assertClassProperty(node: object | null | undefined, opts?: object | null): asserts node is ClassProperty; +export function isCompletionStatement(node: object | null | undefined, opts?: object | null): node is CompletionStatement; +// export function assertCompletionStatement(node: object | null | undefined, opts?: object | null): asserts node is CompletionStatement; +export function isConditional(node: object | null | undefined, opts?: object | null): node is Conditional; +// export function assertConditional(node: object | null | undefined, opts?: object | null): asserts node is Conditional; +export function isConditionalExpression(node: object | null | undefined, opts?: object | null): node is ConditionalExpression; +// export function assertConditionalExpression(node: object | null | undefined, opts?: object | null): asserts node is ConditionalExpression; +export function isContinueStatement(node: object | null | undefined, opts?: object | null): node is ContinueStatement; +// export function assertContinueStatement(node: object | null | undefined, opts?: object | null): asserts node is ContinueStatement; +export function isDebuggerStatement(node: object | null | undefined, opts?: object | null): node is DebuggerStatement; +// export function assertDebuggerStatement(node: object | null | undefined, opts?: object | null): asserts node is DebuggerStatement; +export function isDecimalLiteral(node: object | null | undefined, opts?: object | null): node is DecimalLiteral; +// export function assertDecimalLiteral(node: object | null | undefined, opts?: object | null): asserts node is DecimalLiteral; +export function isDeclaration(node: object | null | undefined, opts?: object | null): node is Declaration; +// export function assertDeclaration(node: object | null | undefined, opts?: object | null): asserts node is Declaration; +export function isDeclareClass(node: object | null | undefined, opts?: object | null): node is DeclareClass; +// export function assertDeclareClass(node: object | null | undefined, opts?: object | null): asserts node is DeclareClass; +export function isDeclareExportAllDeclaration(node: object | null | undefined, opts?: object | null): node is DeclareExportAllDeclaration; +// export function assertDeclareExportAllDeclaration(node: object | null | undefined, opts?: object | null): asserts node is DeclareExportAllDeclaration; +export function isDeclareExportDeclaration(node: object | null | undefined, opts?: object | null): node is DeclareExportDeclaration; +// export function assertDeclareExportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is DeclareExportDeclaration; +export function isDeclareFunction(node: object | null | undefined, opts?: object | null): node is DeclareFunction; +// export function assertDeclareFunction(node: object | null | undefined, opts?: object | null): asserts node is DeclareFunction; +export function isDeclareInterface(node: object | null | undefined, opts?: object | null): node is DeclareInterface; +// export function assertDeclareInterface(node: object | null | undefined, opts?: object | null): asserts node is DeclareInterface; +export function isDeclareModule(node: object | null | undefined, opts?: object | null): node is DeclareModule; +// export function assertDeclareModule(node: object | null | undefined, opts?: object | null): asserts node is DeclareModule; +export function isDeclareModuleExports(node: object | null | undefined, opts?: object | null): node is DeclareModuleExports; +// export function assertDeclareModuleExports(node: object | null | undefined, opts?: object | null): asserts node is DeclareModuleExports; +export function isDeclareOpaqueType(node: object | null | undefined, opts?: object | null): node is DeclareOpaqueType; +// export function assertDeclareOpaqueType(node: object | null | undefined, opts?: object | null): asserts node is DeclareOpaqueType; +export function isDeclareTypeAlias(node: object | null | undefined, opts?: object | null): node is DeclareTypeAlias; +// export function assertDeclareTypeAlias(node: object | null | undefined, opts?: object | null): asserts node is DeclareTypeAlias; +export function isDeclareVariable(node: object | null | undefined, opts?: object | null): node is DeclareVariable; +// export function assertDeclareVariable(node: object | null | undefined, opts?: object | null): asserts node is DeclareVariable; +export function isDeclaredPredicate(node: object | null | undefined, opts?: object | null): node is DeclaredPredicate; +// export function assertDeclaredPredicate(node: object | null | undefined, opts?: object | null): asserts node is DeclaredPredicate; +export function isDecorator(node: object | null | undefined, opts?: object | null): node is Decorator; +// export function assertDecorator(node: object | null | undefined, opts?: object | null): asserts node is Decorator; +export function isDirective(node: object | null | undefined, opts?: object | null): node is Directive; +// export function assertDirective(node: object | null | undefined, opts?: object | null): asserts node is Directive; +export function isDirectiveLiteral(node: object | null | undefined, opts?: object | null): node is DirectiveLiteral; +// export function assertDirectiveLiteral(node: object | null | undefined, opts?: object | null): asserts node is DirectiveLiteral; +export function isDoExpression(node: object | null | undefined, opts?: object | null): node is DoExpression; +// export function assertDoExpression(node: object | null | undefined, opts?: object | null): asserts node is DoExpression; +export function isDoWhileStatement(node: object | null | undefined, opts?: object | null): node is DoWhileStatement; +// export function assertDoWhileStatement(node: object | null | undefined, opts?: object | null): asserts node is DoWhileStatement; +export function isEmptyStatement(node: object | null | undefined, opts?: object | null): node is EmptyStatement; +// export function assertEmptyStatement(node: object | null | undefined, opts?: object | null): asserts node is EmptyStatement; +export function isEmptyTypeAnnotation(node: object | null | undefined, opts?: object | null): node is EmptyTypeAnnotation; +// export function assertEmptyTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is EmptyTypeAnnotation; +export function isEnumBody(node: object | null | undefined, opts?: object | null): node is EnumBody; +// export function assertEnumBody(node: object | null | undefined, opts?: object | null): asserts node is EnumBody; +export function isEnumBooleanBody(node: object | null | undefined, opts?: object | null): node is EnumBooleanBody; +// export function assertEnumBooleanBody(node: object | null | undefined, opts?: object | null): asserts node is EnumBooleanBody; +export function isEnumBooleanMember(node: object | null | undefined, opts?: object | null): node is EnumBooleanMember; +// export function assertEnumBooleanMember(node: object | null | undefined, opts?: object | null): asserts node is EnumBooleanMember; +export function isEnumDeclaration(node: object | null | undefined, opts?: object | null): node is EnumDeclaration; +// export function assertEnumDeclaration(node: object | null | undefined, opts?: object | null): asserts node is EnumDeclaration; +export function isEnumDefaultedMember(node: object | null | undefined, opts?: object | null): node is EnumDefaultedMember; +// export function assertEnumDefaultedMember(node: object | null | undefined, opts?: object | null): asserts node is EnumDefaultedMember; +export function isEnumMember(node: object | null | undefined, opts?: object | null): node is EnumMember; +// export function assertEnumMember(node: object | null | undefined, opts?: object | null): asserts node is EnumMember; +export function isEnumNumberBody(node: object | null | undefined, opts?: object | null): node is EnumNumberBody; +// export function assertEnumNumberBody(node: object | null | undefined, opts?: object | null): asserts node is EnumNumberBody; +export function isEnumNumberMember(node: object | null | undefined, opts?: object | null): node is EnumNumberMember; +// export function assertEnumNumberMember(node: object | null | undefined, opts?: object | null): asserts node is EnumNumberMember; +export function isEnumStringBody(node: object | null | undefined, opts?: object | null): node is EnumStringBody; +// export function assertEnumStringBody(node: object | null | undefined, opts?: object | null): asserts node is EnumStringBody; +export function isEnumStringMember(node: object | null | undefined, opts?: object | null): node is EnumStringMember; +// export function assertEnumStringMember(node: object | null | undefined, opts?: object | null): asserts node is EnumStringMember; +export function isEnumSymbolBody(node: object | null | undefined, opts?: object | null): node is EnumSymbolBody; +// export function assertEnumSymbolBody(node: object | null | undefined, opts?: object | null): asserts node is EnumSymbolBody; +export function isExistsTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ExistsTypeAnnotation; +// export function assertExistsTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is ExistsTypeAnnotation; +export function isExportAllDeclaration(node: object | null | undefined, opts?: object | null): node is ExportAllDeclaration; +// export function assertExportAllDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportAllDeclaration; +export function isExportDeclaration(node: object | null | undefined, opts?: object | null): node is ExportDeclaration; +// export function assertExportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportDeclaration; +export function isExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): node is ExportDefaultDeclaration; +// export function assertExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportDefaultDeclaration; +export function isExportDefaultSpecifier(node: object | null | undefined, opts?: object | null): node is ExportDefaultSpecifier; +// export function assertExportDefaultSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ExportDefaultSpecifier; +export function isExportNamedDeclaration(node: object | null | undefined, opts?: object | null): node is ExportNamedDeclaration; +// export function assertExportNamedDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportNamedDeclaration; +export function isExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): node is ExportNamespaceSpecifier; +// export function assertExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ExportNamespaceSpecifier; +export function isExportSpecifier(node: object | null | undefined, opts?: object | null): node is ExportSpecifier; +// export function assertExportSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ExportSpecifier; +export function isExpression(node: object | null | undefined, opts?: object | null): node is Expression; +// export function assertExpression(node: object | null | undefined, opts?: object | null): asserts node is Expression; +export function isExpressionStatement(node: object | null | undefined, opts?: object | null): node is ExpressionStatement; +// export function assertExpressionStatement(node: object | null | undefined, opts?: object | null): asserts node is ExpressionStatement; +export function isExpressionWrapper(node: object | null | undefined, opts?: object | null): node is ExpressionWrapper; +// export function assertExpressionWrapper(node: object | null | undefined, opts?: object | null): asserts node is ExpressionWrapper; +export function isFile(node: object | null | undefined, opts?: object | null): node is File; +// export function assertFile(node: object | null | undefined, opts?: object | null): asserts node is File; +export function isFlow(node: object | null | undefined, opts?: object | null): node is Flow; +// export function assertFlow(node: object | null | undefined, opts?: object | null): asserts node is Flow; +export function isFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): node is FlowBaseAnnotation; +// export function assertFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): asserts node is FlowBaseAnnotation; +export function isFlowDeclaration(node: object | null | undefined, opts?: object | null): node is FlowDeclaration; +// export function assertFlowDeclaration(node: object | null | undefined, opts?: object | null): asserts node is FlowDeclaration; +export function isFlowPredicate(node: object | null | undefined, opts?: object | null): node is FlowPredicate; +// export function assertFlowPredicate(node: object | null | undefined, opts?: object | null): asserts node is FlowPredicate; +export function isFlowType(node: object | null | undefined, opts?: object | null): node is FlowType; +// export function assertFlowType(node: object | null | undefined, opts?: object | null): asserts node is FlowType; +export function isFor(node: object | null | undefined, opts?: object | null): node is For; +// export function assertFor(node: object | null | undefined, opts?: object | null): asserts node is For; +export function isForInStatement(node: object | null | undefined, opts?: object | null): node is ForInStatement; +// export function assertForInStatement(node: object | null | undefined, opts?: object | null): asserts node is ForInStatement; +export function isForOfStatement(node: object | null | undefined, opts?: object | null): node is ForOfStatement; +// export function assertForOfStatement(node: object | null | undefined, opts?: object | null): asserts node is ForOfStatement; +export function isForStatement(node: object | null | undefined, opts?: object | null): node is ForStatement; +// export function assertForStatement(node: object | null | undefined, opts?: object | null): asserts node is ForStatement; +export function isForXStatement(node: object | null | undefined, opts?: object | null): node is ForXStatement; +// export function assertForXStatement(node: object | null | undefined, opts?: object | null): asserts node is ForXStatement; +export function isFunction(node: object | null | undefined, opts?: object | null): node is Function; +// export function assertFunction(node: object | null | undefined, opts?: object | null): asserts node is Function; +export function isFunctionDeclaration(node: object | null | undefined, opts?: object | null): node is FunctionDeclaration; +// export function assertFunctionDeclaration(node: object | null | undefined, opts?: object | null): asserts node is FunctionDeclaration; +export function isFunctionExpression(node: object | null | undefined, opts?: object | null): node is FunctionExpression; +// export function assertFunctionExpression(node: object | null | undefined, opts?: object | null): asserts node is FunctionExpression; +export function isFunctionParent(node: object | null | undefined, opts?: object | null): node is FunctionParent; +// export function assertFunctionParent(node: object | null | undefined, opts?: object | null): asserts node is FunctionParent; +export function isFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is FunctionTypeAnnotation; +// export function assertFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is FunctionTypeAnnotation; +export function isFunctionTypeParam(node: object | null | undefined, opts?: object | null): node is FunctionTypeParam; +// export function assertFunctionTypeParam(node: object | null | undefined, opts?: object | null): asserts node is FunctionTypeParam; +export function isGenericTypeAnnotation(node: object | null | undefined, opts?: object | null): node is GenericTypeAnnotation; +// export function assertGenericTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is GenericTypeAnnotation; +export function isIdentifier(node: object | null | undefined, opts?: object | null): node is Identifier; +// export function assertIdentifier(node: object | null | undefined, opts?: object | null): asserts node is Identifier; +export function isIfStatement(node: object | null | undefined, opts?: object | null): node is IfStatement; +// export function assertIfStatement(node: object | null | undefined, opts?: object | null): asserts node is IfStatement; +export function isImmutable(node: object | null | undefined, opts?: object | null): node is Immutable; +// export function assertImmutable(node: object | null | undefined, opts?: object | null): asserts node is Immutable; +export function isImport(node: object | null | undefined, opts?: object | null): node is Import; +// export function assertImport(node: object | null | undefined, opts?: object | null): asserts node is Import; +export function isImportAttribute(node: object | null | undefined, opts?: object | null): node is ImportAttribute; +// export function assertImportAttribute(node: object | null | undefined, opts?: object | null): asserts node is ImportAttribute; +export function isImportDeclaration(node: object | null | undefined, opts?: object | null): node is ImportDeclaration; +// export function assertImportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ImportDeclaration; +export function isImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): node is ImportDefaultSpecifier; +// export function assertImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ImportDefaultSpecifier; +export function isImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): node is ImportNamespaceSpecifier; +// export function assertImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ImportNamespaceSpecifier; +export function isImportSpecifier(node: object | null | undefined, opts?: object | null): node is ImportSpecifier; +// export function assertImportSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ImportSpecifier; +export function isInferredPredicate(node: object | null | undefined, opts?: object | null): node is InferredPredicate; +// export function assertInferredPredicate(node: object | null | undefined, opts?: object | null): asserts node is InferredPredicate; +export function isInterfaceDeclaration(node: object | null | undefined, opts?: object | null): node is InterfaceDeclaration; +// export function assertInterfaceDeclaration(node: object | null | undefined, opts?: object | null): asserts node is InterfaceDeclaration; +export function isInterfaceExtends(node: object | null | undefined, opts?: object | null): node is InterfaceExtends; +// export function assertInterfaceExtends(node: object | null | undefined, opts?: object | null): asserts node is InterfaceExtends; +export function isInterfaceTypeAnnotation(node: object | null | undefined, opts?: object | null): node is InterfaceTypeAnnotation; +// export function assertInterfaceTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is InterfaceTypeAnnotation; +export function isInterpreterDirective(node: object | null | undefined, opts?: object | null): node is InterpreterDirective; +// export function assertInterpreterDirective(node: object | null | undefined, opts?: object | null): asserts node is InterpreterDirective; +export function isIntersectionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is IntersectionTypeAnnotation; +// export function assertIntersectionTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is IntersectionTypeAnnotation; +export function isJSX(node: object | null | undefined, opts?: object | null): node is JSX; +// export function assertJSX(node: object | null | undefined, opts?: object | null): asserts node is JSX; +export function isJSXAttribute(node: object | null | undefined, opts?: object | null): node is JSXAttribute; +// export function assertJSXAttribute(node: object | null | undefined, opts?: object | null): asserts node is JSXAttribute; +export function isJSXClosingElement(node: object | null | undefined, opts?: object | null): node is JSXClosingElement; +// export function assertJSXClosingElement(node: object | null | undefined, opts?: object | null): asserts node is JSXClosingElement; +export function isJSXClosingFragment(node: object | null | undefined, opts?: object | null): node is JSXClosingFragment; +// export function assertJSXClosingFragment(node: object | null | undefined, opts?: object | null): asserts node is JSXClosingFragment; +export function isJSXElement(node: object | null | undefined, opts?: object | null): node is JSXElement; +// export function assertJSXElement(node: object | null | undefined, opts?: object | null): asserts node is JSXElement; +export function isJSXEmptyExpression(node: object | null | undefined, opts?: object | null): node is JSXEmptyExpression; +// export function assertJSXEmptyExpression(node: object | null | undefined, opts?: object | null): asserts node is JSXEmptyExpression; +export function isJSXExpressionContainer(node: object | null | undefined, opts?: object | null): node is JSXExpressionContainer; +// export function assertJSXExpressionContainer(node: object | null | undefined, opts?: object | null): asserts node is JSXExpressionContainer; +export function isJSXFragment(node: object | null | undefined, opts?: object | null): node is JSXFragment; +// export function assertJSXFragment(node: object | null | undefined, opts?: object | null): asserts node is JSXFragment; +export function isJSXIdentifier(node: object | null | undefined, opts?: object | null): node is JSXIdentifier; +// export function assertJSXIdentifier(node: object | null | undefined, opts?: object | null): asserts node is JSXIdentifier; +export function isJSXMemberExpression(node: object | null | undefined, opts?: object | null): node is JSXMemberExpression; +// export function assertJSXMemberExpression(node: object | null | undefined, opts?: object | null): asserts node is JSXMemberExpression; +export function isJSXNamespacedName(node: object | null | undefined, opts?: object | null): node is JSXNamespacedName; +// export function assertJSXNamespacedName(node: object | null | undefined, opts?: object | null): asserts node is JSXNamespacedName; +export function isJSXOpeningElement(node: object | null | undefined, opts?: object | null): node is JSXOpeningElement; +// export function assertJSXOpeningElement(node: object | null | undefined, opts?: object | null): asserts node is JSXOpeningElement; +export function isJSXOpeningFragment(node: object | null | undefined, opts?: object | null): node is JSXOpeningFragment; +// export function assertJSXOpeningFragment(node: object | null | undefined, opts?: object | null): asserts node is JSXOpeningFragment; +export function isJSXSpreadAttribute(node: object | null | undefined, opts?: object | null): node is JSXSpreadAttribute; +// export function assertJSXSpreadAttribute(node: object | null | undefined, opts?: object | null): asserts node is JSXSpreadAttribute; +export function isJSXSpreadChild(node: object | null | undefined, opts?: object | null): node is JSXSpreadChild; +// export function assertJSXSpreadChild(node: object | null | undefined, opts?: object | null): asserts node is JSXSpreadChild; +export function isJSXText(node: object | null | undefined, opts?: object | null): node is JSXText; +// export function assertJSXText(node: object | null | undefined, opts?: object | null): asserts node is JSXText; +export function isLVal(node: object | null | undefined, opts?: object | null): node is LVal; +// export function assertLVal(node: object | null | undefined, opts?: object | null): asserts node is LVal; +export function isLabeledStatement(node: object | null | undefined, opts?: object | null): node is LabeledStatement; +// export function assertLabeledStatement(node: object | null | undefined, opts?: object | null): asserts node is LabeledStatement; +export function isLiteral(node: object | null | undefined, opts?: object | null): node is Literal; +// export function assertLiteral(node: object | null | undefined, opts?: object | null): asserts node is Literal; +export function isLogicalExpression(node: object | null | undefined, opts?: object | null): node is LogicalExpression; +// export function assertLogicalExpression(node: object | null | undefined, opts?: object | null): asserts node is LogicalExpression; +export function isLoop(node: object | null | undefined, opts?: object | null): node is Loop; +// export function assertLoop(node: object | null | undefined, opts?: object | null): asserts node is Loop; +export function isMemberExpression(node: object | null | undefined, opts?: object | null): node is MemberExpression; +// export function assertMemberExpression(node: object | null | undefined, opts?: object | null): asserts node is MemberExpression; +export function isMetaProperty(node: object | null | undefined, opts?: object | null): node is MetaProperty; +// export function assertMetaProperty(node: object | null | undefined, opts?: object | null): asserts node is MetaProperty; +export function isMethod(node: object | null | undefined, opts?: object | null): node is Method; +// export function assertMethod(node: object | null | undefined, opts?: object | null): asserts node is Method; +export function isMixedTypeAnnotation(node: object | null | undefined, opts?: object | null): node is MixedTypeAnnotation; +// export function assertMixedTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is MixedTypeAnnotation; +export function isModuleDeclaration(node: object | null | undefined, opts?: object | null): node is ModuleDeclaration; +// export function assertModuleDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ModuleDeclaration; +export function isModuleSpecifier(node: object | null | undefined, opts?: object | null): node is ModuleSpecifier; +// export function assertModuleSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ModuleSpecifier; +export function isNewExpression(node: object | null | undefined, opts?: object | null): node is NewExpression; +// export function assertNewExpression(node: object | null | undefined, opts?: object | null): asserts node is NewExpression; +export function isNoop(node: object | null | undefined, opts?: object | null): node is Noop; +// export function assertNoop(node: object | null | undefined, opts?: object | null): asserts node is Noop; +export function isNullLiteral(node: object | null | undefined, opts?: object | null): node is NullLiteral; +// export function assertNullLiteral(node: object | null | undefined, opts?: object | null): asserts node is NullLiteral; +export function isNullLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NullLiteralTypeAnnotation; +// export function assertNullLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is NullLiteralTypeAnnotation; +export function isNullableTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NullableTypeAnnotation; +// export function assertNullableTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is NullableTypeAnnotation; +export function isNumberLiteral(node: object | null | undefined, opts?: object | null): boolean; +// export function assertNumberLiteral(node: object | null | undefined, opts?: object | null): asserts node; +export function isNumberLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NumberLiteralTypeAnnotation; +// export function assertNumberLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is NumberLiteralTypeAnnotation; +export function isNumberTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NumberTypeAnnotation; +// export function assertNumberTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is NumberTypeAnnotation; +export function isNumericLiteral(node: object | null | undefined, opts?: object | null): node is NumericLiteral; +// export function assertNumericLiteral(node: object | null | undefined, opts?: object | null): asserts node is NumericLiteral; +export function isObjectExpression(node: object | null | undefined, opts?: object | null): node is ObjectExpression; +// export function assertObjectExpression(node: object | null | undefined, opts?: object | null): asserts node is ObjectExpression; +export function isObjectMember(node: object | null | undefined, opts?: object | null): node is ObjectMember; +// export function assertObjectMember(node: object | null | undefined, opts?: object | null): asserts node is ObjectMember; +export function isObjectMethod(node: object | null | undefined, opts?: object | null): node is ObjectMethod; +// export function assertObjectMethod(node: object | null | undefined, opts?: object | null): asserts node is ObjectMethod; +export function isObjectPattern(node: object | null | undefined, opts?: object | null): node is ObjectPattern; +// export function assertObjectPattern(node: object | null | undefined, opts?: object | null): asserts node is ObjectPattern; +export function isObjectProperty(node: object | null | undefined, opts?: object | null): node is ObjectProperty; +// export function assertObjectProperty(node: object | null | undefined, opts?: object | null): asserts node is ObjectProperty; +export function isObjectTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ObjectTypeAnnotation; +// export function assertObjectTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeAnnotation; +export function isObjectTypeCallProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeCallProperty; +// export function assertObjectTypeCallProperty(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeCallProperty; +export function isObjectTypeIndexer(node: object | null | undefined, opts?: object | null): node is ObjectTypeIndexer; +// export function assertObjectTypeIndexer(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeIndexer; +export function isObjectTypeInternalSlot(node: object | null | undefined, opts?: object | null): node is ObjectTypeInternalSlot; +// export function assertObjectTypeInternalSlot(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeInternalSlot; +export function isObjectTypeProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeProperty; +// export function assertObjectTypeProperty(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeProperty; +export function isObjectTypeSpreadProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeSpreadProperty; +// export function assertObjectTypeSpreadProperty(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeSpreadProperty; +export function isOpaqueType(node: object | null | undefined, opts?: object | null): node is OpaqueType; +// export function assertOpaqueType(node: object | null | undefined, opts?: object | null): asserts node is OpaqueType; +export function isOptionalCallExpression(node: object | null | undefined, opts?: object | null): node is OptionalCallExpression; +// export function assertOptionalCallExpression(node: object | null | undefined, opts?: object | null): asserts node is OptionalCallExpression; +export function isOptionalMemberExpression(node: object | null | undefined, opts?: object | null): node is OptionalMemberExpression; +// export function assertOptionalMemberExpression(node: object | null | undefined, opts?: object | null): asserts node is OptionalMemberExpression; +export function isParenthesizedExpression(node: object | null | undefined, opts?: object | null): node is ParenthesizedExpression; +// export function assertParenthesizedExpression(node: object | null | undefined, opts?: object | null): asserts node is ParenthesizedExpression; +export function isPattern(node: object | null | undefined, opts?: object | null): node is Pattern; +// export function assertPattern(node: object | null | undefined, opts?: object | null): asserts node is Pattern; +export function isPatternLike(node: object | null | undefined, opts?: object | null): node is PatternLike; +// export function assertPatternLike(node: object | null | undefined, opts?: object | null): asserts node is PatternLike; +export function isPipelineBareFunction(node: object | null | undefined, opts?: object | null): node is PipelineBareFunction; +// export function assertPipelineBareFunction(node: object | null | undefined, opts?: object | null): asserts node is PipelineBareFunction; +export function isPipelinePrimaryTopicReference(node: object | null | undefined, opts?: object | null): node is PipelinePrimaryTopicReference; +// export function assertPipelinePrimaryTopicReference(node: object | null | undefined, opts?: object | null): asserts node is PipelinePrimaryTopicReference; +export function isPipelineTopicExpression(node: object | null | undefined, opts?: object | null): node is PipelineTopicExpression; +// export function assertPipelineTopicExpression(node: object | null | undefined, opts?: object | null): asserts node is PipelineTopicExpression; +export function isPlaceholder(node: object | null | undefined, opts?: object | null): node is Placeholder; +// export function assertPlaceholder(node: object | null | undefined, opts?: object | null): asserts node is Placeholder; +export function isPrivate(node: object | null | undefined, opts?: object | null): node is Private; +// export function assertPrivate(node: object | null | undefined, opts?: object | null): asserts node is Private; +export function isPrivateName(node: object | null | undefined, opts?: object | null): node is PrivateName; +// export function assertPrivateName(node: object | null | undefined, opts?: object | null): asserts node is PrivateName; +export function isProgram(node: object | null | undefined, opts?: object | null): node is Program; +// export function assertProgram(node: object | null | undefined, opts?: object | null): asserts node is Program; +export function isProperty(node: object | null | undefined, opts?: object | null): node is Property; +// export function assertProperty(node: object | null | undefined, opts?: object | null): asserts node is Property; +export function isPureish(node: object | null | undefined, opts?: object | null): node is Pureish; +// export function assertPureish(node: object | null | undefined, opts?: object | null): asserts node is Pureish; +export function isQualifiedTypeIdentifier(node: object | null | undefined, opts?: object | null): node is QualifiedTypeIdentifier; +// export function assertQualifiedTypeIdentifier(node: object | null | undefined, opts?: object | null): asserts node is QualifiedTypeIdentifier; +export function isRecordExpression(node: object | null | undefined, opts?: object | null): node is RecordExpression; +// export function assertRecordExpression(node: object | null | undefined, opts?: object | null): asserts node is RecordExpression; +export function isRegExpLiteral(node: object | null | undefined, opts?: object | null): node is RegExpLiteral; +// export function assertRegExpLiteral(node: object | null | undefined, opts?: object | null): asserts node is RegExpLiteral; +export function isRegexLiteral(node: object | null | undefined, opts?: object | null): boolean; +// export function assertRegexLiteral(node: object | null | undefined, opts?: object | null): asserts node; +export function isRestElement(node: object | null | undefined, opts?: object | null): node is RestElement; +// export function assertRestElement(node: object | null | undefined, opts?: object | null): asserts node is RestElement; +export function isRestProperty(node: object | null | undefined, opts?: object | null): boolean; +// export function assertRestProperty(node: object | null | undefined, opts?: object | null): asserts node; +export function isReturnStatement(node: object | null | undefined, opts?: object | null): node is ReturnStatement; +// export function assertReturnStatement(node: object | null | undefined, opts?: object | null): asserts node is ReturnStatement; +export function isScopable(node: object | null | undefined, opts?: object | null): node is Scopable; +// export function assertScopable(node: object | null | undefined, opts?: object | null): asserts node is Scopable; +export function isSequenceExpression(node: object | null | undefined, opts?: object | null): node is SequenceExpression; +// export function assertSequenceExpression(node: object | null | undefined, opts?: object | null): asserts node is SequenceExpression; +export function isSpreadElement(node: object | null | undefined, opts?: object | null): node is SpreadElement; +// export function assertSpreadElement(node: object | null | undefined, opts?: object | null): asserts node is SpreadElement; +export function isSpreadProperty(node: object | null | undefined, opts?: object | null): boolean; +// export function assertSpreadProperty(node: object | null | undefined, opts?: object | null): asserts node; +export function isStatement(node: object | null | undefined, opts?: object | null): node is Statement; +// export function assertStatement(node: object | null | undefined, opts?: object | null): asserts node is Statement; +export function isStringLiteral(node: object | null | undefined, opts?: object | null): node is StringLiteral; +// export function assertStringLiteral(node: object | null | undefined, opts?: object | null): asserts node is StringLiteral; +export function isStringLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is StringLiteralTypeAnnotation; +// export function assertStringLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is StringLiteralTypeAnnotation; +export function isStringTypeAnnotation(node: object | null | undefined, opts?: object | null): node is StringTypeAnnotation; +// export function assertStringTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is StringTypeAnnotation; +export function isSuper(node: object | null | undefined, opts?: object | null): node is Super; +// export function assertSuper(node: object | null | undefined, opts?: object | null): asserts node is Super; +export function isSwitchCase(node: object | null | undefined, opts?: object | null): node is SwitchCase; +// export function assertSwitchCase(node: object | null | undefined, opts?: object | null): asserts node is SwitchCase; +export function isSwitchStatement(node: object | null | undefined, opts?: object | null): node is SwitchStatement; +// export function assertSwitchStatement(node: object | null | undefined, opts?: object | null): asserts node is SwitchStatement; +export function isSymbolTypeAnnotation(node: object | null | undefined, opts?: object | null): node is SymbolTypeAnnotation; +// export function assertSymbolTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is SymbolTypeAnnotation; +export function isTSAnyKeyword(node: object | null | undefined, opts?: object | null): node is TSAnyKeyword; +// export function assertTSAnyKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSAnyKeyword; +export function isTSArrayType(node: object | null | undefined, opts?: object | null): node is TSArrayType; +// export function assertTSArrayType(node: object | null | undefined, opts?: object | null): asserts node is TSArrayType; +export function isTSAsExpression(node: object | null | undefined, opts?: object | null): node is TSAsExpression; +// export function assertTSAsExpression(node: object | null | undefined, opts?: object | null): asserts node is TSAsExpression; +export function isTSBaseType(node: object | null | undefined, opts?: object | null): node is TSBaseType; +// export function assertTSBaseType(node: object | null | undefined, opts?: object | null): asserts node is TSBaseType; +export function isTSBigIntKeyword(node: object | null | undefined, opts?: object | null): node is TSBigIntKeyword; +// export function assertTSBigIntKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSBigIntKeyword; +export function isTSBooleanKeyword(node: object | null | undefined, opts?: object | null): node is TSBooleanKeyword; +// export function assertTSBooleanKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSBooleanKeyword; +export function isTSCallSignatureDeclaration(node: object | null | undefined, opts?: object | null): node is TSCallSignatureDeclaration; +// export function assertTSCallSignatureDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSCallSignatureDeclaration; +export function isTSConditionalType(node: object | null | undefined, opts?: object | null): node is TSConditionalType; +// export function assertTSConditionalType(node: object | null | undefined, opts?: object | null): asserts node is TSConditionalType; +export function isTSConstructSignatureDeclaration(node: object | null | undefined, opts?: object | null): node is TSConstructSignatureDeclaration; +// export function assertTSConstructSignatureDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSConstructSignatureDeclaration; +export function isTSConstructorType(node: object | null | undefined, opts?: object | null): node is TSConstructorType; +// export function assertTSConstructorType(node: object | null | undefined, opts?: object | null): asserts node is TSConstructorType; +export function isTSDeclareFunction(node: object | null | undefined, opts?: object | null): node is TSDeclareFunction; +// export function assertTSDeclareFunction(node: object | null | undefined, opts?: object | null): asserts node is TSDeclareFunction; +export function isTSDeclareMethod(node: object | null | undefined, opts?: object | null): node is TSDeclareMethod; +// export function assertTSDeclareMethod(node: object | null | undefined, opts?: object | null): asserts node is TSDeclareMethod; +export function isTSEntityName(node: object | null | undefined, opts?: object | null): node is TSEntityName; +// export function assertTSEntityName(node: object | null | undefined, opts?: object | null): asserts node is TSEntityName; +export function isTSEnumDeclaration(node: object | null | undefined, opts?: object | null): node is TSEnumDeclaration; +// export function assertTSEnumDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSEnumDeclaration; +export function isTSEnumMember(node: object | null | undefined, opts?: object | null): node is TSEnumMember; +// export function assertTSEnumMember(node: object | null | undefined, opts?: object | null): asserts node is TSEnumMember; +export function isTSExportAssignment(node: object | null | undefined, opts?: object | null): node is TSExportAssignment; +// export function assertTSExportAssignment(node: object | null | undefined, opts?: object | null): asserts node is TSExportAssignment; +export function isTSExpressionWithTypeArguments(node: object | null | undefined, opts?: object | null): node is TSExpressionWithTypeArguments; +// export function assertTSExpressionWithTypeArguments(node: object | null | undefined, opts?: object | null): asserts node is TSExpressionWithTypeArguments; +export function isTSExternalModuleReference(node: object | null | undefined, opts?: object | null): node is TSExternalModuleReference; +// export function assertTSExternalModuleReference(node: object | null | undefined, opts?: object | null): asserts node is TSExternalModuleReference; +export function isTSFunctionType(node: object | null | undefined, opts?: object | null): node is TSFunctionType; +// export function assertTSFunctionType(node: object | null | undefined, opts?: object | null): asserts node is TSFunctionType; +export function isTSImportEqualsDeclaration(node: object | null | undefined, opts?: object | null): node is TSImportEqualsDeclaration; +// export function assertTSImportEqualsDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSImportEqualsDeclaration; +export function isTSImportType(node: object | null | undefined, opts?: object | null): node is TSImportType; +// export function assertTSImportType(node: object | null | undefined, opts?: object | null): asserts node is TSImportType; +export function isTSIndexSignature(node: object | null | undefined, opts?: object | null): node is TSIndexSignature; +// export function assertTSIndexSignature(node: object | null | undefined, opts?: object | null): asserts node is TSIndexSignature; +export function isTSIndexedAccessType(node: object | null | undefined, opts?: object | null): node is TSIndexedAccessType; +// export function assertTSIndexedAccessType(node: object | null | undefined, opts?: object | null): asserts node is TSIndexedAccessType; +export function isTSInferType(node: object | null | undefined, opts?: object | null): node is TSInferType; +// export function assertTSInferType(node: object | null | undefined, opts?: object | null): asserts node is TSInferType; +export function isTSInterfaceBody(node: object | null | undefined, opts?: object | null): node is TSInterfaceBody; +// export function assertTSInterfaceBody(node: object | null | undefined, opts?: object | null): asserts node is TSInterfaceBody; +export function isTSInterfaceDeclaration(node: object | null | undefined, opts?: object | null): node is TSInterfaceDeclaration; +// export function assertTSInterfaceDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSInterfaceDeclaration; +export function isTSIntersectionType(node: object | null | undefined, opts?: object | null): node is TSIntersectionType; +// export function assertTSIntersectionType(node: object | null | undefined, opts?: object | null): asserts node is TSIntersectionType; +export function isTSLiteralType(node: object | null | undefined, opts?: object | null): node is TSLiteralType; +// export function assertTSLiteralType(node: object | null | undefined, opts?: object | null): asserts node is TSLiteralType; +export function isTSMappedType(node: object | null | undefined, opts?: object | null): node is TSMappedType; +// export function assertTSMappedType(node: object | null | undefined, opts?: object | null): asserts node is TSMappedType; +export function isTSMethodSignature(node: object | null | undefined, opts?: object | null): node is TSMethodSignature; +// export function assertTSMethodSignature(node: object | null | undefined, opts?: object | null): asserts node is TSMethodSignature; +export function isTSModuleBlock(node: object | null | undefined, opts?: object | null): node is TSModuleBlock; +// export function assertTSModuleBlock(node: object | null | undefined, opts?: object | null): asserts node is TSModuleBlock; +export function isTSModuleDeclaration(node: object | null | undefined, opts?: object | null): node is TSModuleDeclaration; +// export function assertTSModuleDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSModuleDeclaration; +export function isTSNamedTupleMember(node: object | null | undefined, opts?: object | null): node is TSNamedTupleMember; +// export function assertTSNamedTupleMember(node: object | null | undefined, opts?: object | null): asserts node is TSNamedTupleMember; +export function isTSNamespaceExportDeclaration(node: object | null | undefined, opts?: object | null): node is TSNamespaceExportDeclaration; +// export function assertTSNamespaceExportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSNamespaceExportDeclaration; +export function isTSNeverKeyword(node: object | null | undefined, opts?: object | null): node is TSNeverKeyword; +// export function assertTSNeverKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSNeverKeyword; +export function isTSNonNullExpression(node: object | null | undefined, opts?: object | null): node is TSNonNullExpression; +// export function assertTSNonNullExpression(node: object | null | undefined, opts?: object | null): asserts node is TSNonNullExpression; +export function isTSNullKeyword(node: object | null | undefined, opts?: object | null): node is TSNullKeyword; +// export function assertTSNullKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSNullKeyword; +export function isTSNumberKeyword(node: object | null | undefined, opts?: object | null): node is TSNumberKeyword; +// export function assertTSNumberKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSNumberKeyword; +export function isTSObjectKeyword(node: object | null | undefined, opts?: object | null): node is TSObjectKeyword; +// export function assertTSObjectKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSObjectKeyword; +export function isTSOptionalType(node: object | null | undefined, opts?: object | null): node is TSOptionalType; +// export function assertTSOptionalType(node: object | null | undefined, opts?: object | null): asserts node is TSOptionalType; +export function isTSParameterProperty(node: object | null | undefined, opts?: object | null): node is TSParameterProperty; +// export function assertTSParameterProperty(node: object | null | undefined, opts?: object | null): asserts node is TSParameterProperty; +export function isTSParenthesizedType(node: object | null | undefined, opts?: object | null): node is TSParenthesizedType; +// export function assertTSParenthesizedType(node: object | null | undefined, opts?: object | null): asserts node is TSParenthesizedType; +export function isTSPropertySignature(node: object | null | undefined, opts?: object | null): node is TSPropertySignature; +// export function assertTSPropertySignature(node: object | null | undefined, opts?: object | null): asserts node is TSPropertySignature; +export function isTSQualifiedName(node: object | null | undefined, opts?: object | null): node is TSQualifiedName; +// export function assertTSQualifiedName(node: object | null | undefined, opts?: object | null): asserts node is TSQualifiedName; +export function isTSRestType(node: object | null | undefined, opts?: object | null): node is TSRestType; +// export function assertTSRestType(node: object | null | undefined, opts?: object | null): asserts node is TSRestType; +export function isTSStringKeyword(node: object | null | undefined, opts?: object | null): node is TSStringKeyword; +// export function assertTSStringKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSStringKeyword; +export function isTSSymbolKeyword(node: object | null | undefined, opts?: object | null): node is TSSymbolKeyword; +// export function assertTSSymbolKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSSymbolKeyword; +export function isTSThisType(node: object | null | undefined, opts?: object | null): node is TSThisType; +// export function assertTSThisType(node: object | null | undefined, opts?: object | null): asserts node is TSThisType; +export function isTSTupleType(node: object | null | undefined, opts?: object | null): node is TSTupleType; +// export function assertTSTupleType(node: object | null | undefined, opts?: object | null): asserts node is TSTupleType; +export function isTSType(node: object | null | undefined, opts?: object | null): node is TSType; +// export function assertTSType(node: object | null | undefined, opts?: object | null): asserts node is TSType; +export function isTSTypeAliasDeclaration(node: object | null | undefined, opts?: object | null): node is TSTypeAliasDeclaration; +// export function assertTSTypeAliasDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSTypeAliasDeclaration; +export function isTSTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TSTypeAnnotation; +// export function assertTSTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is TSTypeAnnotation; +export function isTSTypeAssertion(node: object | null | undefined, opts?: object | null): node is TSTypeAssertion; +// export function assertTSTypeAssertion(node: object | null | undefined, opts?: object | null): asserts node is TSTypeAssertion; +export function isTSTypeElement(node: object | null | undefined, opts?: object | null): node is TSTypeElement; +// export function assertTSTypeElement(node: object | null | undefined, opts?: object | null): asserts node is TSTypeElement; +export function isTSTypeLiteral(node: object | null | undefined, opts?: object | null): node is TSTypeLiteral; +// export function assertTSTypeLiteral(node: object | null | undefined, opts?: object | null): asserts node is TSTypeLiteral; +export function isTSTypeOperator(node: object | null | undefined, opts?: object | null): node is TSTypeOperator; +// export function assertTSTypeOperator(node: object | null | undefined, opts?: object | null): asserts node is TSTypeOperator; +export function isTSTypeParameter(node: object | null | undefined, opts?: object | null): node is TSTypeParameter; +// export function assertTSTypeParameter(node: object | null | undefined, opts?: object | null): asserts node is TSTypeParameter; +export function isTSTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): node is TSTypeParameterDeclaration; +// export function assertTSTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSTypeParameterDeclaration; +export function isTSTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): node is TSTypeParameterInstantiation; +// export function assertTSTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): asserts node is TSTypeParameterInstantiation; +export function isTSTypePredicate(node: object | null | undefined, opts?: object | null): node is TSTypePredicate; +// export function assertTSTypePredicate(node: object | null | undefined, opts?: object | null): asserts node is TSTypePredicate; +export function isTSTypeQuery(node: object | null | undefined, opts?: object | null): node is TSTypeQuery; +// export function assertTSTypeQuery(node: object | null | undefined, opts?: object | null): asserts node is TSTypeQuery; +export function isTSTypeReference(node: object | null | undefined, opts?: object | null): node is TSTypeReference; +// export function assertTSTypeReference(node: object | null | undefined, opts?: object | null): asserts node is TSTypeReference; +export function isTSUndefinedKeyword(node: object | null | undefined, opts?: object | null): node is TSUndefinedKeyword; +// export function assertTSUndefinedKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSUndefinedKeyword; +export function isTSUnionType(node: object | null | undefined, opts?: object | null): node is TSUnionType; +// export function assertTSUnionType(node: object | null | undefined, opts?: object | null): asserts node is TSUnionType; +export function isTSUnknownKeyword(node: object | null | undefined, opts?: object | null): node is TSUnknownKeyword; +// export function assertTSUnknownKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSUnknownKeyword; +export function isTSVoidKeyword(node: object | null | undefined, opts?: object | null): node is TSVoidKeyword; +// export function assertTSVoidKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSVoidKeyword; +export function isTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): node is TaggedTemplateExpression; +// export function assertTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): asserts node is TaggedTemplateExpression; +export function isTemplateElement(node: object | null | undefined, opts?: object | null): node is TemplateElement; +// export function assertTemplateElement(node: object | null | undefined, opts?: object | null): asserts node is TemplateElement; +export function isTemplateLiteral(node: object | null | undefined, opts?: object | null): node is TemplateLiteral; +// export function assertTemplateLiteral(node: object | null | undefined, opts?: object | null): asserts node is TemplateLiteral; +export function isTerminatorless(node: object | null | undefined, opts?: object | null): node is Terminatorless; +// export function assertTerminatorless(node: object | null | undefined, opts?: object | null): asserts node is Terminatorless; +export function isThisExpression(node: object | null | undefined, opts?: object | null): node is ThisExpression; +// export function assertThisExpression(node: object | null | undefined, opts?: object | null): asserts node is ThisExpression; +export function isThisTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ThisTypeAnnotation; +// export function assertThisTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is ThisTypeAnnotation; +export function isThrowStatement(node: object | null | undefined, opts?: object | null): node is ThrowStatement; +// export function assertThrowStatement(node: object | null | undefined, opts?: object | null): asserts node is ThrowStatement; +export function isTryStatement(node: object | null | undefined, opts?: object | null): node is TryStatement; +// export function assertTryStatement(node: object | null | undefined, opts?: object | null): asserts node is TryStatement; +export function isTupleExpression(node: object | null | undefined, opts?: object | null): node is TupleExpression; +// export function assertTupleExpression(node: object | null | undefined, opts?: object | null): asserts node is TupleExpression; +export function isTupleTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TupleTypeAnnotation; +// export function assertTupleTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is TupleTypeAnnotation; +export function isTypeAlias(node: object | null | undefined, opts?: object | null): node is TypeAlias; +// export function assertTypeAlias(node: object | null | undefined, opts?: object | null): asserts node is TypeAlias; +export function isTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TypeAnnotation; +// export function assertTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is TypeAnnotation; +export function isTypeCastExpression(node: object | null | undefined, opts?: object | null): node is TypeCastExpression; +// export function assertTypeCastExpression(node: object | null | undefined, opts?: object | null): asserts node is TypeCastExpression; +export function isTypeParameter(node: object | null | undefined, opts?: object | null): node is TypeParameter; +// export function assertTypeParameter(node: object | null | undefined, opts?: object | null): asserts node is TypeParameter; +export function isTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): node is TypeParameterDeclaration; +// export function assertTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TypeParameterDeclaration; +export function isTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): node is TypeParameterInstantiation; +// export function assertTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): asserts node is TypeParameterInstantiation; +export function isTypeofTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TypeofTypeAnnotation; +// export function assertTypeofTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is TypeofTypeAnnotation; +export function isUnaryExpression(node: object | null | undefined, opts?: object | null): node is UnaryExpression; +// export function assertUnaryExpression(node: object | null | undefined, opts?: object | null): asserts node is UnaryExpression; +export function isUnaryLike(node: object | null | undefined, opts?: object | null): node is UnaryLike; +// export function assertUnaryLike(node: object | null | undefined, opts?: object | null): asserts node is UnaryLike; +export function isUnionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is UnionTypeAnnotation; +// export function assertUnionTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is UnionTypeAnnotation; +export function isUpdateExpression(node: object | null | undefined, opts?: object | null): node is UpdateExpression; +// export function assertUpdateExpression(node: object | null | undefined, opts?: object | null): asserts node is UpdateExpression; +export function isUserWhitespacable(node: object | null | undefined, opts?: object | null): node is UserWhitespacable; +// export function assertUserWhitespacable(node: object | null | undefined, opts?: object | null): asserts node is UserWhitespacable; +export function isV8IntrinsicIdentifier(node: object | null | undefined, opts?: object | null): node is V8IntrinsicIdentifier; +// export function assertV8IntrinsicIdentifier(node: object | null | undefined, opts?: object | null): asserts node is V8IntrinsicIdentifier; +export function isVariableDeclaration(node: object | null | undefined, opts?: object | null): node is VariableDeclaration; +// export function assertVariableDeclaration(node: object | null | undefined, opts?: object | null): asserts node is VariableDeclaration; +export function isVariableDeclarator(node: object | null | undefined, opts?: object | null): node is VariableDeclarator; +// export function assertVariableDeclarator(node: object | null | undefined, opts?: object | null): asserts node is VariableDeclarator; +export function isVariance(node: object | null | undefined, opts?: object | null): node is Variance; +// export function assertVariance(node: object | null | undefined, opts?: object | null): asserts node is Variance; +export function isVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): node is VoidTypeAnnotation; +// export function assertVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is VoidTypeAnnotation; +export function isWhile(node: object | null | undefined, opts?: object | null): node is While; +// export function assertWhile(node: object | null | undefined, opts?: object | null): asserts node is While; +export function isWhileStatement(node: object | null | undefined, opts?: object | null): node is WhileStatement; +// export function assertWhileStatement(node: object | null | undefined, opts?: object | null): asserts node is WhileStatement; +export function isWithStatement(node: object | null | undefined, opts?: object | null): node is WithStatement; +// export function assertWithStatement(node: object | null | undefined, opts?: object | null): asserts node is WithStatement; +export function isYieldExpression(node: object | null | undefined, opts?: object | null): node is YieldExpression; +// export function assertYieldExpression(node: object | null | undefined, opts?: object | null): asserts node is YieldExpression; +// export function assertNode(obj: any): asserts obj is Node +export function createTypeAnnotationBasedOnTypeof(type: 'string' | 'number' | 'undefined' | 'boolean' | 'function' | 'object' | 'symbol'): StringTypeAnnotation | VoidTypeAnnotation | NumberTypeAnnotation | BooleanTypeAnnotation | GenericTypeAnnotation +export function createUnionTypeAnnotation(types: [T]): T +export function createFlowUnionType(types: [T]): T +export function createUnionTypeAnnotation(types: ReadonlyArray): UnionTypeAnnotation +export function createFlowUnionType(types: ReadonlyArray): UnionTypeAnnotation +export function buildChildren(node: { children: ReadonlyArray }): JSXElement['children'] +export function clone(n: T): T; +export function cloneDeep(n: T): T; +export function cloneDeepWithoutLoc(n: T): T; +export function cloneNode(n: T, deep?: boolean, withoutLoc?: boolean): T; +export function cloneWithoutLoc(n: T): T; +export type CommentTypeShorthand = 'leading' | 'inner' | 'trailing' +export function addComment(node: T, type: CommentTypeShorthand, content: string, line?: boolean): T +export function addComments(node: T, type: CommentTypeShorthand, comments: ReadonlyArray): T +export function inheritInnerComments(node: Node, parent: Node): void +export function inheritLeadingComments(node: Node, parent: Node): void +export function inheritsComments(node: T, parent: Node): void +export function inheritTrailingComments(node: Node, parent: Node): void +export function removeComments(node: T): T +export function ensureBlock(node: Extract): BlockStatement +export function ensureBlock = 'body'>(node: Extract>, key: K): BlockStatement +export function toBindingIdentifierName(name: { toString(): string } | null | undefined): string +export function toBlock(node: Statement | Expression, parent?: Function | null): BlockStatement +export function toComputedKey>(node: T, key?: Expression | Identifier): Expression +export function toExpression(node: Function): FunctionExpression +export function toExpression(node: Class): ClassExpression +export function toExpression(node: ExpressionStatement | Expression | Class | Function): Expression +export function toIdentifier(name: { toString(): string } | null | undefined): string +export function toKeyAlias(node: Method | Property, key?: Node): string +export function toSequenceExpression(nodes: ReadonlyArray, scope: { push(value: { id: LVal; kind: 'var'; init?: Expression}): void; buildUndefinedNode(): Node }): SequenceExpression | undefined +export function toStatement(node: AssignmentExpression, ignore?: boolean): ExpressionStatement +export function toStatement(node: Statement | AssignmentExpression, ignore?: boolean): Statement +export function toStatement(node: Class, ignore: true): ClassDeclaration | undefined +export function toStatement(node: Class, ignore?: boolean): ClassDeclaration +export function toStatement(node: Function, ignore: true): FunctionDeclaration | undefined +export function toStatement(node: Function, ignore?: boolean): FunctionDeclaration +export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore: true): Statement | undefined +export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore?: boolean): Statement +export function valueToNode(value: undefined): Identifier +export function valueToNode(value: boolean): BooleanLiteral +export function valueToNode(value: null): NullLiteral +export function valueToNode(value: string): StringLiteral +export function valueToNode(value: number): NumericLiteral | BinaryExpression | UnaryExpression +export function valueToNode(value: RegExp): RegExpLiteral +export function valueToNode(value: ReadonlyArray): ArrayExpression +export function valueToNode(value: object): ObjectExpression +export function valueToNode(value: undefined | boolean | null | string | number | RegExp | object): Expression +export function removeTypeDuplicates(types: ReadonlyArray): FlowType[] +export function appendToMemberExpression>(member: T, append: MemberExpression['property'], computed?: boolean): T +export function inherits(child: T, parent: Node | null | undefined): T +export function prependToMemberExpression>(member: T, prepend: MemberExpression['object']): T +export function removeProperties( + n: Node, + opts?: { preserveComments: boolean } | null +): void; +export function removePropertiesDeep( + n: T, + opts?: { preserveComments: boolean } | null +): T; +export function getBindingIdentifiers(node: Node, duplicates: true, outerOnly?: boolean): Record> +export function getBindingIdentifiers(node: Node, duplicates?: false, outerOnly?: boolean): Record +export function getBindingIdentifiers(node: Node, duplicates: boolean, outerOnly?: boolean): Record> +export function getOuterBindingIdentifiers(node: Node, duplicates: true): Record> +export function getOuterBindingIdentifiers(node: Node, duplicates?: false): Record +export function getOuterBindingIdentifiers(node: Node, duplicates: boolean): Record> +export type TraversalAncestors = ReadonlyArray<{ + node: Node, + key: string, + index?: number, +}>; +export type TraversalHandler = ( + this: undefined, node: Node, parent: TraversalAncestors, type: T +) => void; +export type TraversalHandlers = { + enter?: TraversalHandler, + exit?: TraversalHandler, +}; +export function traverse(n: Node, h: TraversalHandler | TraversalHandlers, state?: T): void; +export function traverseFast(n: Node, h: TraversalHandler, state?: T): void; +export function shallowEqual(actual: object, expected: T): actual is T +export function buildMatchMemberExpression(match: string, allowPartial?: boolean): (node: Node | null | undefined) => node is MemberExpression +export function is(type: T, n: Node | null | undefined, required?: undefined): n is Extract +export function is>(type: T, n: Node | null | undefined, required: Partial

): n is P +export function is

(type: string, n: Node | null | undefined, required: Partial

): n is P +export function is(type: string, n: Node | null | undefined, required?: Partial): n is Node +export function isBinding(node: Node, parent: Node, grandparent?: Node): boolean +export function isBlockScoped(node: Node): node is FunctionDeclaration | ClassDeclaration | VariableDeclaration +export function isImmutable(node: Node): node is Immutable +export function isLet(node: Node): node is VariableDeclaration +export function isNode(node: object | null | undefined): node is Node +export function isNodesEquivalent>(a: T, b: any): b is T +export function isNodesEquivalent(a: any, b: any): boolean +export function isPlaceholderType(placeholderType: Node['type'], targetType: Node['type']): boolean +export function isReferenced(node: Node, parent: Node, grandparent?: Node): boolean +export function isScope(node: Node, parent: Node): node is Scopable +export function isSpecifierDefault(specifier: ModuleSpecifier): boolean +export function isType(nodetype: string, targetType: T): nodetype is T +export function isType(nodetype: string | null | undefined, targetType: string): boolean +export function isValidES3Identifier(name: string): boolean +export function isValidIdentifier(name: string): boolean +export function isVar(node: Node): node is VariableDeclaration +export function matchesPattern(node: Node | null | undefined, match: string | ReadonlyArray, allowPartial?: boolean): node is MemberExpression +export function validate(n: Node | null | undefined, key: K, value: T[K]): void +export function validate(n: Node, key: string, value: any): void; diff --git a/node_modules/@babel/types/lib/index.js b/node_modules/@babel/types/lib/index.js new file mode 100644 index 000000000..694aab868 --- /dev/null +++ b/node_modules/@babel/types/lib/index.js @@ -0,0 +1,604 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var _exportNames = { + react: true, + assertNode: true, + createTypeAnnotationBasedOnTypeof: true, + createUnionTypeAnnotation: true, + createFlowUnionType: true, + createTSUnionType: true, + cloneNode: true, + clone: true, + cloneDeep: true, + cloneDeepWithoutLoc: true, + cloneWithoutLoc: true, + addComment: true, + addComments: true, + inheritInnerComments: true, + inheritLeadingComments: true, + inheritsComments: true, + inheritTrailingComments: true, + removeComments: true, + ensureBlock: true, + toBindingIdentifierName: true, + toBlock: true, + toComputedKey: true, + toExpression: true, + toIdentifier: true, + toKeyAlias: true, + toSequenceExpression: true, + toStatement: true, + valueToNode: true, + appendToMemberExpression: true, + inherits: true, + prependToMemberExpression: true, + removeProperties: true, + removePropertiesDeep: true, + removeTypeDuplicates: true, + getBindingIdentifiers: true, + getOuterBindingIdentifiers: true, + traverse: true, + traverseFast: true, + shallowEqual: true, + is: true, + isBinding: true, + isBlockScoped: true, + isImmutable: true, + isLet: true, + isNode: true, + isNodesEquivalent: true, + isPlaceholderType: true, + isReferenced: true, + isScope: true, + isSpecifierDefault: true, + isType: true, + isValidES3Identifier: true, + isValidIdentifier: true, + isVar: true, + matchesPattern: true, + validate: true, + buildMatchMemberExpression: true +}; +Object.defineProperty(exports, "assertNode", { + enumerable: true, + get: function () { + return _assertNode.default; + } +}); +Object.defineProperty(exports, "createTypeAnnotationBasedOnTypeof", { + enumerable: true, + get: function () { + return _createTypeAnnotationBasedOnTypeof.default; + } +}); +Object.defineProperty(exports, "createUnionTypeAnnotation", { + enumerable: true, + get: function () { + return _createFlowUnionType.default; + } +}); +Object.defineProperty(exports, "createFlowUnionType", { + enumerable: true, + get: function () { + return _createFlowUnionType.default; + } +}); +Object.defineProperty(exports, "createTSUnionType", { + enumerable: true, + get: function () { + return _createTSUnionType.default; + } +}); +Object.defineProperty(exports, "cloneNode", { + enumerable: true, + get: function () { + return _cloneNode.default; + } +}); +Object.defineProperty(exports, "clone", { + enumerable: true, + get: function () { + return _clone.default; + } +}); +Object.defineProperty(exports, "cloneDeep", { + enumerable: true, + get: function () { + return _cloneDeep.default; + } +}); +Object.defineProperty(exports, "cloneDeepWithoutLoc", { + enumerable: true, + get: function () { + return _cloneDeepWithoutLoc.default; + } +}); +Object.defineProperty(exports, "cloneWithoutLoc", { + enumerable: true, + get: function () { + return _cloneWithoutLoc.default; + } +}); +Object.defineProperty(exports, "addComment", { + enumerable: true, + get: function () { + return _addComment.default; + } +}); +Object.defineProperty(exports, "addComments", { + enumerable: true, + get: function () { + return _addComments.default; + } +}); +Object.defineProperty(exports, "inheritInnerComments", { + enumerable: true, + get: function () { + return _inheritInnerComments.default; + } +}); +Object.defineProperty(exports, "inheritLeadingComments", { + enumerable: true, + get: function () { + return _inheritLeadingComments.default; + } +}); +Object.defineProperty(exports, "inheritsComments", { + enumerable: true, + get: function () { + return _inheritsComments.default; + } +}); +Object.defineProperty(exports, "inheritTrailingComments", { + enumerable: true, + get: function () { + return _inheritTrailingComments.default; + } +}); +Object.defineProperty(exports, "removeComments", { + enumerable: true, + get: function () { + return _removeComments.default; + } +}); +Object.defineProperty(exports, "ensureBlock", { + enumerable: true, + get: function () { + return _ensureBlock.default; + } +}); +Object.defineProperty(exports, "toBindingIdentifierName", { + enumerable: true, + get: function () { + return _toBindingIdentifierName.default; + } +}); +Object.defineProperty(exports, "toBlock", { + enumerable: true, + get: function () { + return _toBlock.default; + } +}); +Object.defineProperty(exports, "toComputedKey", { + enumerable: true, + get: function () { + return _toComputedKey.default; + } +}); +Object.defineProperty(exports, "toExpression", { + enumerable: true, + get: function () { + return _toExpression.default; + } +}); +Object.defineProperty(exports, "toIdentifier", { + enumerable: true, + get: function () { + return _toIdentifier.default; + } +}); +Object.defineProperty(exports, "toKeyAlias", { + enumerable: true, + get: function () { + return _toKeyAlias.default; + } +}); +Object.defineProperty(exports, "toSequenceExpression", { + enumerable: true, + get: function () { + return _toSequenceExpression.default; + } +}); +Object.defineProperty(exports, "toStatement", { + enumerable: true, + get: function () { + return _toStatement.default; + } +}); +Object.defineProperty(exports, "valueToNode", { + enumerable: true, + get: function () { + return _valueToNode.default; + } +}); +Object.defineProperty(exports, "appendToMemberExpression", { + enumerable: true, + get: function () { + return _appendToMemberExpression.default; + } +}); +Object.defineProperty(exports, "inherits", { + enumerable: true, + get: function () { + return _inherits.default; + } +}); +Object.defineProperty(exports, "prependToMemberExpression", { + enumerable: true, + get: function () { + return _prependToMemberExpression.default; + } +}); +Object.defineProperty(exports, "removeProperties", { + enumerable: true, + get: function () { + return _removeProperties.default; + } +}); +Object.defineProperty(exports, "removePropertiesDeep", { + enumerable: true, + get: function () { + return _removePropertiesDeep.default; + } +}); +Object.defineProperty(exports, "removeTypeDuplicates", { + enumerable: true, + get: function () { + return _removeTypeDuplicates.default; + } +}); +Object.defineProperty(exports, "getBindingIdentifiers", { + enumerable: true, + get: function () { + return _getBindingIdentifiers.default; + } +}); +Object.defineProperty(exports, "getOuterBindingIdentifiers", { + enumerable: true, + get: function () { + return _getOuterBindingIdentifiers.default; + } +}); +Object.defineProperty(exports, "traverse", { + enumerable: true, + get: function () { + return _traverse.default; + } +}); +Object.defineProperty(exports, "traverseFast", { + enumerable: true, + get: function () { + return _traverseFast.default; + } +}); +Object.defineProperty(exports, "shallowEqual", { + enumerable: true, + get: function () { + return _shallowEqual.default; + } +}); +Object.defineProperty(exports, "is", { + enumerable: true, + get: function () { + return _is.default; + } +}); +Object.defineProperty(exports, "isBinding", { + enumerable: true, + get: function () { + return _isBinding.default; + } +}); +Object.defineProperty(exports, "isBlockScoped", { + enumerable: true, + get: function () { + return _isBlockScoped.default; + } +}); +Object.defineProperty(exports, "isImmutable", { + enumerable: true, + get: function () { + return _isImmutable.default; + } +}); +Object.defineProperty(exports, "isLet", { + enumerable: true, + get: function () { + return _isLet.default; + } +}); +Object.defineProperty(exports, "isNode", { + enumerable: true, + get: function () { + return _isNode.default; + } +}); +Object.defineProperty(exports, "isNodesEquivalent", { + enumerable: true, + get: function () { + return _isNodesEquivalent.default; + } +}); +Object.defineProperty(exports, "isPlaceholderType", { + enumerable: true, + get: function () { + return _isPlaceholderType.default; + } +}); +Object.defineProperty(exports, "isReferenced", { + enumerable: true, + get: function () { + return _isReferenced.default; + } +}); +Object.defineProperty(exports, "isScope", { + enumerable: true, + get: function () { + return _isScope.default; + } +}); +Object.defineProperty(exports, "isSpecifierDefault", { + enumerable: true, + get: function () { + return _isSpecifierDefault.default; + } +}); +Object.defineProperty(exports, "isType", { + enumerable: true, + get: function () { + return _isType.default; + } +}); +Object.defineProperty(exports, "isValidES3Identifier", { + enumerable: true, + get: function () { + return _isValidES3Identifier.default; + } +}); +Object.defineProperty(exports, "isValidIdentifier", { + enumerable: true, + get: function () { + return _isValidIdentifier.default; + } +}); +Object.defineProperty(exports, "isVar", { + enumerable: true, + get: function () { + return _isVar.default; + } +}); +Object.defineProperty(exports, "matchesPattern", { + enumerable: true, + get: function () { + return _matchesPattern.default; + } +}); +Object.defineProperty(exports, "validate", { + enumerable: true, + get: function () { + return _validate.default; + } +}); +Object.defineProperty(exports, "buildMatchMemberExpression", { + enumerable: true, + get: function () { + return _buildMatchMemberExpression.default; + } +}); +exports.react = void 0; + +var _isReactComponent = _interopRequireDefault(require("./validators/react/isReactComponent")); + +var _isCompatTag = _interopRequireDefault(require("./validators/react/isCompatTag")); + +var _buildChildren = _interopRequireDefault(require("./builders/react/buildChildren")); + +var _assertNode = _interopRequireDefault(require("./asserts/assertNode")); + +var _generated = require("./asserts/generated"); + +Object.keys(_generated).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _generated[key]; + } + }); +}); + +var _createTypeAnnotationBasedOnTypeof = _interopRequireDefault(require("./builders/flow/createTypeAnnotationBasedOnTypeof")); + +var _createFlowUnionType = _interopRequireDefault(require("./builders/flow/createFlowUnionType")); + +var _createTSUnionType = _interopRequireDefault(require("./builders/typescript/createTSUnionType")); + +var _generated2 = require("./builders/generated"); + +Object.keys(_generated2).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _generated2[key]; + } + }); +}); + +var _cloneNode = _interopRequireDefault(require("./clone/cloneNode")); + +var _clone = _interopRequireDefault(require("./clone/clone")); + +var _cloneDeep = _interopRequireDefault(require("./clone/cloneDeep")); + +var _cloneDeepWithoutLoc = _interopRequireDefault(require("./clone/cloneDeepWithoutLoc")); + +var _cloneWithoutLoc = _interopRequireDefault(require("./clone/cloneWithoutLoc")); + +var _addComment = _interopRequireDefault(require("./comments/addComment")); + +var _addComments = _interopRequireDefault(require("./comments/addComments")); + +var _inheritInnerComments = _interopRequireDefault(require("./comments/inheritInnerComments")); + +var _inheritLeadingComments = _interopRequireDefault(require("./comments/inheritLeadingComments")); + +var _inheritsComments = _interopRequireDefault(require("./comments/inheritsComments")); + +var _inheritTrailingComments = _interopRequireDefault(require("./comments/inheritTrailingComments")); + +var _removeComments = _interopRequireDefault(require("./comments/removeComments")); + +var _generated3 = require("./constants/generated"); + +Object.keys(_generated3).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _generated3[key]; + } + }); +}); + +var _constants = require("./constants"); + +Object.keys(_constants).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _constants[key]; + } + }); +}); + +var _ensureBlock = _interopRequireDefault(require("./converters/ensureBlock")); + +var _toBindingIdentifierName = _interopRequireDefault(require("./converters/toBindingIdentifierName")); + +var _toBlock = _interopRequireDefault(require("./converters/toBlock")); + +var _toComputedKey = _interopRequireDefault(require("./converters/toComputedKey")); + +var _toExpression = _interopRequireDefault(require("./converters/toExpression")); + +var _toIdentifier = _interopRequireDefault(require("./converters/toIdentifier")); + +var _toKeyAlias = _interopRequireDefault(require("./converters/toKeyAlias")); + +var _toSequenceExpression = _interopRequireDefault(require("./converters/toSequenceExpression")); + +var _toStatement = _interopRequireDefault(require("./converters/toStatement")); + +var _valueToNode = _interopRequireDefault(require("./converters/valueToNode")); + +var _definitions = require("./definitions"); + +Object.keys(_definitions).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _definitions[key]; + } + }); +}); + +var _appendToMemberExpression = _interopRequireDefault(require("./modifications/appendToMemberExpression")); + +var _inherits = _interopRequireDefault(require("./modifications/inherits")); + +var _prependToMemberExpression = _interopRequireDefault(require("./modifications/prependToMemberExpression")); + +var _removeProperties = _interopRequireDefault(require("./modifications/removeProperties")); + +var _removePropertiesDeep = _interopRequireDefault(require("./modifications/removePropertiesDeep")); + +var _removeTypeDuplicates = _interopRequireDefault(require("./modifications/flow/removeTypeDuplicates")); + +var _getBindingIdentifiers = _interopRequireDefault(require("./retrievers/getBindingIdentifiers")); + +var _getOuterBindingIdentifiers = _interopRequireDefault(require("./retrievers/getOuterBindingIdentifiers")); + +var _traverse = _interopRequireDefault(require("./traverse/traverse")); + +var _traverseFast = _interopRequireDefault(require("./traverse/traverseFast")); + +var _shallowEqual = _interopRequireDefault(require("./utils/shallowEqual")); + +var _is = _interopRequireDefault(require("./validators/is")); + +var _isBinding = _interopRequireDefault(require("./validators/isBinding")); + +var _isBlockScoped = _interopRequireDefault(require("./validators/isBlockScoped")); + +var _isImmutable = _interopRequireDefault(require("./validators/isImmutable")); + +var _isLet = _interopRequireDefault(require("./validators/isLet")); + +var _isNode = _interopRequireDefault(require("./validators/isNode")); + +var _isNodesEquivalent = _interopRequireDefault(require("./validators/isNodesEquivalent")); + +var _isPlaceholderType = _interopRequireDefault(require("./validators/isPlaceholderType")); + +var _isReferenced = _interopRequireDefault(require("./validators/isReferenced")); + +var _isScope = _interopRequireDefault(require("./validators/isScope")); + +var _isSpecifierDefault = _interopRequireDefault(require("./validators/isSpecifierDefault")); + +var _isType = _interopRequireDefault(require("./validators/isType")); + +var _isValidES3Identifier = _interopRequireDefault(require("./validators/isValidES3Identifier")); + +var _isValidIdentifier = _interopRequireDefault(require("./validators/isValidIdentifier")); + +var _isVar = _interopRequireDefault(require("./validators/isVar")); + +var _matchesPattern = _interopRequireDefault(require("./validators/matchesPattern")); + +var _validate = _interopRequireDefault(require("./validators/validate")); + +var _buildMatchMemberExpression = _interopRequireDefault(require("./validators/buildMatchMemberExpression")); + +var _generated4 = require("./validators/generated"); + +Object.keys(_generated4).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _generated4[key]; + } + }); +}); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const react = { + isReactComponent: _isReactComponent.default, + isCompatTag: _isCompatTag.default, + buildChildren: _buildChildren.default +}; +exports.react = react; \ No newline at end of file diff --git a/node_modules/@babel/types/lib/index.js.flow b/node_modules/@babel/types/lib/index.js.flow new file mode 100644 index 000000000..eb1d22251 --- /dev/null +++ b/node_modules/@babel/types/lib/index.js.flow @@ -0,0 +1,2165 @@ +// NOTE: This file is autogenerated. Do not modify. +// See packages/babel-types/scripts/generators/flow.js for script used. + +declare class BabelNodeComment { + value: string; + start: number; + end: number; + loc: BabelNodeSourceLocation; +} + +declare class BabelNodeCommentBlock extends BabelNodeComment { + type: "CommentBlock"; +} + +declare class BabelNodeCommentLine extends BabelNodeComment { + type: "CommentLine"; +} + +declare class BabelNodeSourceLocation { + start: { + line: number; + column: number; + }; + + end: { + line: number; + column: number; + }; +} + +declare class BabelNode { + leadingComments?: Array; + innerComments?: Array; + trailingComments?: Array; + start: ?number; + end: ?number; + loc: ?BabelNodeSourceLocation; +} + +declare class BabelNodeArrayExpression extends BabelNode { + type: "ArrayExpression"; + elements?: Array; +} + +declare class BabelNodeAssignmentExpression extends BabelNode { + type: "AssignmentExpression"; + operator: string; + left: BabelNodeLVal; + right: BabelNodeExpression; +} + +declare class BabelNodeBinaryExpression extends BabelNode { + type: "BinaryExpression"; + operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<="; + left: BabelNodeExpression | BabelNodePrivateName; + right: BabelNodeExpression; +} + +declare class BabelNodeInterpreterDirective extends BabelNode { + type: "InterpreterDirective"; + value: string; +} + +declare class BabelNodeDirective extends BabelNode { + type: "Directive"; + value: BabelNodeDirectiveLiteral; +} + +declare class BabelNodeDirectiveLiteral extends BabelNode { + type: "DirectiveLiteral"; + value: string; +} + +declare class BabelNodeBlockStatement extends BabelNode { + type: "BlockStatement"; + body: Array; + directives?: Array; +} + +declare class BabelNodeBreakStatement extends BabelNode { + type: "BreakStatement"; + label?: BabelNodeIdentifier; +} + +declare class BabelNodeCallExpression extends BabelNode { + type: "CallExpression"; + callee: BabelNodeExpression | BabelNodeV8IntrinsicIdentifier; + arguments: Array; + optional?: true | false; + typeArguments?: BabelNodeTypeParameterInstantiation; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeCatchClause extends BabelNode { + type: "CatchClause"; + param?: BabelNodeIdentifier | BabelNodeArrayPattern | BabelNodeObjectPattern; + body: BabelNodeBlockStatement; +} + +declare class BabelNodeConditionalExpression extends BabelNode { + type: "ConditionalExpression"; + test: BabelNodeExpression; + consequent: BabelNodeExpression; + alternate: BabelNodeExpression; +} + +declare class BabelNodeContinueStatement extends BabelNode { + type: "ContinueStatement"; + label?: BabelNodeIdentifier; +} + +declare class BabelNodeDebuggerStatement extends BabelNode { + type: "DebuggerStatement"; +} + +declare class BabelNodeDoWhileStatement extends BabelNode { + type: "DoWhileStatement"; + test: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeEmptyStatement extends BabelNode { + type: "EmptyStatement"; +} + +declare class BabelNodeExpressionStatement extends BabelNode { + type: "ExpressionStatement"; + expression: BabelNodeExpression; +} + +declare class BabelNodeFile extends BabelNode { + type: "File"; + program: BabelNodeProgram; + comments?: Array; + tokens?: Array; +} + +declare class BabelNodeForInStatement extends BabelNode { + type: "ForInStatement"; + left: BabelNodeVariableDeclaration | BabelNodeLVal; + right: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeForStatement extends BabelNode { + type: "ForStatement"; + init?: BabelNodeVariableDeclaration | BabelNodeExpression; + test?: BabelNodeExpression; + update?: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeFunctionDeclaration extends BabelNode { + type: "FunctionDeclaration"; + id?: BabelNodeIdentifier; + params: Array; + body: BabelNodeBlockStatement; + generator?: boolean; + async?: boolean; + declare?: boolean; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeFunctionExpression extends BabelNode { + type: "FunctionExpression"; + id?: BabelNodeIdentifier; + params: Array; + body: BabelNodeBlockStatement; + generator?: boolean; + async?: boolean; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeIdentifier extends BabelNode { + type: "Identifier"; + name: string; + decorators?: Array; + optional?: boolean; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeIfStatement extends BabelNode { + type: "IfStatement"; + test: BabelNodeExpression; + consequent: BabelNodeStatement; + alternate?: BabelNodeStatement; +} + +declare class BabelNodeLabeledStatement extends BabelNode { + type: "LabeledStatement"; + label: BabelNodeIdentifier; + body: BabelNodeStatement; +} + +declare class BabelNodeStringLiteral extends BabelNode { + type: "StringLiteral"; + value: string; +} + +declare class BabelNodeNumericLiteral extends BabelNode { + type: "NumericLiteral"; + value: number; +} + +declare class BabelNodeNullLiteral extends BabelNode { + type: "NullLiteral"; +} + +declare class BabelNodeBooleanLiteral extends BabelNode { + type: "BooleanLiteral"; + value: boolean; +} + +declare class BabelNodeRegExpLiteral extends BabelNode { + type: "RegExpLiteral"; + pattern: string; + flags?: string; +} + +declare class BabelNodeLogicalExpression extends BabelNode { + type: "LogicalExpression"; + operator: "||" | "&&" | "??"; + left: BabelNodeExpression; + right: BabelNodeExpression; +} + +declare class BabelNodeMemberExpression extends BabelNode { + type: "MemberExpression"; + object: BabelNodeExpression; + property: BabelNodeExpression | BabelNodeIdentifier | BabelNodePrivateName; + computed?: boolean; + optional?: true | false; +} + +declare class BabelNodeNewExpression extends BabelNode { + type: "NewExpression"; + callee: BabelNodeExpression | BabelNodeV8IntrinsicIdentifier; + arguments: Array; + optional?: true | false; + typeArguments?: BabelNodeTypeParameterInstantiation; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeProgram extends BabelNode { + type: "Program"; + body: Array; + directives?: Array; + sourceType?: "script" | "module"; + interpreter?: BabelNodeInterpreterDirective; + sourceFile: string; +} + +declare class BabelNodeObjectExpression extends BabelNode { + type: "ObjectExpression"; + properties: Array; +} + +declare class BabelNodeObjectMethod extends BabelNode { + type: "ObjectMethod"; + kind?: "method" | "get" | "set"; + key: BabelNodeExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral; + params: Array; + body: BabelNodeBlockStatement; + computed?: boolean; + generator?: boolean; + async?: boolean; + decorators?: Array; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeObjectProperty extends BabelNode { + type: "ObjectProperty"; + key: BabelNodeExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral; + value: BabelNodeExpression | BabelNodePatternLike; + computed?: boolean; + shorthand?: boolean; + decorators?: Array; +} + +declare class BabelNodeRestElement extends BabelNode { + type: "RestElement"; + argument: BabelNodeLVal; + decorators?: Array; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeReturnStatement extends BabelNode { + type: "ReturnStatement"; + argument?: BabelNodeExpression; +} + +declare class BabelNodeSequenceExpression extends BabelNode { + type: "SequenceExpression"; + expressions: Array; +} + +declare class BabelNodeParenthesizedExpression extends BabelNode { + type: "ParenthesizedExpression"; + expression: BabelNodeExpression; +} + +declare class BabelNodeSwitchCase extends BabelNode { + type: "SwitchCase"; + test?: BabelNodeExpression; + consequent: Array; +} + +declare class BabelNodeSwitchStatement extends BabelNode { + type: "SwitchStatement"; + discriminant: BabelNodeExpression; + cases: Array; +} + +declare class BabelNodeThisExpression extends BabelNode { + type: "ThisExpression"; +} + +declare class BabelNodeThrowStatement extends BabelNode { + type: "ThrowStatement"; + argument: BabelNodeExpression; +} + +declare class BabelNodeTryStatement extends BabelNode { + type: "TryStatement"; + block: BabelNodeBlockStatement; + handler?: BabelNodeCatchClause; + finalizer?: BabelNodeBlockStatement; +} + +declare class BabelNodeUnaryExpression extends BabelNode { + type: "UnaryExpression"; + operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof"; + argument: BabelNodeExpression; + prefix?: boolean; +} + +declare class BabelNodeUpdateExpression extends BabelNode { + type: "UpdateExpression"; + operator: "++" | "--"; + argument: BabelNodeExpression; + prefix?: boolean; +} + +declare class BabelNodeVariableDeclaration extends BabelNode { + type: "VariableDeclaration"; + kind: "var" | "let" | "const"; + declarations: Array; + declare?: boolean; +} + +declare class BabelNodeVariableDeclarator extends BabelNode { + type: "VariableDeclarator"; + id: BabelNodeLVal; + init?: BabelNodeExpression; + definite?: boolean; +} + +declare class BabelNodeWhileStatement extends BabelNode { + type: "WhileStatement"; + test: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeWithStatement extends BabelNode { + type: "WithStatement"; + object: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeAssignmentPattern extends BabelNode { + type: "AssignmentPattern"; + left: BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeArrayPattern | BabelNodeMemberExpression; + right: BabelNodeExpression; + decorators?: Array; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeArrayPattern extends BabelNode { + type: "ArrayPattern"; + elements: Array; + decorators?: Array; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeArrowFunctionExpression extends BabelNode { + type: "ArrowFunctionExpression"; + params: Array; + body: BabelNodeBlockStatement | BabelNodeExpression; + async?: boolean; + expression: boolean; + generator?: boolean; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeClassBody extends BabelNode { + type: "ClassBody"; + body: Array; +} + +declare class BabelNodeClassExpression extends BabelNode { + type: "ClassExpression"; + id?: BabelNodeIdentifier; + superClass?: BabelNodeExpression; + body: BabelNodeClassBody; + decorators?: Array; + mixins?: BabelNodeInterfaceExtends; + superTypeParameters?: BabelNodeTypeParameterInstantiation | BabelNodeTSTypeParameterInstantiation; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeClassDeclaration extends BabelNode { + type: "ClassDeclaration"; + id: BabelNodeIdentifier; + superClass?: BabelNodeExpression; + body: BabelNodeClassBody; + decorators?: Array; + abstract?: boolean; + declare?: boolean; + mixins?: BabelNodeInterfaceExtends; + superTypeParameters?: BabelNodeTypeParameterInstantiation | BabelNodeTSTypeParameterInstantiation; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeExportAllDeclaration extends BabelNode { + type: "ExportAllDeclaration"; + source: BabelNodeStringLiteral; +} + +declare class BabelNodeExportDefaultDeclaration extends BabelNode { + type: "ExportDefaultDeclaration"; + declaration: BabelNodeFunctionDeclaration | BabelNodeTSDeclareFunction | BabelNodeClassDeclaration | BabelNodeExpression; +} + +declare class BabelNodeExportNamedDeclaration extends BabelNode { + type: "ExportNamedDeclaration"; + declaration?: BabelNodeDeclaration; + specifiers?: Array; + source?: BabelNodeStringLiteral; + exportKind?: "type" | "value"; +} + +declare class BabelNodeExportSpecifier extends BabelNode { + type: "ExportSpecifier"; + local: BabelNodeIdentifier; + exported: BabelNodeIdentifier; +} + +declare class BabelNodeForOfStatement extends BabelNode { + type: "ForOfStatement"; + left: BabelNodeVariableDeclaration | BabelNodeLVal; + right: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeImportDeclaration extends BabelNode { + type: "ImportDeclaration"; + specifiers: Array; + source: BabelNodeStringLiteral; + importKind?: "type" | "typeof" | "value"; +} + +declare class BabelNodeImportDefaultSpecifier extends BabelNode { + type: "ImportDefaultSpecifier"; + local: BabelNodeIdentifier; +} + +declare class BabelNodeImportNamespaceSpecifier extends BabelNode { + type: "ImportNamespaceSpecifier"; + local: BabelNodeIdentifier; +} + +declare class BabelNodeImportSpecifier extends BabelNode { + type: "ImportSpecifier"; + local: BabelNodeIdentifier; + imported: BabelNodeIdentifier; + importKind?: "type" | "typeof"; +} + +declare class BabelNodeMetaProperty extends BabelNode { + type: "MetaProperty"; + meta: BabelNodeIdentifier; + property: BabelNodeIdentifier; +} + +declare class BabelNodeClassMethod extends BabelNode { + type: "ClassMethod"; + kind?: "get" | "set" | "method" | "constructor"; + key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeExpression; + params: Array; + body: BabelNodeBlockStatement; + computed?: boolean; + generator?: boolean; + async?: boolean; + abstract?: boolean; + access?: "public" | "private" | "protected"; + accessibility?: "public" | "private" | "protected"; + decorators?: Array; + optional?: boolean; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeObjectPattern extends BabelNode { + type: "ObjectPattern"; + properties: Array; + decorators?: Array; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeSpreadElement extends BabelNode { + type: "SpreadElement"; + argument: BabelNodeExpression; +} + +declare class BabelNodeSuper extends BabelNode { + type: "Super"; +} + +declare class BabelNodeTaggedTemplateExpression extends BabelNode { + type: "TaggedTemplateExpression"; + tag: BabelNodeExpression; + quasi: BabelNodeTemplateLiteral; + typeParameters?: BabelNodeTypeParameterInstantiation | BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeTemplateElement extends BabelNode { + type: "TemplateElement"; + value: { raw: string, cooked?: string }; + tail?: boolean; +} + +declare class BabelNodeTemplateLiteral extends BabelNode { + type: "TemplateLiteral"; + quasis: Array; + expressions: Array; +} + +declare class BabelNodeYieldExpression extends BabelNode { + type: "YieldExpression"; + argument?: BabelNodeExpression; + delegate?: boolean; +} + +declare class BabelNodeAwaitExpression extends BabelNode { + type: "AwaitExpression"; + argument: BabelNodeExpression; +} + +declare class BabelNodeImport extends BabelNode { + type: "Import"; +} + +declare class BabelNodeBigIntLiteral extends BabelNode { + type: "BigIntLiteral"; + value: string; +} + +declare class BabelNodeExportNamespaceSpecifier extends BabelNode { + type: "ExportNamespaceSpecifier"; + exported: BabelNodeIdentifier; +} + +declare class BabelNodeOptionalMemberExpression extends BabelNode { + type: "OptionalMemberExpression"; + object: BabelNodeExpression; + property: BabelNodeExpression | BabelNodeIdentifier; + computed?: boolean; + optional: boolean; +} + +declare class BabelNodeOptionalCallExpression extends BabelNode { + type: "OptionalCallExpression"; + callee: BabelNodeExpression; + arguments: Array; + optional: boolean; + typeArguments?: BabelNodeTypeParameterInstantiation; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeAnyTypeAnnotation extends BabelNode { + type: "AnyTypeAnnotation"; +} + +declare class BabelNodeArrayTypeAnnotation extends BabelNode { + type: "ArrayTypeAnnotation"; + elementType: BabelNodeFlowType; +} + +declare class BabelNodeBooleanTypeAnnotation extends BabelNode { + type: "BooleanTypeAnnotation"; +} + +declare class BabelNodeBooleanLiteralTypeAnnotation extends BabelNode { + type: "BooleanLiteralTypeAnnotation"; + value: boolean; +} + +declare class BabelNodeNullLiteralTypeAnnotation extends BabelNode { + type: "NullLiteralTypeAnnotation"; +} + +declare class BabelNodeClassImplements extends BabelNode { + type: "ClassImplements"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterInstantiation; +} + +declare class BabelNodeDeclareClass extends BabelNode { + type: "DeclareClass"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + body: BabelNodeObjectTypeAnnotation; + mixins?: Array; +} + +declare class BabelNodeDeclareFunction extends BabelNode { + type: "DeclareFunction"; + id: BabelNodeIdentifier; + predicate?: BabelNodeDeclaredPredicate; +} + +declare class BabelNodeDeclareInterface extends BabelNode { + type: "DeclareInterface"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + body: BabelNodeObjectTypeAnnotation; + mixins?: Array; +} + +declare class BabelNodeDeclareModule extends BabelNode { + type: "DeclareModule"; + id: BabelNodeIdentifier | BabelNodeStringLiteral; + body: BabelNodeBlockStatement; + kind?: "CommonJS" | "ES"; +} + +declare class BabelNodeDeclareModuleExports extends BabelNode { + type: "DeclareModuleExports"; + typeAnnotation: BabelNodeTypeAnnotation; +} + +declare class BabelNodeDeclareTypeAlias extends BabelNode { + type: "DeclareTypeAlias"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + right: BabelNodeFlowType; +} + +declare class BabelNodeDeclareOpaqueType extends BabelNode { + type: "DeclareOpaqueType"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + supertype?: BabelNodeFlowType; +} + +declare class BabelNodeDeclareVariable extends BabelNode { + type: "DeclareVariable"; + id: BabelNodeIdentifier; +} + +declare class BabelNodeDeclareExportDeclaration extends BabelNode { + type: "DeclareExportDeclaration"; + declaration?: BabelNodeFlow; + specifiers?: Array; + source?: BabelNodeStringLiteral; +} + +declare class BabelNodeDeclareExportAllDeclaration extends BabelNode { + type: "DeclareExportAllDeclaration"; + source: BabelNodeStringLiteral; + exportKind?: "type" | "value"; +} + +declare class BabelNodeDeclaredPredicate extends BabelNode { + type: "DeclaredPredicate"; + value: BabelNodeFlow; +} + +declare class BabelNodeExistsTypeAnnotation extends BabelNode { + type: "ExistsTypeAnnotation"; +} + +declare class BabelNodeFunctionTypeAnnotation extends BabelNode { + type: "FunctionTypeAnnotation"; + typeParameters?: BabelNodeTypeParameterDeclaration; + params: Array; + rest?: BabelNodeFunctionTypeParam; + returnType: BabelNodeFlowType; +} + +declare class BabelNodeFunctionTypeParam extends BabelNode { + type: "FunctionTypeParam"; + name?: BabelNodeIdentifier; + typeAnnotation: BabelNodeFlowType; + optional?: boolean; +} + +declare class BabelNodeGenericTypeAnnotation extends BabelNode { + type: "GenericTypeAnnotation"; + id: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier; + typeParameters?: BabelNodeTypeParameterInstantiation; +} + +declare class BabelNodeInferredPredicate extends BabelNode { + type: "InferredPredicate"; +} + +declare class BabelNodeInterfaceExtends extends BabelNode { + type: "InterfaceExtends"; + id: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier; + typeParameters?: BabelNodeTypeParameterInstantiation; +} + +declare class BabelNodeInterfaceDeclaration extends BabelNode { + type: "InterfaceDeclaration"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + body: BabelNodeObjectTypeAnnotation; + mixins?: Array; +} + +declare class BabelNodeInterfaceTypeAnnotation extends BabelNode { + type: "InterfaceTypeAnnotation"; + body: BabelNodeObjectTypeAnnotation; +} + +declare class BabelNodeIntersectionTypeAnnotation extends BabelNode { + type: "IntersectionTypeAnnotation"; + types: Array; +} + +declare class BabelNodeMixedTypeAnnotation extends BabelNode { + type: "MixedTypeAnnotation"; +} + +declare class BabelNodeEmptyTypeAnnotation extends BabelNode { + type: "EmptyTypeAnnotation"; +} + +declare class BabelNodeNullableTypeAnnotation extends BabelNode { + type: "NullableTypeAnnotation"; + typeAnnotation: BabelNodeFlowType; +} + +declare class BabelNodeNumberLiteralTypeAnnotation extends BabelNode { + type: "NumberLiteralTypeAnnotation"; + value: number; +} + +declare class BabelNodeNumberTypeAnnotation extends BabelNode { + type: "NumberTypeAnnotation"; +} + +declare class BabelNodeObjectTypeAnnotation extends BabelNode { + type: "ObjectTypeAnnotation"; + properties: Array; + indexers?: Array; + callProperties?: Array; + internalSlots?: Array; + exact?: boolean; + inexact?: boolean; +} + +declare class BabelNodeObjectTypeInternalSlot extends BabelNode { + type: "ObjectTypeInternalSlot"; + id: BabelNodeIdentifier; + value: BabelNodeFlowType; + optional: boolean; + method: boolean; +} + +declare class BabelNodeObjectTypeCallProperty extends BabelNode { + type: "ObjectTypeCallProperty"; + value: BabelNodeFlowType; +} + +declare class BabelNodeObjectTypeIndexer extends BabelNode { + type: "ObjectTypeIndexer"; + id?: BabelNodeIdentifier; + key: BabelNodeFlowType; + value: BabelNodeFlowType; + variance?: BabelNodeVariance; +} + +declare class BabelNodeObjectTypeProperty extends BabelNode { + type: "ObjectTypeProperty"; + key: BabelNodeIdentifier | BabelNodeStringLiteral; + value: BabelNodeFlowType; + variance?: BabelNodeVariance; + kind: "init" | "get" | "set"; + optional: boolean; + proto: boolean; +} + +declare class BabelNodeObjectTypeSpreadProperty extends BabelNode { + type: "ObjectTypeSpreadProperty"; + argument: BabelNodeFlowType; +} + +declare class BabelNodeOpaqueType extends BabelNode { + type: "OpaqueType"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + supertype?: BabelNodeFlowType; + impltype: BabelNodeFlowType; +} + +declare class BabelNodeQualifiedTypeIdentifier extends BabelNode { + type: "QualifiedTypeIdentifier"; + id: BabelNodeIdentifier; + qualification: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier; +} + +declare class BabelNodeStringLiteralTypeAnnotation extends BabelNode { + type: "StringLiteralTypeAnnotation"; + value: string; +} + +declare class BabelNodeStringTypeAnnotation extends BabelNode { + type: "StringTypeAnnotation"; +} + +declare class BabelNodeSymbolTypeAnnotation extends BabelNode { + type: "SymbolTypeAnnotation"; +} + +declare class BabelNodeThisTypeAnnotation extends BabelNode { + type: "ThisTypeAnnotation"; +} + +declare class BabelNodeTupleTypeAnnotation extends BabelNode { + type: "TupleTypeAnnotation"; + types: Array; +} + +declare class BabelNodeTypeofTypeAnnotation extends BabelNode { + type: "TypeofTypeAnnotation"; + argument: BabelNodeFlowType; +} + +declare class BabelNodeTypeAlias extends BabelNode { + type: "TypeAlias"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + right: BabelNodeFlowType; +} + +declare class BabelNodeTypeAnnotation extends BabelNode { + type: "TypeAnnotation"; + typeAnnotation: BabelNodeFlowType; +} + +declare class BabelNodeTypeCastExpression extends BabelNode { + type: "TypeCastExpression"; + expression: BabelNodeExpression; + typeAnnotation: BabelNodeTypeAnnotation; +} + +declare class BabelNodeTypeParameter extends BabelNode { + type: "TypeParameter"; + bound?: BabelNodeTypeAnnotation; + variance?: BabelNodeVariance; + name: string; +} + +declare class BabelNodeTypeParameterDeclaration extends BabelNode { + type: "TypeParameterDeclaration"; + params: Array; +} + +declare class BabelNodeTypeParameterInstantiation extends BabelNode { + type: "TypeParameterInstantiation"; + params: Array; +} + +declare class BabelNodeUnionTypeAnnotation extends BabelNode { + type: "UnionTypeAnnotation"; + types: Array; +} + +declare class BabelNodeVariance extends BabelNode { + type: "Variance"; + kind: "minus" | "plus"; +} + +declare class BabelNodeVoidTypeAnnotation extends BabelNode { + type: "VoidTypeAnnotation"; +} + +declare class BabelNodeEnumDeclaration extends BabelNode { + type: "EnumDeclaration"; + id: BabelNodeIdentifier; + body: BabelNodeEnumBooleanBody | BabelNodeEnumNumberBody | BabelNodeEnumStringBody | BabelNodeEnumSymbolBody; +} + +declare class BabelNodeEnumBooleanBody extends BabelNode { + type: "EnumBooleanBody"; + members: Array; + explicit: boolean; +} + +declare class BabelNodeEnumNumberBody extends BabelNode { + type: "EnumNumberBody"; + members: Array; + explicit: boolean; +} + +declare class BabelNodeEnumStringBody extends BabelNode { + type: "EnumStringBody"; + members: Array; + explicit: boolean; +} + +declare class BabelNodeEnumSymbolBody extends BabelNode { + type: "EnumSymbolBody"; + members: Array; +} + +declare class BabelNodeEnumBooleanMember extends BabelNode { + type: "EnumBooleanMember"; + id: BabelNodeIdentifier; + init: BabelNodeBooleanLiteral; +} + +declare class BabelNodeEnumNumberMember extends BabelNode { + type: "EnumNumberMember"; + id: BabelNodeIdentifier; + init: BabelNodeNumericLiteral; +} + +declare class BabelNodeEnumStringMember extends BabelNode { + type: "EnumStringMember"; + id: BabelNodeIdentifier; + init: BabelNodeStringLiteral; +} + +declare class BabelNodeEnumDefaultedMember extends BabelNode { + type: "EnumDefaultedMember"; + id: BabelNodeIdentifier; +} + +declare class BabelNodeJSXAttribute extends BabelNode { + type: "JSXAttribute"; + name: BabelNodeJSXIdentifier | BabelNodeJSXNamespacedName; + value?: BabelNodeJSXElement | BabelNodeJSXFragment | BabelNodeStringLiteral | BabelNodeJSXExpressionContainer; +} + +declare class BabelNodeJSXClosingElement extends BabelNode { + type: "JSXClosingElement"; + name: BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName; +} + +declare class BabelNodeJSXElement extends BabelNode { + type: "JSXElement"; + openingElement: BabelNodeJSXOpeningElement; + closingElement?: BabelNodeJSXClosingElement; + children: Array; + selfClosing?: boolean; +} + +declare class BabelNodeJSXEmptyExpression extends BabelNode { + type: "JSXEmptyExpression"; +} + +declare class BabelNodeJSXExpressionContainer extends BabelNode { + type: "JSXExpressionContainer"; + expression: BabelNodeExpression | BabelNodeJSXEmptyExpression; +} + +declare class BabelNodeJSXSpreadChild extends BabelNode { + type: "JSXSpreadChild"; + expression: BabelNodeExpression; +} + +declare class BabelNodeJSXIdentifier extends BabelNode { + type: "JSXIdentifier"; + name: string; +} + +declare class BabelNodeJSXMemberExpression extends BabelNode { + type: "JSXMemberExpression"; + object: BabelNodeJSXMemberExpression | BabelNodeJSXIdentifier; + property: BabelNodeJSXIdentifier; +} + +declare class BabelNodeJSXNamespacedName extends BabelNode { + type: "JSXNamespacedName"; + namespace: BabelNodeJSXIdentifier; + name: BabelNodeJSXIdentifier; +} + +declare class BabelNodeJSXOpeningElement extends BabelNode { + type: "JSXOpeningElement"; + name: BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName; + attributes: Array; + selfClosing?: boolean; + typeParameters?: BabelNodeTypeParameterInstantiation | BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeJSXSpreadAttribute extends BabelNode { + type: "JSXSpreadAttribute"; + argument: BabelNodeExpression; +} + +declare class BabelNodeJSXText extends BabelNode { + type: "JSXText"; + value: string; +} + +declare class BabelNodeJSXFragment extends BabelNode { + type: "JSXFragment"; + openingFragment: BabelNodeJSXOpeningFragment; + closingFragment: BabelNodeJSXClosingFragment; + children: Array; +} + +declare class BabelNodeJSXOpeningFragment extends BabelNode { + type: "JSXOpeningFragment"; +} + +declare class BabelNodeJSXClosingFragment extends BabelNode { + type: "JSXClosingFragment"; +} + +declare class BabelNodeNoop extends BabelNode { + type: "Noop"; +} + +declare class BabelNodePlaceholder extends BabelNode { + type: "Placeholder"; + expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern"; + name: BabelNodeIdentifier; +} + +declare class BabelNodeV8IntrinsicIdentifier extends BabelNode { + type: "V8IntrinsicIdentifier"; + name: string; +} + +declare class BabelNodeArgumentPlaceholder extends BabelNode { + type: "ArgumentPlaceholder"; +} + +declare class BabelNodeBindExpression extends BabelNode { + type: "BindExpression"; + object: BabelNodeExpression; + callee: BabelNodeExpression; +} + +declare class BabelNodeClassProperty extends BabelNode { + type: "ClassProperty"; + key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeExpression; + value?: BabelNodeExpression; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + decorators?: Array; + computed?: boolean; + abstract?: boolean; + accessibility?: "public" | "private" | "protected"; + declare?: boolean; + definite?: boolean; + optional?: boolean; + readonly?: boolean; +} + +declare class BabelNodePipelineTopicExpression extends BabelNode { + type: "PipelineTopicExpression"; + expression: BabelNodeExpression; +} + +declare class BabelNodePipelineBareFunction extends BabelNode { + type: "PipelineBareFunction"; + callee: BabelNodeExpression; +} + +declare class BabelNodePipelinePrimaryTopicReference extends BabelNode { + type: "PipelinePrimaryTopicReference"; +} + +declare class BabelNodeClassPrivateProperty extends BabelNode { + type: "ClassPrivateProperty"; + key: BabelNodePrivateName; + value?: BabelNodeExpression; + decorators?: Array; +} + +declare class BabelNodeClassPrivateMethod extends BabelNode { + type: "ClassPrivateMethod"; + kind?: "get" | "set" | "method" | "constructor"; + key: BabelNodePrivateName; + params: Array; + body: BabelNodeBlockStatement; + abstract?: boolean; + access?: "public" | "private" | "protected"; + accessibility?: "public" | "private" | "protected"; + async?: boolean; + computed?: boolean; + decorators?: Array; + generator?: boolean; + optional?: boolean; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeImportAttribute extends BabelNode { + type: "ImportAttribute"; + key: BabelNodeIdentifier; + value: BabelNodeStringLiteral; +} + +declare class BabelNodeDecorator extends BabelNode { + type: "Decorator"; + expression: BabelNodeExpression; +} + +declare class BabelNodeDoExpression extends BabelNode { + type: "DoExpression"; + body: BabelNodeBlockStatement; +} + +declare class BabelNodeExportDefaultSpecifier extends BabelNode { + type: "ExportDefaultSpecifier"; + exported: BabelNodeIdentifier; +} + +declare class BabelNodePrivateName extends BabelNode { + type: "PrivateName"; + id: BabelNodeIdentifier; +} + +declare class BabelNodeRecordExpression extends BabelNode { + type: "RecordExpression"; + properties: Array; +} + +declare class BabelNodeTupleExpression extends BabelNode { + type: "TupleExpression"; + elements?: Array; +} + +declare class BabelNodeDecimalLiteral extends BabelNode { + type: "DecimalLiteral"; + value: string; +} + +declare class BabelNodeTSParameterProperty extends BabelNode { + type: "TSParameterProperty"; + parameter: BabelNodeIdentifier | BabelNodeAssignmentPattern; + accessibility?: "public" | "private" | "protected"; + readonly?: boolean; +} + +declare class BabelNodeTSDeclareFunction extends BabelNode { + type: "TSDeclareFunction"; + id?: BabelNodeIdentifier; + typeParameters?: BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; + params: Array; + returnType?: BabelNodeTSTypeAnnotation | BabelNodeNoop; + async?: boolean; + declare?: boolean; + generator?: boolean; +} + +declare class BabelNodeTSDeclareMethod extends BabelNode { + type: "TSDeclareMethod"; + decorators?: Array; + key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeExpression; + typeParameters?: BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; + params: Array; + returnType?: BabelNodeTSTypeAnnotation | BabelNodeNoop; + abstract?: boolean; + access?: "public" | "private" | "protected"; + accessibility?: "public" | "private" | "protected"; + async?: boolean; + computed?: boolean; + generator?: boolean; + kind?: "get" | "set" | "method" | "constructor"; + optional?: boolean; +} + +declare class BabelNodeTSQualifiedName extends BabelNode { + type: "TSQualifiedName"; + left: BabelNodeTSEntityName; + right: BabelNodeIdentifier; +} + +declare class BabelNodeTSCallSignatureDeclaration extends BabelNode { + type: "TSCallSignatureDeclaration"; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: Array; + typeAnnotation?: BabelNodeTSTypeAnnotation; +} + +declare class BabelNodeTSConstructSignatureDeclaration extends BabelNode { + type: "TSConstructSignatureDeclaration"; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: Array; + typeAnnotation?: BabelNodeTSTypeAnnotation; +} + +declare class BabelNodeTSPropertySignature extends BabelNode { + type: "TSPropertySignature"; + key: BabelNodeExpression; + typeAnnotation?: BabelNodeTSTypeAnnotation; + initializer?: BabelNodeExpression; + computed?: boolean; + optional?: boolean; + readonly?: boolean; +} + +declare class BabelNodeTSMethodSignature extends BabelNode { + type: "TSMethodSignature"; + key: BabelNodeExpression; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: Array; + typeAnnotation?: BabelNodeTSTypeAnnotation; + computed?: boolean; + optional?: boolean; +} + +declare class BabelNodeTSIndexSignature extends BabelNode { + type: "TSIndexSignature"; + parameters: Array; + typeAnnotation?: BabelNodeTSTypeAnnotation; + readonly?: boolean; +} + +declare class BabelNodeTSAnyKeyword extends BabelNode { + type: "TSAnyKeyword"; +} + +declare class BabelNodeTSBooleanKeyword extends BabelNode { + type: "TSBooleanKeyword"; +} + +declare class BabelNodeTSBigIntKeyword extends BabelNode { + type: "TSBigIntKeyword"; +} + +declare class BabelNodeTSNeverKeyword extends BabelNode { + type: "TSNeverKeyword"; +} + +declare class BabelNodeTSNullKeyword extends BabelNode { + type: "TSNullKeyword"; +} + +declare class BabelNodeTSNumberKeyword extends BabelNode { + type: "TSNumberKeyword"; +} + +declare class BabelNodeTSObjectKeyword extends BabelNode { + type: "TSObjectKeyword"; +} + +declare class BabelNodeTSStringKeyword extends BabelNode { + type: "TSStringKeyword"; +} + +declare class BabelNodeTSSymbolKeyword extends BabelNode { + type: "TSSymbolKeyword"; +} + +declare class BabelNodeTSUndefinedKeyword extends BabelNode { + type: "TSUndefinedKeyword"; +} + +declare class BabelNodeTSUnknownKeyword extends BabelNode { + type: "TSUnknownKeyword"; +} + +declare class BabelNodeTSVoidKeyword extends BabelNode { + type: "TSVoidKeyword"; +} + +declare class BabelNodeTSThisType extends BabelNode { + type: "TSThisType"; +} + +declare class BabelNodeTSFunctionType extends BabelNode { + type: "TSFunctionType"; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: Array; + typeAnnotation?: BabelNodeTSTypeAnnotation; +} + +declare class BabelNodeTSConstructorType extends BabelNode { + type: "TSConstructorType"; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: Array; + typeAnnotation?: BabelNodeTSTypeAnnotation; +} + +declare class BabelNodeTSTypeReference extends BabelNode { + type: "TSTypeReference"; + typeName: BabelNodeTSEntityName; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeTSTypePredicate extends BabelNode { + type: "TSTypePredicate"; + parameterName: BabelNodeIdentifier | BabelNodeTSThisType; + typeAnnotation?: BabelNodeTSTypeAnnotation; + asserts?: boolean; +} + +declare class BabelNodeTSTypeQuery extends BabelNode { + type: "TSTypeQuery"; + exprName: BabelNodeTSEntityName | BabelNodeTSImportType; +} + +declare class BabelNodeTSTypeLiteral extends BabelNode { + type: "TSTypeLiteral"; + members: Array; +} + +declare class BabelNodeTSArrayType extends BabelNode { + type: "TSArrayType"; + elementType: BabelNodeTSType; +} + +declare class BabelNodeTSTupleType extends BabelNode { + type: "TSTupleType"; + elementTypes: Array; +} + +declare class BabelNodeTSOptionalType extends BabelNode { + type: "TSOptionalType"; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSRestType extends BabelNode { + type: "TSRestType"; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSNamedTupleMember extends BabelNode { + type: "TSNamedTupleMember"; + label: BabelNodeIdentifier; + elementType: BabelNodeTSType; + optional?: boolean; +} + +declare class BabelNodeTSUnionType extends BabelNode { + type: "TSUnionType"; + types: Array; +} + +declare class BabelNodeTSIntersectionType extends BabelNode { + type: "TSIntersectionType"; + types: Array; +} + +declare class BabelNodeTSConditionalType extends BabelNode { + type: "TSConditionalType"; + checkType: BabelNodeTSType; + extendsType: BabelNodeTSType; + trueType: BabelNodeTSType; + falseType: BabelNodeTSType; +} + +declare class BabelNodeTSInferType extends BabelNode { + type: "TSInferType"; + typeParameter: BabelNodeTSTypeParameter; +} + +declare class BabelNodeTSParenthesizedType extends BabelNode { + type: "TSParenthesizedType"; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSTypeOperator extends BabelNode { + type: "TSTypeOperator"; + typeAnnotation: BabelNodeTSType; + operator: string; +} + +declare class BabelNodeTSIndexedAccessType extends BabelNode { + type: "TSIndexedAccessType"; + objectType: BabelNodeTSType; + indexType: BabelNodeTSType; +} + +declare class BabelNodeTSMappedType extends BabelNode { + type: "TSMappedType"; + typeParameter: BabelNodeTSTypeParameter; + typeAnnotation?: BabelNodeTSType; + optional?: boolean; + readonly?: boolean; +} + +declare class BabelNodeTSLiteralType extends BabelNode { + type: "TSLiteralType"; + literal: BabelNodeNumericLiteral | BabelNodeStringLiteral | BabelNodeBooleanLiteral | BabelNodeBigIntLiteral; +} + +declare class BabelNodeTSExpressionWithTypeArguments extends BabelNode { + type: "TSExpressionWithTypeArguments"; + expression: BabelNodeTSEntityName; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeTSInterfaceDeclaration extends BabelNode { + type: "TSInterfaceDeclaration"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + body: BabelNodeTSInterfaceBody; + declare?: boolean; +} + +declare class BabelNodeTSInterfaceBody extends BabelNode { + type: "TSInterfaceBody"; + body: Array; +} + +declare class BabelNodeTSTypeAliasDeclaration extends BabelNode { + type: "TSTypeAliasDeclaration"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + typeAnnotation: BabelNodeTSType; + declare?: boolean; +} + +declare class BabelNodeTSAsExpression extends BabelNode { + type: "TSAsExpression"; + expression: BabelNodeExpression; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSTypeAssertion extends BabelNode { + type: "TSTypeAssertion"; + typeAnnotation: BabelNodeTSType; + expression: BabelNodeExpression; +} + +declare class BabelNodeTSEnumDeclaration extends BabelNode { + type: "TSEnumDeclaration"; + id: BabelNodeIdentifier; + members: Array; + declare?: boolean; + initializer?: BabelNodeExpression; +} + +declare class BabelNodeTSEnumMember extends BabelNode { + type: "TSEnumMember"; + id: BabelNodeIdentifier | BabelNodeStringLiteral; + initializer?: BabelNodeExpression; +} + +declare class BabelNodeTSModuleDeclaration extends BabelNode { + type: "TSModuleDeclaration"; + id: BabelNodeIdentifier | BabelNodeStringLiteral; + body: BabelNodeTSModuleBlock | BabelNodeTSModuleDeclaration; + declare?: boolean; + global?: boolean; +} + +declare class BabelNodeTSModuleBlock extends BabelNode { + type: "TSModuleBlock"; + body: Array; +} + +declare class BabelNodeTSImportType extends BabelNode { + type: "TSImportType"; + argument: BabelNodeStringLiteral; + qualifier?: BabelNodeTSEntityName; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeTSImportEqualsDeclaration extends BabelNode { + type: "TSImportEqualsDeclaration"; + id: BabelNodeIdentifier; + moduleReference: BabelNodeTSEntityName | BabelNodeTSExternalModuleReference; + isExport: boolean; +} + +declare class BabelNodeTSExternalModuleReference extends BabelNode { + type: "TSExternalModuleReference"; + expression: BabelNodeStringLiteral; +} + +declare class BabelNodeTSNonNullExpression extends BabelNode { + type: "TSNonNullExpression"; + expression: BabelNodeExpression; +} + +declare class BabelNodeTSExportAssignment extends BabelNode { + type: "TSExportAssignment"; + expression: BabelNodeExpression; +} + +declare class BabelNodeTSNamespaceExportDeclaration extends BabelNode { + type: "TSNamespaceExportDeclaration"; + id: BabelNodeIdentifier; +} + +declare class BabelNodeTSTypeAnnotation extends BabelNode { + type: "TSTypeAnnotation"; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSTypeParameterInstantiation extends BabelNode { + type: "TSTypeParameterInstantiation"; + params: Array; +} + +declare class BabelNodeTSTypeParameterDeclaration extends BabelNode { + type: "TSTypeParameterDeclaration"; + params: Array; +} + +declare class BabelNodeTSTypeParameter extends BabelNode { + type: "TSTypeParameter"; + constraint?: BabelNodeTSType; + name: string; +} + +type BabelNodeExpression = BabelNodeArrayExpression | BabelNodeAssignmentExpression | BabelNodeBinaryExpression | BabelNodeCallExpression | BabelNodeConditionalExpression | BabelNodeFunctionExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeNullLiteral | BabelNodeBooleanLiteral | BabelNodeRegExpLiteral | BabelNodeLogicalExpression | BabelNodeMemberExpression | BabelNodeNewExpression | BabelNodeObjectExpression | BabelNodeSequenceExpression | BabelNodeParenthesizedExpression | BabelNodeThisExpression | BabelNodeUnaryExpression | BabelNodeUpdateExpression | BabelNodeArrowFunctionExpression | BabelNodeClassExpression | BabelNodeMetaProperty | BabelNodeSuper | BabelNodeTaggedTemplateExpression | BabelNodeTemplateLiteral | BabelNodeYieldExpression | BabelNodeAwaitExpression | BabelNodeImport | BabelNodeBigIntLiteral | BabelNodeOptionalMemberExpression | BabelNodeOptionalCallExpression | BabelNodeTypeCastExpression | BabelNodeJSXElement | BabelNodeJSXFragment | BabelNodeBindExpression | BabelNodePipelinePrimaryTopicReference | BabelNodeDoExpression | BabelNodeRecordExpression | BabelNodeTupleExpression | BabelNodeDecimalLiteral | BabelNodeTSAsExpression | BabelNodeTSTypeAssertion | BabelNodeTSNonNullExpression; +type BabelNodeBinary = BabelNodeBinaryExpression | BabelNodeLogicalExpression; +type BabelNodeScopable = BabelNodeBlockStatement | BabelNodeCatchClause | BabelNodeDoWhileStatement | BabelNodeForInStatement | BabelNodeForStatement | BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeProgram | BabelNodeObjectMethod | BabelNodeSwitchStatement | BabelNodeWhileStatement | BabelNodeArrowFunctionExpression | BabelNodeClassExpression | BabelNodeClassDeclaration | BabelNodeForOfStatement | BabelNodeClassMethod | BabelNodeClassPrivateMethod | BabelNodeTSModuleBlock; +type BabelNodeBlockParent = BabelNodeBlockStatement | BabelNodeCatchClause | BabelNodeDoWhileStatement | BabelNodeForInStatement | BabelNodeForStatement | BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeProgram | BabelNodeObjectMethod | BabelNodeSwitchStatement | BabelNodeWhileStatement | BabelNodeArrowFunctionExpression | BabelNodeForOfStatement | BabelNodeClassMethod | BabelNodeClassPrivateMethod | BabelNodeTSModuleBlock; +type BabelNodeBlock = BabelNodeBlockStatement | BabelNodeProgram | BabelNodeTSModuleBlock; +type BabelNodeStatement = BabelNodeBlockStatement | BabelNodeBreakStatement | BabelNodeContinueStatement | BabelNodeDebuggerStatement | BabelNodeDoWhileStatement | BabelNodeEmptyStatement | BabelNodeExpressionStatement | BabelNodeForInStatement | BabelNodeForStatement | BabelNodeFunctionDeclaration | BabelNodeIfStatement | BabelNodeLabeledStatement | BabelNodeReturnStatement | BabelNodeSwitchStatement | BabelNodeThrowStatement | BabelNodeTryStatement | BabelNodeVariableDeclaration | BabelNodeWhileStatement | BabelNodeWithStatement | BabelNodeClassDeclaration | BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration | BabelNodeForOfStatement | BabelNodeImportDeclaration | BabelNodeDeclareClass | BabelNodeDeclareFunction | BabelNodeDeclareInterface | BabelNodeDeclareModule | BabelNodeDeclareModuleExports | BabelNodeDeclareTypeAlias | BabelNodeDeclareOpaqueType | BabelNodeDeclareVariable | BabelNodeDeclareExportDeclaration | BabelNodeDeclareExportAllDeclaration | BabelNodeInterfaceDeclaration | BabelNodeOpaqueType | BabelNodeTypeAlias | BabelNodeEnumDeclaration | BabelNodeTSDeclareFunction | BabelNodeTSInterfaceDeclaration | BabelNodeTSTypeAliasDeclaration | BabelNodeTSEnumDeclaration | BabelNodeTSModuleDeclaration | BabelNodeTSImportEqualsDeclaration | BabelNodeTSExportAssignment | BabelNodeTSNamespaceExportDeclaration; +type BabelNodeTerminatorless = BabelNodeBreakStatement | BabelNodeContinueStatement | BabelNodeReturnStatement | BabelNodeThrowStatement | BabelNodeYieldExpression | BabelNodeAwaitExpression; +type BabelNodeCompletionStatement = BabelNodeBreakStatement | BabelNodeContinueStatement | BabelNodeReturnStatement | BabelNodeThrowStatement; +type BabelNodeConditional = BabelNodeConditionalExpression | BabelNodeIfStatement; +type BabelNodeLoop = BabelNodeDoWhileStatement | BabelNodeForInStatement | BabelNodeForStatement | BabelNodeWhileStatement | BabelNodeForOfStatement; +type BabelNodeWhile = BabelNodeDoWhileStatement | BabelNodeWhileStatement; +type BabelNodeExpressionWrapper = BabelNodeExpressionStatement | BabelNodeParenthesizedExpression | BabelNodeTypeCastExpression; +type BabelNodeFor = BabelNodeForInStatement | BabelNodeForStatement | BabelNodeForOfStatement; +type BabelNodeForXStatement = BabelNodeForInStatement | BabelNodeForOfStatement; +type BabelNodeFunction = BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeObjectMethod | BabelNodeArrowFunctionExpression | BabelNodeClassMethod | BabelNodeClassPrivateMethod; +type BabelNodeFunctionParent = BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeObjectMethod | BabelNodeArrowFunctionExpression | BabelNodeClassMethod | BabelNodeClassPrivateMethod; +type BabelNodePureish = BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeNullLiteral | BabelNodeBooleanLiteral | BabelNodeRegExpLiteral | BabelNodeArrowFunctionExpression | BabelNodeBigIntLiteral | BabelNodeDecimalLiteral; +type BabelNodeDeclaration = BabelNodeFunctionDeclaration | BabelNodeVariableDeclaration | BabelNodeClassDeclaration | BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration | BabelNodeImportDeclaration | BabelNodeDeclareClass | BabelNodeDeclareFunction | BabelNodeDeclareInterface | BabelNodeDeclareModule | BabelNodeDeclareModuleExports | BabelNodeDeclareTypeAlias | BabelNodeDeclareOpaqueType | BabelNodeDeclareVariable | BabelNodeDeclareExportDeclaration | BabelNodeDeclareExportAllDeclaration | BabelNodeInterfaceDeclaration | BabelNodeOpaqueType | BabelNodeTypeAlias | BabelNodeEnumDeclaration | BabelNodeTSDeclareFunction | BabelNodeTSInterfaceDeclaration | BabelNodeTSTypeAliasDeclaration | BabelNodeTSEnumDeclaration | BabelNodeTSModuleDeclaration; +type BabelNodePatternLike = BabelNodeIdentifier | BabelNodeRestElement | BabelNodeAssignmentPattern | BabelNodeArrayPattern | BabelNodeObjectPattern; +type BabelNodeLVal = BabelNodeIdentifier | BabelNodeMemberExpression | BabelNodeRestElement | BabelNodeAssignmentPattern | BabelNodeArrayPattern | BabelNodeObjectPattern | BabelNodeTSParameterProperty; +type BabelNodeTSEntityName = BabelNodeIdentifier | BabelNodeTSQualifiedName; +type BabelNodeLiteral = BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeNullLiteral | BabelNodeBooleanLiteral | BabelNodeRegExpLiteral | BabelNodeTemplateLiteral | BabelNodeBigIntLiteral | BabelNodeDecimalLiteral; +type BabelNodeImmutable = BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeNullLiteral | BabelNodeBooleanLiteral | BabelNodeBigIntLiteral | BabelNodeJSXAttribute | BabelNodeJSXClosingElement | BabelNodeJSXElement | BabelNodeJSXExpressionContainer | BabelNodeJSXSpreadChild | BabelNodeJSXOpeningElement | BabelNodeJSXText | BabelNodeJSXFragment | BabelNodeJSXOpeningFragment | BabelNodeJSXClosingFragment | BabelNodeDecimalLiteral; +type BabelNodeUserWhitespacable = BabelNodeObjectMethod | BabelNodeObjectProperty | BabelNodeObjectTypeInternalSlot | BabelNodeObjectTypeCallProperty | BabelNodeObjectTypeIndexer | BabelNodeObjectTypeProperty | BabelNodeObjectTypeSpreadProperty; +type BabelNodeMethod = BabelNodeObjectMethod | BabelNodeClassMethod | BabelNodeClassPrivateMethod; +type BabelNodeObjectMember = BabelNodeObjectMethod | BabelNodeObjectProperty; +type BabelNodeProperty = BabelNodeObjectProperty | BabelNodeClassProperty | BabelNodeClassPrivateProperty; +type BabelNodeUnaryLike = BabelNodeUnaryExpression | BabelNodeSpreadElement; +type BabelNodePattern = BabelNodeAssignmentPattern | BabelNodeArrayPattern | BabelNodeObjectPattern; +type BabelNodeClass = BabelNodeClassExpression | BabelNodeClassDeclaration; +type BabelNodeModuleDeclaration = BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration | BabelNodeImportDeclaration; +type BabelNodeExportDeclaration = BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration; +type BabelNodeModuleSpecifier = BabelNodeExportSpecifier | BabelNodeImportDefaultSpecifier | BabelNodeImportNamespaceSpecifier | BabelNodeImportSpecifier | BabelNodeExportNamespaceSpecifier | BabelNodeExportDefaultSpecifier; +type BabelNodeFlow = BabelNodeAnyTypeAnnotation | BabelNodeArrayTypeAnnotation | BabelNodeBooleanTypeAnnotation | BabelNodeBooleanLiteralTypeAnnotation | BabelNodeNullLiteralTypeAnnotation | BabelNodeClassImplements | BabelNodeDeclareClass | BabelNodeDeclareFunction | BabelNodeDeclareInterface | BabelNodeDeclareModule | BabelNodeDeclareModuleExports | BabelNodeDeclareTypeAlias | BabelNodeDeclareOpaqueType | BabelNodeDeclareVariable | BabelNodeDeclareExportDeclaration | BabelNodeDeclareExportAllDeclaration | BabelNodeDeclaredPredicate | BabelNodeExistsTypeAnnotation | BabelNodeFunctionTypeAnnotation | BabelNodeFunctionTypeParam | BabelNodeGenericTypeAnnotation | BabelNodeInferredPredicate | BabelNodeInterfaceExtends | BabelNodeInterfaceDeclaration | BabelNodeInterfaceTypeAnnotation | BabelNodeIntersectionTypeAnnotation | BabelNodeMixedTypeAnnotation | BabelNodeEmptyTypeAnnotation | BabelNodeNullableTypeAnnotation | BabelNodeNumberLiteralTypeAnnotation | BabelNodeNumberTypeAnnotation | BabelNodeObjectTypeAnnotation | BabelNodeObjectTypeInternalSlot | BabelNodeObjectTypeCallProperty | BabelNodeObjectTypeIndexer | BabelNodeObjectTypeProperty | BabelNodeObjectTypeSpreadProperty | BabelNodeOpaqueType | BabelNodeQualifiedTypeIdentifier | BabelNodeStringLiteralTypeAnnotation | BabelNodeStringTypeAnnotation | BabelNodeSymbolTypeAnnotation | BabelNodeThisTypeAnnotation | BabelNodeTupleTypeAnnotation | BabelNodeTypeofTypeAnnotation | BabelNodeTypeAlias | BabelNodeTypeAnnotation | BabelNodeTypeCastExpression | BabelNodeTypeParameter | BabelNodeTypeParameterDeclaration | BabelNodeTypeParameterInstantiation | BabelNodeUnionTypeAnnotation | BabelNodeVariance | BabelNodeVoidTypeAnnotation; +type BabelNodeFlowType = BabelNodeAnyTypeAnnotation | BabelNodeArrayTypeAnnotation | BabelNodeBooleanTypeAnnotation | BabelNodeBooleanLiteralTypeAnnotation | BabelNodeNullLiteralTypeAnnotation | BabelNodeExistsTypeAnnotation | BabelNodeFunctionTypeAnnotation | BabelNodeGenericTypeAnnotation | BabelNodeInterfaceTypeAnnotation | BabelNodeIntersectionTypeAnnotation | BabelNodeMixedTypeAnnotation | BabelNodeEmptyTypeAnnotation | BabelNodeNullableTypeAnnotation | BabelNodeNumberLiteralTypeAnnotation | BabelNodeNumberTypeAnnotation | BabelNodeObjectTypeAnnotation | BabelNodeStringLiteralTypeAnnotation | BabelNodeStringTypeAnnotation | BabelNodeSymbolTypeAnnotation | BabelNodeThisTypeAnnotation | BabelNodeTupleTypeAnnotation | BabelNodeTypeofTypeAnnotation | BabelNodeUnionTypeAnnotation | BabelNodeVoidTypeAnnotation; +type BabelNodeFlowBaseAnnotation = BabelNodeAnyTypeAnnotation | BabelNodeBooleanTypeAnnotation | BabelNodeNullLiteralTypeAnnotation | BabelNodeMixedTypeAnnotation | BabelNodeEmptyTypeAnnotation | BabelNodeNumberTypeAnnotation | BabelNodeStringTypeAnnotation | BabelNodeSymbolTypeAnnotation | BabelNodeThisTypeAnnotation | BabelNodeVoidTypeAnnotation; +type BabelNodeFlowDeclaration = BabelNodeDeclareClass | BabelNodeDeclareFunction | BabelNodeDeclareInterface | BabelNodeDeclareModule | BabelNodeDeclareModuleExports | BabelNodeDeclareTypeAlias | BabelNodeDeclareOpaqueType | BabelNodeDeclareVariable | BabelNodeDeclareExportDeclaration | BabelNodeDeclareExportAllDeclaration | BabelNodeInterfaceDeclaration | BabelNodeOpaqueType | BabelNodeTypeAlias; +type BabelNodeFlowPredicate = BabelNodeDeclaredPredicate | BabelNodeInferredPredicate; +type BabelNodeEnumBody = BabelNodeEnumBooleanBody | BabelNodeEnumNumberBody | BabelNodeEnumStringBody | BabelNodeEnumSymbolBody; +type BabelNodeEnumMember = BabelNodeEnumBooleanMember | BabelNodeEnumNumberMember | BabelNodeEnumStringMember | BabelNodeEnumDefaultedMember; +type BabelNodeJSX = BabelNodeJSXAttribute | BabelNodeJSXClosingElement | BabelNodeJSXElement | BabelNodeJSXEmptyExpression | BabelNodeJSXExpressionContainer | BabelNodeJSXSpreadChild | BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName | BabelNodeJSXOpeningElement | BabelNodeJSXSpreadAttribute | BabelNodeJSXText | BabelNodeJSXFragment | BabelNodeJSXOpeningFragment | BabelNodeJSXClosingFragment; +type BabelNodePrivate = BabelNodeClassPrivateProperty | BabelNodeClassPrivateMethod | BabelNodePrivateName; +type BabelNodeTSTypeElement = BabelNodeTSCallSignatureDeclaration | BabelNodeTSConstructSignatureDeclaration | BabelNodeTSPropertySignature | BabelNodeTSMethodSignature | BabelNodeTSIndexSignature; +type BabelNodeTSType = BabelNodeTSAnyKeyword | BabelNodeTSBooleanKeyword | BabelNodeTSBigIntKeyword | BabelNodeTSNeverKeyword | BabelNodeTSNullKeyword | BabelNodeTSNumberKeyword | BabelNodeTSObjectKeyword | BabelNodeTSStringKeyword | BabelNodeTSSymbolKeyword | BabelNodeTSUndefinedKeyword | BabelNodeTSUnknownKeyword | BabelNodeTSVoidKeyword | BabelNodeTSThisType | BabelNodeTSFunctionType | BabelNodeTSConstructorType | BabelNodeTSTypeReference | BabelNodeTSTypePredicate | BabelNodeTSTypeQuery | BabelNodeTSTypeLiteral | BabelNodeTSArrayType | BabelNodeTSTupleType | BabelNodeTSOptionalType | BabelNodeTSRestType | BabelNodeTSUnionType | BabelNodeTSIntersectionType | BabelNodeTSConditionalType | BabelNodeTSInferType | BabelNodeTSParenthesizedType | BabelNodeTSTypeOperator | BabelNodeTSIndexedAccessType | BabelNodeTSMappedType | BabelNodeTSLiteralType | BabelNodeTSExpressionWithTypeArguments | BabelNodeTSImportType; +type BabelNodeTSBaseType = BabelNodeTSAnyKeyword | BabelNodeTSBooleanKeyword | BabelNodeTSBigIntKeyword | BabelNodeTSNeverKeyword | BabelNodeTSNullKeyword | BabelNodeTSNumberKeyword | BabelNodeTSObjectKeyword | BabelNodeTSStringKeyword | BabelNodeTSSymbolKeyword | BabelNodeTSUndefinedKeyword | BabelNodeTSUnknownKeyword | BabelNodeTSVoidKeyword | BabelNodeTSThisType | BabelNodeTSLiteralType; + +declare module "@babel/types" { + declare function arrayExpression(elements?: Array): BabelNodeArrayExpression; + declare function assignmentExpression(operator: string, left: BabelNodeLVal, right: BabelNodeExpression): BabelNodeAssignmentExpression; + declare function binaryExpression(operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=", left: BabelNodeExpression | BabelNodePrivateName, right: BabelNodeExpression): BabelNodeBinaryExpression; + declare function interpreterDirective(value: string): BabelNodeInterpreterDirective; + declare function directive(value: BabelNodeDirectiveLiteral): BabelNodeDirective; + declare function directiveLiteral(value: string): BabelNodeDirectiveLiteral; + declare function blockStatement(body: Array, directives?: Array): BabelNodeBlockStatement; + declare function breakStatement(label?: BabelNodeIdentifier): BabelNodeBreakStatement; + declare function callExpression(callee: BabelNodeExpression | BabelNodeV8IntrinsicIdentifier, _arguments: Array): BabelNodeCallExpression; + declare function catchClause(param?: BabelNodeIdentifier | BabelNodeArrayPattern | BabelNodeObjectPattern, body: BabelNodeBlockStatement): BabelNodeCatchClause; + declare function conditionalExpression(test: BabelNodeExpression, consequent: BabelNodeExpression, alternate: BabelNodeExpression): BabelNodeConditionalExpression; + declare function continueStatement(label?: BabelNodeIdentifier): BabelNodeContinueStatement; + declare function debuggerStatement(): BabelNodeDebuggerStatement; + declare function doWhileStatement(test: BabelNodeExpression, body: BabelNodeStatement): BabelNodeDoWhileStatement; + declare function emptyStatement(): BabelNodeEmptyStatement; + declare function expressionStatement(expression: BabelNodeExpression): BabelNodeExpressionStatement; + declare function file(program: BabelNodeProgram, comments?: Array, tokens?: Array): BabelNodeFile; + declare function forInStatement(left: BabelNodeVariableDeclaration | BabelNodeLVal, right: BabelNodeExpression, body: BabelNodeStatement): BabelNodeForInStatement; + declare function forStatement(init?: BabelNodeVariableDeclaration | BabelNodeExpression, test?: BabelNodeExpression, update?: BabelNodeExpression, body: BabelNodeStatement): BabelNodeForStatement; + declare function functionDeclaration(id?: BabelNodeIdentifier, params: Array, body: BabelNodeBlockStatement, generator?: boolean, async?: boolean): BabelNodeFunctionDeclaration; + declare function functionExpression(id?: BabelNodeIdentifier, params: Array, body: BabelNodeBlockStatement, generator?: boolean, async?: boolean): BabelNodeFunctionExpression; + declare function identifier(name: string): BabelNodeIdentifier; + declare function ifStatement(test: BabelNodeExpression, consequent: BabelNodeStatement, alternate?: BabelNodeStatement): BabelNodeIfStatement; + declare function labeledStatement(label: BabelNodeIdentifier, body: BabelNodeStatement): BabelNodeLabeledStatement; + declare function stringLiteral(value: string): BabelNodeStringLiteral; + declare function numericLiteral(value: number): BabelNodeNumericLiteral; + declare function nullLiteral(): BabelNodeNullLiteral; + declare function booleanLiteral(value: boolean): BabelNodeBooleanLiteral; + declare function regExpLiteral(pattern: string, flags?: string): BabelNodeRegExpLiteral; + declare function logicalExpression(operator: "||" | "&&" | "??", left: BabelNodeExpression, right: BabelNodeExpression): BabelNodeLogicalExpression; + declare function memberExpression(object: BabelNodeExpression, property: BabelNodeExpression | BabelNodeIdentifier | BabelNodePrivateName, computed?: boolean, optional?: true | false): BabelNodeMemberExpression; + declare function newExpression(callee: BabelNodeExpression | BabelNodeV8IntrinsicIdentifier, _arguments: Array): BabelNodeNewExpression; + declare function program(body: Array, directives?: Array, sourceType?: "script" | "module", interpreter?: BabelNodeInterpreterDirective): BabelNodeProgram; + declare function objectExpression(properties: Array): BabelNodeObjectExpression; + declare function objectMethod(kind?: "method" | "get" | "set", key: BabelNodeExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral, params: Array, body: BabelNodeBlockStatement, computed?: boolean, generator?: boolean, async?: boolean): BabelNodeObjectMethod; + declare function objectProperty(key: BabelNodeExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral, value: BabelNodeExpression | BabelNodePatternLike, computed?: boolean, shorthand?: boolean, decorators?: Array): BabelNodeObjectProperty; + declare function restElement(argument: BabelNodeLVal): BabelNodeRestElement; + declare function returnStatement(argument?: BabelNodeExpression): BabelNodeReturnStatement; + declare function sequenceExpression(expressions: Array): BabelNodeSequenceExpression; + declare function parenthesizedExpression(expression: BabelNodeExpression): BabelNodeParenthesizedExpression; + declare function switchCase(test?: BabelNodeExpression, consequent: Array): BabelNodeSwitchCase; + declare function switchStatement(discriminant: BabelNodeExpression, cases: Array): BabelNodeSwitchStatement; + declare function thisExpression(): BabelNodeThisExpression; + declare function throwStatement(argument: BabelNodeExpression): BabelNodeThrowStatement; + declare function tryStatement(block: BabelNodeBlockStatement, handler?: BabelNodeCatchClause, finalizer?: BabelNodeBlockStatement): BabelNodeTryStatement; + declare function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: BabelNodeExpression, prefix?: boolean): BabelNodeUnaryExpression; + declare function updateExpression(operator: "++" | "--", argument: BabelNodeExpression, prefix?: boolean): BabelNodeUpdateExpression; + declare function variableDeclaration(kind: "var" | "let" | "const", declarations: Array): BabelNodeVariableDeclaration; + declare function variableDeclarator(id: BabelNodeLVal, init?: BabelNodeExpression): BabelNodeVariableDeclarator; + declare function whileStatement(test: BabelNodeExpression, body: BabelNodeStatement): BabelNodeWhileStatement; + declare function withStatement(object: BabelNodeExpression, body: BabelNodeStatement): BabelNodeWithStatement; + declare function assignmentPattern(left: BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeArrayPattern | BabelNodeMemberExpression, right: BabelNodeExpression): BabelNodeAssignmentPattern; + declare function arrayPattern(elements: Array): BabelNodeArrayPattern; + declare function arrowFunctionExpression(params: Array, body: BabelNodeBlockStatement | BabelNodeExpression, async?: boolean): BabelNodeArrowFunctionExpression; + declare function classBody(body: Array): BabelNodeClassBody; + declare function classExpression(id?: BabelNodeIdentifier, superClass?: BabelNodeExpression, body: BabelNodeClassBody, decorators?: Array): BabelNodeClassExpression; + declare function classDeclaration(id: BabelNodeIdentifier, superClass?: BabelNodeExpression, body: BabelNodeClassBody, decorators?: Array): BabelNodeClassDeclaration; + declare function exportAllDeclaration(source: BabelNodeStringLiteral): BabelNodeExportAllDeclaration; + declare function exportDefaultDeclaration(declaration: BabelNodeFunctionDeclaration | BabelNodeTSDeclareFunction | BabelNodeClassDeclaration | BabelNodeExpression): BabelNodeExportDefaultDeclaration; + declare function exportNamedDeclaration(declaration?: BabelNodeDeclaration, specifiers?: Array, source?: BabelNodeStringLiteral): BabelNodeExportNamedDeclaration; + declare function exportSpecifier(local: BabelNodeIdentifier, exported: BabelNodeIdentifier): BabelNodeExportSpecifier; + declare function forOfStatement(left: BabelNodeVariableDeclaration | BabelNodeLVal, right: BabelNodeExpression, body: BabelNodeStatement, _await?: boolean): BabelNodeForOfStatement; + declare function importDeclaration(specifiers: Array, source: BabelNodeStringLiteral): BabelNodeImportDeclaration; + declare function importDefaultSpecifier(local: BabelNodeIdentifier): BabelNodeImportDefaultSpecifier; + declare function importNamespaceSpecifier(local: BabelNodeIdentifier): BabelNodeImportNamespaceSpecifier; + declare function importSpecifier(local: BabelNodeIdentifier, imported: BabelNodeIdentifier): BabelNodeImportSpecifier; + declare function metaProperty(meta: BabelNodeIdentifier, property: BabelNodeIdentifier): BabelNodeMetaProperty; + declare function classMethod(kind?: "get" | "set" | "method" | "constructor", key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeExpression, params: Array, body: BabelNodeBlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): BabelNodeClassMethod; + declare function objectPattern(properties: Array): BabelNodeObjectPattern; + declare function spreadElement(argument: BabelNodeExpression): BabelNodeSpreadElement; + declare function _super(): BabelNodeSuper; + declare export { _super as super } + declare function taggedTemplateExpression(tag: BabelNodeExpression, quasi: BabelNodeTemplateLiteral): BabelNodeTaggedTemplateExpression; + declare function templateElement(value: { raw: string, cooked?: string }, tail?: boolean): BabelNodeTemplateElement; + declare function templateLiteral(quasis: Array, expressions: Array): BabelNodeTemplateLiteral; + declare function yieldExpression(argument?: BabelNodeExpression, delegate?: boolean): BabelNodeYieldExpression; + declare function awaitExpression(argument: BabelNodeExpression): BabelNodeAwaitExpression; + declare function _import(): BabelNodeImport; + declare export { _import as import } + declare function bigIntLiteral(value: string): BabelNodeBigIntLiteral; + declare function exportNamespaceSpecifier(exported: BabelNodeIdentifier): BabelNodeExportNamespaceSpecifier; + declare function optionalMemberExpression(object: BabelNodeExpression, property: BabelNodeExpression | BabelNodeIdentifier, computed?: boolean, optional: boolean): BabelNodeOptionalMemberExpression; + declare function optionalCallExpression(callee: BabelNodeExpression, _arguments: Array, optional: boolean): BabelNodeOptionalCallExpression; + declare function anyTypeAnnotation(): BabelNodeAnyTypeAnnotation; + declare function arrayTypeAnnotation(elementType: BabelNodeFlowType): BabelNodeArrayTypeAnnotation; + declare function booleanTypeAnnotation(): BabelNodeBooleanTypeAnnotation; + declare function booleanLiteralTypeAnnotation(value: boolean): BabelNodeBooleanLiteralTypeAnnotation; + declare function nullLiteralTypeAnnotation(): BabelNodeNullLiteralTypeAnnotation; + declare function classImplements(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterInstantiation): BabelNodeClassImplements; + declare function declareClass(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, _extends?: Array, body: BabelNodeObjectTypeAnnotation): BabelNodeDeclareClass; + declare function declareFunction(id: BabelNodeIdentifier): BabelNodeDeclareFunction; + declare function declareInterface(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, _extends?: Array, body: BabelNodeObjectTypeAnnotation): BabelNodeDeclareInterface; + declare function declareModule(id: BabelNodeIdentifier | BabelNodeStringLiteral, body: BabelNodeBlockStatement, kind?: "CommonJS" | "ES"): BabelNodeDeclareModule; + declare function declareModuleExports(typeAnnotation: BabelNodeTypeAnnotation): BabelNodeDeclareModuleExports; + declare function declareTypeAlias(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, right: BabelNodeFlowType): BabelNodeDeclareTypeAlias; + declare function declareOpaqueType(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, supertype?: BabelNodeFlowType): BabelNodeDeclareOpaqueType; + declare function declareVariable(id: BabelNodeIdentifier): BabelNodeDeclareVariable; + declare function declareExportDeclaration(declaration?: BabelNodeFlow, specifiers?: Array, source?: BabelNodeStringLiteral): BabelNodeDeclareExportDeclaration; + declare function declareExportAllDeclaration(source: BabelNodeStringLiteral): BabelNodeDeclareExportAllDeclaration; + declare function declaredPredicate(value: BabelNodeFlow): BabelNodeDeclaredPredicate; + declare function existsTypeAnnotation(): BabelNodeExistsTypeAnnotation; + declare function functionTypeAnnotation(typeParameters?: BabelNodeTypeParameterDeclaration, params: Array, rest?: BabelNodeFunctionTypeParam, returnType: BabelNodeFlowType): BabelNodeFunctionTypeAnnotation; + declare function functionTypeParam(name?: BabelNodeIdentifier, typeAnnotation: BabelNodeFlowType): BabelNodeFunctionTypeParam; + declare function genericTypeAnnotation(id: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier, typeParameters?: BabelNodeTypeParameterInstantiation): BabelNodeGenericTypeAnnotation; + declare function inferredPredicate(): BabelNodeInferredPredicate; + declare function interfaceExtends(id: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier, typeParameters?: BabelNodeTypeParameterInstantiation): BabelNodeInterfaceExtends; + declare function interfaceDeclaration(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, _extends?: Array, body: BabelNodeObjectTypeAnnotation): BabelNodeInterfaceDeclaration; + declare function interfaceTypeAnnotation(_extends?: Array, body: BabelNodeObjectTypeAnnotation): BabelNodeInterfaceTypeAnnotation; + declare function intersectionTypeAnnotation(types: Array): BabelNodeIntersectionTypeAnnotation; + declare function mixedTypeAnnotation(): BabelNodeMixedTypeAnnotation; + declare function emptyTypeAnnotation(): BabelNodeEmptyTypeAnnotation; + declare function nullableTypeAnnotation(typeAnnotation: BabelNodeFlowType): BabelNodeNullableTypeAnnotation; + declare function numberLiteralTypeAnnotation(value: number): BabelNodeNumberLiteralTypeAnnotation; + declare function numberTypeAnnotation(): BabelNodeNumberTypeAnnotation; + declare function objectTypeAnnotation(properties: Array, indexers?: Array, callProperties?: Array, internalSlots?: Array, exact?: boolean): BabelNodeObjectTypeAnnotation; + declare function objectTypeInternalSlot(id: BabelNodeIdentifier, value: BabelNodeFlowType, optional: boolean, _static: boolean, method: boolean): BabelNodeObjectTypeInternalSlot; + declare function objectTypeCallProperty(value: BabelNodeFlowType): BabelNodeObjectTypeCallProperty; + declare function objectTypeIndexer(id?: BabelNodeIdentifier, key: BabelNodeFlowType, value: BabelNodeFlowType, variance?: BabelNodeVariance): BabelNodeObjectTypeIndexer; + declare function objectTypeProperty(key: BabelNodeIdentifier | BabelNodeStringLiteral, value: BabelNodeFlowType, variance?: BabelNodeVariance): BabelNodeObjectTypeProperty; + declare function objectTypeSpreadProperty(argument: BabelNodeFlowType): BabelNodeObjectTypeSpreadProperty; + declare function opaqueType(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, supertype?: BabelNodeFlowType, impltype: BabelNodeFlowType): BabelNodeOpaqueType; + declare function qualifiedTypeIdentifier(id: BabelNodeIdentifier, qualification: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier): BabelNodeQualifiedTypeIdentifier; + declare function stringLiteralTypeAnnotation(value: string): BabelNodeStringLiteralTypeAnnotation; + declare function stringTypeAnnotation(): BabelNodeStringTypeAnnotation; + declare function symbolTypeAnnotation(): BabelNodeSymbolTypeAnnotation; + declare function thisTypeAnnotation(): BabelNodeThisTypeAnnotation; + declare function tupleTypeAnnotation(types: Array): BabelNodeTupleTypeAnnotation; + declare function typeofTypeAnnotation(argument: BabelNodeFlowType): BabelNodeTypeofTypeAnnotation; + declare function typeAlias(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, right: BabelNodeFlowType): BabelNodeTypeAlias; + declare function typeAnnotation(typeAnnotation: BabelNodeFlowType): BabelNodeTypeAnnotation; + declare function typeCastExpression(expression: BabelNodeExpression, typeAnnotation: BabelNodeTypeAnnotation): BabelNodeTypeCastExpression; + declare function typeParameter(bound?: BabelNodeTypeAnnotation, _default?: BabelNodeFlowType, variance?: BabelNodeVariance): BabelNodeTypeParameter; + declare function typeParameterDeclaration(params: Array): BabelNodeTypeParameterDeclaration; + declare function typeParameterInstantiation(params: Array): BabelNodeTypeParameterInstantiation; + declare function unionTypeAnnotation(types: Array): BabelNodeUnionTypeAnnotation; + declare function variance(kind: "minus" | "plus"): BabelNodeVariance; + declare function voidTypeAnnotation(): BabelNodeVoidTypeAnnotation; + declare function enumDeclaration(id: BabelNodeIdentifier, body: BabelNodeEnumBooleanBody | BabelNodeEnumNumberBody | BabelNodeEnumStringBody | BabelNodeEnumSymbolBody): BabelNodeEnumDeclaration; + declare function enumBooleanBody(members: Array): BabelNodeEnumBooleanBody; + declare function enumNumberBody(members: Array): BabelNodeEnumNumberBody; + declare function enumStringBody(members: Array): BabelNodeEnumStringBody; + declare function enumSymbolBody(members: Array): BabelNodeEnumSymbolBody; + declare function enumBooleanMember(id: BabelNodeIdentifier): BabelNodeEnumBooleanMember; + declare function enumNumberMember(id: BabelNodeIdentifier, init: BabelNodeNumericLiteral): BabelNodeEnumNumberMember; + declare function enumStringMember(id: BabelNodeIdentifier, init: BabelNodeStringLiteral): BabelNodeEnumStringMember; + declare function enumDefaultedMember(id: BabelNodeIdentifier): BabelNodeEnumDefaultedMember; + declare function jsxAttribute(name: BabelNodeJSXIdentifier | BabelNodeJSXNamespacedName, value?: BabelNodeJSXElement | BabelNodeJSXFragment | BabelNodeStringLiteral | BabelNodeJSXExpressionContainer): BabelNodeJSXAttribute; + declare function jsxClosingElement(name: BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName): BabelNodeJSXClosingElement; + declare function jsxElement(openingElement: BabelNodeJSXOpeningElement, closingElement?: BabelNodeJSXClosingElement, children: Array, selfClosing?: boolean): BabelNodeJSXElement; + declare function jsxEmptyExpression(): BabelNodeJSXEmptyExpression; + declare function jsxExpressionContainer(expression: BabelNodeExpression | BabelNodeJSXEmptyExpression): BabelNodeJSXExpressionContainer; + declare function jsxSpreadChild(expression: BabelNodeExpression): BabelNodeJSXSpreadChild; + declare function jsxIdentifier(name: string): BabelNodeJSXIdentifier; + declare function jsxMemberExpression(object: BabelNodeJSXMemberExpression | BabelNodeJSXIdentifier, property: BabelNodeJSXIdentifier): BabelNodeJSXMemberExpression; + declare function jsxNamespacedName(namespace: BabelNodeJSXIdentifier, name: BabelNodeJSXIdentifier): BabelNodeJSXNamespacedName; + declare function jsxOpeningElement(name: BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName, attributes: Array, selfClosing?: boolean): BabelNodeJSXOpeningElement; + declare function jsxSpreadAttribute(argument: BabelNodeExpression): BabelNodeJSXSpreadAttribute; + declare function jsxText(value: string): BabelNodeJSXText; + declare function jsxFragment(openingFragment: BabelNodeJSXOpeningFragment, closingFragment: BabelNodeJSXClosingFragment, children: Array): BabelNodeJSXFragment; + declare function jsxOpeningFragment(): BabelNodeJSXOpeningFragment; + declare function jsxClosingFragment(): BabelNodeJSXClosingFragment; + declare function noop(): BabelNodeNoop; + declare function placeholder(expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern", name: BabelNodeIdentifier): BabelNodePlaceholder; + declare function v8IntrinsicIdentifier(name: string): BabelNodeV8IntrinsicIdentifier; + declare function argumentPlaceholder(): BabelNodeArgumentPlaceholder; + declare function bindExpression(object: BabelNodeExpression, callee: BabelNodeExpression): BabelNodeBindExpression; + declare function classProperty(key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeExpression, value?: BabelNodeExpression, typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop, decorators?: Array, computed?: boolean, _static?: boolean): BabelNodeClassProperty; + declare function pipelineTopicExpression(expression: BabelNodeExpression): BabelNodePipelineTopicExpression; + declare function pipelineBareFunction(callee: BabelNodeExpression): BabelNodePipelineBareFunction; + declare function pipelinePrimaryTopicReference(): BabelNodePipelinePrimaryTopicReference; + declare function classPrivateProperty(key: BabelNodePrivateName, value?: BabelNodeExpression, decorators?: Array): BabelNodeClassPrivateProperty; + declare function classPrivateMethod(kind?: "get" | "set" | "method" | "constructor", key: BabelNodePrivateName, params: Array, body: BabelNodeBlockStatement, _static?: boolean): BabelNodeClassPrivateMethod; + declare function importAttribute(key: BabelNodeIdentifier, value: BabelNodeStringLiteral): BabelNodeImportAttribute; + declare function decorator(expression: BabelNodeExpression): BabelNodeDecorator; + declare function doExpression(body: BabelNodeBlockStatement): BabelNodeDoExpression; + declare function exportDefaultSpecifier(exported: BabelNodeIdentifier): BabelNodeExportDefaultSpecifier; + declare function privateName(id: BabelNodeIdentifier): BabelNodePrivateName; + declare function recordExpression(properties: Array): BabelNodeRecordExpression; + declare function tupleExpression(elements?: Array): BabelNodeTupleExpression; + declare function decimalLiteral(value: string): BabelNodeDecimalLiteral; + declare function tsParameterProperty(parameter: BabelNodeIdentifier | BabelNodeAssignmentPattern): BabelNodeTSParameterProperty; + declare function tsDeclareFunction(id?: BabelNodeIdentifier, typeParameters?: BabelNodeTSTypeParameterDeclaration | BabelNodeNoop, params: Array, returnType?: BabelNodeTSTypeAnnotation | BabelNodeNoop): BabelNodeTSDeclareFunction; + declare function tsDeclareMethod(decorators?: Array, key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeExpression, typeParameters?: BabelNodeTSTypeParameterDeclaration | BabelNodeNoop, params: Array, returnType?: BabelNodeTSTypeAnnotation | BabelNodeNoop): BabelNodeTSDeclareMethod; + declare function tsQualifiedName(left: BabelNodeTSEntityName, right: BabelNodeIdentifier): BabelNodeTSQualifiedName; + declare function tsCallSignatureDeclaration(typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: Array, typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSCallSignatureDeclaration; + declare function tsConstructSignatureDeclaration(typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: Array, typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSConstructSignatureDeclaration; + declare function tsPropertySignature(key: BabelNodeExpression, typeAnnotation?: BabelNodeTSTypeAnnotation, initializer?: BabelNodeExpression): BabelNodeTSPropertySignature; + declare function tsMethodSignature(key: BabelNodeExpression, typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: Array, typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSMethodSignature; + declare function tsIndexSignature(parameters: Array, typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSIndexSignature; + declare function tsAnyKeyword(): BabelNodeTSAnyKeyword; + declare function tsBooleanKeyword(): BabelNodeTSBooleanKeyword; + declare function tsBigIntKeyword(): BabelNodeTSBigIntKeyword; + declare function tsNeverKeyword(): BabelNodeTSNeverKeyword; + declare function tsNullKeyword(): BabelNodeTSNullKeyword; + declare function tsNumberKeyword(): BabelNodeTSNumberKeyword; + declare function tsObjectKeyword(): BabelNodeTSObjectKeyword; + declare function tsStringKeyword(): BabelNodeTSStringKeyword; + declare function tsSymbolKeyword(): BabelNodeTSSymbolKeyword; + declare function tsUndefinedKeyword(): BabelNodeTSUndefinedKeyword; + declare function tsUnknownKeyword(): BabelNodeTSUnknownKeyword; + declare function tsVoidKeyword(): BabelNodeTSVoidKeyword; + declare function tsThisType(): BabelNodeTSThisType; + declare function tsFunctionType(typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: Array, typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSFunctionType; + declare function tsConstructorType(typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: Array, typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSConstructorType; + declare function tsTypeReference(typeName: BabelNodeTSEntityName, typeParameters?: BabelNodeTSTypeParameterInstantiation): BabelNodeTSTypeReference; + declare function tsTypePredicate(parameterName: BabelNodeIdentifier | BabelNodeTSThisType, typeAnnotation?: BabelNodeTSTypeAnnotation, asserts?: boolean): BabelNodeTSTypePredicate; + declare function tsTypeQuery(exprName: BabelNodeTSEntityName | BabelNodeTSImportType): BabelNodeTSTypeQuery; + declare function tsTypeLiteral(members: Array): BabelNodeTSTypeLiteral; + declare function tsArrayType(elementType: BabelNodeTSType): BabelNodeTSArrayType; + declare function tsTupleType(elementTypes: Array): BabelNodeTSTupleType; + declare function tsOptionalType(typeAnnotation: BabelNodeTSType): BabelNodeTSOptionalType; + declare function tsRestType(typeAnnotation: BabelNodeTSType): BabelNodeTSRestType; + declare function tsNamedTupleMember(label: BabelNodeIdentifier, elementType: BabelNodeTSType, optional?: boolean): BabelNodeTSNamedTupleMember; + declare function tsUnionType(types: Array): BabelNodeTSUnionType; + declare function tsIntersectionType(types: Array): BabelNodeTSIntersectionType; + declare function tsConditionalType(checkType: BabelNodeTSType, extendsType: BabelNodeTSType, trueType: BabelNodeTSType, falseType: BabelNodeTSType): BabelNodeTSConditionalType; + declare function tsInferType(typeParameter: BabelNodeTSTypeParameter): BabelNodeTSInferType; + declare function tsParenthesizedType(typeAnnotation: BabelNodeTSType): BabelNodeTSParenthesizedType; + declare function tsTypeOperator(typeAnnotation: BabelNodeTSType): BabelNodeTSTypeOperator; + declare function tsIndexedAccessType(objectType: BabelNodeTSType, indexType: BabelNodeTSType): BabelNodeTSIndexedAccessType; + declare function tsMappedType(typeParameter: BabelNodeTSTypeParameter, typeAnnotation?: BabelNodeTSType): BabelNodeTSMappedType; + declare function tsLiteralType(literal: BabelNodeNumericLiteral | BabelNodeStringLiteral | BabelNodeBooleanLiteral | BabelNodeBigIntLiteral): BabelNodeTSLiteralType; + declare function tsExpressionWithTypeArguments(expression: BabelNodeTSEntityName, typeParameters?: BabelNodeTSTypeParameterInstantiation): BabelNodeTSExpressionWithTypeArguments; + declare function tsInterfaceDeclaration(id: BabelNodeIdentifier, typeParameters?: BabelNodeTSTypeParameterDeclaration, _extends?: Array, body: BabelNodeTSInterfaceBody): BabelNodeTSInterfaceDeclaration; + declare function tsInterfaceBody(body: Array): BabelNodeTSInterfaceBody; + declare function tsTypeAliasDeclaration(id: BabelNodeIdentifier, typeParameters?: BabelNodeTSTypeParameterDeclaration, typeAnnotation: BabelNodeTSType): BabelNodeTSTypeAliasDeclaration; + declare function tsAsExpression(expression: BabelNodeExpression, typeAnnotation: BabelNodeTSType): BabelNodeTSAsExpression; + declare function tsTypeAssertion(typeAnnotation: BabelNodeTSType, expression: BabelNodeExpression): BabelNodeTSTypeAssertion; + declare function tsEnumDeclaration(id: BabelNodeIdentifier, members: Array): BabelNodeTSEnumDeclaration; + declare function tsEnumMember(id: BabelNodeIdentifier | BabelNodeStringLiteral, initializer?: BabelNodeExpression): BabelNodeTSEnumMember; + declare function tsModuleDeclaration(id: BabelNodeIdentifier | BabelNodeStringLiteral, body: BabelNodeTSModuleBlock | BabelNodeTSModuleDeclaration): BabelNodeTSModuleDeclaration; + declare function tsModuleBlock(body: Array): BabelNodeTSModuleBlock; + declare function tsImportType(argument: BabelNodeStringLiteral, qualifier?: BabelNodeTSEntityName, typeParameters?: BabelNodeTSTypeParameterInstantiation): BabelNodeTSImportType; + declare function tsImportEqualsDeclaration(id: BabelNodeIdentifier, moduleReference: BabelNodeTSEntityName | BabelNodeTSExternalModuleReference): BabelNodeTSImportEqualsDeclaration; + declare function tsExternalModuleReference(expression: BabelNodeStringLiteral): BabelNodeTSExternalModuleReference; + declare function tsNonNullExpression(expression: BabelNodeExpression): BabelNodeTSNonNullExpression; + declare function tsExportAssignment(expression: BabelNodeExpression): BabelNodeTSExportAssignment; + declare function tsNamespaceExportDeclaration(id: BabelNodeIdentifier): BabelNodeTSNamespaceExportDeclaration; + declare function tsTypeAnnotation(typeAnnotation: BabelNodeTSType): BabelNodeTSTypeAnnotation; + declare function tsTypeParameterInstantiation(params: Array): BabelNodeTSTypeParameterInstantiation; + declare function tsTypeParameterDeclaration(params: Array): BabelNodeTSTypeParameterDeclaration; + declare function tsTypeParameter(constraint?: BabelNodeTSType, _default?: BabelNodeTSType, name: string): BabelNodeTSTypeParameter; + declare function isArrayExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArrayExpression) + declare function isAssignmentExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeAssignmentExpression) + declare function isBinaryExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBinaryExpression) + declare function isInterpreterDirective(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInterpreterDirective) + declare function isDirective(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDirective) + declare function isDirectiveLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDirectiveLiteral) + declare function isBlockStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBlockStatement) + declare function isBreakStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBreakStatement) + declare function isCallExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeCallExpression) + declare function isCatchClause(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeCatchClause) + declare function isConditionalExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeConditionalExpression) + declare function isContinueStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeContinueStatement) + declare function isDebuggerStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDebuggerStatement) + declare function isDoWhileStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDoWhileStatement) + declare function isEmptyStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEmptyStatement) + declare function isExpressionStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExpressionStatement) + declare function isFile(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFile) + declare function isForInStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeForInStatement) + declare function isForStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeForStatement) + declare function isFunctionDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFunctionDeclaration) + declare function isFunctionExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFunctionExpression) + declare function isIdentifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeIdentifier) + declare function isIfStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeIfStatement) + declare function isLabeledStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeLabeledStatement) + declare function isStringLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeStringLiteral) + declare function isNumericLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNumericLiteral) + declare function isNullLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNullLiteral) + declare function isBooleanLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBooleanLiteral) + declare function isRegExpLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeRegExpLiteral) + declare function isLogicalExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeLogicalExpression) + declare function isMemberExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeMemberExpression) + declare function isNewExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNewExpression) + declare function isProgram(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeProgram) + declare function isObjectExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectExpression) + declare function isObjectMethod(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectMethod) + declare function isObjectProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectProperty) + declare function isRestElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeRestElement) + declare function isReturnStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeReturnStatement) + declare function isSequenceExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSequenceExpression) + declare function isParenthesizedExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeParenthesizedExpression) + declare function isSwitchCase(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSwitchCase) + declare function isSwitchStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSwitchStatement) + declare function isThisExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeThisExpression) + declare function isThrowStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeThrowStatement) + declare function isTryStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTryStatement) + declare function isUnaryExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeUnaryExpression) + declare function isUpdateExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeUpdateExpression) + declare function isVariableDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeVariableDeclaration) + declare function isVariableDeclarator(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeVariableDeclarator) + declare function isWhileStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeWhileStatement) + declare function isWithStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeWithStatement) + declare function isAssignmentPattern(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeAssignmentPattern) + declare function isArrayPattern(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArrayPattern) + declare function isArrowFunctionExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArrowFunctionExpression) + declare function isClassBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassBody) + declare function isClassExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassExpression) + declare function isClassDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassDeclaration) + declare function isExportAllDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportAllDeclaration) + declare function isExportDefaultDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportDefaultDeclaration) + declare function isExportNamedDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportNamedDeclaration) + declare function isExportSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportSpecifier) + declare function isForOfStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeForOfStatement) + declare function isImportDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportDeclaration) + declare function isImportDefaultSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportDefaultSpecifier) + declare function isImportNamespaceSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportNamespaceSpecifier) + declare function isImportSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportSpecifier) + declare function isMetaProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeMetaProperty) + declare function isClassMethod(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassMethod) + declare function isObjectPattern(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectPattern) + declare function isSpreadElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSpreadElement) + declare function isSuper(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSuper) + declare function isTaggedTemplateExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTaggedTemplateExpression) + declare function isTemplateElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTemplateElement) + declare function isTemplateLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTemplateLiteral) + declare function isYieldExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeYieldExpression) + declare function isAwaitExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeAwaitExpression) + declare function isImport(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImport) + declare function isBigIntLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBigIntLiteral) + declare function isExportNamespaceSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportNamespaceSpecifier) + declare function isOptionalMemberExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeOptionalMemberExpression) + declare function isOptionalCallExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeOptionalCallExpression) + declare function isAnyTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeAnyTypeAnnotation) + declare function isArrayTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArrayTypeAnnotation) + declare function isBooleanTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBooleanTypeAnnotation) + declare function isBooleanLiteralTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBooleanLiteralTypeAnnotation) + declare function isNullLiteralTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNullLiteralTypeAnnotation) + declare function isClassImplements(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassImplements) + declare function isDeclareClass(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareClass) + declare function isDeclareFunction(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareFunction) + declare function isDeclareInterface(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareInterface) + declare function isDeclareModule(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareModule) + declare function isDeclareModuleExports(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareModuleExports) + declare function isDeclareTypeAlias(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareTypeAlias) + declare function isDeclareOpaqueType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareOpaqueType) + declare function isDeclareVariable(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareVariable) + declare function isDeclareExportDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareExportDeclaration) + declare function isDeclareExportAllDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareExportAllDeclaration) + declare function isDeclaredPredicate(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclaredPredicate) + declare function isExistsTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExistsTypeAnnotation) + declare function isFunctionTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFunctionTypeAnnotation) + declare function isFunctionTypeParam(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFunctionTypeParam) + declare function isGenericTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeGenericTypeAnnotation) + declare function isInferredPredicate(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInferredPredicate) + declare function isInterfaceExtends(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInterfaceExtends) + declare function isInterfaceDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInterfaceDeclaration) + declare function isInterfaceTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInterfaceTypeAnnotation) + declare function isIntersectionTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeIntersectionTypeAnnotation) + declare function isMixedTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeMixedTypeAnnotation) + declare function isEmptyTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEmptyTypeAnnotation) + declare function isNullableTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNullableTypeAnnotation) + declare function isNumberLiteralTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNumberLiteralTypeAnnotation) + declare function isNumberTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNumberTypeAnnotation) + declare function isObjectTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeAnnotation) + declare function isObjectTypeInternalSlot(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeInternalSlot) + declare function isObjectTypeCallProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeCallProperty) + declare function isObjectTypeIndexer(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeIndexer) + declare function isObjectTypeProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeProperty) + declare function isObjectTypeSpreadProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeSpreadProperty) + declare function isOpaqueType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeOpaqueType) + declare function isQualifiedTypeIdentifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeQualifiedTypeIdentifier) + declare function isStringLiteralTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeStringLiteralTypeAnnotation) + declare function isStringTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeStringTypeAnnotation) + declare function isSymbolTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSymbolTypeAnnotation) + declare function isThisTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeThisTypeAnnotation) + declare function isTupleTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTupleTypeAnnotation) + declare function isTypeofTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeofTypeAnnotation) + declare function isTypeAlias(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeAlias) + declare function isTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeAnnotation) + declare function isTypeCastExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeCastExpression) + declare function isTypeParameter(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeParameter) + declare function isTypeParameterDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeParameterDeclaration) + declare function isTypeParameterInstantiation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeParameterInstantiation) + declare function isUnionTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeUnionTypeAnnotation) + declare function isVariance(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeVariance) + declare function isVoidTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeVoidTypeAnnotation) + declare function isEnumDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumDeclaration) + declare function isEnumBooleanBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumBooleanBody) + declare function isEnumNumberBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumNumberBody) + declare function isEnumStringBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumStringBody) + declare function isEnumSymbolBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumSymbolBody) + declare function isEnumBooleanMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumBooleanMember) + declare function isEnumNumberMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumNumberMember) + declare function isEnumStringMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumStringMember) + declare function isEnumDefaultedMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumDefaultedMember) + declare function isJSXAttribute(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXAttribute) + declare function isJSXClosingElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXClosingElement) + declare function isJSXElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXElement) + declare function isJSXEmptyExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXEmptyExpression) + declare function isJSXExpressionContainer(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXExpressionContainer) + declare function isJSXSpreadChild(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXSpreadChild) + declare function isJSXIdentifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXIdentifier) + declare function isJSXMemberExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXMemberExpression) + declare function isJSXNamespacedName(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXNamespacedName) + declare function isJSXOpeningElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXOpeningElement) + declare function isJSXSpreadAttribute(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXSpreadAttribute) + declare function isJSXText(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXText) + declare function isJSXFragment(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXFragment) + declare function isJSXOpeningFragment(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXOpeningFragment) + declare function isJSXClosingFragment(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXClosingFragment) + declare function isNoop(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNoop) + declare function isPlaceholder(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePlaceholder) + declare function isV8IntrinsicIdentifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeV8IntrinsicIdentifier) + declare function isArgumentPlaceholder(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArgumentPlaceholder) + declare function isBindExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBindExpression) + declare function isClassProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassProperty) + declare function isPipelineTopicExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePipelineTopicExpression) + declare function isPipelineBareFunction(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePipelineBareFunction) + declare function isPipelinePrimaryTopicReference(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePipelinePrimaryTopicReference) + declare function isClassPrivateProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassPrivateProperty) + declare function isClassPrivateMethod(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassPrivateMethod) + declare function isImportAttribute(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportAttribute) + declare function isDecorator(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDecorator) + declare function isDoExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDoExpression) + declare function isExportDefaultSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportDefaultSpecifier) + declare function isPrivateName(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePrivateName) + declare function isRecordExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeRecordExpression) + declare function isTupleExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTupleExpression) + declare function isDecimalLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDecimalLiteral) + declare function isTSParameterProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSParameterProperty) + declare function isTSDeclareFunction(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSDeclareFunction) + declare function isTSDeclareMethod(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSDeclareMethod) + declare function isTSQualifiedName(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSQualifiedName) + declare function isTSCallSignatureDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSCallSignatureDeclaration) + declare function isTSConstructSignatureDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSConstructSignatureDeclaration) + declare function isTSPropertySignature(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSPropertySignature) + declare function isTSMethodSignature(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSMethodSignature) + declare function isTSIndexSignature(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSIndexSignature) + declare function isTSAnyKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSAnyKeyword) + declare function isTSBooleanKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSBooleanKeyword) + declare function isTSBigIntKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSBigIntKeyword) + declare function isTSNeverKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNeverKeyword) + declare function isTSNullKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNullKeyword) + declare function isTSNumberKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNumberKeyword) + declare function isTSObjectKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSObjectKeyword) + declare function isTSStringKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSStringKeyword) + declare function isTSSymbolKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSSymbolKeyword) + declare function isTSUndefinedKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSUndefinedKeyword) + declare function isTSUnknownKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSUnknownKeyword) + declare function isTSVoidKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSVoidKeyword) + declare function isTSThisType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSThisType) + declare function isTSFunctionType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSFunctionType) + declare function isTSConstructorType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSConstructorType) + declare function isTSTypeReference(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeReference) + declare function isTSTypePredicate(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypePredicate) + declare function isTSTypeQuery(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeQuery) + declare function isTSTypeLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeLiteral) + declare function isTSArrayType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSArrayType) + declare function isTSTupleType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTupleType) + declare function isTSOptionalType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSOptionalType) + declare function isTSRestType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSRestType) + declare function isTSNamedTupleMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNamedTupleMember) + declare function isTSUnionType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSUnionType) + declare function isTSIntersectionType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSIntersectionType) + declare function isTSConditionalType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSConditionalType) + declare function isTSInferType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSInferType) + declare function isTSParenthesizedType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSParenthesizedType) + declare function isTSTypeOperator(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeOperator) + declare function isTSIndexedAccessType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSIndexedAccessType) + declare function isTSMappedType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSMappedType) + declare function isTSLiteralType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSLiteralType) + declare function isTSExpressionWithTypeArguments(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSExpressionWithTypeArguments) + declare function isTSInterfaceDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSInterfaceDeclaration) + declare function isTSInterfaceBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSInterfaceBody) + declare function isTSTypeAliasDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeAliasDeclaration) + declare function isTSAsExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSAsExpression) + declare function isTSTypeAssertion(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeAssertion) + declare function isTSEnumDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSEnumDeclaration) + declare function isTSEnumMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSEnumMember) + declare function isTSModuleDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSModuleDeclaration) + declare function isTSModuleBlock(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSModuleBlock) + declare function isTSImportType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSImportType) + declare function isTSImportEqualsDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSImportEqualsDeclaration) + declare function isTSExternalModuleReference(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSExternalModuleReference) + declare function isTSNonNullExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNonNullExpression) + declare function isTSExportAssignment(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSExportAssignment) + declare function isTSNamespaceExportDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNamespaceExportDeclaration) + declare function isTSTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeAnnotation) + declare function isTSTypeParameterInstantiation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeParameterInstantiation) + declare function isTSTypeParameterDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeParameterDeclaration) + declare function isTSTypeParameter(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeParameter) + declare function isExpression(node: ?Object, opts?: ?Object): boolean + declare function isBinary(node: ?Object, opts?: ?Object): boolean + declare function isScopable(node: ?Object, opts?: ?Object): boolean + declare function isBlockParent(node: ?Object, opts?: ?Object): boolean + declare function isBlock(node: ?Object, opts?: ?Object): boolean + declare function isStatement(node: ?Object, opts?: ?Object): boolean + declare function isTerminatorless(node: ?Object, opts?: ?Object): boolean + declare function isCompletionStatement(node: ?Object, opts?: ?Object): boolean + declare function isConditional(node: ?Object, opts?: ?Object): boolean + declare function isLoop(node: ?Object, opts?: ?Object): boolean + declare function isWhile(node: ?Object, opts?: ?Object): boolean + declare function isExpressionWrapper(node: ?Object, opts?: ?Object): boolean + declare function isFor(node: ?Object, opts?: ?Object): boolean + declare function isForXStatement(node: ?Object, opts?: ?Object): boolean + declare function isFunction(node: ?Object, opts?: ?Object): boolean + declare function isFunctionParent(node: ?Object, opts?: ?Object): boolean + declare function isPureish(node: ?Object, opts?: ?Object): boolean + declare function isDeclaration(node: ?Object, opts?: ?Object): boolean + declare function isPatternLike(node: ?Object, opts?: ?Object): boolean + declare function isLVal(node: ?Object, opts?: ?Object): boolean + declare function isTSEntityName(node: ?Object, opts?: ?Object): boolean + declare function isLiteral(node: ?Object, opts?: ?Object): boolean + declare function isImmutable(node: ?Object, opts?: ?Object): boolean + declare function isUserWhitespacable(node: ?Object, opts?: ?Object): boolean + declare function isMethod(node: ?Object, opts?: ?Object): boolean + declare function isObjectMember(node: ?Object, opts?: ?Object): boolean + declare function isProperty(node: ?Object, opts?: ?Object): boolean + declare function isUnaryLike(node: ?Object, opts?: ?Object): boolean + declare function isPattern(node: ?Object, opts?: ?Object): boolean + declare function isClass(node: ?Object, opts?: ?Object): boolean + declare function isModuleDeclaration(node: ?Object, opts?: ?Object): boolean + declare function isExportDeclaration(node: ?Object, opts?: ?Object): boolean + declare function isModuleSpecifier(node: ?Object, opts?: ?Object): boolean + declare function isFlow(node: ?Object, opts?: ?Object): boolean + declare function isFlowType(node: ?Object, opts?: ?Object): boolean + declare function isFlowBaseAnnotation(node: ?Object, opts?: ?Object): boolean + declare function isFlowDeclaration(node: ?Object, opts?: ?Object): boolean + declare function isFlowPredicate(node: ?Object, opts?: ?Object): boolean + declare function isEnumBody(node: ?Object, opts?: ?Object): boolean + declare function isEnumMember(node: ?Object, opts?: ?Object): boolean + declare function isJSX(node: ?Object, opts?: ?Object): boolean + declare function isPrivate(node: ?Object, opts?: ?Object): boolean + declare function isTSTypeElement(node: ?Object, opts?: ?Object): boolean + declare function isTSType(node: ?Object, opts?: ?Object): boolean + declare function isTSBaseType(node: ?Object, opts?: ?Object): boolean + declare function isNumberLiteral(node: ?Object, opts?: ?Object): boolean + declare function isRegexLiteral(node: ?Object, opts?: ?Object): boolean + declare function isRestProperty(node: ?Object, opts?: ?Object): boolean + declare function isSpreadProperty(node: ?Object, opts?: ?Object): boolean + declare function createTypeAnnotationBasedOnTypeof(type: 'string' | 'number' | 'undefined' | 'boolean' | 'function' | 'object' | 'symbol'): BabelNodeTypeAnnotation + declare function createUnionTypeAnnotation(types: Array): BabelNodeUnionTypeAnnotation + declare function createFlowUnionType(types: Array): BabelNodeUnionTypeAnnotation + declare function buildChildren(node: { children: Array }): Array + declare function clone(n: T): T; + declare function cloneDeep(n: T): T; + declare function cloneDeepWithoutLoc(n: T): T; + declare function cloneNode(n: T, deep?: boolean, withoutLoc?: boolean): T; + declare function cloneWithoutLoc(n: T): T; + declare type CommentTypeShorthand = 'leading' | 'inner' | 'trailing' + declare function addComment(node: T, type: CommentTypeShorthand, content: string, line?: boolean): T + declare function addComments(node: T, type: CommentTypeShorthand, comments: Array): T + declare function inheritInnerComments(node: Node, parent: Node): void + declare function inheritLeadingComments(node: Node, parent: Node): void + declare function inheritsComments(node: T, parent: Node): void + declare function inheritTrailingComments(node: Node, parent: Node): void + declare function removeComments(node: T): T + declare function ensureBlock(node: BabelNode, key: string): BabelNodeBlockStatement + declare function toBindingIdentifierName(name?: ?string): string + declare function toBlock(node: BabelNodeStatement | BabelNodeExpression, parent?: BabelNodeFunction | null): BabelNodeBlockStatement + declare function toComputedKey(node: BabelNodeMethod | BabelNodeProperty, key?: BabelNodeExpression | BabelNodeIdentifier): BabelNodeExpression + declare function toExpression(node: BabelNodeExpressionStatement | BabelNodeExpression | BabelNodeClass | BabelNodeFunction): BabelNodeExpression + declare function toIdentifier(name?: ?string): string + declare function toKeyAlias(node: BabelNodeMethod | BabelNodeProperty, key?: BabelNode): string + declare function toStatement(node: BabelNodeStatement | BabelNodeClass | BabelNodeFunction | BabelNodeAssignmentExpression, ignore?: boolean): BabelNodeStatement | void + declare function valueToNode(value: any): BabelNodeExpression + declare function removeTypeDuplicates(types: Array): Array + declare function appendToMemberExpression(member: BabelNodeMemberExpression, append: BabelNode, computed?: boolean): BabelNodeMemberExpression + declare function inherits(child: T, parent: BabelNode | null | void): T + declare function prependToMemberExpression(member: BabelNodeMemberExpression, prepend: BabelNodeExpression): BabelNodeMemberExpression + declare function removeProperties(n: T, opts: ?{}): void; + declare function removePropertiesDeep(n: T, opts: ?{}): T; + declare function getBindingIdentifiers(node: BabelNode, duplicates: boolean, outerOnly?: boolean): { [key: string]: BabelNodeIdentifier | Array } + declare function getOuterBindingIdentifiers(node: Node, duplicates: boolean): { [key: string]: BabelNodeIdentifier | Array } + declare type TraversalAncestors = Array<{ + node: BabelNode, + key: string, + index?: number, + }>; + declare type TraversalHandler = (BabelNode, TraversalAncestors, T) => void; + declare type TraversalHandlers = { + enter?: TraversalHandler, + exit?: TraversalHandler, + }; + declare function traverse(n: BabelNode, TraversalHandler | TraversalHandlers, state?: T): void; + declare function traverseFast(n: Node, h: TraversalHandler, state?: T): void; + declare function shallowEqual(actual: Object, expected: Object): boolean + declare function buildMatchMemberExpression(match: string, allowPartial?: boolean): (?BabelNode) => boolean + declare function is(type: string, n: BabelNode, opts: Object): boolean; + declare function isBinding(node: BabelNode, parent: BabelNode, grandparent?: BabelNode): boolean + declare function isBlockScoped(node: BabelNode): boolean + declare function isImmutable(node: BabelNode): boolean + declare function isLet(node: BabelNode): boolean + declare function isNode(node: ?Object): boolean + declare function isNodesEquivalent(a: any, b: any): boolean + declare function isPlaceholderType(placeholderType: string, targetType: string): boolean + declare function isReferenced(node: BabelNode, parent: BabelNode, grandparent?: BabelNode): boolean + declare function isScope(node: BabelNode, parent: BabelNode): boolean + declare function isSpecifierDefault(specifier: BabelNodeModuleSpecifier): boolean + declare function isType(nodetype: ?string, targetType: string): boolean + declare function isValidES3Identifier(name: string): boolean + declare function isValidES3Identifier(name: string): boolean + declare function isValidIdentifier(name: string): boolean + declare function isVar(node: BabelNode): boolean + declare function matchesPattern(node: ?BabelNode, match: string | Array, allowPartial?: boolean): boolean + declare function validate(n: BabelNode, key: string, value: mixed): void; +} diff --git a/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js b/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js new file mode 100644 index 000000000..6a0ac93c5 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js @@ -0,0 +1,15 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = appendToMemberExpression; + +var _generated = require("../builders/generated"); + +function appendToMemberExpression(member, append, computed = false) { + member.object = (0, _generated.memberExpression)(member.object, member.property, member.computed); + member.property = append; + member.computed = !!computed; + return member; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js b/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js new file mode 100644 index 000000000..580268399 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js @@ -0,0 +1,74 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = removeTypeDuplicates; + +var _generated = require("../../validators/generated"); + +function removeTypeDuplicates(nodes) { + const generics = {}; + const bases = {}; + const typeGroups = []; + const types = []; + + for (let i = 0; i < nodes.length; i++) { + const node = nodes[i]; + if (!node) continue; + + if (types.indexOf(node) >= 0) { + continue; + } + + if ((0, _generated.isAnyTypeAnnotation)(node)) { + return [node]; + } + + if ((0, _generated.isFlowBaseAnnotation)(node)) { + bases[node.type] = node; + continue; + } + + if ((0, _generated.isUnionTypeAnnotation)(node)) { + if (typeGroups.indexOf(node.types) < 0) { + nodes = nodes.concat(node.types); + typeGroups.push(node.types); + } + + continue; + } + + if ((0, _generated.isGenericTypeAnnotation)(node)) { + const name = node.id.name; + + if (generics[name]) { + let existing = generics[name]; + + if (existing.typeParameters) { + if (node.typeParameters) { + existing.typeParameters.params = removeTypeDuplicates(existing.typeParameters.params.concat(node.typeParameters.params)); + } + } else { + existing = node.typeParameters; + } + } else { + generics[name] = node; + } + + continue; + } + + types.push(node); + } + + for (const type of Object.keys(bases)) { + types.push(bases[type]); + } + + for (const name of Object.keys(generics)) { + types.push(generics[name]); + } + + return types; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/inherits.js b/node_modules/@babel/types/lib/modifications/inherits.js new file mode 100644 index 000000000..64d72fcf2 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/inherits.js @@ -0,0 +1,33 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = inherits; + +var _constants = require("../constants"); + +var _inheritsComments = _interopRequireDefault(require("../comments/inheritsComments")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function inherits(child, parent) { + if (!child || !parent) return child; + + for (const key of _constants.INHERIT_KEYS.optional) { + if (child[key] == null) { + child[key] = parent[key]; + } + } + + for (const key of Object.keys(parent)) { + if (key[0] === "_" && key !== "__clone") child[key] = parent[key]; + } + + for (const key of _constants.INHERIT_KEYS.force) { + child[key] = parent[key]; + } + + (0, _inheritsComments.default)(child, parent); + return child; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js b/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js new file mode 100644 index 000000000..ee6de0ec3 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js @@ -0,0 +1,13 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = prependToMemberExpression; + +var _generated = require("../builders/generated"); + +function prependToMemberExpression(member, prepend) { + member.object = (0, _generated.memberExpression)(prepend, member.object); + return member; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/removeProperties.js b/node_modules/@babel/types/lib/modifications/removeProperties.js new file mode 100644 index 000000000..f9cf8e606 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/removeProperties.js @@ -0,0 +1,30 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = removeProperties; + +var _constants = require("../constants"); + +const CLEAR_KEYS = ["tokens", "start", "end", "loc", "raw", "rawValue"]; + +const CLEAR_KEYS_PLUS_COMMENTS = _constants.COMMENT_KEYS.concat(["comments"]).concat(CLEAR_KEYS); + +function removeProperties(node, opts = {}) { + const map = opts.preserveComments ? CLEAR_KEYS : CLEAR_KEYS_PLUS_COMMENTS; + + for (const key of map) { + if (node[key] != null) node[key] = undefined; + } + + for (const key of Object.keys(node)) { + if (key[0] === "_" && node[key] != null) node[key] = undefined; + } + + const symbols = Object.getOwnPropertySymbols(node); + + for (const sym of symbols) { + node[sym] = null; + } +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js b/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js new file mode 100644 index 000000000..d11a84a83 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js @@ -0,0 +1,17 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = removePropertiesDeep; + +var _traverseFast = _interopRequireDefault(require("../traverse/traverseFast")); + +var _removeProperties = _interopRequireDefault(require("./removeProperties")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function removePropertiesDeep(tree, opts) { + (0, _traverseFast.default)(tree, _removeProperties.default, opts); + return tree; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js b/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js new file mode 100644 index 000000000..5eca7e1f4 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js @@ -0,0 +1,54 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = removeTypeDuplicates; + +var _generated = require("../../validators/generated"); + +function removeTypeDuplicates(nodes) { + const generics = {}; + const bases = {}; + const typeGroups = []; + const types = []; + + for (let i = 0; i < nodes.length; i++) { + const node = nodes[i]; + if (!node) continue; + + if (types.indexOf(node) >= 0) { + continue; + } + + if ((0, _generated.isTSAnyKeyword)(node.type)) { + return [node]; + } + + if ((0, _generated.isTSBaseType)(node)) { + bases[node.type] = node; + continue; + } + + if ((0, _generated.isTSUnionType)(node)) { + if (typeGroups.indexOf(node.types) < 0) { + nodes = nodes.concat(node.types); + typeGroups.push(node.types); + } + + continue; + } + + types.push(node); + } + + for (const type of Object.keys(bases)) { + types.push(bases[type]); + } + + for (const name of Object.keys(generics)) { + types.push(generics[name]); + } + + return types; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js b/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js new file mode 100644 index 000000000..189f4b8eb --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js @@ -0,0 +1,103 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getBindingIdentifiers; + +var _generated = require("../validators/generated"); + +function getBindingIdentifiers(node, duplicates, outerOnly) { + let search = [].concat(node); + const ids = Object.create(null); + + while (search.length) { + const id = search.shift(); + if (!id) continue; + const keys = getBindingIdentifiers.keys[id.type]; + + if ((0, _generated.isIdentifier)(id)) { + if (duplicates) { + const _ids = ids[id.name] = ids[id.name] || []; + + _ids.push(id); + } else { + ids[id.name] = id; + } + + continue; + } + + if ((0, _generated.isExportDeclaration)(id)) { + if ((0, _generated.isDeclaration)(id.declaration)) { + search.push(id.declaration); + } + + continue; + } + + if (outerOnly) { + if ((0, _generated.isFunctionDeclaration)(id)) { + search.push(id.id); + continue; + } + + if ((0, _generated.isFunctionExpression)(id)) { + continue; + } + } + + if (keys) { + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + + if (id[key]) { + search = search.concat(id[key]); + } + } + } + } + + return ids; +} + +getBindingIdentifiers.keys = { + DeclareClass: ["id"], + DeclareFunction: ["id"], + DeclareModule: ["id"], + DeclareVariable: ["id"], + DeclareInterface: ["id"], + DeclareTypeAlias: ["id"], + DeclareOpaqueType: ["id"], + InterfaceDeclaration: ["id"], + TypeAlias: ["id"], + OpaqueType: ["id"], + CatchClause: ["param"], + LabeledStatement: ["label"], + UnaryExpression: ["argument"], + AssignmentExpression: ["left"], + ImportSpecifier: ["local"], + ImportNamespaceSpecifier: ["local"], + ImportDefaultSpecifier: ["local"], + ImportDeclaration: ["specifiers"], + ExportSpecifier: ["exported"], + ExportNamespaceSpecifier: ["exported"], + ExportDefaultSpecifier: ["exported"], + FunctionDeclaration: ["id", "params"], + FunctionExpression: ["id", "params"], + ArrowFunctionExpression: ["params"], + ObjectMethod: ["params"], + ClassMethod: ["params"], + ForInStatement: ["left"], + ForOfStatement: ["left"], + ClassDeclaration: ["id"], + ClassExpression: ["id"], + RestElement: ["argument"], + UpdateExpression: ["argument"], + ObjectProperty: ["value"], + AssignmentPattern: ["left"], + ArrayPattern: ["elements"], + ObjectPattern: ["properties"], + VariableDeclaration: ["declarations"], + VariableDeclarator: ["id"] +}; \ No newline at end of file diff --git a/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js b/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js new file mode 100644 index 000000000..8e1e3cb20 --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getOuterBindingIdentifiers; + +var _getBindingIdentifiers = _interopRequireDefault(require("./getBindingIdentifiers")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function getOuterBindingIdentifiers(node, duplicates) { + return (0, _getBindingIdentifiers.default)(node, duplicates, true); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/traverse/traverse.js b/node_modules/@babel/types/lib/traverse/traverse.js new file mode 100644 index 000000000..775aed1ee --- /dev/null +++ b/node_modules/@babel/types/lib/traverse/traverse.js @@ -0,0 +1,55 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = traverse; + +var _definitions = require("../definitions"); + +function traverse(node, handlers, state) { + if (typeof handlers === "function") { + handlers = { + enter: handlers + }; + } + + const { + enter, + exit + } = handlers; + traverseSimpleImpl(node, enter, exit, state, []); +} + +function traverseSimpleImpl(node, enter, exit, state, ancestors) { + const keys = _definitions.VISITOR_KEYS[node.type]; + if (!keys) return; + if (enter) enter(node, ancestors, state); + + for (const key of keys) { + const subNode = node[key]; + + if (Array.isArray(subNode)) { + for (let i = 0; i < subNode.length; i++) { + const child = subNode[i]; + if (!child) continue; + ancestors.push({ + node, + key, + index: i + }); + traverseSimpleImpl(child, enter, exit, state, ancestors); + ancestors.pop(); + } + } else if (subNode) { + ancestors.push({ + node, + key + }); + traverseSimpleImpl(subNode, enter, exit, state, ancestors); + ancestors.pop(); + } + } + + if (exit) exit(node, ancestors, state); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/traverse/traverseFast.js b/node_modules/@babel/types/lib/traverse/traverseFast.js new file mode 100644 index 000000000..f038dd835 --- /dev/null +++ b/node_modules/@babel/types/lib/traverse/traverseFast.js @@ -0,0 +1,28 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = traverseFast; + +var _definitions = require("../definitions"); + +function traverseFast(node, enter, opts) { + if (!node) return; + const keys = _definitions.VISITOR_KEYS[node.type]; + if (!keys) return; + opts = opts || {}; + enter(node, opts); + + for (const key of keys) { + const subNode = node[key]; + + if (Array.isArray(subNode)) { + for (const node of subNode) { + traverseFast(node, enter, opts); + } + } else { + traverseFast(subNode, enter, opts); + } + } +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/utils/inherit.js b/node_modules/@babel/types/lib/utils/inherit.js new file mode 100644 index 000000000..35f338124 --- /dev/null +++ b/node_modules/@babel/types/lib/utils/inherit.js @@ -0,0 +1,12 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = inherit; + +function inherit(key, child, parent) { + if (child && parent) { + child[key] = Array.from(new Set([].concat(child[key], parent[key]).filter(Boolean))); + } +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js b/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js new file mode 100644 index 000000000..f0ca13369 --- /dev/null +++ b/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js @@ -0,0 +1,47 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = cleanJSXElementLiteralChild; + +var _generated = require("../../builders/generated"); + +function cleanJSXElementLiteralChild(child, args) { + const lines = child.value.split(/\r\n|\n|\r/); + let lastNonEmptyLine = 0; + + for (let i = 0; i < lines.length; i++) { + if (lines[i].match(/[^ \t]/)) { + lastNonEmptyLine = i; + } + } + + let str = ""; + + for (let i = 0; i < lines.length; i++) { + const line = lines[i]; + const isFirstLine = i === 0; + const isLastLine = i === lines.length - 1; + const isLastNonEmptyLine = i === lastNonEmptyLine; + let trimmedLine = line.replace(/\t/g, " "); + + if (!isFirstLine) { + trimmedLine = trimmedLine.replace(/^[ ]+/, ""); + } + + if (!isLastLine) { + trimmedLine = trimmedLine.replace(/[ ]+$/, ""); + } + + if (trimmedLine) { + if (!isLastNonEmptyLine) { + trimmedLine += " "; + } + + str += trimmedLine; + } + } + + if (str) args.push((0, _generated.stringLiteral)(str)); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/utils/shallowEqual.js b/node_modules/@babel/types/lib/utils/shallowEqual.js new file mode 100644 index 000000000..fae259e4f --- /dev/null +++ b/node_modules/@babel/types/lib/utils/shallowEqual.js @@ -0,0 +1,18 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = shallowEqual; + +function shallowEqual(actual, expected) { + const keys = Object.keys(expected); + + for (const key of keys) { + if (actual[key] !== expected[key]) { + return false; + } + } + + return true; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js b/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js new file mode 100644 index 000000000..0faa29c5d --- /dev/null +++ b/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js @@ -0,0 +1,15 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = buildMatchMemberExpression; + +var _matchesPattern = _interopRequireDefault(require("./matchesPattern")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function buildMatchMemberExpression(match, allowPartial) { + const parts = match.split("."); + return member => (0, _matchesPattern.default)(member, parts, allowPartial); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/generated/index.js b/node_modules/@babel/types/lib/validators/generated/index.js new file mode 100644 index 000000000..be6a38e4e --- /dev/null +++ b/node_modules/@babel/types/lib/validators/generated/index.js @@ -0,0 +1,4637 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isArrayExpression = isArrayExpression; +exports.isAssignmentExpression = isAssignmentExpression; +exports.isBinaryExpression = isBinaryExpression; +exports.isInterpreterDirective = isInterpreterDirective; +exports.isDirective = isDirective; +exports.isDirectiveLiteral = isDirectiveLiteral; +exports.isBlockStatement = isBlockStatement; +exports.isBreakStatement = isBreakStatement; +exports.isCallExpression = isCallExpression; +exports.isCatchClause = isCatchClause; +exports.isConditionalExpression = isConditionalExpression; +exports.isContinueStatement = isContinueStatement; +exports.isDebuggerStatement = isDebuggerStatement; +exports.isDoWhileStatement = isDoWhileStatement; +exports.isEmptyStatement = isEmptyStatement; +exports.isExpressionStatement = isExpressionStatement; +exports.isFile = isFile; +exports.isForInStatement = isForInStatement; +exports.isForStatement = isForStatement; +exports.isFunctionDeclaration = isFunctionDeclaration; +exports.isFunctionExpression = isFunctionExpression; +exports.isIdentifier = isIdentifier; +exports.isIfStatement = isIfStatement; +exports.isLabeledStatement = isLabeledStatement; +exports.isStringLiteral = isStringLiteral; +exports.isNumericLiteral = isNumericLiteral; +exports.isNullLiteral = isNullLiteral; +exports.isBooleanLiteral = isBooleanLiteral; +exports.isRegExpLiteral = isRegExpLiteral; +exports.isLogicalExpression = isLogicalExpression; +exports.isMemberExpression = isMemberExpression; +exports.isNewExpression = isNewExpression; +exports.isProgram = isProgram; +exports.isObjectExpression = isObjectExpression; +exports.isObjectMethod = isObjectMethod; +exports.isObjectProperty = isObjectProperty; +exports.isRestElement = isRestElement; +exports.isReturnStatement = isReturnStatement; +exports.isSequenceExpression = isSequenceExpression; +exports.isParenthesizedExpression = isParenthesizedExpression; +exports.isSwitchCase = isSwitchCase; +exports.isSwitchStatement = isSwitchStatement; +exports.isThisExpression = isThisExpression; +exports.isThrowStatement = isThrowStatement; +exports.isTryStatement = isTryStatement; +exports.isUnaryExpression = isUnaryExpression; +exports.isUpdateExpression = isUpdateExpression; +exports.isVariableDeclaration = isVariableDeclaration; +exports.isVariableDeclarator = isVariableDeclarator; +exports.isWhileStatement = isWhileStatement; +exports.isWithStatement = isWithStatement; +exports.isAssignmentPattern = isAssignmentPattern; +exports.isArrayPattern = isArrayPattern; +exports.isArrowFunctionExpression = isArrowFunctionExpression; +exports.isClassBody = isClassBody; +exports.isClassExpression = isClassExpression; +exports.isClassDeclaration = isClassDeclaration; +exports.isExportAllDeclaration = isExportAllDeclaration; +exports.isExportDefaultDeclaration = isExportDefaultDeclaration; +exports.isExportNamedDeclaration = isExportNamedDeclaration; +exports.isExportSpecifier = isExportSpecifier; +exports.isForOfStatement = isForOfStatement; +exports.isImportDeclaration = isImportDeclaration; +exports.isImportDefaultSpecifier = isImportDefaultSpecifier; +exports.isImportNamespaceSpecifier = isImportNamespaceSpecifier; +exports.isImportSpecifier = isImportSpecifier; +exports.isMetaProperty = isMetaProperty; +exports.isClassMethod = isClassMethod; +exports.isObjectPattern = isObjectPattern; +exports.isSpreadElement = isSpreadElement; +exports.isSuper = isSuper; +exports.isTaggedTemplateExpression = isTaggedTemplateExpression; +exports.isTemplateElement = isTemplateElement; +exports.isTemplateLiteral = isTemplateLiteral; +exports.isYieldExpression = isYieldExpression; +exports.isAwaitExpression = isAwaitExpression; +exports.isImport = isImport; +exports.isBigIntLiteral = isBigIntLiteral; +exports.isExportNamespaceSpecifier = isExportNamespaceSpecifier; +exports.isOptionalMemberExpression = isOptionalMemberExpression; +exports.isOptionalCallExpression = isOptionalCallExpression; +exports.isAnyTypeAnnotation = isAnyTypeAnnotation; +exports.isArrayTypeAnnotation = isArrayTypeAnnotation; +exports.isBooleanTypeAnnotation = isBooleanTypeAnnotation; +exports.isBooleanLiteralTypeAnnotation = isBooleanLiteralTypeAnnotation; +exports.isNullLiteralTypeAnnotation = isNullLiteralTypeAnnotation; +exports.isClassImplements = isClassImplements; +exports.isDeclareClass = isDeclareClass; +exports.isDeclareFunction = isDeclareFunction; +exports.isDeclareInterface = isDeclareInterface; +exports.isDeclareModule = isDeclareModule; +exports.isDeclareModuleExports = isDeclareModuleExports; +exports.isDeclareTypeAlias = isDeclareTypeAlias; +exports.isDeclareOpaqueType = isDeclareOpaqueType; +exports.isDeclareVariable = isDeclareVariable; +exports.isDeclareExportDeclaration = isDeclareExportDeclaration; +exports.isDeclareExportAllDeclaration = isDeclareExportAllDeclaration; +exports.isDeclaredPredicate = isDeclaredPredicate; +exports.isExistsTypeAnnotation = isExistsTypeAnnotation; +exports.isFunctionTypeAnnotation = isFunctionTypeAnnotation; +exports.isFunctionTypeParam = isFunctionTypeParam; +exports.isGenericTypeAnnotation = isGenericTypeAnnotation; +exports.isInferredPredicate = isInferredPredicate; +exports.isInterfaceExtends = isInterfaceExtends; +exports.isInterfaceDeclaration = isInterfaceDeclaration; +exports.isInterfaceTypeAnnotation = isInterfaceTypeAnnotation; +exports.isIntersectionTypeAnnotation = isIntersectionTypeAnnotation; +exports.isMixedTypeAnnotation = isMixedTypeAnnotation; +exports.isEmptyTypeAnnotation = isEmptyTypeAnnotation; +exports.isNullableTypeAnnotation = isNullableTypeAnnotation; +exports.isNumberLiteralTypeAnnotation = isNumberLiteralTypeAnnotation; +exports.isNumberTypeAnnotation = isNumberTypeAnnotation; +exports.isObjectTypeAnnotation = isObjectTypeAnnotation; +exports.isObjectTypeInternalSlot = isObjectTypeInternalSlot; +exports.isObjectTypeCallProperty = isObjectTypeCallProperty; +exports.isObjectTypeIndexer = isObjectTypeIndexer; +exports.isObjectTypeProperty = isObjectTypeProperty; +exports.isObjectTypeSpreadProperty = isObjectTypeSpreadProperty; +exports.isOpaqueType = isOpaqueType; +exports.isQualifiedTypeIdentifier = isQualifiedTypeIdentifier; +exports.isStringLiteralTypeAnnotation = isStringLiteralTypeAnnotation; +exports.isStringTypeAnnotation = isStringTypeAnnotation; +exports.isSymbolTypeAnnotation = isSymbolTypeAnnotation; +exports.isThisTypeAnnotation = isThisTypeAnnotation; +exports.isTupleTypeAnnotation = isTupleTypeAnnotation; +exports.isTypeofTypeAnnotation = isTypeofTypeAnnotation; +exports.isTypeAlias = isTypeAlias; +exports.isTypeAnnotation = isTypeAnnotation; +exports.isTypeCastExpression = isTypeCastExpression; +exports.isTypeParameter = isTypeParameter; +exports.isTypeParameterDeclaration = isTypeParameterDeclaration; +exports.isTypeParameterInstantiation = isTypeParameterInstantiation; +exports.isUnionTypeAnnotation = isUnionTypeAnnotation; +exports.isVariance = isVariance; +exports.isVoidTypeAnnotation = isVoidTypeAnnotation; +exports.isEnumDeclaration = isEnumDeclaration; +exports.isEnumBooleanBody = isEnumBooleanBody; +exports.isEnumNumberBody = isEnumNumberBody; +exports.isEnumStringBody = isEnumStringBody; +exports.isEnumSymbolBody = isEnumSymbolBody; +exports.isEnumBooleanMember = isEnumBooleanMember; +exports.isEnumNumberMember = isEnumNumberMember; +exports.isEnumStringMember = isEnumStringMember; +exports.isEnumDefaultedMember = isEnumDefaultedMember; +exports.isJSXAttribute = isJSXAttribute; +exports.isJSXClosingElement = isJSXClosingElement; +exports.isJSXElement = isJSXElement; +exports.isJSXEmptyExpression = isJSXEmptyExpression; +exports.isJSXExpressionContainer = isJSXExpressionContainer; +exports.isJSXSpreadChild = isJSXSpreadChild; +exports.isJSXIdentifier = isJSXIdentifier; +exports.isJSXMemberExpression = isJSXMemberExpression; +exports.isJSXNamespacedName = isJSXNamespacedName; +exports.isJSXOpeningElement = isJSXOpeningElement; +exports.isJSXSpreadAttribute = isJSXSpreadAttribute; +exports.isJSXText = isJSXText; +exports.isJSXFragment = isJSXFragment; +exports.isJSXOpeningFragment = isJSXOpeningFragment; +exports.isJSXClosingFragment = isJSXClosingFragment; +exports.isNoop = isNoop; +exports.isPlaceholder = isPlaceholder; +exports.isV8IntrinsicIdentifier = isV8IntrinsicIdentifier; +exports.isArgumentPlaceholder = isArgumentPlaceholder; +exports.isBindExpression = isBindExpression; +exports.isClassProperty = isClassProperty; +exports.isPipelineTopicExpression = isPipelineTopicExpression; +exports.isPipelineBareFunction = isPipelineBareFunction; +exports.isPipelinePrimaryTopicReference = isPipelinePrimaryTopicReference; +exports.isClassPrivateProperty = isClassPrivateProperty; +exports.isClassPrivateMethod = isClassPrivateMethod; +exports.isImportAttribute = isImportAttribute; +exports.isDecorator = isDecorator; +exports.isDoExpression = isDoExpression; +exports.isExportDefaultSpecifier = isExportDefaultSpecifier; +exports.isPrivateName = isPrivateName; +exports.isRecordExpression = isRecordExpression; +exports.isTupleExpression = isTupleExpression; +exports.isDecimalLiteral = isDecimalLiteral; +exports.isTSParameterProperty = isTSParameterProperty; +exports.isTSDeclareFunction = isTSDeclareFunction; +exports.isTSDeclareMethod = isTSDeclareMethod; +exports.isTSQualifiedName = isTSQualifiedName; +exports.isTSCallSignatureDeclaration = isTSCallSignatureDeclaration; +exports.isTSConstructSignatureDeclaration = isTSConstructSignatureDeclaration; +exports.isTSPropertySignature = isTSPropertySignature; +exports.isTSMethodSignature = isTSMethodSignature; +exports.isTSIndexSignature = isTSIndexSignature; +exports.isTSAnyKeyword = isTSAnyKeyword; +exports.isTSBooleanKeyword = isTSBooleanKeyword; +exports.isTSBigIntKeyword = isTSBigIntKeyword; +exports.isTSNeverKeyword = isTSNeverKeyword; +exports.isTSNullKeyword = isTSNullKeyword; +exports.isTSNumberKeyword = isTSNumberKeyword; +exports.isTSObjectKeyword = isTSObjectKeyword; +exports.isTSStringKeyword = isTSStringKeyword; +exports.isTSSymbolKeyword = isTSSymbolKeyword; +exports.isTSUndefinedKeyword = isTSUndefinedKeyword; +exports.isTSUnknownKeyword = isTSUnknownKeyword; +exports.isTSVoidKeyword = isTSVoidKeyword; +exports.isTSThisType = isTSThisType; +exports.isTSFunctionType = isTSFunctionType; +exports.isTSConstructorType = isTSConstructorType; +exports.isTSTypeReference = isTSTypeReference; +exports.isTSTypePredicate = isTSTypePredicate; +exports.isTSTypeQuery = isTSTypeQuery; +exports.isTSTypeLiteral = isTSTypeLiteral; +exports.isTSArrayType = isTSArrayType; +exports.isTSTupleType = isTSTupleType; +exports.isTSOptionalType = isTSOptionalType; +exports.isTSRestType = isTSRestType; +exports.isTSNamedTupleMember = isTSNamedTupleMember; +exports.isTSUnionType = isTSUnionType; +exports.isTSIntersectionType = isTSIntersectionType; +exports.isTSConditionalType = isTSConditionalType; +exports.isTSInferType = isTSInferType; +exports.isTSParenthesizedType = isTSParenthesizedType; +exports.isTSTypeOperator = isTSTypeOperator; +exports.isTSIndexedAccessType = isTSIndexedAccessType; +exports.isTSMappedType = isTSMappedType; +exports.isTSLiteralType = isTSLiteralType; +exports.isTSExpressionWithTypeArguments = isTSExpressionWithTypeArguments; +exports.isTSInterfaceDeclaration = isTSInterfaceDeclaration; +exports.isTSInterfaceBody = isTSInterfaceBody; +exports.isTSTypeAliasDeclaration = isTSTypeAliasDeclaration; +exports.isTSAsExpression = isTSAsExpression; +exports.isTSTypeAssertion = isTSTypeAssertion; +exports.isTSEnumDeclaration = isTSEnumDeclaration; +exports.isTSEnumMember = isTSEnumMember; +exports.isTSModuleDeclaration = isTSModuleDeclaration; +exports.isTSModuleBlock = isTSModuleBlock; +exports.isTSImportType = isTSImportType; +exports.isTSImportEqualsDeclaration = isTSImportEqualsDeclaration; +exports.isTSExternalModuleReference = isTSExternalModuleReference; +exports.isTSNonNullExpression = isTSNonNullExpression; +exports.isTSExportAssignment = isTSExportAssignment; +exports.isTSNamespaceExportDeclaration = isTSNamespaceExportDeclaration; +exports.isTSTypeAnnotation = isTSTypeAnnotation; +exports.isTSTypeParameterInstantiation = isTSTypeParameterInstantiation; +exports.isTSTypeParameterDeclaration = isTSTypeParameterDeclaration; +exports.isTSTypeParameter = isTSTypeParameter; +exports.isExpression = isExpression; +exports.isBinary = isBinary; +exports.isScopable = isScopable; +exports.isBlockParent = isBlockParent; +exports.isBlock = isBlock; +exports.isStatement = isStatement; +exports.isTerminatorless = isTerminatorless; +exports.isCompletionStatement = isCompletionStatement; +exports.isConditional = isConditional; +exports.isLoop = isLoop; +exports.isWhile = isWhile; +exports.isExpressionWrapper = isExpressionWrapper; +exports.isFor = isFor; +exports.isForXStatement = isForXStatement; +exports.isFunction = isFunction; +exports.isFunctionParent = isFunctionParent; +exports.isPureish = isPureish; +exports.isDeclaration = isDeclaration; +exports.isPatternLike = isPatternLike; +exports.isLVal = isLVal; +exports.isTSEntityName = isTSEntityName; +exports.isLiteral = isLiteral; +exports.isImmutable = isImmutable; +exports.isUserWhitespacable = isUserWhitespacable; +exports.isMethod = isMethod; +exports.isObjectMember = isObjectMember; +exports.isProperty = isProperty; +exports.isUnaryLike = isUnaryLike; +exports.isPattern = isPattern; +exports.isClass = isClass; +exports.isModuleDeclaration = isModuleDeclaration; +exports.isExportDeclaration = isExportDeclaration; +exports.isModuleSpecifier = isModuleSpecifier; +exports.isFlow = isFlow; +exports.isFlowType = isFlowType; +exports.isFlowBaseAnnotation = isFlowBaseAnnotation; +exports.isFlowDeclaration = isFlowDeclaration; +exports.isFlowPredicate = isFlowPredicate; +exports.isEnumBody = isEnumBody; +exports.isEnumMember = isEnumMember; +exports.isJSX = isJSX; +exports.isPrivate = isPrivate; +exports.isTSTypeElement = isTSTypeElement; +exports.isTSType = isTSType; +exports.isTSBaseType = isTSBaseType; +exports.isNumberLiteral = isNumberLiteral; +exports.isRegexLiteral = isRegexLiteral; +exports.isRestProperty = isRestProperty; +exports.isSpreadProperty = isSpreadProperty; + +var _shallowEqual = _interopRequireDefault(require("../../utils/shallowEqual")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function isArrayExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ArrayExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isAssignmentExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "AssignmentExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBinaryExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "BinaryExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isInterpreterDirective(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "InterpreterDirective") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDirective(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Directive") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDirectiveLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DirectiveLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBlockStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "BlockStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBreakStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "BreakStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isCallExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "CallExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isCatchClause(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "CatchClause") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isConditionalExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ConditionalExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isContinueStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ContinueStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDebuggerStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DebuggerStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDoWhileStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DoWhileStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEmptyStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EmptyStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExpressionStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExpressionStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFile(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "File") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isForInStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ForInStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isForStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ForStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFunctionDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "FunctionDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFunctionExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "FunctionExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isIdentifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Identifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isIfStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "IfStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isLabeledStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "LabeledStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isStringLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "StringLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isNumericLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "NumericLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isNullLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "NullLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBooleanLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "BooleanLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isRegExpLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "RegExpLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isLogicalExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "LogicalExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isMemberExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "MemberExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isNewExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "NewExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isProgram(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Program") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectMethod(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectMethod") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectProperty(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isRestElement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "RestElement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isReturnStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ReturnStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isSequenceExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "SequenceExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isParenthesizedExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ParenthesizedExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isSwitchCase(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "SwitchCase") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isSwitchStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "SwitchStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isThisExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ThisExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isThrowStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ThrowStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTryStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TryStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isUnaryExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "UnaryExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isUpdateExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "UpdateExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isVariableDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "VariableDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isVariableDeclarator(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "VariableDeclarator") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isWhileStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "WhileStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isWithStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "WithStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isAssignmentPattern(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "AssignmentPattern") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isArrayPattern(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ArrayPattern") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isArrowFunctionExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ArrowFunctionExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isClassBody(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ClassBody") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isClassExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ClassExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isClassDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ClassDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExportAllDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExportAllDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExportDefaultDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExportDefaultDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExportNamedDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExportNamedDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExportSpecifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExportSpecifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isForOfStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ForOfStatement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isImportDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ImportDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isImportDefaultSpecifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ImportDefaultSpecifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isImportNamespaceSpecifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ImportNamespaceSpecifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isImportSpecifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ImportSpecifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isMetaProperty(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "MetaProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isClassMethod(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ClassMethod") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectPattern(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectPattern") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isSpreadElement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "SpreadElement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isSuper(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Super") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTaggedTemplateExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TaggedTemplateExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTemplateElement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TemplateElement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTemplateLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TemplateLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isYieldExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "YieldExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isAwaitExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "AwaitExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isImport(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Import") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBigIntLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "BigIntLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExportNamespaceSpecifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExportNamespaceSpecifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isOptionalMemberExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "OptionalMemberExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isOptionalCallExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "OptionalCallExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isAnyTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "AnyTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isArrayTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ArrayTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBooleanTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "BooleanTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBooleanLiteralTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "BooleanLiteralTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isNullLiteralTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "NullLiteralTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isClassImplements(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ClassImplements") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareClass(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareClass") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareFunction(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareFunction") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareInterface(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareInterface") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareModule(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareModule") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareModuleExports(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareModuleExports") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareTypeAlias(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareTypeAlias") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareOpaqueType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareOpaqueType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareVariable(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareVariable") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareExportDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareExportDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclareExportAllDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclareExportAllDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclaredPredicate(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DeclaredPredicate") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExistsTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExistsTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFunctionTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "FunctionTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFunctionTypeParam(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "FunctionTypeParam") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isGenericTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "GenericTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isInferredPredicate(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "InferredPredicate") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isInterfaceExtends(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "InterfaceExtends") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isInterfaceDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "InterfaceDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isInterfaceTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "InterfaceTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isIntersectionTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "IntersectionTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isMixedTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "MixedTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEmptyTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EmptyTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isNullableTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "NullableTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isNumberLiteralTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "NumberLiteralTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isNumberTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "NumberTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectTypeInternalSlot(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectTypeInternalSlot") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectTypeCallProperty(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectTypeCallProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectTypeIndexer(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectTypeIndexer") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectTypeProperty(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectTypeProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectTypeSpreadProperty(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectTypeSpreadProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isOpaqueType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "OpaqueType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isQualifiedTypeIdentifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "QualifiedTypeIdentifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isStringLiteralTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "StringLiteralTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isStringTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "StringTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isSymbolTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "SymbolTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isThisTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ThisTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTupleTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TupleTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTypeofTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TypeofTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTypeAlias(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TypeAlias") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTypeCastExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TypeCastExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTypeParameter(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TypeParameter") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTypeParameterDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TypeParameterDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTypeParameterInstantiation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TypeParameterInstantiation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isUnionTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "UnionTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isVariance(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Variance") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isVoidTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "VoidTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumBooleanBody(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumBooleanBody") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumNumberBody(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumNumberBody") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumStringBody(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumStringBody") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumSymbolBody(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumSymbolBody") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumBooleanMember(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumBooleanMember") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumNumberMember(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumNumberMember") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumStringMember(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumStringMember") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumDefaultedMember(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumDefaultedMember") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXAttribute(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXAttribute") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXClosingElement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXClosingElement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXElement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXElement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXEmptyExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXEmptyExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXExpressionContainer(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXExpressionContainer") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXSpreadChild(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXSpreadChild") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXIdentifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXIdentifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXMemberExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXMemberExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXNamespacedName(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXNamespacedName") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXOpeningElement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXOpeningElement") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXSpreadAttribute(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXSpreadAttribute") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXText(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXText") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXFragment(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXFragment") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXOpeningFragment(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXOpeningFragment") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSXClosingFragment(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSXClosingFragment") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isNoop(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Noop") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isPlaceholder(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Placeholder") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isV8IntrinsicIdentifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "V8IntrinsicIdentifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isArgumentPlaceholder(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ArgumentPlaceholder") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBindExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "BindExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isClassProperty(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ClassProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isPipelineTopicExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "PipelineTopicExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isPipelineBareFunction(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "PipelineBareFunction") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isPipelinePrimaryTopicReference(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "PipelinePrimaryTopicReference") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isClassPrivateProperty(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ClassPrivateProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isClassPrivateMethod(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ClassPrivateMethod") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isImportAttribute(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ImportAttribute") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDecorator(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Decorator") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDoExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DoExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExportDefaultSpecifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExportDefaultSpecifier") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isPrivateName(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "PrivateName") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isRecordExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "RecordExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTupleExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TupleExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDecimalLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "DecimalLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSParameterProperty(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSParameterProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSDeclareFunction(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSDeclareFunction") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSDeclareMethod(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSDeclareMethod") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSQualifiedName(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSQualifiedName") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSCallSignatureDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSCallSignatureDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSConstructSignatureDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSConstructSignatureDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSPropertySignature(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSPropertySignature") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSMethodSignature(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSMethodSignature") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSIndexSignature(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSIndexSignature") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSAnyKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSAnyKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSBooleanKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSBooleanKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSBigIntKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSBigIntKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSNeverKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSNeverKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSNullKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSNullKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSNumberKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSNumberKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSObjectKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSObjectKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSStringKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSStringKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSSymbolKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSSymbolKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSUndefinedKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSUndefinedKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSUnknownKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSUnknownKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSVoidKeyword(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSVoidKeyword") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSThisType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSThisType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSFunctionType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSFunctionType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSConstructorType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSConstructorType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeReference(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeReference") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypePredicate(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypePredicate") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeQuery(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeQuery") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSArrayType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSArrayType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTupleType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTupleType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSOptionalType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSOptionalType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSRestType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSRestType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSNamedTupleMember(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSNamedTupleMember") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSUnionType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSUnionType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSIntersectionType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSIntersectionType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSConditionalType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSConditionalType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSInferType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSInferType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSParenthesizedType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSParenthesizedType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeOperator(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeOperator") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSIndexedAccessType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSIndexedAccessType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSMappedType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSMappedType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSLiteralType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSLiteralType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSExpressionWithTypeArguments(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSExpressionWithTypeArguments") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSInterfaceDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSInterfaceDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSInterfaceBody(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSInterfaceBody") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeAliasDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeAliasDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSAsExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSAsExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeAssertion(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeAssertion") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSEnumDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSEnumDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSEnumMember(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSEnumMember") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSModuleDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSModuleDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSModuleBlock(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSModuleBlock") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSImportType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSImportType") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSImportEqualsDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSImportEqualsDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSExternalModuleReference(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSExternalModuleReference") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSNonNullExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSNonNullExpression") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSExportAssignment(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSExportAssignment") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSNamespaceExportDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSNamespaceExportDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeAnnotation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeParameterInstantiation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeParameterInstantiation") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeParameterDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeParameterDeclaration") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeParameter(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeParameter") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExpression(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Expression" || "ArrayExpression" === nodeType || "AssignmentExpression" === nodeType || "BinaryExpression" === nodeType || "CallExpression" === nodeType || "ConditionalExpression" === nodeType || "FunctionExpression" === nodeType || "Identifier" === nodeType || "StringLiteral" === nodeType || "NumericLiteral" === nodeType || "NullLiteral" === nodeType || "BooleanLiteral" === nodeType || "RegExpLiteral" === nodeType || "LogicalExpression" === nodeType || "MemberExpression" === nodeType || "NewExpression" === nodeType || "ObjectExpression" === nodeType || "SequenceExpression" === nodeType || "ParenthesizedExpression" === nodeType || "ThisExpression" === nodeType || "UnaryExpression" === nodeType || "UpdateExpression" === nodeType || "ArrowFunctionExpression" === nodeType || "ClassExpression" === nodeType || "MetaProperty" === nodeType || "Super" === nodeType || "TaggedTemplateExpression" === nodeType || "TemplateLiteral" === nodeType || "YieldExpression" === nodeType || "AwaitExpression" === nodeType || "Import" === nodeType || "BigIntLiteral" === nodeType || "OptionalMemberExpression" === nodeType || "OptionalCallExpression" === nodeType || "TypeCastExpression" === nodeType || "JSXElement" === nodeType || "JSXFragment" === nodeType || "BindExpression" === nodeType || "PipelinePrimaryTopicReference" === nodeType || "DoExpression" === nodeType || "RecordExpression" === nodeType || "TupleExpression" === nodeType || "DecimalLiteral" === nodeType || "TSAsExpression" === nodeType || "TSTypeAssertion" === nodeType || "TSNonNullExpression" === nodeType || nodeType === "Placeholder" && ("Expression" === node.expectedNode || "Identifier" === node.expectedNode || "StringLiteral" === node.expectedNode)) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBinary(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Binary" || "BinaryExpression" === nodeType || "LogicalExpression" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isScopable(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Scopable" || "BlockStatement" === nodeType || "CatchClause" === nodeType || "DoWhileStatement" === nodeType || "ForInStatement" === nodeType || "ForStatement" === nodeType || "FunctionDeclaration" === nodeType || "FunctionExpression" === nodeType || "Program" === nodeType || "ObjectMethod" === nodeType || "SwitchStatement" === nodeType || "WhileStatement" === nodeType || "ArrowFunctionExpression" === nodeType || "ClassExpression" === nodeType || "ClassDeclaration" === nodeType || "ForOfStatement" === nodeType || "ClassMethod" === nodeType || "ClassPrivateMethod" === nodeType || "TSModuleBlock" === nodeType || nodeType === "Placeholder" && "BlockStatement" === node.expectedNode) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBlockParent(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "BlockParent" || "BlockStatement" === nodeType || "CatchClause" === nodeType || "DoWhileStatement" === nodeType || "ForInStatement" === nodeType || "ForStatement" === nodeType || "FunctionDeclaration" === nodeType || "FunctionExpression" === nodeType || "Program" === nodeType || "ObjectMethod" === nodeType || "SwitchStatement" === nodeType || "WhileStatement" === nodeType || "ArrowFunctionExpression" === nodeType || "ForOfStatement" === nodeType || "ClassMethod" === nodeType || "ClassPrivateMethod" === nodeType || "TSModuleBlock" === nodeType || nodeType === "Placeholder" && "BlockStatement" === node.expectedNode) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isBlock(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Block" || "BlockStatement" === nodeType || "Program" === nodeType || "TSModuleBlock" === nodeType || nodeType === "Placeholder" && "BlockStatement" === node.expectedNode) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Statement" || "BlockStatement" === nodeType || "BreakStatement" === nodeType || "ContinueStatement" === nodeType || "DebuggerStatement" === nodeType || "DoWhileStatement" === nodeType || "EmptyStatement" === nodeType || "ExpressionStatement" === nodeType || "ForInStatement" === nodeType || "ForStatement" === nodeType || "FunctionDeclaration" === nodeType || "IfStatement" === nodeType || "LabeledStatement" === nodeType || "ReturnStatement" === nodeType || "SwitchStatement" === nodeType || "ThrowStatement" === nodeType || "TryStatement" === nodeType || "VariableDeclaration" === nodeType || "WhileStatement" === nodeType || "WithStatement" === nodeType || "ClassDeclaration" === nodeType || "ExportAllDeclaration" === nodeType || "ExportDefaultDeclaration" === nodeType || "ExportNamedDeclaration" === nodeType || "ForOfStatement" === nodeType || "ImportDeclaration" === nodeType || "DeclareClass" === nodeType || "DeclareFunction" === nodeType || "DeclareInterface" === nodeType || "DeclareModule" === nodeType || "DeclareModuleExports" === nodeType || "DeclareTypeAlias" === nodeType || "DeclareOpaqueType" === nodeType || "DeclareVariable" === nodeType || "DeclareExportDeclaration" === nodeType || "DeclareExportAllDeclaration" === nodeType || "InterfaceDeclaration" === nodeType || "OpaqueType" === nodeType || "TypeAlias" === nodeType || "EnumDeclaration" === nodeType || "TSDeclareFunction" === nodeType || "TSInterfaceDeclaration" === nodeType || "TSTypeAliasDeclaration" === nodeType || "TSEnumDeclaration" === nodeType || "TSModuleDeclaration" === nodeType || "TSImportEqualsDeclaration" === nodeType || "TSExportAssignment" === nodeType || "TSNamespaceExportDeclaration" === nodeType || nodeType === "Placeholder" && ("Statement" === node.expectedNode || "Declaration" === node.expectedNode || "BlockStatement" === node.expectedNode)) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTerminatorless(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Terminatorless" || "BreakStatement" === nodeType || "ContinueStatement" === nodeType || "ReturnStatement" === nodeType || "ThrowStatement" === nodeType || "YieldExpression" === nodeType || "AwaitExpression" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isCompletionStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "CompletionStatement" || "BreakStatement" === nodeType || "ContinueStatement" === nodeType || "ReturnStatement" === nodeType || "ThrowStatement" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isConditional(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Conditional" || "ConditionalExpression" === nodeType || "IfStatement" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isLoop(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Loop" || "DoWhileStatement" === nodeType || "ForInStatement" === nodeType || "ForStatement" === nodeType || "WhileStatement" === nodeType || "ForOfStatement" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isWhile(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "While" || "DoWhileStatement" === nodeType || "WhileStatement" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExpressionWrapper(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExpressionWrapper" || "ExpressionStatement" === nodeType || "ParenthesizedExpression" === nodeType || "TypeCastExpression" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFor(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "For" || "ForInStatement" === nodeType || "ForStatement" === nodeType || "ForOfStatement" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isForXStatement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ForXStatement" || "ForInStatement" === nodeType || "ForOfStatement" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFunction(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Function" || "FunctionDeclaration" === nodeType || "FunctionExpression" === nodeType || "ObjectMethod" === nodeType || "ArrowFunctionExpression" === nodeType || "ClassMethod" === nodeType || "ClassPrivateMethod" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFunctionParent(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "FunctionParent" || "FunctionDeclaration" === nodeType || "FunctionExpression" === nodeType || "ObjectMethod" === nodeType || "ArrowFunctionExpression" === nodeType || "ClassMethod" === nodeType || "ClassPrivateMethod" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isPureish(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Pureish" || "FunctionDeclaration" === nodeType || "FunctionExpression" === nodeType || "StringLiteral" === nodeType || "NumericLiteral" === nodeType || "NullLiteral" === nodeType || "BooleanLiteral" === nodeType || "RegExpLiteral" === nodeType || "ArrowFunctionExpression" === nodeType || "BigIntLiteral" === nodeType || "DecimalLiteral" === nodeType || nodeType === "Placeholder" && "StringLiteral" === node.expectedNode) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Declaration" || "FunctionDeclaration" === nodeType || "VariableDeclaration" === nodeType || "ClassDeclaration" === nodeType || "ExportAllDeclaration" === nodeType || "ExportDefaultDeclaration" === nodeType || "ExportNamedDeclaration" === nodeType || "ImportDeclaration" === nodeType || "DeclareClass" === nodeType || "DeclareFunction" === nodeType || "DeclareInterface" === nodeType || "DeclareModule" === nodeType || "DeclareModuleExports" === nodeType || "DeclareTypeAlias" === nodeType || "DeclareOpaqueType" === nodeType || "DeclareVariable" === nodeType || "DeclareExportDeclaration" === nodeType || "DeclareExportAllDeclaration" === nodeType || "InterfaceDeclaration" === nodeType || "OpaqueType" === nodeType || "TypeAlias" === nodeType || "EnumDeclaration" === nodeType || "TSDeclareFunction" === nodeType || "TSInterfaceDeclaration" === nodeType || "TSTypeAliasDeclaration" === nodeType || "TSEnumDeclaration" === nodeType || "TSModuleDeclaration" === nodeType || nodeType === "Placeholder" && "Declaration" === node.expectedNode) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isPatternLike(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "PatternLike" || "Identifier" === nodeType || "RestElement" === nodeType || "AssignmentPattern" === nodeType || "ArrayPattern" === nodeType || "ObjectPattern" === nodeType || nodeType === "Placeholder" && ("Pattern" === node.expectedNode || "Identifier" === node.expectedNode)) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isLVal(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "LVal" || "Identifier" === nodeType || "MemberExpression" === nodeType || "RestElement" === nodeType || "AssignmentPattern" === nodeType || "ArrayPattern" === nodeType || "ObjectPattern" === nodeType || "TSParameterProperty" === nodeType || nodeType === "Placeholder" && ("Pattern" === node.expectedNode || "Identifier" === node.expectedNode)) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSEntityName(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSEntityName" || "Identifier" === nodeType || "TSQualifiedName" === nodeType || nodeType === "Placeholder" && "Identifier" === node.expectedNode) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isLiteral(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Literal" || "StringLiteral" === nodeType || "NumericLiteral" === nodeType || "NullLiteral" === nodeType || "BooleanLiteral" === nodeType || "RegExpLiteral" === nodeType || "TemplateLiteral" === nodeType || "BigIntLiteral" === nodeType || "DecimalLiteral" === nodeType || nodeType === "Placeholder" && "StringLiteral" === node.expectedNode) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isImmutable(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Immutable" || "StringLiteral" === nodeType || "NumericLiteral" === nodeType || "NullLiteral" === nodeType || "BooleanLiteral" === nodeType || "BigIntLiteral" === nodeType || "JSXAttribute" === nodeType || "JSXClosingElement" === nodeType || "JSXElement" === nodeType || "JSXExpressionContainer" === nodeType || "JSXSpreadChild" === nodeType || "JSXOpeningElement" === nodeType || "JSXText" === nodeType || "JSXFragment" === nodeType || "JSXOpeningFragment" === nodeType || "JSXClosingFragment" === nodeType || "DecimalLiteral" === nodeType || nodeType === "Placeholder" && "StringLiteral" === node.expectedNode) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isUserWhitespacable(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "UserWhitespacable" || "ObjectMethod" === nodeType || "ObjectProperty" === nodeType || "ObjectTypeInternalSlot" === nodeType || "ObjectTypeCallProperty" === nodeType || "ObjectTypeIndexer" === nodeType || "ObjectTypeProperty" === nodeType || "ObjectTypeSpreadProperty" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isMethod(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Method" || "ObjectMethod" === nodeType || "ClassMethod" === nodeType || "ClassPrivateMethod" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isObjectMember(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ObjectMember" || "ObjectMethod" === nodeType || "ObjectProperty" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isProperty(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Property" || "ObjectProperty" === nodeType || "ClassProperty" === nodeType || "ClassPrivateProperty" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isUnaryLike(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "UnaryLike" || "UnaryExpression" === nodeType || "SpreadElement" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isPattern(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Pattern" || "AssignmentPattern" === nodeType || "ArrayPattern" === nodeType || "ObjectPattern" === nodeType || nodeType === "Placeholder" && "Pattern" === node.expectedNode) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isClass(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Class" || "ClassExpression" === nodeType || "ClassDeclaration" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isModuleDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ModuleDeclaration" || "ExportAllDeclaration" === nodeType || "ExportDefaultDeclaration" === nodeType || "ExportNamedDeclaration" === nodeType || "ImportDeclaration" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isExportDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ExportDeclaration" || "ExportAllDeclaration" === nodeType || "ExportDefaultDeclaration" === nodeType || "ExportNamedDeclaration" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isModuleSpecifier(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "ModuleSpecifier" || "ExportSpecifier" === nodeType || "ImportDefaultSpecifier" === nodeType || "ImportNamespaceSpecifier" === nodeType || "ImportSpecifier" === nodeType || "ExportNamespaceSpecifier" === nodeType || "ExportDefaultSpecifier" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFlow(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Flow" || "AnyTypeAnnotation" === nodeType || "ArrayTypeAnnotation" === nodeType || "BooleanTypeAnnotation" === nodeType || "BooleanLiteralTypeAnnotation" === nodeType || "NullLiteralTypeAnnotation" === nodeType || "ClassImplements" === nodeType || "DeclareClass" === nodeType || "DeclareFunction" === nodeType || "DeclareInterface" === nodeType || "DeclareModule" === nodeType || "DeclareModuleExports" === nodeType || "DeclareTypeAlias" === nodeType || "DeclareOpaqueType" === nodeType || "DeclareVariable" === nodeType || "DeclareExportDeclaration" === nodeType || "DeclareExportAllDeclaration" === nodeType || "DeclaredPredicate" === nodeType || "ExistsTypeAnnotation" === nodeType || "FunctionTypeAnnotation" === nodeType || "FunctionTypeParam" === nodeType || "GenericTypeAnnotation" === nodeType || "InferredPredicate" === nodeType || "InterfaceExtends" === nodeType || "InterfaceDeclaration" === nodeType || "InterfaceTypeAnnotation" === nodeType || "IntersectionTypeAnnotation" === nodeType || "MixedTypeAnnotation" === nodeType || "EmptyTypeAnnotation" === nodeType || "NullableTypeAnnotation" === nodeType || "NumberLiteralTypeAnnotation" === nodeType || "NumberTypeAnnotation" === nodeType || "ObjectTypeAnnotation" === nodeType || "ObjectTypeInternalSlot" === nodeType || "ObjectTypeCallProperty" === nodeType || "ObjectTypeIndexer" === nodeType || "ObjectTypeProperty" === nodeType || "ObjectTypeSpreadProperty" === nodeType || "OpaqueType" === nodeType || "QualifiedTypeIdentifier" === nodeType || "StringLiteralTypeAnnotation" === nodeType || "StringTypeAnnotation" === nodeType || "SymbolTypeAnnotation" === nodeType || "ThisTypeAnnotation" === nodeType || "TupleTypeAnnotation" === nodeType || "TypeofTypeAnnotation" === nodeType || "TypeAlias" === nodeType || "TypeAnnotation" === nodeType || "TypeCastExpression" === nodeType || "TypeParameter" === nodeType || "TypeParameterDeclaration" === nodeType || "TypeParameterInstantiation" === nodeType || "UnionTypeAnnotation" === nodeType || "Variance" === nodeType || "VoidTypeAnnotation" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFlowType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "FlowType" || "AnyTypeAnnotation" === nodeType || "ArrayTypeAnnotation" === nodeType || "BooleanTypeAnnotation" === nodeType || "BooleanLiteralTypeAnnotation" === nodeType || "NullLiteralTypeAnnotation" === nodeType || "ExistsTypeAnnotation" === nodeType || "FunctionTypeAnnotation" === nodeType || "GenericTypeAnnotation" === nodeType || "InterfaceTypeAnnotation" === nodeType || "IntersectionTypeAnnotation" === nodeType || "MixedTypeAnnotation" === nodeType || "EmptyTypeAnnotation" === nodeType || "NullableTypeAnnotation" === nodeType || "NumberLiteralTypeAnnotation" === nodeType || "NumberTypeAnnotation" === nodeType || "ObjectTypeAnnotation" === nodeType || "StringLiteralTypeAnnotation" === nodeType || "StringTypeAnnotation" === nodeType || "SymbolTypeAnnotation" === nodeType || "ThisTypeAnnotation" === nodeType || "TupleTypeAnnotation" === nodeType || "TypeofTypeAnnotation" === nodeType || "UnionTypeAnnotation" === nodeType || "VoidTypeAnnotation" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFlowBaseAnnotation(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "FlowBaseAnnotation" || "AnyTypeAnnotation" === nodeType || "BooleanTypeAnnotation" === nodeType || "NullLiteralTypeAnnotation" === nodeType || "MixedTypeAnnotation" === nodeType || "EmptyTypeAnnotation" === nodeType || "NumberTypeAnnotation" === nodeType || "StringTypeAnnotation" === nodeType || "SymbolTypeAnnotation" === nodeType || "ThisTypeAnnotation" === nodeType || "VoidTypeAnnotation" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFlowDeclaration(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "FlowDeclaration" || "DeclareClass" === nodeType || "DeclareFunction" === nodeType || "DeclareInterface" === nodeType || "DeclareModule" === nodeType || "DeclareModuleExports" === nodeType || "DeclareTypeAlias" === nodeType || "DeclareOpaqueType" === nodeType || "DeclareVariable" === nodeType || "DeclareExportDeclaration" === nodeType || "DeclareExportAllDeclaration" === nodeType || "InterfaceDeclaration" === nodeType || "OpaqueType" === nodeType || "TypeAlias" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isFlowPredicate(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "FlowPredicate" || "DeclaredPredicate" === nodeType || "InferredPredicate" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumBody(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumBody" || "EnumBooleanBody" === nodeType || "EnumNumberBody" === nodeType || "EnumStringBody" === nodeType || "EnumSymbolBody" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isEnumMember(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "EnumMember" || "EnumBooleanMember" === nodeType || "EnumNumberMember" === nodeType || "EnumStringMember" === nodeType || "EnumDefaultedMember" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isJSX(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "JSX" || "JSXAttribute" === nodeType || "JSXClosingElement" === nodeType || "JSXElement" === nodeType || "JSXEmptyExpression" === nodeType || "JSXExpressionContainer" === nodeType || "JSXSpreadChild" === nodeType || "JSXIdentifier" === nodeType || "JSXMemberExpression" === nodeType || "JSXNamespacedName" === nodeType || "JSXOpeningElement" === nodeType || "JSXSpreadAttribute" === nodeType || "JSXText" === nodeType || "JSXFragment" === nodeType || "JSXOpeningFragment" === nodeType || "JSXClosingFragment" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isPrivate(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "Private" || "ClassPrivateProperty" === nodeType || "ClassPrivateMethod" === nodeType || "PrivateName" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSTypeElement(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSTypeElement" || "TSCallSignatureDeclaration" === nodeType || "TSConstructSignatureDeclaration" === nodeType || "TSPropertySignature" === nodeType || "TSMethodSignature" === nodeType || "TSIndexSignature" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSType" || "TSAnyKeyword" === nodeType || "TSBooleanKeyword" === nodeType || "TSBigIntKeyword" === nodeType || "TSNeverKeyword" === nodeType || "TSNullKeyword" === nodeType || "TSNumberKeyword" === nodeType || "TSObjectKeyword" === nodeType || "TSStringKeyword" === nodeType || "TSSymbolKeyword" === nodeType || "TSUndefinedKeyword" === nodeType || "TSUnknownKeyword" === nodeType || "TSVoidKeyword" === nodeType || "TSThisType" === nodeType || "TSFunctionType" === nodeType || "TSConstructorType" === nodeType || "TSTypeReference" === nodeType || "TSTypePredicate" === nodeType || "TSTypeQuery" === nodeType || "TSTypeLiteral" === nodeType || "TSArrayType" === nodeType || "TSTupleType" === nodeType || "TSOptionalType" === nodeType || "TSRestType" === nodeType || "TSUnionType" === nodeType || "TSIntersectionType" === nodeType || "TSConditionalType" === nodeType || "TSInferType" === nodeType || "TSParenthesizedType" === nodeType || "TSTypeOperator" === nodeType || "TSIndexedAccessType" === nodeType || "TSMappedType" === nodeType || "TSLiteralType" === nodeType || "TSExpressionWithTypeArguments" === nodeType || "TSImportType" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isTSBaseType(node, opts) { + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "TSBaseType" || "TSAnyKeyword" === nodeType || "TSBooleanKeyword" === nodeType || "TSBigIntKeyword" === nodeType || "TSNeverKeyword" === nodeType || "TSNullKeyword" === nodeType || "TSNumberKeyword" === nodeType || "TSObjectKeyword" === nodeType || "TSStringKeyword" === nodeType || "TSSymbolKeyword" === nodeType || "TSUndefinedKeyword" === nodeType || "TSUnknownKeyword" === nodeType || "TSVoidKeyword" === nodeType || "TSThisType" === nodeType || "TSLiteralType" === nodeType) { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isNumberLiteral(node, opts) { + console.trace("The node type NumberLiteral has been renamed to NumericLiteral"); + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "NumberLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isRegexLiteral(node, opts) { + console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"); + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "RegexLiteral") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isRestProperty(node, opts) { + console.trace("The node type RestProperty has been renamed to RestElement"); + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "RestProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} + +function isSpreadProperty(node, opts) { + console.trace("The node type SpreadProperty has been renamed to SpreadElement"); + if (!node) return false; + const nodeType = node.type; + + if (nodeType === "SpreadProperty") { + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } + } + + return false; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/is.js b/node_modules/@babel/types/lib/validators/is.js new file mode 100644 index 000000000..a68c10886 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/is.js @@ -0,0 +1,35 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = is; + +var _shallowEqual = _interopRequireDefault(require("../utils/shallowEqual")); + +var _isType = _interopRequireDefault(require("./isType")); + +var _isPlaceholderType = _interopRequireDefault(require("./isPlaceholderType")); + +var _definitions = require("../definitions"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function is(type, node, opts) { + if (!node) return false; + const matches = (0, _isType.default)(node.type, type); + + if (!matches) { + if (!opts && node.type === "Placeholder" && type in _definitions.FLIPPED_ALIAS_KEYS) { + return (0, _isPlaceholderType.default)(node.expectedNode, type); + } + + return false; + } + + if (typeof opts === "undefined") { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isBinding.js b/node_modules/@babel/types/lib/validators/isBinding.js new file mode 100644 index 000000000..e18ad1976 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isBinding.js @@ -0,0 +1,33 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isBinding; + +var _getBindingIdentifiers = _interopRequireDefault(require("../retrievers/getBindingIdentifiers")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function isBinding(node, parent, grandparent) { + if (grandparent && node.type === "Identifier" && parent.type === "ObjectProperty" && grandparent.type === "ObjectExpression") { + return false; + } + + const keys = _getBindingIdentifiers.default.keys[parent.type]; + + if (keys) { + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + const val = parent[key]; + + if (Array.isArray(val)) { + if (val.indexOf(node) >= 0) return true; + } else { + if (val === node) return true; + } + } + } + + return false; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isBlockScoped.js b/node_modules/@babel/types/lib/validators/isBlockScoped.js new file mode 100644 index 000000000..7e6549e03 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isBlockScoped.js @@ -0,0 +1,16 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isBlockScoped; + +var _generated = require("./generated"); + +var _isLet = _interopRequireDefault(require("./isLet")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function isBlockScoped(node) { + return (0, _generated.isFunctionDeclaration)(node) || (0, _generated.isClassDeclaration)(node) || (0, _isLet.default)(node); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isImmutable.js b/node_modules/@babel/types/lib/validators/isImmutable.js new file mode 100644 index 000000000..b00b23d4c --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isImmutable.js @@ -0,0 +1,26 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isImmutable; + +var _isType = _interopRequireDefault(require("./isType")); + +var _generated = require("./generated"); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function isImmutable(node) { + if ((0, _isType.default)(node.type, "Immutable")) return true; + + if ((0, _generated.isIdentifier)(node)) { + if (node.name === "undefined") { + return true; + } else { + return false; + } + } + + return false; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isLet.js b/node_modules/@babel/types/lib/validators/isLet.js new file mode 100644 index 000000000..93d756280 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isLet.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isLet; + +var _generated = require("./generated"); + +var _constants = require("../constants"); + +function isLet(node) { + return (0, _generated.isVariableDeclaration)(node) && (node.kind !== "var" || node[_constants.BLOCK_SCOPED_SYMBOL]); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isNode.js b/node_modules/@babel/types/lib/validators/isNode.js new file mode 100644 index 000000000..e88a47aac --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isNode.js @@ -0,0 +1,12 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isNode; + +var _definitions = require("../definitions"); + +function isNode(node) { + return !!(node && _definitions.VISITOR_KEYS[node.type]); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isNodesEquivalent.js b/node_modules/@babel/types/lib/validators/isNodesEquivalent.js new file mode 100644 index 000000000..b418c6a2d --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isNodesEquivalent.js @@ -0,0 +1,67 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isNodesEquivalent; + +var _definitions = require("../definitions"); + +function isNodesEquivalent(a, b) { + if (typeof a !== "object" || typeof b !== "object" || a == null || b == null) { + return a === b; + } + + if (a.type !== b.type) { + return false; + } + + const fields = Object.keys(_definitions.NODE_FIELDS[a.type] || a.type); + const visitorKeys = _definitions.VISITOR_KEYS[a.type]; + + for (const field of fields) { + if (typeof a[field] !== typeof b[field]) { + return false; + } + + if (a[field] == null && b[field] == null) { + continue; + } else if (a[field] == null || b[field] == null) { + return false; + } + + if (Array.isArray(a[field])) { + if (!Array.isArray(b[field])) { + return false; + } + + if (a[field].length !== b[field].length) { + return false; + } + + for (let i = 0; i < a[field].length; i++) { + if (!isNodesEquivalent(a[field][i], b[field][i])) { + return false; + } + } + + continue; + } + + if (typeof a[field] === "object" && !(visitorKeys == null ? void 0 : visitorKeys.includes(field))) { + for (const key of Object.keys(a[field])) { + if (a[field][key] !== b[field][key]) { + return false; + } + } + + continue; + } + + if (!isNodesEquivalent(a[field], b[field])) { + return false; + } + } + + return true; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isPlaceholderType.js b/node_modules/@babel/types/lib/validators/isPlaceholderType.js new file mode 100644 index 000000000..e8271de0b --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isPlaceholderType.js @@ -0,0 +1,21 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isPlaceholderType; + +var _definitions = require("../definitions"); + +function isPlaceholderType(placeholderType, targetType) { + if (placeholderType === targetType) return true; + const aliases = _definitions.PLACEHOLDERS_ALIAS[placeholderType]; + + if (aliases) { + for (const alias of aliases) { + if (targetType === alias) return true; + } + } + + return false; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isReferenced.js b/node_modules/@babel/types/lib/validators/isReferenced.js new file mode 100644 index 000000000..8fd166234 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isReferenced.js @@ -0,0 +1,116 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isReferenced; + +function isReferenced(node, parent, grandparent) { + switch (parent.type) { + case "MemberExpression": + case "JSXMemberExpression": + case "OptionalMemberExpression": + if (parent.property === node) { + return !!parent.computed; + } + + return parent.object === node; + + case "VariableDeclarator": + return parent.init === node; + + case "ArrowFunctionExpression": + return parent.body === node; + + case "ExportSpecifier": + if (parent.source) { + return false; + } + + return parent.local === node; + + case "PrivateName": + return false; + + case "ClassMethod": + case "ClassPrivateMethod": + case "ObjectMethod": + if (parent.params.includes(node)) { + return false; + } + + case "ObjectProperty": + case "ClassProperty": + case "ClassPrivateProperty": + if (parent.key === node) { + return !!parent.computed; + } + + if (parent.value === node) { + return !grandparent || grandparent.type !== "ObjectPattern"; + } + + return true; + + case "ClassDeclaration": + case "ClassExpression": + return parent.superClass === node; + + case "AssignmentExpression": + return parent.right === node; + + case "AssignmentPattern": + return parent.right === node; + + case "LabeledStatement": + return false; + + case "CatchClause": + return false; + + case "RestElement": + return false; + + case "BreakStatement": + case "ContinueStatement": + return false; + + case "FunctionDeclaration": + case "FunctionExpression": + return false; + + case "ExportNamespaceSpecifier": + case "ExportDefaultSpecifier": + return false; + + case "ImportDefaultSpecifier": + case "ImportNamespaceSpecifier": + case "ImportSpecifier": + return false; + + case "JSXAttribute": + return false; + + case "ObjectPattern": + case "ArrayPattern": + return false; + + case "MetaProperty": + return false; + + case "ObjectTypeProperty": + return parent.key !== node; + + case "TSEnumMember": + return parent.id !== node; + + case "TSPropertySignature": + if (parent.key === node) { + return !!parent.computed; + } + + return true; + } + + return true; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isScope.js b/node_modules/@babel/types/lib/validators/isScope.js new file mode 100644 index 000000000..d4cd46c8c --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isScope.js @@ -0,0 +1,28 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isScope; + +var _generated = require("./generated"); + +function isScope(node, parent) { + if ((0, _generated.isBlockStatement)(node) && (0, _generated.isFunction)(parent, { + body: node + })) { + return false; + } + + if ((0, _generated.isBlockStatement)(node) && (0, _generated.isCatchClause)(parent, { + body: node + })) { + return false; + } + + if ((0, _generated.isPattern)(node) && (0, _generated.isFunction)(parent)) { + return true; + } + + return (0, _generated.isScopable)(node); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isSpecifierDefault.js b/node_modules/@babel/types/lib/validators/isSpecifierDefault.js new file mode 100644 index 000000000..25431cc27 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isSpecifierDefault.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSpecifierDefault; + +var _generated = require("./generated"); + +function isSpecifierDefault(specifier) { + return (0, _generated.isImportDefaultSpecifier)(specifier) || (0, _generated.isIdentifier)(specifier.imported || specifier.exported, { + name: "default" + }); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isType.js b/node_modules/@babel/types/lib/validators/isType.js new file mode 100644 index 000000000..59d31dfbb --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isType.js @@ -0,0 +1,24 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isType; + +var _definitions = require("../definitions"); + +function isType(nodeType, targetType) { + if (nodeType === targetType) return true; + if (_definitions.ALIAS_KEYS[targetType]) return false; + const aliases = _definitions.FLIPPED_ALIAS_KEYS[targetType]; + + if (aliases) { + if (aliases[0] === nodeType) return true; + + for (const alias of aliases) { + if (nodeType === alias) return true; + } + } + + return false; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isValidES3Identifier.js b/node_modules/@babel/types/lib/validators/isValidES3Identifier.js new file mode 100644 index 000000000..8455cab26 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isValidES3Identifier.js @@ -0,0 +1,16 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isValidES3Identifier; + +var _isValidIdentifier = _interopRequireDefault(require("./isValidIdentifier")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const RESERVED_WORDS_ES3_ONLY = new Set(["abstract", "boolean", "byte", "char", "double", "enum", "final", "float", "goto", "implements", "int", "interface", "long", "native", "package", "private", "protected", "public", "short", "static", "synchronized", "throws", "transient", "volatile"]); + +function isValidES3Identifier(name) { + return (0, _isValidIdentifier.default)(name) && !RESERVED_WORDS_ES3_ONLY.has(name); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isValidIdentifier.js b/node_modules/@babel/types/lib/validators/isValidIdentifier.js new file mode 100644 index 000000000..c1adb9afe --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isValidIdentifier.js @@ -0,0 +1,22 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isValidIdentifier; + +var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); + +function isValidIdentifier(name, reserved = true) { + if (typeof name !== "string") return false; + + if (reserved) { + if ((0, _helperValidatorIdentifier.isKeyword)(name) || (0, _helperValidatorIdentifier.isStrictReservedWord)(name)) { + return false; + } else if (name === "await") { + return false; + } + } + + return (0, _helperValidatorIdentifier.isIdentifierName)(name); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isVar.js b/node_modules/@babel/types/lib/validators/isVar.js new file mode 100644 index 000000000..a34801d18 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isVar.js @@ -0,0 +1,16 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isVar; + +var _generated = require("./generated"); + +var _constants = require("../constants"); + +function isVar(node) { + return (0, _generated.isVariableDeclaration)(node, { + kind: "var" + }) && !node[_constants.BLOCK_SCOPED_SYMBOL]; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/matchesPattern.js b/node_modules/@babel/types/lib/validators/matchesPattern.js new file mode 100644 index 000000000..538e011f4 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/matchesPattern.js @@ -0,0 +1,40 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = matchesPattern; + +var _generated = require("./generated"); + +function matchesPattern(member, match, allowPartial) { + if (!(0, _generated.isMemberExpression)(member)) return false; + const parts = Array.isArray(match) ? match : match.split("."); + const nodes = []; + let node; + + for (node = member; (0, _generated.isMemberExpression)(node); node = node.object) { + nodes.push(node.property); + } + + nodes.push(node); + if (nodes.length < parts.length) return false; + if (!allowPartial && nodes.length > parts.length) return false; + + for (let i = 0, j = nodes.length - 1; i < parts.length; i++, j--) { + const node = nodes[j]; + let value; + + if ((0, _generated.isIdentifier)(node)) { + value = node.name; + } else if ((0, _generated.isStringLiteral)(node)) { + value = node.value; + } else { + return false; + } + + if (parts[i] !== value) return false; + } + + return true; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/react/isCompatTag.js b/node_modules/@babel/types/lib/validators/react/isCompatTag.js new file mode 100644 index 000000000..57761c2b1 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/react/isCompatTag.js @@ -0,0 +1,10 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isCompatTag; + +function isCompatTag(tagName) { + return !!tagName && /^[a-z]/.test(tagName); +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/react/isReactComponent.js b/node_modules/@babel/types/lib/validators/react/isReactComponent.js new file mode 100644 index 000000000..33b30d71e --- /dev/null +++ b/node_modules/@babel/types/lib/validators/react/isReactComponent.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +var _buildMatchMemberExpression = _interopRequireDefault(require("../buildMatchMemberExpression")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const isReactComponent = (0, _buildMatchMemberExpression.default)("React.Component"); +var _default = isReactComponent; +exports.default = _default; \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/validate.js b/node_modules/@babel/types/lib/validators/validate.js new file mode 100644 index 000000000..0d152a22c --- /dev/null +++ b/node_modules/@babel/types/lib/validators/validate.js @@ -0,0 +1,32 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = validate; +exports.validateField = validateField; +exports.validateChild = validateChild; + +var _definitions = require("../definitions"); + +function validate(node, key, val) { + if (!node) return; + const fields = _definitions.NODE_FIELDS[node.type]; + if (!fields) return; + const field = fields[key]; + validateField(node, key, val, field); + validateChild(node, key, val); +} + +function validateField(node, key, val, field) { + if (!(field == null ? void 0 : field.validate)) return; + if (field.optional && val == null) return; + field.validate(node, key, val); +} + +function validateChild(node, key, val) { + if (val == null) return; + const validate = _definitions.NODE_PARENT_VALIDATIONS[val.type]; + if (!validate) return; + validate(node, key, val); +} \ No newline at end of file diff --git a/node_modules/@babel/types/package.json b/node_modules/@babel/types/package.json new file mode 100644 index 000000000..ba6359377 --- /dev/null +++ b/node_modules/@babel/types/package.json @@ -0,0 +1,84 @@ +{ + "_from": "@babel/types@^7.11.0", + "_id": "@babel/types@7.11.0", + "_inBundle": false, + "_integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==", + "_location": "/@babel/types", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@babel/types@^7.11.0", + "name": "@babel/types", + "escapedName": "@babel%2ftypes", + "scope": "@babel", + "rawSpec": "^7.11.0", + "saveSpec": null, + "fetchSpec": "^7.11.0" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/generator", + "/@babel/helper-annotate-as-pure", + "/@babel/helper-builder-binary-assignment-operator-visitor", + "/@babel/helper-builder-react-jsx", + "/@babel/helper-builder-react-jsx-experimental", + "/@babel/helper-define-map", + "/@babel/helper-explode-assignable-expression", + "/@babel/helper-function-name", + "/@babel/helper-get-function-arity", + "/@babel/helper-hoist-variables", + "/@babel/helper-member-expression-to-functions", + "/@babel/helper-module-imports", + "/@babel/helper-module-transforms", + "/@babel/helper-optimise-call-expression", + "/@babel/helper-remap-async-to-generator", + "/@babel/helper-replace-supers", + "/@babel/helper-simple-access", + "/@babel/helper-skip-transparent-expression-wrappers", + "/@babel/helper-split-export-declaration", + "/@babel/helper-wrap-function", + "/@babel/helpers", + "/@babel/preset-env", + "/@babel/preset-modules", + "/@babel/template", + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz", + "_shasum": "2ae6bf1ba9ae8c3c43824e5861269871b206e90d", + "_spec": "@babel/types@^7.11.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/core", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@babel/helper-validator-identifier": "^7.10.4", + "lodash": "^4.17.19", + "to-fast-properties": "^2.0.0" + }, + "deprecated": false, + "description": "Babel Types is a Lodash-esque utility library for AST nodes", + "devDependencies": { + "@babel/generator": "^7.11.0", + "@babel/parser": "^7.11.0" + }, + "homepage": "https://babeljs.io/", + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/types", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-types" + }, + "types": "lib/index.d.ts", + "version": "7.11.0" +} diff --git a/node_modules/@babel/types/scripts/generateTypeHelpers.js b/node_modules/@babel/types/scripts/generateTypeHelpers.js new file mode 100644 index 000000000..bf0b036c1 --- /dev/null +++ b/node_modules/@babel/types/scripts/generateTypeHelpers.js @@ -0,0 +1,29 @@ +"use strict"; +const path = require("path"); +const chalk = require("chalk"); +const generateBuilders = require("./generators/generateBuilders"); +const generateValidators = require("./generators/generateValidators"); +const generateAsserts = require("./generators/generateAsserts"); +const generateConstants = require("./generators/generateConstants"); +const format = require("../../../scripts/utils/formatCode"); +const writeFile = require("../../../scripts/utils/writeFileAndMkDir"); + +const baseDir = path.join(__dirname, "../src"); + +console.log("Generating @babel/types dynamic functions"); + +const buildersFile = path.join(baseDir, "builders/generated/index.js"); +writeFile(buildersFile, format(generateBuilders(), buildersFile)); +console.log(` ${chalk.green("✔")} Generated builders`); + +const validatorsFile = path.join(baseDir, "validators/generated/index.js"); +writeFile(validatorsFile, format(generateValidators(), validatorsFile)); +console.log(` ${chalk.green("✔")} Generated validators`); + +const assertsFile = path.join(baseDir, "asserts/generated/index.js"); +writeFile(assertsFile, format(generateAsserts(), assertsFile)); +console.log(` ${chalk.green("✔")} Generated asserts`); + +const constantsFile = path.join(baseDir, "constants/generated/index.js"); +writeFile(constantsFile, format(generateConstants(), constantsFile)); +console.log(` ${chalk.green("✔")} Generated constants`); diff --git a/node_modules/@babel/types/scripts/generators/docs.js b/node_modules/@babel/types/scripts/generators/docs.js new file mode 100644 index 000000000..169894895 --- /dev/null +++ b/node_modules/@babel/types/scripts/generators/docs.js @@ -0,0 +1,121 @@ +"use strict"; + +const util = require("util"); +const stringifyValidator = require("../utils/stringifyValidator"); +const toFunctionName = require("../utils/toFunctionName"); + +const types = require("../../"); + +const readme = [ + `# @babel/types + +> This module contains methods for building ASTs manually and for checking the types of AST nodes. + +## Install + +\`\`\`sh +npm install --save-dev @babel/types +\`\`\` + +## API`, +]; + +const customTypes = { + ClassMethod: { + key: "if computed then `Expression` else `Identifier | Literal`", + }, + Identifier: { + name: "`string`", + }, + MemberExpression: { + property: "if computed then `Expression` else `Identifier`", + }, + ObjectMethod: { + key: "if computed then `Expression` else `Identifier | Literal`", + }, + ObjectProperty: { + key: "if computed then `Expression` else `Identifier | Literal`", + }, +}; +Object.keys(types.BUILDER_KEYS) + .sort() + .forEach(function (key) { + readme.push("### " + key[0].toLowerCase() + key.substr(1)); + readme.push("```javascript"); + readme.push( + "t." + + toFunctionName(key) + + "(" + + types.BUILDER_KEYS[key].join(", ") + + ")" + ); + readme.push("```"); + readme.push(""); + readme.push( + "See also `t.is" + + key + + "(node, opts)` and `t.assert" + + key + + "(node, opts)`." + ); + readme.push(""); + if (types.ALIAS_KEYS[key] && types.ALIAS_KEYS[key].length) { + readme.push( + "Aliases: " + + types.ALIAS_KEYS[key] + .map(function (key) { + return "`" + key + "`"; + }) + .join(", ") + ); + readme.push(""); + } + Object.keys(types.NODE_FIELDS[key]) + .sort(function (fieldA, fieldB) { + const indexA = types.BUILDER_KEYS[key].indexOf(fieldA); + const indexB = types.BUILDER_KEYS[key].indexOf(fieldB); + if (indexA === indexB) return fieldA < fieldB ? -1 : 1; + if (indexA === -1) return 1; + if (indexB === -1) return -1; + return indexA - indexB; + }) + .forEach(function (field) { + const defaultValue = types.NODE_FIELDS[key][field].default; + const fieldDescription = ["`" + field + "`"]; + const validator = types.NODE_FIELDS[key][field].validate; + if (customTypes[key] && customTypes[key][field]) { + fieldDescription.push(`: ${customTypes[key][field]}`); + } else if (validator) { + try { + fieldDescription.push( + ": `" + stringifyValidator(validator, "") + "`" + ); + } catch (ex) { + if (ex.code === "UNEXPECTED_VALIDATOR_TYPE") { + console.log( + "Unrecognised validator type for " + key + "." + field + ); + console.dir(ex.validator, { depth: 10, colors: true }); + } + } + } + if (defaultValue !== null || types.NODE_FIELDS[key][field].optional) { + fieldDescription.push( + " (default: `" + util.inspect(defaultValue) + "`" + ); + if (types.BUILDER_KEYS[key].indexOf(field) < 0) { + fieldDescription.push(", excluded from builder function"); + } + fieldDescription.push(")"); + } else { + fieldDescription.push(" (required)"); + } + readme.push(" - " + fieldDescription.join("")); + }); + + readme.push(""); + readme.push("---"); + readme.push(""); + }); + +process.stdout.write(readme.join("\n")); diff --git a/node_modules/@babel/types/scripts/generators/flow.js b/node_modules/@babel/types/scripts/generators/flow.js new file mode 100644 index 000000000..50f20bc61 --- /dev/null +++ b/node_modules/@babel/types/scripts/generators/flow.js @@ -0,0 +1,248 @@ +"use strict"; + +const t = require("../../"); +const stringifyValidator = require("../utils/stringifyValidator"); +const toFunctionName = require("../utils/toFunctionName"); + +const NODE_PREFIX = "BabelNode"; + +let code = `// NOTE: This file is autogenerated. Do not modify. +// See packages/babel-types/scripts/generators/flow.js for script used. + +declare class ${NODE_PREFIX}Comment { + value: string; + start: number; + end: number; + loc: ${NODE_PREFIX}SourceLocation; +} + +declare class ${NODE_PREFIX}CommentBlock extends ${NODE_PREFIX}Comment { + type: "CommentBlock"; +} + +declare class ${NODE_PREFIX}CommentLine extends ${NODE_PREFIX}Comment { + type: "CommentLine"; +} + +declare class ${NODE_PREFIX}SourceLocation { + start: { + line: number; + column: number; + }; + + end: { + line: number; + column: number; + }; +} + +declare class ${NODE_PREFIX} { + leadingComments?: Array<${NODE_PREFIX}Comment>; + innerComments?: Array<${NODE_PREFIX}Comment>; + trailingComments?: Array<${NODE_PREFIX}Comment>; + start: ?number; + end: ?number; + loc: ?${NODE_PREFIX}SourceLocation; +}\n\n`; + +// + +const lines = []; + +for (const type in t.NODE_FIELDS) { + const fields = t.NODE_FIELDS[type]; + + const struct = ['type: "' + type + '";']; + const args = []; + const builderNames = t.BUILDER_KEYS[type]; + + Object.keys(t.NODE_FIELDS[type]) + .sort((fieldA, fieldB) => { + const indexA = t.BUILDER_KEYS[type].indexOf(fieldA); + const indexB = t.BUILDER_KEYS[type].indexOf(fieldB); + if (indexA === indexB) return fieldA < fieldB ? -1 : 1; + if (indexA === -1) return 1; + if (indexB === -1) return -1; + return indexA - indexB; + }) + .forEach(fieldName => { + const field = fields[fieldName]; + + let suffix = ""; + if (field.optional || field.default != null) suffix += "?"; + + let typeAnnotation = "any"; + + const validate = field.validate; + if (validate) { + typeAnnotation = stringifyValidator(validate, NODE_PREFIX); + } + + if (typeAnnotation) { + suffix += ": " + typeAnnotation; + } + if (builderNames.includes(fieldName)) { + args.push(t.toBindingIdentifierName(fieldName) + suffix); + } + + if (t.isValidIdentifier(fieldName)) { + struct.push(fieldName + suffix + ";"); + } + }); + + code += `declare class ${NODE_PREFIX}${type} extends ${NODE_PREFIX} { + ${struct.join("\n ").trim()} +}\n\n`; + + // Flow chokes on super() and import() :/ + if (type !== "Super" && type !== "Import") { + lines.push( + `declare function ${toFunctionName(type)}(${args.join( + ", " + )}): ${NODE_PREFIX}${type};` + ); + } else { + const functionName = toFunctionName(type); + lines.push( + `declare function _${functionName}(${args.join( + ", " + )}): ${NODE_PREFIX}${type};`, + `declare export { _${functionName} as ${functionName} }` + ); + } +} + +for (let i = 0; i < t.TYPES.length; i++) { + let decl = `declare function is${t.TYPES[i]}(node: ?Object, opts?: ?Object): boolean`; + + if (t.NODE_FIELDS[t.TYPES[i]]) { + decl += ` %checks (node instanceof ${NODE_PREFIX}${t.TYPES[i]})`; + } + + lines.push(decl); +} + +lines.push( + // builders/ + // eslint-disable-next-line max-len + `declare function createTypeAnnotationBasedOnTypeof(type: 'string' | 'number' | 'undefined' | 'boolean' | 'function' | 'object' | 'symbol'): ${NODE_PREFIX}TypeAnnotation`, + // eslint-disable-next-line max-len + `declare function createUnionTypeAnnotation(types: Array<${NODE_PREFIX}FlowType>): ${NODE_PREFIX}UnionTypeAnnotation`, + // eslint-disable-next-line max-len + `declare function createFlowUnionType(types: Array<${NODE_PREFIX}FlowType>): ${NODE_PREFIX}UnionTypeAnnotation`, + // this smells like "internal API" + // eslint-disable-next-line max-len + `declare function buildChildren(node: { children: Array<${NODE_PREFIX}JSXText | ${NODE_PREFIX}JSXExpressionContainer | ${NODE_PREFIX}JSXSpreadChild | ${NODE_PREFIX}JSXElement | ${NODE_PREFIX}JSXFragment | ${NODE_PREFIX}JSXEmptyExpression> }): Array<${NODE_PREFIX}JSXText | ${NODE_PREFIX}JSXExpressionContainer | ${NODE_PREFIX}JSXSpreadChild | ${NODE_PREFIX}JSXElement | ${NODE_PREFIX}JSXFragment>`, + + // clone/ + `declare function clone(n: T): T;`, + `declare function cloneDeep(n: T): T;`, + `declare function cloneDeepWithoutLoc(n: T): T;`, + `declare function cloneNode(n: T, deep?: boolean, withoutLoc?: boolean): T;`, + `declare function cloneWithoutLoc(n: T): T;`, + + // comments/ + `declare type CommentTypeShorthand = 'leading' | 'inner' | 'trailing'`, + // eslint-disable-next-line max-len + `declare function addComment(node: T, type: CommentTypeShorthand, content: string, line?: boolean): T`, + // eslint-disable-next-line max-len + `declare function addComments(node: T, type: CommentTypeShorthand, comments: Array): T`, + `declare function inheritInnerComments(node: Node, parent: Node): void`, + `declare function inheritLeadingComments(node: Node, parent: Node): void`, + `declare function inheritsComments(node: T, parent: Node): void`, + `declare function inheritTrailingComments(node: Node, parent: Node): void`, + `declare function removeComments(node: T): T`, + + // converters/ + `declare function ensureBlock(node: ${NODE_PREFIX}, key: string): ${NODE_PREFIX}BlockStatement`, + `declare function toBindingIdentifierName(name?: ?string): string`, + // eslint-disable-next-line max-len + `declare function toBlock(node: ${NODE_PREFIX}Statement | ${NODE_PREFIX}Expression, parent?: ${NODE_PREFIX}Function | null): ${NODE_PREFIX}BlockStatement`, + // eslint-disable-next-line max-len + `declare function toComputedKey(node: ${NODE_PREFIX}Method | ${NODE_PREFIX}Property, key?: ${NODE_PREFIX}Expression | ${NODE_PREFIX}Identifier): ${NODE_PREFIX}Expression`, + // eslint-disable-next-line max-len + `declare function toExpression(node: ${NODE_PREFIX}ExpressionStatement | ${NODE_PREFIX}Expression | ${NODE_PREFIX}Class | ${NODE_PREFIX}Function): ${NODE_PREFIX}Expression`, + `declare function toIdentifier(name?: ?string): string`, + // eslint-disable-next-line max-len + `declare function toKeyAlias(node: ${NODE_PREFIX}Method | ${NODE_PREFIX}Property, key?: ${NODE_PREFIX}): string`, + // toSequenceExpression relies on types that aren't declared in flow + // eslint-disable-next-line max-len + `declare function toStatement(node: ${NODE_PREFIX}Statement | ${NODE_PREFIX}Class | ${NODE_PREFIX}Function | ${NODE_PREFIX}AssignmentExpression, ignore?: boolean): ${NODE_PREFIX}Statement | void`, + `declare function valueToNode(value: any): ${NODE_PREFIX}Expression`, + + // modifications/ + // eslint-disable-next-line max-len + `declare function removeTypeDuplicates(types: Array<${NODE_PREFIX}FlowType>): Array<${NODE_PREFIX}FlowType>`, + // eslint-disable-next-line max-len + `declare function appendToMemberExpression(member: ${NODE_PREFIX}MemberExpression, append: ${NODE_PREFIX}, computed?: boolean): ${NODE_PREFIX}MemberExpression`, + // eslint-disable-next-line max-len + `declare function inherits(child: T, parent: ${NODE_PREFIX} | null | void): T`, + // eslint-disable-next-line max-len + `declare function prependToMemberExpression(member: ${NODE_PREFIX}MemberExpression, prepend: ${NODE_PREFIX}Expression): ${NODE_PREFIX}MemberExpression`, + `declare function removeProperties(n: T, opts: ?{}): void;`, + `declare function removePropertiesDeep(n: T, opts: ?{}): T;`, + + // retrievers/ + // eslint-disable-next-line max-len + `declare function getBindingIdentifiers(node: ${NODE_PREFIX}, duplicates: boolean, outerOnly?: boolean): { [key: string]: ${NODE_PREFIX}Identifier | Array<${NODE_PREFIX}Identifier> }`, + // eslint-disable-next-line max-len + `declare function getOuterBindingIdentifiers(node: Node, duplicates: boolean): { [key: string]: ${NODE_PREFIX}Identifier | Array<${NODE_PREFIX}Identifier> }`, + + // traverse/ + `declare type TraversalAncestors = Array<{ + node: BabelNode, + key: string, + index?: number, + }>; + declare type TraversalHandler = (BabelNode, TraversalAncestors, T) => void; + declare type TraversalHandlers = { + enter?: TraversalHandler, + exit?: TraversalHandler, + };`.replace(/(^|\n) {2}/g, "$1"), + // eslint-disable-next-line + `declare function traverse(n: BabelNode, TraversalHandler | TraversalHandlers, state?: T): void;`, + `declare function traverseFast(n: Node, h: TraversalHandler, state?: T): void;`, + + // utils/ + // cleanJSXElementLiteralChild is not exported + // inherit is not exported + `declare function shallowEqual(actual: Object, expected: Object): boolean`, + + // validators/ + // eslint-disable-next-line max-len + `declare function buildMatchMemberExpression(match: string, allowPartial?: boolean): (?BabelNode) => boolean`, + `declare function is(type: string, n: BabelNode, opts: Object): boolean;`, + `declare function isBinding(node: BabelNode, parent: BabelNode, grandparent?: BabelNode): boolean`, + `declare function isBlockScoped(node: BabelNode): boolean`, + `declare function isImmutable(node: BabelNode): boolean`, + `declare function isLet(node: BabelNode): boolean`, + `declare function isNode(node: ?Object): boolean`, + `declare function isNodesEquivalent(a: any, b: any): boolean`, + `declare function isPlaceholderType(placeholderType: string, targetType: string): boolean`, + `declare function isReferenced(node: BabelNode, parent: BabelNode, grandparent?: BabelNode): boolean`, + `declare function isScope(node: BabelNode, parent: BabelNode): boolean`, + `declare function isSpecifierDefault(specifier: BabelNodeModuleSpecifier): boolean`, + `declare function isType(nodetype: ?string, targetType: string): boolean`, + `declare function isValidES3Identifier(name: string): boolean`, + `declare function isValidES3Identifier(name: string): boolean`, + `declare function isValidIdentifier(name: string): boolean`, + `declare function isVar(node: BabelNode): boolean`, + // eslint-disable-next-line max-len + `declare function matchesPattern(node: ?BabelNode, match: string | Array, allowPartial?: boolean): boolean`, + `declare function validate(n: BabelNode, key: string, value: mixed): void;` +); + +for (const type in t.FLIPPED_ALIAS_KEYS) { + const types = t.FLIPPED_ALIAS_KEYS[type]; + code += `type ${NODE_PREFIX}${type} = ${types + .map(type => `${NODE_PREFIX}${type}`) + .join(" | ")};\n`; +} + +code += `\ndeclare module "@babel/types" { + ${lines.join("\n").replace(/\n/g, "\n ").trim()} +}\n`; + +// + +process.stdout.write(code); diff --git a/node_modules/@babel/types/scripts/generators/generateAsserts.js b/node_modules/@babel/types/scripts/generators/generateAsserts.js new file mode 100644 index 000000000..26bdb8dcc --- /dev/null +++ b/node_modules/@babel/types/scripts/generators/generateAsserts.js @@ -0,0 +1,44 @@ +"use strict"; +const definitions = require("../../lib/definitions"); + +function addAssertHelper(type) { + return `export function assert${type}(node: Object, opts?: Object = {}): void { + assert("${type}", node, opts) } + `; +} + +module.exports = function generateAsserts() { + let output = `// @flow +/* + * This file is auto-generated! Do not modify it directly. + * To re-generate run 'make build' + */ +import is from "../../validators/is"; + +function assert(type: string, node: Object, opts?: Object): void { + if (!is(type, node, opts)) { + throw new Error( + \`Expected type "\${type}" with option \${JSON.stringify((opts: any))}, \` + + \`but instead got "\${node.type}".\`, + ); + } +}\n\n`; + + Object.keys(definitions.VISITOR_KEYS).forEach(type => { + output += addAssertHelper(type); + }); + + Object.keys(definitions.FLIPPED_ALIAS_KEYS).forEach(type => { + output += addAssertHelper(type); + }); + + Object.keys(definitions.DEPRECATED_KEYS).forEach(type => { + const newType = definitions.DEPRECATED_KEYS[type]; + output += `export function assert${type}(node: Object, opts: Object): void { + console.trace("The node type ${type} has been renamed to ${newType}"); + assert("${type}", node, opts); +}\n`; + }); + + return output; +}; diff --git a/node_modules/@babel/types/scripts/generators/generateBuilders.js b/node_modules/@babel/types/scripts/generators/generateBuilders.js new file mode 100644 index 000000000..5ca9f7464 --- /dev/null +++ b/node_modules/@babel/types/scripts/generators/generateBuilders.js @@ -0,0 +1,57 @@ +"use strict"; +const definitions = require("../../lib/definitions"); +const formatBuilderName = require("../utils/formatBuilderName"); +const lowerFirst = require("../utils/lowerFirst"); + +module.exports = function generateBuilders() { + let output = `// @flow +/* + * This file is auto-generated! Do not modify it directly. + * To re-generate run 'make build' + */ +import builder from "../builder";\n\n`; + + const reservedNames = new Set(["super", "import"]); + Object.keys(definitions.BUILDER_KEYS).forEach(type => { + const formatedBuilderName = formatBuilderName(type); + const formatedBuilderNameLocal = reservedNames.has(formatedBuilderName) + ? `_${formatedBuilderName}` + : formatedBuilderName; + output += `${ + formatedBuilderNameLocal === formatedBuilderName ? "export " : "" + }function ${formatedBuilderNameLocal}(...args: Array): Object { return builder("${type}", ...args); }\n`; + // This is needed for backwards compatibility. + // arrayExpression -> ArrayExpression + output += `export { ${formatedBuilderNameLocal} as ${type} };\n`; + if (formatedBuilderNameLocal !== formatedBuilderName) { + output += `export { ${formatedBuilderNameLocal} as ${formatedBuilderName} };\n`; + } + + // This is needed for backwards compatibility. + // It should be removed in the next major version. + // JSXIdentifier -> jSXIdentifier + if (/^[A-Z]{2}/.test(type)) { + output += `export { ${formatedBuilderNameLocal} as ${lowerFirst( + type + )} }\n`; + } + }); + + Object.keys(definitions.DEPRECATED_KEYS).forEach(type => { + const newType = definitions.DEPRECATED_KEYS[type]; + output += `export function ${type}(...args: Array): Object { + console.trace("The node type ${type} has been renamed to ${newType}"); + return builder("${type}", ...args); +} +export { ${type} as ${formatBuilderName(type)} };\n`; + + // This is needed for backwards compatibility. + // It should be removed in the next major version. + // JSXIdentifier -> jSXIdentifier + if (/^[A-Z]{2}/.test(type)) { + output += `export { ${type} as ${lowerFirst(type)} }\n`; + } + }); + + return output; +}; diff --git a/node_modules/@babel/types/scripts/generators/generateConstants.js b/node_modules/@babel/types/scripts/generators/generateConstants.js new file mode 100644 index 000000000..1e4d2caba --- /dev/null +++ b/node_modules/@babel/types/scripts/generators/generateConstants.js @@ -0,0 +1,17 @@ +"use strict"; +const definitions = require("../../lib/definitions"); + +module.exports = function generateConstants() { + let output = `// @flow +/* + * This file is auto-generated! Do not modify it directly. + * To re-generate run 'make build' + */ +import { FLIPPED_ALIAS_KEYS } from "../../definitions";\n\n`; + + Object.keys(definitions.FLIPPED_ALIAS_KEYS).forEach(type => { + output += `export const ${type.toUpperCase()}_TYPES = FLIPPED_ALIAS_KEYS["${type}"];\n`; + }); + + return output; +}; diff --git a/node_modules/@babel/types/scripts/generators/generateValidators.js b/node_modules/@babel/types/scripts/generators/generateValidators.js new file mode 100644 index 000000000..1455f99e5 --- /dev/null +++ b/node_modules/@babel/types/scripts/generators/generateValidators.js @@ -0,0 +1,78 @@ +"use strict"; +const definitions = require("../../lib/definitions"); + +const has = Function.call.bind(Object.prototype.hasOwnProperty); + +function joinComparisons(leftArr, right) { + return ( + leftArr.map(JSON.stringify).join(` === ${right} || `) + ` === ${right}` + ); +} + +function addIsHelper(type, aliasKeys, deprecated) { + const targetType = JSON.stringify(type); + let aliasSource = ""; + if (aliasKeys) { + aliasSource = " || " + joinComparisons(aliasKeys, "nodeType"); + } + + let placeholderSource = ""; + const placeholderTypes = []; + if ( + definitions.PLACEHOLDERS.includes(type) && + has(definitions.FLIPPED_ALIAS_KEYS, type) + ) { + placeholderTypes.push(type); + } + if (has(definitions.PLACEHOLDERS_FLIPPED_ALIAS, type)) { + placeholderTypes.push(...definitions.PLACEHOLDERS_FLIPPED_ALIAS[type]); + } + if (placeholderTypes.length > 0) { + placeholderSource = + ' || nodeType === "Placeholder" && (' + + joinComparisons(placeholderTypes, "node.expectedNode") + + ")"; + } + + return `export function is${type}(node: ?Object, opts?: Object): boolean { + ${deprecated || ""} + if (!node) return false; + + const nodeType = node.type; + if (nodeType === ${targetType}${aliasSource}${placeholderSource}) { + if (typeof opts === "undefined") { + return true; + } else { + return shallowEqual(node, opts); + } + } + + return false; + } + `; +} + +module.exports = function generateValidators() { + let output = `// @flow +/* + * This file is auto-generated! Do not modify it directly. + * To re-generate run 'make build' + */ +import shallowEqual from "../../utils/shallowEqual";\n\n`; + + Object.keys(definitions.VISITOR_KEYS).forEach(type => { + output += addIsHelper(type); + }); + + Object.keys(definitions.FLIPPED_ALIAS_KEYS).forEach(type => { + output += addIsHelper(type, definitions.FLIPPED_ALIAS_KEYS[type]); + }); + + Object.keys(definitions.DEPRECATED_KEYS).forEach(type => { + const newType = definitions.DEPRECATED_KEYS[type]; + const deprecated = `console.trace("The node type ${type} has been renamed to ${newType}");`; + output += addIsHelper(type, null, deprecated); + }); + + return output; +}; diff --git a/node_modules/@babel/types/scripts/generators/typescript.js b/node_modules/@babel/types/scripts/generators/typescript.js new file mode 100644 index 000000000..ef460a734 --- /dev/null +++ b/node_modules/@babel/types/scripts/generators/typescript.js @@ -0,0 +1,364 @@ +"use strict"; + +const t = require("../../"); +const stringifyValidator = require("../utils/stringifyValidator"); +const toFunctionName = require("../utils/toFunctionName"); + +let code = `// NOTE: This file is autogenerated. Do not modify. +// See packages/babel-types/scripts/generators/typescript.js for script used. + +interface BaseComment { + value: string; + start: number; + end: number; + loc: SourceLocation; + type: "CommentBlock" | "CommentLine"; +} + +export interface CommentBlock extends BaseComment { + type: "CommentBlock"; +} + +export interface CommentLine extends BaseComment { + type: "CommentLine"; +} + +export type Comment = CommentBlock | CommentLine; + +export interface SourceLocation { + start: { + line: number; + column: number; + }; + + end: { + line: number; + column: number; + }; +} + +interface BaseNode { + leadingComments: ReadonlyArray | null; + innerComments: ReadonlyArray | null; + trailingComments: ReadonlyArray | null; + start: number | null; + end: number | null; + loc: SourceLocation | null; + type: Node["type"]; +} + +export type Node = ${t.TYPES.sort().join(" | ")};\n\n`; + +// + +const lines = []; + +for (const type in t.NODE_FIELDS) { + const fields = t.NODE_FIELDS[type]; + const fieldNames = sortFieldNames(Object.keys(t.NODE_FIELDS[type]), type); + const builderNames = t.BUILDER_KEYS[type]; + + const struct = ['type: "' + type + '";']; + const args = []; + + fieldNames.forEach(fieldName => { + const field = fields[fieldName]; + // Future / annoying TODO: + // MemberExpression.property, ObjectProperty.key and ObjectMethod.key need special cases; either: + // - convert the declaration to chain() like ClassProperty.key and ClassMethod.key, + // - declare an alias type for valid keys, detect the case and reuse it here, + // - declare a disjoint union with, for example, ObjectPropertyBase, + // ObjectPropertyLiteralKey and ObjectPropertyComputedKey, and declare ObjectProperty + // as "ObjectPropertyBase & (ObjectPropertyLiteralKey | ObjectPropertyComputedKey)" + let typeAnnotation = stringifyValidator(field.validate, ""); + + if (isNullable(field) && !hasDefault(field)) { + typeAnnotation += " | null"; + } + + if (builderNames.includes(fieldName)) { + if (areAllRemainingFieldsNullable(fieldName, builderNames, fields)) { + args.push( + `${t.toBindingIdentifierName(fieldName)}${ + isNullable(field) ? "?:" : ":" + } ${typeAnnotation}` + ); + } else { + args.push( + `${t.toBindingIdentifierName(fieldName)}: ${typeAnnotation}${ + isNullable(field) ? " | undefined" : "" + }` + ); + } + } + + const alphaNumeric = /^\w+$/; + + if (t.isValidIdentifier(fieldName) || alphaNumeric.test(fieldName)) { + struct.push(`${fieldName}: ${typeAnnotation};`); + } else { + struct.push(`"${fieldName}": ${typeAnnotation};`); + } + }); + + code += `export interface ${type} extends BaseNode { + ${struct.join("\n ").trim()} +}\n\n`; + + // super and import are reserved words in JavaScript + if (type !== "Super" && type !== "Import") { + lines.push( + `export function ${toFunctionName(type)}(${args.join(", ")}): ${type};` + ); + } else { + const functionName = toFunctionName(type); + lines.push( + `declare function _${functionName}(${args.join(", ")}): ${type};`, + `export { _${functionName} as ${functionName}}` + ); + } +} + +for (const typeName of t.TYPES) { + const result = + t.NODE_FIELDS[typeName] || t.FLIPPED_ALIAS_KEYS[typeName] + ? `node is ${typeName}` + : "boolean"; + + lines.push( + `export function is${typeName}(node: object | null | undefined, opts?: object | null): ${result};`, + // TypeScript 3.7: https://github.com/microsoft/TypeScript/pull/32695 will allow assert declarations + // eslint-disable-next-line max-len + `// export function assert${typeName}(node: object | null | undefined, opts?: object | null): asserts ${ + result === "boolean" ? "node" : result + };` + ); +} + +lines.push( + // assert/ + // Commented out as this declaration requires TypeScript 3.7 (what do?) + `// export function assertNode(obj: any): asserts obj is Node`, + + // builders/ + // eslint-disable-next-line max-len + `export function createTypeAnnotationBasedOnTypeof(type: 'string' | 'number' | 'undefined' | 'boolean' | 'function' | 'object' | 'symbol'): StringTypeAnnotation | VoidTypeAnnotation | NumberTypeAnnotation | BooleanTypeAnnotation | GenericTypeAnnotation`, + `export function createUnionTypeAnnotation(types: [T]): T`, + `export function createFlowUnionType(types: [T]): T`, + // this probably misbehaves if there are 0 elements, and it's not a UnionTypeAnnotation if there's only 1 + // it is possible to require "2 or more" for this overload ([T, T, ...T[]]) but it requires typescript 3.0 + `export function createUnionTypeAnnotation(types: ReadonlyArray): UnionTypeAnnotation`, + `export function createFlowUnionType(types: ReadonlyArray): UnionTypeAnnotation`, + // this smells like "internal API" + // eslint-disable-next-line max-len + `export function buildChildren(node: { children: ReadonlyArray }): JSXElement['children']`, + + // clone/ + `export function clone(n: T): T;`, + `export function cloneDeep(n: T): T;`, + `export function cloneDeepWithoutLoc(n: T): T;`, + `export function cloneNode(n: T, deep?: boolean, withoutLoc?: boolean): T;`, + `export function cloneWithoutLoc(n: T): T;`, + + // comments/ + `export type CommentTypeShorthand = 'leading' | 'inner' | 'trailing'`, + // eslint-disable-next-line max-len + `export function addComment(node: T, type: CommentTypeShorthand, content: string, line?: boolean): T`, + // eslint-disable-next-line max-len + `export function addComments(node: T, type: CommentTypeShorthand, comments: ReadonlyArray): T`, + `export function inheritInnerComments(node: Node, parent: Node): void`, + `export function inheritLeadingComments(node: Node, parent: Node): void`, + `export function inheritsComments(node: T, parent: Node): void`, + `export function inheritTrailingComments(node: Node, parent: Node): void`, + `export function removeComments(node: T): T`, + + // converters/ + // eslint-disable-next-line max-len + `export function ensureBlock(node: Extract): BlockStatement`, + // too complex? + // eslint-disable-next-line max-len + `export function ensureBlock = 'body'>(node: Extract>, key: K): BlockStatement`, + // gatherSequenceExpressions is not exported + `export function toBindingIdentifierName(name: { toString(): string } | null | undefined): string`, + `export function toBlock(node: Statement | Expression, parent?: Function | null): BlockStatement`, + // it is possible for `node` to be an arbitrary object if `key` is always provided, + // but that doesn't look like intended API + // eslint-disable-next-line max-len + `export function toComputedKey>(node: T, key?: Expression | Identifier): Expression`, + `export function toExpression(node: Function): FunctionExpression`, + `export function toExpression(node: Class): ClassExpression`, + `export function toExpression(node: ExpressionStatement | Expression | Class | Function): Expression`, + `export function toIdentifier(name: { toString(): string } | null | undefined): string`, + `export function toKeyAlias(node: Method | Property, key?: Node): string`, + // NOTE: this actually uses Scope from @babel/traverse, but we can't add a dependency on its types, + // as they live in @types. Declare the structural subset that is required. + // eslint-disable-next-line max-len + `export function toSequenceExpression(nodes: ReadonlyArray, scope: { push(value: { id: LVal; kind: 'var'; init?: Expression}): void; buildUndefinedNode(): Node }): SequenceExpression | undefined`, + `export function toStatement(node: AssignmentExpression, ignore?: boolean): ExpressionStatement`, + `export function toStatement(node: Statement | AssignmentExpression, ignore?: boolean): Statement`, + `export function toStatement(node: Class, ignore: true): ClassDeclaration | undefined`, + `export function toStatement(node: Class, ignore?: boolean): ClassDeclaration`, + `export function toStatement(node: Function, ignore: true): FunctionDeclaration | undefined`, + `export function toStatement(node: Function, ignore?: boolean): FunctionDeclaration`, + // eslint-disable-next-line max-len + `export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore: true): Statement | undefined`, + // eslint-disable-next-line max-len + `export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore?: boolean): Statement`, + // eslint-disable-next-line max-len + `export function valueToNode(value: undefined): Identifier`, // (should this not be a UnaryExpression to avoid shadowing?) + `export function valueToNode(value: boolean): BooleanLiteral`, + `export function valueToNode(value: null): NullLiteral`, + `export function valueToNode(value: string): StringLiteral`, + // Infinities and NaN need to use a BinaryExpression; negative values must be wrapped in UnaryExpression + `export function valueToNode(value: number): NumericLiteral | BinaryExpression | UnaryExpression`, + `export function valueToNode(value: RegExp): RegExpLiteral`, + // eslint-disable-next-line max-len + `export function valueToNode(value: ReadonlyArray): ArrayExpression`, + // this throws with objects that are not PlainObject according to lodash, + // or if there are non-valueToNode-able values + `export function valueToNode(value: object): ObjectExpression`, + // eslint-disable-next-line max-len + `export function valueToNode(value: undefined | boolean | null | string | number | RegExp | object): Expression`, + + // modifications/ + // eslint-disable-next-line max-len + `export function removeTypeDuplicates(types: ReadonlyArray): FlowType[]`, + // eslint-disable-next-line max-len + `export function appendToMemberExpression>(member: T, append: MemberExpression['property'], computed?: boolean): T`, + // eslint-disable-next-line max-len + `export function inherits(child: T, parent: Node | null | undefined): T`, + // eslint-disable-next-line max-len + `export function prependToMemberExpression>(member: T, prepend: MemberExpression['object']): T`, + `export function removeProperties( + n: Node, + opts?: { preserveComments: boolean } | null +): void;`, + `export function removePropertiesDeep( + n: T, + opts?: { preserveComments: boolean } | null +): T;`, + + // retrievers/ + // eslint-disable-next-line max-len + `export function getBindingIdentifiers(node: Node, duplicates: true, outerOnly?: boolean): Record>`, + // eslint-disable-next-line max-len + `export function getBindingIdentifiers(node: Node, duplicates?: false, outerOnly?: boolean): Record`, + // eslint-disable-next-line max-len + `export function getBindingIdentifiers(node: Node, duplicates: boolean, outerOnly?: boolean): Record>`, + // eslint-disable-next-line max-len + `export function getOuterBindingIdentifiers(node: Node, duplicates: true): Record>`, + `export function getOuterBindingIdentifiers(node: Node, duplicates?: false): Record`, + // eslint-disable-next-line max-len + `export function getOuterBindingIdentifiers(node: Node, duplicates: boolean): Record>`, + + // traverse/ + `export type TraversalAncestors = ReadonlyArray<{ + node: Node, + key: string, + index?: number, + }>; + export type TraversalHandler = ( + this: undefined, node: Node, parent: TraversalAncestors, type: T + ) => void; + export type TraversalHandlers = { + enter?: TraversalHandler, + exit?: TraversalHandler, + };`.replace(/(^|\n) {2}/g, "$1"), + // eslint-disable-next-line + `export function traverse(n: Node, h: TraversalHandler | TraversalHandlers, state?: T): void;`, + `export function traverseFast(n: Node, h: TraversalHandler, state?: T): void;`, + + // utils/ + // cleanJSXElementLiteralChild is not exported + // inherit is not exported + `export function shallowEqual(actual: object, expected: T): actual is T`, + + // validators/ + // eslint-disable-next-line max-len + `export function buildMatchMemberExpression(match: string, allowPartial?: boolean): (node: Node | null | undefined) => node is MemberExpression`, + // eslint-disable-next-line max-len + `export function is(type: T, n: Node | null | undefined, required?: undefined): n is Extract`, + // eslint-disable-next-line max-len + `export function is>(type: T, n: Node | null | undefined, required: Partial

): n is P`, + // eslint-disable-next-line max-len + `export function is

(type: string, n: Node | null | undefined, required: Partial

): n is P`, + `export function is(type: string, n: Node | null | undefined, required?: Partial): n is Node`, + `export function isBinding(node: Node, parent: Node, grandparent?: Node): boolean`, + // eslint-disable-next-line max-len + `export function isBlockScoped(node: Node): node is FunctionDeclaration | ClassDeclaration | VariableDeclaration`, + `export function isImmutable(node: Node): node is Immutable`, + `export function isLet(node: Node): node is VariableDeclaration`, + `export function isNode(node: object | null | undefined): node is Node`, + `export function isNodesEquivalent>(a: T, b: any): b is T`, + `export function isNodesEquivalent(a: any, b: any): boolean`, + `export function isPlaceholderType(placeholderType: Node['type'], targetType: Node['type']): boolean`, + `export function isReferenced(node: Node, parent: Node, grandparent?: Node): boolean`, + `export function isScope(node: Node, parent: Node): node is Scopable`, + `export function isSpecifierDefault(specifier: ModuleSpecifier): boolean`, + `export function isType(nodetype: string, targetType: T): nodetype is T`, + `export function isType(nodetype: string | null | undefined, targetType: string): boolean`, + `export function isValidES3Identifier(name: string): boolean`, + `export function isValidIdentifier(name: string): boolean`, + `export function isVar(node: Node): node is VariableDeclaration`, + // the MemberExpression implication is incidental, but it follows from the implementation + // eslint-disable-next-line max-len + `export function matchesPattern(node: Node | null | undefined, match: string | ReadonlyArray, allowPartial?: boolean): node is MemberExpression`, + // TypeScript 3.7: ": asserts n is T" + // eslint-disable-next-line max-len + `export function validate(n: Node | null | undefined, key: K, value: T[K]): void`, + `export function validate(n: Node, key: string, value: any): void;` +); + +for (const type in t.DEPRECATED_KEYS) { + code += `/** + * @deprecated Use \`${t.DEPRECATED_KEYS[type]}\` + */ +export type ${type} = ${t.DEPRECATED_KEYS[type]};\n +`; +} + +for (const type in t.FLIPPED_ALIAS_KEYS) { + const types = t.FLIPPED_ALIAS_KEYS[type]; + code += `export type ${type} = ${types + .map(type => `${type}`) + .join(" | ")};\n`; +} +code += "\n"; + +code += "export interface Aliases {\n"; +for (const type in t.FLIPPED_ALIAS_KEYS) { + code += ` ${type}: ${type};\n`; +} +code += "}\n\n"; + +code += lines.join("\n") + "\n"; + +// + +process.stdout.write(code); + +// + +function areAllRemainingFieldsNullable(fieldName, fieldNames, fields) { + const index = fieldNames.indexOf(fieldName); + return fieldNames.slice(index).every(_ => isNullable(fields[_])); +} + +function hasDefault(field) { + return field.default != null; +} + +function isNullable(field) { + return field.optional || hasDefault(field); +} + +function sortFieldNames(fields, type) { + return fields.sort((fieldA, fieldB) => { + const indexA = t.BUILDER_KEYS[type].indexOf(fieldA); + const indexB = t.BUILDER_KEYS[type].indexOf(fieldB); + if (indexA === indexB) return fieldA < fieldB ? -1 : 1; + if (indexA === -1) return 1; + if (indexB === -1) return -1; + return indexA - indexB; + }); +} diff --git a/node_modules/@babel/types/scripts/utils/formatBuilderName.js b/node_modules/@babel/types/scripts/utils/formatBuilderName.js new file mode 100644 index 000000000..621c46821 --- /dev/null +++ b/node_modules/@babel/types/scripts/utils/formatBuilderName.js @@ -0,0 +1,10 @@ +"use strict"; + +const toLowerCase = Function.call.bind("".toLowerCase); + +module.exports = function formatBuilderName(type) { + // FunctionExpression -> functionExpression + // JSXIdentifier -> jsxIdentifier + // V8IntrinsicIdentifier -> v8IntrinsicIdentifier + return type.replace(/^([A-Z](?=[a-z0-9])|[A-Z]+(?=[A-Z]))/, toLowerCase); +}; diff --git a/node_modules/@babel/types/scripts/utils/lowerFirst.js b/node_modules/@babel/types/scripts/utils/lowerFirst.js new file mode 100644 index 000000000..9e7b0cee5 --- /dev/null +++ b/node_modules/@babel/types/scripts/utils/lowerFirst.js @@ -0,0 +1,4 @@ +"use strict"; +module.exports = function lowerFirst(string) { + return string[0].toLowerCase() + string.slice(1); +}; diff --git a/node_modules/@babel/types/scripts/utils/stringifyValidator.js b/node_modules/@babel/types/scripts/utils/stringifyValidator.js new file mode 100644 index 000000000..2ea1e8035 --- /dev/null +++ b/node_modules/@babel/types/scripts/utils/stringifyValidator.js @@ -0,0 +1,66 @@ +module.exports = function stringifyValidator(validator, nodePrefix) { + if (validator === undefined) { + return "any"; + } + + if (validator.each) { + return `Array<${stringifyValidator(validator.each, nodePrefix)}>`; + } + + if (validator.chainOf) { + return stringifyValidator(validator.chainOf[1], nodePrefix); + } + + if (validator.oneOf) { + return validator.oneOf.map(JSON.stringify).join(" | "); + } + + if (validator.oneOfNodeTypes) { + return validator.oneOfNodeTypes.map(_ => nodePrefix + _).join(" | "); + } + + if (validator.oneOfNodeOrValueTypes) { + return validator.oneOfNodeOrValueTypes + .map(_ => { + return isValueType(_) ? _ : nodePrefix + _; + }) + .join(" | "); + } + + if (validator.type) { + return validator.type; + } + + if (validator.shapeOf) { + return ( + "{ " + + Object.keys(validator.shapeOf) + .map(shapeKey => { + const propertyDefinition = validator.shapeOf[shapeKey]; + if (propertyDefinition.validate) { + const isOptional = + propertyDefinition.optional || propertyDefinition.default != null; + return ( + shapeKey + + (isOptional ? "?: " : ": ") + + stringifyValidator(propertyDefinition.validate) + ); + } + return null; + }) + .filter(Boolean) + .join(", ") + + " }" + ); + } + + return ["any"]; +}; + +/** + * Heuristic to decide whether or not the given type is a value type (eg. "null") + * or a Node type (eg. "Expression"). + */ +function isValueType(type) { + return type.charAt(0).toLowerCase() === type.charAt(0); +} diff --git a/node_modules/@babel/types/scripts/utils/toFunctionName.js b/node_modules/@babel/types/scripts/utils/toFunctionName.js new file mode 100644 index 000000000..627c9a7d8 --- /dev/null +++ b/node_modules/@babel/types/scripts/utils/toFunctionName.js @@ -0,0 +1,4 @@ +module.exports = function toFunctionName(typeName) { + const _ = typeName.replace(/^TS/, "ts").replace(/^JSX/, "jsx"); + return _.slice(0, 1).toLowerCase() + _.slice(1); +}; diff --git a/node_modules/abbrev/LICENSE b/node_modules/abbrev/LICENSE new file mode 100644 index 000000000..9bcfa9d7d --- /dev/null +++ b/node_modules/abbrev/LICENSE @@ -0,0 +1,46 @@ +This software is dual-licensed under the ISC and MIT licenses. +You may use this software under EITHER of the following licenses. + +---------- + +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +---------- + +Copyright Isaac Z. Schlueter and Contributors +All rights reserved. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/abbrev/README.md b/node_modules/abbrev/README.md new file mode 100644 index 000000000..99746fe67 --- /dev/null +++ b/node_modules/abbrev/README.md @@ -0,0 +1,23 @@ +# abbrev-js + +Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev). + +Usage: + + var abbrev = require("abbrev"); + abbrev("foo", "fool", "folding", "flop"); + + // returns: + { fl: 'flop' + , flo: 'flop' + , flop: 'flop' + , fol: 'folding' + , fold: 'folding' + , foldi: 'folding' + , foldin: 'folding' + , folding: 'folding' + , foo: 'foo' + , fool: 'fool' + } + +This is handy for command-line scripts, or other cases where you want to be able to accept shorthands. diff --git a/node_modules/abbrev/abbrev.js b/node_modules/abbrev/abbrev.js new file mode 100644 index 000000000..7b1dc5d67 --- /dev/null +++ b/node_modules/abbrev/abbrev.js @@ -0,0 +1,61 @@ +module.exports = exports = abbrev.abbrev = abbrev + +abbrev.monkeyPatch = monkeyPatch + +function monkeyPatch () { + Object.defineProperty(Array.prototype, 'abbrev', { + value: function () { return abbrev(this) }, + enumerable: false, configurable: true, writable: true + }) + + Object.defineProperty(Object.prototype, 'abbrev', { + value: function () { return abbrev(Object.keys(this)) }, + enumerable: false, configurable: true, writable: true + }) +} + +function abbrev (list) { + if (arguments.length !== 1 || !Array.isArray(list)) { + list = Array.prototype.slice.call(arguments, 0) + } + for (var i = 0, l = list.length, args = [] ; i < l ; i ++) { + args[i] = typeof list[i] === "string" ? list[i] : String(list[i]) + } + + // sort them lexicographically, so that they're next to their nearest kin + args = args.sort(lexSort) + + // walk through each, seeing how much it has in common with the next and previous + var abbrevs = {} + , prev = "" + for (var i = 0, l = args.length ; i < l ; i ++) { + var current = args[i] + , next = args[i + 1] || "" + , nextMatches = true + , prevMatches = true + if (current === next) continue + for (var j = 0, cl = current.length ; j < cl ; j ++) { + var curChar = current.charAt(j) + nextMatches = nextMatches && curChar === next.charAt(j) + prevMatches = prevMatches && curChar === prev.charAt(j) + if (!nextMatches && !prevMatches) { + j ++ + break + } + } + prev = current + if (j === cl) { + abbrevs[current] = current + continue + } + for (var a = current.substr(0, j) ; j <= cl ; j ++) { + abbrevs[a] = current + a += current.charAt(j) + } + } + return abbrevs +} + +function lexSort (a, b) { + return a === b ? 0 : a > b ? 1 : -1 +} diff --git a/node_modules/abbrev/package.json b/node_modules/abbrev/package.json new file mode 100644 index 000000000..e96e7b5fb --- /dev/null +++ b/node_modules/abbrev/package.json @@ -0,0 +1,56 @@ +{ + "_from": "abbrev@1", + "_id": "abbrev@1.1.1", + "_inBundle": false, + "_integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "_location": "/abbrev", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "abbrev@1", + "name": "abbrev", + "escapedName": "abbrev", + "rawSpec": "1", + "saveSpec": null, + "fetchSpec": "1" + }, + "_requiredBy": [ + "/nopt" + ], + "_resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "_shasum": "f8f2c887ad10bf67f634f005b6987fed3179aac8", + "_spec": "abbrev@1", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/nopt", + "author": { + "name": "Isaac Z. Schlueter", + "email": "i@izs.me" + }, + "bugs": { + "url": "https://github.com/isaacs/abbrev-js/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Like ruby's abbrev module, but in js", + "devDependencies": { + "tap": "^10.1" + }, + "files": [ + "abbrev.js" + ], + "homepage": "https://github.com/isaacs/abbrev-js#readme", + "license": "ISC", + "main": "abbrev.js", + "name": "abbrev", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/isaacs/abbrev-js.git" + }, + "scripts": { + "postpublish": "git push origin --all; git push origin --tags", + "postversion": "npm publish", + "preversion": "npm test", + "test": "tap test.js --100" + }, + "version": "1.1.1" +} diff --git a/node_modules/accepts/HISTORY.md b/node_modules/accepts/HISTORY.md new file mode 100644 index 000000000..0bf041781 --- /dev/null +++ b/node_modules/accepts/HISTORY.md @@ -0,0 +1,236 @@ +1.3.7 / 2019-04-29 +================== + + * deps: negotiator@0.6.2 + - Fix sorting charset, encoding, and language with extra parameters + +1.3.6 / 2019-04-28 +================== + + * deps: mime-types@~2.1.24 + - deps: mime-db@~1.40.0 + +1.3.5 / 2018-02-28 +================== + + * deps: mime-types@~2.1.18 + - deps: mime-db@~1.33.0 + +1.3.4 / 2017-08-22 +================== + + * deps: mime-types@~2.1.16 + - deps: mime-db@~1.29.0 + +1.3.3 / 2016-05-02 +================== + + * deps: mime-types@~2.1.11 + - deps: mime-db@~1.23.0 + * deps: negotiator@0.6.1 + - perf: improve `Accept` parsing speed + - perf: improve `Accept-Charset` parsing speed + - perf: improve `Accept-Encoding` parsing speed + - perf: improve `Accept-Language` parsing speed + +1.3.2 / 2016-03-08 +================== + + * deps: mime-types@~2.1.10 + - Fix extension of `application/dash+xml` + - Update primary extension for `audio/mp4` + - deps: mime-db@~1.22.0 + +1.3.1 / 2016-01-19 +================== + + * deps: mime-types@~2.1.9 + - deps: mime-db@~1.21.0 + +1.3.0 / 2015-09-29 +================== + + * deps: mime-types@~2.1.7 + - deps: mime-db@~1.19.0 + * deps: negotiator@0.6.0 + - Fix including type extensions in parameters in `Accept` parsing + - Fix parsing `Accept` parameters with quoted equals + - Fix parsing `Accept` parameters with quoted semicolons + - Lazy-load modules from main entry point + - perf: delay type concatenation until needed + - perf: enable strict mode + - perf: hoist regular expressions + - perf: remove closures getting spec properties + - perf: remove a closure from media type parsing + - perf: remove property delete from media type parsing + +1.2.13 / 2015-09-06 +=================== + + * deps: mime-types@~2.1.6 + - deps: mime-db@~1.18.0 + +1.2.12 / 2015-07-30 +=================== + + * deps: mime-types@~2.1.4 + - deps: mime-db@~1.16.0 + +1.2.11 / 2015-07-16 +=================== + + * deps: mime-types@~2.1.3 + - deps: mime-db@~1.15.0 + +1.2.10 / 2015-07-01 +=================== + + * deps: mime-types@~2.1.2 + - deps: mime-db@~1.14.0 + +1.2.9 / 2015-06-08 +================== + + * deps: mime-types@~2.1.1 + - perf: fix deopt during mapping + +1.2.8 / 2015-06-07 +================== + + * deps: mime-types@~2.1.0 + - deps: mime-db@~1.13.0 + * perf: avoid argument reassignment & argument slice + * perf: avoid negotiator recursive construction + * perf: enable strict mode + * perf: remove unnecessary bitwise operator + +1.2.7 / 2015-05-10 +================== + + * deps: negotiator@0.5.3 + - Fix media type parameter matching to be case-insensitive + +1.2.6 / 2015-05-07 +================== + + * deps: mime-types@~2.0.11 + - deps: mime-db@~1.9.1 + * deps: negotiator@0.5.2 + - Fix comparing media types with quoted values + - Fix splitting media types with quoted commas + +1.2.5 / 2015-03-13 +================== + + * deps: mime-types@~2.0.10 + - deps: mime-db@~1.8.0 + +1.2.4 / 2015-02-14 +================== + + * Support Node.js 0.6 + * deps: mime-types@~2.0.9 + - deps: mime-db@~1.7.0 + * deps: negotiator@0.5.1 + - Fix preference sorting to be stable for long acceptable lists + +1.2.3 / 2015-01-31 +================== + + * deps: mime-types@~2.0.8 + - deps: mime-db@~1.6.0 + +1.2.2 / 2014-12-30 +================== + + * deps: mime-types@~2.0.7 + - deps: mime-db@~1.5.0 + +1.2.1 / 2014-12-30 +================== + + * deps: mime-types@~2.0.5 + - deps: mime-db@~1.3.1 + +1.2.0 / 2014-12-19 +================== + + * deps: negotiator@0.5.0 + - Fix list return order when large accepted list + - Fix missing identity encoding when q=0 exists + - Remove dynamic building of Negotiator class + +1.1.4 / 2014-12-10 +================== + + * deps: mime-types@~2.0.4 + - deps: mime-db@~1.3.0 + +1.1.3 / 2014-11-09 +================== + + * deps: mime-types@~2.0.3 + - deps: mime-db@~1.2.0 + +1.1.2 / 2014-10-14 +================== + + * deps: negotiator@0.4.9 + - Fix error when media type has invalid parameter + +1.1.1 / 2014-09-28 +================== + + * deps: mime-types@~2.0.2 + - deps: mime-db@~1.1.0 + * deps: negotiator@0.4.8 + - Fix all negotiations to be case-insensitive + - Stable sort preferences of same quality according to client order + +1.1.0 / 2014-09-02 +================== + + * update `mime-types` + +1.0.7 / 2014-07-04 +================== + + * Fix wrong type returned from `type` when match after unknown extension + +1.0.6 / 2014-06-24 +================== + + * deps: negotiator@0.4.7 + +1.0.5 / 2014-06-20 +================== + + * fix crash when unknown extension given + +1.0.4 / 2014-06-19 +================== + + * use `mime-types` + +1.0.3 / 2014-06-11 +================== + + * deps: negotiator@0.4.6 + - Order by specificity when quality is the same + +1.0.2 / 2014-05-29 +================== + + * Fix interpretation when header not in request + * deps: pin negotiator@0.4.5 + +1.0.1 / 2014-01-18 +================== + + * Identity encoding isn't always acceptable + * deps: negotiator@~0.4.0 + +1.0.0 / 2013-12-27 +================== + + * Genesis diff --git a/node_modules/accepts/LICENSE b/node_modules/accepts/LICENSE new file mode 100644 index 000000000..06166077b --- /dev/null +++ b/node_modules/accepts/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/accepts/README.md b/node_modules/accepts/README.md new file mode 100644 index 000000000..66a2f5400 --- /dev/null +++ b/node_modules/accepts/README.md @@ -0,0 +1,142 @@ +# accepts + +[![NPM Version][npm-version-image]][npm-url] +[![NPM Downloads][npm-downloads-image]][npm-url] +[![Node.js Version][node-version-image]][node-version-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Higher level content negotiation based on [negotiator](https://www.npmjs.com/package/negotiator). +Extracted from [koa](https://www.npmjs.com/package/koa) for general use. + +In addition to negotiator, it allows: + +- Allows types as an array or arguments list, ie `(['text/html', 'application/json'])` + as well as `('text/html', 'application/json')`. +- Allows type shorthands such as `json`. +- Returns `false` when no types match +- Treats non-existent headers as `*` + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```sh +$ npm install accepts +``` + +## API + + + +```js +var accepts = require('accepts') +``` + +### accepts(req) + +Create a new `Accepts` object for the given `req`. + +#### .charset(charsets) + +Return the first accepted charset. If nothing in `charsets` is accepted, +then `false` is returned. + +#### .charsets() + +Return the charsets that the request accepts, in the order of the client's +preference (most preferred first). + +#### .encoding(encodings) + +Return the first accepted encoding. If nothing in `encodings` is accepted, +then `false` is returned. + +#### .encodings() + +Return the encodings that the request accepts, in the order of the client's +preference (most preferred first). + +#### .language(languages) + +Return the first accepted language. If nothing in `languages` is accepted, +then `false` is returned. + +#### .languages() + +Return the languages that the request accepts, in the order of the client's +preference (most preferred first). + +#### .type(types) + +Return the first accepted type (and it is returned as the same text as what +appears in the `types` array). If nothing in `types` is accepted, then `false` +is returned. + +The `types` array can contain full MIME types or file extensions. Any value +that is not a full MIME types is passed to `require('mime-types').lookup`. + +#### .types() + +Return the types that the request accepts, in the order of the client's +preference (most preferred first). + +## Examples + +### Simple type negotiation + +This simple example shows how to use `accepts` to return a different typed +respond body based on what the client wants to accept. The server lists it's +preferences in order and will get back the best match between the client and +server. + +```js +var accepts = require('accepts') +var http = require('http') + +function app (req, res) { + var accept = accepts(req) + + // the order of this list is significant; should be server preferred order + switch (accept.type(['json', 'html'])) { + case 'json': + res.setHeader('Content-Type', 'application/json') + res.write('{"hello":"world!"}') + break + case 'html': + res.setHeader('Content-Type', 'text/html') + res.write('hello, world!') + break + default: + // the fallback is text/plain, so no need to specify it above + res.setHeader('Content-Type', 'text/plain') + res.write('hello, world!') + break + } + + res.end() +} + +http.createServer(app).listen(3000) +``` + +You can test this out with the cURL program: +```sh +curl -I -H'Accept: text/html' http://localhost:3000/ +``` + +## License + +[MIT](LICENSE) + +[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/accepts/master +[coveralls-url]: https://coveralls.io/r/jshttp/accepts?branch=master +[node-version-image]: https://badgen.net/npm/node/accepts +[node-version-url]: https://nodejs.org/en/download +[npm-downloads-image]: https://badgen.net/npm/dm/accepts +[npm-url]: https://npmjs.org/package/accepts +[npm-version-image]: https://badgen.net/npm/v/accepts +[travis-image]: https://badgen.net/travis/jshttp/accepts/master +[travis-url]: https://travis-ci.org/jshttp/accepts diff --git a/node_modules/accepts/index.js b/node_modules/accepts/index.js new file mode 100644 index 000000000..e9b2f63fb --- /dev/null +++ b/node_modules/accepts/index.js @@ -0,0 +1,238 @@ +/*! + * accepts + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var Negotiator = require('negotiator') +var mime = require('mime-types') + +/** + * Module exports. + * @public + */ + +module.exports = Accepts + +/** + * Create a new Accepts object for the given req. + * + * @param {object} req + * @public + */ + +function Accepts (req) { + if (!(this instanceof Accepts)) { + return new Accepts(req) + } + + this.headers = req.headers + this.negotiator = new Negotiator(req) +} + +/** + * Check if the given `type(s)` is acceptable, returning + * the best match when true, otherwise `undefined`, in which + * case you should respond with 406 "Not Acceptable". + * + * The `type` value may be a single mime type string + * such as "application/json", the extension name + * such as "json" or an array `["json", "html", "text/plain"]`. When a list + * or array is given the _best_ match, if any is returned. + * + * Examples: + * + * // Accept: text/html + * this.types('html'); + * // => "html" + * + * // Accept: text/*, application/json + * this.types('html'); + * // => "html" + * this.types('text/html'); + * // => "text/html" + * this.types('json', 'text'); + * // => "json" + * this.types('application/json'); + * // => "application/json" + * + * // Accept: text/*, application/json + * this.types('image/png'); + * this.types('png'); + * // => undefined + * + * // Accept: text/*;q=.5, application/json + * this.types(['html', 'json']); + * this.types('html', 'json'); + * // => "json" + * + * @param {String|Array} types... + * @return {String|Array|Boolean} + * @public + */ + +Accepts.prototype.type = +Accepts.prototype.types = function (types_) { + var types = types_ + + // support flattened arguments + if (types && !Array.isArray(types)) { + types = new Array(arguments.length) + for (var i = 0; i < types.length; i++) { + types[i] = arguments[i] + } + } + + // no types, return all requested types + if (!types || types.length === 0) { + return this.negotiator.mediaTypes() + } + + // no accept header, return first given type + if (!this.headers.accept) { + return types[0] + } + + var mimes = types.map(extToMime) + var accepts = this.negotiator.mediaTypes(mimes.filter(validMime)) + var first = accepts[0] + + return first + ? types[mimes.indexOf(first)] + : false +} + +/** + * Return accepted encodings or best fit based on `encodings`. + * + * Given `Accept-Encoding: gzip, deflate` + * an array sorted by quality is returned: + * + * ['gzip', 'deflate'] + * + * @param {String|Array} encodings... + * @return {String|Array} + * @public + */ + +Accepts.prototype.encoding = +Accepts.prototype.encodings = function (encodings_) { + var encodings = encodings_ + + // support flattened arguments + if (encodings && !Array.isArray(encodings)) { + encodings = new Array(arguments.length) + for (var i = 0; i < encodings.length; i++) { + encodings[i] = arguments[i] + } + } + + // no encodings, return all requested encodings + if (!encodings || encodings.length === 0) { + return this.negotiator.encodings() + } + + return this.negotiator.encodings(encodings)[0] || false +} + +/** + * Return accepted charsets or best fit based on `charsets`. + * + * Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5` + * an array sorted by quality is returned: + * + * ['utf-8', 'utf-7', 'iso-8859-1'] + * + * @param {String|Array} charsets... + * @return {String|Array} + * @public + */ + +Accepts.prototype.charset = +Accepts.prototype.charsets = function (charsets_) { + var charsets = charsets_ + + // support flattened arguments + if (charsets && !Array.isArray(charsets)) { + charsets = new Array(arguments.length) + for (var i = 0; i < charsets.length; i++) { + charsets[i] = arguments[i] + } + } + + // no charsets, return all requested charsets + if (!charsets || charsets.length === 0) { + return this.negotiator.charsets() + } + + return this.negotiator.charsets(charsets)[0] || false +} + +/** + * Return accepted languages or best fit based on `langs`. + * + * Given `Accept-Language: en;q=0.8, es, pt` + * an array sorted by quality is returned: + * + * ['es', 'pt', 'en'] + * + * @param {String|Array} langs... + * @return {Array|String} + * @public + */ + +Accepts.prototype.lang = +Accepts.prototype.langs = +Accepts.prototype.language = +Accepts.prototype.languages = function (languages_) { + var languages = languages_ + + // support flattened arguments + if (languages && !Array.isArray(languages)) { + languages = new Array(arguments.length) + for (var i = 0; i < languages.length; i++) { + languages[i] = arguments[i] + } + } + + // no languages, return all requested languages + if (!languages || languages.length === 0) { + return this.negotiator.languages() + } + + return this.negotiator.languages(languages)[0] || false +} + +/** + * Convert extnames to mime. + * + * @param {String} type + * @return {String} + * @private + */ + +function extToMime (type) { + return type.indexOf('/') === -1 + ? mime.lookup(type) + : type +} + +/** + * Check if mime is valid. + * + * @param {String} type + * @return {String} + * @private + */ + +function validMime (type) { + return typeof type === 'string' +} diff --git a/node_modules/accepts/package.json b/node_modules/accepts/package.json new file mode 100644 index 000000000..141d2f262 --- /dev/null +++ b/node_modules/accepts/package.json @@ -0,0 +1,86 @@ +{ + "_from": "accepts@~1.3.7", + "_id": "accepts@1.3.7", + "_inBundle": false, + "_integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "_location": "/accepts", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "accepts@~1.3.7", + "name": "accepts", + "escapedName": "accepts", + "rawSpec": "~1.3.7", + "saveSpec": null, + "fetchSpec": "~1.3.7" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", + "_shasum": "531bc726517a3b2b41f850021c6cc15eaab507cd", + "_spec": "accepts@~1.3.7", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/express", + "bugs": { + "url": "https://github.com/jshttp/accepts/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } + ], + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "deprecated": false, + "description": "Higher-level content negotiation", + "devDependencies": { + "deep-equal": "1.0.1", + "eslint": "5.16.0", + "eslint-config-standard": "12.0.0", + "eslint-plugin-import": "2.17.2", + "eslint-plugin-markdown": "1.0.0", + "eslint-plugin-node": "8.0.1", + "eslint-plugin-promise": "4.1.1", + "eslint-plugin-standard": "4.0.0", + "mocha": "6.1.4", + "nyc": "14.0.0" + }, + "engines": { + "node": ">= 0.6" + }, + "files": [ + "LICENSE", + "HISTORY.md", + "index.js" + ], + "homepage": "https://github.com/jshttp/accepts#readme", + "keywords": [ + "content", + "negotiation", + "accept", + "accepts" + ], + "license": "MIT", + "name": "accepts", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/accepts.git" + }, + "scripts": { + "lint": "eslint --plugin markdown --ext js,md .", + "test": "mocha --reporter spec --check-leaks --bail test/", + "test-cov": "nyc --reporter=html --reporter=text npm test", + "test-travis": "nyc --reporter=text npm test" + }, + "version": "1.3.7" +} diff --git a/node_modules/ansi-styles/index.js b/node_modules/ansi-styles/index.js new file mode 100644 index 000000000..90a871c4d --- /dev/null +++ b/node_modules/ansi-styles/index.js @@ -0,0 +1,165 @@ +'use strict'; +const colorConvert = require('color-convert'); + +const wrapAnsi16 = (fn, offset) => function () { + const code = fn.apply(colorConvert, arguments); + return `\u001B[${code + offset}m`; +}; + +const wrapAnsi256 = (fn, offset) => function () { + const code = fn.apply(colorConvert, arguments); + return `\u001B[${38 + offset};5;${code}m`; +}; + +const wrapAnsi16m = (fn, offset) => function () { + const rgb = fn.apply(colorConvert, arguments); + return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; +}; + +function assembleStyles() { + const codes = new Map(); + const styles = { + modifier: { + reset: [0, 0], + // 21 isn't widely supported and 22 does the same thing + bold: [1, 22], + dim: [2, 22], + italic: [3, 23], + underline: [4, 24], + inverse: [7, 27], + hidden: [8, 28], + strikethrough: [9, 29] + }, + color: { + black: [30, 39], + red: [31, 39], + green: [32, 39], + yellow: [33, 39], + blue: [34, 39], + magenta: [35, 39], + cyan: [36, 39], + white: [37, 39], + gray: [90, 39], + + // Bright color + redBright: [91, 39], + greenBright: [92, 39], + yellowBright: [93, 39], + blueBright: [94, 39], + magentaBright: [95, 39], + cyanBright: [96, 39], + whiteBright: [97, 39] + }, + bgColor: { + bgBlack: [40, 49], + bgRed: [41, 49], + bgGreen: [42, 49], + bgYellow: [43, 49], + bgBlue: [44, 49], + bgMagenta: [45, 49], + bgCyan: [46, 49], + bgWhite: [47, 49], + + // Bright color + bgBlackBright: [100, 49], + bgRedBright: [101, 49], + bgGreenBright: [102, 49], + bgYellowBright: [103, 49], + bgBlueBright: [104, 49], + bgMagentaBright: [105, 49], + bgCyanBright: [106, 49], + bgWhiteBright: [107, 49] + } + }; + + // Fix humans + styles.color.grey = styles.color.gray; + + for (const groupName of Object.keys(styles)) { + const group = styles[groupName]; + + for (const styleName of Object.keys(group)) { + const style = group[styleName]; + + styles[styleName] = { + open: `\u001B[${style[0]}m`, + close: `\u001B[${style[1]}m` + }; + + group[styleName] = styles[styleName]; + + codes.set(style[0], style[1]); + } + + Object.defineProperty(styles, groupName, { + value: group, + enumerable: false + }); + + Object.defineProperty(styles, 'codes', { + value: codes, + enumerable: false + }); + } + + const ansi2ansi = n => n; + const rgb2rgb = (r, g, b) => [r, g, b]; + + styles.color.close = '\u001B[39m'; + styles.bgColor.close = '\u001B[49m'; + + styles.color.ansi = { + ansi: wrapAnsi16(ansi2ansi, 0) + }; + styles.color.ansi256 = { + ansi256: wrapAnsi256(ansi2ansi, 0) + }; + styles.color.ansi16m = { + rgb: wrapAnsi16m(rgb2rgb, 0) + }; + + styles.bgColor.ansi = { + ansi: wrapAnsi16(ansi2ansi, 10) + }; + styles.bgColor.ansi256 = { + ansi256: wrapAnsi256(ansi2ansi, 10) + }; + styles.bgColor.ansi16m = { + rgb: wrapAnsi16m(rgb2rgb, 10) + }; + + for (let key of Object.keys(colorConvert)) { + if (typeof colorConvert[key] !== 'object') { + continue; + } + + const suite = colorConvert[key]; + + if (key === 'ansi16') { + key = 'ansi'; + } + + if ('ansi16' in suite) { + styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0); + styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10); + } + + if ('ansi256' in suite) { + styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0); + styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10); + } + + if ('rgb' in suite) { + styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0); + styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10); + } + } + + return styles; +} + +// Make the export immutable +Object.defineProperty(module, 'exports', { + enumerable: true, + get: assembleStyles +}); diff --git a/node_modules/ansi-styles/license b/node_modules/ansi-styles/license new file mode 100644 index 000000000..e7af2f771 --- /dev/null +++ b/node_modules/ansi-styles/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/ansi-styles/package.json b/node_modules/ansi-styles/package.json new file mode 100644 index 000000000..9ceaf3fb5 --- /dev/null +++ b/node_modules/ansi-styles/package.json @@ -0,0 +1,88 @@ +{ + "_from": "ansi-styles@^3.2.1", + "_id": "ansi-styles@3.2.1", + "_inBundle": false, + "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "_location": "/ansi-styles", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ansi-styles@^3.2.1", + "name": "ansi-styles", + "escapedName": "ansi-styles", + "rawSpec": "^3.2.1", + "saveSpec": null, + "fetchSpec": "^3.2.1" + }, + "_requiredBy": [ + "/chalk" + ], + "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "_shasum": "41fbb20243e50b12be0f04b8dedbf07520ce841d", + "_spec": "ansi-styles@^3.2.1", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/chalk", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "ava": { + "require": "babel-polyfill" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-styles/issues" + }, + "bundleDependencies": false, + "dependencies": { + "color-convert": "^1.9.0" + }, + "deprecated": false, + "description": "ANSI escape codes for styling strings in the terminal", + "devDependencies": { + "ava": "*", + "babel-polyfill": "^6.23.0", + "svg-term-cli": "^2.1.1", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/ansi-styles#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "ansi-styles", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-styles.git" + }, + "scripts": { + "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", + "test": "xo && ava" + }, + "version": "3.2.1" +} diff --git a/node_modules/ansi-styles/readme.md b/node_modules/ansi-styles/readme.md new file mode 100644 index 000000000..3158e2df5 --- /dev/null +++ b/node_modules/ansi-styles/readme.md @@ -0,0 +1,147 @@ +# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles) + +> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal + +You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings. + + + + +## Install + +``` +$ npm install ansi-styles +``` + + +## Usage + +```js +const style = require('ansi-styles'); + +console.log(`${style.green.open}Hello world!${style.green.close}`); + + +// Color conversion between 16/256/truecolor +// NOTE: If conversion goes to 16 colors or 256 colors, the original color +// may be degraded to fit that color palette. This means terminals +// that do not support 16 million colors will best-match the +// original color. +console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close); +console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close); +console.log(style.color.ansi16m.hex('#ABCDEF') + 'Hello world!' + style.color.close); +``` + +## API + +Each style has an `open` and `close` property. + + +## Styles + +### Modifiers + +- `reset` +- `bold` +- `dim` +- `italic` *(Not widely supported)* +- `underline` +- `inverse` +- `hidden` +- `strikethrough` *(Not widely supported)* + +### Colors + +- `black` +- `red` +- `green` +- `yellow` +- `blue` +- `magenta` +- `cyan` +- `white` +- `gray` ("bright black") +- `redBright` +- `greenBright` +- `yellowBright` +- `blueBright` +- `magentaBright` +- `cyanBright` +- `whiteBright` + +### Background colors + +- `bgBlack` +- `bgRed` +- `bgGreen` +- `bgYellow` +- `bgBlue` +- `bgMagenta` +- `bgCyan` +- `bgWhite` +- `bgBlackBright` +- `bgRedBright` +- `bgGreenBright` +- `bgYellowBright` +- `bgBlueBright` +- `bgMagentaBright` +- `bgCyanBright` +- `bgWhiteBright` + + +## Advanced usage + +By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module. + +- `style.modifier` +- `style.color` +- `style.bgColor` + +###### Example + +```js +console.log(style.color.green.open); +``` + +Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values. + +###### Example + +```js +console.log(style.codes.get(36)); +//=> 39 +``` + + +## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728) + +`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors. + +To use these, call the associated conversion function with the intended output, for example: + +```js +style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code +style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code + +style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code +style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code + +style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code +style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code +``` + + +## Related + +- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal + + +## Maintainers + +- [Sindre Sorhus](https://github.com/sindresorhus) +- [Josh Junon](https://github.com/qix-) + + +## License + +MIT diff --git a/node_modules/array-flatten/LICENSE b/node_modules/array-flatten/LICENSE new file mode 100644 index 000000000..983fbe8ae --- /dev/null +++ b/node_modules/array-flatten/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_modules/array-flatten/README.md b/node_modules/array-flatten/README.md new file mode 100644 index 000000000..91fa5b637 --- /dev/null +++ b/node_modules/array-flatten/README.md @@ -0,0 +1,43 @@ +# Array Flatten + +[![NPM version][npm-image]][npm-url] +[![NPM downloads][downloads-image]][downloads-url] +[![Build status][travis-image]][travis-url] +[![Test coverage][coveralls-image]][coveralls-url] + +> Flatten an array of nested arrays into a single flat array. Accepts an optional depth. + +## Installation + +``` +npm install array-flatten --save +``` + +## Usage + +```javascript +var flatten = require('array-flatten') + +flatten([1, [2, [3, [4, [5], 6], 7], 8], 9]) +//=> [1, 2, 3, 4, 5, 6, 7, 8, 9] + +flatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2) +//=> [1, 2, 3, [4, [5], 6], 7, 8, 9] + +(function () { + flatten(arguments) //=> [1, 2, 3] +})(1, [2, 3]) +``` + +## License + +MIT + +[npm-image]: https://img.shields.io/npm/v/array-flatten.svg?style=flat +[npm-url]: https://npmjs.org/package/array-flatten +[downloads-image]: https://img.shields.io/npm/dm/array-flatten.svg?style=flat +[downloads-url]: https://npmjs.org/package/array-flatten +[travis-image]: https://img.shields.io/travis/blakeembrey/array-flatten.svg?style=flat +[travis-url]: https://travis-ci.org/blakeembrey/array-flatten +[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/array-flatten.svg?style=flat +[coveralls-url]: https://coveralls.io/r/blakeembrey/array-flatten?branch=master diff --git a/node_modules/array-flatten/array-flatten.js b/node_modules/array-flatten/array-flatten.js new file mode 100644 index 000000000..089117b32 --- /dev/null +++ b/node_modules/array-flatten/array-flatten.js @@ -0,0 +1,64 @@ +'use strict' + +/** + * Expose `arrayFlatten`. + */ +module.exports = arrayFlatten + +/** + * Recursive flatten function with depth. + * + * @param {Array} array + * @param {Array} result + * @param {Number} depth + * @return {Array} + */ +function flattenWithDepth (array, result, depth) { + for (var i = 0; i < array.length; i++) { + var value = array[i] + + if (depth > 0 && Array.isArray(value)) { + flattenWithDepth(value, result, depth - 1) + } else { + result.push(value) + } + } + + return result +} + +/** + * Recursive flatten function. Omitting depth is slightly faster. + * + * @param {Array} array + * @param {Array} result + * @return {Array} + */ +function flattenForever (array, result) { + for (var i = 0; i < array.length; i++) { + var value = array[i] + + if (Array.isArray(value)) { + flattenForever(value, result) + } else { + result.push(value) + } + } + + return result +} + +/** + * Flatten an array, with the ability to define a depth. + * + * @param {Array} array + * @param {Number} depth + * @return {Array} + */ +function arrayFlatten (array, depth) { + if (depth == null) { + return flattenForever(array, []) + } + + return flattenWithDepth(array, [], depth) +} diff --git a/node_modules/array-flatten/package.json b/node_modules/array-flatten/package.json new file mode 100644 index 000000000..269e7e713 --- /dev/null +++ b/node_modules/array-flatten/package.json @@ -0,0 +1,64 @@ +{ + "_from": "array-flatten@1.1.1", + "_id": "array-flatten@1.1.1", + "_inBundle": false, + "_integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "_location": "/array-flatten", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "array-flatten@1.1.1", + "name": "array-flatten", + "escapedName": "array-flatten", + "rawSpec": "1.1.1", + "saveSpec": null, + "fetchSpec": "1.1.1" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "_shasum": "9a5f699051b1e7073328f2a008968b64ea2955d2", + "_spec": "array-flatten@1.1.1", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/express", + "author": { + "name": "Blake Embrey", + "email": "hello@blakeembrey.com", + "url": "http://blakeembrey.me" + }, + "bugs": { + "url": "https://github.com/blakeembrey/array-flatten/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Flatten an array of nested arrays into a single flat array", + "devDependencies": { + "istanbul": "^0.3.13", + "mocha": "^2.2.4", + "pre-commit": "^1.0.7", + "standard": "^3.7.3" + }, + "files": [ + "array-flatten.js", + "LICENSE" + ], + "homepage": "https://github.com/blakeembrey/array-flatten", + "keywords": [ + "array", + "flatten", + "arguments", + "depth" + ], + "license": "MIT", + "main": "array-flatten.js", + "name": "array-flatten", + "repository": { + "type": "git", + "url": "git://github.com/blakeembrey/array-flatten.git" + }, + "scripts": { + "test": "istanbul cover _mocha -- -R spec" + }, + "version": "1.1.1" +} diff --git a/node_modules/babel-plugin-dynamic-import-node/.babelrc b/node_modules/babel-plugin-dynamic-import-node/.babelrc new file mode 100644 index 000000000..e68723477 --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/.babelrc @@ -0,0 +1,9 @@ +{ + "presets": [ + "airbnb" + ], + "plugins": [ + "add-module-exports", + ["transform-replace-object-assign", { "moduleSpecifier": "object.assign" }], + ], +} diff --git a/node_modules/babel-plugin-dynamic-import-node/.eslintignore b/node_modules/babel-plugin-dynamic-import-node/.eslintignore new file mode 100644 index 000000000..051cd482a --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/.eslintignore @@ -0,0 +1,2 @@ +test/fixtures +lib/ diff --git a/node_modules/babel-plugin-dynamic-import-node/.eslintrc b/node_modules/babel-plugin-dynamic-import-node/.eslintrc new file mode 100644 index 000000000..391ada0a8 --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/.eslintrc @@ -0,0 +1,5 @@ +{ + "parser": "babel-eslint", + "extends": "airbnb-base", + "root": true +} diff --git a/node_modules/babel-plugin-dynamic-import-node/.travis.yml b/node_modules/babel-plugin-dynamic-import-node/.travis.yml new file mode 100644 index 000000000..087e932a2 --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/.travis.yml @@ -0,0 +1,38 @@ +language: node_js +node_js: + - "13" + - "12" + - "11" + - "10" + - "9" + - "8" + - "7" + - "6" + - "5" + - "4" + - "iojs-v3" + - "iojs-v2" + - "iojs-v1" + - "0.12" +import: + - ljharb/travis-ci:node/latest-npm.yml + - ljharb/travis-ci:node/greenkeeper.yml + - ljharb/travis-ci:node/dependabot.yml +script: 'npm run tests-only' +sudo: false +env: + - TEST=true +matrix: + fast_finish: true + include: + - node_js: "lts/*" + env: PRETEST=true + script: 'npm run pretest' + allow_failures: + - node_js: "9" + - node_js: "7" + - node_js: "5" + - node_js: "iojs-v3" + - node_js: "iojs-v2" + - node_js: "iojs-v1" + - env: TEST=true ALLOW_FAILURE=true diff --git a/node_modules/babel-plugin-dynamic-import-node/CHANGELOG.md b/node_modules/babel-plugin-dynamic-import-node/CHANGELOG.md new file mode 100644 index 000000000..4cba133ab --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/CHANGELOG.md @@ -0,0 +1,64 @@ +## Unreleased + +## v2.3.3 +- [Fix] Generate webpack-compatible output with static string arg (#84) +- [Fix] Handle visiting the same path gracefully (#71) + +## v2.3.2 +- [Fix] avoid using reserved param name in babel 7 templates +- [Dev Deps] update `airbnb-js-shims` + +## v2.3.1 +- [Fix] Evaluate `import()` argument synchronously (#85) +- [Dev Deps] update `eslint`, `eslint-config-airbnb-base`, `in-publish`, `rimraf`, `safe-publish-latest`, `tape` + +## v2.3.0 +- [New] expose createDynamicImportTransform and getImportSource (#75) +- [Docs] Document noInterop option (#70) + +## v2.2.0 +- [Refactor] remove dependency on babel-plugin-syntax-dynamic-import +- [Dev Deps] update `airbnb-js-shims`, `babel-preset-airbnb`, `eslint` + +## v2.1.0 +- [New] add `noInterop` option (#57) +- [Docs] Fix typo "correct" -> "correctly" in readme (#55) +- [Dev Deps] update `airbnb-js-shims`, `babel-eslint`, `babel-preset-airbnb`, `eslint`, `eslint-config-airbnb-base`, `eslint-plugin-import`, `safe-publish-latest` + +## v2.0.0 +- [Breaking] always return a module namespace object (#52, #47) +- [Breaking] remove `.default` on entry points (#27) +- [Docs] removed $ before npm command (#35) +- [Docs] Improve README.md with a code example (#41) +- [Dev Deps] update `airbnb-js-shims`, `babel-core`, `babel-eslint`, `eslint`, `eslint-plugin-import` +- [Tests] switch from mocha to tape, so we can support older nodes + +## v1.2.0 +- [New] support comments (#37) +- [Refactor] Use template and types from the babel object (#32) +- [Tests] on `node` `v9`; pin included builds to LTS +- [Dev Deps] update `eslint`, `eslint-config-airbnb-base`, `mocha`, `rimraf` + +## v1.1.0 +- Visit Import nodes instead of CallExpressions (#30) +- [Deps] update `babel-template`, `babel-types` +- [Dev Deps] update `airbnb-js-shims`, `babel-cli`, `babel-core`, `babel-preset-airbnb`, `babel-register`, `chai`, `eslint`, `eslint-config-airbnb-base`, `eslint-plugin-import`, `mocha` +- [Tests] on `node` `v8` +- [Tests] use `nvm install-latest-npm` so newer npm doesn’t break older node + +## v1.0.2 +- [Fix] Ensure it works with the ES2015 preset too (#12, #16) +- [Deps] update `babel-template`, `babel-types` +- [Dev Deps] update `babel-cli`, `babel-core`, `babel-eslint`, `babel-register`, `eslint`, `eslint-config-airbnb-base`, `mocha` + +## v1.0.1 +- [Fix] Move `in-publish` to devDeps (#11) +- [Fix] ensure dynamic `import()` input is properly stringified (#2) +- [Fix] async timing of dynamic import to match spec (#3) +- [Fix] Remove spaces in template strings and update Babel (#10) +- [Deps] update `babel-template`, `babel-types` +- [Deps] update `babel-types` (#4, #5, #6) +- [Dev Deps] update `babel-cli`, `babel-core`, `babel-eslint`, `babel-register`, `eslint`, `eslint-config-airbnb-base`, `eslint-plugin-import`, `mocha`, `rimraf` + +## v1.0.0 +- Initial full release. diff --git a/node_modules/babel-plugin-dynamic-import-node/LICENSE b/node_modules/babel-plugin-dynamic-import-node/LICENSE new file mode 100644 index 000000000..87081c133 --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Airbnb + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/babel-plugin-dynamic-import-node/README.md b/node_modules/babel-plugin-dynamic-import-node/README.md new file mode 100644 index 000000000..2f2a21641 --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/README.md @@ -0,0 +1,63 @@ +# babel-plugin-dynamic-import-node + +Babel plugin to transpile `import()` to a deferred `require()`, for node. Matches the [proposed spec](https://github.com/domenic/proposal-import-function). + +**NOTE:** Babylon >= v6.12.0 is required to correctly parse dynamic imports. + +## Installation + +```sh +npm install babel-plugin-dynamic-import-node --save-dev +``` + +## Usage + +### Via `.babelrc` (Recommended) + +**.babelrc** + +```json +{ + "plugins": ["dynamic-import-node"] +} +``` + +#### Options + +- *`noInterop`* - A boolean value, that if true will not interop the require calls. Useful to avoid using `require('module').default` on commonjs modules. + +```json +{ + "plugins": [ + ["dynamic-import-node", { "noInterop": true }] + ] +} +``` + +### Via CLI + +```sh +$ babel --plugins dynamic-import-node script.js +``` + +### Via Node API + +```javascript +require('babel-core').transform('code', { + plugins: ['dynamic-import-node'] +}); +``` + +### Code Example +```javascript +Promise.all([ + import('./lib/import1'), + import('./lib/import2') + ]).then(([ + Import1, + Import2 + ]) => { + console.log(Import1); + /* CODE HERE*/ + }); +``` diff --git a/node_modules/babel-plugin-dynamic-import-node/lib/index.js b/node_modules/babel-plugin-dynamic-import-node/lib/index.js new file mode 100644 index 000000000..a46654b56 --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/lib/index.js @@ -0,0 +1,37 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +exports['default'] = function (api) { + var transformImport = (0, _utils.createDynamicImportTransform)(api); + + return { + // NOTE: Once we drop support for Babel <= v6 we should + // update this to import from @babel/plugin-syntax-dynamic-import. + // https://www.npmjs.com/package/@babel/plugin-syntax-dynamic-import + manipulateOptions: function () { + function manipulateOptions(opts, parserOpts) { + parserOpts.plugins.push('dynamicImport'); + } + + return manipulateOptions; + }(), + + + visitor: { + Import: function () { + function Import(path) { + transformImport(this, path); + } + + return Import; + }() + } + }; +}; + +var _utils = require('./utils'); + +module.exports = exports['default']; \ No newline at end of file diff --git a/node_modules/babel-plugin-dynamic-import-node/lib/utils.js b/node_modules/babel-plugin-dynamic-import-node/lib/utils.js new file mode 100644 index 000000000..832a247c3 --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/lib/utils.js @@ -0,0 +1,63 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); + +exports.getImportSource = getImportSource; +exports.createDynamicImportTransform = createDynamicImportTransform; +function getImportSource(t, callNode) { + var importArguments = callNode.arguments; + + var _importArguments = _slicedToArray(importArguments, 1), + importPath = _importArguments[0]; + + var isString = t.isStringLiteral(importPath) || t.isTemplateLiteral(importPath); + if (isString) { + t.removeComments(importPath); + return importPath; + } + + return t.templateLiteral([t.templateElement({ raw: '', cooked: '' }), t.templateElement({ raw: '', cooked: '' }, true)], importArguments); +} + +function createDynamicImportTransform(_ref) { + var template = _ref.template, + t = _ref.types; + + var builders = { + 'static': { + interop: template('Promise.resolve().then(() => INTEROP(require(SOURCE)))'), + noInterop: template('Promise.resolve().then(() => require(SOURCE))') + }, + dynamic: { + interop: template('Promise.resolve(SOURCE).then(s => INTEROP(require(s)))'), + noInterop: template('Promise.resolve(SOURCE).then(s => require(s))') + } + }; + + var visited = typeof WeakSet === 'function' && new WeakSet(); + + var isString = function isString(node) { + return t.isStringLiteral(node) || t.isTemplateLiteral(node) && node.expressions.length === 0; + }; + + return function (context, path) { + if (visited) { + if (visited.has(path)) { + return; + } + visited.add(path); + } + + var SOURCE = getImportSource(t, path.parent); + + var builder = isString(SOURCE) ? builders['static'] : builders.dynamic; + + var newImport = context.opts.noInterop ? builder.noInterop({ SOURCE: SOURCE }) : builder.interop({ SOURCE: SOURCE, INTEROP: context.addHelper('interopRequireWildcard') }); + + path.parentPath.replaceWith(newImport); + }; +} \ No newline at end of file diff --git a/node_modules/babel-plugin-dynamic-import-node/package.json b/node_modules/babel-plugin-dynamic-import-node/package.json new file mode 100644 index 000000000..c8238192f --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/package.json @@ -0,0 +1,101 @@ +{ + "_from": "babel-plugin-dynamic-import-node@^2.3.3", + "_id": "babel-plugin-dynamic-import-node@2.3.3", + "_inBundle": false, + "_integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "_location": "/babel-plugin-dynamic-import-node", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "babel-plugin-dynamic-import-node@^2.3.3", + "name": "babel-plugin-dynamic-import-node", + "escapedName": "babel-plugin-dynamic-import-node", + "rawSpec": "^2.3.3", + "saveSpec": null, + "fetchSpec": "^2.3.3" + }, + "_requiredBy": [ + "/@babel/plugin-transform-modules-amd", + "/@babel/plugin-transform-modules-commonjs", + "/@babel/plugin-transform-modules-systemjs" + ], + "_resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "_shasum": "84fda19c976ec5c6defef57f9427b3def66e17a3", + "_spec": "babel-plugin-dynamic-import-node@^2.3.3", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/plugin-transform-modules-amd", + "author": { + "name": "Jordan Gensler", + "email": "jordan.gensler@airbnb.com" + }, + "bugs": { + "url": "https://github.com/airbnb/babel-plugin-dynamic-import-node/issues" + }, + "bundleDependencies": false, + "dependencies": { + "object.assign": "^4.1.0" + }, + "deprecated": false, + "description": "Babel plugin to transpile import() to a deferred require(), for node", + "devDependencies": { + "@babel/core": "^7.9.0", + "@babel/plugin-external-helpers": "^7.8.3", + "@babel/plugin-transform-template-literals": "^7.8.3", + "@babel/preset-env": "^7.9.5", + "airbnb-js-shims": "^2.2.1", + "babel-cli": "^6.26.0", + "babel-core": "^6.26.3", + "babel-eslint": "^9.0.0", + "babel-plugin-add-module-exports": "^0.2.1", + "babel-plugin-external-helpers": "^6.22.0", + "babel-plugin-transform-es2015-template-literals": "^6.22.0", + "babel-plugin-transform-replace-object-assign": "^1.0.0", + "babel-preset-airbnb": "^2.6.0", + "babel-preset-es2015": "^6.24.1", + "babel-register": "^6.26.0", + "eslint": "^6.8.0", + "eslint-config-airbnb-base": "^14.1.0", + "eslint-plugin-import": "^2.20.2", + "in-publish": "^2.0.1", + "rimraf": "^2.7.1", + "safe-publish-latest": "^1.1.4", + "tape": "^5.0.0-next.5" + }, + "directories": { + "test": "test" + }, + "homepage": "https://github.com/airbnb/babel-plugin-dynamic-import-node#readme", + "keywords": [ + "babel", + "plugin", + "dynamic", + "import", + "node" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "babel-plugin-dynamic-import-node", + "repository": { + "type": "git", + "url": "git+https://github.com/airbnb/babel-plugin-dynamic-import-node.git" + }, + "scripts": { + "build": "babel src --out-dir lib", + "check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)", + "check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0", + "clean": "rimraf lib", + "lint": "eslint .", + "postversion": "git commit package.json CHANGELOG.md -m \"v$npm_package_version\" && npm run tag && git push && git push --tags", + "prebuild": "npm run clean", + "prepublish": "not-in-publish || (safe-publish-latest && npm run build)", + "pretest": "npm run lint", + "preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed", + "tag": "git tag v$npm_package_version", + "test": "npm run tests-only", + "tests-only": "tape --require airbnb-js-shims --require babel-register test", + "version:major": "npm --no-git-tag-version version major", + "version:minor": "npm --no-git-tag-version version minor", + "version:patch": "npm --no-git-tag-version version patch" + }, + "version": "2.3.3" +} diff --git a/node_modules/babel-plugin-dynamic-import-node/utils.js b/node_modules/babel-plugin-dynamic-import-node/utils.js new file mode 100644 index 000000000..1dc2e6cca --- /dev/null +++ b/node_modules/babel-plugin-dynamic-import-node/utils.js @@ -0,0 +1,6 @@ +// Re-export lib/utils, so that consumers can import +// babel-plugin-dynamic-import-node/utils instead of +// babel-plugin-dynamic-import-node/lib/utils + +// eslint-disable-next-line import/no-unresolved +module.exports = require('./lib/utils'); diff --git a/node_modules/balanced-match/.npmignore b/node_modules/balanced-match/.npmignore new file mode 100644 index 000000000..ae5d8c36a --- /dev/null +++ b/node_modules/balanced-match/.npmignore @@ -0,0 +1,5 @@ +test +.gitignore +.travis.yml +Makefile +example.js diff --git a/node_modules/balanced-match/LICENSE.md b/node_modules/balanced-match/LICENSE.md new file mode 100644 index 000000000..2cdc8e414 --- /dev/null +++ b/node_modules/balanced-match/LICENSE.md @@ -0,0 +1,21 @@ +(MIT) + +Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/balanced-match/README.md b/node_modules/balanced-match/README.md new file mode 100644 index 000000000..08e918c0d --- /dev/null +++ b/node_modules/balanced-match/README.md @@ -0,0 +1,91 @@ +# balanced-match + +Match balanced string pairs, like `{` and `}` or `` and ``. Supports regular expressions as well! + +[![build status](https://secure.travis-ci.org/juliangruber/balanced-match.svg)](http://travis-ci.org/juliangruber/balanced-match) +[![downloads](https://img.shields.io/npm/dm/balanced-match.svg)](https://www.npmjs.org/package/balanced-match) + +[![testling badge](https://ci.testling.com/juliangruber/balanced-match.png)](https://ci.testling.com/juliangruber/balanced-match) + +## Example + +Get the first matching pair of braces: + +```js +var balanced = require('balanced-match'); + +console.log(balanced('{', '}', 'pre{in{nested}}post')); +console.log(balanced('{', '}', 'pre{first}between{second}post')); +console.log(balanced(/\s+\{\s+/, /\s+\}\s+/, 'pre { in{nest} } post')); +``` + +The matches are: + +```bash +$ node example.js +{ start: 3, end: 14, pre: 'pre', body: 'in{nested}', post: 'post' } +{ start: 3, + end: 9, + pre: 'pre', + body: 'first', + post: 'between{second}post' } +{ start: 3, end: 17, pre: 'pre', body: 'in{nest}', post: 'post' } +``` + +## API + +### var m = balanced(a, b, str) + +For the first non-nested matching pair of `a` and `b` in `str`, return an +object with those keys: + +* **start** the index of the first match of `a` +* **end** the index of the matching `b` +* **pre** the preamble, `a` and `b` not included +* **body** the match, `a` and `b` not included +* **post** the postscript, `a` and `b` not included + +If there's no match, `undefined` will be returned. + +If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']` and `{a}}` will match `['', 'a', '}']`. + +### var r = balanced.range(a, b, str) + +For the first non-nested matching pair of `a` and `b` in `str`, return an +array with indexes: `[ , ]`. + +If there's no match, `undefined` will be returned. + +If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `[ 1, 3 ]` and `{a}}` will match `[0, 2]`. + +## Installation + +With [npm](https://npmjs.org) do: + +```bash +npm install balanced-match +``` + +## License + +(MIT) + +Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/balanced-match/index.js b/node_modules/balanced-match/index.js new file mode 100644 index 000000000..1685a7629 --- /dev/null +++ b/node_modules/balanced-match/index.js @@ -0,0 +1,59 @@ +'use strict'; +module.exports = balanced; +function balanced(a, b, str) { + if (a instanceof RegExp) a = maybeMatch(a, str); + if (b instanceof RegExp) b = maybeMatch(b, str); + + var r = range(a, b, str); + + return r && { + start: r[0], + end: r[1], + pre: str.slice(0, r[0]), + body: str.slice(r[0] + a.length, r[1]), + post: str.slice(r[1] + b.length) + }; +} + +function maybeMatch(reg, str) { + var m = str.match(reg); + return m ? m[0] : null; +} + +balanced.range = range; +function range(a, b, str) { + var begs, beg, left, right, result; + var ai = str.indexOf(a); + var bi = str.indexOf(b, ai + 1); + var i = ai; + + if (ai >= 0 && bi > 0) { + begs = []; + left = str.length; + + while (i >= 0 && !result) { + if (i == ai) { + begs.push(i); + ai = str.indexOf(a, i + 1); + } else if (begs.length == 1) { + result = [ begs.pop(), bi ]; + } else { + beg = begs.pop(); + if (beg < left) { + left = beg; + right = bi; + } + + bi = str.indexOf(b, i + 1); + } + + i = ai < bi && ai >= 0 ? ai : bi; + } + + if (begs.length) { + result = [ left, right ]; + } + } + + return result; +} diff --git a/node_modules/balanced-match/package.json b/node_modules/balanced-match/package.json new file mode 100644 index 000000000..1d44c1fd9 --- /dev/null +++ b/node_modules/balanced-match/package.json @@ -0,0 +1,77 @@ +{ + "_from": "balanced-match@^1.0.0", + "_id": "balanced-match@1.0.0", + "_inBundle": false, + "_integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "_location": "/balanced-match", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "balanced-match@^1.0.0", + "name": "balanced-match", + "escapedName": "balanced-match", + "rawSpec": "^1.0.0", + "saveSpec": null, + "fetchSpec": "^1.0.0" + }, + "_requiredBy": [ + "/brace-expansion" + ], + "_resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "_shasum": "89b4d199ab2bee49de164ea02b89ce462d71b767", + "_spec": "balanced-match@^1.0.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/brace-expansion", + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" + }, + "bugs": { + "url": "https://github.com/juliangruber/balanced-match/issues" + }, + "bundleDependencies": false, + "dependencies": {}, + "deprecated": false, + "description": "Match balanced character pairs, like \"{\" and \"}\"", + "devDependencies": { + "matcha": "^0.7.0", + "tape": "^4.6.0" + }, + "homepage": "https://github.com/juliangruber/balanced-match", + "keywords": [ + "match", + "regexp", + "test", + "balanced", + "parse" + ], + "license": "MIT", + "main": "index.js", + "name": "balanced-match", + "repository": { + "type": "git", + "url": "git://github.com/juliangruber/balanced-match.git" + }, + "scripts": { + "bench": "make bench", + "test": "make test" + }, + "testling": { + "files": "test/*.js", + "browsers": [ + "ie/8..latest", + "firefox/20..latest", + "firefox/nightly", + "chrome/25..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + }, + "version": "1.0.0" +} diff --git a/node_modules/body-parser/HISTORY.md b/node_modules/body-parser/HISTORY.md new file mode 100644 index 000000000..a1d3fbfbb --- /dev/null +++ b/node_modules/body-parser/HISTORY.md @@ -0,0 +1,609 @@ +1.19.0 / 2019-04-25 +=================== + + * deps: bytes@3.1.0 + - Add petabyte (`pb`) support + * deps: http-errors@1.7.2 + - Set constructor name when possible + - deps: setprototypeof@1.1.1 + - deps: statuses@'>= 1.5.0 < 2' + * deps: iconv-lite@0.4.24 + - Added encoding MIK + * deps: qs@6.7.0 + - Fix parsing array brackets after index + * deps: raw-body@2.4.0 + - deps: bytes@3.1.0 + - deps: http-errors@1.7.2 + - deps: iconv-lite@0.4.24 + * deps: type-is@~1.6.17 + - deps: mime-types@~2.1.24 + - perf: prevent internal `throw` on invalid type + +1.18.3 / 2018-05-14 +=================== + + * Fix stack trace for strict json parse error + * deps: depd@~1.1.2 + - perf: remove argument reassignment + * deps: http-errors@~1.6.3 + - deps: depd@~1.1.2 + - deps: setprototypeof@1.1.0 + - deps: statuses@'>= 1.3.1 < 2' + * deps: iconv-lite@0.4.23 + - Fix loading encoding with year appended + - Fix deprecation warnings on Node.js 10+ + * deps: qs@6.5.2 + * deps: raw-body@2.3.3 + - deps: http-errors@1.6.3 + - deps: iconv-lite@0.4.23 + * deps: type-is@~1.6.16 + - deps: mime-types@~2.1.18 + +1.18.2 / 2017-09-22 +=================== + + * deps: debug@2.6.9 + * perf: remove argument reassignment + +1.18.1 / 2017-09-12 +=================== + + * deps: content-type@~1.0.4 + - perf: remove argument reassignment + - perf: skip parameter parsing when no parameters + * deps: iconv-lite@0.4.19 + - Fix ISO-8859-1 regression + - Update Windows-1255 + * deps: qs@6.5.1 + - Fix parsing & compacting very deep objects + * deps: raw-body@2.3.2 + - deps: iconv-lite@0.4.19 + +1.18.0 / 2017-09-08 +=================== + + * Fix JSON strict violation error to match native parse error + * Include the `body` property on verify errors + * Include the `type` property on all generated errors + * Use `http-errors` to set status code on errors + * deps: bytes@3.0.0 + * deps: debug@2.6.8 + * deps: depd@~1.1.1 + - Remove unnecessary `Buffer` loading + * deps: http-errors@~1.6.2 + - deps: depd@1.1.1 + * deps: iconv-lite@0.4.18 + - Add support for React Native + - Add a warning if not loaded as utf-8 + - Fix CESU-8 decoding in Node.js 8 + - Improve speed of ISO-8859-1 encoding + * deps: qs@6.5.0 + * deps: raw-body@2.3.1 + - Use `http-errors` for standard emitted errors + - deps: bytes@3.0.0 + - deps: iconv-lite@0.4.18 + - perf: skip buffer decoding on overage chunk + * perf: prevent internal `throw` when missing charset + +1.17.2 / 2017-05-17 +=================== + + * deps: debug@2.6.7 + - Fix `DEBUG_MAX_ARRAY_LENGTH` + - deps: ms@2.0.0 + * deps: type-is@~1.6.15 + - deps: mime-types@~2.1.15 + +1.17.1 / 2017-03-06 +=================== + + * deps: qs@6.4.0 + - Fix regression parsing keys starting with `[` + +1.17.0 / 2017-03-01 +=================== + + * deps: http-errors@~1.6.1 + - Make `message` property enumerable for `HttpError`s + - deps: setprototypeof@1.0.3 + * deps: qs@6.3.1 + - Fix compacting nested arrays + +1.16.1 / 2017-02-10 +=================== + + * deps: debug@2.6.1 + - Fix deprecation messages in WebStorm and other editors + - Undeprecate `DEBUG_FD` set to `1` or `2` + +1.16.0 / 2017-01-17 +=================== + + * deps: debug@2.6.0 + - Allow colors in workers + - Deprecated `DEBUG_FD` environment variable + - Fix error when running under React Native + - Use same color for same namespace + - deps: ms@0.7.2 + * deps: http-errors@~1.5.1 + - deps: inherits@2.0.3 + - deps: setprototypeof@1.0.2 + - deps: statuses@'>= 1.3.1 < 2' + * deps: iconv-lite@0.4.15 + - Added encoding MS-31J + - Added encoding MS-932 + - Added encoding MS-936 + - Added encoding MS-949 + - Added encoding MS-950 + - Fix GBK/GB18030 handling of Euro character + * deps: qs@6.2.1 + - Fix array parsing from skipping empty values + * deps: raw-body@~2.2.0 + - deps: iconv-lite@0.4.15 + * deps: type-is@~1.6.14 + - deps: mime-types@~2.1.13 + +1.15.2 / 2016-06-19 +=================== + + * deps: bytes@2.4.0 + * deps: content-type@~1.0.2 + - perf: enable strict mode + * deps: http-errors@~1.5.0 + - Use `setprototypeof` module to replace `__proto__` setting + - deps: statuses@'>= 1.3.0 < 2' + - perf: enable strict mode + * deps: qs@6.2.0 + * deps: raw-body@~2.1.7 + - deps: bytes@2.4.0 + - perf: remove double-cleanup on happy path + * deps: type-is@~1.6.13 + - deps: mime-types@~2.1.11 + +1.15.1 / 2016-05-05 +=================== + + * deps: bytes@2.3.0 + - Drop partial bytes on all parsed units + - Fix parsing byte string that looks like hex + * deps: raw-body@~2.1.6 + - deps: bytes@2.3.0 + * deps: type-is@~1.6.12 + - deps: mime-types@~2.1.10 + +1.15.0 / 2016-02-10 +=================== + + * deps: http-errors@~1.4.0 + - Add `HttpError` export, for `err instanceof createError.HttpError` + - deps: inherits@2.0.1 + - deps: statuses@'>= 1.2.1 < 2' + * deps: qs@6.1.0 + * deps: type-is@~1.6.11 + - deps: mime-types@~2.1.9 + +1.14.2 / 2015-12-16 +=================== + + * deps: bytes@2.2.0 + * deps: iconv-lite@0.4.13 + * deps: qs@5.2.0 + * deps: raw-body@~2.1.5 + - deps: bytes@2.2.0 + - deps: iconv-lite@0.4.13 + * deps: type-is@~1.6.10 + - deps: mime-types@~2.1.8 + +1.14.1 / 2015-09-27 +=================== + + * Fix issue where invalid charset results in 400 when `verify` used + * deps: iconv-lite@0.4.12 + - Fix CESU-8 decoding in Node.js 4.x + * deps: raw-body@~2.1.4 + - Fix masking critical errors from `iconv-lite` + - deps: iconv-lite@0.4.12 + * deps: type-is@~1.6.9 + - deps: mime-types@~2.1.7 + +1.14.0 / 2015-09-16 +=================== + + * Fix JSON strict parse error to match syntax errors + * Provide static `require` analysis in `urlencoded` parser + * deps: depd@~1.1.0 + - Support web browser loading + * deps: qs@5.1.0 + * deps: raw-body@~2.1.3 + - Fix sync callback when attaching data listener causes sync read + * deps: type-is@~1.6.8 + - Fix type error when given invalid type to match against + - deps: mime-types@~2.1.6 + +1.13.3 / 2015-07-31 +=================== + + * deps: type-is@~1.6.6 + - deps: mime-types@~2.1.4 + +1.13.2 / 2015-07-05 +=================== + + * deps: iconv-lite@0.4.11 + * deps: qs@4.0.0 + - Fix dropping parameters like `hasOwnProperty` + - Fix user-visible incompatibilities from 3.1.0 + - Fix various parsing edge cases + * deps: raw-body@~2.1.2 + - Fix error stack traces to skip `makeError` + - deps: iconv-lite@0.4.11 + * deps: type-is@~1.6.4 + - deps: mime-types@~2.1.2 + - perf: enable strict mode + - perf: remove argument reassignment + +1.13.1 / 2015-06-16 +=================== + + * deps: qs@2.4.2 + - Downgraded from 3.1.0 because of user-visible incompatibilities + +1.13.0 / 2015-06-14 +=================== + + * Add `statusCode` property on `Error`s, in addition to `status` + * Change `type` default to `application/json` for JSON parser + * Change `type` default to `application/x-www-form-urlencoded` for urlencoded parser + * Provide static `require` analysis + * Use the `http-errors` module to generate errors + * deps: bytes@2.1.0 + - Slight optimizations + * deps: iconv-lite@0.4.10 + - The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails + - Leading BOM is now removed when decoding + * deps: on-finished@~2.3.0 + - Add defined behavior for HTTP `CONNECT` requests + - Add defined behavior for HTTP `Upgrade` requests + - deps: ee-first@1.1.1 + * deps: qs@3.1.0 + - Fix dropping parameters like `hasOwnProperty` + - Fix various parsing edge cases + - Parsed object now has `null` prototype + * deps: raw-body@~2.1.1 + - Use `unpipe` module for unpiping requests + - deps: iconv-lite@0.4.10 + * deps: type-is@~1.6.3 + - deps: mime-types@~2.1.1 + - perf: reduce try block size + - perf: remove bitwise operations + * perf: enable strict mode + * perf: remove argument reassignment + * perf: remove delete call + +1.12.4 / 2015-05-10 +=================== + + * deps: debug@~2.2.0 + * deps: qs@2.4.2 + - Fix allowing parameters like `constructor` + * deps: on-finished@~2.2.1 + * deps: raw-body@~2.0.1 + - Fix a false-positive when unpiping in Node.js 0.8 + - deps: bytes@2.0.1 + * deps: type-is@~1.6.2 + - deps: mime-types@~2.0.11 + +1.12.3 / 2015-04-15 +=================== + + * Slight efficiency improvement when not debugging + * deps: depd@~1.0.1 + * deps: iconv-lite@0.4.8 + - Add encoding alias UNICODE-1-1-UTF-7 + * deps: raw-body@1.3.4 + - Fix hanging callback if request aborts during read + - deps: iconv-lite@0.4.8 + +1.12.2 / 2015-03-16 +=================== + + * deps: qs@2.4.1 + - Fix error when parameter `hasOwnProperty` is present + +1.12.1 / 2015-03-15 +=================== + + * deps: debug@~2.1.3 + - Fix high intensity foreground color for bold + - deps: ms@0.7.0 + * deps: type-is@~1.6.1 + - deps: mime-types@~2.0.10 + +1.12.0 / 2015-02-13 +=================== + + * add `debug` messages + * accept a function for the `type` option + * use `content-type` to parse `Content-Type` headers + * deps: iconv-lite@0.4.7 + - Gracefully support enumerables on `Object.prototype` + * deps: raw-body@1.3.3 + - deps: iconv-lite@0.4.7 + * deps: type-is@~1.6.0 + - fix argument reassignment + - fix false-positives in `hasBody` `Transfer-Encoding` check + - support wildcard for both type and subtype (`*/*`) + - deps: mime-types@~2.0.9 + +1.11.0 / 2015-01-30 +=================== + + * make internal `extended: true` depth limit infinity + * deps: type-is@~1.5.6 + - deps: mime-types@~2.0.8 + +1.10.2 / 2015-01-20 +=================== + + * deps: iconv-lite@0.4.6 + - Fix rare aliases of single-byte encodings + * deps: raw-body@1.3.2 + - deps: iconv-lite@0.4.6 + +1.10.1 / 2015-01-01 +=================== + + * deps: on-finished@~2.2.0 + * deps: type-is@~1.5.5 + - deps: mime-types@~2.0.7 + +1.10.0 / 2014-12-02 +=================== + + * make internal `extended: true` array limit dynamic + +1.9.3 / 2014-11-21 +================== + + * deps: iconv-lite@0.4.5 + - Fix Windows-31J and X-SJIS encoding support + * deps: qs@2.3.3 + - Fix `arrayLimit` behavior + * deps: raw-body@1.3.1 + - deps: iconv-lite@0.4.5 + * deps: type-is@~1.5.3 + - deps: mime-types@~2.0.3 + +1.9.2 / 2014-10-27 +================== + + * deps: qs@2.3.2 + - Fix parsing of mixed objects and values + +1.9.1 / 2014-10-22 +================== + + * deps: on-finished@~2.1.1 + - Fix handling of pipelined requests + * deps: qs@2.3.0 + - Fix parsing of mixed implicit and explicit arrays + * deps: type-is@~1.5.2 + - deps: mime-types@~2.0.2 + +1.9.0 / 2014-09-24 +================== + + * include the charset in "unsupported charset" error message + * include the encoding in "unsupported content encoding" error message + * deps: depd@~1.0.0 + +1.8.4 / 2014-09-23 +================== + + * fix content encoding to be case-insensitive + +1.8.3 / 2014-09-19 +================== + + * deps: qs@2.2.4 + - Fix issue with object keys starting with numbers truncated + +1.8.2 / 2014-09-15 +================== + + * deps: depd@0.4.5 + +1.8.1 / 2014-09-07 +================== + + * deps: media-typer@0.3.0 + * deps: type-is@~1.5.1 + +1.8.0 / 2014-09-05 +================== + + * make empty-body-handling consistent between chunked requests + - empty `json` produces `{}` + - empty `raw` produces `new Buffer(0)` + - empty `text` produces `''` + - empty `urlencoded` produces `{}` + * deps: qs@2.2.3 + - Fix issue where first empty value in array is discarded + * deps: type-is@~1.5.0 + - fix `hasbody` to be true for `content-length: 0` + +1.7.0 / 2014-09-01 +================== + + * add `parameterLimit` option to `urlencoded` parser + * change `urlencoded` extended array limit to 100 + * respond with 413 when over `parameterLimit` in `urlencoded` + +1.6.7 / 2014-08-29 +================== + + * deps: qs@2.2.2 + - Remove unnecessary cloning + +1.6.6 / 2014-08-27 +================== + + * deps: qs@2.2.0 + - Array parsing fix + - Performance improvements + +1.6.5 / 2014-08-16 +================== + + * deps: on-finished@2.1.0 + +1.6.4 / 2014-08-14 +================== + + * deps: qs@1.2.2 + +1.6.3 / 2014-08-10 +================== + + * deps: qs@1.2.1 + +1.6.2 / 2014-08-07 +================== + + * deps: qs@1.2.0 + - Fix parsing array of objects + +1.6.1 / 2014-08-06 +================== + + * deps: qs@1.1.0 + - Accept urlencoded square brackets + - Accept empty values in implicit array notation + +1.6.0 / 2014-08-05 +================== + + * deps: qs@1.0.2 + - Complete rewrite + - Limits array length to 20 + - Limits object depth to 5 + - Limits parameters to 1,000 + +1.5.2 / 2014-07-27 +================== + + * deps: depd@0.4.4 + - Work-around v8 generating empty stack traces + +1.5.1 / 2014-07-26 +================== + + * deps: depd@0.4.3 + - Fix exception when global `Error.stackTraceLimit` is too low + +1.5.0 / 2014-07-20 +================== + + * deps: depd@0.4.2 + - Add `TRACE_DEPRECATION` environment variable + - Remove non-standard grey color from color output + - Support `--no-deprecation` argument + - Support `--trace-deprecation` argument + * deps: iconv-lite@0.4.4 + - Added encoding UTF-7 + * deps: raw-body@1.3.0 + - deps: iconv-lite@0.4.4 + - Added encoding UTF-7 + - Fix `Cannot switch to old mode now` error on Node.js 0.10+ + * deps: type-is@~1.3.2 + +1.4.3 / 2014-06-19 +================== + + * deps: type-is@1.3.1 + - fix global variable leak + +1.4.2 / 2014-06-19 +================== + + * deps: type-is@1.3.0 + - improve type parsing + +1.4.1 / 2014-06-19 +================== + + * fix urlencoded extended deprecation message + +1.4.0 / 2014-06-19 +================== + + * add `text` parser + * add `raw` parser + * check accepted charset in content-type (accepts utf-8) + * check accepted encoding in content-encoding (accepts identity) + * deprecate `bodyParser()` middleware; use `.json()` and `.urlencoded()` as needed + * deprecate `urlencoded()` without provided `extended` option + * lazy-load urlencoded parsers + * parsers split into files for reduced mem usage + * support gzip and deflate bodies + - set `inflate: false` to turn off + * deps: raw-body@1.2.2 + - Support all encodings from `iconv-lite` + +1.3.1 / 2014-06-11 +================== + + * deps: type-is@1.2.1 + - Switch dependency from mime to mime-types@1.0.0 + +1.3.0 / 2014-05-31 +================== + + * add `extended` option to urlencoded parser + +1.2.2 / 2014-05-27 +================== + + * deps: raw-body@1.1.6 + - assert stream encoding on node.js 0.8 + - assert stream encoding on node.js < 0.10.6 + - deps: bytes@1 + +1.2.1 / 2014-05-26 +================== + + * invoke `next(err)` after request fully read + - prevents hung responses and socket hang ups + +1.2.0 / 2014-05-11 +================== + + * add `verify` option + * deps: type-is@1.2.0 + - support suffix matching + +1.1.2 / 2014-05-11 +================== + + * improve json parser speed + +1.1.1 / 2014-05-11 +================== + + * fix repeated limit parsing with every request + +1.1.0 / 2014-05-10 +================== + + * add `type` option + * deps: pin for safety and consistency + +1.0.2 / 2014-04-14 +================== + + * use `type-is` module + +1.0.1 / 2014-03-20 +================== + + * lower default limits to 100kb diff --git a/node_modules/body-parser/LICENSE b/node_modules/body-parser/LICENSE new file mode 100644 index 000000000..386b7b694 --- /dev/null +++ b/node_modules/body-parser/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2014-2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/body-parser/README.md b/node_modules/body-parser/README.md new file mode 100644 index 000000000..aba6297a8 --- /dev/null +++ b/node_modules/body-parser/README.md @@ -0,0 +1,443 @@ +# body-parser + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Node.js body parsing middleware. + +Parse incoming request bodies in a middleware before your handlers, available +under the `req.body` property. + +**Note** As `req.body`'s shape is based on user-controlled input, all +properties and values in this object are untrusted and should be validated +before trusting. For example, `req.body.foo.toString()` may fail in multiple +ways, for example the `foo` property may not be there or may not be a string, +and `toString` may not be a function and instead a string or other user input. + +[Learn about the anatomy of an HTTP transaction in Node.js](https://nodejs.org/en/docs/guides/anatomy-of-an-http-transaction/). + +_This does not handle multipart bodies_, due to their complex and typically +large nature. For multipart bodies, you may be interested in the following +modules: + + * [busboy](https://www.npmjs.org/package/busboy#readme) and + [connect-busboy](https://www.npmjs.org/package/connect-busboy#readme) + * [multiparty](https://www.npmjs.org/package/multiparty#readme) and + [connect-multiparty](https://www.npmjs.org/package/connect-multiparty#readme) + * [formidable](https://www.npmjs.org/package/formidable#readme) + * [multer](https://www.npmjs.org/package/multer#readme) + +This module provides the following parsers: + + * [JSON body parser](#bodyparserjsonoptions) + * [Raw body parser](#bodyparserrawoptions) + * [Text body parser](#bodyparsertextoptions) + * [URL-encoded form body parser](#bodyparserurlencodedoptions) + +Other body parsers you might be interested in: + +- [body](https://www.npmjs.org/package/body#readme) +- [co-body](https://www.npmjs.org/package/co-body#readme) + +## Installation + +```sh +$ npm install body-parser +``` + +## API + + + +```js +var bodyParser = require('body-parser') +``` + +The `bodyParser` object exposes various factories to create middlewares. All +middlewares will populate the `req.body` property with the parsed body when +the `Content-Type` request header matches the `type` option, or an empty +object (`{}`) if there was no body to parse, the `Content-Type` was not matched, +or an error occurred. + +The various errors returned by this module are described in the +[errors section](#errors). + +### bodyParser.json([options]) + +Returns middleware that only parses `json` and only looks at requests where +the `Content-Type` header matches the `type` option. This parser accepts any +Unicode encoding of the body and supports automatic inflation of `gzip` and +`deflate` encodings. + +A new `body` object containing the parsed data is populated on the `request` +object after the middleware (i.e. `req.body`). + +#### Options + +The `json` function takes an optional `options` object that may contain any of +the following keys: + +##### inflate + +When set to `true`, then deflated (compressed) bodies will be inflated; when +`false`, deflated bodies are rejected. Defaults to `true`. + +##### limit + +Controls the maximum request body size. If this is a number, then the value +specifies the number of bytes; if it is a string, the value is passed to the +[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults +to `'100kb'`. + +##### reviver + +The `reviver` option is passed directly to `JSON.parse` as the second +argument. You can find more information on this argument +[in the MDN documentation about JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Example.3A_Using_the_reviver_parameter). + +##### strict + +When set to `true`, will only accept arrays and objects; when `false` will +accept anything `JSON.parse` accepts. Defaults to `true`. + +##### type + +The `type` option is used to determine what media type the middleware will +parse. This option can be a string, array of strings, or a function. If not a +function, `type` option is passed directly to the +[type-is](https://www.npmjs.org/package/type-is#readme) library and this can +be an extension name (like `json`), a mime type (like `application/json`), or +a mime type with a wildcard (like `*/*` or `*/json`). If a function, the `type` +option is called as `fn(req)` and the request is parsed if it returns a truthy +value. Defaults to `application/json`. + +##### verify + +The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`, +where `buf` is a `Buffer` of the raw request body and `encoding` is the +encoding of the request. The parsing can be aborted by throwing an error. + +### bodyParser.raw([options]) + +Returns middleware that parses all bodies as a `Buffer` and only looks at +requests where the `Content-Type` header matches the `type` option. This +parser supports automatic inflation of `gzip` and `deflate` encodings. + +A new `body` object containing the parsed data is populated on the `request` +object after the middleware (i.e. `req.body`). This will be a `Buffer` object +of the body. + +#### Options + +The `raw` function takes an optional `options` object that may contain any of +the following keys: + +##### inflate + +When set to `true`, then deflated (compressed) bodies will be inflated; when +`false`, deflated bodies are rejected. Defaults to `true`. + +##### limit + +Controls the maximum request body size. If this is a number, then the value +specifies the number of bytes; if it is a string, the value is passed to the +[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults +to `'100kb'`. + +##### type + +The `type` option is used to determine what media type the middleware will +parse. This option can be a string, array of strings, or a function. +If not a function, `type` option is passed directly to the +[type-is](https://www.npmjs.org/package/type-is#readme) library and this +can be an extension name (like `bin`), a mime type (like +`application/octet-stream`), or a mime type with a wildcard (like `*/*` or +`application/*`). If a function, the `type` option is called as `fn(req)` +and the request is parsed if it returns a truthy value. Defaults to +`application/octet-stream`. + +##### verify + +The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`, +where `buf` is a `Buffer` of the raw request body and `encoding` is the +encoding of the request. The parsing can be aborted by throwing an error. + +### bodyParser.text([options]) + +Returns middleware that parses all bodies as a string and only looks at +requests where the `Content-Type` header matches the `type` option. This +parser supports automatic inflation of `gzip` and `deflate` encodings. + +A new `body` string containing the parsed data is populated on the `request` +object after the middleware (i.e. `req.body`). This will be a string of the +body. + +#### Options + +The `text` function takes an optional `options` object that may contain any of +the following keys: + +##### defaultCharset + +Specify the default character set for the text content if the charset is not +specified in the `Content-Type` header of the request. Defaults to `utf-8`. + +##### inflate + +When set to `true`, then deflated (compressed) bodies will be inflated; when +`false`, deflated bodies are rejected. Defaults to `true`. + +##### limit + +Controls the maximum request body size. If this is a number, then the value +specifies the number of bytes; if it is a string, the value is passed to the +[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults +to `'100kb'`. + +##### type + +The `type` option is used to determine what media type the middleware will +parse. This option can be a string, array of strings, or a function. If not +a function, `type` option is passed directly to the +[type-is](https://www.npmjs.org/package/type-is#readme) library and this can +be an extension name (like `txt`), a mime type (like `text/plain`), or a mime +type with a wildcard (like `*/*` or `text/*`). If a function, the `type` +option is called as `fn(req)` and the request is parsed if it returns a +truthy value. Defaults to `text/plain`. + +##### verify + +The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`, +where `buf` is a `Buffer` of the raw request body and `encoding` is the +encoding of the request. The parsing can be aborted by throwing an error. + +### bodyParser.urlencoded([options]) + +Returns middleware that only parses `urlencoded` bodies and only looks at +requests where the `Content-Type` header matches the `type` option. This +parser accepts only UTF-8 encoding of the body and supports automatic +inflation of `gzip` and `deflate` encodings. + +A new `body` object containing the parsed data is populated on the `request` +object after the middleware (i.e. `req.body`). This object will contain +key-value pairs, where the value can be a string or array (when `extended` is +`false`), or any type (when `extended` is `true`). + +#### Options + +The `urlencoded` function takes an optional `options` object that may contain +any of the following keys: + +##### extended + +The `extended` option allows to choose between parsing the URL-encoded data +with the `querystring` library (when `false`) or the `qs` library (when +`true`). The "extended" syntax allows for rich objects and arrays to be +encoded into the URL-encoded format, allowing for a JSON-like experience +with URL-encoded. For more information, please +[see the qs library](https://www.npmjs.org/package/qs#readme). + +Defaults to `true`, but using the default has been deprecated. Please +research into the difference between `qs` and `querystring` and choose the +appropriate setting. + +##### inflate + +When set to `true`, then deflated (compressed) bodies will be inflated; when +`false`, deflated bodies are rejected. Defaults to `true`. + +##### limit + +Controls the maximum request body size. If this is a number, then the value +specifies the number of bytes; if it is a string, the value is passed to the +[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults +to `'100kb'`. + +##### parameterLimit + +The `parameterLimit` option controls the maximum number of parameters that +are allowed in the URL-encoded data. If a request contains more parameters +than this value, a 413 will be returned to the client. Defaults to `1000`. + +##### type + +The `type` option is used to determine what media type the middleware will +parse. This option can be a string, array of strings, or a function. If not +a function, `type` option is passed directly to the +[type-is](https://www.npmjs.org/package/type-is#readme) library and this can +be an extension name (like `urlencoded`), a mime type (like +`application/x-www-form-urlencoded`), or a mime type with a wildcard (like +`*/x-www-form-urlencoded`). If a function, the `type` option is called as +`fn(req)` and the request is parsed if it returns a truthy value. Defaults +to `application/x-www-form-urlencoded`. + +##### verify + +The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`, +where `buf` is a `Buffer` of the raw request body and `encoding` is the +encoding of the request. The parsing can be aborted by throwing an error. + +## Errors + +The middlewares provided by this module create errors depending on the error +condition during parsing. The errors will typically have a `status`/`statusCode` +property that contains the suggested HTTP response code, an `expose` property +to determine if the `message` property should be displayed to the client, a +`type` property to determine the type of error without matching against the +`message`, and a `body` property containing the read body, if available. + +The following are the common errors emitted, though any error can come through +for various reasons. + +### content encoding unsupported + +This error will occur when the request had a `Content-Encoding` header that +contained an encoding but the "inflation" option was set to `false`. The +`status` property is set to `415`, the `type` property is set to +`'encoding.unsupported'`, and the `charset` property will be set to the +encoding that is unsupported. + +### request aborted + +This error will occur when the request is aborted by the client before reading +the body has finished. The `received` property will be set to the number of +bytes received before the request was aborted and the `expected` property is +set to the number of expected bytes. The `status` property is set to `400` +and `type` property is set to `'request.aborted'`. + +### request entity too large + +This error will occur when the request body's size is larger than the "limit" +option. The `limit` property will be set to the byte limit and the `length` +property will be set to the request body's length. The `status` property is +set to `413` and the `type` property is set to `'entity.too.large'`. + +### request size did not match content length + +This error will occur when the request's length did not match the length from +the `Content-Length` header. This typically occurs when the request is malformed, +typically when the `Content-Length` header was calculated based on characters +instead of bytes. The `status` property is set to `400` and the `type` property +is set to `'request.size.invalid'`. + +### stream encoding should not be set + +This error will occur when something called the `req.setEncoding` method prior +to this middleware. This module operates directly on bytes only and you cannot +call `req.setEncoding` when using this module. The `status` property is set to +`500` and the `type` property is set to `'stream.encoding.set'`. + +### too many parameters + +This error will occur when the content of the request exceeds the configured +`parameterLimit` for the `urlencoded` parser. The `status` property is set to +`413` and the `type` property is set to `'parameters.too.many'`. + +### unsupported charset "BOGUS" + +This error will occur when the request had a charset parameter in the +`Content-Type` header, but the `iconv-lite` module does not support it OR the +parser does not support it. The charset is contained in the message as well +as in the `charset` property. The `status` property is set to `415`, the +`type` property is set to `'charset.unsupported'`, and the `charset` property +is set to the charset that is unsupported. + +### unsupported content encoding "bogus" + +This error will occur when the request had a `Content-Encoding` header that +contained an unsupported encoding. The encoding is contained in the message +as well as in the `encoding` property. The `status` property is set to `415`, +the `type` property is set to `'encoding.unsupported'`, and the `encoding` +property is set to the encoding that is unsupported. + +## Examples + +### Express/Connect top-level generic + +This example demonstrates adding a generic JSON and URL-encoded parser as a +top-level middleware, which will parse the bodies of all incoming requests. +This is the simplest setup. + +```js +var express = require('express') +var bodyParser = require('body-parser') + +var app = express() + +// parse application/x-www-form-urlencoded +app.use(bodyParser.urlencoded({ extended: false })) + +// parse application/json +app.use(bodyParser.json()) + +app.use(function (req, res) { + res.setHeader('Content-Type', 'text/plain') + res.write('you posted:\n') + res.end(JSON.stringify(req.body, null, 2)) +}) +``` + +### Express route-specific + +This example demonstrates adding body parsers specifically to the routes that +need them. In general, this is the most recommended way to use body-parser with +Express. + +```js +var express = require('express') +var bodyParser = require('body-parser') + +var app = express() + +// create application/json parser +var jsonParser = bodyParser.json() + +// create application/x-www-form-urlencoded parser +var urlencodedParser = bodyParser.urlencoded({ extended: false }) + +// POST /login gets urlencoded bodies +app.post('/login', urlencodedParser, function (req, res) { + res.send('welcome, ' + req.body.username) +}) + +// POST /api/users gets JSON bodies +app.post('/api/users', jsonParser, function (req, res) { + // create user in req.body +}) +``` + +### Change accepted type for parsers + +All the parsers accept a `type` option which allows you to change the +`Content-Type` that the middleware will parse. + +```js +var express = require('express') +var bodyParser = require('body-parser') + +var app = express() + +// parse various different custom JSON types as JSON +app.use(bodyParser.json({ type: 'application/*+json' })) + +// parse some custom thing into a Buffer +app.use(bodyParser.raw({ type: 'application/vnd.custom-type' })) + +// parse an HTML body into a string +app.use(bodyParser.text({ type: 'text/html' })) +``` + +## License + +[MIT](LICENSE) + +[npm-image]: https://img.shields.io/npm/v/body-parser.svg +[npm-url]: https://npmjs.org/package/body-parser +[travis-image]: https://img.shields.io/travis/expressjs/body-parser/master.svg +[travis-url]: https://travis-ci.org/expressjs/body-parser +[coveralls-image]: https://img.shields.io/coveralls/expressjs/body-parser/master.svg +[coveralls-url]: https://coveralls.io/r/expressjs/body-parser?branch=master +[downloads-image]: https://img.shields.io/npm/dm/body-parser.svg +[downloads-url]: https://npmjs.org/package/body-parser diff --git a/node_modules/body-parser/index.js b/node_modules/body-parser/index.js new file mode 100644 index 000000000..93c3a1fff --- /dev/null +++ b/node_modules/body-parser/index.js @@ -0,0 +1,157 @@ +/*! + * body-parser + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var deprecate = require('depd')('body-parser') + +/** + * Cache of loaded parsers. + * @private + */ + +var parsers = Object.create(null) + +/** + * @typedef Parsers + * @type {function} + * @property {function} json + * @property {function} raw + * @property {function} text + * @property {function} urlencoded + */ + +/** + * Module exports. + * @type {Parsers} + */ + +exports = module.exports = deprecate.function(bodyParser, + 'bodyParser: use individual json/urlencoded middlewares') + +/** + * JSON parser. + * @public + */ + +Object.defineProperty(exports, 'json', { + configurable: true, + enumerable: true, + get: createParserGetter('json') +}) + +/** + * Raw parser. + * @public + */ + +Object.defineProperty(exports, 'raw', { + configurable: true, + enumerable: true, + get: createParserGetter('raw') +}) + +/** + * Text parser. + * @public + */ + +Object.defineProperty(exports, 'text', { + configurable: true, + enumerable: true, + get: createParserGetter('text') +}) + +/** + * URL-encoded parser. + * @public + */ + +Object.defineProperty(exports, 'urlencoded', { + configurable: true, + enumerable: true, + get: createParserGetter('urlencoded') +}) + +/** + * Create a middleware to parse json and urlencoded bodies. + * + * @param {object} [options] + * @return {function} + * @deprecated + * @public + */ + +function bodyParser (options) { + var opts = {} + + // exclude type option + if (options) { + for (var prop in options) { + if (prop !== 'type') { + opts[prop] = options[prop] + } + } + } + + var _urlencoded = exports.urlencoded(opts) + var _json = exports.json(opts) + + return function bodyParser (req, res, next) { + _json(req, res, function (err) { + if (err) return next(err) + _urlencoded(req, res, next) + }) + } +} + +/** + * Create a getter for loading a parser. + * @private + */ + +function createParserGetter (name) { + return function get () { + return loadParser(name) + } +} + +/** + * Load a parser module. + * @private + */ + +function loadParser (parserName) { + var parser = parsers[parserName] + + if (parser !== undefined) { + return parser + } + + // this uses a switch for static require analysis + switch (parserName) { + case 'json': + parser = require('./lib/types/json') + break + case 'raw': + parser = require('./lib/types/raw') + break + case 'text': + parser = require('./lib/types/text') + break + case 'urlencoded': + parser = require('./lib/types/urlencoded') + break + } + + // store to prevent invoking require() + return (parsers[parserName] = parser) +} diff --git a/node_modules/body-parser/lib/read.js b/node_modules/body-parser/lib/read.js new file mode 100644 index 000000000..c10260958 --- /dev/null +++ b/node_modules/body-parser/lib/read.js @@ -0,0 +1,181 @@ +/*! + * body-parser + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var createError = require('http-errors') +var getBody = require('raw-body') +var iconv = require('iconv-lite') +var onFinished = require('on-finished') +var zlib = require('zlib') + +/** + * Module exports. + */ + +module.exports = read + +/** + * Read a request into a buffer and parse. + * + * @param {object} req + * @param {object} res + * @param {function} next + * @param {function} parse + * @param {function} debug + * @param {object} options + * @private + */ + +function read (req, res, next, parse, debug, options) { + var length + var opts = options + var stream + + // flag as parsed + req._body = true + + // read options + var encoding = opts.encoding !== null + ? opts.encoding + : null + var verify = opts.verify + + try { + // get the content stream + stream = contentstream(req, debug, opts.inflate) + length = stream.length + stream.length = undefined + } catch (err) { + return next(err) + } + + // set raw-body options + opts.length = length + opts.encoding = verify + ? null + : encoding + + // assert charset is supported + if (opts.encoding === null && encoding !== null && !iconv.encodingExists(encoding)) { + return next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', { + charset: encoding.toLowerCase(), + type: 'charset.unsupported' + })) + } + + // read body + debug('read body') + getBody(stream, opts, function (error, body) { + if (error) { + var _error + + if (error.type === 'encoding.unsupported') { + // echo back charset + _error = createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', { + charset: encoding.toLowerCase(), + type: 'charset.unsupported' + }) + } else { + // set status code on error + _error = createError(400, error) + } + + // read off entire request + stream.resume() + onFinished(req, function onfinished () { + next(createError(400, _error)) + }) + return + } + + // verify + if (verify) { + try { + debug('verify body') + verify(req, res, body, encoding) + } catch (err) { + next(createError(403, err, { + body: body, + type: err.type || 'entity.verify.failed' + })) + return + } + } + + // parse + var str = body + try { + debug('parse body') + str = typeof body !== 'string' && encoding !== null + ? iconv.decode(body, encoding) + : body + req.body = parse(str) + } catch (err) { + next(createError(400, err, { + body: str, + type: err.type || 'entity.parse.failed' + })) + return + } + + next() + }) +} + +/** + * Get the content stream of the request. + * + * @param {object} req + * @param {function} debug + * @param {boolean} [inflate=true] + * @return {object} + * @api private + */ + +function contentstream (req, debug, inflate) { + var encoding = (req.headers['content-encoding'] || 'identity').toLowerCase() + var length = req.headers['content-length'] + var stream + + debug('content-encoding "%s"', encoding) + + if (inflate === false && encoding !== 'identity') { + throw createError(415, 'content encoding unsupported', { + encoding: encoding, + type: 'encoding.unsupported' + }) + } + + switch (encoding) { + case 'deflate': + stream = zlib.createInflate() + debug('inflate body') + req.pipe(stream) + break + case 'gzip': + stream = zlib.createGunzip() + debug('gunzip body') + req.pipe(stream) + break + case 'identity': + stream = req + stream.length = length + break + default: + throw createError(415, 'unsupported content encoding "' + encoding + '"', { + encoding: encoding, + type: 'encoding.unsupported' + }) + } + + return stream +} diff --git a/node_modules/body-parser/lib/types/json.js b/node_modules/body-parser/lib/types/json.js new file mode 100644 index 000000000..2971dc14d --- /dev/null +++ b/node_modules/body-parser/lib/types/json.js @@ -0,0 +1,230 @@ +/*! + * body-parser + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var bytes = require('bytes') +var contentType = require('content-type') +var createError = require('http-errors') +var debug = require('debug')('body-parser:json') +var read = require('../read') +var typeis = require('type-is') + +/** + * Module exports. + */ + +module.exports = json + +/** + * RegExp to match the first non-space in a string. + * + * Allowed whitespace is defined in RFC 7159: + * + * ws = *( + * %x20 / ; Space + * %x09 / ; Horizontal tab + * %x0A / ; Line feed or New line + * %x0D ) ; Carriage return + */ + +var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*(.)/ // eslint-disable-line no-control-regex + +/** + * Create a middleware to parse JSON bodies. + * + * @param {object} [options] + * @return {function} + * @public + */ + +function json (options) { + var opts = options || {} + + var limit = typeof opts.limit !== 'number' + ? bytes.parse(opts.limit || '100kb') + : opts.limit + var inflate = opts.inflate !== false + var reviver = opts.reviver + var strict = opts.strict !== false + var type = opts.type || 'application/json' + var verify = opts.verify || false + + if (verify !== false && typeof verify !== 'function') { + throw new TypeError('option verify must be function') + } + + // create the appropriate type checking function + var shouldParse = typeof type !== 'function' + ? typeChecker(type) + : type + + function parse (body) { + if (body.length === 0) { + // special-case empty json body, as it's a common client-side mistake + // TODO: maybe make this configurable or part of "strict" option + return {} + } + + if (strict) { + var first = firstchar(body) + + if (first !== '{' && first !== '[') { + debug('strict violation') + throw createStrictSyntaxError(body, first) + } + } + + try { + debug('parse json') + return JSON.parse(body, reviver) + } catch (e) { + throw normalizeJsonSyntaxError(e, { + message: e.message, + stack: e.stack + }) + } + } + + return function jsonParser (req, res, next) { + if (req._body) { + debug('body already parsed') + next() + return + } + + req.body = req.body || {} + + // skip requests without bodies + if (!typeis.hasBody(req)) { + debug('skip empty body') + next() + return + } + + debug('content-type %j', req.headers['content-type']) + + // determine if request should be parsed + if (!shouldParse(req)) { + debug('skip parsing') + next() + return + } + + // assert charset per RFC 7159 sec 8.1 + var charset = getCharset(req) || 'utf-8' + if (charset.substr(0, 4) !== 'utf-') { + debug('invalid charset') + next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', { + charset: charset, + type: 'charset.unsupported' + })) + return + } + + // read + read(req, res, next, parse, debug, { + encoding: charset, + inflate: inflate, + limit: limit, + verify: verify + }) + } +} + +/** + * Create strict violation syntax error matching native error. + * + * @param {string} str + * @param {string} char + * @return {Error} + * @private + */ + +function createStrictSyntaxError (str, char) { + var index = str.indexOf(char) + var partial = str.substring(0, index) + '#' + + try { + JSON.parse(partial); /* istanbul ignore next */ throw new SyntaxError('strict violation') + } catch (e) { + return normalizeJsonSyntaxError(e, { + message: e.message.replace('#', char), + stack: e.stack + }) + } +} + +/** + * Get the first non-whitespace character in a string. + * + * @param {string} str + * @return {function} + * @private + */ + +function firstchar (str) { + return FIRST_CHAR_REGEXP.exec(str)[1] +} + +/** + * Get the charset of a request. + * + * @param {object} req + * @api private + */ + +function getCharset (req) { + try { + return (contentType.parse(req).parameters.charset || '').toLowerCase() + } catch (e) { + return undefined + } +} + +/** + * Normalize a SyntaxError for JSON.parse. + * + * @param {SyntaxError} error + * @param {object} obj + * @return {SyntaxError} + */ + +function normalizeJsonSyntaxError (error, obj) { + var keys = Object.getOwnPropertyNames(error) + + for (var i = 0; i < keys.length; i++) { + var key = keys[i] + if (key !== 'stack' && key !== 'message') { + delete error[key] + } + } + + // replace stack before message for Node.js 0.10 and below + error.stack = obj.stack.replace(error.message, obj.message) + error.message = obj.message + + return error +} + +/** + * Get the simple type checker. + * + * @param {string} type + * @return {function} + */ + +function typeChecker (type) { + return function checkType (req) { + return Boolean(typeis(req, type)) + } +} diff --git a/node_modules/body-parser/lib/types/raw.js b/node_modules/body-parser/lib/types/raw.js new file mode 100644 index 000000000..f5d1b6747 --- /dev/null +++ b/node_modules/body-parser/lib/types/raw.js @@ -0,0 +1,101 @@ +/*! + * body-parser + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + */ + +var bytes = require('bytes') +var debug = require('debug')('body-parser:raw') +var read = require('../read') +var typeis = require('type-is') + +/** + * Module exports. + */ + +module.exports = raw + +/** + * Create a middleware to parse raw bodies. + * + * @param {object} [options] + * @return {function} + * @api public + */ + +function raw (options) { + var opts = options || {} + + var inflate = opts.inflate !== false + var limit = typeof opts.limit !== 'number' + ? bytes.parse(opts.limit || '100kb') + : opts.limit + var type = opts.type || 'application/octet-stream' + var verify = opts.verify || false + + if (verify !== false && typeof verify !== 'function') { + throw new TypeError('option verify must be function') + } + + // create the appropriate type checking function + var shouldParse = typeof type !== 'function' + ? typeChecker(type) + : type + + function parse (buf) { + return buf + } + + return function rawParser (req, res, next) { + if (req._body) { + debug('body already parsed') + next() + return + } + + req.body = req.body || {} + + // skip requests without bodies + if (!typeis.hasBody(req)) { + debug('skip empty body') + next() + return + } + + debug('content-type %j', req.headers['content-type']) + + // determine if request should be parsed + if (!shouldParse(req)) { + debug('skip parsing') + next() + return + } + + // read + read(req, res, next, parse, debug, { + encoding: null, + inflate: inflate, + limit: limit, + verify: verify + }) + } +} + +/** + * Get the simple type checker. + * + * @param {string} type + * @return {function} + */ + +function typeChecker (type) { + return function checkType (req) { + return Boolean(typeis(req, type)) + } +} diff --git a/node_modules/body-parser/lib/types/text.js b/node_modules/body-parser/lib/types/text.js new file mode 100644 index 000000000..083a00908 --- /dev/null +++ b/node_modules/body-parser/lib/types/text.js @@ -0,0 +1,121 @@ +/*! + * body-parser + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + */ + +var bytes = require('bytes') +var contentType = require('content-type') +var debug = require('debug')('body-parser:text') +var read = require('../read') +var typeis = require('type-is') + +/** + * Module exports. + */ + +module.exports = text + +/** + * Create a middleware to parse text bodies. + * + * @param {object} [options] + * @return {function} + * @api public + */ + +function text (options) { + var opts = options || {} + + var defaultCharset = opts.defaultCharset || 'utf-8' + var inflate = opts.inflate !== false + var limit = typeof opts.limit !== 'number' + ? bytes.parse(opts.limit || '100kb') + : opts.limit + var type = opts.type || 'text/plain' + var verify = opts.verify || false + + if (verify !== false && typeof verify !== 'function') { + throw new TypeError('option verify must be function') + } + + // create the appropriate type checking function + var shouldParse = typeof type !== 'function' + ? typeChecker(type) + : type + + function parse (buf) { + return buf + } + + return function textParser (req, res, next) { + if (req._body) { + debug('body already parsed') + next() + return + } + + req.body = req.body || {} + + // skip requests without bodies + if (!typeis.hasBody(req)) { + debug('skip empty body') + next() + return + } + + debug('content-type %j', req.headers['content-type']) + + // determine if request should be parsed + if (!shouldParse(req)) { + debug('skip parsing') + next() + return + } + + // get charset + var charset = getCharset(req) || defaultCharset + + // read + read(req, res, next, parse, debug, { + encoding: charset, + inflate: inflate, + limit: limit, + verify: verify + }) + } +} + +/** + * Get the charset of a request. + * + * @param {object} req + * @api private + */ + +function getCharset (req) { + try { + return (contentType.parse(req).parameters.charset || '').toLowerCase() + } catch (e) { + return undefined + } +} + +/** + * Get the simple type checker. + * + * @param {string} type + * @return {function} + */ + +function typeChecker (type) { + return function checkType (req) { + return Boolean(typeis(req, type)) + } +} diff --git a/node_modules/body-parser/lib/types/urlencoded.js b/node_modules/body-parser/lib/types/urlencoded.js new file mode 100644 index 000000000..b2ca8f16d --- /dev/null +++ b/node_modules/body-parser/lib/types/urlencoded.js @@ -0,0 +1,284 @@ +/*! + * body-parser + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + +'use strict' + +/** + * Module dependencies. + * @private + */ + +var bytes = require('bytes') +var contentType = require('content-type') +var createError = require('http-errors') +var debug = require('debug')('body-parser:urlencoded') +var deprecate = require('depd')('body-parser') +var read = require('../read') +var typeis = require('type-is') + +/** + * Module exports. + */ + +module.exports = urlencoded + +/** + * Cache of parser modules. + */ + +var parsers = Object.create(null) + +/** + * Create a middleware to parse urlencoded bodies. + * + * @param {object} [options] + * @return {function} + * @public + */ + +function urlencoded (options) { + var opts = options || {} + + // notice because option default will flip in next major + if (opts.extended === undefined) { + deprecate('undefined extended: provide extended option') + } + + var extended = opts.extended !== false + var inflate = opts.inflate !== false + var limit = typeof opts.limit !== 'number' + ? bytes.parse(opts.limit || '100kb') + : opts.limit + var type = opts.type || 'application/x-www-form-urlencoded' + var verify = opts.verify || false + + if (verify !== false && typeof verify !== 'function') { + throw new TypeError('option verify must be function') + } + + // create the appropriate query parser + var queryparse = extended + ? extendedparser(opts) + : simpleparser(opts) + + // create the appropriate type checking function + var shouldParse = typeof type !== 'function' + ? typeChecker(type) + : type + + function parse (body) { + return body.length + ? queryparse(body) + : {} + } + + return function urlencodedParser (req, res, next) { + if (req._body) { + debug('body already parsed') + next() + return + } + + req.body = req.body || {} + + // skip requests without bodies + if (!typeis.hasBody(req)) { + debug('skip empty body') + next() + return + } + + debug('content-type %j', req.headers['content-type']) + + // determine if request should be parsed + if (!shouldParse(req)) { + debug('skip parsing') + next() + return + } + + // assert charset + var charset = getCharset(req) || 'utf-8' + if (charset !== 'utf-8') { + debug('invalid charset') + next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', { + charset: charset, + type: 'charset.unsupported' + })) + return + } + + // read + read(req, res, next, parse, debug, { + debug: debug, + encoding: charset, + inflate: inflate, + limit: limit, + verify: verify + }) + } +} + +/** + * Get the extended query parser. + * + * @param {object} options + */ + +function extendedparser (options) { + var parameterLimit = options.parameterLimit !== undefined + ? options.parameterLimit + : 1000 + var parse = parser('qs') + + if (isNaN(parameterLimit) || parameterLimit < 1) { + throw new TypeError('option parameterLimit must be a positive number') + } + + if (isFinite(parameterLimit)) { + parameterLimit = parameterLimit | 0 + } + + return function queryparse (body) { + var paramCount = parameterCount(body, parameterLimit) + + if (paramCount === undefined) { + debug('too many parameters') + throw createError(413, 'too many parameters', { + type: 'parameters.too.many' + }) + } + + var arrayLimit = Math.max(100, paramCount) + + debug('parse extended urlencoding') + return parse(body, { + allowPrototypes: true, + arrayLimit: arrayLimit, + depth: Infinity, + parameterLimit: parameterLimit + }) + } +} + +/** + * Get the charset of a request. + * + * @param {object} req + * @api private + */ + +function getCharset (req) { + try { + return (contentType.parse(req).parameters.charset || '').toLowerCase() + } catch (e) { + return undefined + } +} + +/** + * Count the number of parameters, stopping once limit reached + * + * @param {string} body + * @param {number} limit + * @api private + */ + +function parameterCount (body, limit) { + var count = 0 + var index = 0 + + while ((index = body.indexOf('&', index)) !== -1) { + count++ + index++ + + if (count === limit) { + return undefined + } + } + + return count +} + +/** + * Get parser for module name dynamically. + * + * @param {string} name + * @return {function} + * @api private + */ + +function parser (name) { + var mod = parsers[name] + + if (mod !== undefined) { + return mod.parse + } + + // this uses a switch for static require analysis + switch (name) { + case 'qs': + mod = require('qs') + break + case 'querystring': + mod = require('querystring') + break + } + + // store to prevent invoking require() + parsers[name] = mod + + return mod.parse +} + +/** + * Get the simple query parser. + * + * @param {object} options + */ + +function simpleparser (options) { + var parameterLimit = options.parameterLimit !== undefined + ? options.parameterLimit + : 1000 + var parse = parser('querystring') + + if (isNaN(parameterLimit) || parameterLimit < 1) { + throw new TypeError('option parameterLimit must be a positive number') + } + + if (isFinite(parameterLimit)) { + parameterLimit = parameterLimit | 0 + } + + return function queryparse (body) { + var paramCount = parameterCount(body, parameterLimit) + + if (paramCount === undefined) { + debug('too many parameters') + throw createError(413, 'too many parameters', { + type: 'parameters.too.many' + }) + } + + debug('parse urlencoding') + return parse(body, undefined, undefined, { maxKeys: parameterLimit }) + } +} + +/** + * Get the simple type checker. + * + * @param {string} type + * @return {function} + */ + +function typeChecker (type) { + return function checkType (req) { + return Boolean(typeis(req, type)) + } +} diff --git a/node_modules/body-parser/package.json b/node_modules/body-parser/package.json new file mode 100644 index 000000000..3fcebe03f --- /dev/null +++ b/node_modules/body-parser/package.json @@ -0,0 +1,91 @@ +{ + "_from": "body-parser@1.19.0", + "_id": "body-parser@1.19.0", + "_inBundle": false, + "_integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", + "_location": "/body-parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "body-parser@1.19.0", + "name": "body-parser", + "escapedName": "body-parser", + "rawSpec": "1.19.0", + "saveSpec": null, + "fetchSpec": "1.19.0" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", + "_shasum": "96b2709e57c9c4e09a6fd66a8fd979844f69f08a", + "_spec": "body-parser@1.19.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/express", + "bugs": { + "url": "https://github.com/expressjs/body-parser/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } + ], + "dependencies": { + "bytes": "3.1.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.7.0", + "raw-body": "2.4.0", + "type-is": "~1.6.17" + }, + "deprecated": false, + "description": "Node.js body parsing middleware", + "devDependencies": { + "eslint": "5.16.0", + "eslint-config-standard": "12.0.0", + "eslint-plugin-import": "2.17.2", + "eslint-plugin-markdown": "1.0.0", + "eslint-plugin-node": "8.0.1", + "eslint-plugin-promise": "4.1.1", + "eslint-plugin-standard": "4.0.0", + "istanbul": "0.4.5", + "methods": "1.1.2", + "mocha": "6.1.4", + "safe-buffer": "5.1.2", + "supertest": "4.0.2" + }, + "engines": { + "node": ">= 0.8" + }, + "files": [ + "lib/", + "LICENSE", + "HISTORY.md", + "index.js" + ], + "homepage": "https://github.com/expressjs/body-parser#readme", + "license": "MIT", + "name": "body-parser", + "repository": { + "type": "git", + "url": "git+https://github.com/expressjs/body-parser.git" + }, + "scripts": { + "lint": "eslint --plugin markdown --ext js,md .", + "test": "mocha --require test/support/env --reporter spec --check-leaks --bail test/", + "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/", + "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/" + }, + "version": "1.19.0" +} diff --git a/node_modules/brace-expansion/LICENSE b/node_modules/brace-expansion/LICENSE new file mode 100644 index 000000000..de3226673 --- /dev/null +++ b/node_modules/brace-expansion/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2013 Julian Gruber + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/brace-expansion/README.md b/node_modules/brace-expansion/README.md new file mode 100644 index 000000000..6b4e0e164 --- /dev/null +++ b/node_modules/brace-expansion/README.md @@ -0,0 +1,129 @@ +# brace-expansion + +[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html), +as known from sh/bash, in JavaScript. + +[![build status](https://secure.travis-ci.org/juliangruber/brace-expansion.svg)](http://travis-ci.org/juliangruber/brace-expansion) +[![downloads](https://img.shields.io/npm/dm/brace-expansion.svg)](https://www.npmjs.org/package/brace-expansion) +[![Greenkeeper badge](https://badges.greenkeeper.io/juliangruber/brace-expansion.svg)](https://greenkeeper.io/) + +[![testling badge](https://ci.testling.com/juliangruber/brace-expansion.png)](https://ci.testling.com/juliangruber/brace-expansion) + +## Example + +```js +var expand = require('brace-expansion'); + +expand('file-{a,b,c}.jpg') +// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg'] + +expand('-v{,,}') +// => ['-v', '-v', '-v'] + +expand('file{0..2}.jpg') +// => ['file0.jpg', 'file1.jpg', 'file2.jpg'] + +expand('file-{a..c}.jpg') +// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg'] + +expand('file{2..0}.jpg') +// => ['file2.jpg', 'file1.jpg', 'file0.jpg'] + +expand('file{0..4..2}.jpg') +// => ['file0.jpg', 'file2.jpg', 'file4.jpg'] + +expand('file-{a..e..2}.jpg') +// => ['file-a.jpg', 'file-c.jpg', 'file-e.jpg'] + +expand('file{00..10..5}.jpg') +// => ['file00.jpg', 'file05.jpg', 'file10.jpg'] + +expand('{{A..C},{a..c}}') +// => ['A', 'B', 'C', 'a', 'b', 'c'] + +expand('ppp{,config,oe{,conf}}') +// => ['ppp', 'pppconfig', 'pppoe', 'pppoeconf'] +``` + +## API + +```js +var expand = require('brace-expansion'); +``` + +### var expanded = expand(str) + +Return an array of all possible and valid expansions of `str`. If none are +found, `[str]` is returned. + +Valid expansions are: + +```js +/^(.*,)+(.+)?$/ +// {a,b,...} +``` + +A comma separated list of options, like `{a,b}` or `{a,{b,c}}` or `{,a,}`. + +```js +/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/ +// {x..y[..incr]} +``` + +A numeric sequence from `x` to `y` inclusive, with optional increment. +If `x` or `y` start with a leading `0`, all the numbers will be padded +to have equal length. Negative numbers and backwards iteration work too. + +```js +/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/ +// {x..y[..incr]} +``` + +An alphabetic sequence from `x` to `y` inclusive, with optional increment. +`x` and `y` must be exactly one character, and if given, `incr` must be a +number. + +For compatibility reasons, the string `${` is not eligible for brace expansion. + +## Installation + +With [npm](https://npmjs.org) do: + +```bash +npm install brace-expansion +``` + +## Contributors + +- [Julian Gruber](https://github.com/juliangruber) +- [Isaac Z. Schlueter](https://github.com/isaacs) + +## Sponsors + +This module is proudly supported by my [Sponsors](https://github.com/juliangruber/sponsors)! + +Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my [Patreon](https://www.patreon.com/juliangruber). Not sure how much of my modules you're using? Try [feross/thanks](https://github.com/feross/thanks)! + +## License + +(MIT) + +Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/brace-expansion/index.js b/node_modules/brace-expansion/index.js new file mode 100644 index 000000000..0478be81e --- /dev/null +++ b/node_modules/brace-expansion/index.js @@ -0,0 +1,201 @@ +var concatMap = require('concat-map'); +var balanced = require('balanced-match'); + +module.exports = expandTop; + +var escSlash = '\0SLASH'+Math.random()+'\0'; +var escOpen = '\0OPEN'+Math.random()+'\0'; +var escClose = '\0CLOSE'+Math.random()+'\0'; +var escComma = '\0COMMA'+Math.random()+'\0'; +var escPeriod = '\0PERIOD'+Math.random()+'\0'; + +function numeric(str) { + return parseInt(str, 10) == str + ? parseInt(str, 10) + : str.charCodeAt(0); +} + +function escapeBraces(str) { + return str.split('\\\\').join(escSlash) + .split('\\{').join(escOpen) + .split('\\}').join(escClose) + .split('\\,').join(escComma) + .split('\\.').join(escPeriod); +} + +function unescapeBraces(str) { + return str.split(escSlash).join('\\') + .split(escOpen).join('{') + .split(escClose).join('}') + .split(escComma).join(',') + .split(escPeriod).join('.'); +} + + +// Basically just str.split(","), but handling cases +// where we have nested braced sections, which should be +// treated as individual members, like {a,{b,c},d} +function parseCommaParts(str) { + if (!str) + return ['']; + + var parts = []; + var m = balanced('{', '}', str); + + if (!m) + return str.split(','); + + var pre = m.pre; + var body = m.body; + var post = m.post; + var p = pre.split(','); + + p[p.length-1] += '{' + body + '}'; + var postParts = parseCommaParts(post); + if (post.length) { + p[p.length-1] += postParts.shift(); + p.push.apply(p, postParts); + } + + parts.push.apply(parts, p); + + return parts; +} + +function expandTop(str) { + if (!str) + return []; + + // I don't know why Bash 4.3 does this, but it does. + // Anything starting with {} will have the first two bytes preserved + // but *only* at the top level, so {},a}b will not expand to anything, + // but a{},b}c will be expanded to [a}c,abc]. + // One could argue that this is a bug in Bash, but since the goal of + // this module is to match Bash's rules, we escape a leading {} + if (str.substr(0, 2) === '{}') { + str = '\\{\\}' + str.substr(2); + } + + return expand(escapeBraces(str), true).map(unescapeBraces); +} + +function identity(e) { + return e; +} + +function embrace(str) { + return '{' + str + '}'; +} +function isPadded(el) { + return /^-?0\d/.test(el); +} + +function lte(i, y) { + return i <= y; +} +function gte(i, y) { + return i >= y; +} + +function expand(str, isTop) { + var expansions = []; + + var m = balanced('{', '}', str); + if (!m || /\$$/.test(m.pre)) return [str]; + + var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body); + var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body); + var isSequence = isNumericSequence || isAlphaSequence; + var isOptions = m.body.indexOf(',') >= 0; + if (!isSequence && !isOptions) { + // {a},b} + if (m.post.match(/,.*\}/)) { + str = m.pre + '{' + m.body + escClose + m.post; + return expand(str); + } + return [str]; + } + + var n; + if (isSequence) { + n = m.body.split(/\.\./); + } else { + n = parseCommaParts(m.body); + if (n.length === 1) { + // x{{a,b}}y ==> x{a}y x{b}y + n = expand(n[0], false).map(embrace); + if (n.length === 1) { + var post = m.post.length + ? expand(m.post, false) + : ['']; + return post.map(function(p) { + return m.pre + n[0] + p; + }); + } + } + } + + // at this point, n is the parts, and we know it's not a comma set + // with a single entry. + + // no need to expand pre, since it is guaranteed to be free of brace-sets + var pre = m.pre; + var post = m.post.length + ? expand(m.post, false) + : ['']; + + var N; + + if (isSequence) { + var x = numeric(n[0]); + var y = numeric(n[1]); + var width = Math.max(n[0].length, n[1].length) + var incr = n.length == 3 + ? Math.abs(numeric(n[2])) + : 1; + var test = lte; + var reverse = y < x; + if (reverse) { + incr *= -1; + test = gte; + } + var pad = n.some(isPadded); + + N = []; + + for (var i = x; test(i, y); i += incr) { + var c; + if (isAlphaSequence) { + c = String.fromCharCode(i); + if (c === '\\') + c = ''; + } else { + c = String(i); + if (pad) { + var need = width - c.length; + if (need > 0) { + var z = new Array(need + 1).join('0'); + if (i < 0) + c = '-' + z + c.slice(1); + else + c = z + c; + } + } + } + N.push(c); + } + } else { + N = concatMap(n, function(el) { return expand(el, false) }); + } + + for (var j = 0; j < N.length; j++) { + for (var k = 0; k < post.length; k++) { + var expansion = pre + N[j] + post[k]; + if (!isTop || isSequence || expansion) + expansions.push(expansion); + } + } + + return expansions; +} + diff --git a/node_modules/brace-expansion/package.json b/node_modules/brace-expansion/package.json new file mode 100644 index 000000000..c38816afa --- /dev/null +++ b/node_modules/brace-expansion/package.json @@ -0,0 +1,75 @@ +{ + "_from": "brace-expansion@^1.1.7", + "_id": "brace-expansion@1.1.11", + "_inBundle": false, + "_integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "_location": "/brace-expansion", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "brace-expansion@^1.1.7", + "name": "brace-expansion", + "escapedName": "brace-expansion", + "rawSpec": "^1.1.7", + "saveSpec": null, + "fetchSpec": "^1.1.7" + }, + "_requiredBy": [ + "/minimatch" + ], + "_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "_shasum": "3c7fcbf529d87226f3d2f52b966ff5271eb441dd", + "_spec": "brace-expansion@^1.1.7", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/minimatch", + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" + }, + "bugs": { + "url": "https://github.com/juliangruber/brace-expansion/issues" + }, + "bundleDependencies": false, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + }, + "deprecated": false, + "description": "Brace expansion as known from sh/bash", + "devDependencies": { + "matcha": "^0.7.0", + "tape": "^4.6.0" + }, + "homepage": "https://github.com/juliangruber/brace-expansion", + "keywords": [], + "license": "MIT", + "main": "index.js", + "name": "brace-expansion", + "repository": { + "type": "git", + "url": "git://github.com/juliangruber/brace-expansion.git" + }, + "scripts": { + "bench": "matcha test/perf/bench.js", + "gentest": "bash test/generate.sh", + "test": "tape test/*.js" + }, + "testling": { + "files": "test/*.js", + "browsers": [ + "ie/8..latest", + "firefox/20..latest", + "firefox/nightly", + "chrome/25..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + }, + "version": "1.1.11" +} diff --git a/node_modules/browserslist/CHANGELOG.md b/node_modules/browserslist/CHANGELOG.md new file mode 100644 index 000000000..ee7854503 --- /dev/null +++ b/node_modules/browserslist/CHANGELOG.md @@ -0,0 +1,473 @@ +# Change Log +This project adheres to [Semantic Versioning](http://semver.org/). + +## 4.14 +* Add `BROWSERSLIST_DANGEROUS_EXTEND` support (by Timo Mayer). + +## 4.13 +* Added `supports` query to select browsers (by Jesús Leganés-Combarro). + +## 4.12.2 +* Update Firefox ESR. + +## 4.12.1 +* Update `package.json` scanning tool for `--update-db` (by Luke Edwards). +* Improve docs (by Mukundan Senthil). +* Drop Node.js 13.0-13.6 support because of ES modules bug in that versions. + +## 4.12 +* Add environments to shared configs (by Yevgeny Petukhov). +* Fix docs (by Dmitry Statsenko and Thomas Pozzo di Borgo). + +## 4.11.1 +* Fix Node.js 6 support. + +## 4.11 +* Add `npx browserslist --mobile-to-desktop` (by James Ross). + +## 4.10 +* Add `npx browserslist --update-db` (by Ivan Solovev). + +## 4.9.1 +* Normalize incorrect Can I Use regional data (by Huáng Jùnliàng). + +## 4.9 +* Add `node X-Y` query support (by Yuping Zuo). + +## 4.8.7 +* Fix `last N major versions` (by Valeriy Trubachev). + +## 4.8.6 +* Fix `Unknown version 10 of op_mob` error in `mobileToDesktop` option. + +## 4.8.5 +* Fix `last N browsers` again after new `caniuse-db` API changes. + +## 4.8.4 +* Fix released versions detection for queries like `last N browsers`. +* Add IE 11 Mobile to `dead` browsers. + +## 4.8.3 +* Fix warning message (by Anton Ivanov). + +## 4.8.2 +* Fix `Cannot convert undefined or null to object` (by Antoine Clausse). +* Fix `mobileToDesktop` in `defaults` (by Huáng Jùnliàng). + +## 4.8.1 +* Fix Chrome and `mobileToDesktop` (by Huáng Jùnliàng). + +## 4.8 +* Add `> 5% in browserslist-config-my stats` query (by Andrew Leedham). +* Improve docs (by Danny van Kooten). + +## 4.7.3 +* Add funding link for `npm fund`. + +## 4.7.2 +* Add cache for query parsing. +* Improve config caching (by Kārlis Gaņģis). +* Update Firefox ESR. + +## 4.7.1 +* Improve caching. + +## 4.7 +* Add PhantomJS queries. +* Improve docs (by Dorian Koehring). + +## 4.6.6 +* Remove Safari from `dead` query. + +## 4.6.5 +* Add Samsung 4 browser to `dead` query. +* Remove dirty fix for `android all` error. + +## 4.6.4 +* Add Firefox 68 to `Firefox ESR` query. + +## 4.6.3 +* Dirty fix for `android all` error. + +## 4.6.2 +* Fix `last x version` and similar queries for Android (by Tony Ross). + +## 4.6.1 +* Fix patch version support for Electron (by Kilian Valkhof). + +## 4.6 +* Add `mobileToDesktop` option (by Nicolò Ribaudo). + +## 4.5.6 +* Make `Node > 5` and `node > 5` queries case insensitive. + +## 4.5.5 +* Fix CLI help (by Marcel Gerber). +* Add KaiOS browser to docs. + +## 4.5.4 +* Update docs (by Andrew Leedham and Dan Onoshko). + +## 4.5.3 +* Fix splitting string to queries. + +## 4.5.2 +* Show default browsers in CLI on project without config. + +## 4.5.1 +* Improve text for the warning about outdated `caniuse-lite`. + +## 4.5 +* Add `>=`, `>`, and `<=` support for Node.js version (by Mathspy Terabithian). + +## 4.4.2 +* Allow to have string in `package.json` (by @dmarkhas). + +## 4.4.1 +* Allow to use `.` in scope name of shareable config (by Gustav Nikolaj). + +## 4.4 +* Added `and` and `or` keywords to combine queries (by Jon Ege Ronnenberg). + +## 4.3.7 +* Fix fraction years support in `last 1.5 years` (by Clément P). +* Fix version-less browser support. + +## 4.3.6 +* Fix version-less browser support in custom statistics (by Alex Walter). + +## 4.3.5 +* Fix `not` query for wrong Can I Use data. + +## 4.3.4 +* Allow to update `node-releases` without new Browserslist releases. + +## 4.3.3 +* Fix Node.js 11 support. + +## 4.3.2 +* Fix `Unknown version 11 of Node.js` error (by Dan Onoshko). + +## 4.3.1 +* Fix conflict between `caniuse-lite` and custom browsers statistics. + +## 4.3 +* Allow to use `extends browserslist-config-a/file` (by @Schweinepriester). + +## 4.2.1 +* Use new `node-releases` support (by Sergey Rubanov). + +## 4.2 +* Add `--json` argument for CLI. +* Allow to pass multiple areas in CLI by `--coverage=US,alt-AS,global`. + +## 4.1.2 +* Better `unknow query` error message. +* Use latest `node-releases`. + +## 4.1.1 +* Update Firefox ESR versions. + +## 4.1 +* Add `current node` query. +* Add contributors widget to docs (by Sergey Surkov). + +## 4.0.2 +* Fix new `node-releases` support (by Sergey Rubanov). +* Fix error text (by Josh Smith). + +## 4.0.1 +* Reduce npm package size. +* Fix docs. + +## 4.0.0 “Erinaceus amurensis” +* Add `node X` and `maintained node versions` queries (by Pavel Vostrikov). +* Remove Node.js 4 support. +* Show warning if `caniuse-lite` is old (by Anton Tuzhik). +* Add comma support in config file. + +## 3.2.8 +* Add IE 9-5.5 to dead browsers. +* Remove development configs from npm package. + +## 3.2.7 +* Add Firefox 60 as Firefox ESR. + +## 3.2.6 +* Add Opera Mini 12 to dead browsers. +* Update docs (by Jamie Kyle). + +## 3.2.5 +* Fix excluding Opera Mini and other browsers with `all` version. + +## 3.2.4 +* Resolve shareable config from current working directory. + +## 3.2.3 +* Fix `package.json` config validation for single string case. +* Fix CLI error reporting. + +## 3.2.2 +* Add `package.json` config validation. +* Move project to `browserlist` GitHub organization. + +## 3.2.1 +* Fix error text (by Steve Schrab). + +## 3.2 +* Add `cover 99%` query (by Vasily Fedoseyev). +* Add `cover 99% in US` query (by Vasily Fedoseyev). +* Add `cover 99% in my stats` query (by Vasily Fedoseyev). +* Add `"my stats"` support to `browserlist.coverage()` (by Vasily Fedoseyev). + +## 3.1.2 +* Add more clear error on missed browser version. + +## 3.1.1 +* Fix JSDoc (by Sylvain Pollet-Villard). + +## 3.1 +* Add `ignoreUnknownVersions` option. +* Fix docs (by Pascal Duez). + +## 3.0 “Atelerix sclateri” +* Remove country statistics from client-side build of Browserslist. +* Change `> 1%` to `> 0.5%` in default query. +* Add `not dead` to default query. +* Change default environment to `production` (by Marco Fugaro). +* Add `dead` query support with IE 10 and BlackBerry browser. +* Add multiple environments in one section support (by Evilebot Tnawi). +* Add custom statistics support to `browserlist.coverage()`. +* Fix `path` option check. + +## 2.11.3 +* Fix for `path: undefined` option. + +## 2.11.2 +* Remove Node.js specific code from webpack build. + +## 2.11.1 +* Fix using Browserslist in browser with `path` but without `fs`. + +## 2.11 +* Add `last 2 years` query support (by James Harris). + +## 2.10.2 +* Fix Browserify support. + +## 2.10.1 +* Fix using Browserslist without `process` (by Andrew Patton). + +## 2.10 +* Add `< 1%` and `<= 1%` queries support (by August Kaiser). + +## 2.9.1 +* Fix unknown query on trailing spaces in query. + +## 2.9 +* Add `last Electron versions` and `last Electron major versions` queries + (by Louis Mouhat). + +## 2.8 +* Add `since 2016-03` and `since 2016-03-20` queries support (by Andrew Blick). + +## 2.7 +* Add `since 2016` queries support (by Igor Deryabin). + +## 2.6.1 +* Fix `Path must be a string` error. + +## 2.6 +* By default load config from current directory in CLI tool. + +## 2.5.1 +* Allow `@scope/browserlist-config` config name (by Jamie Connolly). + +## 2.5 +* Add `extends` query (by YellowKirby). + +## 2.4.1 +* Throw error if `package.json` contain `browserlist` instead of `browserslist`. + +## 2.4 +* Add `last n major versions` query (by John Sanders). + +## 2.3.3 +* Fix browsers support. + +## 2.3.2 +* Fix `> 0` query for browsers with one version (by Nikolay Solovyov). + +## 2.3.1 +* Reduce library size. + +## 2.3 +* Add `unreleased versions` and `unreleased Chrome versions` queries. + +## 2.2.2 +* Fix `Path must be a string` error (by Pieter Beulque). + +## 2.2.1 +* Fix security issue with regions dynamic `require`. + +## 2.2 +* Add region usage statistics support (by Clément P). + +## 2.1.5 +* Remove Firefox 45 from Firefox ESR. + +## 2.1.4 +* Use both ESR versions when they actual. + +## 2.1.3 +* Add warning on first exclude query. + +## 2.1.2 +* Fix non-Node.js environments support. + +## 2.1.1 +* Fix CLI arguments parsing. + +## 2.1 +* Add `>= 5%`, `>= 5% in US` and `>= 5% in my stats` queries. + +## 2.0 “Atelerix frontalis” +* `last n versions` returns versions for all browsers, not only main browsers. +* Cache file system operations (by Aarni Koskela). +* Use `caniuse-lite` 1 MB instead of `caniuse-db` 7 MB (by Ben Briggs). +* Add `.browserslistrc` config support. +* Add QQ Browser for Android support. +* Add tests for CLI (by Zhulduz Zhankenova). + +## 1.7.7 +* Update Firefox ESR. + +## 1.7.6 +* Fix Android Chrome selection. + +## 1.7.5 +* Fix combining `not` query with country based statistics. +* Fix `--env` argument in CLI (by Tuure Savuoja). + +## 1.7.4 +* Speed up browser sorting (by Aarni Koskela). + +## 1.7.3 +* Fix config finding when directory was passed to `path` (by Aarni Koskela). + +## 1.7.2 +* Fix config finding algorithm (by Aarni Koskela). + +## 1.7.1 +* Fix unreleased browsers version detection. + +## 1.7 +* Add `--config` and `--env` arguments to CLI (by Jarek Rencz). + +## 1.6 +* Convert Electron version to Chrome (by Kilian Valkhof). +* Fix `0` version mistake in Can I Use data. + +## 1.5.2 +* Fix browser versions ordering (by Marco Massarotto). + +## 1.5.1 +* Fix error on `package.json` and `browserslist` in same directory. + +## 1.5 +* Add `package.json` support (by Stepan Kuzmin). +* Add environments support (by Maksim Semenov and openlibser). +* Add `browserslist-stats.json` file support (by Oleh Aloshkin). +* Add `config` option to CLI (by Evilebot Tnawi). +* Add JSDoc. +* Fix tests on Windows (by Anna Stoliar). +* Don’t set custom usage statistics globally. + +## 1.4 +* Add `defaults` keyword. + +## 1.3.6 +* Add `UCAndroid` alias to `and_uc` (by Evilebot Tnawi). + +## 1.3.5 +* Fix Opera Mini support. Use `op_mini all`. + +## 1.3.4 +* Add space-less `>1%` and `>.5%` syntax support (by Andreas Lind). + +## 1.3.3 +* Clean `0` versions in some country-based requests. + +## 1.3.2 +* Update Firefox ESR. + +## 1.3.1 +* Add Safari TP support. + +## 1.3 +* Add coverage for specific country (by Joshua Wise). + +## 1.2 +* Add `browserslist.coverage()` method. +* Add `--coverage` and `-c` argument to CLI. +* Add `-v` argument support to CLI. +* Better error handling in CLI. + +## 1.1.3 +* Fix jspm support (by Sean Anderson). + +## 1.1.2 +* Fix jspm support (by Sean Anderson). + +## 1.1.1 +* Fix space-less `>10%` and `>10% in my stats` queries. +* Normalize error messages. +* Remove development files from npm package. + +## 1.1 +* Added query against custom browser usage data (by Daniel Rey). + +## 1.0.1 +* Update Firefox ESR (by Rouven Weßling). + +## 1.0 “Atelerix algirus” +* Remove Opera 12.1 from default query. +* Add `not` keyword and exclude browsers by query. +* Add Microsoft Edge support (by Andrey Polischuk). +* Add CLI for debug and non-JS usage (by Luke Horvat). +* Use own class in Browserslist errors. + +## 0.5 +* Add version ranges `IE 6-9` (by Ben Briggs). + +## 0.4 +* Add `config` option and `BROWSERSLIST_CONFIG` environment variable support. +* Add symlink config support. + +## 0.3.3 +* Fix DynJS compatibility (by Nick Howes). + +## 0.3.2 +* Fix joined versions on versions query (by Vincent De Oliveira). + +## 0.3.1 +* Fix global variable leak (by Peter Müller). + +## 0.3 +* Takes queries from `BROWSERSLIST` environment variable. + +## 0.2 +* Return Can I Use joined versions as `ios_saf 7.0-7.1`. + +## 0.1.3 +* Better work with Can I Use joined versions like `ios_saf 7.0-7.1`. +* Browserslist now understands `ios_saf 7.0` or `ios_saf 7`. + +## 0.1.2 +* Do not create global `browserslist` var (by Maxime Thirouin). + +## 0.1.1 +* Sort browsers by name and version. + +## 0.1 “Atelerix albiventris” +* Initial release. diff --git a/node_modules/browserslist/LICENSE b/node_modules/browserslist/LICENSE new file mode 100644 index 000000000..90b6b9167 --- /dev/null +++ b/node_modules/browserslist/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright 2014 Andrey Sitnik and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/browserslist/README.md b/node_modules/browserslist/README.md new file mode 100644 index 000000000..259689f20 --- /dev/null +++ b/node_modules/browserslist/README.md @@ -0,0 +1,652 @@ +# Browserslist [![Cult Of Martians][cult-img]][cult] + +Browserslist logo by Anton Lovchikov + +The config to share target browsers and Node.js versions between different +front-end tools. It is used in: + +* [Autoprefixer] +* [Babel] +* [postcss-preset-env] +* [eslint-plugin-compat] +* [stylelint-no-unsupported-browser-features] +* [postcss-normalize] +* [obsolete-webpack-plugin] + +All tools will find target browsers automatically, +when you add the following to `package.json`: + +```json + "browserslist": [ + "defaults", + "not IE 11", + "not IE_Mob 11", + "maintained node versions" + ] +``` + +Or in `.browserslistrc` config: + +```yaml +# Browsers that we support + +defaults +not IE 11 +not IE_Mob 11 +maintained node versions +``` + +Developers set their version lists using queries like `last 2 versions` +to be free from updating versions manually. +Browserslist will use [`caniuse-lite`] with [Can I Use] data for this queries. + +Browserslist will take queries from tool option, +`browserslist` config, `.browserslistrc` config, +`browserslist` section in `package.json` or environment variables. + +[Browserslist Example] shows how every tool uses Browserslist. + +[cult-img]: https://cultofmartians.com/assets/badges/badge.svg +[cult]: https://cultofmartians.com/done.html + + + Sponsored by Evil Martians + + +[stylelint-no-unsupported-browser-features]: https://github.com/ismay/stylelint-no-unsupported-browser-features +[eslint-plugin-compat]: https://github.com/amilajack/eslint-plugin-compat +[Browserslist Example]: https://github.com/browserslist/browserslist-example +[postcss-preset-env]: https://github.com/jonathantneal/postcss-preset-env +[postcss-normalize]: https://github.com/jonathantneal/postcss-normalize +[`caniuse-lite`]: https://github.com/ben-eb/caniuse-lite +[Autoprefixer]: https://github.com/postcss/autoprefixer +[Can I Use]: https://caniuse.com/ +[Babel]: https://github.com/babel/babel/tree/master/packages/babel-preset-env +[obsolete-webpack-plugin]: https://github.com/ElemeFE/obsolete-webpack-plugin + +## Table of Contents + +* [Tools](#tools) +* [Best Practices](#best-practices) +* [Queries](#queries) + * [Query Composition](#query-composition) + * [Full List](#full-list) + * [Debug](#debug) + * [Browsers](#browsers) +* [Config File](#config-file) + * [`package.json`](#packagejson) + * [`.browserslistrc`](#browserslistrc) +* [Shareable Configs](#shareable-configs) +* [Configuring for Different Environments](#configuring-for-different-environments) +* [Custom Usage Data](#custom-usage-data) +* [JS API](#js-api) +* [Environment Variables](#environment-variables) +* [Cache](#cache) +* [Security Contact](#security-contact) +* [For Enterprise](#for-enterprise) + +## Tools + +* [`browserl.ist`](https://browserl.ist/) is an online tool to check + what browsers will be selected by some query. +* [`browserslist-ga`] and [`browserslist-ga-export`] download your website + browsers statistics to use it in `> 0.5% in my stats` query. +* [`browserslist-useragent-regexp`] compiles Browserslist query to a RegExp + to test browser useragent. +* [`browserslist-useragent-ruby`] is a Ruby library to checks browser + by user agent string to match Browserslist. +* [`browserslist-browserstack`] runs BrowserStack tests for all browsers + in Browserslist config. +* [`browserslist-adobe-analytics`] use Adobe Analytics data to target browsers. +* [`caniuse-api`] returns browsers which support some specific feature. +* Run `npx browserslist` in your project directory to see project’s + target browsers. This CLI tool is built-in and available in any project + with Autoprefixer. + +[`browserslist-useragent-regexp`]: https://github.com/browserslist/browserslist-useragent-regexp +[`browserslist-adobe-analytics`]: https://github.com/xeroxinteractive/browserslist-adobe-analytics +[`browserslist-useragent-ruby`]: https://github.com/browserslist/browserslist-useragent-ruby +[`browserslist-browserstack`]: https://github.com/xeroxinteractive/browserslist-browserstack +[`browserslist-ga-export`]: https://github.com/browserslist/browserslist-ga-export +[`browserslist-useragent`]: https://github.com/pastelsky/browserslist-useragent +[`browserslist-ga`]: https://github.com/browserslist/browserslist-ga +[`caniuse-api`]: https://github.com/Nyalab/caniuse-api + + +## Best Practices + +* There is a `defaults` query, which gives a reasonable configuration + for most users: + + ```json + "browserslist": [ + "defaults" + ] + ``` + +* If you want to change the default set of browsers, we recommend combining + `last 2 versions`, `not dead` with a usage number like `> 0.2%`. This is + because `last n versions` on its own does not add popular old versions, while + only using a percentage above `0.2%` will in the long run make popular + browsers even more popular. We might run into a monopoly and stagnation + situation, as we had with Internet Explorer 6. Please use this setting + with caution. +* Select browsers directly (`last 2 Chrome versions`) only if you are making + a web app for a kiosk with one browser. There are a lot of browsers + on the market. If you are making general web app you should respect + browsers diversity. +* Don’t remove browsers just because you don’t know them. Opera Mini has + 100 million users in Africa and it is more popular in the global market + than Microsoft Edge. Chinese QQ Browsers has more market share than Firefox + and desktop Safari combined. + + +## Queries + +Browserslist will use browsers and Node.js versions query +from one of these sources: + +1. `browserslist` key in `package.json` file in current or parent directories. + **We recommend this way.** +2. `.browserslistrc` config file in current or parent directories. +3. `browserslist` config file in current or parent directories. +4. `BROWSERSLIST` environment variable. +5. If the above methods did not produce a valid result + Browserslist will use defaults: + `> 0.5%, last 2 versions, Firefox ESR, not dead`. + + +### Query Composition + +An `or` combiner can use the keyword `or` as well as `,`. +`last 1 version or > 1%` is equal to `last 1 version, > 1%`. + +`and` query combinations are also supported to perform an +intersection of all the previous queries: +`last 1 version or chrome > 75 and > 1%` will select +(`browser last version` or `Chrome since 76`) and `more than 1% marketshare`. + +There is 3 different ways to combine queries as depicted below. First you start +with a single query and then we combine the queries to get our final list. + +Obviously you can *not* start with a `not` combiner, since there is no left-hand +side query to combine it with. The left-hand is always resolved as `and` +combiner even if `or` is used (this is an API implementation specificity). + +| Query combiner type | Illustration | Example | +| ------------------- | :----------: | ------- | +|`or`/`,` combiner
(union) | ![Union of queries](img/union.svg) | `> .5% or last 2 versions`
`> .5%, last 2 versions` | +| `and` combiner
(intersection) | ![intersection of queries](img/intersection.svg) | `> .5% and last 2 versions` | +| `not` combiner
(relative complement) | ![Relative complement of queries](img/complement.svg) | All those three are equivalent to the first one
`> .5% and not last 2 versions`
`> .5% or not last 2 versions`
`> .5%, not last 2 versions` | + +_A quick way to test your query is to do `npx browserslist '> 0.5%, not IE 11'` +in your terminal._ + +### Full List + +You can specify the browser and Node.js versions by queries (case insensitive): + +* `defaults`: Browserslist’s default browsers + (`> 0.5%, last 2 versions, Firefox ESR, not dead`). +* `> 5%`: browsers versions selected by global usage statistics. + `>=`, `<` and `<=` work too. + * `> 5% in US`: uses USA usage statistics. + It accepts [two-letter country code]. + * `> 5% in alt-AS`: uses Asia region usage statistics. + List of all region codes can be found at [`caniuse-lite/data/regions`]. + * `> 5% in my stats`: uses [custom usage data]. + * `> 5% in browserslist-config-mycompany stats`: uses [custom usage data] + from `browserslist-config-mycompany/browserslist-stats.json`. + * `cover 99.5%`: most popular browsers that provide coverage. + * `cover 99.5% in US`: same as above, with [two-letter country code]. + * `cover 99.5% in my stats`: uses [custom usage data]. +* `dead`: browsers without official support or updates for 24 months. + Right now it is `IE 10`, `IE_Mob 11`, `BlackBerry 10`, `BlackBerry 7`, + `Samsung 4` and `OperaMobile 12.1`. +* `last 2 versions`: the last 2 versions for *each* browser. + * `last 2 Chrome versions`: the last 2 versions of Chrome browser. + * `last 2 major versions` or `last 2 iOS major versions`: + all minor/patch releases of last 2 major versions. +* `node 10` and `node 10.4`: selects latest Node.js `10.x.x` + or `10.4.x` release. + * `current node`: Node.js version used by Browserslist right now. + * `maintained node versions`: all Node.js versions, which are [still maintained] + by Node.js Foundation. +* `iOS 7`: the iOS browser version 7 directly. + * `Firefox > 20`: versions of Firefox newer than 20. + `>=`, `<` and `<=` work too. It also works with Node.js. + * `ie 6-8`: selects an inclusive range of versions. + * `Firefox ESR`: the latest [Firefox ESR] version. + * `PhantomJS 2.1` and `PhantomJS 1.9`: selects Safari versions similar + to PhantomJS runtime. +* `extends browserslist-config-mycompany`: take queries from + `browserslist-config-mycompany` npm package. +* `supports es6-module`: browsers with support for specific features. + `es6-module` here is the `feat` parameter at the URL of the [Can I Use] + page. A list of all available features can be found at + [`caniuse-lite/data/features`]. +* `since 2015` or `last 2 years`: all versions released since year 2015 + (also `since 2015-03` and `since 2015-03-10`). +* `unreleased versions` or `unreleased Chrome versions`: + alpha and beta versions. +* `not ie <= 8`: exclude browsers selected by previous queries. + +You can add `not ` to any query. + +[`caniuse-lite/data/regions`]: https://github.com/ben-eb/caniuse-lite/tree/master/data/regions +[`caniuse-lite/data/features`]: https://github.com/ben-eb/caniuse-lite/tree/master/data/features +[two-letter country code]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements +[custom usage data]: #custom-usage-data +[still maintained]: https://github.com/nodejs/Release +[Can I Use]: https://caniuse.com/ + + +### Debug + +Run `npx browserslist` in project directory to see what browsers was selected +by your queries. + +```sh +$ npx browserslist +and_chr 61 +and_ff 56 +and_qq 1.2 +and_uc 11.4 +android 56 +baidu 7.12 +bb 10 +chrome 62 +edge 16 +firefox 56 +ios_saf 11 +opera 48 +safari 11 +samsung 5 +``` + + +### Browsers + +Names are case insensitive: + +* `Android` for Android WebView. +* `Baidu` for Baidu Browser. +* `BlackBerry` or `bb` for Blackberry browser. +* `Chrome` for Google Chrome. +* `ChromeAndroid` or `and_chr` for Chrome for Android +* `Edge` for Microsoft Edge. +* `Electron` for Electron framework. It will be converted to Chrome version. +* `Explorer` or `ie` for Internet Explorer. +* `ExplorerMobile` or `ie_mob` for Internet Explorer Mobile. +* `Firefox` or `ff` for Mozilla Firefox. +* `FirefoxAndroid` or `and_ff` for Firefox for Android. +* `iOS` or `ios_saf` for iOS Safari. +* `Node` for Node.js. +* `Opera` for Opera. +* `OperaMini` or `op_mini` for Opera Mini. +* `OperaMobile` or `op_mob` for Opera Mobile. +* `QQAndroid` or `and_qq` for QQ Browser for Android. +* `Safari` for desktop Safari. +* `Samsung` for Samsung Internet. +* `UCAndroid` or `and_uc` for UC Browser for Android. +* `kaios` for KaiOS Browser. + + +## Config File + +### `package.json` + +If you want to reduce config files in project root, you can specify +browsers in `package.json` with `browserslist` key: + +```json +{ + "private": true, + "dependencies": { + "autoprefixer": "^6.5.4" + }, + "browserslist": [ + "last 1 version", + "> 1%", + "IE 10" + ] +} +``` + + +### `.browserslistrc` + +Separated Browserslist config should be named `.browserslistrc` +and have browsers queries split by a new line. +Each line is combined with the `or` combiner. Comments starts with `#` symbol: + +```yaml +# Browsers that we support + +last 1 version +> 1% +IE 10 # sorry +``` + +Browserslist will check config in every directory in `path`. +So, if tool process `app/styles/main.css`, you can put config to root, +`app/` or `app/styles`. + +You can specify direct path in `BROWSERSLIST_CONFIG` environment variables. + + +## Shareable Configs + +You can use the following query to reference an exported Browserslist config +from another package: + +```json + "browserslist": [ + "extends browserslist-config-mycompany" + ] +``` + +For security reasons, external configuration only supports packages that have +the `browserslist-config-` prefix. npm scoped packages are also supported, by +naming or prefixing the module with `@scope/browserslist-config`, such as +`@scope/browserslist-config` or `@scope/browserslist-config-mycompany`. + +If you don’t accept Browserslist queries from users, you can disable the +validation by using the `dangerousExtend` option: + +```js +browserslist(queries, { path, dangerousExtend: true }) +``` + +Because this uses `npm`'s resolution, you can also reference specific files +in a package: + +```json + "browserslist": [ + "extends browserslist-config-mycompany/desktop", + "extends browserslist-config-mycompany/mobile" + ] +``` + +When writing a shared Browserslist package, just export an array. +`browserslist-config-mycompany/index.js`: + +```js +module.exports = [ + 'last 1 version', + '> 1%', + 'ie 10' +] +``` + +You can also include a `browserslist-stats.json` file as part of your shareable +config at the root and query it using +`> 5% in browserslist-config-mycompany stats`. It uses the same format +as `extends` and the `dangerousExtend` property as above. + +You can export configs for different environments and select environment +by `BROWSERSLIST_ENV` or `env` option in your tool: + +```js +module.exports = { + development: [ + 'last 1 version' + ], + production: [ + 'last 1 version', + '> 1%', + 'ie 10' + ] +} +``` + + +## Configuring for Different Environments + +You can also specify different browser queries for various environments. +Browserslist will choose query according to `BROWSERSLIST_ENV` or `NODE_ENV` +variables. If none of them is declared, Browserslist will firstly look +for `production` queries and then use defaults. + +In `package.json`: + +```js + "browserslist": { + "production": [ + "> 1%", + "ie 10" + ], + "modern": [ + "last 1 chrome version", + "last 1 firefox version" + ], + "ssr": [ + "node 12" + ] + } +``` + +In `.browserslistrc` config: + +```ini +[production] +> 1% +ie 10 + +[modern] +last 1 chrome version +last 1 firefox version + +[ssr] +node 12 +``` + + +## Custom Usage Data + +If you have a website, you can query against the usage statistics of your site. +[`browserslist-ga`] will ask access to Google Analytics and then generate +`browserslist-stats.json`: + +``` +npx browserslist-ga +``` + +Or you can use [`browserslist-ga-export`] to convert Google Analytics data without giving a password for Google account. + +You can generate usage statistics file by any other method. File format should +be like: + +```js +{ + "ie": { + "6": 0.01, + "7": 0.4, + "8": 1.5 + }, + "chrome": { + … + }, + … +} +``` + +Note that you can query against your custom usage data while also querying +against global or regional data. For example, the query +`> 1% in my stats, > 5% in US, 10%` is permitted. + +[`browserslist-ga-export`]: https://github.com/browserslist/browserslist-ga-export +[`browserslist-ga`]: https://github.com/browserslist/browserslist-ga +[Can I Use]: https://caniuse.com/ + + +## JS API + +```js +const browserslist = require('browserslist') + +// Your CSS/JS build tool code +function process (source, opts) { + const browsers = browserslist(opts.overrideBrowserslist, { + stats: opts.stats, + path: opts.file, + env: opts.env + }) + // Your code to add features for selected browsers +} +``` + +Queries can be a string `"> 1%, IE 10"` +or an array `['> 1%', 'IE 10']`. + +If a query is missing, Browserslist will look for a config file. +You can provide a `path` option (that can be a file) to find the config file +relatively to it. + +Options: + +* `path`: file or a directory path to look for config file. Default is `.`. +* `env`: what environment section use from config. Default is `production`. +* `stats`: custom usage statistics data. +* `config`: path to config if you want to set it manually. +* `ignoreUnknownVersions`: do not throw on direct query (like `ie 12`). + Default is `false.` +* `dangerousExtend`: Disable security checks for `extend` query. + Default is `false.` +* `mobileToDesktop`: Use desktop browsers if Can I Use doesn’t have data + about this mobile version. For instance, Browserslist will return + `chrome 20` on `and_chr 20` query (Can I Use has only data only about + latest versions of mobile browsers). Default is `false`. + +For non-JS environment and debug purpose you can use CLI tool: + +```sh +browserslist "> 1%, IE 10" +``` + +You can get total users coverage for selected browsers by JS API: + +```js +browserslist.coverage(browserslist('> 1%')) +//=> 81.4 +``` + +```js +browserslist.coverage(browserslist('> 1% in US'), 'US') +//=> 83.1 +``` + +```js +browserslist.coverage(browserslist('> 1% in my stats'), 'my stats') +//=> 83.1 +``` + +```js +browserslist.coverage(browserslist('> 1% in my stats', { stats }), stats) +//=> 82.2 +``` + +Or by CLI: + +```sh +$ browserslist --coverage "> 1%" +These browsers account for 81.4% of all users globally +``` + +```sh +$ browserslist --coverage=US "> 1% in US" +These browsers account for 83.1% of all users in the US +``` + +```sh +$ browserslist --coverage "> 1% in my stats" +These browsers account for 83.1% of all users in custom statistics +``` + +```sh +$ browserslist --coverage "> 1% in my stats" --stats=./stats.json +These browsers account for 83.1% of all users in custom statistics +``` + + +## Environment Variables + +If a tool uses Browserslist inside, you can change the Browserslist settings +with [environment variables]: + +* `BROWSERSLIST` with browsers queries. + + ```sh + BROWSERSLIST="> 5%" npx webpack + ``` + +* `BROWSERSLIST_CONFIG` with path to config file. + + ```sh + BROWSERSLIST_CONFIG=./config/browserslist npx webpack + ``` + +* `BROWSERSLIST_ENV` with environments string. + + ```sh + BROWSERSLIST_ENV="development" npx webpack + ``` + +* `BROWSERSLIST_STATS` with path to the custom usage data + for `> 1% in my stats` query. + + ```sh + BROWSERSLIST_STATS=./config/usage_data.json npx webpack + ``` + +* `BROWSERSLIST_DISABLE_CACHE` if you want to disable config reading cache. + + ```sh + BROWSERSLIST_DISABLE_CACHE=1 npx webpack + ``` + +* `BROWSERSLIST_DANGEROUS_EXTEND` to disable security shareable config + name check. + + ```sh + BROWSERSLIST_DANGEROUS_EXTEND=1 npx webpack + ``` + +[environment variables]: https://en.wikipedia.org/wiki/Environment_variable + + +## Cache + +Browserslist caches the configuration it reads from `package.json` and +`browserslist` files, as well as knowledge about the existence of files, +for the duration of the hosting process. + +To clear these caches, use: + +```js +browserslist.clearCaches() +``` + +To disable the caching altogether, set the `BROWSERSLIST_DISABLE_CACHE` +environment variable. + + +## Security Contact + +To report a security vulnerability, please use the [Tidelift security contact]. +Tidelift will coordinate the fix and disclosure. + +[Tidelift security contact]: https://tidelift.com/security + + +## For Enterprise + +Available as part of the Tidelift Subscription. + +The maintainers of `browserslist` and thousands of other packages are working +with Tidelift to deliver commercial support and maintenance for the open source +dependencies you use to build your applications. Save time, reduce risk, +and improve code health, while paying the maintainers of the exact dependencies +you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-browserslist?utm_source=npm-browserslist&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) diff --git a/node_modules/browserslist/browser.js b/node_modules/browserslist/browser.js new file mode 100644 index 000000000..39e9ec349 --- /dev/null +++ b/node_modules/browserslist/browser.js @@ -0,0 +1,46 @@ +var BrowserslistError = require('./error') + +function noop () { } + +module.exports = { + loadQueries: function loadQueries () { + throw new BrowserslistError( + 'Sharable configs are not supported in client-side build of Browserslist') + }, + + getStat: function getStat (opts) { + return opts.stats + }, + + loadConfig: function loadConfig (opts) { + if (opts.config) { + throw new BrowserslistError( + 'Browserslist config are not supported in client-side build') + } + }, + + loadCountry: function loadCountry () { + throw new BrowserslistError( + 'Country statistics are not supported ' + + 'in client-side build of Browserslist') + }, + + loadFeature: function loadFeature () { + throw new BrowserslistError( + 'Supports queries are not available in client-side build of Browserslist') + }, + + currentNode: function currentNode (resolve, context) { + return resolve(['maintained node versions'], context)[0] + }, + + parseConfig: noop, + + readConfig: noop, + + findConfig: noop, + + clearCaches: noop, + + oldDataWarning: noop +} diff --git a/node_modules/browserslist/cli.js b/node_modules/browserslist/cli.js new file mode 100755 index 000000000..526885fdb --- /dev/null +++ b/node_modules/browserslist/cli.js @@ -0,0 +1,145 @@ +#!/usr/bin/env node + +var fs = require('fs') + +var browserslist = require('./') +var updateDb = require('./update-db') +var pkg = require('./package.json') + +var args = process.argv.slice(2) + +var USAGE = 'Usage:\n' + + ' npx browserslist\n' + + ' npx browserslist "QUERIES"\n' + + ' npx browserslist --json "QUERIES"\n' + + ' npx browserslist --config="path/to/browserlist/file"\n' + + ' npx browserslist --coverage "QUERIES"\n' + + ' npx browserslist --coverage=US "QUERIES"\n' + + ' npx browserslist --coverage=US,RU,global "QUERIES"\n' + + ' npx browserslist --env="environment name defined in config"\n' + + ' npx browserslist --stats="path/to/browserlist/stats/file"\n' + + ' npx browserslist --mobile-to-desktop\n' + + ' npx browserslist --update-db' + +function isArg (arg) { + return args.some(function (str) { + return str === arg || str.indexOf(arg + '=') === 0 + }) +} + +function error (msg) { + process.stderr.write('browserslist: ' + msg + '\n') + process.exit(1) +} + +if (isArg('--help') || isArg('-h')) { + process.stdout.write(pkg.description + '.\n\n' + USAGE + '\n') +} else if (isArg('--version') || isArg('-v')) { + process.stdout.write('browserslist ' + pkg.version + '\n') +} else if (isArg('--update-db')) { + updateDb(function (str) { + process.stdout.write(str) + }) +} else { + var mode = 'browsers' + var opts = { } + var queries + var areas + + for (var i = 0; i < args.length; i++) { + if (args[i][0] !== '-') { + queries = args[i].replace(/^["']|["']$/g, '') + continue + } + + var arg = args[i].split('=') + var name = arg[0] + var value = arg[1] + + if (value) value = value.replace(/^["']|["']$/g, '') + + if (name === '--config' || name === '-b') { + opts.config = value + } else if (name === '--env' || name === '-e') { + opts.env = value + } else if (name === '--stats' || name === '-s') { + opts.stats = value + } else if (name === '--coverage' || name === '-c') { + if (mode !== 'json') mode = 'coverage' + if (value) { + areas = value.split(',') + } else { + areas = ['global'] + } + } else if (name === '--json') { + mode = 'json' + } else if (name === '--mobile-to-desktop') { + opts.mobileToDesktop = true + } else { + error('Unknown arguments ' + args[i] + '.\n\n' + USAGE) + } + } + + var browsers + try { + browsers = browserslist(queries, opts) + } catch (e) { + if (e.name === 'BrowserslistError') { + error(e.message) + } else { + throw e + } + } + + var coverage + if (mode === 'browsers') { + browsers.forEach(function (browser) { + process.stdout.write(browser + '\n') + }) + } else if (areas) { + coverage = areas.map(function (area) { + var stats + if (area !== 'global') { + stats = area + } else if (opts.stats) { + stats = JSON.parse(fs.readFileSync(opts.stats)) + } + var result = browserslist.coverage(browsers, stats) + var round = Math.round(result * 100) / 100.0 + + return [area, round] + }) + + if (mode === 'coverage') { + var prefix = 'These browsers account for ' + process.stdout.write(prefix) + coverage.forEach(function (data, index) { + var area = data[0] + var round = data[1] + var end = 'globally' + if (area && area !== 'global') { + end = 'in the ' + area.toUpperCase() + } else if (opts.stats) { + end = 'in custom statistics' + } + + if (index !== 0) { + process.stdout.write(prefix.replace(/./g, ' ')) + } + + process.stdout.write(round + '% of all users ' + end + '\n') + }) + } + } + + if (mode === 'json') { + var data = { browsers: browsers } + if (coverage) { + data.coverage = coverage.reduce(function (object, j) { + object[j[0]] = j[1] + return object + }, { }) + } + process.stdout.write(JSON.stringify(data, null, ' ') + '\n') + } +} diff --git a/node_modules/browserslist/error.js b/node_modules/browserslist/error.js new file mode 100644 index 000000000..b3bc0fe94 --- /dev/null +++ b/node_modules/browserslist/error.js @@ -0,0 +1,12 @@ +function BrowserslistError (message) { + this.name = 'BrowserslistError' + this.message = message + this.browserslist = true + if (Error.captureStackTrace) { + Error.captureStackTrace(this, BrowserslistError) + } +} + +BrowserslistError.prototype = Error.prototype + +module.exports = BrowserslistError diff --git a/node_modules/browserslist/index.js b/node_modules/browserslist/index.js new file mode 100644 index 000000000..36fc560d3 --- /dev/null +++ b/node_modules/browserslist/index.js @@ -0,0 +1,1174 @@ +var jsReleases = require('node-releases/data/processed/envs.json') +var agents = require('caniuse-lite/dist/unpacker/agents').agents +var jsEOL = require('node-releases/data/release-schedule/release-schedule.json') +var path = require('path') +var e2c = require('electron-to-chromium/versions') + +var BrowserslistError = require('./error') +var env = require('./node') // Will load browser.js in webpack + +var YEAR = 365.259641 * 24 * 60 * 60 * 1000 +var ANDROID_EVERGREEN_FIRST = 37 + +var QUERY_OR = 1 +var QUERY_AND = 2 + +function isVersionsMatch (versionA, versionB) { + return (versionA + '.').indexOf(versionB + '.') === 0 +} + +function isEolReleased (name) { + var version = name.slice(1) + return jsReleases.some(function (i) { + return isVersionsMatch(i.version, version) + }) +} + +function normalize (versions) { + return versions.filter(function (version) { + return typeof version === 'string' + }) +} + +function normalizeElectron (version) { + var versionToUse = version + if (version.split('.').length === 3) { + versionToUse = version + .split('.') + .slice(0, -1) + .join('.') + } + return versionToUse +} + +function nameMapper (name) { + return function mapName (version) { + return name + ' ' + version + } +} + +function getMajor (version) { + return parseInt(version.split('.')[0]) +} + +function getMajorVersions (released, number) { + if (released.length === 0) return [] + var majorVersions = uniq(released.map(getMajor)) + var minimum = majorVersions[majorVersions.length - number] + if (!minimum) { + return released + } + var selected = [] + for (var i = released.length - 1; i >= 0; i--) { + if (minimum > getMajor(released[i])) break + selected.unshift(released[i]) + } + return selected +} + +function uniq (array) { + var filtered = [] + for (var i = 0; i < array.length; i++) { + if (filtered.indexOf(array[i]) === -1) filtered.push(array[i]) + } + return filtered +} + +// Helpers + +function fillUsage (result, name, data) { + for (var i in data) { + result[name + ' ' + i] = data[i] + } +} + +function generateFilter (sign, version) { + version = parseFloat(version) + if (sign === '>') { + return function (v) { + return parseFloat(v) > version + } + } else if (sign === '>=') { + return function (v) { + return parseFloat(v) >= version + } + } else if (sign === '<') { + return function (v) { + return parseFloat(v) < version + } + } else { + return function (v) { + return parseFloat(v) <= version + } + } +} + +function generateSemverFilter (sign, version) { + version = version.split('.').map(parseSimpleInt) + version[1] = version[1] || 0 + version[2] = version[2] || 0 + if (sign === '>') { + return function (v) { + v = v.split('.').map(parseSimpleInt) + return compareSemver(v, version) > 0 + } + } else if (sign === '>=') { + return function (v) { + v = v.split('.').map(parseSimpleInt) + return compareSemver(v, version) >= 0 + } + } else if (sign === '<') { + return function (v) { + v = v.split('.').map(parseSimpleInt) + return compareSemver(version, v) > 0 + } + } else { + return function (v) { + v = v.split('.').map(parseSimpleInt) + return compareSemver(version, v) >= 0 + } + } +} + +function parseSimpleInt (x) { + return parseInt(x) +} + +function compare (a, b) { + if (a < b) return -1 + if (a > b) return +1 + return 0 +} + +function compareSemver (a, b) { + return ( + compare(parseInt(a[0]), parseInt(b[0])) || + compare(parseInt(a[1] || '0'), parseInt(b[1] || '0')) || + compare(parseInt(a[2] || '0'), parseInt(b[2] || '0')) + ) +} + +// this follows the npm-like semver behavior +function semverFilterLoose (operator, range) { + range = range.split('.').map(parseSimpleInt) + if (typeof range[1] === 'undefined') { + range[1] = 'x' + } + // ignore any patch version because we only return minor versions + // range[2] = 'x' + switch (operator) { + case '<=': + return function (version) { + version = version.split('.').map(parseSimpleInt) + return compareSemverLoose(version, range) <= 0 + } + default: + case '>=': + return function (version) { + version = version.split('.').map(parseSimpleInt) + return compareSemverLoose(version, range) >= 0 + } + } +} + +// this follows the npm-like semver behavior +function compareSemverLoose (version, range) { + if (version[0] !== range[0]) { + return version[0] < range[0] ? -1 : +1 + } + if (range[1] === 'x') { + return 0 + } + if (version[1] !== range[1]) { + return version[1] < range[1] ? -1 : +1 + } + return 0 +} + +function resolveVersion (data, version) { + if (data.versions.indexOf(version) !== -1) { + return version + } else if (browserslist.versionAliases[data.name][version]) { + return browserslist.versionAliases[data.name][version] + } else { + return false + } +} + +function normalizeVersion (data, version) { + var resolved = resolveVersion(data, version) + if (resolved) { + return resolved + } else if (data.versions.length === 1) { + return data.versions[0] + } else { + return false + } +} + +function filterByYear (since, context) { + since = since / 1000 + return Object.keys(agents).reduce(function (selected, name) { + var data = byName(name, context) + if (!data) return selected + var versions = Object.keys(data.releaseDate).filter(function (v) { + return data.releaseDate[v] >= since + }) + return selected.concat(versions.map(nameMapper(data.name))) + }, []) +} + +function cloneData (data) { + return { + name: data.name, + versions: data.versions, + released: data.released, + releaseDate: data.releaseDate + } +} + +function mapVersions (data, map) { + data.versions = data.versions.map(function (i) { + return map[i] || i + }) + data.released = data.versions.map(function (i) { + return map[i] || i + }) + var fixedDate = { } + for (var i in data.releaseDate) { + fixedDate[map[i] || i] = data.releaseDate[i] + } + data.releaseDate = fixedDate + return data +} + +function byName (name, context) { + name = name.toLowerCase() + name = browserslist.aliases[name] || name + if (context.mobileToDesktop && browserslist.desktopNames[name]) { + var desktop = browserslist.data[browserslist.desktopNames[name]] + if (name === 'android') { + return normalizeAndroidData(cloneData(browserslist.data[name]), desktop) + } else { + var cloned = cloneData(desktop) + cloned.name = name + if (name === 'op_mob') { + cloned = mapVersions(cloned, { '10.0-10.1': '10' }) + } + return cloned + } + } + return browserslist.data[name] +} + +function normalizeAndroidVersions (androidVersions, chromeVersions) { + var firstEvergreen = ANDROID_EVERGREEN_FIRST + var last = chromeVersions[chromeVersions.length - 1] + return androidVersions + .filter(function (version) { return /^(?:[2-4]\.|[34]$)/.test(version) }) + .concat(chromeVersions.slice(firstEvergreen - last - 1)) +} + +function normalizeAndroidData (android, chrome) { + android.released = normalizeAndroidVersions(android.released, chrome.released) + android.versions = normalizeAndroidVersions(android.versions, chrome.versions) + return android +} + +function checkName (name, context) { + var data = byName(name, context) + if (!data) throw new BrowserslistError('Unknown browser ' + name) + return data +} + +function unknownQuery (query) { + return new BrowserslistError( + 'Unknown browser query `' + query + '`. ' + + 'Maybe you are using old Browserslist or made typo in query.' + ) +} + +function filterAndroid (list, versions, context) { + if (context.mobileToDesktop) return list + var released = browserslist.data.android.released + var last = released[released.length - 1] + var diff = last - ANDROID_EVERGREEN_FIRST - versions + if (diff > 0) { + return list.slice(-1) + } else { + return list.slice(diff - 1) + } +} + +/** + * Resolves queries into a browser list. + * @param {string|string[]} queries Queries to combine. + * Either an array of queries or a long string of queries. + * @param {object} [context] Optional arguments to + * the select function in `queries`. + * @returns {string[]} A list of browsers + */ +function resolve (queries, context) { + if (Array.isArray(queries)) { + queries = flatten(queries.map(parse)) + } else { + queries = parse(queries) + } + + return queries.reduce(function (result, query, index) { + var selection = query.queryString + + var isExclude = selection.indexOf('not ') === 0 + if (isExclude) { + if (index === 0) { + throw new BrowserslistError( + 'Write any browsers query (for instance, `defaults`) ' + + 'before `' + selection + '`') + } + selection = selection.slice(4) + } + + for (var i = 0; i < QUERIES.length; i++) { + var type = QUERIES[i] + var match = selection.match(type.regexp) + if (match) { + var args = [context].concat(match.slice(1)) + var array = type.select.apply(browserslist, args).map(function (j) { + var parts = j.split(' ') + if (parts[1] === '0') { + return parts[0] + ' ' + byName(parts[0], context).versions[0] + } else { + return j + } + }) + + switch (query.type) { + case QUERY_AND: + if (isExclude) { + return result.filter(function (j) { + return array.indexOf(j) === -1 + }) + } else { + return result.filter(function (j) { + return array.indexOf(j) !== -1 + }) + } + case QUERY_OR: + default: + if (isExclude) { + var filter = { } + array.forEach(function (j) { + filter[j] = true + }) + return result.filter(function (j) { + return !filter[j] + }) + } + return result.concat(array) + } + } + } + + throw unknownQuery(selection) + }, []) +} + +var cache = { } + +/** + * Return array of browsers by selection queries. + * + * @param {(string|string[])} [queries=browserslist.defaults] Browser queries. + * @param {object} [opts] Options. + * @param {string} [opts.path="."] Path to processed file. + * It will be used to find config files. + * @param {string} [opts.env="production"] Processing environment. + * It will be used to take right + * queries from config file. + * @param {string} [opts.config] Path to config file with queries. + * @param {object} [opts.stats] Custom browser usage statistics + * for "> 1% in my stats" query. + * @param {boolean} [opts.ignoreUnknownVersions=false] Do not throw on unknown + * version in direct query. + * @param {boolean} [opts.dangerousExtend] Disable security checks + * for extend query. + * @param {boolean} [opts.mobileToDesktop] Alias mobile browsers to the desktop + * version when Can I Use doesn't have + * data about the specified version. + * @returns {string[]} Array with browser names in Can I Use. + * + * @example + * browserslist('IE >= 10, IE 8') //=> ['ie 11', 'ie 10', 'ie 8'] + */ +function browserslist (queries, opts) { + if (typeof opts === 'undefined') opts = { } + + if (typeof opts.path === 'undefined') { + opts.path = path.resolve ? path.resolve('.') : '.' + } + + if (typeof queries === 'undefined' || queries === null) { + var config = browserslist.loadConfig(opts) + if (config) { + queries = config + } else { + queries = browserslist.defaults + } + } + + if (!(typeof queries === 'string' || Array.isArray(queries))) { + throw new BrowserslistError( + 'Browser queries must be an array or string. Got ' + typeof queries + '.') + } + + var context = { + ignoreUnknownVersions: opts.ignoreUnknownVersions, + dangerousExtend: opts.dangerousExtend, + mobileToDesktop: opts.mobileToDesktop, + env: opts.env + } + + env.oldDataWarning(browserslist.data) + var stats = env.getStat(opts, browserslist.data) + if (stats) { + context.customUsage = { } + for (var browser in stats) { + fillUsage(context.customUsage, browser, stats[browser]) + } + } + + var cacheKey = JSON.stringify([queries, context]) + if (cache[cacheKey]) return cache[cacheKey] + + var result = uniq(resolve(queries, context)).sort(function (name1, name2) { + name1 = name1.split(' ') + name2 = name2.split(' ') + if (name1[0] === name2[0]) { + // assumptions on caniuse data + // 1) version ranges never overlaps + // 2) if version is not a range, it never contains `-` + var version1 = name1[1].split('-')[0] + var version2 = name2[1].split('-')[0] + return compareSemver(version2.split('.'), version1.split('.')) + } else { + return compare(name1[0], name2[0]) + } + }) + if (!process.env.BROWSERSLIST_DISABLE_CACHE) { + cache[cacheKey] = result + } + return result +} + +function parse (queries) { + var qs = [] + do { + queries = doMatch(queries, qs) + } while (queries) + return qs +} + +function doMatch (string, qs) { + var or = /^(?:,\s*|\s+or\s+)(.*)/i + var and = /^\s+and\s+(.*)/i + + return find(string, function (parsed, n, max) { + if (and.test(parsed)) { + qs.unshift({ type: QUERY_AND, queryString: parsed.match(and)[1] }) + return true + } else if (or.test(parsed)) { + qs.unshift({ type: QUERY_OR, queryString: parsed.match(or)[1] }) + return true + } else if (n === max) { + qs.unshift({ type: QUERY_OR, queryString: parsed.trim() }) + return true + } + return false + }) +} + +function find (string, predicate) { + for (var n = 1, max = string.length; n <= max; n++) { + var parsed = string.substr(-n, n) + if (predicate(parsed, n, max)) { + return string.slice(0, -n) + } + } + return '' +} + +function flatten (array) { + if (!Array.isArray(array)) return [array] + return array.reduce(function (a, b) { + return a.concat(flatten(b)) + }, []) +} + +// Will be filled by Can I Use data below +browserslist.cache = { } +browserslist.data = { } +browserslist.usage = { + global: { }, + custom: null +} + +// Default browsers query +browserslist.defaults = [ + '> 0.5%', + 'last 2 versions', + 'Firefox ESR', + 'not dead' +] + +// Browser names aliases +browserslist.aliases = { + fx: 'firefox', + ff: 'firefox', + ios: 'ios_saf', + explorer: 'ie', + blackberry: 'bb', + explorermobile: 'ie_mob', + operamini: 'op_mini', + operamobile: 'op_mob', + chromeandroid: 'and_chr', + firefoxandroid: 'and_ff', + ucandroid: 'and_uc', + qqandroid: 'and_qq' +} + +// Can I Use only provides a few versions for some browsers (e.g. and_chr). +// Fallback to a similar browser for unknown versions +browserslist.desktopNames = { + and_chr: 'chrome', + and_ff: 'firefox', + ie_mob: 'ie', + op_mob: 'opera', + android: 'chrome' // has extra processing logic +} + +// Aliases to work with joined versions like `ios_saf 7.0-7.1` +browserslist.versionAliases = { } + +browserslist.clearCaches = env.clearCaches +browserslist.parseConfig = env.parseConfig +browserslist.readConfig = env.readConfig +browserslist.findConfig = env.findConfig +browserslist.loadConfig = env.loadConfig + +/** + * Return browsers market coverage. + * + * @param {string[]} browsers Browsers names in Can I Use. + * @param {string|object} [stats="global"] Which statistics should be used. + * Country code or custom statistics. + * Pass `"my stats"` to load statistics + * from Browserslist files. + * + * @return {number} Total market coverage for all selected browsers. + * + * @example + * browserslist.coverage(browserslist('> 1% in US'), 'US') //=> 83.1 + */ +browserslist.coverage = function (browsers, stats) { + var data + if (typeof stats === 'undefined') { + data = browserslist.usage.global + } else if (stats === 'my stats') { + var opts = {} + opts.path = path.resolve ? path.resolve('.') : '.' + var customStats = env.getStat(opts) + if (!customStats) { + throw new BrowserslistError('Custom usage statistics was not provided') + } + data = {} + for (var browser in customStats) { + fillUsage(data, browser, customStats[browser]) + } + } else if (typeof stats === 'string') { + if (stats.length > 2) { + stats = stats.toLowerCase() + } else { + stats = stats.toUpperCase() + } + env.loadCountry(browserslist.usage, stats, browserslist.data) + data = browserslist.usage[stats] + } else { + if ('dataByBrowser' in stats) { + stats = stats.dataByBrowser + } + data = { } + for (var name in stats) { + for (var version in stats[name]) { + data[name + ' ' + version] = stats[name][version] + } + } + } + + return browsers.reduce(function (all, i) { + var usage = data[i] + if (usage === undefined) { + usage = data[i.replace(/ \S+$/, ' 0')] + } + return all + (usage || 0) + }, 0) +} + +var QUERIES = [ + { + regexp: /^last\s+(\d+)\s+major\s+versions?$/i, + select: function (context, versions) { + return Object.keys(agents).reduce(function (selected, name) { + var data = byName(name, context) + if (!data) return selected + var list = getMajorVersions(data.released, versions) + list = list.map(nameMapper(data.name)) + if (data.name === 'android') { + list = filterAndroid(list, versions, context) + } + return selected.concat(list) + }, []) + } + }, + { + regexp: /^last\s+(\d+)\s+versions?$/i, + select: function (context, versions) { + return Object.keys(agents).reduce(function (selected, name) { + var data = byName(name, context) + if (!data) return selected + var list = data.released.slice(-versions) + list = list.map(nameMapper(data.name)) + if (data.name === 'android') { + list = filterAndroid(list, versions, context) + } + return selected.concat(list) + }, []) + } + }, + { + regexp: /^last\s+(\d+)\s+electron\s+major\s+versions?$/i, + select: function (context, versions) { + var validVersions = getMajorVersions(Object.keys(e2c), versions) + return validVersions.map(function (i) { + return 'chrome ' + e2c[i] + }) + } + }, + { + regexp: /^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i, + select: function (context, versions, name) { + var data = checkName(name, context) + var validVersions = getMajorVersions(data.released, versions) + var list = validVersions.map(nameMapper(data.name)) + if (data.name === 'android') { + list = filterAndroid(list, versions, context) + } + return list + } + }, + { + regexp: /^last\s+(\d+)\s+electron\s+versions?$/i, + select: function (context, versions) { + return Object.keys(e2c).reverse().slice(-versions).map(function (i) { + return 'chrome ' + e2c[i] + }) + } + }, + { + regexp: /^last\s+(\d+)\s+(\w+)\s+versions?$/i, + select: function (context, versions, name) { + var data = checkName(name, context) + var list = data.released.slice(-versions).map(nameMapper(data.name)) + if (data.name === 'android') { + list = filterAndroid(list, versions, context) + } + return list + } + }, + { + regexp: /^unreleased\s+versions$/i, + select: function (context) { + return Object.keys(agents).reduce(function (selected, name) { + var data = byName(name, context) + if (!data) return selected + var list = data.versions.filter(function (v) { + return data.released.indexOf(v) === -1 + }) + list = list.map(nameMapper(data.name)) + return selected.concat(list) + }, []) + } + }, + { + regexp: /^unreleased\s+electron\s+versions?$/i, + select: function () { + return [] + } + }, + { + regexp: /^unreleased\s+(\w+)\s+versions?$/i, + select: function (context, name) { + var data = checkName(name, context) + return data.versions.filter(function (v) { + return data.released.indexOf(v) === -1 + }).map(nameMapper(data.name)) + } + }, + { + regexp: /^last\s+(\d*.?\d+)\s+years?$/i, + select: function (context, years) { + return filterByYear(Date.now() - YEAR * years, context) + } + }, + { + regexp: /^since (\d+)(?:-(\d+))?(?:-(\d+))?$/i, + select: function (context, year, month, date) { + year = parseInt(year) + month = parseInt(month || '01') - 1 + date = parseInt(date || '01') + return filterByYear(Date.UTC(year, month, date, 0, 0, 0), context) + } + }, + { + regexp: /^(>=?|<=?)\s*(\d*\.?\d+)%$/, + select: function (context, sign, popularity) { + popularity = parseFloat(popularity) + var usage = browserslist.usage.global + return Object.keys(usage).reduce(function (result, version) { + if (sign === '>') { + if (usage[version] > popularity) { + result.push(version) + } + } else if (sign === '<') { + if (usage[version] < popularity) { + result.push(version) + } + } else if (sign === '<=') { + if (usage[version] <= popularity) { + result.push(version) + } + } else if (usage[version] >= popularity) { + result.push(version) + } + return result + }, []) + } + }, + { + regexp: /^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+my\s+stats$/, + select: function (context, sign, popularity) { + popularity = parseFloat(popularity) + if (!context.customUsage) { + throw new BrowserslistError('Custom usage statistics was not provided') + } + var usage = context.customUsage + return Object.keys(usage).reduce(function (result, version) { + if (sign === '>') { + if (usage[version] > popularity) { + result.push(version) + } + } else if (sign === '<') { + if (usage[version] < popularity) { + result.push(version) + } + } else if (sign === '<=') { + if (usage[version] <= popularity) { + result.push(version) + } + } else if (usage[version] >= popularity) { + result.push(version) + } + return result + }, []) + } + }, + { + regexp: /^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+(\S+)\s+stats$/, + select: function (context, sign, popularity, name) { + popularity = parseFloat(popularity) + var stats = env.loadStat(context, name, browserslist.data) + if (stats) { + context.customUsage = { } + for (var browser in stats) { + fillUsage(context.customUsage, browser, stats[browser]) + } + } + if (!context.customUsage) { + throw new BrowserslistError('Custom usage statistics was not provided') + } + var usage = context.customUsage + return Object.keys(usage).reduce(function (result, version) { + if (sign === '>') { + if (usage[version] > popularity) { + result.push(version) + } + } else if (sign === '<') { + if (usage[version] < popularity) { + result.push(version) + } + } else if (sign === '<=') { + if (usage[version] <= popularity) { + result.push(version) + } + } else if (usage[version] >= popularity) { + result.push(version) + } + return result + }, []) + } + }, + { + regexp: /^(>=?|<=?)\s*(\d*\.?\d+)%\s+in\s+((alt-)?\w\w)$/, + select: function (context, sign, popularity, place) { + popularity = parseFloat(popularity) + if (place.length === 2) { + place = place.toUpperCase() + } else { + place = place.toLowerCase() + } + env.loadCountry(browserslist.usage, place, browserslist.data) + var usage = browserslist.usage[place] + return Object.keys(usage).reduce(function (result, version) { + if (sign === '>') { + if (usage[version] > popularity) { + result.push(version) + } + } else if (sign === '<') { + if (usage[version] < popularity) { + result.push(version) + } + } else if (sign === '<=') { + if (usage[version] <= popularity) { + result.push(version) + } + } else if (usage[version] >= popularity) { + result.push(version) + } + return result + }, []) + } + }, + { + regexp: /^cover\s+(\d*\.?\d+)%(\s+in\s+(my\s+stats|(alt-)?\w\w))?$/, + select: function (context, coverage, statMode) { + coverage = parseFloat(coverage) + var usage = browserslist.usage.global + if (statMode) { + if (statMode.match(/^\s+in\s+my\s+stats$/)) { + if (!context.customUsage) { + throw new BrowserslistError( + 'Custom usage statistics was not provided' + ) + } + usage = context.customUsage + } else { + var match = statMode.match(/\s+in\s+((alt-)?\w\w)/) + var place = match[1] + if (place.length === 2) { + place = place.toUpperCase() + } else { + place = place.toLowerCase() + } + env.loadCountry(browserslist.usage, place, browserslist.data) + usage = browserslist.usage[place] + } + } + var versions = Object.keys(usage).sort(function (a, b) { + return usage[b] - usage[a] + }) + var coveraged = 0 + var result = [] + var version + for (var i = 0; i <= versions.length; i++) { + version = versions[i] + if (usage[version] === 0) break + coveraged += usage[version] + result.push(version) + if (coveraged >= coverage) break + } + return result + } + }, + { + regexp: /^supports\s+([\w-]+)$/, + select: function (context, feature) { + env.loadFeature(browserslist.cache, feature) + var features = browserslist.cache[feature] + return Object.keys(features).reduce(function (result, version) { + var flags = features[version] + if (flags.indexOf('y') >= 0 || flags.indexOf('a') >= 0) { + result.push(version) + } + return result + }, []) + } + }, + { + regexp: /^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i, + select: function (context, from, to) { + var fromToUse = normalizeElectron(from) + var toToUse = normalizeElectron(to) + if (!e2c[fromToUse]) { + throw new BrowserslistError('Unknown version ' + from + ' of electron') + } + if (!e2c[toToUse]) { + throw new BrowserslistError('Unknown version ' + to + ' of electron') + } + from = parseFloat(from) + to = parseFloat(to) + return Object.keys(e2c).filter(function (i) { + var parsed = parseFloat(i) + return parsed >= from && parsed <= to + }).map(function (i) { + return 'chrome ' + e2c[i] + }) + } + }, + { + regexp: /^node\s+([\d.]+)\s*-\s*([\d.]+)$/i, + select: function (context, from, to) { + var nodeVersions = jsReleases.filter(function (i) { + return i.name === 'nodejs' + }).map(function (i) { + return i.version + }) + var semverRegExp = /^(0|[1-9]\d*)(\.(0|[1-9]\d*)){0,2}$/ + if (!semverRegExp.test(from)) { + throw new BrowserslistError( + 'Unknown version ' + from + ' of Node.js') + } + if (!semverRegExp.test(to)) { + throw new BrowserslistError( + 'Unknown version ' + to + ' of Node.js') + } + return nodeVersions + .filter(semverFilterLoose('>=', from)) + .filter(semverFilterLoose('<=', to)) + .map(function (v) { + return 'node ' + v + }) + } + }, + { + regexp: /^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i, + select: function (context, name, from, to) { + var data = checkName(name, context) + from = parseFloat(normalizeVersion(data, from) || from) + to = parseFloat(normalizeVersion(data, to) || to) + function filter (v) { + var parsed = parseFloat(v) + return parsed >= from && parsed <= to + } + return data.released.filter(filter).map(nameMapper(data.name)) + } + }, + { + regexp: /^electron\s*(>=?|<=?)\s*([\d.]+)$/i, + select: function (context, sign, version) { + var versionToUse = normalizeElectron(version) + return Object.keys(e2c) + .filter(generateFilter(sign, versionToUse)) + .map(function (i) { + return 'chrome ' + e2c[i] + }) + } + }, + { + regexp: /^node\s*(>=?|<=?)\s*([\d.]+)$/i, + select: function (context, sign, version) { + var nodeVersions = jsReleases.filter(function (i) { + return i.name === 'nodejs' + }).map(function (i) { + return i.version + }) + return nodeVersions + .filter(generateSemverFilter(sign, version)) + .map(function (v) { + return 'node ' + v + }) + } + }, + { + regexp: /^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/, + select: function (context, name, sign, version) { + var data = checkName(name, context) + var alias = browserslist.versionAliases[data.name][version] + if (alias) { + version = alias + } + return data.released + .filter(generateFilter(sign, version)) + .map(function (v) { + return data.name + ' ' + v + }) + } + }, + { + regexp: /^(firefox|ff|fx)\s+esr$/i, + select: function () { + return ['firefox 68', 'firefox 78'] + } + }, + { + regexp: /(operamini|op_mini)\s+all/i, + select: function () { + return ['op_mini all'] + } + }, + { + regexp: /^electron\s+([\d.]+)$/i, + select: function (context, version) { + var versionToUse = normalizeElectron(version) + var chrome = e2c[versionToUse] + if (!chrome) { + throw new BrowserslistError( + 'Unknown version ' + version + ' of electron') + } + return ['chrome ' + chrome] + } + }, + { + regexp: /^node\s+(\d+(\.\d+)?(\.\d+)?)$/i, + select: function (context, version) { + var nodeReleases = jsReleases.filter(function (i) { + return i.name === 'nodejs' + }) + var matched = nodeReleases.filter(function (i) { + return isVersionsMatch(i.version, version) + }) + if (matched.length === 0) { + if (context.ignoreUnknownVersions) { + return [] + } else { + throw new BrowserslistError( + 'Unknown version ' + version + ' of Node.js') + } + } + return ['node ' + matched[matched.length - 1].version] + } + }, + { + regexp: /^current\s+node$/i, + select: function (context) { + return [env.currentNode(resolve, context)] + } + }, + { + regexp: /^maintained\s+node\s+versions$/i, + select: function (context) { + var now = Date.now() + var queries = Object.keys(jsEOL).filter(function (key) { + return now < Date.parse(jsEOL[key].end) && + now > Date.parse(jsEOL[key].start) && + isEolReleased(key) + }).map(function (key) { + return 'node ' + key.slice(1) + }) + return resolve(queries, context) + } + }, + { + regexp: /^phantomjs\s+1.9$/i, + select: function () { + return ['safari 5'] + } + }, + { + regexp: /^phantomjs\s+2.1$/i, + select: function () { + return ['safari 6'] + } + }, + { + regexp: /^(\w+)\s+(tp|[\d.]+)$/i, + select: function (context, name, version) { + if (/^tp$/i.test(version)) version = 'TP' + var data = checkName(name, context) + var alias = normalizeVersion(data, version) + if (alias) { + version = alias + } else { + if (version.indexOf('.') === -1) { + alias = version + '.0' + } else { + alias = version.replace(/\.0$/, '') + } + alias = normalizeVersion(data, alias) + if (alias) { + version = alias + } else if (context.ignoreUnknownVersions) { + return [] + } else { + throw new BrowserslistError( + 'Unknown version ' + version + ' of ' + name) + } + } + return [data.name + ' ' + version] + } + }, + { + regexp: /^extends (.+)$/i, + select: function (context, name) { + return resolve(env.loadQueries(context, name), context) + } + }, + { + regexp: /^defaults$/i, + select: function (context) { + return resolve(browserslist.defaults, context) + } + }, + { + regexp: /^dead$/i, + select: function (context) { + var dead = [ + 'ie <= 10', + 'ie_mob <= 11', + 'bb <= 10', + 'op_mob <= 12.1', + 'samsung 4' + ] + return resolve(dead, context) + } + }, + { + regexp: /^(\w+)$/i, + select: function (context, name) { + if (byName(name, context)) { + throw new BrowserslistError( + 'Specify versions in Browserslist query for browser ' + name) + } else { + throw unknownQuery(name) + } + } + } +]; + +// Get and convert Can I Use data + +(function () { + for (var name in agents) { + var browser = agents[name] + browserslist.data[name] = { + name: name, + versions: normalize(agents[name].versions), + released: normalize(agents[name].versions.slice(0, -3)), + releaseDate: agents[name].release_date + } + fillUsage(browserslist.usage.global, name, browser.usage_global) + + browserslist.versionAliases[name] = { } + for (var i = 0; i < browser.versions.length; i++) { + var full = browser.versions[i] + if (!full) continue + + if (full.indexOf('-') !== -1) { + var interval = full.split('-') + for (var j = 0; j < interval.length; j++) { + browserslist.versionAliases[name][interval[j]] = full + } + } + } + } +}()) + +module.exports = browserslist diff --git a/node_modules/browserslist/node.js b/node_modules/browserslist/node.js new file mode 100644 index 000000000..a650a5083 --- /dev/null +++ b/node_modules/browserslist/node.js @@ -0,0 +1,383 @@ +var feature = require('caniuse-lite/dist/unpacker/feature').default +var region = require('caniuse-lite/dist/unpacker/region').default +var path = require('path') +var fs = require('fs') + +var BrowserslistError = require('./error') + +var IS_SECTION = /^\s*\[(.+)]\s*$/ +var CONFIG_PATTERN = /^browserslist-config-/ +var SCOPED_CONFIG__PATTERN = /@[^/]+\/browserslist-config(-|$|\/)/ +var TIME_TO_UPDATE_CANIUSE = 6 * 30 * 24 * 60 * 60 * 1000 +var FORMAT = 'Browserslist config should be a string or an array ' + + 'of strings with browser queries' + +var dataTimeChecked = false +var filenessCache = { } +var configCache = { } +function checkExtend (name) { + var use = ' Use `dangerousExtend` option to disable.' + if (!CONFIG_PATTERN.test(name) && !SCOPED_CONFIG__PATTERN.test(name)) { + throw new BrowserslistError( + 'Browserslist config needs `browserslist-config-` prefix. ' + use) + } + if (name.replace(/^@[^/]+\//, '').indexOf('.') !== -1) { + throw new BrowserslistError( + '`.` not allowed in Browserslist config name. ' + use) + } + if (name.indexOf('node_modules') !== -1) { + throw new BrowserslistError( + '`node_modules` not allowed in Browserslist config.' + use) + } +} + +function isFile (file) { + if (file in filenessCache) { + return filenessCache[file] + } + var result = fs.existsSync(file) && fs.statSync(file).isFile() + if (!process.env.BROWSERSLIST_DISABLE_CACHE) { + filenessCache[file] = result + } + return result +} + +function eachParent (file, callback) { + var dir = isFile(file) ? path.dirname(file) : file + var loc = path.resolve(dir) + do { + var result = callback(loc) + if (typeof result !== 'undefined') return result + } while (loc !== (loc = path.dirname(loc))) + return undefined +} + +function check (section) { + if (Array.isArray(section)) { + for (var i = 0; i < section.length; i++) { + if (typeof section[i] !== 'string') { + throw new BrowserslistError(FORMAT) + } + } + } else if (typeof section !== 'string') { + throw new BrowserslistError(FORMAT) + } +} + +function pickEnv (config, opts) { + if (typeof config !== 'object') return config + + var name + if (typeof opts.env === 'string') { + name = opts.env + } else if (process.env.BROWSERSLIST_ENV) { + name = process.env.BROWSERSLIST_ENV + } else if (process.env.NODE_ENV) { + name = process.env.NODE_ENV + } else { + name = 'production' + } + + return config[name] || config.defaults +} + +function parsePackage (file) { + var config = JSON.parse(fs.readFileSync(file)) + if (config.browserlist && !config.browserslist) { + throw new BrowserslistError( + '`browserlist` key instead of `browserslist` in ' + file + ) + } + var list = config.browserslist + if (Array.isArray(list) || typeof list === 'string') { + list = { defaults: list } + } + for (var i in list) { + check(list[i]) + } + + return list +} + +function latestReleaseTime (agents) { + var latest = 0 + for (var name in agents) { + var dates = agents[name].releaseDate || { } + for (var key in dates) { + if (latest < dates[key]) { + latest = dates[key] + } + } + } + return latest * 1000 +} + +function normalizeStats (data, stats) { + if (stats && 'dataByBrowser' in stats) { + stats = stats.dataByBrowser + } + + if (typeof stats !== 'object') return undefined + + var normalized = { } + for (var i in stats) { + var versions = Object.keys(stats[i]) + if ( + versions.length === 1 && + data[i] && + data[i].versions.length === 1 + ) { + var normal = Object.keys(data[i].versions)[0] + normalized[i] = { } + normalized[i][normal] = stats[i][versions[0]] + } else { + normalized[i] = stats[i] + } + } + + return normalized +} + +function normalizeUsageData (usageData, data) { + for (var browser in usageData) { + var browserUsage = usageData[browser] + // eslint-disable-next-line max-len + // https://github.com/browserslist/browserslist/issues/431#issuecomment-565230615 + // caniuse-db returns { 0: "percentage" } for `and_*` regional stats + if ('0' in browserUsage) { + var versions = data[browser].versions + browserUsage[versions[versions.length - 1]] = browserUsage[0] + delete browserUsage[0] + } + } +} + +module.exports = { + loadQueries: function loadQueries (ctx, name) { + if (!ctx.dangerousExtend && !process.env.BROWSERSLIST_DANGEROUS_EXTEND) { + checkExtend(name) + } + // eslint-disable-next-line security/detect-non-literal-require + var queries = require(require.resolve(name, { paths: ['.'] })) + if (queries) { + if (Array.isArray(queries)) { + return queries + } else if (typeof queries === 'object') { + if (!queries.defaults) queries.defaults = [] + return pickEnv(queries, ctx, name) + } + } + throw new BrowserslistError( + '`' + name + '` config exports not an array of queries' + + ' or an object of envs' + ) + }, + + loadStat: function loadStat (ctx, name, data) { + if (!ctx.dangerousExtend && !process.env.BROWSERSLIST_DANGEROUS_EXTEND) { + checkExtend(name) + } + // eslint-disable-next-line security/detect-non-literal-require + var stats = require( + require.resolve( + path.join(name, 'browserslist-stats.json'), + { paths: ['.'] } + ) + ) + return normalizeStats(data, stats) + }, + + getStat: function getStat (opts, data) { + var stats + if (opts.stats) { + stats = opts.stats + } else if (process.env.BROWSERSLIST_STATS) { + stats = process.env.BROWSERSLIST_STATS + } else if (opts.path && path.resolve && fs.existsSync) { + stats = eachParent(opts.path, function (dir) { + var file = path.join(dir, 'browserslist-stats.json') + return isFile(file) ? file : undefined + }) + } + if (typeof stats === 'string') { + try { + stats = JSON.parse(fs.readFileSync(stats)) + } catch (e) { + throw new BrowserslistError('Can\'t read ' + stats) + } + } + return normalizeStats(data, stats) + }, + + loadConfig: function loadConfig (opts) { + if (process.env.BROWSERSLIST) { + return process.env.BROWSERSLIST + } else if (opts.config || process.env.BROWSERSLIST_CONFIG) { + var file = opts.config || process.env.BROWSERSLIST_CONFIG + if (path.basename(file) === 'package.json') { + return pickEnv(parsePackage(file), opts) + } else { + return pickEnv(module.exports.readConfig(file), opts) + } + } else if (opts.path) { + return pickEnv(module.exports.findConfig(opts.path), opts) + } else { + return undefined + } + }, + + loadCountry: function loadCountry (usage, country, data) { + var code = country.replace(/[^\w-]/g, '') + if (!usage[code]) { + // eslint-disable-next-line security/detect-non-literal-require + var compressed = require('caniuse-lite/data/regions/' + code + '.js') + var usageData = region(compressed) + normalizeUsageData(usageData, data) + usage[country] = { } + for (var i in usageData) { + for (var j in usageData[i]) { + usage[country][i + ' ' + j] = usageData[i][j] + } + } + } + }, + + loadFeature: function loadFeature (features, name) { + name = name.replace(/[^\w-]/g, '') + if (features[name]) return + + // eslint-disable-next-line security/detect-non-literal-require + var compressed = require('caniuse-lite/data/features/' + name + '.js') + var stats = feature(compressed).stats + features[name] = { } + for (var i in stats) { + for (var j in stats[i]) { + features[name][i + ' ' + j] = stats[i][j] + } + } + }, + + parseConfig: function parseConfig (string) { + var result = { defaults: [] } + var sections = ['defaults'] + + string.toString() + .replace(/#[^\n]*/g, '') + .split(/\n|,/) + .map(function (line) { + return line.trim() + }) + .filter(function (line) { + return line !== '' + }) + .forEach(function (line) { + if (IS_SECTION.test(line)) { + sections = line.match(IS_SECTION)[1].trim().split(' ') + sections.forEach(function (section) { + if (result[section]) { + throw new BrowserslistError( + 'Duplicate section ' + section + ' in Browserslist config' + ) + } + result[section] = [] + }) + } else { + sections.forEach(function (section) { + result[section].push(line) + }) + } + }) + + return result + }, + + readConfig: function readConfig (file) { + if (!isFile(file)) { + throw new BrowserslistError('Can\'t read ' + file + ' config') + } + return module.exports.parseConfig(fs.readFileSync(file)) + }, + + findConfig: function findConfig (from) { + from = path.resolve(from) + + var passed = [] + var resolved = eachParent(from, function (dir) { + if (dir in configCache) { + return configCache[dir] + } + + passed.push(dir) + + var config = path.join(dir, 'browserslist') + var pkg = path.join(dir, 'package.json') + var rc = path.join(dir, '.browserslistrc') + + var pkgBrowserslist + if (isFile(pkg)) { + try { + pkgBrowserslist = parsePackage(pkg) + } catch (e) { + if (e.name === 'BrowserslistError') throw e + console.warn( + '[Browserslist] Could not parse ' + pkg + '. Ignoring it.' + ) + } + } + + if (isFile(config) && pkgBrowserslist) { + throw new BrowserslistError( + dir + ' contains both browserslist and package.json with browsers' + ) + } else if (isFile(rc) && pkgBrowserslist) { + throw new BrowserslistError( + dir + ' contains both .browserslistrc and package.json with browsers' + ) + } else if (isFile(config) && isFile(rc)) { + throw new BrowserslistError( + dir + ' contains both .browserslistrc and browserslist' + ) + } else if (isFile(config)) { + return module.exports.readConfig(config) + } else if (isFile(rc)) { + return module.exports.readConfig(rc) + } else { + return pkgBrowserslist + } + }) + if (!process.env.BROWSERSLIST_DISABLE_CACHE) { + passed.forEach(function (dir) { + configCache[dir] = resolved + }) + } + return resolved + }, + + clearCaches: function clearCaches () { + dataTimeChecked = false + filenessCache = { } + configCache = { } + + this.cache = { } + }, + + oldDataWarning: function oldDataWarning (agentsObj) { + if (dataTimeChecked) return + dataTimeChecked = true + if (process.env.BROWSERSLIST_IGNORE_OLD_DATA) return + + var latest = latestReleaseTime(agentsObj) + var halfYearAgo = Date.now() - TIME_TO_UPDATE_CANIUSE + + if (latest !== 0 && latest < halfYearAgo) { + console.warn( + 'Browserslist: caniuse-lite is outdated. Please run:\n' + + 'npx browserslist@latest --update-db' + ) + } + }, + + currentNode: function currentNode () { + return 'node ' + process.versions.node + } +} diff --git a/node_modules/browserslist/package.json b/node_modules/browserslist/package.json new file mode 100644 index 000000000..2f4589dcf --- /dev/null +++ b/node_modules/browserslist/package.json @@ -0,0 +1,71 @@ +{ + "_from": "browserslist@^4.12.0", + "_id": "browserslist@4.14.0", + "_inBundle": false, + "_integrity": "sha512-pUsXKAF2lVwhmtpeA3LJrZ76jXuusrNyhduuQs7CDFf9foT4Y38aQOserd2lMe5DSSrjf3fx34oHwryuvxAUgQ==", + "_location": "/browserslist", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "browserslist@^4.12.0", + "name": "browserslist", + "escapedName": "browserslist", + "rawSpec": "^4.12.0", + "saveSpec": null, + "fetchSpec": "^4.12.0" + }, + "_requiredBy": [ + "/@babel/compat-data", + "/@babel/helper-compilation-targets", + "/@babel/preset-env", + "/core-js-compat" + ], + "_resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.0.tgz", + "_shasum": "2908951abfe4ec98737b72f34c3bcedc8d43b000", + "_spec": "browserslist@^4.12.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/preset-env", + "author": { + "name": "Andrey Sitnik", + "email": "andrey@sitnik.ru" + }, + "bin": { + "browserslist": "cli.js" + }, + "browser": { + "./node.js": "./browser.js", + "path": false + }, + "bugs": { + "url": "https://github.com/browserslist/browserslist/issues" + }, + "bundleDependencies": false, + "dependencies": { + "caniuse-lite": "^1.0.30001111", + "electron-to-chromium": "^1.3.523", + "escalade": "^3.0.2", + "node-releases": "^1.1.60" + }, + "deprecated": false, + "description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset", + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + }, + "funding": { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + "homepage": "https://github.com/browserslist/browserslist#readme", + "keywords": [ + "caniuse", + "browsers", + "target" + ], + "license": "MIT", + "name": "browserslist", + "repository": { + "type": "git", + "url": "git+https://github.com/browserslist/browserslist.git" + }, + "version": "4.14.0" +} diff --git a/node_modules/browserslist/update-db.js b/node_modules/browserslist/update-db.js new file mode 100644 index 000000000..9c210a03b --- /dev/null +++ b/node_modules/browserslist/update-db.js @@ -0,0 +1,136 @@ +var childProcess = require('child_process') +var escalade = require('escalade/sync') +var path = require('path') +var fs = require('fs') + +var BrowserslistError = require('./error') + +function detectLockfile () { + var packageDir = escalade('.', function (dir, names) { + return names.indexOf('package.json') !== -1 ? dir : '' + }) + + if (!packageDir) { + throw new BrowserslistError( + 'Cannot find package.json. ' + + 'Is it a right project to run npx browserslist --update-db?' + ) + } + + var lockfileNpm = path.join(packageDir, 'package-lock.json') + var lockfileYarn = path.join(packageDir, 'yarn.lock') + var lockfilePnpm = path.join(packageDir, 'pnpm-lock.yaml') + + /* istanbul ignore next */ + if (fs.existsSync(lockfilePnpm)) { + return { mode: 'pnpm', file: lockfilePnpm } + } else if (fs.existsSync(lockfileNpm)) { + return { mode: 'npm', file: lockfileNpm } + } else if (fs.existsSync(lockfileYarn)) { + return { mode: 'yarn', file: lockfileYarn } + } else { + throw new BrowserslistError( + 'No lockfile found. Run "npm install", "yarn install" or "pnpm install"' + ) + } +} + +function getCurrentVersion (lock) { + var match + /* istanbul ignore if */ + if (lock.mode === 'pnpm') { + match = /\/caniuse-lite\/([^:]+):/.exec(lock.content) + if (match[1]) return match[1] + } else if (lock.mode === 'npm') { + var dependencies = JSON.parse(lock.content).dependencies + if (dependencies && dependencies['caniuse-lite']) { + return dependencies['caniuse-lite'].version + } + } else if (lock.mode === 'yarn') { + match = /caniuse-lite@[^:]+:\n\s+version\s+"([^"]+)"/.exec(lock.content) + if (match[1]) return match[1] + } + return null +} + +function getLastestInfo () { + return JSON.parse( + childProcess.execSync('npm show caniuse-lite --json').toString() + ) +} + +function updateLockfile (lock, latest) { + if (lock.mode === 'npm') { + var fixed = deletePackage(JSON.parse(lock.content)) + return JSON.stringify(fixed, null, ' ') + } else { + var lines = lock.content.split('\n') + var i + /* istanbul ignore if */ + if (lock.mode === 'pnpm') { + for (i = 0; i < lines.length; i++) { + if (lines[i].indexOf('caniuse-lite:') >= 0) { + lines[i] = lines[i].replace(/: .*$/, ': ' + latest.version) + } else if (lines[i].indexOf('/caniuse-lite') >= 0) { + lines[i] = lines[i].replace(/\/[^/:]+:/, '/' + latest.version + ':') + for (i = i + 1; i < lines.length; i++) { + if (lines[i].indexOf('integrity: ') !== -1) { + lines[i] = lines[i].replace( + /integrity: .+/, 'integrity: ' + latest.dist.integrity + ) + } else if (lines[i].indexOf(' /') !== -1) { + break + } + } + } + } + } else if (lock.mode === 'yarn') { + for (i = 0; i < lines.length; i++) { + if (lines[i].indexOf('caniuse-lite@') !== -1) { + lines[i + 1] = lines[i + 1].replace( + /version "[^"]+"/, 'version "' + latest.version + '"' + ) + lines[i + 2] = lines[i + 2].replace( + /resolved "[^"]+"/, 'resolved "' + latest.dist.tarball + '"' + ) + lines[i + 3] = lines[i + 3].replace( + /integrity .+/, 'integrity ' + latest.dist.integrity + ) + i += 4 + } + } + } + return lines.join('\n') + } +} + +function deletePackage (node) { + if (node.dependencies) { + delete node.dependencies['caniuse-lite'] + for (var i in node.dependencies) { + node.dependencies[i] = deletePackage(node.dependencies[i]) + } + } + return node +} + +module.exports = function updateDB (print) { + var lock = detectLockfile() + lock.content = fs.readFileSync(lock.file).toString() + + var current = getCurrentVersion(lock) + var latest = getLastestInfo() + + if (typeof current === 'string') { + print('Current version: ' + current + '\n') + } + print( + 'New version: ' + latest.version + '\n' + + 'Updating caniuse-lite…\n' + ) + + fs.writeFileSync(lock.file, updateLockfile(lock, latest)) + childProcess.execSync(lock.mode + ' install') + + print('caniuse-lite has been successfully updated') +} diff --git a/node_modules/buffer-from/LICENSE b/node_modules/buffer-from/LICENSE new file mode 100644 index 000000000..e4bf1d69b --- /dev/null +++ b/node_modules/buffer-from/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016, 2018 Linus Unnebäck + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/buffer-from/index.js b/node_modules/buffer-from/index.js new file mode 100644 index 000000000..d92a83d01 --- /dev/null +++ b/node_modules/buffer-from/index.js @@ -0,0 +1,69 @@ +var toString = Object.prototype.toString + +var isModern = ( + typeof Buffer.alloc === 'function' && + typeof Buffer.allocUnsafe === 'function' && + typeof Buffer.from === 'function' +) + +function isArrayBuffer (input) { + return toString.call(input).slice(8, -1) === 'ArrayBuffer' +} + +function fromArrayBuffer (obj, byteOffset, length) { + byteOffset >>>= 0 + + var maxLength = obj.byteLength - byteOffset + + if (maxLength < 0) { + throw new RangeError("'offset' is out of bounds") + } + + if (length === undefined) { + length = maxLength + } else { + length >>>= 0 + + if (length > maxLength) { + throw new RangeError("'length' is out of bounds") + } + } + + return isModern + ? Buffer.from(obj.slice(byteOffset, byteOffset + length)) + : new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length))) +} + +function fromString (string, encoding) { + if (typeof encoding !== 'string' || encoding === '') { + encoding = 'utf8' + } + + if (!Buffer.isEncoding(encoding)) { + throw new TypeError('"encoding" must be a valid string encoding') + } + + return isModern + ? Buffer.from(string, encoding) + : new Buffer(string, encoding) +} + +function bufferFrom (value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('"value" argument must not be a number') + } + + if (isArrayBuffer(value)) { + return fromArrayBuffer(value, encodingOrOffset, length) + } + + if (typeof value === 'string') { + return fromString(value, encodingOrOffset) + } + + return isModern + ? Buffer.from(value) + : new Buffer(value) +} + +module.exports = bufferFrom diff --git a/node_modules/buffer-from/package.json b/node_modules/buffer-from/package.json new file mode 100644 index 000000000..9974fa849 --- /dev/null +++ b/node_modules/buffer-from/package.json @@ -0,0 +1,52 @@ +{ + "_from": "buffer-from@^1.0.0", + "_id": "buffer-from@1.1.1", + "_inBundle": false, + "_integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "_location": "/buffer-from", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "buffer-from@^1.0.0", + "name": "buffer-from", + "escapedName": "buffer-from", + "rawSpec": "^1.0.0", + "saveSpec": null, + "fetchSpec": "^1.0.0" + }, + "_requiredBy": [ + "/source-map-support" + ], + "_resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "_shasum": "32713bc028f75c02fdb710d7c7bcec1f2c6070ef", + "_spec": "buffer-from@^1.0.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/source-map-support", + "bugs": { + "url": "https://github.com/LinusU/buffer-from/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "A [ponyfill](https://ponyfill.com) for `Buffer.from`, uses native implementation if available.", + "devDependencies": { + "standard": "^7.1.2" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/LinusU/buffer-from#readme", + "keywords": [ + "buffer", + "buffer from" + ], + "license": "MIT", + "name": "buffer-from", + "repository": { + "type": "git", + "url": "git+https://github.com/LinusU/buffer-from.git" + }, + "scripts": { + "test": "standard && node test" + }, + "version": "1.1.1" +} diff --git a/node_modules/buffer-from/readme.md b/node_modules/buffer-from/readme.md new file mode 100644 index 000000000..9880a558a --- /dev/null +++ b/node_modules/buffer-from/readme.md @@ -0,0 +1,69 @@ +# Buffer From + +A [ponyfill](https://ponyfill.com) for `Buffer.from`, uses native implementation if available. + +## Installation + +```sh +npm install --save buffer-from +``` + +## Usage + +```js +const bufferFrom = require('buffer-from') + +console.log(bufferFrom([1, 2, 3, 4])) +//=> + +const arr = new Uint8Array([1, 2, 3, 4]) +console.log(bufferFrom(arr.buffer, 1, 2)) +//=> + +console.log(bufferFrom('test', 'utf8')) +//=> + +const buf = bufferFrom('test') +console.log(bufferFrom(buf)) +//=> +``` + +## API + +### bufferFrom(array) + +- `array` <Array> + +Allocates a new `Buffer` using an `array` of octets. + +### bufferFrom(arrayBuffer[, byteOffset[, length]]) + +- `arrayBuffer` <ArrayBuffer> The `.buffer` property of a TypedArray or ArrayBuffer +- `byteOffset` <Integer> Where to start copying from `arrayBuffer`. **Default:** `0` +- `length` <Integer> How many bytes to copy from `arrayBuffer`. **Default:** `arrayBuffer.length - byteOffset` + +When passed a reference to the `.buffer` property of a TypedArray instance, the +newly created `Buffer` will share the same allocated memory as the TypedArray. + +The optional `byteOffset` and `length` arguments specify a memory range within +the `arrayBuffer` that will be shared by the `Buffer`. + +### bufferFrom(buffer) + +- `buffer` <Buffer> An existing `Buffer` to copy data from + +Copies the passed `buffer` data onto a new `Buffer` instance. + +### bufferFrom(string[, encoding]) + +- `string` <String> A string to encode. +- `encoding` <String> The encoding of `string`. **Default:** `'utf8'` + +Creates a new `Buffer` containing the given JavaScript string `string`. If +provided, the `encoding` parameter identifies the character encoding of +`string`. + +## See also + +- [buffer-alloc](https://github.com/LinusU/buffer-alloc) A ponyfill for `Buffer.alloc` +- [buffer-alloc-unsafe](https://github.com/LinusU/buffer-alloc-unsafe) A ponyfill for `Buffer.allocUnsafe` diff --git a/node_modules/bytes/History.md b/node_modules/bytes/History.md new file mode 100644 index 000000000..cf6a5bb9c --- /dev/null +++ b/node_modules/bytes/History.md @@ -0,0 +1,87 @@ +3.1.0 / 2019-01-22 +================== + + * Add petabyte (`pb`) support + +3.0.0 / 2017-08-31 +================== + + * Change "kB" to "KB" in format output + * Remove support for Node.js 0.6 + * Remove support for ComponentJS + +2.5.0 / 2017-03-24 +================== + + * Add option "unit" + +2.4.0 / 2016-06-01 +================== + + * Add option "unitSeparator" + +2.3.0 / 2016-02-15 +================== + + * Drop partial bytes on all parsed units + * Fix non-finite numbers to `.format` to return `null` + * Fix parsing byte string that looks like hex + * perf: hoist regular expressions + +2.2.0 / 2015-11-13 +================== + + * add option "decimalPlaces" + * add option "fixedDecimals" + +2.1.0 / 2015-05-21 +================== + + * add `.format` export + * add `.parse` export + +2.0.2 / 2015-05-20 +================== + + * remove map recreation + * remove unnecessary object construction + +2.0.1 / 2015-05-07 +================== + + * fix browserify require + * remove node.extend dependency + +2.0.0 / 2015-04-12 +================== + + * add option "case" + * add option "thousandsSeparator" + * return "null" on invalid parse input + * support proper round-trip: bytes(bytes(num)) === num + * units no longer case sensitive when parsing + +1.0.0 / 2014-05-05 +================== + + * add negative support. fixes #6 + +0.3.0 / 2014-03-19 +================== + + * added terabyte support + +0.2.1 / 2013-04-01 +================== + + * add .component + +0.2.0 / 2012-10-28 +================== + + * bytes(200).should.eql('200b') + +0.1.0 / 2012-07-04 +================== + + * add bytes to string conversion [yields] diff --git a/node_modules/bytes/LICENSE b/node_modules/bytes/LICENSE new file mode 100644 index 000000000..63e95a963 --- /dev/null +++ b/node_modules/bytes/LICENSE @@ -0,0 +1,23 @@ +(The MIT License) + +Copyright (c) 2012-2014 TJ Holowaychuk +Copyright (c) 2015 Jed Watson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/bytes/Readme.md b/node_modules/bytes/Readme.md new file mode 100644 index 000000000..6ad1ec6e2 --- /dev/null +++ b/node_modules/bytes/Readme.md @@ -0,0 +1,126 @@ +# Bytes utility + +[![NPM Version][npm-image]][npm-url] +[![NPM Downloads][downloads-image]][downloads-url] +[![Build Status][travis-image]][travis-url] +[![Test Coverage][coveralls-image]][coveralls-url] + +Utility to parse a string bytes (ex: `1TB`) to bytes (`1099511627776`) and vice-versa. + +## Installation + +This is a [Node.js](https://nodejs.org/en/) module available through the +[npm registry](https://www.npmjs.com/). Installation is done using the +[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): + +```bash +$ npm install bytes +``` + +## Usage + +```js +var bytes = require('bytes'); +``` + +#### bytes.format(number value, [options]): string|null + +Format the given value in bytes into a string. If the value is negative, it is kept as such. If it is a float, it is + rounded. + +**Arguments** + +| Name | Type | Description | +|---------|----------|--------------------| +| value | `number` | Value in bytes | +| options | `Object` | Conversion options | + +**Options** + +| Property | Type | Description | +|-------------------|--------|-----------------------------------------------------------------------------------------| +| decimalPlaces | `number`|`null` | Maximum number of decimal places to include in output. Default value to `2`. | +| fixedDecimals | `boolean`|`null` | Whether to always display the maximum number of decimal places. Default value to `false` | +| thousandsSeparator | `string`|`null` | Example of values: `' '`, `','` and `.`... Default value to `''`. | +| unit | `string`|`null` | The unit in which the result will be returned (B/KB/MB/GB/TB). Default value to `''` (which means auto detect). | +| unitSeparator | `string`|`null` | Separator to use between number and unit. Default value to `''`. | + +**Returns** + +| Name | Type | Description | +|---------|------------------|-------------------------------------------------| +| results | `string`|`null` | Return null upon error. String value otherwise. | + +**Example** + +```js +bytes(1024); +// output: '1KB' + +bytes(1000); +// output: '1000B' + +bytes(1000, {thousandsSeparator: ' '}); +// output: '1 000B' + +bytes(1024 * 1.7, {decimalPlaces: 0}); +// output: '2KB' + +bytes(1024, {unitSeparator: ' '}); +// output: '1 KB' + +``` + +#### bytes.parse(string|number value): number|null + +Parse the string value into an integer in bytes. If no unit is given, or `value` +is a number, it is assumed the value is in bytes. + +Supported units and abbreviations are as follows and are case-insensitive: + + * `b` for bytes + * `kb` for kilobytes + * `mb` for megabytes + * `gb` for gigabytes + * `tb` for terabytes + * `pb` for petabytes + +The units are in powers of two, not ten. This means 1kb = 1024b according to this parser. + +**Arguments** + +| Name | Type | Description | +|---------------|--------|--------------------| +| value | `string`|`number` | String to parse, or number in bytes. | + +**Returns** + +| Name | Type | Description | +|---------|-------------|-------------------------| +| results | `number`|`null` | Return null upon error. Value in bytes otherwise. | + +**Example** + +```js +bytes('1KB'); +// output: 1024 + +bytes('1024'); +// output: 1024 + +bytes(1024); +// output: 1KB +``` + +## License + +[MIT](LICENSE) + +[coveralls-image]: https://badgen.net/coveralls/c/github/visionmedia/bytes.js/master +[coveralls-url]: https://coveralls.io/r/visionmedia/bytes.js?branch=master +[downloads-image]: https://badgen.net/npm/dm/bytes +[downloads-url]: https://npmjs.org/package/bytes +[npm-image]: https://badgen.net/npm/node/bytes +[npm-url]: https://npmjs.org/package/bytes +[travis-image]: https://badgen.net/travis/visionmedia/bytes.js/master +[travis-url]: https://travis-ci.org/visionmedia/bytes.js diff --git a/node_modules/bytes/index.js b/node_modules/bytes/index.js new file mode 100644 index 000000000..4975bfb0c --- /dev/null +++ b/node_modules/bytes/index.js @@ -0,0 +1,162 @@ +/*! + * bytes + * Copyright(c) 2012-2014 TJ Holowaychuk + * Copyright(c) 2015 Jed Watson + * MIT Licensed + */ + +'use strict'; + +/** + * Module exports. + * @public + */ + +module.exports = bytes; +module.exports.format = format; +module.exports.parse = parse; + +/** + * Module variables. + * @private + */ + +var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g; + +var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/; + +var map = { + b: 1, + kb: 1 << 10, + mb: 1 << 20, + gb: 1 << 30, + tb: Math.pow(1024, 4), + pb: Math.pow(1024, 5), +}; + +var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i; + +/** + * Convert the given value in bytes into a string or parse to string to an integer in bytes. + * + * @param {string|number} value + * @param {{ + * case: [string], + * decimalPlaces: [number] + * fixedDecimals: [boolean] + * thousandsSeparator: [string] + * unitSeparator: [string] + * }} [options] bytes options. + * + * @returns {string|number|null} + */ + +function bytes(value, options) { + if (typeof value === 'string') { + return parse(value); + } + + if (typeof value === 'number') { + return format(value, options); + } + + return null; +} + +/** + * Format the given value in bytes into a string. + * + * If the value is negative, it is kept as such. If it is a float, + * it is rounded. + * + * @param {number} value + * @param {object} [options] + * @param {number} [options.decimalPlaces=2] + * @param {number} [options.fixedDecimals=false] + * @param {string} [options.thousandsSeparator=] + * @param {string} [options.unit=] + * @param {string} [options.unitSeparator=] + * + * @returns {string|null} + * @public + */ + +function format(value, options) { + if (!Number.isFinite(value)) { + return null; + } + + var mag = Math.abs(value); + var thousandsSeparator = (options && options.thousandsSeparator) || ''; + var unitSeparator = (options && options.unitSeparator) || ''; + var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2; + var fixedDecimals = Boolean(options && options.fixedDecimals); + var unit = (options && options.unit) || ''; + + if (!unit || !map[unit.toLowerCase()]) { + if (mag >= map.pb) { + unit = 'PB'; + } else if (mag >= map.tb) { + unit = 'TB'; + } else if (mag >= map.gb) { + unit = 'GB'; + } else if (mag >= map.mb) { + unit = 'MB'; + } else if (mag >= map.kb) { + unit = 'KB'; + } else { + unit = 'B'; + } + } + + var val = value / map[unit.toLowerCase()]; + var str = val.toFixed(decimalPlaces); + + if (!fixedDecimals) { + str = str.replace(formatDecimalsRegExp, '$1'); + } + + if (thousandsSeparator) { + str = str.replace(formatThousandsRegExp, thousandsSeparator); + } + + return str + unitSeparator + unit; +} + +/** + * Parse the string value into an integer in bytes. + * + * If no unit is given, it is assumed the value is in bytes. + * + * @param {number|string} val + * + * @returns {number|null} + * @public + */ + +function parse(val) { + if (typeof val === 'number' && !isNaN(val)) { + return val; + } + + if (typeof val !== 'string') { + return null; + } + + // Test if the string passed is valid + var results = parseRegExp.exec(val); + var floatValue; + var unit = 'b'; + + if (!results) { + // Nothing could be extracted from the given string + floatValue = parseInt(val, 10); + unit = 'b' + } else { + // Retrieve the value and the unit + floatValue = parseFloat(results[1]); + unit = results[4].toLowerCase(); + } + + return Math.floor(map[unit] * floatValue); +} diff --git a/node_modules/bytes/package.json b/node_modules/bytes/package.json new file mode 100644 index 000000000..74939137f --- /dev/null +++ b/node_modules/bytes/package.json @@ -0,0 +1,84 @@ +{ + "_from": "bytes@3.1.0", + "_id": "bytes@3.1.0", + "_inBundle": false, + "_integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", + "_location": "/bytes", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "bytes@3.1.0", + "name": "bytes", + "escapedName": "bytes", + "rawSpec": "3.1.0", + "saveSpec": null, + "fetchSpec": "3.1.0" + }, + "_requiredBy": [ + "/body-parser", + "/raw-body" + ], + "_resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", + "_shasum": "f6cf7933a360e0588fa9fde85651cdc7f805d1f6", + "_spec": "bytes@3.1.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/body-parser", + "author": { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca", + "url": "http://tjholowaychuk.com" + }, + "bugs": { + "url": "https://github.com/visionmedia/bytes.js/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Jed Watson", + "email": "jed.watson@me.com" + }, + { + "name": "Théo FIDRY", + "email": "theo.fidry@gmail.com" + } + ], + "deprecated": false, + "description": "Utility to parse a string bytes to bytes and vice-versa", + "devDependencies": { + "eslint": "5.12.1", + "mocha": "5.2.0", + "nyc": "13.1.0" + }, + "engines": { + "node": ">= 0.8" + }, + "files": [ + "History.md", + "LICENSE", + "Readme.md", + "index.js" + ], + "homepage": "https://github.com/visionmedia/bytes.js#readme", + "keywords": [ + "byte", + "bytes", + "utility", + "parse", + "parser", + "convert", + "converter" + ], + "license": "MIT", + "name": "bytes", + "repository": { + "type": "git", + "url": "git+https://github.com/visionmedia/bytes.js.git" + }, + "scripts": { + "lint": "eslint .", + "test": "mocha --check-leaks --reporter spec", + "test-ci": "nyc --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + }, + "version": "3.1.0" +} diff --git a/node_modules/caniuse-lite/CHANGELOG.md b/node_modules/caniuse-lite/CHANGELOG.md new file mode 100644 index 000000000..c1509a883 --- /dev/null +++ b/node_modules/caniuse-lite/CHANGELOG.md @@ -0,0 +1,411 @@ +# 1.x releases + +The contents of this section have been generated automatically; each version +tracks the `caniuse-db` package at the same version. + +- **1.0.30001117** was released on August 21st, 2020 at 04:32. +- **1.0.30001116** was released on August 18th, 2020 at 20:32. +- **1.0.30001115** was released on August 18th, 2020 at 02:32. +- **1.0.30001114** was released on August 14th, 2020 at 05:32. +- **1.0.30001113** was released on August 11th, 2020 at 05:33. +- **1.0.30001112** was released on August 7th, 2020 at 04:32. +- **1.0.30001111** was released on August 5th, 2020 at 03:32. +- **1.0.30001110** was released on August 4th, 2020 at 06:33. +- **1.0.30001109** was released on July 30th, 2020 at 05:33. +- **1.0.30001107** was released on July 26th, 2020 at 23:32. +- **1.0.30001106** was released on July 25th, 2020 at 22:33. +- **1.0.30001105** was released on July 22nd, 2020 at 05:33. +- **1.0.30001104** was released on July 20th, 2020 at 06:32. +- **1.0.30001103** was released on July 19th, 2020 at 05:32. +- **1.0.30001102** was released on July 17th, 2020 at 04:33. +- **1.0.30001101** was released on July 17th, 2020 at 02:32. +- **1.0.30001100** was released on July 15th, 2020 at 02:32. +- **1.0.30001099** was released on July 11th, 2020 at 19:32. +- **1.0.30001097** was released on July 10th, 2020 at 03:32. +- **1.0.30001096** was released on July 8th, 2020 at 05:32. +- **1.0.30001094** was released on July 5th, 2020 at 05:33. +- **1.0.30001093** was released on July 1st, 2020 at 22:33. +- **1.0.30001092** was released on July 1st, 2020 at 21:33. +- **1.0.30001091** was released on June 30th, 2020 at 22:32. +- **1.0.30001090** was released on June 27th, 2020 at 19:32. +- **1.0.30001089** was released on June 27th, 2020 at 06:32. +- **1.0.30001088** was released on June 24th, 2020 at 05:32. +- **1.0.30001087** was released on June 23rd, 2020 at 05:33. +- **1.0.30001085** was released on June 21st, 2020 at 05:32. +- **1.0.30001084** was released on June 16th, 2020 at 06:33. +- **1.0.30001083** was released on June 13th, 2020 at 19:32. +- **1.0.30001081** was released on June 10th, 2020 at 03:33. +- **1.0.30001079** was released on June 8th, 2020 at 06:32. +- **1.0.30001078** was released on June 5th, 2020 at 06:32. +- **1.0.30001077** was released on June 3rd, 2020 at 04:32. +- **1.0.30001076** was released on June 2nd, 2020 at 03:32. +- **1.0.30001074** was released on June 1st, 2020 at 06:32. +- **1.0.30001072** was released on May 31st, 2020 at 05:32. +- **1.0.30001070** was released on May 30th, 2020 at 06:32. +- **1.0.30001069** was released on May 29th, 2020 at 06:32. +- **1.0.30001068** was released on May 28th, 2020 at 06:32. +- **1.0.30001067** was released on May 26th, 2020 at 05:32. +- **1.0.30001066** was released on May 25th, 2020 at 21:32. +- **1.0.30001065** was released on May 24th, 2020 at 23:32. +- **1.0.30001064** was released on May 23rd, 2020 at 05:32. +- **1.0.30001063** was released on May 20th, 2020 at 04:32. +- **1.0.30001062** was released on May 19th, 2020 at 06:32. +- **1.0.30001061** was released on May 16th, 2020 at 04:32. +- **1.0.30001059** was released on May 15th, 2020 at 02:32. +- **1.0.30001058** was released on May 14th, 2020 at 02:32. +- **1.0.30001057** was released on May 14th, 2020 at 01:32. +- **1.0.30001055** was released on May 11th, 2020 at 00:32. +- **1.0.30001054** was released on May 8th, 2020 at 03:32. +- **1.0.30001053** was released on May 7th, 2020 at 04:32. +- **1.0.30001052** was released on May 6th, 2020 at 00:32. +- **1.0.30001051** was released on May 5th, 2020 at 04:32. +- **1.0.30001050** was released on May 4th, 2020 at 04:32. +- **1.0.30001049** was released on May 4th, 2020 at 03:32. +- **1.0.30001048** was released on April 25th, 2020 at 17:32. +- **1.0.30001047** was released on April 25th, 2020 at 16:32. +- **1.0.30001046** was released on April 23rd, 2020 at 06:32. +- **1.0.30001045** was released on April 21st, 2020 at 06:32. +- **1.0.30001043** was released on April 19th, 2020 at 04:32. +- **1.0.30001042** was released on April 15th, 2020 at 04:32. +- **1.0.30001041** was released on April 13th, 2020 at 03:32. +- **1.0.30001040** was released on April 9th, 2020 at 05:32. +- **1.0.30001039** was released on April 4th, 2020 at 04:32. +- **1.0.30001038** was released on March 26th, 2020 at 05:32. +- **1.0.30001037** was released on March 25th, 2020 at 05:32. +- **1.0.30001036** was released on March 23rd, 2020 at 06:32. +- **1.0.30001035** was released on March 12th, 2020 at 06:32. +- **1.0.30001034** was released on March 12th, 2020 at 05:32. +- **1.0.30001033** was released on March 9th, 2020 at 05:32. +- **1.0.30001032** was released on March 5th, 2020 at 05:33. +- **1.0.30001031** was released on March 2nd, 2020 at 05:32. +- **1.0.30001030** was released on February 24th, 2020 at 07:32. +- **1.0.30001029** was released on February 24th, 2020 at 05:32. +- **1.0.30001028** was released on February 18th, 2020 at 05:32. +- **1.0.30001027** was released on February 10th, 2020 at 05:32. +- **1.0.30001026** was released on February 10th, 2020 at 04:32. +- **1.0.30001025** was released on February 4th, 2020 at 06:32. +- **1.0.30001024** was released on February 3rd, 2020 at 22:10. +- **1.0.30001023** was released on January 25th, 2020 at 07:32. +- **1.0.30001022** was released on January 21st, 2020 at 02:32. +- **1.0.30001021** was released on January 15th, 2020 at 05:32. +- **1.0.30001020** was released on January 9th, 2020 at 05:32. +- **1.0.30001019** was released on January 5th, 2020 at 01:32. +- **1.0.30001018** was released on January 3rd, 2020 at 23:32. +- **1.0.30001017** was released on December 27th, 2019 at 18:32. +- **1.0.30001016** was released on December 16th, 2019 at 06:32. +- **1.0.30001015** was released on December 4th, 2019 at 07:32. +- **1.0.30001013** was released on December 2nd, 2019 at 06:32. +- **1.0.30001012** was released on November 25th, 2019 at 06:32. +- **1.0.30001011** was released on November 20th, 2019 at 05:32. +- **1.0.30001010** was released on November 14th, 2019 at 07:32. +- **1.0.30001009** was released on November 13th, 2019 at 05:32. +- **1.0.30001008** was released on November 4th, 2019 at 06:32. +- **1.0.30001006** was released on October 30th, 2019 at 03:32. +- **1.0.30001005** was released on October 27th, 2019 at 05:32. +- **1.0.30001004** was released on October 24th, 2019 at 06:32. +- **1.0.30001002** was released on October 21st, 2019 at 06:32. +- **1.0.30001001** was released on October 21st, 2019 at 04:32. +- **1.0.30000999** was released on October 6th, 2019 at 00:32. +- **1.0.30000998** was released on October 2nd, 2019 at 06:32. +- **1.0.30000997** was released on September 24th, 2019 at 04:32. +- **1.0.30000996** was released on September 20th, 2019 at 05:32. +- **1.0.30000995** was released on September 16th, 2019 at 04:32. +- **1.0.30000994** was released on September 11th, 2019 at 05:32. +- **1.0.30000992** was released on September 5th, 2019 at 05:32. +- **1.0.30000990** was released on September 4th, 2019 at 05:32. +- **1.0.30000989** was released on August 6th, 2019 at 04:32. +- **1.0.30000988** was released on July 31st, 2019 at 03:32. +- **1.0.30000987** was released on July 30th, 2019 at 05:32. +- **1.0.30000986** was released on July 27th, 2019 at 05:32. +- **1.0.30000985** was released on July 21st, 2019 at 05:32. +- **1.0.30000984** was released on July 13th, 2019 at 05:32. +- **1.0.30000983** was released on July 10th, 2019 at 06:32. +- **1.0.30000981** was released on July 8th, 2019 at 06:32. +- **1.0.30000980** was released on July 5th, 2019 at 17:32. +- **1.0.30000979** was released on July 1st, 2019 at 06:32. +- **1.0.30000978** was released on June 26th, 2019 at 06:32. +- **1.0.30000977** was released on June 25th, 2019 at 06:32. +- **1.0.30000976** was released on June 21st, 2019 at 06:32. +- **1.0.30000975** was released on June 18th, 2019 at 06:32. +- **1.0.30000974** was released on June 6th, 2019 at 06:32. +- **1.0.30000973** was released on June 4th, 2019 at 06:32. +- **1.0.30000971** was released on May 22nd, 2019 at 04:32. +- **1.0.30000969** was released on May 16th, 2019 at 03:32. +- **1.0.30000967** was released on May 7th, 2019 at 05:32. +- **1.0.30000966** was released on May 3rd, 2019 at 05:32. +- **1.0.30000965** was released on May 3rd, 2019 at 04:32. +- **1.0.30000963** was released on April 24th, 2019 at 04:32. +- **1.0.30000962** was released on April 19th, 2019 at 04:32. +- **1.0.30000960** was released on April 16th, 2019 at 06:32. +- **1.0.30000959** was released on April 15th, 2019 at 03:32. +- **1.0.30000958** was released on April 14th, 2019 at 21:32. +- **1.0.30000957** was released on April 3rd, 2019 at 06:32. +- **1.0.30000956** was released on April 3rd, 2019 at 04:32. +- **1.0.30000955** was released on March 28th, 2019 at 06:32. +- **1.0.30000954** was released on March 27th, 2019 at 05:32. +- **1.0.30000953** was released on March 26th, 2019 at 05:32. +- **1.0.30000952** was released on March 26th, 2019 at 02:32. +- **1.0.30000951** was released on March 20th, 2019 at 04:32. +- **1.0.30000950** was released on March 17th, 2019 at 06:32. +- **1.0.30000949** was released on March 16th, 2019 at 03:32. +- **1.0.30000948** was released on March 15th, 2019 at 06:32. +- **1.0.30000947** was released on March 14th, 2019 at 05:32. +- **1.0.30000946** was released on March 13th, 2019 at 05:32. +- **1.0.30000945** was released on March 12th, 2019 at 06:32. +- **1.0.30000944** was released on March 12th, 2019 at 05:32. +- **1.0.30000943** was released on March 10th, 2019 at 03:32. +- **1.0.30000942** was released on March 7th, 2019 at 04:32. +- **1.0.30000941** was released on March 5th, 2019 at 04:32. +- **1.0.30000940** was released on March 3rd, 2019 at 20:32. +- **1.0.30000939** was released on February 23rd, 2019 at 04:32. +- **1.0.30000938** was released on February 15th, 2019 at 05:32. +- **1.0.30000937** was released on February 15th, 2019 at 04:32. +- **1.0.30000936** was released on February 11th, 2019 at 04:32. +- **1.0.30000935** was released on February 5th, 2019 at 05:32. +- **1.0.30000934** was released on February 3rd, 2019 at 07:32. +- **1.0.30000933** was released on January 31st, 2019 at 05:32. +- **1.0.30000932** was released on January 25th, 2019 at 07:32. +- **1.0.30000931** was released on January 25th, 2019 at 06:32. +- **1.0.30000930** was released on January 23rd, 2019 at 05:32. +- **1.0.30000929** was released on January 16th, 2019 at 05:32. +- **1.0.30000928** was released on January 10th, 2019 at 06:32. +- **1.0.30000927** was released on January 4th, 2019 at 03:32. +- **1.0.30000926** was released on January 2nd, 2019 at 02:32. +- **1.0.30000925** was released on December 28th, 2018 at 03:32. +- **1.0.30000923** was released on December 20th, 2018 at 00:32. +- **1.0.30000921** was released on December 14th, 2018 at 05:32. +- **1.0.30000919** was released on December 14th, 2018 at 04:32. +- **1.0.30000918** was released on December 10th, 2018 at 05:32. +- **1.0.30000917** was released on December 10th, 2018 at 01:32. +- **1.0.30000916** was released on December 6th, 2018 at 06:32. +- **1.0.30000915** was released on December 6th, 2018 at 05:32. +- **1.0.30000914** was released on December 4th, 2018 at 06:32. +- **1.0.30000913** was released on December 3rd, 2018 at 07:32. +- **1.0.30000912** was released on November 27th, 2018 at 15:32. +- **1.0.30000911** was released on November 27th, 2018 at 06:32. +- **1.0.30000910** was released on November 21st, 2018 at 06:32. +- **1.0.30000909** was released on November 18th, 2018 at 06:32. +- **1.0.30000908** was released on November 18th, 2018 at 05:32. +- **1.0.30000907** was released on November 8th, 2018 at 07:32. +- **1.0.30000906** was released on November 6th, 2018 at 05:32. +- **1.0.30000905** was released on November 5th, 2018 at 05:32. +- **1.0.30000904** was released on November 3rd, 2018 at 06:32. +- **1.0.30000903** was released on October 31st, 2018 at 05:32. +- **1.0.30000902** was released on October 30th, 2018 at 04:32. +- **1.0.30000901** was released on October 30th, 2018 at 03:32. +- **1.0.30000900** was released on October 29th, 2018 at 01:32. +- **1.0.30000899** was released on October 25th, 2018 at 04:32. +- **1.0.30000898** was released on October 23rd, 2018 at 05:32. +- **1.0.30000893** was released on October 18th, 2018 at 05:32. +- **1.0.30000892** was released on October 15th, 2018 at 06:32. +- **1.0.30000890** was released on October 8th, 2018 at 03:32. +- **1.0.30000889** was released on October 3rd, 2018 at 04:32. +- **1.0.30000888** was released on September 28th, 2018 at 02:32. +- **1.0.30000887** was released on September 23rd, 2018 at 04:32. +- **1.0.30000886** was released on September 21st, 2018 at 06:32. +- **1.0.30000885** was released on September 6th, 2018 at 05:32. +- **1.0.30000884** was released on September 4th, 2018 at 04:32. +- **1.0.30000883** was released on August 30th, 2018 at 04:32. +- **1.0.30000882** was released on August 29th, 2018 at 05:32. +- **1.0.30000880** was released on August 28th, 2018 at 06:32. +- **1.0.30000878** was released on August 21st, 2018 at 06:32. +- **1.0.30000877** was released on August 14th, 2018 at 05:32. +- **1.0.30000876** was released on August 13th, 2018 at 01:32. +- **1.0.30000874** was released on August 3rd, 2018 at 06:47. +- **1.0.30000872** was released on August 2nd, 2018 at 22:47. +- **1.0.30000865** was released on July 10th, 2018 at 05:00. +- **1.0.30000864** was released on July 5th, 2018 at 03:01. +- **1.0.30000862** was released on July 3rd, 2018 at 06:00. +- **1.0.30000861** was released on June 29th, 2018 at 05:00. +- **1.0.30000860** was released on June 28th, 2018 at 06:00. +- **1.0.30000859** was released on June 26th, 2018 at 06:00. +- **1.0.30000858** was released on June 24th, 2018 at 00:01. +- **1.0.30000857** was released on June 23rd, 2018 at 23:00. +- **1.0.30000856** was released on June 15th, 2018 at 06:01. +- **1.0.30000855** was released on June 14th, 2018 at 06:00. +- **1.0.30000854** was released on June 14th, 2018 at 05:00. +- **1.0.30000853** was released on June 13th, 2018 at 07:00. +- **1.0.30000852** was released on June 12th, 2018 at 07:00. +- **1.0.30000851** was released on June 8th, 2018 at 06:00. +- **1.0.30000850** was released on June 7th, 2018 at 07:00. +- **1.0.30000849** was released on June 5th, 2018 at 07:00. +- **1.0.30000848** was released on June 4th, 2018 at 15:01. +- **1.0.30000847** was released on May 31st, 2018 at 07:00. +- **1.0.30000846** was released on May 24th, 2018 at 07:00. +- **1.0.30000845** was released on May 23rd, 2018 at 23:00. +- **1.0.30000844** was released on May 22nd, 2018 at 11:00. +- **1.0.30000845** was released on May 22nd, 2018 at 06:02. +- **1.0.30000844** was released on May 21st, 2018 at 04:00. +- **1.0.30000843** was released on May 18th, 2018 at 07:01. +- **1.0.30000842** was released on May 17th, 2018 at 06:00. +- **1.0.30000841** was released on May 16th, 2018 at 06:00. +- **1.0.30000840** was released on May 14th, 2018 at 06:00. +- **1.0.30000839** was released on May 10th, 2018 at 07:00. +- **1.0.30000838** was released on May 10th, 2018 at 06:01. +- **1.0.30000836** was released on May 8th, 2018 at 05:00. +- **1.0.30000835** was released on May 6th, 2018 at 05:00. +- **1.0.30000834** was released on May 6th, 2018 at 04:00. +- **1.0.30000833** was released on May 2nd, 2018 at 04:01. +- **1.0.30000832** was released on April 28th, 2018 at 04:00. +- **1.0.30000831** was released on April 28th, 2018 at 03:00. +- **1.0.30000830** was released on April 14th, 2018 at 05:00. +- **1.0.30000828** was released on April 12th, 2018 at 06:00. +- **1.0.30000827** was released on April 10th, 2018 at 05:00. +- **1.0.30000826** was released on April 10th, 2018 at 04:00. +- **1.0.30000824** was released on April 6th, 2018 at 05:00. +- **1.0.30000823** was released on April 3rd, 2018 at 06:01. +- **1.0.30000822** was released on April 3rd, 2018 at 05:00. +- **1.0.30000821** was released on March 28th, 2018 at 04:00. +- **1.0.30000820** was released on March 25th, 2018 at 05:01. +- **1.0.30000819** was released on March 22nd, 2018 at 06:01. +- **1.0.30000817** was released on March 21st, 2018 at 06:01. +- **1.0.30000815** was released on March 15th, 2018 at 06:01. +- **1.0.30000814** was released on March 13th, 2018 at 06:01. +- **1.0.30000813** was released on March 6th, 2018 at 07:00. +- **1.0.30000812** was released on March 5th, 2018 at 05:01. +- **1.0.30000811** was released on March 3rd, 2018 at 08:01. +- **1.0.30000810** was released on February 20th, 2018 at 00:00. +- **1.0.30000809** was released on February 18th, 2018 at 02:01. +- **1.0.30000808** was released on February 11th, 2018 at 07:00. +- **1.0.30000807** was released on February 10th, 2018 at 06:00. +- **1.0.30000805** was released on February 9th, 2018 at 05:00. +- **1.0.30000804** was released on February 7th, 2018 at 07:00. +- **1.0.30000803** was released on February 6th, 2018 at 07:00. +- **1.0.30000802** was released on February 5th, 2018 at 23:14. +- **1.0.30000792** was released on January 15th, 2018 at 06:01. +- **1.0.30000791** was released on January 12th, 2018 at 06:01. +- **1.0.30000790** was released on January 11th, 2018 at 08:00. +- **1.0.30000789** was released on January 7th, 2018 at 05:00. +- **1.0.30000788** was released on January 7th, 2018 at 04:00. +- **1.0.30000787** was released on January 3rd, 2018 at 23:00. +- **1.0.30000786** was released on January 3rd, 2018 at 19:00. +- **1.0.30000785** was released on January 3rd, 2018 at 18:01. +- **1.0.30000784** was released on December 20th, 2017 at 05:01. +- **1.0.30000783** was released on December 13th, 2017 at 06:01. +- **1.0.30000782** was released on December 10th, 2017 at 07:01. +- **1.0.30000781** was released on December 10th, 2017 at 06:01. +- **1.0.30000780** was released on December 6th, 2017 at 06:01. +- **1.0.30000779** was released on December 6th, 2017 at 05:01. +- **1.0.30000778** was released on December 4th, 2017 at 07:01. +- **1.0.30000777** was released on December 1st, 2017 at 07:00. +- **1.0.30000776** was released on December 1st, 2017 at 05:01. +- **1.0.30000775** was released on November 29th, 2017 at 06:00. +- **1.0.30000774** was released on November 29th, 2017 at 05:01. +- **1.0.30000772** was released on November 26th, 2017 at 07:01. +- **1.0.30000770** was released on November 23rd, 2017 at 06:01. +- **1.0.30000769** was released on November 21st, 2017 at 06:01. +- **1.0.30000766** was released on November 17th, 2017 at 06:01. +- **1.0.30000765** was released on November 16th, 2017 at 05:00. +- **1.0.30000764** was released on November 14th, 2017 at 07:00. +- **1.0.30000762** was released on November 14th, 2017 at 06:00. +- **1.0.30000760** was released on November 8th, 2017 at 04:00. +- **1.0.30000758** was released on November 3rd, 2017 at 06:01. +- **1.0.30000757** was released on November 2nd, 2017 at 06:00. +- **1.0.30000756** was released on October 30th, 2017 at 06:00. +- **1.0.30000755** was released on October 28th, 2017 at 07:00. +- **1.0.30000753** was released on October 28th, 2017 at 06:00. +- **1.0.30000752** was released on October 27th, 2017 at 05:00. +- **1.0.30000751** was released on October 26th, 2017 at 05:00. +- **1.0.30000750** was released on October 25th, 2017 at 05:00. +- **1.0.30000749** was released on October 22nd, 2017 at 23:00. +- **1.0.30000748** was released on October 19th, 2017 at 06:00. +- **1.0.30000747** was released on October 18th, 2017 at 06:00. +- **1.0.30000746** was released on October 11th, 2017 at 05:00. +- **1.0.30000745** was released on October 9th, 2017 at 03:00. +- **1.0.30000744** was released on October 5th, 2017 at 06:01. +- **1.0.30000743** was released on October 4th, 2017 at 06:00. +- **1.0.30000742** was released on October 4th, 2017 at 05:01. +- **1.0.30000741** was released on October 3rd, 2017 at 04:00. +- **1.0.30000740** was released on September 29th, 2017 at 05:00. +- **1.0.30000739** was released on September 28th, 2017 at 05:00. +- **1.0.30000738** was released on September 25th, 2017 at 07:00. +- **1.0.30000737** was released on September 24th, 2017 at 06:00. +- **1.0.30000736** was released on September 24th, 2017 at 05:00. +- **1.0.30000735** was released on September 22nd, 2017 at 05:00. +- **1.0.30000734** was released on September 22nd, 2017 at 01:00. +- **1.0.30000733** was released on September 18th, 2017 at 05:00. +- **1.0.30000732** was released on September 17th, 2017 at 06:00. +- **1.0.30000731** was released on September 16th, 2017 at 06:00. +- **1.0.30000730** was released on September 15th, 2017 at 06:00. +- **1.0.30000727** was released on September 11th, 2017 at 07:00. +- **1.0.30000726** was released on September 6th, 2017 at 04:00. +- **1.0.30000725** was released on September 5th, 2017 at 06:00. +- **1.0.30000724** was released on September 5th, 2017 at 05:00. +- **1.0.30000723** was released on September 4th, 2017 at 20:00. +- **1.0.30000722** was released on September 4th, 2017 at 05:00. +- **1.0.30000721** was released on August 30th, 2017 at 06:00. +- **1.0.30000720** was released on August 30th, 2017 at 05:00. +- **1.0.30000718** was released on August 25th, 2017 at 07:00. +- **1.0.30000717** was released on August 22nd, 2017 at 04:00. +- **1.0.30000716** was released on August 20th, 2017 at 07:00. +- **1.0.30000715** was released on August 11th, 2017 at 06:00. +- **1.0.30000714** was released on August 11th, 2017 at 05:00. +- **1.0.30000713** was released on August 9th, 2017 at 06:00. +- **1.0.30000712** was released on August 7th, 2017 at 04:00. +- **1.0.30000711** was released on August 7th, 2017 at 01:00. +- **1.0.30000710** was released on August 4th, 2017 at 03:00. +- **1.0.30000709** was released on August 1st, 2017 at 05:00. +- **1.0.30000708** was released on July 27th, 2017 at 07:01. +- **1.0.30000706** was released on July 25th, 2017 at 16:06. +- **1.0.30000704** was released on July 20th, 2017 at 07:01. +- **1.0.30000703** was released on July 19th, 2017 at 06:01. +- **1.0.30000702** was released on July 18th, 2017 at 08:01. +- **1.0.30000701** was released on July 14th, 2017 at 06:01. +- **1.0.30000700** was released on July 12th, 2017 at 07:01. +- **1.0.30000699** was released on July 11th, 2017 at 06:02. +- **1.0.30000698** was released on July 10th, 2017 at 06:01. +- **1.0.30000697** was released on July 5th, 2017 at 06:01. +- **1.0.30000696** was released on June 27th, 2017 at 07:01. +- **1.0.30000695** was released on June 27th, 2017 at 05:01. +- **1.0.30000694** was released on June 24th, 2017 at 05:01. +- **1.0.30000693** was released on June 22nd, 2017 at 04:01. +- **1.0.30000692** was released on June 19th, 2017 at 07:01. +- **1.0.30000690** was released on June 18th, 2017 at 07:01. +- **1.0.30000689** was released on June 18th, 2017 at 06:01. +- **1.0.30000688** was released on June 18th, 2017 at 05:01. +- **1.0.30000687** was released on June 18th, 2017 at 04:01. +- **1.0.30000686** was released on June 15th, 2017 at 07:01. +- **1.0.30000684** was released on June 13th, 2017 at 05:01. +- **1.0.30000683** was released on June 10th, 2017 at 05:01. +- **1.0.30000680** was released on June 8th, 2017 at 08:01. +- **1.0.30000679** was released on June 6th, 2017 at 06:01. +- **1.0.30000677** was released on June 5th, 2017 at 00:01. +- **1.0.30000676** was released on May 30th, 2017 at 06:01. +- **1.0.30000674** was released on May 28th, 2017 at 06:01. +- **1.0.30000673** was released on May 27th, 2017 at 06:01. +- **1.0.30000672** was released on May 26th, 2017 at 06:01. +- **1.0.30000671** was released on May 25th, 2017 at 07:01. +- **1.0.30000670** was released on May 15th, 2017 at 07:01. +- **1.0.30000669** was released on May 14th, 2017 at 06:01. +- **1.0.30000668** was released on May 14th, 2017 at 05:01. +- **1.0.30000667** was released on May 12th, 2017 at 07:01. +- **1.0.30000666** was released on May 8th, 2017 at 06:01. +- **1.0.30000665** was released on May 3rd, 2017 at 08:01. +- **1.0.30000664** was released on April 28th, 2017 at 06:01. +- **1.0.30000663** was released on April 28th, 2017 at 05:01. +- **1.0.30000662** was released on April 26th, 2017 at 07:01. +- **1.0.30000661** was released on April 26th, 2017 at 06:01. +- **1.0.30000660** was released on April 24th, 2017 at 17:01. +- **1.0.30000659** was released on April 24th, 2017 at 00:01. +- **1.0.30000657** was released on April 21st, 2017 at 06:01. +- **1.0.30000656** was released on April 20th, 2017 at 12:16. +- **1.0.30000655** was released on April 17th, 2017 at 17:06. + +# 0.3.0 + +- Add the `title` key to each feature. +- Update `caniuse-db` to `1.0.30000653`. +- Test automated publish script. + +# 0.2.0 + +- Rewrite of the module. Now tries to be less clever with version merging, + instead opting for base62 identifiers for versions, and it is now tested + for accuracy against the original data. +- `null` versions are now preserved to be consistent with caniuse-db. +- All data is now stored as JS objects rather than JSON. +- The browser map is now automatically generated. + +# 0.1.0 + +- Initial release. diff --git a/node_modules/caniuse-lite/LICENSE b/node_modules/caniuse-lite/LICENSE new file mode 100644 index 000000000..06c608dcf --- /dev/null +++ b/node_modules/caniuse-lite/LICENSE @@ -0,0 +1,395 @@ +Attribution 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution 4.0 International Public License ("Public License"). To the +extent this Public License may be interpreted as a contract, You are +granted the Licensed Rights in consideration of Your acceptance of +these terms and conditions, and the Licensor grants You such rights in +consideration of benefits the Licensor receives from making the +Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the “Licensor.” The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/node_modules/caniuse-lite/README.md b/node_modules/caniuse-lite/README.md new file mode 100644 index 000000000..84e471c34 --- /dev/null +++ b/node_modules/caniuse-lite/README.md @@ -0,0 +1,103 @@ +# caniuse-lite + +> A smaller version of caniuse-db, with only the essentials! + +## Why? + +The full data behind [Can I use][1] is incredibly useful for any front end +developer, and on the website all of the details from the database are displayed +to the user. However in automated tools, [many of these fields go unused][2]; +it's not a problem for server side consumption but client side, the less +JavaScript that we send to the end user the better. + +caniuse-lite then, is a smaller dataset that keeps essential parts of the data +in a compact format. It does this in multiple ways, such as converting `null` +array entries into empty strings, representing support data as an integer rather +than a string, and using base62 references instead of longer human-readable +keys. + +This packed data is then reassembled (via functions exposed by this module) into +a larger format which is mostly compatible with caniuse-db, and so it can be +used as an almost drop-in replacement for caniuse-db for contexts where size on +disk is important; for example, usage in web browsers. The API differences are +very small and are detailed in the section below. + + +## API + +```js +import * as lite from 'caniuse-lite'; +``` + +### `lite.agents` + +caniuse-db provides a full `data.json` file which contains all of the features +data. Instead of this large file, caniuse-lite provides this data subset +instead, which has the `browser`, `prefix`, `prefix_exceptions`, `usage_global` +and `versions` keys from the original. + +In addition, the subset contains the `release_date` key with release dates (as timestamps) for each version: +```json +{ + "release_date": { + "6": 998870400, + "7": 1161129600, + "8": 1237420800, + "9": 1300060800, + "10": 1346716800, + "11": 1381968000, + "5.5": 962323200 + } +} +``` + +### `lite.feature(js)` + +The `feature` method takes a file from `data/features` and converts it into +something that more closely represents the `caniuse-db` format. Note that only +the `title`, `stats` and `status` keys are kept from the original data. + +### `lite.features` + +The `features` index is provided as a way to query all of the features that +are listed in the `caniuse-db` dataset. Note that you will need to use the +`feature` method on values from this index to get a human-readable format. + +### `lite.region(js)` + +The `region` method takes a file from `data/regions` and converts it into +something that more closely represents the `caniuse-db` format. Note that *only* +the usage data is exposed here (the `data` key in the original files). + + +## Contributors + +Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): + + + +| [
Ben Briggs](http://beneb.info)
[💻](https://github.com/ben-eb/caniuse-lite/commits?author=ben-eb "Code") [📖](https://github.com/ben-eb/caniuse-lite/commits?author=ben-eb "Documentation") [👀](#review-ben-eb "Reviewed Pull Requests") [⚠️](https://github.com/ben-eb/caniuse-lite/commits?author=ben-eb "Tests") | [
Andy Jansson](https://github.com/andyjansson)
[💻](https://github.com/ben-eb/caniuse-lite/commits?author=andyjansson "Code") | [
Andrey Sitnik](http://twitter.com/sitnikcode)
[💻](https://github.com/ben-eb/caniuse-lite/commits?author=ai "Code") |
Igor Deryabin
[💻](https://github.com/ben-eb/caniuse-lite/commits?author=rodweb "Code") | +| :---: | :---: | :---: | :---: | + + +This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome! + +Digital Ocean logo + +Big thanks to [DigitalOcean](https://www.digitalocean.com/?utm_source=opensource&utm_campaign=caniuse-lite) for supporting this project by providing their great infrastructure for us. + +## License + +The data in this repo is available for use under a CC BY 4.0 license +(http://creativecommons.org/licenses/by/4.0/). For attribution just mention +somewhere that the source is caniuse.com. If you have any questions about using +the data for your project please contact me here: http://a.deveria.com/contact + +[1]: http://caniuse.com/ +[2]: https://github.com/Fyrd/caniuse/issues/1827 + +## Security contact information + +To report a security vulnerability, please use the +[Tidelift security contact](https://tidelift.com/security). +Tidelift will coordinate the fix and disclosure. diff --git a/node_modules/caniuse-lite/data/agents.js b/node_modules/caniuse-lite/data/agents.js new file mode 100644 index 000000000..40e44f1ce --- /dev/null +++ b/node_modules/caniuse-lite/data/agents.js @@ -0,0 +1 @@ +module.exports={A:{A:{I:0.00595864,D:0.00595864,F:0.0715037,E:0.232387,A:0.0178759,B:1.30494,iB:0.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","iB","I","D","F","E","A","B","","",""],E:"IE",F:{iB:962323200,I:998870400,D:1161129600,F:1237420800,E:1300060800,A:1346716800,B:1381968000}},B:{A:{C:0.009284,O:0.004642,H:0.013926,Q:0.009284,J:0.02321,K:0.088198,L:0.770572,V:0,y:0.004711,M:0.041778,WB:0.99803,S:0.854128},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","O","H","Q","J","K","L","V","y","M","WB","S","","",""],E:"Edge",F:{C:1438128000,O:1447286400,H:1470096000,Q:1491868800,J:1508198400,K:1525046400,L:1542067200,V:1579046400,y:1581033600,M:1586736000,WB:1590019200,S:1594857600},D:{C:"ms",O:"ms",H:"ms",Q:"ms",J:"ms",K:"ms",L:"ms"}},C:{A:{"0":0.018568,"1":0.004538,"2":0.004642,"3":0.004642,"4":0.11605,"5":0.004335,"6":0.009284,"7":0.009284,"8":0.018568,"9":0.009284,sB:0.004827,KB:0.004538,G:0.013926,W:0.004879,I:0.020136,D:0.005725,F:0.004525,E:0.00533,A:0.004283,B:0.004711,C:0.004471,O:0.004486,H:0.00453,Q:0.004465,J:0.004417,K:0.008922,L:0.004393,X:0.004443,Y:0.004283,Z:0.013596,a:0.013698,b:0.013614,c:0.008786,d:0.004403,e:0.004317,f:0.004393,g:0.004418,h:0.008834,i:0.004403,j:0.008928,k:0.004471,l:0.009284,m:0.004707,n:0.009076,o:0.004465,p:0.004783,q:0.004642,r:0.004783,s:0.00487,t:0.005029,u:0.0047,v:0.041778,w:0.004642,x:0.009284,P:0.004525,z:0.009284,AB:0.004642,LB:0.009284,CB:0.018568,JB:0.009284,EB:0.009284,FB:0.037136,GB:0.027852,HB:0.027852,DB:0.02321,U:0.009284,N:0.13926,T:0.009284,MB:0.009284,NB:0.009284,OB:0.032494,PB:0.009284,QB:0.018568,RB:0.018568,SB:0.051062,TB:0.645238,UB:2.36742,V:0.148544,y:0,M:0,pB:0.008786,hB:0.00487},B:"moz",C:["sB","KB","pB","hB","G","W","I","D","F","E","A","B","C","O","H","Q","J","K","L","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","P","z","0","1","2","3","4","5","6","7","8","9","AB","LB","CB","JB","EB","FB","GB","HB","DB","U","N","T","MB","NB","OB","PB","QB","RB","SB","TB","UB","V","y","M",""],E:"Firefox",F:{"0":1470096000,"1":1474329600,"2":1479168000,"3":1485216000,"4":1488844800,"5":1492560000,"6":1497312000,"7":1502150400,"8":1506556800,"9":1510617600,sB:1161648000,KB:1213660800,pB:1246320000,hB:1264032000,G:1300752000,W:1308614400,I:1313452800,D:1317081600,F:1317081600,E:1320710400,A:1324339200,B:1327968000,C:1331596800,O:1335225600,H:1338854400,Q:1342483200,J:1346112000,K:1349740800,L:1353628800,X:1357603200,Y:1361232000,Z:1364860800,a:1368489600,b:1372118400,c:1375747200,d:1379376000,e:1386633600,f:1391472000,g:1395100800,h:1398729600,i:1402358400,j:1405987200,k:1409616000,l:1413244800,m:1417392000,n:1421107200,o:1424736000,p:1428278400,q:1431475200,r:1435881600,s:1439251200,t:1442880000,u:1446508800,v:1450137600,w:1453852800,x:1457395200,P:1461628800,z:1465257600,AB:1516665600,LB:1520985600,CB:1525824000,JB:1529971200,EB:1536105600,FB:1540252800,GB:1544486400,HB:1548720000,DB:1552953600,U:1558396800,N:1562630400,T:1567468800,MB:1571788800,NB:1575331200,OB:1578355200,PB:1581379200,QB:1583798400,RB:1586304000,SB:1588636800,TB:1591056000,UB:1593475200,V:1595894400,y:null,M:null}},D:{A:{"0":0.02321,"1":0.311014,"2":0.004642,"3":0.009284,"4":0.004642,"5":0.041778,"6":0.018568,"7":0.013926,"8":0.027852,"9":0.027852,G:0.004706,W:0.004879,I:0.004879,D:0.005591,F:0.005591,E:0.005591,A:0.004534,B:0.004464,C:0.010424,O:0.009284,H:0.004706,Q:0.015087,J:0.004393,K:0.004393,L:0.008652,X:0.004418,Y:0.004393,Z:0.004317,a:0.013926,b:0.008786,c:0.004538,d:0.004461,e:0.004711,f:0.004326,g:0.0047,h:0.004538,i:0.004335,j:0.009284,k:0.004566,l:0.009422,m:0.009284,n:0.004335,o:0.004335,p:0.004464,q:0.027852,r:0.004464,s:0.013926,t:0.032494,u:0.004403,v:0.013926,w:0.004465,x:0.004642,P:0.004642,z:0.009284,AB:0.027852,LB:0.009284,CB:0.013926,JB:0.037136,EB:0.018568,FB:0.051062,GB:0.018568,HB:0.04642,DB:0.032494,U:0.04642,N:0.027852,T:0.088198,MB:0.181038,NB:0.218174,OB:0.213532,PB:0.120692,QB:0.111408,RB:0.09284,SB:0.102124,TB:0.083556,UB:0.125334,V:0.218174,y:0.37136,M:0.450274,WB:17.3472,S:10.4074,gB:0.027852,bB:0.018568,aB:0},B:"webkit",C:["G","W","I","D","F","E","A","B","C","O","H","Q","J","K","L","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","P","z","0","1","2","3","4","5","6","7","8","9","AB","LB","CB","JB","EB","FB","GB","HB","DB","U","N","T","MB","NB","OB","PB","QB","RB","SB","TB","UB","V","y","M","WB","S","gB","bB","aB"],E:"Chrome",F:{"0":1453248000,"1":1456963200,"2":1460592000,"3":1464134400,"4":1469059200,"5":1472601600,"6":1476230400,"7":1480550400,"8":1485302400,"9":1489017600,G:1264377600,W:1274745600,I:1283385600,D:1287619200,F:1291248000,E:1296777600,A:1299542400,B:1303862400,C:1307404800,O:1312243200,H:1316131200,Q:1316131200,J:1319500800,K:1323734400,L:1328659200,X:1332892800,Y:1337040000,Z:1340668800,a:1343692800,b:1348531200,c:1352246400,d:1357862400,e:1361404800,f:1364428800,g:1369094400,h:1374105600,i:1376956800,j:1384214400,k:1389657600,l:1392940800,m:1397001600,n:1400544000,o:1405468800,p:1409011200,q:1412640000,r:1416268800,s:1421798400,t:1425513600,u:1429401600,v:1432080000,w:1437523200,x:1441152000,P:1444780800,z:1449014400,AB:1492560000,LB:1496707200,CB:1500940800,JB:1504569600,EB:1508198400,FB:1512518400,GB:1516752000,HB:1520294400,DB:1523923200,U:1527552000,N:1532390400,T:1536019200,MB:1539648000,NB:1543968000,OB:1548720000,PB:1552348800,QB:1555977600,RB:1559606400,SB:1564444800,TB:1568073600,UB:1571702400,V:1575936000,y:1580860800,M:1586304000,WB:1589846400,S:1594684800,gB:null,bB:null,aB:null}},E:{A:{G:0,W:0.004566,I:0.004656,D:0.004465,F:0.004642,E:0.004642,A:0.009284,B:0.018568,C:0.055704,O:0.357434,H:0.013926,"0B":0,YB:0.008692,cB:0.148544,dB:0.00456,eB:0.004283,fB:0.037136,XB:0.051062,R:0.11605,BB:0.199606,jB:2.82698,kB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","0B","YB","G","W","cB","I","dB","D","eB","F","E","fB","A","XB","B","R","C","BB","O","jB","H","kB",""],E:"Safari",F:{"0B":1205798400,YB:1226534400,G:1244419200,W:1275868800,cB:1311120000,I:1343174400,dB:1382400000,D:1382400000,eB:1410998400,F:1413417600,E:1443657600,fB:1458518400,A:1474329600,XB:1490572800,B:1505779200,R:1522281600,C:1537142400,BB:1553472000,O:1568851200,jB:1585008000,H:null,kB:null}},F:{A:{"0":0.004707,"1":0.004827,"2":0.004707,"3":0.004707,"4":0.004326,"5":0.008922,"6":0.014349,"7":0.004725,"8":0.009284,"9":0.009284,E:0.0082,B:0.016581,C:0.004317,Q:0.00685,J:0.00685,K:0.00685,L:0.005014,X:0.006015,Y:0.004879,Z:0.006597,a:0.006597,b:0.013434,c:0.006702,d:0.006015,e:0.005595,f:0.004393,g:0.008652,h:0.004879,i:0.004879,j:0.004711,k:0.005152,l:0.005014,m:0.009758,n:0.004879,o:0.009284,p:0.004283,q:0.004367,r:0.004534,s:0.004367,t:0.004227,u:0.004418,v:0.009042,w:0.004227,x:0.004725,P:0.004417,z:0.008942,AB:0.013926,CB:0.004403,EB:0.004532,FB:0.004566,GB:0.02283,HB:0.00867,DB:0.004656,U:0.004642,N:0.64988,T:0.32494,lB:0.00685,mB:0,nB:0.008392,oB:0.004706,R:0.006229,VB:0.004879,qB:0.008786,BB:0.009284},B:"webkit",C:["","","","","","","","","","","","","","","","","E","lB","mB","nB","oB","B","R","VB","qB","C","BB","Q","J","K","L","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","P","z","0","1","2","3","4","5","6","7","8","9","AB","CB","EB","FB","GB","HB","DB","U","N","T","","",""],E:"Opera",F:{"0":1506470400,"1":1510099200,"2":1515024000,"3":1517961600,"4":1521676800,"5":1525910400,"6":1530144000,"7":1534982400,"8":1537833600,"9":1543363200,E:1150761600,lB:1223424000,mB:1251763200,nB:1267488000,oB:1277942400,B:1292457600,R:1302566400,VB:1309219200,qB:1323129600,C:1323129600,BB:1352073600,Q:1372723200,J:1377561600,K:1381104000,L:1386288000,X:1390867200,Y:1393891200,Z:1399334400,a:1401753600,b:1405987200,c:1409616000,d:1413331200,e:1417132800,f:1422316800,g:1425945600,h:1430179200,i:1433808000,j:1438646400,k:1442448000,l:1445904000,m:1449100800,n:1454371200,o:1457308800,p:1462320000,q:1465344000,r:1470096000,s:1474329600,t:1477267200,u:1481587200,v:1486425600,w:1490054400,x:1494374400,P:1498003200,z:1502236800,AB:1548201600,CB:1554768000,EB:1561593600,FB:1566259200,GB:1570406400,HB:1573689600,DB:1578441600,U:1583971200,N:1587513600,T:1592956800},D:{E:"o",B:"o",C:"o",lB:"o",mB:"o",nB:"o",oB:"o",R:"o",VB:"o",qB:"o",BB:"o"}},G:{A:{F:0,YB:0.00306541,rB:0.00306541,IB:0.00306541,tB:0.00919623,uB:0.00306541,vB:0.0122616,wB:0.0183925,xB:0.0245233,yB:0.202317,zB:0.052112,ZB:0.245233,"1B":0.180859,"2B":0.285083,"3B":0.386242,"4B":2.35117,"5B":0.438354,"6B":0.214579,"7B":2.14272,"8B":5.18054,"9B":0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","YB","rB","IB","tB","uB","vB","F","wB","xB","yB","zB","ZB","1B","2B","3B","4B","5B","6B","7B","8B","9B","",""],E:"iOS Safari",F:{YB:1270252800,rB:1283904000,IB:1299628800,tB:1331078400,uB:1359331200,vB:1394409600,F:1410912000,wB:1413763200,xB:1442361600,yB:1458518400,zB:1473724800,ZB:1490572800,"1B":1505779200,"2B":1522281600,"3B":1537142400,"4B":1553472000,"5B":1568851200,"6B":1572220800,"7B":1580169600,"8B":1585008000,"9B":null}},H:{A:{AC:0.907827},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","AC","","",""],E:"Opera Mini",F:{AC:1426464000}},I:{A:{KB:0,G:0.00758717,M:0,BC:0,CC:0,DC:0.000758717,EC:0.0128982,IB:0.0212441,FC:0,GC:0.134293},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BC","CC","DC","KB","G","EC","IB","FC","GC","M","","",""],E:"Android Browser",F:{BC:1256515200,CC:1274313600,DC:1291593600,KB:1298332800,G:1318896000,EC:1341792000,IB:1374624000,FC:1386547200,GC:1401667200,M:1587427200}},J:{A:{D:0,A:0.005357},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376000,A:1359504000}},K:{A:{A:0,B:0,C:0,P:0.0111391,R:0,VB:0,BB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","R","VB","C","BB","P","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752000,R:1314835200,VB:1318291200,C:1330300800,BB:1349740800,P:1474588800},D:{P:"webkit"}},L:{A:{S:35.3789},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","S","","",""],E:"Chrome for Android",F:{S:1594684800}},M:{A:{N:0.257136},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","N","","",""],E:"Firefox for Android",F:{N:1567468800}},N:{A:{A:0.0115934,B:0.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456000}},O:{A:{HC:1.47318},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","HC","","",""],E:"UC Browser for Android",F:{HC:1471392000},D:{HC:"webkit"}},P:{A:{G:0.300468,IC:0.010361,JC:0.010361,KC:0.0932486,LC:0.0207219,MC:0.176136,XB:0.145053,NC:0.600936,OC:2.25869},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","G","IC","JC","KC","LC","MC","XB","NC","OC","","",""],E:"Samsung Internet",F:{G:1461024000,IC:1481846400,JC:1509408000,KC:1528329600,LC:1546128000,MC:1554163200,XB:1567900800,NC:1582588800,OC:1593475200}},Q:{A:{PC:0.219637},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","PC","","",""],E:"QQ Browser",F:{PC:1589846400}},R:{A:{QC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","QC","","",""],E:"Baidu Browser",F:{QC:1491004800}},S:{A:{RC:0.05357},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","","",""],E:"KaiOS Browser",F:{RC:1527811200}}}; diff --git a/node_modules/caniuse-lite/data/browserVersions.js b/node_modules/caniuse-lite/data/browserVersions.js new file mode 100644 index 000000000..2653912de --- /dev/null +++ b/node_modules/caniuse-lite/data/browserVersions.js @@ -0,0 +1 @@ +module.exports={"0":"48","1":"49","2":"50","3":"51","4":"52","5":"53","6":"54","7":"55","8":"56","9":"57",A:"10",B:"11",C:"12",D:"7",E:"9",F:"8",G:"4",H:"14",I:"6",J:"16",K:"17",L:"18",M:"81",N:"68",O:"13",P:"46",Q:"15",R:"11.1",S:"84",T:"69",U:"67",V:"79",W:"5",X:"19",Y:"20",Z:"21",a:"22",b:"23",c:"24",d:"25",e:"26",f:"27",g:"28",h:"29",i:"30",j:"31",k:"32",l:"33",m:"34",n:"35",o:"36",p:"37",q:"38",r:"39",s:"40",t:"41",u:"42",v:"43",w:"44",x:"45",y:"80",z:"47",AB:"58",BB:"12.1",CB:"60",DB:"66",EB:"62",FB:"63",GB:"64",HB:"65",IB:"4.2-4.3",JB:"61",KB:"3",LB:"59",MB:"70",NB:"71",OB:"72",PB:"73",QB:"74",RB:"75",SB:"76",TB:"77",UB:"78",VB:"11.5",WB:"83",XB:"10.1",YB:"3.2",ZB:"10.3",aB:"87",bB:"86",cB:"5.1",dB:"6.1",eB:"7.1",fB:"9.1",gB:"85",hB:"3.6",iB:"5.5",jB:"13.1",kB:"TP",lB:"9.5-9.6",mB:"10.0-10.1",nB:"10.5",oB:"10.6",pB:"3.5",qB:"11.6",rB:"4.0-4.1",sB:"2",tB:"5.0-5.1",uB:"6.0-6.1",vB:"7.0-7.1",wB:"8.1-8.4",xB:"9.0-9.2",yB:"9.3",zB:"10.0-10.2","0B":"3.1","1B":"11.0-11.2","2B":"11.3-11.4","3B":"12.0-12.1","4B":"12.2-12.4","5B":"13.0-13.1","6B":"13.2","7B":"13.3","8B":"13.4-13.5","9B":"14.0",AC:"all",BC:"2.1",CC:"2.2",DC:"2.3",EC:"4.1",FC:"4.4",GC:"4.4.3-4.4.4",HC:"12.12",IC:"5.0-5.4",JC:"6.2-6.4",KC:"7.2-7.4",LC:"8.2",MC:"9.2",NC:"11.1-11.2",OC:"12.0",PC:"10.4",QC:"7.12",RC:"2.5"}; diff --git a/node_modules/caniuse-lite/data/browsers.js b/node_modules/caniuse-lite/data/browsers.js new file mode 100644 index 000000000..04fbb50f7 --- /dev/null +++ b/node_modules/caniuse-lite/data/browsers.js @@ -0,0 +1 @@ +module.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}; diff --git a/node_modules/caniuse-lite/data/features.js b/node_modules/caniuse-lite/data/features.js new file mode 100644 index 000000000..d4d55d606 --- /dev/null +++ b/node_modules/caniuse-lite/data/features.js @@ -0,0 +1 @@ +module.exports={"aac":require("./features/aac"),"abortcontroller":require("./features/abortcontroller"),"ac3-ec3":require("./features/ac3-ec3"),"accelerometer":require("./features/accelerometer"),"addeventlistener":require("./features/addeventlistener"),"alternate-stylesheet":require("./features/alternate-stylesheet"),"ambient-light":require("./features/ambient-light"),"apng":require("./features/apng"),"array-find-index":require("./features/array-find-index"),"array-find":require("./features/array-find"),"array-flat":require("./features/array-flat"),"array-includes":require("./features/array-includes"),"arrow-functions":require("./features/arrow-functions"),"asmjs":require("./features/asmjs"),"async-clipboard":require("./features/async-clipboard"),"async-functions":require("./features/async-functions"),"async-iterations-and-generators":require("./features/async-iterations-and-generators"),"atob-btoa":require("./features/atob-btoa"),"audio-api":require("./features/audio-api"),"audio":require("./features/audio"),"audiotracks":require("./features/audiotracks"),"autofocus":require("./features/autofocus"),"auxclick":require("./features/auxclick"),"av1":require("./features/av1"),"avif":require("./features/avif"),"background-attachment":require("./features/background-attachment"),"background-clip-text":require("./features/background-clip-text"),"background-img-opts":require("./features/background-img-opts"),"background-position-x-y":require("./features/background-position-x-y"),"background-repeat-round-space":require("./features/background-repeat-round-space"),"background-sync":require("./features/background-sync"),"battery-status":require("./features/battery-status"),"beacon":require("./features/beacon"),"beforeafterprint":require("./features/beforeafterprint"),"bigint":require("./features/bigint"),"blobbuilder":require("./features/blobbuilder"),"bloburls":require("./features/bloburls"),"border-image":require("./features/border-image"),"border-radius":require("./features/border-radius"),"broadcastchannel":require("./features/broadcastchannel"),"brotli":require("./features/brotli"),"calc":require("./features/calc"),"canvas-blending":require("./features/canvas-blending"),"canvas-text":require("./features/canvas-text"),"canvas":require("./features/canvas"),"ch-unit":require("./features/ch-unit"),"chacha20-poly1305":require("./features/chacha20-poly1305"),"channel-messaging":require("./features/channel-messaging"),"childnode-remove":require("./features/childnode-remove"),"classlist":require("./features/classlist"),"clear-site-data-header":require("./features/clear-site-data-header"),"client-hints-dpr-width-viewport":require("./features/client-hints-dpr-width-viewport"),"clipboard":require("./features/clipboard"),"comparedocumentposition":require("./features/comparedocumentposition"),"console-basic":require("./features/console-basic"),"console-time":require("./features/console-time"),"const":require("./features/const"),"constraint-validation":require("./features/constraint-validation"),"contenteditable":require("./features/contenteditable"),"contentsecuritypolicy":require("./features/contentsecuritypolicy"),"contentsecuritypolicy2":require("./features/contentsecuritypolicy2"),"cors":require("./features/cors"),"createimagebitmap":require("./features/createimagebitmap"),"credential-management":require("./features/credential-management"),"cryptography":require("./features/cryptography"),"css-all":require("./features/css-all"),"css-animation":require("./features/css-animation"),"css-any-link":require("./features/css-any-link"),"css-appearance":require("./features/css-appearance"),"css-apply-rule":require("./features/css-apply-rule"),"css-at-counter-style":require("./features/css-at-counter-style"),"css-backdrop-filter":require("./features/css-backdrop-filter"),"css-background-offsets":require("./features/css-background-offsets"),"css-backgroundblendmode":require("./features/css-backgroundblendmode"),"css-boxdecorationbreak":require("./features/css-boxdecorationbreak"),"css-boxshadow":require("./features/css-boxshadow"),"css-canvas":require("./features/css-canvas"),"css-caret-color":require("./features/css-caret-color"),"css-case-insensitive":require("./features/css-case-insensitive"),"css-clip-path":require("./features/css-clip-path"),"css-color-adjust":require("./features/css-color-adjust"),"css-color-function":require("./features/css-color-function"),"css-conic-gradients":require("./features/css-conic-gradients"),"css-containment":require("./features/css-containment"),"css-counters":require("./features/css-counters"),"css-crisp-edges":require("./features/css-crisp-edges"),"css-cross-fade":require("./features/css-cross-fade"),"css-default-pseudo":require("./features/css-default-pseudo"),"css-descendant-gtgt":require("./features/css-descendant-gtgt"),"css-deviceadaptation":require("./features/css-deviceadaptation"),"css-dir-pseudo":require("./features/css-dir-pseudo"),"css-display-contents":require("./features/css-display-contents"),"css-element-function":require("./features/css-element-function"),"css-env-function":require("./features/css-env-function"),"css-exclusions":require("./features/css-exclusions"),"css-featurequeries":require("./features/css-featurequeries"),"css-filter-function":require("./features/css-filter-function"),"css-filters":require("./features/css-filters"),"css-first-letter":require("./features/css-first-letter"),"css-first-line":require("./features/css-first-line"),"css-fixed":require("./features/css-fixed"),"css-focus-visible":require("./features/css-focus-visible"),"css-focus-within":require("./features/css-focus-within"),"css-font-rendering-controls":require("./features/css-font-rendering-controls"),"css-font-stretch":require("./features/css-font-stretch"),"css-gencontent":require("./features/css-gencontent"),"css-gradients":require("./features/css-gradients"),"css-grid":require("./features/css-grid"),"css-hanging-punctuation":require("./features/css-hanging-punctuation"),"css-has":require("./features/css-has"),"css-hyphenate":require("./features/css-hyphenate"),"css-hyphens":require("./features/css-hyphens"),"css-image-orientation":require("./features/css-image-orientation"),"css-image-set":require("./features/css-image-set"),"css-in-out-of-range":require("./features/css-in-out-of-range"),"css-indeterminate-pseudo":require("./features/css-indeterminate-pseudo"),"css-initial-letter":require("./features/css-initial-letter"),"css-initial-value":require("./features/css-initial-value"),"css-letter-spacing":require("./features/css-letter-spacing"),"css-line-clamp":require("./features/css-line-clamp"),"css-logical-props":require("./features/css-logical-props"),"css-marker-pseudo":require("./features/css-marker-pseudo"),"css-masks":require("./features/css-masks"),"css-matches-pseudo":require("./features/css-matches-pseudo"),"css-math-functions":require("./features/css-math-functions"),"css-media-interaction":require("./features/css-media-interaction"),"css-media-resolution":require("./features/css-media-resolution"),"css-media-scripting":require("./features/css-media-scripting"),"css-mediaqueries":require("./features/css-mediaqueries"),"css-mixblendmode":require("./features/css-mixblendmode"),"css-motion-paths":require("./features/css-motion-paths"),"css-namespaces":require("./features/css-namespaces"),"css-not-sel-list":require("./features/css-not-sel-list"),"css-nth-child-of":require("./features/css-nth-child-of"),"css-opacity":require("./features/css-opacity"),"css-optional-pseudo":require("./features/css-optional-pseudo"),"css-overflow-anchor":require("./features/css-overflow-anchor"),"css-overflow":require("./features/css-overflow"),"css-overscroll-behavior":require("./features/css-overscroll-behavior"),"css-page-break":require("./features/css-page-break"),"css-paged-media":require("./features/css-paged-media"),"css-paint-api":require("./features/css-paint-api"),"css-placeholder-shown":require("./features/css-placeholder-shown"),"css-placeholder":require("./features/css-placeholder"),"css-read-only-write":require("./features/css-read-only-write"),"css-rebeccapurple":require("./features/css-rebeccapurple"),"css-reflections":require("./features/css-reflections"),"css-regions":require("./features/css-regions"),"css-repeating-gradients":require("./features/css-repeating-gradients"),"css-resize":require("./features/css-resize"),"css-revert-value":require("./features/css-revert-value"),"css-rrggbbaa":require("./features/css-rrggbbaa"),"css-scroll-behavior":require("./features/css-scroll-behavior"),"css-scrollbar":require("./features/css-scrollbar"),"css-sel2":require("./features/css-sel2"),"css-sel3":require("./features/css-sel3"),"css-selection":require("./features/css-selection"),"css-shapes":require("./features/css-shapes"),"css-snappoints":require("./features/css-snappoints"),"css-sticky":require("./features/css-sticky"),"css-subgrid":require("./features/css-subgrid"),"css-supports-api":require("./features/css-supports-api"),"css-table":require("./features/css-table"),"css-text-align-last":require("./features/css-text-align-last"),"css-text-indent":require("./features/css-text-indent"),"css-text-justify":require("./features/css-text-justify"),"css-text-orientation":require("./features/css-text-orientation"),"css-text-spacing":require("./features/css-text-spacing"),"css-textshadow":require("./features/css-textshadow"),"css-touch-action-2":require("./features/css-touch-action-2"),"css-touch-action":require("./features/css-touch-action"),"css-transitions":require("./features/css-transitions"),"css-unicode-bidi":require("./features/css-unicode-bidi"),"css-unset-value":require("./features/css-unset-value"),"css-variables":require("./features/css-variables"),"css-widows-orphans":require("./features/css-widows-orphans"),"css-writing-mode":require("./features/css-writing-mode"),"css-zoom":require("./features/css-zoom"),"css3-attr":require("./features/css3-attr"),"css3-boxsizing":require("./features/css3-boxsizing"),"css3-colors":require("./features/css3-colors"),"css3-cursors-grab":require("./features/css3-cursors-grab"),"css3-cursors-newer":require("./features/css3-cursors-newer"),"css3-cursors":require("./features/css3-cursors"),"css3-tabsize":require("./features/css3-tabsize"),"currentcolor":require("./features/currentcolor"),"custom-elements":require("./features/custom-elements"),"custom-elementsv1":require("./features/custom-elementsv1"),"customevent":require("./features/customevent"),"datalist":require("./features/datalist"),"dataset":require("./features/dataset"),"datauri":require("./features/datauri"),"date-tolocaledatestring":require("./features/date-tolocaledatestring"),"details":require("./features/details"),"deviceorientation":require("./features/deviceorientation"),"devicepixelratio":require("./features/devicepixelratio"),"dialog":require("./features/dialog"),"dispatchevent":require("./features/dispatchevent"),"dnssec":require("./features/dnssec"),"do-not-track":require("./features/do-not-track"),"document-currentscript":require("./features/document-currentscript"),"document-evaluate-xpath":require("./features/document-evaluate-xpath"),"document-execcommand":require("./features/document-execcommand"),"document-policy":require("./features/document-policy"),"document-scrollingelement":require("./features/document-scrollingelement"),"documenthead":require("./features/documenthead"),"dom-manip-convenience":require("./features/dom-manip-convenience"),"dom-range":require("./features/dom-range"),"domcontentloaded":require("./features/domcontentloaded"),"domfocusin-domfocusout-events":require("./features/domfocusin-domfocusout-events"),"dommatrix":require("./features/dommatrix"),"download":require("./features/download"),"dragndrop":require("./features/dragndrop"),"element-closest":require("./features/element-closest"),"element-from-point":require("./features/element-from-point"),"element-scroll-methods":require("./features/element-scroll-methods"),"eme":require("./features/eme"),"eot":require("./features/eot"),"es5":require("./features/es5"),"es6-class":require("./features/es6-class"),"es6-generators":require("./features/es6-generators"),"es6-module-dynamic-import":require("./features/es6-module-dynamic-import"),"es6-module":require("./features/es6-module"),"es6-number":require("./features/es6-number"),"es6-string-includes":require("./features/es6-string-includes"),"es6":require("./features/es6"),"eventsource":require("./features/eventsource"),"extended-system-fonts":require("./features/extended-system-fonts"),"feature-policy":require("./features/feature-policy"),"fetch":require("./features/fetch"),"fieldset-disabled":require("./features/fieldset-disabled"),"fileapi":require("./features/fileapi"),"filereader":require("./features/filereader"),"filereadersync":require("./features/filereadersync"),"filesystem":require("./features/filesystem"),"flac":require("./features/flac"),"flexbox-gap":require("./features/flexbox-gap"),"flexbox":require("./features/flexbox"),"flow-root":require("./features/flow-root"),"focusin-focusout-events":require("./features/focusin-focusout-events"),"focusoptions-preventscroll":require("./features/focusoptions-preventscroll"),"font-family-system-ui":require("./features/font-family-system-ui"),"font-feature":require("./features/font-feature"),"font-kerning":require("./features/font-kerning"),"font-loading":require("./features/font-loading"),"font-size-adjust":require("./features/font-size-adjust"),"font-smooth":require("./features/font-smooth"),"font-unicode-range":require("./features/font-unicode-range"),"font-variant-alternates":require("./features/font-variant-alternates"),"font-variant-east-asian":require("./features/font-variant-east-asian"),"font-variant-numeric":require("./features/font-variant-numeric"),"fontface":require("./features/fontface"),"form-attribute":require("./features/form-attribute"),"form-submit-attributes":require("./features/form-submit-attributes"),"form-validation":require("./features/form-validation"),"forms":require("./features/forms"),"fullscreen":require("./features/fullscreen"),"gamepad":require("./features/gamepad"),"geolocation":require("./features/geolocation"),"getboundingclientrect":require("./features/getboundingclientrect"),"getcomputedstyle":require("./features/getcomputedstyle"),"getelementsbyclassname":require("./features/getelementsbyclassname"),"getrandomvalues":require("./features/getrandomvalues"),"gyroscope":require("./features/gyroscope"),"hardwareconcurrency":require("./features/hardwareconcurrency"),"hashchange":require("./features/hashchange"),"heif":require("./features/heif"),"hevc":require("./features/hevc"),"hidden":require("./features/hidden"),"high-resolution-time":require("./features/high-resolution-time"),"history":require("./features/history"),"html-media-capture":require("./features/html-media-capture"),"html5semantic":require("./features/html5semantic"),"http-live-streaming":require("./features/http-live-streaming"),"http2":require("./features/http2"),"http3":require("./features/http3"),"iframe-sandbox":require("./features/iframe-sandbox"),"iframe-seamless":require("./features/iframe-seamless"),"iframe-srcdoc":require("./features/iframe-srcdoc"),"imagecapture":require("./features/imagecapture"),"ime":require("./features/ime"),"img-naturalwidth-naturalheight":require("./features/img-naturalwidth-naturalheight"),"imports":require("./features/imports"),"indeterminate-checkbox":require("./features/indeterminate-checkbox"),"indexeddb":require("./features/indexeddb"),"indexeddb2":require("./features/indexeddb2"),"inline-block":require("./features/inline-block"),"innertext":require("./features/innertext"),"input-autocomplete-onoff":require("./features/input-autocomplete-onoff"),"input-color":require("./features/input-color"),"input-datetime":require("./features/input-datetime"),"input-email-tel-url":require("./features/input-email-tel-url"),"input-event":require("./features/input-event"),"input-file-accept":require("./features/input-file-accept"),"input-file-directory":require("./features/input-file-directory"),"input-file-multiple":require("./features/input-file-multiple"),"input-inputmode":require("./features/input-inputmode"),"input-minlength":require("./features/input-minlength"),"input-number":require("./features/input-number"),"input-pattern":require("./features/input-pattern"),"input-placeholder":require("./features/input-placeholder"),"input-range":require("./features/input-range"),"input-search":require("./features/input-search"),"input-selection":require("./features/input-selection"),"insert-adjacent":require("./features/insert-adjacent"),"insertadjacenthtml":require("./features/insertadjacenthtml"),"internationalization":require("./features/internationalization"),"intersectionobserver-v2":require("./features/intersectionobserver-v2"),"intersectionobserver":require("./features/intersectionobserver"),"intl-pluralrules":require("./features/intl-pluralrules"),"intrinsic-width":require("./features/intrinsic-width"),"jpeg2000":require("./features/jpeg2000"),"jpegxr":require("./features/jpegxr"),"js-regexp-lookbehind":require("./features/js-regexp-lookbehind"),"json":require("./features/json"),"justify-content-space-evenly":require("./features/justify-content-space-evenly"),"kerning-pairs-ligatures":require("./features/kerning-pairs-ligatures"),"keyboardevent-charcode":require("./features/keyboardevent-charcode"),"keyboardevent-code":require("./features/keyboardevent-code"),"keyboardevent-getmodifierstate":require("./features/keyboardevent-getmodifierstate"),"keyboardevent-key":require("./features/keyboardevent-key"),"keyboardevent-location":require("./features/keyboardevent-location"),"keyboardevent-which":require("./features/keyboardevent-which"),"lazyload":require("./features/lazyload"),"let":require("./features/let"),"link-icon-png":require("./features/link-icon-png"),"link-icon-svg":require("./features/link-icon-svg"),"link-rel-dns-prefetch":require("./features/link-rel-dns-prefetch"),"link-rel-modulepreload":require("./features/link-rel-modulepreload"),"link-rel-preconnect":require("./features/link-rel-preconnect"),"link-rel-prefetch":require("./features/link-rel-prefetch"),"link-rel-preload":require("./features/link-rel-preload"),"link-rel-prerender":require("./features/link-rel-prerender"),"loading-lazy-attr":require("./features/loading-lazy-attr"),"localecompare":require("./features/localecompare"),"magnetometer":require("./features/magnetometer"),"matchesselector":require("./features/matchesselector"),"matchmedia":require("./features/matchmedia"),"mathml":require("./features/mathml"),"maxlength":require("./features/maxlength"),"media-attribute":require("./features/media-attribute"),"media-fragments":require("./features/media-fragments"),"media-session-api":require("./features/media-session-api"),"mediacapture-fromelement":require("./features/mediacapture-fromelement"),"mediarecorder":require("./features/mediarecorder"),"mediasource":require("./features/mediasource"),"menu":require("./features/menu"),"meta-theme-color":require("./features/meta-theme-color"),"meter":require("./features/meter"),"midi":require("./features/midi"),"minmaxwh":require("./features/minmaxwh"),"mp3":require("./features/mp3"),"mpeg-dash":require("./features/mpeg-dash"),"mpeg4":require("./features/mpeg4"),"multibackgrounds":require("./features/multibackgrounds"),"multicolumn":require("./features/multicolumn"),"mutation-events":require("./features/mutation-events"),"mutationobserver":require("./features/mutationobserver"),"namevalue-storage":require("./features/namevalue-storage"),"native-filesystem-api":require("./features/native-filesystem-api"),"nav-timing":require("./features/nav-timing"),"navigator-language":require("./features/navigator-language"),"netinfo":require("./features/netinfo"),"node-contains":require("./features/node-contains"),"node-parentelement":require("./features/node-parentelement"),"notifications":require("./features/notifications"),"object-entries":require("./features/object-entries"),"object-fit":require("./features/object-fit"),"object-observe":require("./features/object-observe"),"object-values":require("./features/object-values"),"objectrtc":require("./features/objectrtc"),"offline-apps":require("./features/offline-apps"),"offscreencanvas":require("./features/offscreencanvas"),"ogg-vorbis":require("./features/ogg-vorbis"),"ogv":require("./features/ogv"),"ol-reversed":require("./features/ol-reversed"),"once-event-listener":require("./features/once-event-listener"),"online-status":require("./features/online-status"),"opus":require("./features/opus"),"orientation-sensor":require("./features/orientation-sensor"),"outline":require("./features/outline"),"pad-start-end":require("./features/pad-start-end"),"page-transition-events":require("./features/page-transition-events"),"pagevisibility":require("./features/pagevisibility"),"passive-event-listener":require("./features/passive-event-listener"),"passwordrules":require("./features/passwordrules"),"path2d":require("./features/path2d"),"payment-request":require("./features/payment-request"),"pdf-viewer":require("./features/pdf-viewer"),"permissions-api":require("./features/permissions-api"),"permissions-policy":require("./features/permissions-policy"),"picture-in-picture":require("./features/picture-in-picture"),"picture":require("./features/picture"),"ping":require("./features/ping"),"png-alpha":require("./features/png-alpha"),"pointer-events":require("./features/pointer-events"),"pointer":require("./features/pointer"),"pointerlock":require("./features/pointerlock"),"portals":require("./features/portals"),"prefers-color-scheme":require("./features/prefers-color-scheme"),"prefers-reduced-motion":require("./features/prefers-reduced-motion"),"private-class-fields":require("./features/private-class-fields"),"private-methods-and-accessors":require("./features/private-methods-and-accessors"),"progress":require("./features/progress"),"promise-finally":require("./features/promise-finally"),"promises":require("./features/promises"),"proximity":require("./features/proximity"),"proxy":require("./features/proxy"),"public-class-fields":require("./features/public-class-fields"),"publickeypinning":require("./features/publickeypinning"),"push-api":require("./features/push-api"),"queryselector":require("./features/queryselector"),"readonly-attr":require("./features/readonly-attr"),"referrer-policy":require("./features/referrer-policy"),"registerprotocolhandler":require("./features/registerprotocolhandler"),"rel-noopener":require("./features/rel-noopener"),"rel-noreferrer":require("./features/rel-noreferrer"),"rellist":require("./features/rellist"),"rem":require("./features/rem"),"replace-all":require("./features/replace-all"),"requestanimationframe":require("./features/requestanimationframe"),"requestidlecallback":require("./features/requestidlecallback"),"resizeobserver":require("./features/resizeobserver"),"resource-timing":require("./features/resource-timing"),"rest-parameters":require("./features/rest-parameters"),"rtcpeerconnection":require("./features/rtcpeerconnection"),"ruby":require("./features/ruby"),"run-in":require("./features/run-in"),"same-site-cookie-attribute":require("./features/same-site-cookie-attribute"),"screen-orientation":require("./features/screen-orientation"),"script-async":require("./features/script-async"),"script-defer":require("./features/script-defer"),"scrollintoview":require("./features/scrollintoview"),"scrollintoviewifneeded":require("./features/scrollintoviewifneeded"),"sdch":require("./features/sdch"),"selection-api":require("./features/selection-api"),"server-timing":require("./features/server-timing"),"serviceworkers":require("./features/serviceworkers"),"setimmediate":require("./features/setimmediate"),"sha-2":require("./features/sha-2"),"shadowdom":require("./features/shadowdom"),"shadowdomv1":require("./features/shadowdomv1"),"sharedarraybuffer":require("./features/sharedarraybuffer"),"sharedworkers":require("./features/sharedworkers"),"sni":require("./features/sni"),"spdy":require("./features/spdy"),"speech-recognition":require("./features/speech-recognition"),"speech-synthesis":require("./features/speech-synthesis"),"spellcheck-attribute":require("./features/spellcheck-attribute"),"sql-storage":require("./features/sql-storage"),"srcset":require("./features/srcset"),"stopimmediatepropagation":require("./features/stopimmediatepropagation"),"stream":require("./features/stream"),"streams":require("./features/streams"),"stricttransportsecurity":require("./features/stricttransportsecurity"),"style-scoped":require("./features/style-scoped"),"subresource-integrity":require("./features/subresource-integrity"),"svg-css":require("./features/svg-css"),"svg-filters":require("./features/svg-filters"),"svg-fonts":require("./features/svg-fonts"),"svg-fragment":require("./features/svg-fragment"),"svg-html":require("./features/svg-html"),"svg-html5":require("./features/svg-html5"),"svg-img":require("./features/svg-img"),"svg-smil":require("./features/svg-smil"),"svg":require("./features/svg"),"sxg":require("./features/sxg"),"symbols":require("./features/symbols"),"tabindex-attr":require("./features/tabindex-attr"),"template-literals":require("./features/template-literals"),"template":require("./features/template"),"testfeat":require("./features/testfeat"),"text-decoration":require("./features/text-decoration"),"text-emphasis":require("./features/text-emphasis"),"text-overflow":require("./features/text-overflow"),"text-size-adjust":require("./features/text-size-adjust"),"text-stroke":require("./features/text-stroke"),"text-underline-offset":require("./features/text-underline-offset"),"textcontent":require("./features/textcontent"),"textencoder":require("./features/textencoder"),"tls1-1":require("./features/tls1-1"),"tls1-2":require("./features/tls1-2"),"tls1-3":require("./features/tls1-3"),"token-binding":require("./features/token-binding"),"touch":require("./features/touch"),"transforms2d":require("./features/transforms2d"),"transforms3d":require("./features/transforms3d"),"trusted-types":require("./features/trusted-types"),"ttf":require("./features/ttf"),"typedarrays":require("./features/typedarrays"),"u2f":require("./features/u2f"),"unhandledrejection":require("./features/unhandledrejection"),"upgradeinsecurerequests":require("./features/upgradeinsecurerequests"),"url-scroll-to-text-fragment":require("./features/url-scroll-to-text-fragment"),"url":require("./features/url"),"urlsearchparams":require("./features/urlsearchparams"),"use-strict":require("./features/use-strict"),"user-select-none":require("./features/user-select-none"),"user-timing":require("./features/user-timing"),"variable-fonts":require("./features/variable-fonts"),"vibration":require("./features/vibration"),"video":require("./features/video"),"videotracks":require("./features/videotracks"),"viewport-units":require("./features/viewport-units"),"wai-aria":require("./features/wai-aria"),"wake-lock":require("./features/wake-lock"),"wasm":require("./features/wasm"),"wav":require("./features/wav"),"wbr-element":require("./features/wbr-element"),"web-animation":require("./features/web-animation"),"web-app-manifest":require("./features/web-app-manifest"),"web-bluetooth":require("./features/web-bluetooth"),"web-share":require("./features/web-share"),"webauthn":require("./features/webauthn"),"webgl":require("./features/webgl"),"webgl2":require("./features/webgl2"),"webgpu":require("./features/webgpu"),"webhid":require("./features/webhid"),"webm":require("./features/webm"),"webnfc":require("./features/webnfc"),"webp":require("./features/webp"),"websockets":require("./features/websockets"),"webusb":require("./features/webusb"),"webvr":require("./features/webvr"),"webvtt":require("./features/webvtt"),"webworkers":require("./features/webworkers"),"webxr":require("./features/webxr"),"will-change":require("./features/will-change"),"woff":require("./features/woff"),"woff2":require("./features/woff2"),"word-break":require("./features/word-break"),"wordwrap":require("./features/wordwrap"),"x-doc-messaging":require("./features/x-doc-messaging"),"x-frame-options":require("./features/x-frame-options"),"xhr2":require("./features/xhr2"),"xhtml":require("./features/xhtml"),"xhtmlsmil":require("./features/xhtmlsmil"),"xml-serializer":require("./features/xml-serializer")}; diff --git a/node_modules/caniuse-lite/data/features/aac.js b/node_modules/caniuse-lite/data/features/aac.js new file mode 100644 index 000000000..06e300859 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/aac.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB","132":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E","16":"A B"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"132":"N"},N:{"1":"A","2":"B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"132":"RC"}},B:6,C:"AAC audio file format"}; diff --git a/node_modules/caniuse-lite/data/features/abortcontroller.js b/node_modules/caniuse-lite/data/features/abortcontroller.js new file mode 100644 index 000000000..89cff989e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/abortcontroller.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L V y M WB S","2":"C O H Q"},C:{"1":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB"},E:{"1":"O H BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB","130":"C R"},F:{"1":"5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"MC XB NC OC","2":"G IC JC KC LC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"AbortController & AbortSignal"}; diff --git a/node_modules/caniuse-lite/data/features/ac3-ec3.js b/node_modules/caniuse-lite/data/features/ac3-ec3.js new file mode 100644 index 000000000..9c08c82bf --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ac3-ec3.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L","2":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB","132":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D","132":"A"},K:{"2":"A B C P R VB","132":"BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"132":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"AC-3 (Dolby Digital) and EC-3 (Dolby Digital Plus) codecs"}; diff --git a/node_modules/caniuse-lite/data/features/accelerometer.js b/node_modules/caniuse-lite/data/features/accelerometer.js new file mode 100644 index 000000000..f38e191de --- /dev/null +++ b/node_modules/caniuse-lite/data/features/accelerometer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"AB LB CB JB EB FB GB HB DB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"Accelerometer"}; diff --git a/node_modules/caniuse-lite/data/features/addeventlistener.js b/node_modules/caniuse-lite/data/features/addeventlistener.js new file mode 100644 index 000000000..0cc92ba3d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/addeventlistener.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","130":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","257":"sB KB G W I pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"EventTarget.addEventListener()"}; diff --git a/node_modules/caniuse-lite/data/features/alternate-stylesheet.js b/node_modules/caniuse-lite/data/features/alternate-stylesheet.js new file mode 100644 index 000000000..bf0ca0c87 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/alternate-stylesheet.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F E A B","2":"I D iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"E B C lB mB nB oB R VB qB BB","16":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"16":"S"},M:{"16":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"16":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"16":"QC"},S:{"1":"RC"}},B:1,C:"Alternate stylesheet"}; diff --git a/node_modules/caniuse-lite/data/features/ambient-light.js b/node_modules/caniuse-lite/data/features/ambient-light.js new file mode 100644 index 000000000..ab82f3409 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ambient-light.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O","132":"H Q J K L","322":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB","132":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB","194":"CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","322":"AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"132":"RC"}},B:4,C:"Ambient Light Sensor"}; diff --git a/node_modules/caniuse-lite/data/features/apng.js b/node_modules/caniuse-lite/data/features/apng.js new file mode 100644 index 000000000..2076a84ca --- /dev/null +++ b/node_modules/caniuse-lite/data/features/apng.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB"},D:{"1":"LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB"},E:{"1":"F E A B C O H fB XB R BB jB kB","2":"G W I D 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G IC JC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:7,C:"Animated PNG (APNG)"}; diff --git a/node_modules/caniuse-lite/data/features/array-find-index.js b/node_modules/caniuse-lite/data/features/array-find-index.js new file mode 100644 index 000000000..575653426 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/array-find-index.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w"},E:{"1":"F E A B C O H eB fB XB R BB jB kB","2":"G W I D 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j lB mB nB oB R VB qB BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D","16":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Array.prototype.findIndex"}; diff --git a/node_modules/caniuse-lite/data/features/array-find.js b/node_modules/caniuse-lite/data/features/array-find.js new file mode 100644 index 000000000..cae2d99bd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/array-find.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"Q J K L V y M WB S","16":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w"},E:{"1":"F E A B C O H eB fB XB R BB jB kB","2":"G W I D 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j lB mB nB oB R VB qB BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D","16":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Array.prototype.find"}; diff --git a/node_modules/caniuse-lite/data/features/array-flat.js b/node_modules/caniuse-lite/data/features/array-flat.js new file mode 100644 index 000000000..daf6c20ad --- /dev/null +++ b/node_modules/caniuse-lite/data/features/array-flat.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB pB hB"},D:{"1":"T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N"},E:{"1":"C O H BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB R"},F:{"1":"8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 6 7 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"1":"3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"XB NC OC","2":"G IC JC KC LC MC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"flat & flatMap array methods"}; diff --git a/node_modules/caniuse-lite/data/features/array-includes.js b/node_modules/caniuse-lite/data/features/array-includes.js new file mode 100644 index 000000000..6d81976e0 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/array-includes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Array.prototype.includes"}; diff --git a/node_modules/caniuse-lite/data/features/arrow-functions.js b/node_modules/caniuse-lite/data/features/arrow-functions.js new file mode 100644 index 000000000..a8192d934 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/arrow-functions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Arrow functions"}; diff --git a/node_modules/caniuse-lite/data/features/asmjs.js b/node_modules/caniuse-lite/data/features/asmjs.js new file mode 100644 index 000000000..14facdbde --- /dev/null +++ b/node_modules/caniuse-lite/data/features/asmjs.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L","132":"V y M WB S","322":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f","132":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","132":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","132":"M"},J:{"2":"D A"},K:{"2":"A B C R VB BB","132":"P"},L:{"132":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G","132":"IC JC KC LC MC XB NC OC"},Q:{"132":"PC"},R:{"132":"QC"},S:{"1":"RC"}},B:6,C:"asm.js"}; diff --git a/node_modules/caniuse-lite/data/features/async-clipboard.js b/node_modules/caniuse-lite/data/features/async-clipboard.js new file mode 100644 index 000000000..45e23483f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/async-clipboard.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","66":"AB LB CB JB"},E:{"1":"H jB kB","2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","16":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T"},G:{"1":"8B 9B","2":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B","16":"YB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"Asynchronous Clipboard API"}; diff --git a/node_modules/caniuse-lite/data/features/async-functions.js b/node_modules/caniuse-lite/data/features/async-functions.js new file mode 100644 index 000000000..6a139a3ac --- /dev/null +++ b/node_modules/caniuse-lite/data/features/async-functions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"Q J K L V y M WB S","2":"C O","194":"H"},C:{"1":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB","514":"XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t lB mB nB oB R VB qB BB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB","514":"ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G IC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Async functions"}; diff --git a/node_modules/caniuse-lite/data/features/async-iterations-and-generators.js b/node_modules/caniuse-lite/data/features/async-iterations-and-generators.js new file mode 100644 index 000000000..5e12ef1b0 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/async-iterations-and-generators.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB"},E:{"1":"C O H BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB R"},F:{"1":"2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Async iterators and generators"}; diff --git a/node_modules/caniuse-lite/data/features/atob-btoa.js b/node_modules/caniuse-lite/data/features/atob-btoa.js new file mode 100644 index 000000000..70224390b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/atob-btoa.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","2":"E lB mB","16":"nB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","16":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Base64 encoding and decoding"}; diff --git a/node_modules/caniuse-lite/data/features/audio-api.js b/node_modules/caniuse-lite/data/features/audio-api.js new file mode 100644 index 000000000..c68cf7b92 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/audio-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E","33":"A B C O H Q J K L X Y Z a b c d e f g h i j k l"},E:{"2":"G W 0B YB cB","33":"I D F E A B C O H dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","33":"Q J K L X Y Z"},G:{"2":"YB rB IB tB","33":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Web Audio API"}; diff --git a/node_modules/caniuse-lite/data/features/audio.js b/node_modules/caniuse-lite/data/features/audio.js new file mode 100644 index 000000000..bdb33b829 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/audio.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","132":"G W I D F E A B C O H Q J K L X pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E","4":"lB mB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","2":"BC CC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Audio element"}; diff --git a/node_modules/caniuse-lite/data/features/audiotracks.js b/node_modules/caniuse-lite/data/features/audiotracks.js new file mode 100644 index 000000000..1ea251841 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/audiotracks.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L","322":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k pB hB","194":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w","322":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W I 0B YB cB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j lB mB nB oB R VB qB BB","322":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","322":"P"},L:{"322":"S"},M:{"2":"N"},N:{"1":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"194":"RC"}},B:1,C:"Audio Tracks"}; diff --git a/node_modules/caniuse-lite/data/features/autofocus.js b/node_modules/caniuse-lite/data/features/autofocus.js new file mode 100644 index 000000000..9f637b05e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/autofocus.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"2":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:1,C:"Autofocus attribute"}; diff --git a/node_modules/caniuse-lite/data/features/aux-click.js b/node_modules/caniuse-lite/data/features/aux-click.js new file mode 100644 index 000000000..6f3288852 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/aux-click.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K C G E A B CB"},B:{"2":"D v Z I M H"},C:{"2":"VB y F J K C G E A B D v Z I M H N O P Q R S T U V W X Y x a b c d e f L h i j k l m n o p q r s t u z TB SB","129":"0 1 2 3 5 6 7 w"},D:{"1":"2 3 5 6 7 w HB g DB XB EB FB","2":"0 1 F J K C G E A B D v Z I M H N O P Q R S T U V W X Y x a b c d e f L h i j k l m n o p q r s t u z"},E:{"2":"F J K C G E A B GB AB IB JB KB LB MB NB"},F:{"1":"l m n o p q r s t u","2":"8 9 E B D I M H N O P Q R S T U V W X Y x a b c d e f L h i j k OB PB QB RB UB BB"},G:{"2":"4 G AB WB YB ZB aB bB cB dB eB fB gB"},H:{"2":"hB"},I:{"1":"g","2":"4 y F iB jB kB lB mB nB"},J:{"2":"C","16":"A"},K:{"2":"8 9 A B D L BB"},L:{"1":"g"},M:{"2":"w"},N:{"2":"A B"},O:{"16":"oB"},P:{"1":"J pB","16":"F"},Q:{"16":"qB"},R:{"1":"rB"}},B:5,C:"Auxclick"}; diff --git a/node_modules/caniuse-lite/data/features/auxclick.js b/node_modules/caniuse-lite/data/features/auxclick.js new file mode 100644 index 000000000..1168b9fb7 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/auxclick.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","129":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","16":"P"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"Auxclick"}; diff --git a/node_modules/caniuse-lite/data/features/av1.js b/node_modules/caniuse-lite/data/features/av1.js new file mode 100644 index 000000000..42b978be8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/av1.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K","194":"L"},C:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","66":"7 8 9 AB LB CB","1090":"JB EB FB GB","1284":"HB","1540":"DB"},D:{"1":"MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB","66":"U N T"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 6 7 8 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"1090":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"AV1 video format"}; diff --git a/node_modules/caniuse-lite/data/features/avif.js b/node_modules/caniuse-lite/data/features/avif.js new file mode 100644 index 000000000..d09e71e4e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/avif.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB pB hB","194":"TB UB V y M"},D:{"1":"gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"AVIF image format"}; diff --git a/node_modules/caniuse-lite/data/features/background-attachment.js b/node_modules/caniuse-lite/data/features/background-attachment.js new file mode 100644 index 000000000..6eb08625f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/background-attachment.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","132":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","132":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","132":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","132":"E lB mB"},G:{"2":"YB rB IB","772":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC FC GC","132":"EC IB"},J:{"260":"D A"},K:{"1":"B C P R VB BB","132":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"2":"G","1028":"IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1028":"QC"},S:{"1":"RC"}},B:4,C:"CSS background-attachment"}; diff --git a/node_modules/caniuse-lite/data/features/background-clip-text.js b/node_modules/caniuse-lite/data/features/background-clip-text.js new file mode 100644 index 000000000..1db9a7c25 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/background-clip-text.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"36":"V y M WB S","257":"Q J K L","548":"C O H"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","16":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","130":"0"},D:{"36":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"16":"0B YB","36":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"16":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"16":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"16":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"16":"S"},M:{"16":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"16":"G IC JC KC LC MC XB NC OC"},Q:{"16":"PC"},R:{"16":"QC"},S:{"130":"RC"}},B:1,C:"CSS3 Background-clip: text"}; diff --git a/node_modules/caniuse-lite/data/features/background-img-opts.js b/node_modules/caniuse-lite/data/features/background-img-opts.js new file mode 100644 index 000000000..28cddb013 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/background-img-opts.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB","36":"hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","516":"G W I D F E A B C O H"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","772":"G W I 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB","36":"mB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","4":"YB rB IB uB","516":"tB"},H:{"132":"AC"},I:{"1":"M FC GC","36":"BC","516":"KB G EC IB","548":"CC DC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS3 Background-image options"}; diff --git a/node_modules/caniuse-lite/data/features/background-position-x-y.js b/node_modules/caniuse-lite/data/features/background-position-x-y.js new file mode 100644 index 000000000..1a769ed7b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/background-position-x-y.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:7,C:"background-position-x & background-position-y"}; diff --git a/node_modules/caniuse-lite/data/features/background-repeat-round-space.js b/node_modules/caniuse-lite/data/features/background-repeat-round-space.js new file mode 100644 index 000000000..7183e3fb4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/background-repeat-round-space.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F iB","132":"E"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E Q J K L lB mB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:4,C:"CSS background-repeat round and space"}; diff --git a/node_modules/caniuse-lite/data/features/background-sync.js b/node_modules/caniuse-lite/data/features/background-sync.js new file mode 100644 index 000000000..b1be85850 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/background-sync.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V pB hB","16":"y M"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Background Sync API"}; diff --git a/node_modules/caniuse-lite/data/features/battery-status.js b/node_modules/caniuse-lite/data/features/battery-status.js new file mode 100644 index 000000000..0039402d3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/battery-status.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 v w x P z","2":"4 5 6 7 8 9 sB KB G W I D F E AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","132":"J K L X Y Z a b c d e f g h i j k l m n o p q r s t u","164":"A B C O H Q"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o","66":"p"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Battery Status API"}; diff --git a/node_modules/caniuse-lite/data/features/beacon.js b/node_modules/caniuse-lite/data/features/beacon.js new file mode 100644 index 000000000..7ed42b0de --- /dev/null +++ b/node_modules/caniuse-lite/data/features/beacon.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Beacon API"}; diff --git a/node_modules/caniuse-lite/data/features/beforeafterprint.js b/node_modules/caniuse-lite/data/features/beforeafterprint.js new file mode 100644 index 000000000..af39ed610 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/beforeafterprint.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","16":"iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W pB hB"},D:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"2":"IC JC KC LC MC XB NC OC","16":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:1,C:"Printing Events"}; diff --git a/node_modules/caniuse-lite/data/features/bigint.js b/node_modules/caniuse-lite/data/features/bigint.js new file mode 100644 index 000000000..842a2e67b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/bigint.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB pB hB","194":"HB DB U"},D:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB"},E:{"1":"H kB","2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB jB"},F:{"1":"6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"1":"9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"MC XB NC OC","2":"G IC JC KC LC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"BigInt"}; diff --git a/node_modules/caniuse-lite/data/features/blobbuilder.js b/node_modules/caniuse-lite/data/features/blobbuilder.js new file mode 100644 index 000000000..9851d3d1e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/blobbuilder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W pB hB","36":"I D F E A B C"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D","36":"F E A B C O H Q J K L X"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B C lB mB nB oB R VB qB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB"},H:{"2":"AC"},I:{"1":"M","2":"BC CC DC","36":"KB G EC IB FC GC"},J:{"1":"A","2":"D"},K:{"1":"P BB","2":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Blob constructing"}; diff --git a/node_modules/caniuse-lite/data/features/bloburls.js b/node_modules/caniuse-lite/data/features/bloburls.js new file mode 100644 index 000000000..716d27733 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/bloburls.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","129":"A B"},B:{"1":"Q J K L V y M WB S","129":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D","33":"F E A B C O H Q J K L X Y Z a"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB","33":"I"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB","33":"uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB BC CC DC","33":"G EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Blob URLs"}; diff --git a/node_modules/caniuse-lite/data/features/border-image.js b/node_modules/caniuse-lite/data/features/border-image.js new file mode 100644 index 000000000..4a7b162d5 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/border-image.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"H Q J K L V y M WB S","129":"C O"},C:{"1":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","260":"0 1 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","804":"G W I D F E A B C O H pB hB"},D:{"1":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","260":"3 4 5 6 7","388":"0 1 2 i j k l m n o p q r s t u v w x P z","1412":"Q J K L X Y Z a b c d e f g h","1956":"G W I D F E A B C O H"},E:{"129":"A B C O H fB XB R BB jB kB","1412":"I D F E dB eB","1956":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB CB EB FB GB HB DB U N T","2":"E lB mB","260":"q r s t u","388":"Q J K L X Y Z a b c d e f g h i j k l m n o p","1796":"nB oB","1828":"B C R VB qB BB"},G:{"129":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","1412":"F uB vB wB xB","1956":"YB rB IB tB"},H:{"1828":"AC"},I:{"388":"M FC GC","1956":"KB G BC CC DC EC IB"},J:{"1412":"A","1924":"D"},K:{"2":"A","388":"P","1828":"B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"388":"HC"},P:{"1":"KC LC MC XB NC OC","260":"IC JC","388":"G"},Q:{"260":"PC"},R:{"260":"QC"},S:{"260":"RC"}},B:4,C:"CSS3 Border images"}; diff --git a/node_modules/caniuse-lite/data/features/border-radius.js b/node_modules/caniuse-lite/data/features/border-radius.js new file mode 100644 index 000000000..6c67f6615 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/border-radius.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","257":"0 1 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","289":"KB pB hB","292":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"G"},E:{"1":"W D F E A B C O H eB fB XB R BB jB kB","33":"G 0B YB","129":"I cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","33":"YB"},H:{"2":"AC"},I:{"1":"KB G M CC DC EC IB FC GC","33":"BC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"257":"RC"}},B:4,C:"CSS3 Border-radius (rounded corners)"}; diff --git a/node_modules/caniuse-lite/data/features/broadcastchannel.js b/node_modules/caniuse-lite/data/features/broadcastchannel.js new file mode 100644 index 000000000..584003d76 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/broadcastchannel.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p pB hB"},D:{"1":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G IC JC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:1,C:"BroadcastChannel"}; diff --git a/node_modules/caniuse-lite/data/features/brotli.js b/node_modules/caniuse-lite/data/features/brotli.js new file mode 100644 index 000000000..db93e5ffa --- /dev/null +++ b/node_modules/caniuse-lite/data/features/brotli.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"Q J K L V y M WB S","2":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v pB hB"},D:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"1","257":"2"},E:{"1":"O H jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB","513":"B C R BB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n lB mB nB oB R VB qB BB","194":"o p"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:6,C:"Brotli Accept-Encoding/Content-Encoding"}; diff --git a/node_modules/caniuse-lite/data/features/calc.js b/node_modules/caniuse-lite/data/features/calc.js new file mode 100644 index 000000000..4aa553e60 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/calc.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","260":"E","516":"A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","33":"G W I D F E A B C O H Q"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L","33":"X Y Z a b c d"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB","33":"I"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB","33":"uB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB","132":"FC GC"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"calc() as CSS unit value"}; diff --git a/node_modules/caniuse-lite/data/features/canvas-blending.js b/node_modules/caniuse-lite/data/features/canvas-blending.js new file mode 100644 index 000000000..c3cd498a9 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/canvas-blending.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W I 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Canvas blend modes"}; diff --git a/node_modules/caniuse-lite/data/features/canvas-text.js b/node_modules/caniuse-lite/data/features/canvas-text.js new file mode 100644 index 000000000..a01413efc --- /dev/null +++ b/node_modules/caniuse-lite/data/features/canvas-text.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"iB","8":"I D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","8":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","8":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","8":"E lB mB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","8":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Text API for Canvas"}; diff --git a/node_modules/caniuse-lite/data/features/canvas.js b/node_modules/caniuse-lite/data/features/canvas.js new file mode 100644 index 000000000..df39454ab --- /dev/null +++ b/node_modules/caniuse-lite/data/features/canvas.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"iB","8":"I D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","132":"sB KB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","132":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"260":"AC"},I:{"1":"KB G M EC IB FC GC","132":"BC CC DC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Canvas (basic support)"}; diff --git a/node_modules/caniuse-lite/data/features/ch-unit.js b/node_modules/caniuse-lite/data/features/ch-unit.js new file mode 100644 index 000000000..a7efedae5 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ch-unit.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","132":"E A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"ch (character) unit"}; diff --git a/node_modules/caniuse-lite/data/features/chacha20-poly1305.js b/node_modules/caniuse-lite/data/features/chacha20-poly1305.js new file mode 100644 index 000000000..f7c58d6f3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/chacha20-poly1305.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P pB hB"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k","129":"0 l m n o p q r s t u v w x P z"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n lB mB nB oB R VB qB BB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC","16":"GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"ChaCha20-Poly1305 cipher suites for TLS"}; diff --git a/node_modules/caniuse-lite/data/features/channel-messaging.js b/node_modules/caniuse-lite/data/features/channel-messaging.js new file mode 100644 index 000000000..94b97eca2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/channel-messaging.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d pB hB","194":"e f g h i j k l m n o p q r s"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","2":"E lB mB","16":"nB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Channel messaging"}; diff --git a/node_modules/caniuse-lite/data/features/childnode-remove.js b/node_modules/caniuse-lite/data/features/childnode-remove.js new file mode 100644 index 000000000..2006d3ba1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/childnode-remove.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB","16":"I"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"ChildNode.remove()"}; diff --git a/node_modules/caniuse-lite/data/features/classlist.js b/node_modules/caniuse-lite/data/features/classlist.js new file mode 100644 index 000000000..d49c42074 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/classlist.js @@ -0,0 +1 @@ +module.exports={A:{A:{"8":"I D F E iB","1924":"A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","8":"sB KB pB","516":"c d","772":"G W I D F E A B C O H Q J K L X Y Z a b hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","8":"G W I D","516":"c d e f","772":"b","900":"F E A B C O H Q J K L X Y Z a"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","8":"G W 0B YB","900":"I cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","8":"E B lB mB nB oB R","900":"C VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","8":"YB rB IB","900":"tB uB"},H:{"900":"AC"},I:{"1":"M FC GC","8":"BC CC DC","900":"KB G EC IB"},J:{"1":"A","900":"D"},K:{"1":"P","8":"A B","900":"C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"900":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"classList (DOMTokenList)"}; diff --git a/node_modules/caniuse-lite/data/features/clear-site-data-header.js b/node_modules/caniuse-lite/data/features/clear-site-data-header.js new file mode 100644 index 000000000..19d0e4ccd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/clear-site-data-header.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"I D F E A B iB"},B:{"1":"V y M WB S","16":"C O H Q J K L"},C:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","16":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB pB hB"},D:{"1":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB"},E:{"16":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","16":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"16":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"1":"M","16":"KB G BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"16":"G IC JC KC LC MC XB NC OC"},Q:{"16":"PC"},R:{"16":"QC"},S:{"16":"RC"}},B:5,C:"Clear-Site-Data Header"}; diff --git a/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js b/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js new file mode 100644 index 000000000..fcebfa883 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:6,C:"Client Hints: DPR, Width, Viewport-Width"}; diff --git a/node_modules/caniuse-lite/data/features/clipboard.js b/node_modules/caniuse-lite/data/features/clipboard.js new file mode 100644 index 000000000..e7a8c70d3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/clipboard.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2436":"I D F E A B iB"},B:{"260":"K L","2436":"C O H Q J","10244":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB","772":"a b c d e f g h i j k l m n o p q r s","4100":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"G W I D F E A B C","2564":"O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u","10244":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"C O H BB jB kB","16":"0B YB","2308":"A B XB R","2820":"G W I D F E cB dB eB fB"},F:{"2":"E B lB mB nB oB R VB qB","16":"C","516":"BB","2564":"Q J K L X Y Z a b c d e f g h","10244":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB","2820":"F tB uB vB wB xB yB zB ZB 1B 2B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","2308":"M FC GC"},J:{"2":"D","2308":"A"},K:{"2":"A B C R VB","16":"BB","3076":"P"},L:{"2052":"S"},M:{"1028":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2052":"IC JC KC LC MC XB NC OC","2308":"G"},Q:{"10244":"PC"},R:{"2052":"QC"},S:{"4100":"RC"}},B:5,C:"Synchronous Clipboard API"}; diff --git a/node_modules/caniuse-lite/data/features/comparedocumentposition.js b/node_modules/caniuse-lite/data/features/comparedocumentposition.js new file mode 100644 index 000000000..6f32a3e94 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/comparedocumentposition.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","16":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H","132":"Q J K L X Y Z a b c d e f g h"},E:{"1":"A B C O H XB R BB jB kB","16":"G W I 0B YB","132":"D F E dB eB fB","260":"cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","16":"E B lB mB nB oB R VB","132":"Q J"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB","132":"F rB IB tB uB vB wB xB yB"},H:{"1":"AC"},I:{"1":"M FC GC","16":"BC CC","132":"KB G DC EC IB"},J:{"132":"D A"},K:{"1":"C P BB","16":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Node.compareDocumentPosition()"}; diff --git a/node_modules/caniuse-lite/data/features/console-basic.js b/node_modules/caniuse-lite/data/features/console-basic.js new file mode 100644 index 000000000..26454a746 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/console-basic.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D iB","132":"F E"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","2":"E lB mB nB oB"},G:{"1":"YB rB IB tB","513":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"4097":"AC"},I:{"1025":"KB G M BC CC DC EC IB FC GC"},J:{"258":"D A"},K:{"2":"A","258":"B C P R VB BB"},L:{"1025":"S"},M:{"2049":"N"},N:{"258":"A B"},O:{"258":"HC"},P:{"1025":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1025":"QC"},S:{"1":"RC"}},B:1,C:"Basic console logging functions"}; diff --git a/node_modules/caniuse-lite/data/features/console-time.js b/node_modules/caniuse-lite/data/features/console-time.js new file mode 100644 index 000000000..930b16ecb --- /dev/null +++ b/node_modules/caniuse-lite/data/features/console-time.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","2":"E lB mB nB oB","16":"B"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"P","16":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"console.time and console.timeEnd"}; diff --git a/node_modules/caniuse-lite/data/features/const.js b/node_modules/caniuse-lite/data/features/const.js new file mode 100644 index 000000000..ca24eff65 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/const.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","2052":"B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","132":"sB KB G W I D F E A B C pB hB","260":"O H Q J K L X Y Z a b c d e f g h i j k l m n"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","260":"G W I D F E A B C O H Q J K L X Y","772":"Z a b c d e f g h i j k l m n o p q r s","1028":"0 t u v w x P z"},E:{"1":"A B C O H XB R BB jB kB","260":"G W 0B YB","772":"I D F E cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E lB","132":"B mB nB oB R VB","644":"C qB BB","772":"Q J K L X Y Z a b c d e f","1028":"g h i j k l m n"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","260":"YB rB IB","772":"F tB uB vB wB xB yB"},H:{"644":"AC"},I:{"1":"M","16":"BC CC","260":"DC","772":"KB G EC IB FC GC"},J:{"772":"D A"},K:{"1":"P","132":"A B R VB","644":"C BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","1028":"G"},Q:{"1":"PC"},R:{"1028":"QC"},S:{"1":"RC"}},B:6,C:"const"}; diff --git a/node_modules/caniuse-lite/data/features/constraint-validation.js b/node_modules/caniuse-lite/data/features/constraint-validation.js new file mode 100644 index 000000000..889b81537 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/constraint-validation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","900":"A B"},B:{"1":"K L V y M WB S","388":"H Q J","900":"C O"},C:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","260":"1 2","388":"0 h i j k l m n o p q r s t u v w x P z","900":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g"},D:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H","388":"d e f g h i j k l m n o p q r","900":"Q J K L X Y Z a b c"},E:{"1":"A B C O H XB R BB jB kB","16":"G W 0B YB","388":"F E eB fB","900":"I D cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E B lB mB nB oB R VB","388":"Q J K L X Y Z a b c d e","900":"C qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB","388":"F vB wB xB yB","900":"tB uB"},H:{"2":"AC"},I:{"1":"M","16":"KB BC CC DC","388":"FC GC","900":"G EC IB"},J:{"16":"D","388":"A"},K:{"1":"P","16":"A B R VB","900":"C BB"},L:{"1":"S"},M:{"1":"N"},N:{"900":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"388":"RC"}},B:1,C:"Constraint Validation API"}; diff --git a/node_modules/caniuse-lite/data/features/contenteditable.js b/node_modules/caniuse-lite/data/features/contenteditable.js new file mode 100644 index 000000000..8bbd372fe --- /dev/null +++ b/node_modules/caniuse-lite/data/features/contenteditable.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB","4":"KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"D A"},K:{"1":"P BB","2":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"contenteditable attribute (basic support)"}; diff --git a/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js b/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js new file mode 100644 index 000000000..785214227 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","132":"A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","129":"G W I D F E A B C O H Q J K L X Y Z a"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O","257":"H Q J K L X Y Z a b c"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G W 0B YB","257":"I dB","260":"cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB","257":"uB","260":"tB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D","257":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"257":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Content Security Policy 1.0"}; diff --git a/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js b/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js new file mode 100644 index 000000000..5abfdd5af --- /dev/null +++ b/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H","32772":"Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i pB hB","132":"j k l m","260":"n","516":"o p q r s t u v w","8196":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n","1028":"o p q","2052":"r"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a lB mB nB oB R VB qB BB","1028":"b c d","2052":"e"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"4100":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"8196":"RC"}},B:2,C:"Content Security Policy Level 2"}; diff --git a/node_modules/caniuse-lite/data/features/cors.js b/node_modules/caniuse-lite/data/features/cors.js new file mode 100644 index 000000000..211c89446 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/cors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D iB","132":"A","260":"F E"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB","1025":"JB EB FB GB HB DB U N T MB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C"},E:{"2":"0B YB","513":"I D F E A B C O H dB eB fB XB R BB jB kB","644":"G W cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB"},G:{"513":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","644":"YB rB IB tB"},H:{"2":"AC"},I:{"1":"M FC GC","132":"KB G BC CC DC EC IB"},J:{"1":"A","132":"D"},K:{"1":"C P BB","2":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","132":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Cross-Origin Resource Sharing"}; diff --git a/node_modules/caniuse-lite/data/features/createimagebitmap.js b/node_modules/caniuse-lite/data/features/createimagebitmap.js new file mode 100644 index 000000000..95bd453b8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/createimagebitmap.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t pB hB","3076":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","132":"2 3","260":"4 5","516":"6 7 8 9 AB"},E:{"2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB","16":"H jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o lB mB nB oB R VB qB BB","132":"p q","260":"r s","516":"t u v w x"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"3076":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","16":"G IC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"3076":"RC"}},B:1,C:"createImageBitmap"}; diff --git a/node_modules/caniuse-lite/data/features/credential-management.js b/node_modules/caniuse-lite/data/features/credential-management.js new file mode 100644 index 000000000..b1ba54d18 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/credential-management.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","66":"0 1 2","129":"3 4 5 6 7 8"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G IC JC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"Credential Management API"}; diff --git a/node_modules/caniuse-lite/data/features/cryptography.js b/node_modules/caniuse-lite/data/features/cryptography.js new file mode 100644 index 000000000..2a53a2e8b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/cryptography.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","8":"I D F E A","164":"B"},B:{"1":"V y M WB S","513":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","8":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j pB hB","66":"k l"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","8":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o"},E:{"1":"B C O H R BB jB kB","8":"G W I D 0B YB cB dB","289":"F E A eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","8":"E B C Q J K L X Y Z a b lB mB nB oB R VB qB BB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","8":"YB rB IB tB uB vB","289":"F wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","8":"KB G BC CC DC EC IB FC GC"},J:{"8":"D A"},K:{"1":"P","8":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"8":"A","164":"B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"Web Cryptography"}; diff --git a/node_modules/caniuse-lite/data/features/css-all.js b/node_modules/caniuse-lite/data/features/css-all.js new file mode 100644 index 000000000..e1c5ea6f2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-all.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b lB mB nB oB R VB qB BB"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB"},H:{"2":"AC"},I:{"1":"M GC","2":"KB G BC CC DC EC IB FC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS all property"}; diff --git a/node_modules/caniuse-lite/data/features/css-animation.js b/node_modules/caniuse-lite/data/features/css-animation.js new file mode 100644 index 000000000..d62620a14 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-animation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G pB hB","33":"W I D F E A B C O H Q"},D:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"0B YB","33":"I D F cB dB eB","292":"G W"},F:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB","33":"C Q J K L X Y Z a b c d e f g h"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","33":"F uB vB wB","164":"YB rB IB tB"},H:{"2":"AC"},I:{"1":"M","33":"G EC IB FC GC","164":"KB BC CC DC"},J:{"33":"D A"},K:{"1":"P BB","2":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"33":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"CSS Animation"}; diff --git a/node_modules/caniuse-lite/data/features/css-any-link.js b/node_modules/caniuse-lite/data/features/css-any-link.js new file mode 100644 index 000000000..95ee0787c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-any-link.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","16":"sB","33":"0 1 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H","33":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB"},E:{"1":"E A B C O H fB XB R BB jB kB","16":"G W I 0B YB cB","33":"D F dB eB"},F:{"1":"4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","33":"0 1 2 3 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB","33":"F uB vB wB"},H:{"2":"AC"},I:{"1":"M","16":"KB G BC CC DC EC IB","33":"FC GC"},J:{"16":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"33":"HC"},P:{"1":"MC XB NC OC","16":"G","33":"IC JC KC LC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"33":"RC"}},B:5,C:"CSS :any-link selector"}; diff --git a/node_modules/caniuse-lite/data/features/css-appearance.js b/node_modules/caniuse-lite/data/features/css-appearance.js new file mode 100644 index 000000000..2185d54c4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-appearance.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"S","33":"WB","164":"V y M","388":"C O H Q J K L"},C:{"1":"y M","164":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V","676":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m pB hB"},D:{"1":"S gB bB aB","33":"WB","164":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},E:{"164":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","164":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"164":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"164":"KB G M BC CC DC EC IB FC GC"},J:{"164":"D A"},K:{"2":"A B C R VB BB","164":"P"},L:{"1":"S"},M:{"164":"N"},N:{"2":"A","388":"B"},O:{"164":"HC"},P:{"164":"G IC JC KC LC MC XB NC OC"},Q:{"164":"PC"},R:{"164":"QC"},S:{"164":"RC"}},B:5,C:"CSS Appearance"}; diff --git a/node_modules/caniuse-lite/data/features/css-apply-rule.js b/node_modules/caniuse-lite/data/features/css-apply-rule.js new file mode 100644 index 000000000..77ca9c291 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-apply-rule.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","194":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p lB mB nB oB R VB qB BB","194":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","194":"P"},L:{"194":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G","194":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"194":"QC"},S:{"2":"RC"}},B:7,C:"CSS @apply rule"}; diff --git a/node_modules/caniuse-lite/data/features/css-at-counter-style.js b/node_modules/caniuse-lite/data/features/css-at-counter-style.js new file mode 100644 index 000000000..cd5b9b3c0 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-at-counter-style.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k pB hB","132":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"132":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"132":"RC"}},B:4,C:"CSS Counter Styles"}; diff --git a/node_modules/caniuse-lite/data/features/css-backdrop-filter.js b/node_modules/caniuse-lite/data/features/css-backdrop-filter.js new file mode 100644 index 000000000..3dae7f70d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-backdrop-filter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J","257":"K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T pB hB","578":"MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P","194":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB"},E:{"2":"G W I D F 0B YB cB dB eB","33":"E A B C O H fB XB R BB jB kB"},F:{"1":"GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l lB mB nB oB R VB qB BB","194":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB CB EB FB"},G:{"2":"F YB rB IB tB uB vB wB","33":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","194":"P"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"OC","2":"G","194":"IC JC KC LC MC XB NC"},Q:{"194":"PC"},R:{"194":"QC"},S:{"2":"RC"}},B:7,C:"CSS Backdrop Filter"}; diff --git a/node_modules/caniuse-lite/data/features/css-background-offsets.js b/node_modules/caniuse-lite/data/features/css-background-offsets.js new file mode 100644 index 000000000..178cece98 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-background-offsets.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS background-position edge offsets"}; diff --git a/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js b/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js new file mode 100644 index 000000000..aa5023965 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m","260":"P"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D 0B YB cB dB","132":"F E A eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z lB mB nB oB R VB qB BB","260":"l"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB","132":"F wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","260":"P"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS background-blend-mode"}; diff --git a/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js b/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js new file mode 100644 index 000000000..b757ef751 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","164":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j pB hB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z","164":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I 0B YB cB","164":"D F E A B C O H dB eB fB XB R BB jB kB"},F:{"2":"E lB mB nB oB","129":"B C R VB qB BB","164":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"YB rB IB tB uB","164":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"132":"AC"},I:{"2":"KB G BC CC DC EC IB","164":"M FC GC"},J:{"2":"D","164":"A"},K:{"2":"A","129":"B C R VB BB","164":"P"},L:{"164":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"164":"G IC JC KC LC MC XB NC OC"},Q:{"164":"PC"},R:{"164":"QC"},S:{"1":"RC"}},B:5,C:"CSS box-decoration-break"}; diff --git a/node_modules/caniuse-lite/data/features/css-boxshadow.js b/node_modules/caniuse-lite/data/features/css-boxshadow.js new file mode 100644 index 000000000..9e408ad56 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-boxshadow.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","33":"pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"G W I D F E"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","33":"W","164":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","33":"rB IB","164":"YB"},H:{"2":"AC"},I:{"1":"G M EC IB FC GC","164":"KB BC CC DC"},J:{"1":"A","33":"D"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS3 Box-shadow"}; diff --git a/node_modules/caniuse-lite/data/features/css-canvas.js b/node_modules/caniuse-lite/data/features/css-canvas.js new file mode 100644 index 000000000..c2a43136c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-canvas.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","16":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"2":"0B YB","33":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","33":"Q J K L X Y Z a b c d e f g h i j k l m"},G:{"33":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"M","33":"KB G BC CC DC EC IB FC GC"},J:{"33":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"IC JC KC LC MC XB NC OC","33":"G"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"CSS Canvas Drawings"}; diff --git a/node_modules/caniuse-lite/data/features/css-caret-color.js b/node_modules/caniuse-lite/data/features/css-caret-color.js new file mode 100644 index 000000000..090dc8bcd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-caret-color.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G IC JC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"CSS caret-color"}; diff --git a/node_modules/caniuse-lite/data/features/css-case-insensitive.js b/node_modules/caniuse-lite/data/features/css-case-insensitive.js new file mode 100644 index 000000000..addad5388 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-case-insensitive.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P pB hB"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:5,C:"Case-insensitive CSS attribute selectors"}; diff --git a/node_modules/caniuse-lite/data/features/css-clip-path.js b/node_modules/caniuse-lite/data/features/css-clip-path.js new file mode 100644 index 000000000..e5b3b7e0e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-clip-path.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K","260":"V y M WB S","3138":"L"},C:{"1":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","132":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P pB hB","644":"0 1 2 3 4 5 z"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b","260":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","292":"0 1 2 3 4 5 6 c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"2":"G W I 0B YB cB dB","292":"D F E A B C O H eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","260":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T","292":"Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t"},G:{"2":"YB rB IB tB uB","292":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","260":"M","292":"FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","292":"P"},L:{"260":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"292":"HC"},P:{"292":"G IC JC KC LC MC XB NC OC"},Q:{"292":"PC"},R:{"260":"QC"},S:{"644":"RC"}},B:4,C:"CSS clip-path property (for HTML)"}; diff --git a/node_modules/caniuse-lite/data/features/css-color-adjust.js b/node_modules/caniuse-lite/data/features/css-color-adjust.js new file mode 100644 index 000000000..2a7a5d645 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-color-adjust.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","33":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"16":"G W I D F E A B C O H Q J K L","33":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W 0B YB cB","33":"I D F E A B C O H dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","33":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"16":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"16":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"2":"A B C P R VB BB"},L:{"16":"S"},M:{"1":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"16":"G IC JC KC LC MC XB NC OC"},Q:{"33":"PC"},R:{"16":"QC"},S:{"1":"RC"}},B:5,C:"CSS color-adjust"}; diff --git a/node_modules/caniuse-lite/data/features/css-color-function.js b/node_modules/caniuse-lite/data/features/css-color-function.js new file mode 100644 index 000000000..866f61fda --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-color-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS color function"}; diff --git a/node_modules/caniuse-lite/data/features/css-conic-gradients.js b/node_modules/caniuse-lite/data/features/css-conic-gradients.js new file mode 100644 index 000000000..d1da8937e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-conic-gradients.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB pB hB","578":"RB SB TB UB V y M"},D:{"1":"T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB","194":"LB CB JB EB FB GB HB DB U N"},E:{"1":"O H BB jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R"},F:{"1":"GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x lB mB nB oB R VB qB BB","194":"0 1 2 3 4 5 6 7 8 9 P z AB CB EB FB"},G:{"1":"4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"XB NC OC","2":"G IC JC KC LC MC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS Conical Gradients"}; diff --git a/node_modules/caniuse-lite/data/features/css-containment.js b/node_modules/caniuse-lite/data/features/css-containment.js new file mode 100644 index 000000000..d3d5bb337 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-containment.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s pB hB","322":"0 1 2 3 t u v w x P z","336":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N"},D:{"1":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"3"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p lB mB nB oB R VB qB BB","194":"q r"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"322":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G IC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"322":"RC"}},B:4,C:"CSS Containment"}; diff --git a/node_modules/caniuse-lite/data/features/css-counters.js b/node_modules/caniuse-lite/data/features/css-counters.js new file mode 100644 index 000000000..69862dc31 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-counters.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F E A B","2":"I D iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS Counters"}; diff --git a/node_modules/caniuse-lite/data/features/css-crisp-edges.js b/node_modules/caniuse-lite/data/features/css-crisp-edges.js new file mode 100644 index 000000000..484f9ed7e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-crisp-edges.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I iB","2340":"D F E A B"},B:{"2":"C O H Q J K L","1025":"V y M WB S"},C:{"2":"sB KB pB","513":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M","545":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB hB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s","1025":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"A B C O H XB R BB jB kB","2":"G W 0B YB cB","164":"I","4644":"D F E dB eB fB"},F:{"2":"E B Q J K L X Y Z a b c d e f lB mB nB oB R VB","545":"C qB BB","1025":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB","4260":"tB uB","4644":"F vB wB xB yB"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","1025":"M"},J:{"2":"D","4260":"A"},K:{"2":"A B R VB","545":"C BB","1025":"P"},L:{"1025":"S"},M:{"545":"N"},N:{"2340":"A B"},O:{"1":"HC"},P:{"1025":"G IC JC KC LC MC XB NC OC"},Q:{"1025":"PC"},R:{"1025":"QC"},S:{"4097":"RC"}},B:7,C:"Crisp edges/pixelated images"}; diff --git a/node_modules/caniuse-lite/data/features/css-cross-fade.js b/node_modules/caniuse-lite/data/features/css-cross-fade.js new file mode 100644 index 000000000..200a962b8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-cross-fade.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","33":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"G W I D F E A B C O H Q J","33":"0 1 2 3 4 5 6 7 8 9 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"A B C O H XB R BB jB kB","2":"G W 0B YB","33":"I D F E cB dB eB fB"},F:{"2":"E B C lB mB nB oB R VB qB BB","33":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB","33":"F tB uB vB wB xB yB"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","33":"M FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","33":"P"},L:{"33":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"33":"HC"},P:{"33":"G IC JC KC LC MC XB NC OC"},Q:{"33":"PC"},R:{"33":"QC"},S:{"2":"RC"}},B:4,C:"CSS Cross-Fade Function"}; diff --git a/node_modules/caniuse-lite/data/features/css-default-pseudo.js b/node_modules/caniuse-lite/data/features/css-default-pseudo.js new file mode 100644 index 000000000..a4eb50d74 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-default-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","16":"sB KB pB hB"},D:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H","132":"0 1 2 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H XB R BB jB kB","16":"G W 0B YB","132":"I D F E A cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E B lB mB nB oB R VB","132":"Q J K L X Y Z a b c d e f g h i j k l m n o p","260":"C qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB uB","132":"F vB wB xB yB zB"},H:{"260":"AC"},I:{"1":"M","16":"KB BC CC DC","132":"G EC IB FC GC"},J:{"16":"D","132":"A"},K:{"1":"P","16":"A B C R VB","260":"BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"132":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","132":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:7,C:":default CSS pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js b/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js new file mode 100644 index 000000000..b27af4544 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L y M WB S","16":"V"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S","16":"gB bB aB"},E:{"1":"B","2":"G W I D F E A C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Explicit descendant combinator >>"}; diff --git a/node_modules/caniuse-lite/data/features/css-deviceadaptation.js b/node_modules/caniuse-lite/data/features/css-deviceadaptation.js new file mode 100644 index 000000000..c55c0bc8e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-deviceadaptation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","164":"A B"},B:{"66":"V y M WB S","164":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g","66":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r lB mB nB oB R VB qB BB","66":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"292":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A P","292":"B C R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"164":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"66":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS Device Adaptation"}; diff --git a/node_modules/caniuse-lite/data/features/css-dir-pseudo.js b/node_modules/caniuse-lite/data/features/css-dir-pseudo.js new file mode 100644 index 000000000..ba969b167 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-dir-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J pB hB","33":"0 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"33":"RC"}},B:5,C:":dir() CSS pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-display-contents.js b/node_modules/caniuse-lite/data/features/css-display-contents.js new file mode 100644 index 000000000..878b7700d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-display-contents.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","260":"V y M WB S"},C:{"1":"EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o pB hB","260":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"AB LB CB JB EB FB GB","260":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"H jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB","260":"O","772":"C R BB"},F:{"2":"0 1 2 3 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","260":"4 5 6 7 8 9 AB CB EB FB GB HB DB U N T"},G:{"1":"8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B","260":"2B 3B 4B 5B 6B 7B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","260":"M"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"260":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC","260":"MC XB NC OC"},Q:{"260":"PC"},R:{"2":"QC"},S:{"260":"RC"}},B:5,C:"CSS display: contents"}; diff --git a/node_modules/caniuse-lite/data/features/css-element-function.js b/node_modules/caniuse-lite/data/features/css-element-function.js new file mode 100644 index 000000000..e9dbed022 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-element-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"33":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","164":"sB KB pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"33":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"33":"RC"}},B:5,C:"CSS element() function"}; diff --git a/node_modules/caniuse-lite/data/features/css-env-function.js b/node_modules/caniuse-lite/data/features/css-env-function.js new file mode 100644 index 000000000..cd45de9d1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-env-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB pB hB"},D:{"1":"T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB","132":"B"},F:{"1":"8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 6 7 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB","132":"1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"XB NC OC","2":"G IC JC KC LC MC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"CSS Environment Variables env()"}; diff --git a/node_modules/caniuse-lite/data/features/css-exclusions.js b/node_modules/caniuse-lite/data/features/css-exclusions.js new file mode 100644 index 000000000..74af74033 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-exclusions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","33":"A B"},B:{"2":"V y M WB S","33":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"33":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS Exclusions Level 1"}; diff --git a/node_modules/caniuse-lite/data/features/css-featurequeries.js b/node_modules/caniuse-lite/data/features/css-featurequeries.js new file mode 100644 index 000000000..a8f0c6a97 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-featurequeries.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B C lB mB nB oB R VB qB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS Feature Queries"}; diff --git a/node_modules/caniuse-lite/data/features/css-filter-function.js b/node_modules/caniuse-lite/data/features/css-filter-function.js new file mode 100644 index 000000000..c3af27cf3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-filter-function.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB","33":"E"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB","33":"xB yB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS filter() function"}; diff --git a/node_modules/caniuse-lite/data/features/css-filters.js b/node_modules/caniuse-lite/data/features/css-filters.js new file mode 100644 index 000000000..ae2568648 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-filters.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","1028":"O H Q J K L","1346":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB","196":"m","516":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l hB"},D:{"1":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K","33":"0 1 2 3 4 L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W 0B YB cB","33":"I D F E dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","33":"Q J K L X Y Z a b c d e f g h i j k l m n o p q r"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB","33":"F uB vB wB xB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB","33":"FC GC"},J:{"2":"D","33":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"KC LC MC XB NC OC","33":"G IC JC"},Q:{"1":"PC"},R:{"33":"QC"},S:{"1":"RC"}},B:5,C:"CSS Filter Effects"}; diff --git a/node_modules/caniuse-lite/data/features/css-first-letter.js b/node_modules/caniuse-lite/data/features/css-first-letter.js new file mode 100644 index 000000000..21d3f8483 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-first-letter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","16":"iB","516":"F","1540":"I D"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","132":"KB","260":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"W I D F","132":"G"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"W 0B","132":"G YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","16":"E lB","260":"B mB nB oB R VB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB"},H:{"1":"AC"},I:{"1":"KB G M EC IB FC GC","16":"BC CC","132":"DC"},J:{"1":"D A"},K:{"1":"C P BB","260":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"::first-letter CSS pseudo-element selector"}; diff --git a/node_modules/caniuse-lite/data/features/css-first-line.js b/node_modules/caniuse-lite/data/features/css-first-line.js new file mode 100644 index 000000000..96215717b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-first-line.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","132":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS first-line pseudo-element"}; diff --git a/node_modules/caniuse-lite/data/features/css-fixed.js b/node_modules/caniuse-lite/data/features/css-fixed.js new file mode 100644 index 000000000..d328fed96 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-fixed.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"D F E A B","2":"iB","8":"I"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB XB R BB jB kB","1025":"fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB","132":"tB uB vB"},H:{"2":"AC"},I:{"1":"KB M FC GC","260":"BC CC DC","513":"G EC IB"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS position:fixed"}; diff --git a/node_modules/caniuse-lite/data/features/css-focus-ring.js b/node_modules/caniuse-lite/data/features/css-focus-ring.js new file mode 100644 index 000000000..85d13b029 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-focus-ring.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K C G E A B CB"},B:{"2":"D v Z I M H"},C:{"2":"VB y TB SB","161":"0 1 2 3 5 6 7 F J K C G E A B D v Z I M H N O P Q R S T U V W X Y x a b c d e f L h i j k l m n o p q r s t u z w"},D:{"2":"0 1 2 3 5 6 7 F J K C G E A B D v Z I M H N O P Q R S T U V W X Y x a b c d e f L h i j k l m n o p q r s t u z w HB g DB XB EB FB"},E:{"2":"F J K C G E A B GB AB IB JB KB LB MB NB"},F:{"2":"8 9 E B D I M H N O P Q R S T U V W X Y x a b c d e f L h i j k l m n o p q r s t u OB PB QB RB UB BB"},G:{"2":"4 G AB WB YB ZB aB bB cB dB eB fB gB"},H:{"2":"hB"},I:{"2":"4 y F g iB jB kB lB mB nB"},J:{"2":"C A"},K:{"2":"8 9 A B D L BB"},L:{"2":"g"},M:{"161":"w"},N:{"2":"A B"},O:{"2":"oB"},P:{"2":"F J pB"},Q:{"2":"qB"},R:{"2":"rB"}},B:7,C:":focus-ring CSS pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-focus-visible.js b/node_modules/caniuse-lite/data/features/css-focus-visible.js new file mode 100644 index 000000000..dea508680 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-focus-visible.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","328":"V y M WB S"},C:{"2":"sB KB pB hB","161":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB","328":"U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB lB mB nB oB R VB qB BB","328":"DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"328":"S"},M:{"161":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"161":"RC"}},B:7,C:":focus-visible CSS pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-focus-within.js b/node_modules/caniuse-lite/data/features/css-focus-within.js new file mode 100644 index 000000000..886691462 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-focus-within.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB","194":"LB"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x lB mB nB oB R VB qB BB","194":"P"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"1":"PC"},R:{"16":"QC"},S:{"2":"RC"}},B:7,C:":focus-within CSS pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js b/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js new file mode 100644 index 000000000..4bd6e2150 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x pB hB","322":"0 1 2 3 4 5 6 7 8 9 P z"},D:{"1":"CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"1 2 3 4 5 6 7 8 9 AB LB"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n lB mB nB oB R VB qB BB","194":"o p q r s t u v w x P"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","194":"P"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"LC MC XB NC OC","2":"G","194":"IC JC KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"322":"RC"}},B:5,C:"CSS font-rendering controls"}; diff --git a/node_modules/caniuse-lite/data/features/css-font-stretch.js b/node_modules/caniuse-lite/data/features/css-font-stretch.js new file mode 100644 index 000000000..ac60c0140 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-font-stretch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS font-stretch"}; diff --git a/node_modules/caniuse-lite/data/features/css-gencontent.js b/node_modules/caniuse-lite/data/features/css-gencontent.js new file mode 100644 index 000000000..866bd9155 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-gencontent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D iB","132":"F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS Generated content for pseudo-elements"}; diff --git a/node_modules/caniuse-lite/data/features/css-gradients.js b/node_modules/caniuse-lite/data/features/css-gradients.js new file mode 100644 index 000000000..e01bd830e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-gradients.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB","260":"J K L X Y Z a b c d e f g h i j k l m n","292":"G W I D F E A B C O H Q hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"A B C O H Q J K L X Y Z a b c d","548":"G W I D F E"},E:{"2":"0B YB","260":"D F E A B C O H dB eB fB XB R BB jB kB","292":"I cB","804":"G W"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB","33":"C qB","164":"R VB"},G:{"260":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","292":"tB uB","804":"YB rB IB"},H:{"2":"AC"},I:{"1":"M FC GC","33":"G EC IB","548":"KB BC CC DC"},J:{"1":"A","548":"D"},K:{"1":"P BB","2":"A B","33":"C","164":"R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS Gradients"}; diff --git a/node_modules/caniuse-lite/data/features/css-grid.js b/node_modules/caniuse-lite/data/features/css-grid.js new file mode 100644 index 000000000..d6a5e7a06 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-grid.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","8":"E","292":"A B"},B:{"1":"J K L V y M WB S","292":"C O H Q"},C:{"1":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L pB hB","8":"X Y Z a b c d e f g h i j k l m n o p q r","584":"0 1 2 3 s t u v w x P z","1025":"4 5"},D:{"1":"AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c","8":"d e f g","200":"0 1 2 3 4 5 6 7 8 h i j k l m n o p q r s t u v w x P z","1025":"9"},E:{"1":"B C O H XB R BB jB kB","2":"G W 0B YB cB","8":"I D F E A dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f lB mB nB oB R VB qB BB","200":"g h i j k l m n o p q r s t u v"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB","8":"F uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC","8":"IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"292":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"IC","8":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:4,C:"CSS Grid Layout (level 1)"}; diff --git a/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js b/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js new file mode 100644 index 000000000..24bc63155 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS hanging-punctuation"}; diff --git a/node_modules/caniuse-lite/data/features/css-has.js b/node_modules/caniuse-lite/data/features/css-has.js new file mode 100644 index 000000000..2ef007807 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-has.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:":has() CSS relational pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-hyphenate.js b/node_modules/caniuse-lite/data/features/css-hyphenate.js new file mode 100644 index 000000000..76d19413d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-hyphenate.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"I D F E A B iB"},B:{"1":"V y M WB S","16":"C O H Q J K L"},C:{"16":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"0 1 2 3 4 5 6 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"16":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"16":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"16":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"16":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"16":"S"},M:{"16":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"16":"G IC JC KC LC MC XB NC OC"},Q:{"16":"PC"},R:{"16":"QC"},S:{"16":"RC"}},B:5,C:"CSS4 Hyphenation"}; diff --git a/node_modules/caniuse-lite/data/features/css-hyphens.js b/node_modules/caniuse-lite/data/features/css-hyphens.js new file mode 100644 index 000000000..ff7b270ae --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-hyphens.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","33":"A B"},B:{"33":"C O H Q J K L","132":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W pB hB","33":"I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u"},D:{"2":"0 1 2 3 4 5 6 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","132":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W 0B YB","33":"I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t lB mB nB oB R VB qB BB","132":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"YB rB","33":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","132":"M"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"132":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"4":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G","132":"IC"},Q:{"2":"PC"},R:{"132":"QC"},S:{"1":"RC"}},B:5,C:"CSS Hyphenation"}; diff --git a/node_modules/caniuse-lite/data/features/css-image-orientation.js b/node_modules/caniuse-lite/data/features/css-image-orientation.js new file mode 100644 index 000000000..39c56076e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-image-orientation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y","257":"M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y","257":"M WB S gB bB aB"},E:{"1":"H kB","2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB jB"},F:{"1":"N T","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U lB mB nB oB R VB qB BB"},G:{"1":"9B","132":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:4,C:"CSS3 image-orientation"}; diff --git a/node_modules/caniuse-lite/data/features/css-image-set.js b/node_modules/caniuse-lite/data/features/css-image-set.js new file mode 100644 index 000000000..c71e4c6ab --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-image-set.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","33":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"G W I D F E A B C O H Q J K L X Y","33":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W 0B YB cB","33":"I D F E dB eB fB","129":"A B C O H XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","33":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"YB rB IB tB","33":"F uB vB wB xB yB","129":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","33":"M FC GC"},J:{"2":"D","33":"A"},K:{"2":"A B C R VB BB","33":"P"},L:{"33":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"33":"HC"},P:{"33":"G IC JC KC LC MC XB NC OC"},Q:{"33":"PC"},R:{"33":"QC"},S:{"2":"RC"}},B:5,C:"CSS image-set"}; diff --git a/node_modules/caniuse-lite/data/features/css-in-out-of-range.js b/node_modules/caniuse-lite/data/features/css-in-out-of-range.js new file mode 100644 index 000000000..01a0e1bae --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-in-out-of-range.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C","260":"O H Q J K L"},C:{"1":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB","516":"0 1 h i j k l m n o p q r s t u v w x P z"},D:{"1":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G","16":"W I D F E A B C O H","260":"4","772":"0 1 2 3 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H XB R BB jB kB","2":"G 0B YB","16":"W","772":"I D F E A cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E lB","260":"B C r mB nB oB R VB qB BB","772":"Q J K L X Y Z a b c d e f g h i j k l m n o p q"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB","772":"F tB uB vB wB xB yB zB"},H:{"132":"AC"},I:{"1":"M","2":"KB BC CC DC","260":"G EC IB FC GC"},J:{"2":"D","260":"A"},K:{"1":"P","260":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","260":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"516":"RC"}},B:5,C:":in-range and :out-of-range CSS pseudo-classes"}; diff --git a/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js b/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js new file mode 100644 index 000000000..846970fef --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","132":"A B","388":"E"},B:{"1":"V y M WB S","132":"C O H Q J K L"},C:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","16":"sB KB pB hB","132":"0 1 2 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","388":"G W"},D:{"1":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H","132":"Q J K L X Y Z a b c d e f g h i j k l m n o p q"},E:{"1":"B C O H XB R BB jB kB","16":"G W I 0B YB","132":"D F E A dB eB fB","388":"cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E B lB mB nB oB R VB","132":"Q J K L X Y Z a b c d","516":"C qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB uB","132":"F vB wB xB yB zB"},H:{"516":"AC"},I:{"1":"M","16":"KB BC CC DC GC","132":"FC","388":"G EC IB"},J:{"16":"D","132":"A"},K:{"1":"P","16":"A B C R VB","516":"BB"},L:{"1":"S"},M:{"132":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"132":"RC"}},B:7,C:":indeterminate CSS pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-initial-letter.js b/node_modules/caniuse-lite/data/features/css-initial-letter.js new file mode 100644 index 000000000..9d6656799 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-initial-letter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F 0B YB cB dB eB","4":"E","164":"A B C O H fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB","164":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS Initial Letter"}; diff --git a/node_modules/caniuse-lite/data/features/css-initial-value.js b/node_modules/caniuse-lite/data/features/css-initial-value.js new file mode 100644 index 000000000..3be52aeb3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-initial-value.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","33":"G W I D F E A B C O H Q J K L pB hB","164":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","16":"0B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS initial value"}; diff --git a/node_modules/caniuse-lite/data/features/css-letter-spacing.js b/node_modules/caniuse-lite/data/features/css-letter-spacing.js new file mode 100644 index 000000000..16edc97e2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-letter-spacing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","16":"iB","132":"I D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","16":"0B","132":"G W I YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E lB","132":"B C Q J mB nB oB R VB qB BB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"2":"AC"},I:{"1":"M FC GC","16":"BC CC","132":"KB G DC EC IB"},J:{"132":"D A"},K:{"1":"P","132":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"letter-spacing CSS property"}; diff --git a/node_modules/caniuse-lite/data/features/css-line-clamp.js b/node_modules/caniuse-lite/data/features/css-line-clamp.js new file mode 100644 index 000000000..f96bb81ca --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-line-clamp.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J","33":"V y M WB S","129":"K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U pB hB","33":"N T MB NB OB PB QB RB SB TB UB V y M"},D:{"16":"G W I D F E A B C O","33":"0 1 2 3 4 5 6 7 8 9 H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G 0B YB","33":"W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","33":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"YB rB IB","33":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"16":"BC CC","33":"KB G M DC EC IB FC GC"},J:{"33":"D A"},K:{"2":"A B C R VB BB","33":"P"},L:{"33":"S"},M:{"33":"N"},N:{"2":"A B"},O:{"33":"HC"},P:{"33":"G IC JC KC LC MC XB NC OC"},Q:{"33":"PC"},R:{"33":"QC"},S:{"2":"RC"}},B:7,C:"CSS line-clamp"}; diff --git a/node_modules/caniuse-lite/data/features/css-logical-props.js b/node_modules/caniuse-lite/data/features/css-logical-props.js new file mode 100644 index 000000000..7923c0518 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-logical-props.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB","164":"KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s pB hB"},D:{"1":"T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","292":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N"},E:{"1":"O H BB jB kB","292":"G W I D F E A B C 0B YB cB dB eB fB XB R"},F:{"1":"DB U N T","2":"E B C lB mB nB oB R VB qB BB","292":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB"},G:{"1":"4B 5B 6B 7B 8B 9B","292":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B"},H:{"2":"AC"},I:{"1":"M","292":"KB G BC CC DC EC IB FC GC"},J:{"292":"D A"},K:{"2":"A B C R VB BB","292":"P"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"292":"HC"},P:{"1":"XB NC OC","292":"G IC JC KC LC MC"},Q:{"292":"PC"},R:{"292":"QC"},S:{"1":"RC"}},B:5,C:"CSS Logical Properties"}; diff --git a/node_modules/caniuse-lite/data/features/css-marker-pseudo.js b/node_modules/caniuse-lite/data/features/css-marker-pseudo.js new file mode 100644 index 000000000..4926f1d1b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-marker-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U pB hB"},D:{"1":"bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB"},E:{"2":"G W I D F E A B 0B YB cB dB eB fB XB","129":"C O H R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS ::marker pseudo-element"}; diff --git a/node_modules/caniuse-lite/data/features/css-masks.js b/node_modules/caniuse-lite/data/features/css-masks.js new file mode 100644 index 000000000..c4d4ee58f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-masks.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J","164":"V y M WB S","3138":"K","12292":"L"},C:{"1":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","260":"0 1 2 3 4 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"164":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"0B YB","164":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","164":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"164":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"164":"M FC GC","676":"KB G BC CC DC EC IB"},J:{"164":"D A"},K:{"2":"A B C R VB BB","164":"P"},L:{"164":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"164":"HC"},P:{"164":"G IC JC KC LC MC XB NC OC"},Q:{"164":"PC"},R:{"164":"QC"},S:{"260":"RC"}},B:4,C:"CSS Masks"}; diff --git a/node_modules/caniuse-lite/data/features/css-matches-pseudo.js b/node_modules/caniuse-lite/data/features/css-matches-pseudo.js new file mode 100644 index 000000000..5a85b6a80 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-matches-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","8388":"V y M WB S"},C:{"16":"sB KB pB hB","548":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB","4097":"UB V y M"},D:{"16":"G W I D F E A B C O H","164":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB","196":"HB DB U","8388":"N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G 0B YB","16":"W","164":"I D F cB dB eB","260":"E A B C O fB XB R BB jB","3073":"H kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","164":"0 1 2 3 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","196":"4 5 6","8388":"7 8 9 AB CB EB FB GB HB DB U N T"},G:{"16":"YB rB IB tB uB","164":"F vB wB","260":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B","3073":"9B"},H:{"2":"AC"},I:{"16":"KB BC CC DC","164":"G M EC IB FC GC"},J:{"16":"D","164":"A"},K:{"2":"A B C R VB BB","164":"P"},L:{"8388":"S"},M:{"548":"N"},N:{"2":"A B"},O:{"164":"HC"},P:{"164":"G IC JC KC LC MC XB NC OC"},Q:{"8388":"PC"},R:{"164":"QC"},S:{"548":"RC"}},B:5,C:":is() CSS pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-math-functions.js b/node_modules/caniuse-lite/data/features/css-math-functions.js new file mode 100644 index 000000000..34544a95c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-math-functions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB pB hB"},D:{"1":"V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB"},E:{"1":"H jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB","132":"C O R BB"},F:{"1":"DB U N T","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB lB mB nB oB R VB qB BB"},G:{"1":"8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B","132":"2B 3B 4B 5B 6B 7B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"OC","2":"G IC JC KC LC MC XB NC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS math functions min(), max() and clamp()"}; diff --git a/node_modules/caniuse-lite/data/features/css-media-interaction.js b/node_modules/caniuse-lite/data/features/css-media-interaction.js new file mode 100644 index 000000000..60f882fac --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-media-interaction.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"Media Queries: interaction media features"}; diff --git a/node_modules/caniuse-lite/data/features/css-media-resolution.js b/node_modules/caniuse-lite/data/features/css-media-resolution.js new file mode 100644 index 000000000..c21c0059e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-media-resolution.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","132":"E A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","260":"G W I D F E A B C O H Q pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","548":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g"},E:{"2":"0B YB","548":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E","548":"B C lB mB nB oB R VB qB"},G:{"16":"YB","548":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"132":"AC"},I:{"1":"M FC GC","16":"BC CC","548":"KB G DC EC IB"},J:{"548":"D A"},K:{"1":"P BB","548":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"Media Queries: resolution feature"}; diff --git a/node_modules/caniuse-lite/data/features/css-media-scripting.js b/node_modules/caniuse-lite/data/features/css-media-scripting.js new file mode 100644 index 000000000..3131edcc9 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-media-scripting.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"16":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","16":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S","16":"gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"Media Queries: scripting media feature"}; diff --git a/node_modules/caniuse-lite/data/features/css-mediaqueries.js b/node_modules/caniuse-lite/data/features/css-mediaqueries.js new file mode 100644 index 000000000..e454ec443 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-mediaqueries.js @@ -0,0 +1 @@ +module.exports={A:{A:{"8":"I D F iB","129":"E A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","129":"G W I D F E A B C O H Q J K L X Y Z a b c d"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","129":"G W I cB","388":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","129":"YB rB IB tB uB"},H:{"1":"AC"},I:{"1":"M FC GC","129":"KB G BC CC DC EC IB"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"129":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS3 Media Queries"}; diff --git a/node_modules/caniuse-lite/data/features/css-mixblendmode.js b/node_modules/caniuse-lite/data/features/css-mixblendmode.js new file mode 100644 index 000000000..3eafc9713 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-mixblendmode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g","194":"h i j k l m n o p q r s"},E:{"2":"G W I D 0B YB cB dB","260":"F E A B C O H eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g lB mB nB oB R VB qB BB"},G:{"2":"YB rB IB tB uB vB","260":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Blending of HTML/SVG elements"}; diff --git a/node_modules/caniuse-lite/data/features/css-motion-paths.js b/node_modules/caniuse-lite/data/features/css-motion-paths.js new file mode 100644 index 000000000..8c9cd6722 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-motion-paths.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u","194":"v w x"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h lB mB nB oB R VB qB BB","194":"i j k"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"CSS Motion Path"}; diff --git a/node_modules/caniuse-lite/data/features/css-namespaces.js b/node_modules/caniuse-lite/data/features/css-namespaces.js new file mode 100644 index 000000000..9b3ed607f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-namespaces.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS namespaces"}; diff --git a/node_modules/caniuse-lite/data/features/css-not-sel-list.js b/node_modules/caniuse-lite/data/features/css-not-sel-list.js new file mode 100644 index 000000000..cc48c1dbf --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-not-sel-list.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L y M WB S","16":"V"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V pB hB","16":"y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S","16":"gB bB aB"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"selector list argument of :not()"}; diff --git a/node_modules/caniuse-lite/data/features/css-nth-child-of.js b/node_modules/caniuse-lite/data/features/css-nth-child-of.js new file mode 100644 index 000000000..a6c88e92a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-nth-child-of.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"selector list argument of :nth-child and :nth-last-child CSS pseudo-classes"}; diff --git a/node_modules/caniuse-lite/data/features/css-opacity.js b/node_modules/caniuse-lite/data/features/css-opacity.js new file mode 100644 index 000000000..568666c09 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-opacity.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","4":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS3 Opacity"}; diff --git a/node_modules/caniuse-lite/data/features/css-optional-pseudo.js b/node_modules/caniuse-lite/data/features/css-optional-pseudo.js new file mode 100644 index 000000000..14bf7c30e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-optional-pseudo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E lB","132":"B C mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"132":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"P","132":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:7,C:":optional CSS pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-overflow-anchor.js b/node_modules/caniuse-lite/data/features/css-overflow-anchor.js new file mode 100644 index 000000000..cbc45c744 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-overflow-anchor.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB pB hB"},D:{"1":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"CSS overflow-anchor (Scroll Anchoring)"}; diff --git a/node_modules/caniuse-lite/data/features/css-overflow.js b/node_modules/caniuse-lite/data/features/css-overflow.js new file mode 100644 index 000000000..9ceacedfb --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-overflow.js @@ -0,0 +1 @@ +module.exports={A:{A:{"388":"I D F E A B iB"},B:{"260":"V y M WB S","388":"C O H Q J K L"},C:{"260":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","388":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB pB hB"},D:{"260":"N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","388":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U"},E:{"260":"H jB kB","388":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB"},F:{"260":"7 8 9 AB CB EB FB GB HB DB U N T","388":"0 1 2 3 4 5 6 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"260":"8B 9B","388":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B"},H:{"388":"AC"},I:{"388":"KB G M BC CC DC EC IB FC GC"},J:{"388":"D A"},K:{"388":"A B C P R VB BB"},L:{"260":"S"},M:{"260":"N"},N:{"388":"A B"},O:{"388":"HC"},P:{"388":"G IC JC KC LC MC XB NC OC"},Q:{"388":"PC"},R:{"388":"QC"},S:{"388":"RC"}},B:5,C:"CSS overflow property"}; diff --git a/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js b/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js new file mode 100644 index 000000000..4dab6e27c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","132":"A B"},B:{"1":"V y M WB S","132":"C O H Q J K","516":"L"},C:{"1":"LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB pB hB"},D:{"1":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB","260":"FB GB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","260":"2 3"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"132":"A B"},O:{"2":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"CSS overscroll-behavior"}; diff --git a/node_modules/caniuse-lite/data/features/css-page-break.js b/node_modules/caniuse-lite/data/features/css-page-break.js new file mode 100644 index 000000000..807490214 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-page-break.js @@ -0,0 +1 @@ +module.exports={A:{A:{"388":"A B","900":"I D F E iB"},B:{"388":"C O H Q J K L","900":"V y M WB S"},C:{"772":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M","900":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB pB hB"},D:{"900":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"772":"A","900":"G W I D F E B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"16":"E lB","129":"B C mB nB oB R VB qB BB","900":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"900":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"129":"AC"},I:{"900":"KB G M BC CC DC EC IB FC GC"},J:{"900":"D A"},K:{"129":"A B C R VB BB","900":"P"},L:{"900":"S"},M:{"900":"N"},N:{"388":"A B"},O:{"900":"HC"},P:{"900":"G IC JC KC LC MC XB NC OC"},Q:{"900":"PC"},R:{"900":"QC"},S:{"900":"RC"}},B:2,C:"CSS page-break properties"}; diff --git a/node_modules/caniuse-lite/data/features/css-paged-media.js b/node_modules/caniuse-lite/data/features/css-paged-media.js new file mode 100644 index 000000000..2786c6e05 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-paged-media.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D iB","132":"F E A B"},B:{"1":"V y M WB S","132":"C O H Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L pB hB","132":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","132":"E B C lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"16":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"16":"A B C R VB BB","258":"P"},L:{"1":"S"},M:{"132":"N"},N:{"258":"A B"},O:{"258":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"132":"RC"}},B:5,C:"CSS Paged Media (@page)"}; diff --git a/node_modules/caniuse-lite/data/features/css-paint-api.js b/node_modules/caniuse-lite/data/features/css-paint-api.js new file mode 100644 index 000000000..c874c0861 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-paint-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB"},E:{"2":"G W I D F E A B C 0B YB cB dB eB fB XB R","194":"O H BB jB kB"},F:{"1":"4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS Paint API"}; diff --git a/node_modules/caniuse-lite/data/features/css-placeholder-shown.js b/node_modules/caniuse-lite/data/features/css-placeholder-shown.js new file mode 100644 index 000000000..d5ae945ee --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-placeholder-shown.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","292":"A B"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","164":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"164":"RC"}},B:5,C:":placeholder-shown CSS pseudo-class"}; diff --git a/node_modules/caniuse-lite/data/features/css-placeholder.js b/node_modules/caniuse-lite/data/features/css-placeholder.js new file mode 100644 index 000000000..68d31be1e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-placeholder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","36":"C O H Q J K L"},C:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L pB hB","33":"0 1 2 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},D:{"1":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","36":"0 1 2 3 4 5 6 7 8 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H XB R BB jB kB","2":"G 0B YB","36":"W I D F E A cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","36":"Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB","36":"F IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","36":"KB G BC CC DC EC IB FC GC"},J:{"36":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"36":"A B"},O:{"1":"HC"},P:{"1":"KC LC MC XB NC OC","36":"G IC JC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"33":"RC"}},B:5,C:"::placeholder CSS pseudo-element"}; diff --git a/node_modules/caniuse-lite/data/features/css-read-only-write.js b/node_modules/caniuse-lite/data/features/css-read-only-write.js new file mode 100644 index 000000000..900f6c8b6 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-read-only-write.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","2":"C"},C:{"1":"UB V y M","16":"sB","33":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H","132":"Q J K L X Y Z a b c d e f g h i j k l m n"},E:{"1":"E A B C O H fB XB R BB jB kB","16":"0B YB","132":"G W I D F cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E B lB mB nB oB R","132":"C Q J K L X Y Z a VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB","132":"F IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","16":"BC CC","132":"KB G DC EC IB FC GC"},J:{"1":"A","132":"D"},K:{"1":"P","2":"A B R","132":"C VB BB"},L:{"1":"S"},M:{"33":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"33":"RC"}},B:1,C:"CSS :read-only and :read-write selectors"}; diff --git a/node_modules/caniuse-lite/data/features/css-rebeccapurple.js b/node_modules/caniuse-lite/data/features/css-rebeccapurple.js new file mode 100644 index 000000000..ee5f1d4af --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-rebeccapurple.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","132":"B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB","16":"dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c lB mB nB oB R VB qB BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Rebeccapurple color"}; diff --git a/node_modules/caniuse-lite/data/features/css-reflections.js b/node_modules/caniuse-lite/data/features/css-reflections.js new file mode 100644 index 000000000..75165c789 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-reflections.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","33":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"33":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"0B YB","33":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","33":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"33":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"33":"KB G M BC CC DC EC IB FC GC"},J:{"33":"D A"},K:{"2":"A B C R VB BB","33":"P"},L:{"33":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"33":"G IC JC KC LC MC XB NC OC"},Q:{"33":"PC"},R:{"33":"QC"},S:{"2":"RC"}},B:7,C:"CSS Reflections"}; diff --git a/node_modules/caniuse-lite/data/features/css-regions.js b/node_modules/caniuse-lite/data/features/css-regions.js new file mode 100644 index 000000000..aff6c5448 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-regions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","420":"A B"},B:{"2":"V y M WB S","420":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","36":"Q J K L","66":"X Y Z a b c d e f g h i j k l m"},E:{"2":"G W I C O H 0B YB cB R BB jB kB","33":"D F E A B dB eB fB XB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"YB rB IB tB uB 2B 3B 4B 5B 6B 7B 8B 9B","33":"F vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"420":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS Regions"}; diff --git a/node_modules/caniuse-lite/data/features/css-repeating-gradients.js b/node_modules/caniuse-lite/data/features/css-repeating-gradients.js new file mode 100644 index 000000000..def80ac90 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-repeating-gradients.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB","33":"G W I D F E A B C O H Q hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E","33":"A B C O H Q J K L X Y Z a b c d"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB","33":"I cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB","33":"C qB","36":"R VB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB","33":"tB uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB BC CC DC","33":"G EC IB"},J:{"1":"A","2":"D"},K:{"1":"P BB","2":"A B","33":"C","36":"R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS Repeating Gradients"}; diff --git a/node_modules/caniuse-lite/data/features/css-resize.js b/node_modules/caniuse-lite/data/features/css-resize.js new file mode 100644 index 000000000..cf6753f78 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-resize.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","33":"G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB","132":"BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:4,C:"CSS resize property"}; diff --git a/node_modules/caniuse-lite/data/features/css-revert-value.js b/node_modules/caniuse-lite/data/features/css-revert-value.js new file mode 100644 index 000000000..9b1a0a9c6 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-revert-value.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"S","2":"C O H Q J K L V y M WB"},C:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB pB hB"},D:{"1":"S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS revert value"}; diff --git a/node_modules/caniuse-lite/data/features/css-rrggbbaa.js b/node_modules/caniuse-lite/data/features/css-rrggbbaa.js new file mode 100644 index 000000000..aa7641b38 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-rrggbbaa.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"4 5 6 7 8 9 AB LB CB JB"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q lB mB nB oB R VB qB BB","194":"0 1 2 3 r s t u v w x P z"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"LC MC XB NC OC","2":"G","194":"IC JC KC"},Q:{"2":"PC"},R:{"194":"QC"},S:{"2":"RC"}},B:7,C:"#rrggbbaa hex color notation"}; diff --git a/node_modules/caniuse-lite/data/features/css-scroll-behavior.js b/node_modules/caniuse-lite/data/features/css-scroll-behavior.js new file mode 100644 index 000000000..acb86c41e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-scroll-behavior.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","129":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n pB hB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s","129":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","450":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f lB mB nB oB R VB qB BB","129":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","450":"g h i j k l m n o p q r s t u v w x P z"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"129":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"129":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSSOM Scroll-behavior"}; diff --git a/node_modules/caniuse-lite/data/features/css-scrollbar.js b/node_modules/caniuse-lite/data/features/css-scrollbar.js new file mode 100644 index 000000000..a1d070384 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-scrollbar.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"I D F E A B iB"},B:{"2":"C O H Q J K L","292":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB pB hB","3074":"FB","4100":"GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"292":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"16":"G W 0B YB","292":"I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","292":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"16":"YB rB IB tB uB","292":"vB","804":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"16":"BC CC","292":"KB G M DC EC IB FC GC"},J:{"292":"D A"},K:{"2":"A B C R VB BB","292":"P"},L:{"292":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"292":"HC"},P:{"292":"G IC JC KC LC MC XB NC OC"},Q:{"292":"PC"},R:{"292":"QC"},S:{"2":"RC"}},B:7,C:"CSS scrollbar styling"}; diff --git a/node_modules/caniuse-lite/data/features/css-sel2.js b/node_modules/caniuse-lite/data/features/css-sel2.js new file mode 100644 index 000000000..318847355 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-sel2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"D F E A B","2":"iB","8":"I"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS 2.1 selectors"}; diff --git a/node_modules/caniuse-lite/data/features/css-sel3.js b/node_modules/caniuse-lite/data/features/css-sel3.js new file mode 100644 index 000000000..0364e8ed8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-sel3.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"iB","8":"I","132":"D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","2":"0B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS3 selectors"}; diff --git a/node_modules/caniuse-lite/data/features/css-selection.js b/node_modules/caniuse-lite/data/features/css-selection.js new file mode 100644 index 000000000..2a3f4783a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-selection.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","33":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"C P VB BB","16":"A B R"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"33":"RC"}},B:5,C:"::selection CSS pseudo-element"}; diff --git a/node_modules/caniuse-lite/data/features/css-shapes.js b/node_modules/caniuse-lite/data/features/css-shapes.js new file mode 100644 index 000000000..b0cca29f1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-shapes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","322":"3 4 5 6 7 8 9 AB LB CB JB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l","194":"m n o"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D 0B YB cB dB","33":"F E A eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB","33":"F wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:4,C:"CSS Shapes Level 1"}; diff --git a/node_modules/caniuse-lite/data/features/css-snappoints.js b/node_modules/caniuse-lite/data/features/css-snappoints.js new file mode 100644 index 000000000..55a42f6b1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-snappoints.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","6308":"A","6436":"B"},B:{"1":"V y M WB S","6436":"C O H Q J K L"},C:{"1":"N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q pB hB","2052":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB LB CB JB EB FB GB HB DB U"},D:{"1":"T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB","8258":"DB U N"},E:{"1":"B C O H R BB jB kB","2":"G W I D F 0B YB cB dB eB","3108":"E A fB XB"},F:{"1":"GB HB DB U N T","2":"0 1 2 3 4 5 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","8258":"6 7 8 9 AB CB EB FB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB","3108":"xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2052":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"XB NC OC","2":"G IC JC KC LC MC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2052":"RC"}},B:4,C:"CSS Scroll Snap"}; diff --git a/node_modules/caniuse-lite/data/features/css-sticky.js b/node_modules/caniuse-lite/data/features/css-sticky.js new file mode 100644 index 000000000..62a2b8fd1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-sticky.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q","1028":"V y M WB S","4100":"J K L"},C:{"1":"LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d pB hB","194":"e f g h i j","516":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB"},D:{"2":"0 1 2 3 G W I D F E A B C O H Q J K L X Y Z a p q r s t u v w x P z","322":"4 5 6 7 b c d e f g h i j k l m n o","1028":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"O H jB kB","2":"G W I 0B YB cB","33":"F E A B C eB fB XB R BB","2084":"D dB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q lB mB nB oB R VB qB BB","322":"r s t","1028":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"5B 6B 7B 8B 9B","2":"YB rB IB tB","33":"F wB xB yB zB ZB 1B 2B 3B 4B","2084":"uB vB"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","1028":"M"},J:{"2":"D A"},K:{"2":"A B C R VB BB","1028":"P"},L:{"1028":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1028":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G IC"},Q:{"1028":"PC"},R:{"2":"QC"},S:{"516":"RC"}},B:5,C:"CSS position:sticky"}; diff --git a/node_modules/caniuse-lite/data/features/css-subgrid.js b/node_modules/caniuse-lite/data/features/css-subgrid.js new file mode 100644 index 000000000..510861cff --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-subgrid.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS Subgrid"}; diff --git a/node_modules/caniuse-lite/data/features/css-supports-api.js b/node_modules/caniuse-lite/data/features/css-supports-api.js new file mode 100644 index 000000000..f95a23094 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-supports-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","260":"C O H Q J K L"},C:{"1":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X pB hB","66":"Y Z","260":"0 1 2 3 4 5 6 a b c d e f g h i j k l m n o p q r s t u v w x P z"},D:{"1":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f","260":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB","132":"BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"132":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB","132":"BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS.supports() API"}; diff --git a/node_modules/caniuse-lite/data/features/css-table.js b/node_modules/caniuse-lite/data/features/css-table.js new file mode 100644 index 000000000..9157195d0 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-table.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F E A B","2":"I D iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","132":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS Table display"}; diff --git a/node_modules/caniuse-lite/data/features/css-text-align-last.js b/node_modules/caniuse-lite/data/features/css-text-align-last.js new file mode 100644 index 000000000..d75100950 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-text-align-last.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"I D F E A B iB"},B:{"1":"V y M WB S","4":"C O H Q J K L"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B pB hB","33":"0 C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m","322":"n o p q r s t u v w x P"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z lB mB nB oB R VB qB BB","578":"a b c d e f g h i j k l"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"1":"QC"},S:{"33":"RC"}},B:5,C:"CSS3 text-align-last"}; diff --git a/node_modules/caniuse-lite/data/features/css-text-indent.js b/node_modules/caniuse-lite/data/features/css-text-indent.js new file mode 100644 index 000000000..6e5d955a8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-text-indent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"I D F E A B iB"},B:{"132":"C O H Q J K L","388":"V y M WB S"},C:{"132":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"132":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p","388":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"132":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"132":"E B C Q J K L X Y Z a b c lB mB nB oB R VB qB BB","388":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"132":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"132":"AC"},I:{"132":"KB G M BC CC DC EC IB FC GC"},J:{"132":"D A"},K:{"132":"A B C R VB BB","388":"P"},L:{"388":"S"},M:{"132":"N"},N:{"132":"A B"},O:{"132":"HC"},P:{"132":"G","388":"IC JC KC LC MC XB NC OC"},Q:{"388":"PC"},R:{"388":"QC"},S:{"132":"RC"}},B:5,C:"CSS text-indent"}; diff --git a/node_modules/caniuse-lite/data/features/css-text-justify.js b/node_modules/caniuse-lite/data/features/css-text-justify.js new file mode 100644 index 000000000..1ba6fd7ae --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-text-justify.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"I D iB","132":"F E A B"},B:{"132":"C O H Q J K L","322":"V y M WB S"},C:{"2":"0 1 2 3 4 5 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","1025":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","1602":"6"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u","322":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h lB mB nB oB R VB qB BB","322":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","322":"M"},J:{"2":"D A"},K:{"2":"A B C R VB BB","322":"P"},L:{"322":"S"},M:{"1025":"N"},N:{"132":"A B"},O:{"2":"HC"},P:{"2":"G","322":"IC JC KC LC MC XB NC OC"},Q:{"322":"PC"},R:{"322":"QC"},S:{"2":"RC"}},B:5,C:"CSS text-justify"}; diff --git a/node_modules/caniuse-lite/data/features/css-text-orientation.js b/node_modules/caniuse-lite/data/features/css-text-orientation.js new file mode 100644 index 000000000..4ebc2f967 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-text-orientation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p pB hB","194":"q r s"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"2":"G W I D F E 0B YB cB dB eB fB","16":"A","33":"B C O H XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS text-orientation"}; diff --git a/node_modules/caniuse-lite/data/features/css-text-spacing.js b/node_modules/caniuse-lite/data/features/css-text-spacing.js new file mode 100644 index 000000000..fb798200d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-text-spacing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D iB","161":"F E A B"},B:{"2":"V y M WB S","161":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"16":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"CSS Text 4 text-spacing"}; diff --git a/node_modules/caniuse-lite/data/features/css-textshadow.js b/node_modules/caniuse-lite/data/features/css-textshadow.js new file mode 100644 index 000000000..06e54062d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-textshadow.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","129":"A B"},B:{"1":"V y M WB S","129":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","260":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"4":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"A","4":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"129":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS3 Text-shadow"}; diff --git a/node_modules/caniuse-lite/data/features/css-touch-action-2.js b/node_modules/caniuse-lite/data/features/css-touch-action-2.js new file mode 100644 index 000000000..d9d0865b8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-touch-action-2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","132":"B","164":"A"},B:{"1":"V y M WB S","132":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","260":"7"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t lB mB nB oB R VB qB BB","260":"u"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"132":"B","164":"A"},O:{"2":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","16":"G"},Q:{"2":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"CSS touch-action level 2 values"}; diff --git a/node_modules/caniuse-lite/data/features/css-touch-action.js b/node_modules/caniuse-lite/data/features/css-touch-action.js new file mode 100644 index 000000000..378425558 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-touch-action.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E iB","289":"A"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB","194":"0 1 2 3 h i j k l m n o p q r s t u v w x P z","1025":"4 5 6 7 8"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a lB mB nB oB R VB qB BB"},G:{"1":"5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB","516":"yB zB ZB 1B 2B 3B 4B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","289":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"194":"RC"}},B:2,C:"CSS touch-action property"}; diff --git a/node_modules/caniuse-lite/data/features/css-transitions.js b/node_modules/caniuse-lite/data/features/css-transitions.js new file mode 100644 index 000000000..4d7fb769e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-transitions.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","33":"W I D F E A B C O H Q","164":"G"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"G W I D F E A B C O H Q J K L X Y Z a b c d"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","33":"I cB","164":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E lB mB","33":"C","164":"B nB oB R VB qB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","33":"uB","164":"YB rB IB tB"},H:{"2":"AC"},I:{"1":"M FC GC","33":"KB G BC CC DC EC IB"},J:{"1":"A","33":"D"},K:{"1":"P BB","33":"C","164":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"CSS3 Transitions"}; diff --git a/node_modules/caniuse-lite/data/features/css-unicode-bidi.js b/node_modules/caniuse-lite/data/features/css-unicode-bidi.js new file mode 100644 index 000000000..b4847f80b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-unicode-bidi.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"I D F E A B iB"},B:{"1":"V y M WB S","132":"C O H Q J K L"},C:{"1":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","33":"0 1 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","132":"sB KB G W I D F E pB hB","292":"A B C O H Q J"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C O H Q J","548":"K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"132":"G W I D F 0B YB cB dB eB","548":"E A B C O H fB XB R BB jB kB"},F:{"132":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"132":"F YB rB IB tB uB vB wB","548":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"1":"M","16":"KB G BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"16":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","16":"G"},Q:{"16":"PC"},R:{"16":"QC"},S:{"33":"RC"}},B:4,C:"CSS unicode-bidi property"}; diff --git a/node_modules/caniuse-lite/data/features/css-unset-value.js b/node_modules/caniuse-lite/data/features/css-unset-value.js new file mode 100644 index 000000000..bb9bc4bf0 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-unset-value.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f lB mB nB oB R VB qB BB"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS unset value"}; diff --git a/node_modules/caniuse-lite/data/features/css-variables.js b/node_modules/caniuse-lite/data/features/css-variables.js new file mode 100644 index 000000000..1defcf671 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-variables.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L V y M WB S","2":"C O H","260":"Q"},C:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i pB hB"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"0"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m lB mB nB oB R VB qB BB","194":"n"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:4,C:"CSS Variables (Custom Properties)"}; diff --git a/node_modules/caniuse-lite/data/features/css-widows-orphans.js b/node_modules/caniuse-lite/data/features/css-widows-orphans.js new file mode 100644 index 000000000..ceca8b818 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-widows-orphans.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D iB","129":"F E"},B:{"1":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","129":"E B lB mB nB oB R VB qB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P BB","2":"A B C R VB"},L:{"1":"S"},M:{"2":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:2,C:"CSS widows & orphans"}; diff --git a/node_modules/caniuse-lite/data/features/css-writing-mode.js b/node_modules/caniuse-lite/data/features/css-writing-mode.js new file mode 100644 index 000000000..f1f86182d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-writing-mode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n pB hB","322":"o p q r s"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I","16":"D","33":"F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H R BB jB kB","2":"G 0B YB","16":"W","33":"I D F E A cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","33":"Q J K L X Y Z a b c d e f g h i j k l m"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB","33":"F tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"BC CC DC","33":"KB G EC IB FC GC"},J:{"33":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"36":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","33":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS writing-mode property"}; diff --git a/node_modules/caniuse-lite/data/features/css-zoom.js b/node_modules/caniuse-lite/data/features/css-zoom.js new file mode 100644 index 000000000..58e97bc3a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css-zoom.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D iB","129":"F E A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"129":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:7,C:"CSS zoom"}; diff --git a/node_modules/caniuse-lite/data/features/css3-attr.js b/node_modules/caniuse-lite/data/features/css3-attr.js new file mode 100644 index 000000000..e1322cc43 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css3-attr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"CSS3 attr() function for all properties"}; diff --git a/node_modules/caniuse-lite/data/features/css3-boxsizing.js b/node_modules/caniuse-lite/data/features/css3-boxsizing.js new file mode 100644 index 000000000..380bcdf84 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css3-boxsizing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F E A B","8":"I D iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","33":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"G W I D F E"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","33":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","33":"YB rB IB"},H:{"1":"AC"},I:{"1":"G M EC IB FC GC","33":"KB BC CC DC"},J:{"1":"A","33":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"CSS3 Box-sizing"}; diff --git a/node_modules/caniuse-lite/data/features/css3-colors.js b/node_modules/caniuse-lite/data/features/css3-colors.js new file mode 100644 index 000000000..c769c47ee --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css3-colors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","4":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T mB nB oB R VB qB BB","2":"E","4":"lB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS3 Colors"}; diff --git a/node_modules/caniuse-lite/data/features/css3-cursors-grab.js b/node_modules/caniuse-lite/data/features/css3-cursors-grab.js new file mode 100644 index 000000000..825f36a3b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css3-cursors-grab.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"Q J K L V y M WB S","2":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","33":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e pB hB"},D:{"1":"N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U"},E:{"1":"B C O H R BB jB kB","33":"G W I D F E A 0B YB cB dB eB fB XB"},F:{"1":"7 8 9 C AB CB EB FB GB HB DB U N T qB BB","2":"E B lB mB nB oB R VB","33":"0 1 2 3 4 5 6 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"33":"D A"},K:{"2":"A B C R VB BB","33":"P"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"33":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:3,C:"CSS grab & grabbing cursors"}; diff --git a/node_modules/caniuse-lite/data/features/css3-cursors-newer.js b/node_modules/caniuse-lite/data/features/css3-cursors-newer.js new file mode 100644 index 000000000..f9db9724d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css3-cursors-newer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","33":"sB KB G W I D F E A B C O H Q J K L X Y Z a b pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o"},E:{"1":"E A B C O H fB XB R BB jB kB","33":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E B lB mB nB oB R VB","33":"Q J K L X Y Z a b"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"33":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"CSS3 Cursors: zoom-in & zoom-out"}; diff --git a/node_modules/caniuse-lite/data/features/css3-cursors.js b/node_modules/caniuse-lite/data/features/css3-cursors.js new file mode 100644 index 000000000..0752675fd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css3-cursors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","132":"I D F iB"},B:{"1":"H Q J K L V y M WB S","260":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","4":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","4":"G"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","4":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","260":"E B C lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D","16":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"CSS3 Cursors (original values)"}; diff --git a/node_modules/caniuse-lite/data/features/css3-tabsize.js b/node_modules/caniuse-lite/data/features/css3-tabsize.js new file mode 100644 index 000000000..26eb4217a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/css3-tabsize.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"sB KB pB hB","33":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","164":"0 1 2 3 4 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y","132":"Z a b c d e f g h i j k l m n o p q r s t"},E:{"1":"H jB kB","2":"G W I 0B YB cB","132":"D F E A B C O dB eB fB XB R BB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E lB mB nB","132":"Q J K L X Y Z a b c d e f g","164":"B C oB R VB qB BB"},G:{"1":"8B 9B","2":"YB rB IB tB uB","132":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B"},H:{"164":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB","132":"FC GC"},J:{"132":"D A"},K:{"1":"P","2":"A","164":"B C R VB BB"},L:{"1":"S"},M:{"33":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"164":"RC"}},B:5,C:"CSS3 tab-size"}; diff --git a/node_modules/caniuse-lite/data/features/currentcolor.js b/node_modules/caniuse-lite/data/features/currentcolor.js new file mode 100644 index 000000000..1deb8234b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/currentcolor.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS currentColor value"}; diff --git a/node_modules/caniuse-lite/data/features/custom-elements.js b/node_modules/caniuse-lite/data/features/custom-elements.js new file mode 100644 index 000000000..b3cdc30d5 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/custom-elements.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","8":"A B"},B:{"1":"V","2":"y M WB S","8":"C O H Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","66":"b c d e f g h","72":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e y M WB S gB bB aB","66":"f g h i j k"},E:{"2":"G W 0B YB cB","8":"I D F E A B C O H dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB","2":"E B C U N T lB mB nB oB R VB qB BB","66":"Q J K L X"},G:{"2":"YB rB IB tB uB","8":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"GC","2":"KB G M BC CC DC EC IB FC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"72":"RC"}},B:7,C:"Custom Elements (deprecated V0 spec)"}; diff --git a/node_modules/caniuse-lite/data/features/custom-elementsv1.js b/node_modules/caniuse-lite/data/features/custom-elementsv1.js new file mode 100644 index 000000000..75b894b96 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/custom-elementsv1.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","8":"A B"},B:{"1":"V y M WB S","8":"C O H Q J K L"},C:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h pB hB","8":"0 1 i j k l m n o p q r s t u v w x P z","456":"2 3 4 5 6 7 8 9 AB","712":"LB CB JB EB"},D:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","8":"4 5","132":"6 7 8 9 AB LB CB JB EB FB GB HB DB"},E:{"2":"G W I D 0B YB cB dB eB","8":"F E A fB","132":"B C O H XB R BB jB kB"},F:{"1":"GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s lB mB nB oB R VB qB BB","132":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB CB EB FB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB","132":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","132":"P"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G","132":"IC"},Q:{"132":"PC"},R:{"132":"QC"},S:{"8":"RC"}},B:1,C:"Custom Elements (V1)"}; diff --git a/node_modules/caniuse-lite/data/features/customevent.js b/node_modules/caniuse-lite/data/features/customevent.js new file mode 100644 index 000000000..163c7049a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/customevent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","132":"E A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W pB hB","132":"I D F E A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G","16":"W I D F O H","388":"E A B C"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G 0B YB","16":"W I","388":"cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E lB mB nB oB","132":"B R VB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"rB","16":"YB IB","388":"tB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"BC CC DC","388":"KB G EC IB"},J:{"1":"A","388":"D"},K:{"1":"C P BB","2":"A","132":"B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"CustomEvent"}; diff --git a/node_modules/caniuse-lite/data/features/datalist.js b/node_modules/caniuse-lite/data/features/datalist.js new file mode 100644 index 000000000..29c578e16 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/datalist.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","8":"I D F E","260":"A B"},B:{"1":"V y M WB S","260":"C O H Q","1284":"J K L"},C:{"8":"sB KB pB hB","4612":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","8":"G W I D F E A B C O H Q J K L X","132":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N"},E:{"1":"O H BB jB kB","8":"G W I D F E A B C 0B YB cB dB eB fB XB R"},F:{"1":"E B C GB HB DB U N T lB mB nB oB R VB qB BB","132":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB"},G:{"8":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B","2049":"4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"GC","8":"KB G BC CC DC EC IB FC","132":"M"},J:{"1":"A","8":"D"},K:{"1":"A B C R VB BB","8":"P"},L:{"1":"S"},M:{"516":"N"},N:{"8":"A B"},O:{"8":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"132":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:1,C:"Datalist element"}; diff --git a/node_modules/caniuse-lite/data/features/dataset.js b/node_modules/caniuse-lite/data/features/dataset.js new file mode 100644 index 000000000..d96f08d6b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/dataset.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","4":"I D F E A iB"},B:{"1":"C O H Q J","129":"K L V y M WB S"},C:{"1":"0 1 2 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","4":"sB KB G W pB hB","129":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 3 4 5 6 x P z","4":"G W I","129":"7 8 9 D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"4":"G W 0B YB","129":"I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"1":"C k l m n o p q r s t R VB qB BB","4":"E B lB mB nB oB","129":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j u v w x P z AB CB EB FB GB HB DB U N T"},G:{"4":"YB rB IB","129":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"4":"AC"},I:{"4":"BC CC DC","129":"KB G M EC IB FC GC"},J:{"129":"D A"},K:{"1":"C R VB BB","4":"A B","129":"P"},L:{"129":"S"},M:{"129":"N"},N:{"1":"B","4":"A"},O:{"129":"HC"},P:{"129":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"129":"QC"},S:{"1":"RC"}},B:1,C:"dataset & data-* attributes"}; diff --git a/node_modules/caniuse-lite/data/features/datauri.js b/node_modules/caniuse-lite/data/features/datauri.js new file mode 100644 index 000000000..6944cee60 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/datauri.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D iB","132":"F","260":"E A B"},B:{"1":"V y M WB S","260":"C O Q J K L","772":"H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"260":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Data URIs"}; diff --git a/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js b/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js new file mode 100644 index 000000000..7e6bfba7a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"iB","132":"I D F E A B"},B:{"1":"L V y M WB S","132":"C O H Q J K"},C:{"1":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","132":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB","260":"4 5 6 7","772":"0 1 2 3 h i j k l m n o p q r s t u v w x P z"},D:{"1":"MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C O H Q J K L X Y Z a b","260":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T","772":"c d e f g h i j k l m n o p"},E:{"1":"C O H BB jB kB","16":"G W 0B YB","132":"I D F E A cB dB eB fB","260":"B XB R"},F:{"1":"9 AB CB EB FB GB HB DB U N T","16":"E B C lB mB nB oB R VB qB","132":"BB","260":"0 1 2 3 4 5 6 7 8 d e f g h i j k l m n o p q r s t u v w x P z","772":"Q J K L X Y Z a b c"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB","132":"F uB vB wB xB yB zB"},H:{"132":"AC"},I:{"1":"M","16":"KB BC CC DC","132":"G EC IB","772":"FC GC"},J:{"132":"D A"},K:{"1":"P","16":"A B C R VB","132":"BB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"260":"HC"},P:{"1":"MC XB NC OC","260":"G IC JC KC LC"},Q:{"260":"PC"},R:{"132":"QC"},S:{"132":"RC"}},B:6,C:"Date.prototype.toLocaleDateString"}; diff --git a/node_modules/caniuse-lite/data/features/details.js b/node_modules/caniuse-lite/data/features/details.js new file mode 100644 index 000000000..b31add69b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/details.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"E A B iB","8":"I D F"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB","8":"KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P pB hB","194":"0 z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","8":"G W I D F E A B","257":"X Y Z a b c d e f g h i j k l m n","769":"C O H Q J K L"},E:{"1":"C O H BB jB kB","8":"G W 0B YB cB","257":"I D F E A dB eB fB","1025":"B XB R"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"C R VB qB BB","8":"E B lB mB nB oB"},G:{"1":"F uB vB wB xB yB 2B 3B 4B 5B 6B 7B 8B 9B","8":"YB rB IB tB","1025":"zB ZB 1B"},H:{"8":"AC"},I:{"1":"G M EC IB FC GC","8":"KB BC CC DC"},J:{"1":"A","8":"D"},K:{"1":"P","8":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"769":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Details & Summary elements"}; diff --git a/node_modules/caniuse-lite/data/features/deviceorientation.js b/node_modules/caniuse-lite/data/features/deviceorientation.js new file mode 100644 index 000000000..3d5ac2345 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/deviceorientation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","132":"B"},B:{"1":"C O H Q J K L","4":"V y M WB S"},C:{"2":"sB KB pB","4":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","8":"G W hB"},D:{"2":"G W I","4":"0 1 2 3 4 5 6 7 8 9 D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","4":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"YB rB","4":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"BC CC DC","4":"KB G M EC IB FC GC"},J:{"2":"D","4":"A"},K:{"1":"C BB","2":"A B R VB","4":"P"},L:{"4":"S"},M:{"4":"N"},N:{"1":"B","2":"A"},O:{"4":"HC"},P:{"4":"G IC JC KC LC MC XB NC OC"},Q:{"4":"PC"},R:{"4":"QC"},S:{"4":"RC"}},B:4,C:"DeviceOrientation & DeviceMotion events"}; diff --git a/node_modules/caniuse-lite/data/features/devicepixelratio.js b/node_modules/caniuse-lite/data/features/devicepixelratio.js new file mode 100644 index 000000000..aecf95af8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/devicepixelratio.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E B lB mB nB oB R VB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"C P BB","2":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Window.devicePixelRatio"}; diff --git a/node_modules/caniuse-lite/data/features/dialog.js b/node_modules/caniuse-lite/data/features/dialog.js new file mode 100644 index 000000000..5fcc81167 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/dialog.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","194":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V","1218":"y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j","322":"k l m n o"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L lB mB nB oB R VB qB BB","578":"X Y Z a b"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:1,C:"Dialog element"}; diff --git a/node_modules/caniuse-lite/data/features/dispatchevent.js b/node_modules/caniuse-lite/data/features/dispatchevent.js new file mode 100644 index 000000000..40fd6db57 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/dispatchevent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","16":"iB","129":"E A","130":"I D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","16":"0B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","16":"E"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","129":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"EventTarget.dispatchEvent"}; diff --git a/node_modules/caniuse-lite/data/features/dnssec.js b/node_modules/caniuse-lite/data/features/dnssec.js new file mode 100644 index 000000000..07c9e847f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/dnssec.js @@ -0,0 +1 @@ +module.exports={A:{A:{"132":"I D F E A B iB"},B:{"132":"C O H Q J K L V y M WB S"},C:{"132":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"132":"0 1 2 3 4 5 6 7 8 9 G W j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","388":"I D F E A B C O H Q J K L X Y Z a b c d e f g h i"},E:{"132":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"132":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"132":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"132":"AC"},I:{"132":"KB G M BC CC DC EC IB FC GC"},J:{"132":"D A"},K:{"132":"A B C P R VB BB"},L:{"132":"S"},M:{"132":"N"},N:{"132":"A B"},O:{"132":"HC"},P:{"132":"G IC JC KC LC MC XB NC OC"},Q:{"132":"PC"},R:{"132":"QC"},S:{"132":"RC"}},B:6,C:"DNSSEC and DANE"}; diff --git a/node_modules/caniuse-lite/data/features/do-not-track.js b/node_modules/caniuse-lite/data/features/do-not-track.js new file mode 100644 index 000000000..cd558df2d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/do-not-track.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","164":"E A","260":"B"},B:{"1":"K L V y M WB S","260":"C O H Q J"},C:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F pB hB","516":"E A B C O H Q J K L X Y Z a b c d e f g h i j"},D:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a"},E:{"1":"I A B C cB fB XB R","2":"G W O H 0B YB BB jB kB","1028":"D F E dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB"},G:{"1":"xB yB zB ZB 1B 2B 3B","2":"YB rB IB tB uB 4B 5B 6B 7B 8B 9B","1028":"F vB wB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"16":"D","1028":"A"},K:{"1":"P BB","16":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"164":"A","260":"B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Do Not Track API"}; diff --git a/node_modules/caniuse-lite/data/features/document-currentscript.js b/node_modules/caniuse-lite/data/features/document-currentscript.js new file mode 100644 index 000000000..8e29f6167 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/document-currentscript.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g"},E:{"1":"F E A B C O H fB XB R BB jB kB","2":"G W I D 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q lB mB nB oB R VB qB BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"document.currentScript"}; diff --git a/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js b/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js new file mode 100644 index 000000000..c3a6b2723 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","16":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","16":"E"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:7,C:"document.evaluate & XPath"}; diff --git a/node_modules/caniuse-lite/data/features/document-execcommand.js b/node_modules/caniuse-lite/data/features/document-execcommand.js new file mode 100644 index 000000000..8ce6ffd19 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/document-execcommand.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","16":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T mB nB oB R VB qB BB","16":"E lB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB","16":"IB tB uB"},H:{"2":"AC"},I:{"1":"M EC IB FC GC","2":"KB G BC CC DC"},J:{"1":"A","2":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"2":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:7,C:"Document.execCommand()"}; diff --git a/node_modules/caniuse-lite/data/features/document-policy.js b/node_modules/caniuse-lite/data/features/document-policy.js new file mode 100644 index 000000000..15ed2796a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/document-policy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S","132":"gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Document Policy"}; diff --git a/node_modules/caniuse-lite/data/features/document-scrollingelement.js b/node_modules/caniuse-lite/data/features/document-scrollingelement.js new file mode 100644 index 000000000..ed21ea595 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/document-scrollingelement.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","16":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"document.scrollingElement"}; diff --git a/node_modules/caniuse-lite/data/features/documenthead.js b/node_modules/caniuse-lite/data/features/documenthead.js new file mode 100644 index 000000000..3dac89ca9 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/documenthead.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB","16":"W"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","2":"E lB mB nB oB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"document.head"}; diff --git a/node_modules/caniuse-lite/data/features/dom-manip-convenience.js b/node_modules/caniuse-lite/data/features/dom-manip-convenience.js new file mode 100644 index 000000000..02d6ce656 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/dom-manip-convenience.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L V y M WB S","2":"C O H Q J"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"4 5"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r lB mB nB oB R VB qB BB","194":"s"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G IC"},Q:{"194":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"DOM manipulation convenience methods"}; diff --git a/node_modules/caniuse-lite/data/features/dom-range.js b/node_modules/caniuse-lite/data/features/dom-range.js new file mode 100644 index 000000000..61192fa9a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/dom-range.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"iB","8":"I D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Document Object Model Range"}; diff --git a/node_modules/caniuse-lite/data/features/domcontentloaded.js b/node_modules/caniuse-lite/data/features/domcontentloaded.js new file mode 100644 index 000000000..178292c7f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/domcontentloaded.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"DOMContentLoaded"}; diff --git a/node_modules/caniuse-lite/data/features/domfocusin-domfocusout-events.js b/node_modules/caniuse-lite/data/features/domfocusin-domfocusout-events.js new file mode 100644 index 000000000..6f7e07efc --- /dev/null +++ b/node_modules/caniuse-lite/data/features/domfocusin-domfocusout-events.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H Q J K L X Y Z a b c d"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB","16":"W"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","16":"E B lB mB nB oB R VB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB uB"},H:{"16":"AC"},I:{"1":"G M EC IB FC GC","16":"KB BC CC DC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"DOMFocusIn & DOMFocusOut events"}; diff --git a/node_modules/caniuse-lite/data/features/dommatrix.js b/node_modules/caniuse-lite/data/features/dommatrix.js new file mode 100644 index 000000000..cf995e7b7 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/dommatrix.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","132":"A B"},B:{"132":"C O H Q J K L","1028":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k pB hB","2564":"0 l m n o p q r s t u v w x P z","3076":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"16":"G W I D","132":"0 1 2 3 4 5 6 7 8 9 E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB","388":"F","1028":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"16":"G 0B YB","132":"W I D F E A cB dB eB fB XB","1028":"B C O H R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","132":"Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","1028":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T"},G:{"16":"YB rB IB","132":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","132":"G EC IB FC GC","292":"KB BC CC DC"},J:{"16":"D","132":"A"},K:{"2":"A B C R VB BB","132":"P"},L:{"1028":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"132":"HC"},P:{"132":"G IC JC KC LC MC XB NC OC"},Q:{"132":"PC"},R:{"132":"QC"},S:{"2564":"RC"}},B:4,C:"DOMMatrix"}; diff --git a/node_modules/caniuse-lite/data/features/download.js b/node_modules/caniuse-lite/data/features/download.js new file mode 100644 index 000000000..5eedc7ba0 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/download.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Download attribute"}; diff --git a/node_modules/caniuse-lite/data/features/dragndrop.js b/node_modules/caniuse-lite/data/features/dragndrop.js new file mode 100644 index 000000000..0718a9cb8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/dragndrop.js @@ -0,0 +1 @@ +module.exports={A:{A:{"644":"I D F E iB","772":"A B"},B:{"1":"L V y M WB S","260":"C O H Q J K"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","8":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","8":"E B lB mB nB oB R VB qB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","1025":"M"},J:{"2":"D A"},K:{"1":"BB","8":"A B C R VB","1025":"P"},L:{"1025":"S"},M:{"2":"N"},N:{"1":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"Drag and Drop"}; diff --git a/node_modules/caniuse-lite/data/features/element-closest.js b/node_modules/caniuse-lite/data/features/element-closest.js new file mode 100644 index 000000000..e19c5bfff --- /dev/null +++ b/node_modules/caniuse-lite/data/features/element-closest.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"Q J K L V y M WB S","2":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Element.closest()"}; diff --git a/node_modules/caniuse-lite/data/features/element-from-point.js b/node_modules/caniuse-lite/data/features/element-from-point.js new file mode 100644 index 000000000..29ab40f25 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/element-from-point.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","16":"iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","16":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","16":"E lB mB nB oB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"C P BB","16":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"document.elementFromPoint()"}; diff --git a/node_modules/caniuse-lite/data/features/element-scroll-methods.js b/node_modules/caniuse-lite/data/features/element-scroll-methods.js new file mode 100644 index 000000000..d03880847 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/element-scroll-methods.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n pB hB"},D:{"1":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB"},E:{"2":"G W I D F E 0B YB cB dB eB fB","132":"A B C O H XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB","132":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:5,C:"Scroll methods on elements (scroll, scrollTo, scrollBy)"}; diff --git a/node_modules/caniuse-lite/data/features/eme.js b/node_modules/caniuse-lite/data/features/eme.js new file mode 100644 index 000000000..60ccc0918 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/eme.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","164":"B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m","132":"n o p q r s t"},E:{"1":"C O H BB jB kB","2":"G W I 0B YB cB dB","164":"D F E A B eB fB XB R"},F:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z lB mB nB oB R VB qB BB","132":"a b c d e f g"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"16":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:2,C:"Encrypted Media Extensions"}; diff --git a/node_modules/caniuse-lite/data/features/eot.js b/node_modules/caniuse-lite/data/features/eot.js new file mode 100644 index 000000000..ef3f34031 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/eot.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","2":"iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"EOT - Embedded OpenType fonts"}; diff --git a/node_modules/caniuse-lite/data/features/es5.js b/node_modules/caniuse-lite/data/features/es5.js new file mode 100644 index 000000000..83c326bc9 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/es5.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D iB","260":"E","1026":"F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","4":"sB KB pB hB","132":"G W I D F E A B C O H Q J K L X Y"},D:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","4":"G W I D F E A B C O H Q J K L","132":"X Y Z a"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","4":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","4":"E B C lB mB nB oB R VB qB","132":"BB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","4":"YB rB IB tB"},H:{"132":"AC"},I:{"1":"M FC GC","4":"KB BC CC DC","132":"EC IB","900":"G"},J:{"1":"A","4":"D"},K:{"1":"P","4":"A B C R VB","132":"BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"ECMAScript 5"}; diff --git a/node_modules/caniuse-lite/data/features/es6-class.js b/node_modules/caniuse-lite/data/features/es6-class.js new file mode 100644 index 000000000..afc34bdb6 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/es6-class.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w pB hB"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t","132":"0 u v w x P z"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g lB mB nB oB R VB qB BB","132":"h i j k l m n"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"ES6 classes"}; diff --git a/node_modules/caniuse-lite/data/features/es6-generators.js b/node_modules/caniuse-lite/data/features/es6-generators.js new file mode 100644 index 000000000..922305599 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/es6-generators.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"ES6 Generators"}; diff --git a/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js b/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js new file mode 100644 index 000000000..77f49ffd4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB pB hB","194":"DB"},D:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB"},F:{"1":"2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"JavaScript modules: dynamic import()"}; diff --git a/node_modules/caniuse-lite/data/features/es6-module-nomodule.js b/node_modules/caniuse-lite/data/features/es6-module-nomodule.js new file mode 100644 index 000000000..5c2f99814 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/es6-module-nomodule.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"K C G E A B YB"},B:{"2":"D w Z I","514":"M H"},C:{"2":"0 1 WB AB F J K C G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n o p q r s t u v UB OB","322":"3 5 6 7 8 z x"},D:{"1":"8 BB IB DB FB ZB GB","2":"0 1 3 5 6 F J K C G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n o p q r s t u v z x","194":"7"},E:{"1":"B g PB","2":"F J K C G E A HB CB JB KB LB MB NB"},F:{"2":"4 9 E B D I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n o p q QB RB SB TB g VB","194":"r s t u v"},G:{"1":"hB iB","2":"2 G CB XB EB aB bB cB dB eB fB gB"},H:{"2":"jB"},I:{"2":"2 AB F BB kB lB mB nB oB pB"},J:{"2":"C A"},K:{"2":"4 9 A B D L g"},L:{"2":"DB"},M:{"2":"x"},N:{"2":"A B"},O:{"2":"qB"},P:{"2":"F J rB"},Q:{"2":"sB"},R:{"2":"tB"}},B:1,C:"JavaScript modules: nomodule attribute"}; diff --git a/node_modules/caniuse-lite/data/features/es6-module.js b/node_modules/caniuse-lite/data/features/es6-module.js new file mode 100644 index 000000000..a9ac79721 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/es6-module.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H","4097":"J K L","4290":"Q"},C:{"1":"CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","322":"6 7 8 9 AB LB"},D:{"1":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB","194":"CB"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB","3076":"XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P lB mB nB oB R VB qB BB","194":"z"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB","3076":"ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"JavaScript modules via script tag"}; diff --git a/node_modules/caniuse-lite/data/features/es6-number.js b/node_modules/caniuse-lite/data/features/es6-number.js new file mode 100644 index 000000000..3e386305d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/es6-number.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q pB hB","132":"J K L X Y Z a b c","260":"d e f g h i","516":"j"},D:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L","1028":"X Y Z a b c d e f g h i j k l"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","1028":"Q J K L X Y"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC","1028":"EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"ES6 Number"}; diff --git a/node_modules/caniuse-lite/data/features/es6-string-includes.js b/node_modules/caniuse-lite/data/features/es6-string-includes.js new file mode 100644 index 000000000..4b252687e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/es6-string-includes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"String.prototype.includes"}; diff --git a/node_modules/caniuse-lite/data/features/es6.js b/node_modules/caniuse-lite/data/features/es6.js new file mode 100644 index 000000000..cfeb91ea9 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/es6.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","388":"B"},B:{"257":"V y M WB S","260":"C O H","769":"Q J K L"},C:{"2":"sB KB G W pB hB","4":"0 1 2 3 4 5 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","257":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"G W I D F E A B C O H Q J K L X Y","4":"0 1 2 Z a b c d e f g h i j k l m n o p q r s t u v w x P z","257":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D 0B YB cB dB","4":"F E eB fB"},F:{"2":"E B C lB mB nB oB R VB qB BB","4":"Q J K L X Y Z a b c d e f g h i j k l m n o p","257":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB","4":"F vB wB xB yB"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","4":"FC GC","257":"M"},J:{"2":"D","4":"A"},K:{"2":"A B C R VB BB","257":"P"},L:{"257":"S"},M:{"257":"N"},N:{"2":"A","388":"B"},O:{"257":"HC"},P:{"4":"G","257":"IC JC KC LC MC XB NC OC"},Q:{"257":"PC"},R:{"4":"QC"},S:{"4":"RC"}},B:6,C:"ECMAScript 2015 (ES6)"}; diff --git a/node_modules/caniuse-lite/data/features/eventsource.js b/node_modules/caniuse-lite/data/features/eventsource.js new file mode 100644 index 000000000..c5efc607a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/eventsource.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","4":"E lB mB nB oB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"D A"},K:{"1":"C P R VB BB","4":"A B"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Server-sent events"}; diff --git a/node_modules/caniuse-lite/data/features/extended-system-fonts.js b/node_modules/caniuse-lite/data/features/extended-system-fonts.js new file mode 100644 index 000000000..4d79d2c78 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/extended-system-fonts.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"H jB kB","2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"ui-serif, ui-sans-serif, ui-monospace and ui-rounded values for font-family"}; diff --git a/node_modules/caniuse-lite/data/features/feature-policy.js b/node_modules/caniuse-lite/data/features/feature-policy.js new file mode 100644 index 000000000..a6c135b2d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/feature-policy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB pB hB","260":"QB RB SB TB UB V y M"},D:{"1":"QB RB SB TB UB V y M WB S gB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB","132":"CB JB EB FB GB HB DB U N T MB NB OB PB","1025":"bB aB"},E:{"2":"G W I D F E A B 0B YB cB dB eB fB XB","772":"C O H R BB jB kB"},F:{"1":"EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P lB mB nB oB R VB qB BB","132":"0 1 2 3 4 5 6 7 8 9 z AB CB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B","772":"2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"NC OC","2":"G IC JC KC","132":"LC MC XB"},Q:{"132":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"Feature Policy"}; diff --git a/node_modules/caniuse-lite/data/features/fetch.js b/node_modules/caniuse-lite/data/features/fetch.js new file mode 100644 index 000000000..f922f7b78 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/fetch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l pB hB","1025":"r","1218":"m n o p q"},D:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r","260":"s","772":"t"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e lB mB nB oB R VB qB BB","260":"f","772":"g"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Fetch"}; diff --git a/node_modules/caniuse-lite/data/features/fieldset-disabled.js b/node_modules/caniuse-lite/data/features/fieldset-disabled.js new file mode 100644 index 000000000..7dc109b05 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/fieldset-disabled.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"iB","132":"F E","388":"I D A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q","16":"J K L X"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T mB nB oB R VB qB BB","16":"E lB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB"},H:{"388":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A","260":"B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"disabled attribute of the fieldset element"}; diff --git a/node_modules/caniuse-lite/data/features/fileapi.js b/node_modules/caniuse-lite/data/features/fileapi.js new file mode 100644 index 000000000..7823090b3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/fileapi.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","260":"A B"},B:{"1":"V y M WB S","260":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB","260":"G W I D F E A B C O H Q J K L X Y Z a b c d e f hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W","260":"O H Q J K L X Y Z a b c d e f g h i j k l m n o p","388":"I D F E A B C"},E:{"1":"A B C O H XB R BB jB kB","2":"G W 0B YB","260":"I D F E dB eB fB","388":"cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B lB mB nB oB","260":"C Q J K L X Y Z a b c R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB","260":"F uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M GC","2":"BC CC DC","260":"FC","388":"KB G EC IB"},J:{"260":"A","388":"D"},K:{"1":"P","2":"A B","260":"C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A","260":"B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"File API"}; diff --git a/node_modules/caniuse-lite/data/features/filereader.js b/node_modules/caniuse-lite/data/features/filereader.js new file mode 100644 index 000000000..128eaf3b4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/filereader.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","132":"A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","2":"sB KB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","2":"E B lB mB nB oB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"A","2":"D"},K:{"1":"C P R VB BB","2":"A B"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"FileReader API"}; diff --git a/node_modules/caniuse-lite/data/features/filereadersync.js b/node_modules/caniuse-lite/data/features/filereadersync.js new file mode 100644 index 000000000..a378d3242 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/filereadersync.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E lB mB","16":"B nB oB R VB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"C P VB BB","2":"A","16":"B R"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"FileReaderSync"}; diff --git a/node_modules/caniuse-lite/data/features/filesystem.js b/node_modules/caniuse-lite/data/features/filesystem.js new file mode 100644 index 000000000..65cfcf1fc --- /dev/null +++ b/node_modules/caniuse-lite/data/features/filesystem.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","33":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"G W I D","33":"0 1 2 3 4 5 6 7 8 9 O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","36":"F E A B C"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","33":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D","33":"A"},K:{"2":"A B C R VB BB","33":"P"},L:{"33":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G","33":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Filesystem & FileWriter API"}; diff --git a/node_modules/caniuse-lite/data/features/flac.js b/node_modules/caniuse-lite/data/features/flac.js new file mode 100644 index 000000000..129e76bdd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/flac.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L V y M WB S","2":"C O H Q"},C:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v","16":"w x P","388":"0 1 2 3 4 5 6 7 z"},E:{"1":"O H jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB","516":"B C R BB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t lB mB nB oB R VB qB BB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"BC CC DC","16":"KB G EC IB FC GC"},J:{"1":"A","2":"D"},K:{"1":"BB","16":"A B C R VB","129":"P"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","129":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:6,C:"FLAC audio format"}; diff --git a/node_modules/caniuse-lite/data/features/flexbox-gap.js b/node_modules/caniuse-lite/data/features/flexbox-gap.js new file mode 100644 index 000000000..d7cfc6774 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/flexbox-gap.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"S","2":"C O H Q J K L V y M WB"},C:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB pB hB"},D:{"1":"S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"gap property for Flexbox"}; diff --git a/node_modules/caniuse-lite/data/features/flexbox.js b/node_modules/caniuse-lite/data/features/flexbox.js new file mode 100644 index 000000000..c391082de --- /dev/null +++ b/node_modules/caniuse-lite/data/features/flexbox.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","1028":"B","1316":"A"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","164":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB","516":"a b c d e f"},D:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"Z a b c d e f g","164":"G W I D F E A B C O H Q J K L X Y"},E:{"1":"E A B C O H fB XB R BB jB kB","33":"D F dB eB","164":"G W I 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B C lB mB nB oB R VB qB","33":"Q J"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","33":"F vB wB","164":"YB rB IB tB uB"},H:{"1":"AC"},I:{"1":"M FC GC","164":"KB G BC CC DC EC IB"},J:{"1":"A","164":"D"},K:{"1":"P BB","2":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","292":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS Flexible Box Layout Module"}; diff --git a/node_modules/caniuse-lite/data/features/flow-root.js b/node_modules/caniuse-lite/data/features/flow-root.js new file mode 100644 index 000000000..092d36f40 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/flow-root.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"O H jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R BB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w lB mB nB oB R VB qB BB"},G:{"1":"5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G IC JC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"display: flow-root"}; diff --git a/node_modules/caniuse-lite/data/features/focusin-focusout-events.js b/node_modules/caniuse-lite/data/features/focusin-focusout-events.js new file mode 100644 index 000000000..542c4d469 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/focusin-focusout-events.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","2":"iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E lB mB nB oB","16":"B R VB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"1":"G M EC IB FC GC","2":"BC CC DC","16":"KB"},J:{"1":"D A"},K:{"1":"C P BB","2":"A","16":"B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"focusin & focusout events"}; diff --git a/node_modules/caniuse-lite/data/features/focusoptions-preventscroll.js b/node_modules/caniuse-lite/data/features/focusoptions-preventscroll.js new file mode 100644 index 000000000..340f22b2c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/focusoptions-preventscroll.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J","132":"K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"preventScroll support in focus"}; diff --git a/node_modules/caniuse-lite/data/features/font-family-system-ui.js b/node_modules/caniuse-lite/data/features/font-family-system-ui.js new file mode 100644 index 000000000..a56121924 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-family-system-ui.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u pB hB","132":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","260":"5 6 7"},E:{"1":"B C O H R BB jB kB","2":"G W I D F 0B YB cB dB eB","16":"E","132":"A fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u lB mB nB oB R VB qB BB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB","132":"xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G IC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"132":"RC"}},B:5,C:"system-ui value for font-family"}; diff --git a/node_modules/caniuse-lite/data/features/font-feature.js b/node_modules/caniuse-lite/data/features/font-feature.js new file mode 100644 index 000000000..09ac6086e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-feature.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","33":"Q J K L X Y Z a b c d e f g h i j k l","164":"G W I D F E A B C O H"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q","33":"Z a b c d e f g h i j k l m n o p q r s t u v w x P z","292":"J K L X Y"},E:{"1":"A B C O H fB XB R BB jB kB","2":"D F E 0B YB dB eB","4":"G W I cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","33":"Q J K L X Y Z a b c d e f g h i j k l m"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F vB wB xB","4":"YB rB IB tB uB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB","33":"FC GC"},J:{"2":"D","33":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","33":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS font-feature-settings"}; diff --git a/node_modules/caniuse-lite/data/features/font-kerning.js b/node_modules/caniuse-lite/data/features/font-kerning.js new file mode 100644 index 000000000..5fad85a69 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-kerning.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b pB hB","194":"c d e f g h i j k l"},D:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g","33":"h i j k"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I 0B YB cB dB","33":"D F E eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q lB mB nB oB R VB qB BB","33":"J K L X"},G:{"2":"YB rB IB tB uB vB","33":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M GC","2":"KB G BC CC DC EC IB","33":"FC"},J:{"2":"D","33":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS3 font-kerning"}; diff --git a/node_modules/caniuse-lite/data/features/font-loading.js b/node_modules/caniuse-lite/data/features/font-loading.js new file mode 100644 index 000000000..5450cfb9f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-loading.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m pB hB","194":"n o p q r s"},D:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"CSS Font Loading"}; diff --git a/node_modules/caniuse-lite/data/features/font-size-adjust.js b/node_modules/caniuse-lite/data/features/font-size-adjust.js new file mode 100644 index 000000000..a526764ba --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-size-adjust.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","194":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u","194":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h lB mB nB oB R VB qB BB","194":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"258":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"194":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"CSS font-size-adjust"}; diff --git a/node_modules/caniuse-lite/data/features/font-smooth.js b/node_modules/caniuse-lite/data/features/font-smooth.js new file mode 100644 index 000000000..5847271b5 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-smooth.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","676":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c pB hB","804":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"G","676":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"0B YB","676":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","676":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"804":"RC"}},B:7,C:"CSS font-smooth"}; diff --git a/node_modules/caniuse-lite/data/features/font-unicode-range.js b/node_modules/caniuse-lite/data/features/font-unicode-range.js new file mode 100644 index 000000000..4bb9dc276 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-unicode-range.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","4":"E A B"},B:{"1":"K L V y M WB S","4":"C O H Q J"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n pB hB","194":"o p q r s t u v"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","4":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n"},E:{"1":"A B C O H XB R BB jB kB","4":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","4":"Q J K L X Y Z a"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","4":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","4":"KB G BC CC DC EC IB FC GC"},J:{"2":"D","4":"A"},K:{"2":"A B C R VB BB","4":"P"},L:{"1":"S"},M:{"1":"N"},N:{"4":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","4":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:4,C:"Font unicode-range subsetting"}; diff --git a/node_modules/caniuse-lite/data/features/font-variant-alternates.js b/node_modules/caniuse-lite/data/features/font-variant-alternates.js new file mode 100644 index 000000000..bd2c5f4bd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-variant-alternates.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","130":"A B"},B:{"130":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","130":"G W I D F E A B C O H Q J K L X Y Z a b","322":"c d e f g h i j k l"},D:{"2":"G W I D F E A B C O H Q","130":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"A B C O H fB XB R BB jB kB","2":"D F E 0B YB dB eB","130":"G W I cB"},F:{"2":"E B C lB mB nB oB R VB qB BB","130":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB vB wB xB","130":"rB IB tB uB"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","130":"M FC GC"},J:{"2":"D","130":"A"},K:{"2":"A B C R VB BB","130":"P"},L:{"130":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"130":"HC"},P:{"130":"G IC JC KC LC MC XB NC OC"},Q:{"130":"PC"},R:{"130":"QC"},S:{"1":"RC"}},B:5,C:"CSS font-variant-alternates"}; diff --git a/node_modules/caniuse-lite/data/features/font-variant-east-asian.js b/node_modules/caniuse-lite/data/features/font-variant-east-asian.js new file mode 100644 index 000000000..9d3f8079c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-variant-east-asian.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b pB hB","132":"c d e f g h i j k l"},D:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"132":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:4,C:"CSS font-variant-east-asian "}; diff --git a/node_modules/caniuse-lite/data/features/font-variant-numeric.js b/node_modules/caniuse-lite/data/features/font-variant-numeric.js new file mode 100644 index 000000000..4705ea9fc --- /dev/null +++ b/node_modules/caniuse-lite/data/features/font-variant-numeric.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l pB hB"},D:{"1":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q lB mB nB oB R VB qB BB"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D","16":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G IC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:2,C:"CSS font-variant-numeric"}; diff --git a/node_modules/caniuse-lite/data/features/fontface.js b/node_modules/caniuse-lite/data/features/fontface.js new file mode 100644 index 000000000..c26a46503 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/fontface.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","132":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","2":"0B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T mB nB oB R VB qB BB","2":"E lB"},G:{"1":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","260":"YB rB"},H:{"2":"AC"},I:{"1":"G M EC IB FC GC","2":"BC","4":"KB CC DC"},J:{"1":"A","4":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"@font-face Web fonts"}; diff --git a/node_modules/caniuse-lite/data/features/form-attribute.js b/node_modules/caniuse-lite/data/features/form-attribute.js new file mode 100644 index 000000000..9ac43346a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/form-attribute.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L V y M WB S","2":"C O H Q"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB","16":"W"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"1":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Form attribute"}; diff --git a/node_modules/caniuse-lite/data/features/form-submit-attributes.js b/node_modules/caniuse-lite/data/features/form-submit-attributes.js new file mode 100644 index 000000000..df3d210bd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/form-submit-attributes.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","2":"E lB","16":"mB nB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"1":"AC"},I:{"1":"G M EC IB FC GC","2":"BC CC DC","16":"KB"},J:{"1":"A","2":"D"},K:{"1":"B C P R VB BB","16":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Attributes for form submission"}; diff --git a/node_modules/caniuse-lite/data/features/form-validation.js b/node_modules/caniuse-lite/data/features/form-validation.js new file mode 100644 index 000000000..5d4e58cc5 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/form-validation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E"},E:{"1":"B C O H XB R BB jB kB","2":"G 0B YB","132":"W I D F E A cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T mB nB oB R VB qB BB","2":"E lB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB","132":"F rB IB tB uB vB wB xB yB zB"},H:{"516":"AC"},I:{"1":"M GC","2":"KB BC CC DC","132":"G EC IB FC"},J:{"1":"A","132":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"260":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"132":"RC"}},B:1,C:"Form validation"}; diff --git a/node_modules/caniuse-lite/data/features/forms.js b/node_modules/caniuse-lite/data/features/forms.js new file mode 100644 index 000000000..186d09163 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/forms.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","4":"A B","8":"I D F E"},B:{"1":"J K L V y M WB S","4":"C O H Q"},C:{"4":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","8":"sB KB pB hB"},D:{"1":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","4":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB"},E:{"4":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","8":"0B YB"},F:{"1":"4 5 6 7 8 9 E B C AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","4":"0 1 2 3 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},G:{"2":"YB","4":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB","4":"FC GC"},J:{"2":"D","4":"A"},K:{"1":"A B C R VB BB","4":"P"},L:{"1":"S"},M:{"4":"N"},N:{"4":"A B"},O:{"1":"HC"},P:{"1":"LC MC XB NC OC","4":"G IC JC KC"},Q:{"1":"PC"},R:{"4":"QC"},S:{"4":"RC"}},B:1,C:"HTML5 form features"}; diff --git a/node_modules/caniuse-lite/data/features/fullscreen.js b/node_modules/caniuse-lite/data/features/fullscreen.js new file mode 100644 index 000000000..6529a8ebd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/fullscreen.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","548":"B"},B:{"1":"V y M WB S","516":"C O H Q J K L"},C:{"1":"GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E pB hB","676":"A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P","1700":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB"},D:{"1":"NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H","676":"Q J K L X","804":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB"},E:{"2":"G W 0B YB","676":"cB","804":"I D F E A B C O H dB eB fB XB R BB jB kB"},F:{"1":"GB HB DB U N T BB","2":"E B C lB mB nB oB R VB qB","804":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B","2052":"3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D","292":"A"},K:{"2":"A B C R VB BB","804":"P"},L:{"804":"S"},M:{"1":"N"},N:{"2":"A","548":"B"},O:{"804":"HC"},P:{"1":"XB NC OC","804":"G IC JC KC LC MC"},Q:{"804":"PC"},R:{"804":"QC"},S:{"1":"RC"}},B:1,C:"Full Screen API"}; diff --git a/node_modules/caniuse-lite/data/features/gamepad.js b/node_modules/caniuse-lite/data/features/gamepad.js new file mode 100644 index 000000000..3065aca5d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/gamepad.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y","33":"Z a b c"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"Gamepad API"}; diff --git a/node_modules/caniuse-lite/data/features/geolocation.js b/node_modules/caniuse-lite/data/features/geolocation.js new file mode 100644 index 000000000..51d1a92bd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/geolocation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"iB","8":"I D F"},B:{"1":"C O H Q J K L","129":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","8":"sB KB","129":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","4":"G","129":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I D F E B C O H cB dB eB fB XB R BB jB kB","8":"G 0B YB","129":"A"},F:{"1":"B C J K L X Y Z a b c d e f g h i j k l m n o p q oB R VB qB BB","2":"E Q lB","8":"mB nB","129":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"F YB rB IB tB uB vB wB xB yB","129":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G BC CC DC EC IB FC GC","129":"M"},J:{"1":"D A"},K:{"1":"B C P R VB BB","8":"A"},L:{"129":"S"},M:{"129":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G","129":"IC JC KC LC MC XB NC OC"},Q:{"129":"PC"},R:{"129":"QC"},S:{"1":"RC"}},B:2,C:"Geolocation"}; diff --git a/node_modules/caniuse-lite/data/features/getboundingclientrect.js b/node_modules/caniuse-lite/data/features/getboundingclientrect.js new file mode 100644 index 000000000..be5d91c06 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/getboundingclientrect.js @@ -0,0 +1 @@ +module.exports={A:{A:{"644":"I D iB","2049":"E A B","2692":"F"},B:{"1":"V y M WB S","2049":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB","260":"G W I D F E A B","1156":"KB","1284":"pB","1796":"hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","16":"E lB","132":"mB nB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","132":"A"},L:{"1":"S"},M:{"1":"N"},N:{"2049":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Element.getBoundingClientRect()"}; diff --git a/node_modules/caniuse-lite/data/features/getcomputedstyle.js b/node_modules/caniuse-lite/data/features/getcomputedstyle.js new file mode 100644 index 000000000..2c397f145 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/getcomputedstyle.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB","132":"KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","260":"G W I D F E A"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","260":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","260":"E lB mB nB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","260":"YB rB IB"},H:{"260":"AC"},I:{"1":"G M EC IB FC GC","260":"KB BC CC DC"},J:{"1":"A","260":"D"},K:{"1":"B C P R VB BB","260":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"getComputedStyle"}; diff --git a/node_modules/caniuse-lite/data/features/getelementsbyclassname.js b/node_modules/caniuse-lite/data/features/getelementsbyclassname.js new file mode 100644 index 000000000..061bf3583 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/getelementsbyclassname.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"iB","8":"I D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","8":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"getElementsByClassName"}; diff --git a/node_modules/caniuse-lite/data/features/getrandomvalues.js b/node_modules/caniuse-lite/data/features/getrandomvalues.js new file mode 100644 index 000000000..b5fd03b30 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/getrandomvalues.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","33":"B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W I 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A","33":"B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"crypto.getRandomValues()"}; diff --git a/node_modules/caniuse-lite/data/features/gyroscope.js b/node_modules/caniuse-lite/data/features/gyroscope.js new file mode 100644 index 000000000..ec25d2001 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/gyroscope.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"AB LB CB JB EB FB GB HB DB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"Gyroscope"}; diff --git a/node_modules/caniuse-lite/data/features/hardwareconcurrency.js b/node_modules/caniuse-lite/data/features/hardwareconcurrency.js new file mode 100644 index 000000000..157fb191b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/hardwareconcurrency.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"Q J K L V y M WB S","2":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o"},E:{"2":"G W I D 0B YB cB dB eB","129":"B C O H XB R BB jB kB","194":"F E A fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b lB mB nB oB R VB qB BB"},G:{"2":"YB rB IB tB uB vB","129":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","194":"F wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"navigator.hardwareConcurrency"}; diff --git a/node_modules/caniuse-lite/data/features/hashchange.js b/node_modules/caniuse-lite/data/features/hashchange.js new file mode 100644 index 000000000..c37a84a70 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/hashchange.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F E A B","8":"I D iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","8":"sB KB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","8":"G"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","8":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","8":"E lB mB nB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB"},H:{"2":"AC"},I:{"1":"KB G M CC DC EC IB FC GC","2":"BC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","8":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Hashchange event"}; diff --git a/node_modules/caniuse-lite/data/features/heif.js b/node_modules/caniuse-lite/data/features/heif.js new file mode 100644 index 000000000..7b45e76af --- /dev/null +++ b/node_modules/caniuse-lite/data/features/heif.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A 0B YB cB dB eB fB XB","130":"B C O H R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB","130":"1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"HEIF/ISO Base Media File Format"}; diff --git a/node_modules/caniuse-lite/data/features/hevc.js b/node_modules/caniuse-lite/data/features/hevc.js new file mode 100644 index 000000000..e313202e4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/hevc.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","132":"B"},B:{"2":"V y M WB S","132":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"O H jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB","516":"B C R BB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","258":"M"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"258":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G","258":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"HEVC/H.265 video format"}; diff --git a/node_modules/caniuse-lite/data/features/hidden.js b/node_modules/caniuse-lite/data/features/hidden.js new file mode 100644 index 000000000..7bec03988 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/hidden.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","2":"E B lB mB nB oB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"1":"AC"},I:{"1":"G M EC IB FC GC","2":"KB BC CC DC"},J:{"1":"A","2":"D"},K:{"1":"C P R VB BB","2":"A B"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"hidden attribute"}; diff --git a/node_modules/caniuse-lite/data/features/high-resolution-time.js b/node_modules/caniuse-lite/data/features/high-resolution-time.js new file mode 100644 index 000000000..86a5c0213 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/high-resolution-time.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X","33":"Y Z a b"},E:{"1":"F E A B C O H fB XB R BB jB kB","2":"G W I D 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"High Resolution Time API"}; diff --git a/node_modules/caniuse-lite/data/features/history.js b/node_modules/caniuse-lite/data/features/history.js new file mode 100644 index 000000000..2c64a48f3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/history.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G 0B YB","4":"W cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T VB qB BB","2":"E B lB mB nB oB R"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB","4":"IB"},H:{"2":"AC"},I:{"1":"M CC DC IB FC GC","2":"KB G BC EC"},J:{"1":"D A"},K:{"1":"C P R VB BB","2":"A B"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Session history management"}; diff --git a/node_modules/caniuse-lite/data/features/html-media-capture.js b/node_modules/caniuse-lite/data/features/html-media-capture.js new file mode 100644 index 000000000..9a8cd7893 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/html-media-capture.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"YB rB IB tB","129":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC","257":"CC DC"},J:{"1":"A","16":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"516":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"16":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:4,C:"HTML Media Capture"}; diff --git a/node_modules/caniuse-lite/data/features/html5semantic.js b/node_modules/caniuse-lite/data/features/html5semantic.js new file mode 100644 index 000000000..0eec10b35 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/html5semantic.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","8":"I D F","260":"E A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB","132":"KB pB hB","260":"G W I D F E A B C O H Q J K L X Y"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W","260":"I D F E A B C O H Q J K L X Y Z a b c d"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","132":"G 0B YB","260":"W I cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","132":"E B lB mB nB oB","260":"C R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","132":"YB","260":"rB IB tB uB"},H:{"132":"AC"},I:{"1":"M FC GC","132":"BC","260":"KB G CC DC EC IB"},J:{"260":"D A"},K:{"1":"P","132":"A","260":"B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"260":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"HTML5 semantic elements"}; diff --git a/node_modules/caniuse-lite/data/features/http-live-streaming.js b/node_modules/caniuse-lite/data/features/http-live-streaming.js new file mode 100644 index 000000000..ac2d4e92b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/http-live-streaming.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L","2":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:7,C:"HTTP Live Streaming (HLS)"}; diff --git a/node_modules/caniuse-lite/data/features/http2.js b/node_modules/caniuse-lite/data/features/http2.js new file mode 100644 index 000000000..d84b24035 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/http2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","132":"B"},B:{"1":"C O H Q J K L","513":"V y M WB S"},C:{"1":"0 1 2 3 4 o p q r s t u v w x P z","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n pB hB","513":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 t u v w x P z","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s","513":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"B C O H R BB jB kB","2":"G W I D F 0B YB cB dB eB","260":"E A fB XB"},F:{"1":"g h i j k l m n o p","2":"E B C Q J K L X Y Z a b c d e f lB mB nB oB R VB qB BB","513":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","513":"M"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"513":"S"},M:{"513":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G","513":"IC JC KC LC MC XB NC OC"},Q:{"513":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"HTTP/2 protocol"}; diff --git a/node_modules/caniuse-lite/data/features/http3.js b/node_modules/caniuse-lite/data/features/http3.js new file mode 100644 index 000000000..c237b4d79 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/http3.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB pB hB","194":"OB PB QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB","322":"V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB jB","66":"H kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B","66":"9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"HTTP/3 protocol"}; diff --git a/node_modules/caniuse-lite/data/features/iframe-sandbox.js b/node_modules/caniuse-lite/data/features/iframe-sandbox.js new file mode 100644 index 000000000..1e0069931 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/iframe-sandbox.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J pB hB","4":"K L X Y Z a b c d e f"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB"},H:{"2":"AC"},I:{"1":"KB G M CC DC EC IB FC GC","2":"BC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"sandbox attribute for iframes"}; diff --git a/node_modules/caniuse-lite/data/features/iframe-seamless.js b/node_modules/caniuse-lite/data/features/iframe-seamless.js new file mode 100644 index 000000000..02c40fd8d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/iframe-seamless.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","66":"Y Z a b c d e"},E:{"2":"G W I F E A B C O H 0B YB cB dB fB XB R BB jB kB","130":"D eB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","130":"vB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"seamless attribute for iframes"}; diff --git a/node_modules/caniuse-lite/data/features/iframe-srcdoc.js b/node_modules/caniuse-lite/data/features/iframe-srcdoc.js new file mode 100644 index 000000000..1be980dba --- /dev/null +++ b/node_modules/caniuse-lite/data/features/iframe-srcdoc.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","8":"I D F E A B"},B:{"1":"V y M WB S","8":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB","8":"KB G W I D F E A B C O H Q J K L X Y Z a b c pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O","8":"H Q J K L X"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"0B YB","8":"G W cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B lB mB nB oB","8":"C R VB qB BB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB","8":"rB IB tB"},H:{"2":"AC"},I:{"1":"M FC GC","8":"KB G BC CC DC EC IB"},J:{"1":"A","8":"D"},K:{"1":"P","2":"A B","8":"C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"8":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"srcdoc attribute for iframes"}; diff --git a/node_modules/caniuse-lite/data/features/imagecapture.js b/node_modules/caniuse-lite/data/features/imagecapture.js new file mode 100644 index 000000000..ccf2a3ca1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/imagecapture.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","322":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m pB hB","194":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","322":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r lB mB nB oB R VB qB BB","322":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"322":"PC"},R:{"1":"QC"},S:{"194":"RC"}},B:5,C:"ImageCapture API"}; diff --git a/node_modules/caniuse-lite/data/features/ime.js b/node_modules/caniuse-lite/data/features/ime.js new file mode 100644 index 000000000..a3bfe3c98 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ime.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","161":"B"},B:{"2":"V y M WB S","161":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A","161":"B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"Input Method Editor API"}; diff --git a/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js b/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js new file mode 100644 index 000000000..3de6c1b0b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"naturalWidth & naturalHeight image properties"}; diff --git a/node_modules/caniuse-lite/data/features/imports.js b/node_modules/caniuse-lite/data/features/imports.js new file mode 100644 index 000000000..cee2c9892 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/imports.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","8":"A B"},B:{"1":"V","2":"y M WB S","8":"C O H Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h pB hB","8":"8 9 i j AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","72":"0 1 2 3 4 5 6 7 k l m n o p q r s t u v w x P z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h y M WB S gB bB aB","66":"i j k l m","72":"n"},E:{"2":"G W 0B YB cB","8":"I D F E A B C O H dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB","2":"E B C Q J U N T lB mB nB oB R VB qB BB","66":"K L X Y Z","72":"a"},G:{"2":"YB rB IB tB uB","8":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"2":"S"},M:{"8":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"HTML Imports"}; diff --git a/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js b/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js new file mode 100644 index 000000000..e430eef6d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","16":"iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","2":"sB KB","16":"pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E B lB mB nB oB R VB"},G:{"1":"4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"2":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"indeterminate checkbox"}; diff --git a/node_modules/caniuse-lite/data/features/indexeddb.js b/node_modules/caniuse-lite/data/features/indexeddb.js new file mode 100644 index 000000000..ccb9b33b3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/indexeddb.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","132":"A B"},B:{"1":"V y M WB S","132":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","33":"A B C O H Q","36":"G W I D F E"},D:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"A","8":"G W I D F E","33":"b","36":"B C O H Q J K L X Y Z a"},E:{"1":"A B C O H XB R BB jB kB","8":"G W I D 0B YB cB dB","260":"F E eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E lB mB","8":"B C nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","8":"YB rB IB tB uB vB","260":"F wB xB yB"},H:{"2":"AC"},I:{"1":"M FC GC","8":"KB G BC CC DC EC IB"},J:{"1":"A","8":"D"},K:{"1":"P","2":"A","8":"B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"IndexedDB"}; diff --git a/node_modules/caniuse-lite/data/features/indexeddb2.js b/node_modules/caniuse-lite/data/features/indexeddb2.js new file mode 100644 index 000000000..a08f550e1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/indexeddb2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v pB hB","132":"w x P","260":"0 1 2 z"},D:{"1":"AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","132":"0 1 2 3","260":"4 5 6 7 8 9"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m lB mB nB oB R VB qB BB","132":"n o p q","260":"r s t u v w"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB","16":"zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G","260":"IC JC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"260":"RC"}},B:4,C:"IndexedDB 2.0"}; diff --git a/node_modules/caniuse-lite/data/features/inline-block.js b/node_modules/caniuse-lite/data/features/inline-block.js new file mode 100644 index 000000000..8906ab91b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/inline-block.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F E A B","4":"iB","132":"I D"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","36":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS inline-block"}; diff --git a/node_modules/caniuse-lite/data/features/innertext.js b/node_modules/caniuse-lite/data/features/innertext.js new file mode 100644 index 000000000..d9c85b3ee --- /dev/null +++ b/node_modules/caniuse-lite/data/features/innertext.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","16":"iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","16":"0B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","16":"E"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"HTMLElement.innerText"}; diff --git a/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js b/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js new file mode 100644 index 000000000..d7fc399d3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A iB","132":"B"},B:{"132":"C O H Q J K L","260":"V y M WB S"},C:{"1":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h pB hB","516":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"K L X Y Z a b c d e","2":"G W I D F E A B C O H Q J","132":"f g h i j k l m n o p q r s","260":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"I cB dB","2":"G W 0B YB","2052":"D F E A B C O H eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"YB rB IB","1025":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1025":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2052":"A B"},O:{"1025":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"260":"PC"},R:{"1":"QC"},S:{"516":"RC"}},B:1,C:"autocomplete attribute: on & off values"}; diff --git a/node_modules/caniuse-lite/data/features/input-color.js b/node_modules/caniuse-lite/data/features/input-color.js new file mode 100644 index 000000000..c84590c2f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-color.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X"},E:{"1":"O H BB jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","2":"E Q J lB mB nB oB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B","129":"4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:1,C:"Color input type"}; diff --git a/node_modules/caniuse-lite/data/features/input-datetime.js b/node_modules/caniuse-lite/data/features/input-datetime.js new file mode 100644 index 000000000..1655a5afe --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-datetime.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","132":"C"},C:{"2":"0 1 2 3 4 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","1090":"5 6 7 8","2052":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X","2052":"Y Z a b c"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"YB rB IB","260":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB BC CC DC","514":"G EC IB"},J:{"1":"A","2":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2052":"RC"}},B:1,C:"Date and time input types"}; diff --git a/node_modules/caniuse-lite/data/features/input-email-tel-url.js b/node_modules/caniuse-lite/data/features/input-email-tel-url.js new file mode 100644 index 000000000..a6e0764c8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-email-tel-url.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","132":"BC CC DC"},J:{"1":"A","132":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Email, telephone & URL input types"}; diff --git a/node_modules/caniuse-lite/data/features/input-event.js b/node_modules/caniuse-lite/data/features/input-event.js new file mode 100644 index 000000000..67b1d6fcb --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-event.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","2561":"A B","2692":"E"},B:{"1":"V y M WB S","2561":"C O H Q J K L"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","16":"sB","1537":"0 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z hB","1796":"KB pB"},D:{"1":"DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H","1025":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB","1537":"Q J K L X Y Z a b c d e f g h i j k l m"},E:{"1":"H jB kB","16":"G W I 0B YB","1025":"D F E A B C dB eB fB XB R","1537":"cB","4097":"O BB"},F:{"1":"4 5 6 7 8 9 AB CB EB FB GB HB DB U N T BB","16":"E B C lB mB nB oB R VB","260":"qB","1025":"0 1 2 3 a b c d e f g h i j k l m n o p q r s t u v w x P z","1537":"Q J K L X Y Z"},G:{"16":"YB rB IB","1025":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","1537":"tB uB vB"},H:{"2":"AC"},I:{"16":"BC CC","1025":"M GC","1537":"KB G DC EC IB FC"},J:{"1025":"A","1537":"D"},K:{"1":"A B C R VB BB","1025":"P"},L:{"1":"S"},M:{"1537":"N"},N:{"2561":"A B"},O:{"1537":"HC"},P:{"1025":"G IC JC KC LC MC XB NC OC"},Q:{"1025":"PC"},R:{"1025":"QC"},S:{"1537":"RC"}},B:1,C:"input event"}; diff --git a/node_modules/caniuse-lite/data/features/input-file-accept.js b/node_modules/caniuse-lite/data/features/input-file-accept.js new file mode 100644 index 000000000..94d8423ef --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-file-accept.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","132":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G","16":"W I D F Z a b c d","132":"E A B C O H Q J K L X Y"},E:{"1":"C O H R BB jB kB","2":"G W 0B YB cB","132":"I D F E A B dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"2":"uB vB","132":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","514":"YB rB IB tB"},H:{"2":"AC"},I:{"2":"BC CC DC","260":"KB G EC IB","514":"M FC GC"},J:{"132":"A","260":"D"},K:{"2":"A B C R VB BB","260":"P"},L:{"260":"S"},M:{"2":"N"},N:{"514":"A","1028":"B"},O:{"2":"HC"},P:{"260":"G IC JC KC LC MC XB NC OC"},Q:{"260":"PC"},R:{"260":"QC"},S:{"1":"RC"}},B:1,C:"accept attribute for file input"}; diff --git a/node_modules/caniuse-lite/data/features/input-file-directory.js b/node_modules/caniuse-lite/data/features/input-file-directory.js new file mode 100644 index 000000000..a090dd33c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-file-directory.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Directory selection from file input"}; diff --git a/node_modules/caniuse-lite/data/features/input-file-multiple.js b/node_modules/caniuse-lite/data/features/input-file-multiple.js new file mode 100644 index 000000000..7624a4331 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-file-multiple.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","2":"sB KB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","2":"E lB mB nB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB"},H:{"130":"AC"},I:{"130":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"130":"A B C P R VB BB"},L:{"132":"S"},M:{"130":"N"},N:{"2":"A B"},O:{"130":"HC"},P:{"130":"G","132":"IC JC KC LC MC XB NC OC"},Q:{"132":"PC"},R:{"132":"QC"},S:{"2":"RC"}},B:1,C:"Multiple file selection"}; diff --git a/node_modules/caniuse-lite/data/features/input-inputmode.js b/node_modules/caniuse-lite/data/features/input-inputmode.js new file mode 100644 index 000000000..a629d1a03 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-inputmode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J pB hB","4":"K L X Y","194":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","66":"8 9 AB LB CB JB EB FB GB HB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u lB mB nB oB R VB qB BB","66":"0 1 2 3 4 v w x P z"},G:{"1":"4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"194":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"MC XB NC OC","2":"G IC JC KC LC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"194":"RC"}},B:1,C:"inputmode attribute"}; diff --git a/node_modules/caniuse-lite/data/features/input-minlength.js b/node_modules/caniuse-lite/data/features/input-minlength.js new file mode 100644 index 000000000..bc3707bfb --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-minlength.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L V y M WB S","2":"C O H Q J"},C:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:1,C:"Minimum length attribute for input fields"}; diff --git a/node_modules/caniuse-lite/data/features/input-number.js b/node_modules/caniuse-lite/data/features/input-number.js new file mode 100644 index 000000000..862c07a0f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-number.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","129":"A B"},B:{"1":"V y M WB S","129":"C O","1025":"H Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB","513":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"388":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB BC CC DC","388":"G M EC IB FC GC"},J:{"2":"D","388":"A"},K:{"1":"A B C R VB BB","388":"P"},L:{"388":"S"},M:{"641":"N"},N:{"388":"A B"},O:{"388":"HC"},P:{"388":"G IC JC KC LC MC XB NC OC"},Q:{"388":"PC"},R:{"388":"QC"},S:{"513":"RC"}},B:1,C:"Number input type"}; diff --git a/node_modules/caniuse-lite/data/features/input-pattern.js b/node_modules/caniuse-lite/data/features/input-pattern.js new file mode 100644 index 000000000..9f141b328 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-pattern.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E"},E:{"1":"B C O H XB R BB jB kB","2":"G 0B YB","16":"W","388":"I D F E A cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB","388":"F tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M GC","2":"KB G BC CC DC EC IB FC"},J:{"1":"A","2":"D"},K:{"1":"A B C R VB BB","132":"P"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Pattern attribute for input fields"}; diff --git a/node_modules/caniuse-lite/data/features/input-placeholder.js b/node_modules/caniuse-lite/data/features/input-placeholder.js new file mode 100644 index 000000000..f501a34f4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-placeholder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","132":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T VB qB BB","2":"E lB mB nB oB","132":"B R"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB M BC CC DC IB FC GC","4":"G EC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"input placeholder attribute"}; diff --git a/node_modules/caniuse-lite/data/features/input-range.js b/node_modules/caniuse-lite/data/features/input-range.js new file mode 100644 index 000000000..f87dc2eaa --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-range.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"1":"M IB FC GC","4":"KB G BC CC DC EC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Range input type"}; diff --git a/node_modules/caniuse-lite/data/features/input-search.js b/node_modules/caniuse-lite/data/features/input-search.js new file mode 100644 index 000000000..37074e6e8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-search.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","129":"A B"},B:{"1":"V y M WB S","129":"C O H Q J K L"},C:{"2":"sB KB pB hB","129":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H Z a b c d","129":"Q J K L X Y"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E lB mB nB oB","16":"B R VB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB"},H:{"129":"AC"},I:{"1":"M FC GC","16":"BC CC","129":"KB G DC EC IB"},J:{"1":"D","129":"A"},K:{"1":"C","2":"A","16":"B R VB","129":"P BB"},L:{"1":"S"},M:{"129":"N"},N:{"129":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"129":"RC"}},B:1,C:"Search input type"}; diff --git a/node_modules/caniuse-lite/data/features/input-selection.js b/node_modules/caniuse-lite/data/features/input-selection.js new file mode 100644 index 000000000..6d00d3b8e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/input-selection.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","16":"E lB mB nB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Selection controls for input & textarea"}; diff --git a/node_modules/caniuse-lite/data/features/insert-adjacent.js b/node_modules/caniuse-lite/data/features/insert-adjacent.js new file mode 100644 index 000000000..7f8ef8718 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/insert-adjacent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","16":"iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","16":"E"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Element.insertAdjacentElement() & Element.insertAdjacentText()"}; diff --git a/node_modules/caniuse-lite/data/features/insertadjacenthtml.js b/node_modules/caniuse-lite/data/features/insertadjacenthtml.js new file mode 100644 index 000000000..dc77d658d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/insertadjacenthtml.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","16":"iB","132":"I D F E"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T mB nB oB R VB qB BB","16":"E lB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Element.insertAdjacentHTML()"}; diff --git a/node_modules/caniuse-lite/data/features/internationalization-plural-rul.js b/node_modules/caniuse-lite/data/features/internationalization-plural-rul.js new file mode 100644 index 000000000..a8ff0cdd6 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/internationalization-plural-rul.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"L H G E A B jB"},B:{"1":"8","2":"C D e K I N","130":"J"},C:{"1":"1 2 3 9 KB JB CB DB EB O GB HB IB","2":"0 4 5 7 gB BB F L H G E A B C D e K I N J P Q R S T U V W X Y Z a b c d f g h i j k l m n o M q r s t u v w x y z aB ZB"},D:{"1":"8 JB CB DB EB O GB HB IB TB PB OB mB MB QB RB","2":"0 1 2 3 4 5 7 9 F L H G E A B C D e K I N J P Q R S T U V W X Y Z a b c d f g h i j k l m n o M q r s t u v w x y z KB"},E:{"2":"4 6 F L H G E A B C SB LB UB VB WB XB YB p","16":"D bB"},F:{"1":"0 1 2 3 t u v w x y z","2":"5 6 7 E B C K I N J P Q R S T U V W X Y Z a b c d f g h i j k l m n o M q r s cB dB eB fB p AB hB"},G:{"2":"G D LB iB FB kB lB NB nB oB pB qB rB sB tB uB vB"},H:{"2":"wB"},I:{"1":"O","2":"BB F xB yB zB 0B FB 1B 2B"},J:{"2":"H A"},K:{"2":"6 A B C M p AB"},L:{"1":"MB"},M:{"1":"O"},N:{"2":"A B"},O:{"2":"3B"},P:{"2":"F 4B 5B 6B 7B 8B"},Q:{"2":"9B"},R:{"2":"AC"},S:{"2":"BC"}},B:6,C:"Intl.PluralRules API"}; diff --git a/node_modules/caniuse-lite/data/features/internationalization.js b/node_modules/caniuse-lite/data/features/internationalization.js new file mode 100644 index 000000000..6989d4409 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/internationalization.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:6,C:"Internationalization API"}; diff --git a/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js b/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js new file mode 100644 index 000000000..8d9a85d28 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"EB FB GB HB DB U N T","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"NC OC","2":"G IC JC KC LC MC XB"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"IntersectionObserver V2"}; diff --git a/node_modules/caniuse-lite/data/features/intersectionobserver.js b/node_modules/caniuse-lite/data/features/intersectionobserver.js new file mode 100644 index 000000000..d644786d4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/intersectionobserver.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L","2":"C O H","516":"Q","1025":"V y M WB S"},C:{"1":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","194":"4 5 6"},D:{"1":"AB LB CB JB EB FB GB","2":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","516":"3 4 5 6 7 8 9","1025":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"O H BB jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R"},F:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB CB EB FB","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p lB mB nB oB R VB qB BB","516":"q r s t u v w","1025":"GB HB DB U N T"},G:{"1":"4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","1025":"M"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"516":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G","516":"IC JC"},Q:{"1025":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"IntersectionObserver"}; diff --git a/node_modules/caniuse-lite/data/features/intl-pluralrules.js b/node_modules/caniuse-lite/data/features/intl-pluralrules.js new file mode 100644 index 000000000..862d71ba3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/intl-pluralrules.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K","130":"L"},C:{"1":"AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB"},E:{"1":"O H jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R BB"},F:{"1":"2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"1":"5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Intl.PluralRules API"}; diff --git a/node_modules/caniuse-lite/data/features/intrinsic-width.js b/node_modules/caniuse-lite/data/features/intrinsic-width.js new file mode 100644 index 000000000..a0abac008 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/intrinsic-width.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","1537":"V y M WB S"},C:{"2":"sB","932":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB pB hB","2308":"DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z","545":"a b c d e f g h i j k l m n o p q r s t u v w x","1537":"0 1 2 3 4 5 6 7 8 9 P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I 0B YB cB","516":"B C O H R BB jB kB","548":"E A fB XB","676":"D F dB eB"},F:{"2":"E B C lB mB nB oB R VB qB BB","513":"m","545":"Q J K L X Y Z a b c d e f g h i j k","1537":"0 1 2 3 4 5 6 7 8 9 l n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"YB rB IB tB uB","548":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","676":"F vB wB"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","545":"FC GC","1537":"M"},J:{"2":"D","545":"A"},K:{"2":"A B C R VB BB","1537":"P"},L:{"1537":"S"},M:{"2340":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"545":"G","1537":"IC JC KC LC MC XB NC OC"},Q:{"545":"PC"},R:{"1537":"QC"},S:{"932":"RC"}},B:5,C:"Intrinsic & Extrinsic Sizing"}; diff --git a/node_modules/caniuse-lite/data/features/jpeg2000.js b/node_modules/caniuse-lite/data/features/jpeg2000.js new file mode 100644 index 000000000..6f2481e92 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/jpeg2000.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G 0B YB","129":"W cB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"JPEG 2000 image format"}; diff --git a/node_modules/caniuse-lite/data/features/jpegxr.js b/node_modules/caniuse-lite/data/features/jpegxr.js new file mode 100644 index 000000000..502cea3fb --- /dev/null +++ b/node_modules/caniuse-lite/data/features/jpegxr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L","2":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"1":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"JPEG XR image format"}; diff --git a/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js b/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js new file mode 100644 index 000000000..1bf3931bc --- /dev/null +++ b/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB pB hB"},D:{"1":"EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Lookbehind in JS regular expressions"}; diff --git a/node_modules/caniuse-lite/data/features/json.js b/node_modules/caniuse-lite/data/features/json.js new file mode 100644 index 000000000..4178f1bee --- /dev/null +++ b/node_modules/caniuse-lite/data/features/json.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D iB","129":"F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"JSON parsing"}; diff --git a/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js b/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js new file mode 100644 index 000000000..c8514ad65 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q","132":"J K L"},C:{"1":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","132":"9 AB LB"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB","132":"XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v lB mB nB oB R VB qB BB","132":"w x P"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB","132":"ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"132":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC","132":"KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"132":"RC"}},B:5,C:"CSS justify-content: space-evenly"}; diff --git a/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js b/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js new file mode 100644 index 000000000..2a8d3e1c6 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"L V y M WB S","2":"C O H Q J K"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"BC CC DC","132":"KB G EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:7,C:"High-quality kerning pairs & ligatures"}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js b/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js new file mode 100644 index 000000000..16a030fc7 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","16":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB","16":"C"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"BB","2":"A B R VB","16":"C","130":"P"},L:{"1":"S"},M:{"130":"N"},N:{"130":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:7,C:"KeyboardEvent.charCode"}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-code.js b/node_modules/caniuse-lite/data/features/keyboardevent-code.js new file mode 100644 index 000000000..686d9cc8b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/keyboardevent-code.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t","194":"u v w x P z"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g lB mB nB oB R VB qB BB","194":"h i j k l m"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","194":"P"},L:{"194":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G","194":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"194":"QC"},S:{"1":"RC"}},B:5,C:"KeyboardEvent.code"}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js b/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js new file mode 100644 index 000000000..958ff3367 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B Q J lB mB nB oB R VB qB","16":"C"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P BB","2":"A B R VB","16":"C"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"KeyboardEvent.getModifierState()"}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-key.js b/node_modules/caniuse-lite/data/features/keyboardevent-key.js new file mode 100644 index 000000000..ff7f4e86d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/keyboardevent-key.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","260":"E A B"},B:{"1":"V y M WB S","260":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a pB hB","132":"b c d e f g"},D:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B Q J K L X Y Z a b c d e f g h i j k l m n o p lB mB nB oB R VB qB","16":"C"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"1":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"BB","2":"A B R VB","16":"C P"},L:{"1":"S"},M:{"1":"N"},N:{"260":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:5,C:"KeyboardEvent.key"}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-location.js b/node_modules/caniuse-lite/data/features/keyboardevent-location.js new file mode 100644 index 000000000..54025800d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/keyboardevent-location.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","16":"I 0B YB","132":"G W cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB","16":"C","132":"Q J"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB","132":"tB uB vB"},H:{"2":"AC"},I:{"1":"M FC GC","16":"BC CC","132":"KB G DC EC IB"},J:{"132":"D A"},K:{"1":"P BB","2":"A B R VB","16":"C"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"KeyboardEvent.location"}; diff --git a/node_modules/caniuse-lite/data/features/keyboardevent-which.js b/node_modules/caniuse-lite/data/features/keyboardevent-which.js new file mode 100644 index 000000000..7e8124e39 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/keyboardevent-which.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB","16":"W"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T mB nB oB R VB qB BB","16":"E lB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB","16":"BC CC","132":"FC GC"},J:{"1":"D A"},K:{"1":"A B C R VB BB","132":"P"},L:{"132":"S"},M:{"132":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"2":"G","132":"IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"132":"QC"},S:{"1":"RC"}},B:7,C:"KeyboardEvent.which"}; diff --git a/node_modules/caniuse-lite/data/features/lazyload.js b/node_modules/caniuse-lite/data/features/lazyload.js new file mode 100644 index 000000000..cc72e3073 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/lazyload.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"C O H Q J K L","2":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"1":"B","2":"A"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Resource Hints: Lazyload"}; diff --git a/node_modules/caniuse-lite/data/features/let.js b/node_modules/caniuse-lite/data/features/let.js new file mode 100644 index 000000000..91cd82d1b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/let.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","2052":"B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","194":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v pB hB"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L","322":"X Y Z a b c d e f g h i j k l m n o p q r s","516":"0 t u v w x P z"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB","1028":"A XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","322":"Q J K L X Y Z a b c d e f","516":"g h i j k l m n"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB","1028":"zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","516":"G"},Q:{"1":"PC"},R:{"516":"QC"},S:{"1":"RC"}},B:6,C:"let"}; diff --git a/node_modules/caniuse-lite/data/features/link-icon-png.js b/node_modules/caniuse-lite/data/features/link-icon-png.js new file mode 100644 index 000000000..cc5035d91 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/link-icon-png.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"C O H Q J K L","129":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"129":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"257":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"129":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","513":"E B C lB mB nB oB R VB qB BB"},G:{"1026":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1026":"AC"},I:{"1":"KB G BC CC DC EC IB","513":"M FC GC"},J:{"1":"D","1026":"A"},K:{"1026":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1026":"A B"},O:{"257":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","513":"G"},Q:{"129":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"PNG favicons"}; diff --git a/node_modules/caniuse-lite/data/features/link-icon-svg.js b/node_modules/caniuse-lite/data/features/link-icon-svg.js new file mode 100644 index 000000000..fd5e6b45c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/link-icon-svg.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V","3073":"y M WB S"},C:{"2":"sB KB pB hB","260":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s","1025":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V","3073":"y M WB S gB bB aB"},E:{"2":"G W I D F 0B YB cB dB eB","516":"E A B C O H fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 w x P z","2":"6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v AB CB EB FB GB HB DB lB mB nB oB R VB qB BB","3073":"U N T"},G:{"130":"F YB rB IB tB uB vB wB","516":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"130":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D","130":"A"},K:{"130":"A B C P R VB BB"},L:{"3073":"S"},M:{"2":"N"},N:{"130":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1025":"RC"}},B:1,C:"SVG favicons"}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js b/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js new file mode 100644 index 000000000..dae88c29a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F iB","132":"E"},B:{"1":"C O H Q J K L V y M WB S"},C:{"2":"sB KB","260":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"16":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"16":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"16":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","16":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Resource Hints: dns-prefetch"}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js b/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js new file mode 100644 index 000000000..2df02716f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"MC XB NC OC","2":"G IC JC KC LC"},Q:{"16":"PC"},R:{"16":"QC"},S:{"2":"RC"}},B:1,C:"Resource Hints: modulepreload"}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-preconnect.js b/node_modules/caniuse-lite/data/features/link-rel-preconnect.js new file mode 100644 index 000000000..a31b8d5b2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/link-rel-preconnect.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H","260":"Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q pB hB","129":"r"},D:{"1":"0 1 2 3 4 5 6 7 8 9 P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"16":"N"},N:{"2":"A B"},O:{"16":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Resource Hints: preconnect"}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-prefetch.js b/node_modules/caniuse-lite/data/features/link-rel-prefetch.js new file mode 100644 index 000000000..0bb2da7f3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/link-rel-prefetch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D"},E:{"2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB","194":"H jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B","194":"8B 9B"},H:{"2":"AC"},I:{"1":"G M FC GC","2":"KB BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Resource Hints: prefetch"}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-preload.js b/node_modules/caniuse-lite/data/features/link-rel-preload.js new file mode 100644 index 000000000..85c15e174 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/link-rel-preload.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J","1028":"K L"},C:{"2":"0 1 2 3 4 5 6 7 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","132":"8","578":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB","322":"B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB","322":"1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"578":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"Resource Hints: preload"}; diff --git a/node_modules/caniuse-lite/data/features/link-rel-prerender.js b/node_modules/caniuse-lite/data/features/link-rel-prerender.js new file mode 100644 index 000000000..fefabe6c3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/link-rel-prerender.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"1":"B","2":"A"},O:{"2":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"Resource Hints: prerender"}; diff --git a/node_modules/caniuse-lite/data/features/loading-lazy-attr.js b/node_modules/caniuse-lite/data/features/loading-lazy-attr.js new file mode 100644 index 000000000..63648ae22 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/loading-lazy-attr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB pB hB"},D:{"1":"SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB","194":"RB"},E:{"2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB","322":"H jB kB"},F:{"1":"GB HB DB U N T","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B","322":"8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"OC","2":"G IC JC KC LC MC XB NC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"Lazy loading via attribute for images & iframes"}; diff --git a/node_modules/caniuse-lite/data/features/localecompare.js b/node_modules/caniuse-lite/data/features/localecompare.js new file mode 100644 index 000000000..aea0549cd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/localecompare.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","16":"iB","132":"I D F E A"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","132":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C O H Q J K L X Y Z a b"},E:{"1":"A B C O H XB R BB jB kB","132":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E B C lB mB nB oB R VB qB","132":"BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","132":"F YB rB IB tB uB vB wB xB yB"},H:{"132":"AC"},I:{"1":"M FC GC","132":"KB G BC CC DC EC IB"},J:{"132":"D A"},K:{"1":"P","16":"A B C R VB","132":"BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","132":"A"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","132":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"4":"RC"}},B:6,C:"localeCompare()"}; diff --git a/node_modules/caniuse-lite/data/features/magnetometer.js b/node_modules/caniuse-lite/data/features/magnetometer.js new file mode 100644 index 000000000..410dbfe10 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/magnetometer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"AB LB CB JB EB FB GB HB DB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"194":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"Magnetometer"}; diff --git a/node_modules/caniuse-lite/data/features/matchesselector.js b/node_modules/caniuse-lite/data/features/matchesselector.js new file mode 100644 index 000000000..8c4ce8788 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/matchesselector.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","36":"E A B"},B:{"1":"Q J K L V y M WB S","36":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB","36":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","36":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l"},E:{"1":"F E A B C O H eB fB XB R BB jB kB","2":"G 0B YB","36":"W I D cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B lB mB nB oB R","36":"C Q J K L X Y VB qB BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB","36":"rB IB tB uB vB"},H:{"2":"AC"},I:{"1":"M","2":"BC","36":"KB G CC DC EC IB FC GC"},J:{"36":"D A"},K:{"1":"P","2":"A B","36":"C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"36":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","36":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"matches() DOM method"}; diff --git a/node_modules/caniuse-lite/data/features/matchmedia.js b/node_modules/caniuse-lite/data/features/matchmedia.js new file mode 100644 index 000000000..733c60a67 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/matchmedia.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B C lB mB nB oB R VB qB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"1":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"A","2":"D"},K:{"1":"P BB","2":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"matchMedia"}; diff --git a/node_modules/caniuse-lite/data/features/mathml.js b/node_modules/caniuse-lite/data/features/mathml.js new file mode 100644 index 000000000..d8eb974dc --- /dev/null +++ b/node_modules/caniuse-lite/data/features/mathml.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"E A B iB","8":"I D F"},B:{"2":"C O H Q J K L","8":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","129":"sB KB pB hB"},D:{"1":"c","8":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"A B C O H XB R BB jB kB","260":"G W I D F E 0B YB cB dB eB fB"},F:{"2":"E","4":"B C lB mB nB oB R VB qB BB","8":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","8":"YB rB IB"},H:{"8":"AC"},I:{"8":"KB G M BC CC DC EC IB FC GC"},J:{"1":"A","8":"D"},K:{"8":"A B C P R VB BB"},L:{"8":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"4":"HC"},P:{"8":"G IC JC KC LC MC XB NC OC"},Q:{"8":"PC"},R:{"8":"QC"},S:{"1":"RC"}},B:2,C:"MathML"}; diff --git a/node_modules/caniuse-lite/data/features/maxlength.js b/node_modules/caniuse-lite/data/features/maxlength.js new file mode 100644 index 000000000..25f43c6ea --- /dev/null +++ b/node_modules/caniuse-lite/data/features/maxlength.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","16":"iB","900":"I D F E"},B:{"1":"V y M WB S","1025":"C O H Q J K L"},C:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","900":"sB KB pB hB","1025":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"W 0B","900":"G YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E","132":"B C lB mB nB oB R VB qB BB"},G:{"1":"rB IB tB uB vB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB","2052":"F wB"},H:{"132":"AC"},I:{"1":"KB G DC EC IB FC GC","16":"BC CC","4097":"M"},J:{"1":"D A"},K:{"132":"A B C R VB BB","4100":"P"},L:{"4097":"S"},M:{"4097":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"4097":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1025":"RC"}},B:1,C:"maxlength attribute for input and textarea elements"}; diff --git a/node_modules/caniuse-lite/data/features/media-attribute.js b/node_modules/caniuse-lite/data/features/media-attribute.js new file mode 100644 index 000000000..ece9df684 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/media-attribute.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L","16":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H pB hB"},D:{"1":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l","2":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S","16":"gB bB aB"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G W 0B YB"},F:{"1":"B C Q J K L X Y Z a b c mB nB oB R VB qB BB","2":"0 1 2 3 4 5 6 7 8 9 E d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB"},H:{"16":"AC"},I:{"1":"G M EC IB FC GC","16":"KB BC CC DC"},J:{"16":"D A"},K:{"1":"C P BB","16":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"16":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Media attribute"}; diff --git a/node_modules/caniuse-lite/data/features/media-fragments.js b/node_modules/caniuse-lite/data/features/media-fragments.js new file mode 100644 index 000000000..87308c5ae --- /dev/null +++ b/node_modules/caniuse-lite/data/features/media-fragments.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","132":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l pB hB","132":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"G W I D F E A B C O H Q J K","132":"0 1 2 3 4 5 6 7 8 9 L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W 0B YB cB","132":"I D F E A B C O H dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","132":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"YB rB IB tB uB vB","132":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","132":"M FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"132":"S"},M:{"132":"N"},N:{"132":"A B"},O:{"2":"HC"},P:{"2":"G IC","132":"JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"132":"RC"}},B:2,C:"Media Fragments"}; diff --git a/node_modules/caniuse-lite/data/features/media-session-api.js b/node_modules/caniuse-lite/data/features/media-session-api.js new file mode 100644 index 000000000..10a03fb9b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/media-session-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB","16":"H jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Media Session API"}; diff --git a/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js b/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js new file mode 100644 index 000000000..49b006abd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u pB hB","260":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","324":"3 4 5 6 7 8 9 AB LB CB JB"},E:{"2":"G W I D F E A 0B YB cB dB eB fB XB","132":"B C O H R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n lB mB nB oB R VB qB BB","324":"o p q r s t u v w x P z"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"260":"N"},N:{"2":"A B"},O:{"132":"HC"},P:{"1":"LC MC XB NC OC","2":"G","132":"IC JC KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"260":"RC"}},B:5,C:"Media Capture from DOM Elements API"}; diff --git a/node_modules/caniuse-lite/data/features/mediarecorder.js b/node_modules/caniuse-lite/data/features/mediarecorder.js new file mode 100644 index 000000000..3da7520bf --- /dev/null +++ b/node_modules/caniuse-lite/data/features/mediarecorder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P","194":"0 z"},E:{"2":"G W I D F E A B C 0B YB cB dB eB fB XB R","322":"O H BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l lB mB nB oB R VB qB BB","194":"m n"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B","578":"3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:5,C:"MediaRecorder API"}; diff --git a/node_modules/caniuse-lite/data/features/mediasource.js b/node_modules/caniuse-lite/data/features/mediasource.js new file mode 100644 index 000000000..98d45cb74 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/mediasource.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","132":"B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c pB hB","66":"d e f g h i j k l m n o p q r s t"},D:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J","33":"b c d e f g h i","66":"K L X Y Z a"},E:{"1":"F E A B C O H fB XB R BB jB kB","2":"G W I D 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B","260":"5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M GC","2":"KB G BC CC DC EC IB FC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"MC XB NC OC","2":"G IC JC KC LC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"Media Source Extensions"}; diff --git a/node_modules/caniuse-lite/data/features/menu.js b/node_modules/caniuse-lite/data/features/menu.js new file mode 100644 index 000000000..702bb6d6a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/menu.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","2114":"V y M WB S"},C:{"2":"sB KB G W I D pB hB","132":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s","322":"0 1 2 3","578":"t u v w x P z","2114":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m lB mB nB oB R VB qB BB","322":"n o p q","2114":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"1156":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2114":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Context menu item (menuitem element)"}; diff --git a/node_modules/caniuse-lite/data/features/meta-theme-color.js b/node_modules/caniuse-lite/data/features/meta-theme-color.js new file mode 100644 index 000000000..75ecaaa12 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/meta-theme-color.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q","132":"PB QB RB SB TB UB V y M WB S gB bB aB","258":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"513":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G","16":"IC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"theme-color Meta Tag"}; diff --git a/node_modules/caniuse-lite/data/features/meter.js b/node_modules/caniuse-lite/data/features/meter.js new file mode 100644 index 000000000..a6fadf086 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/meter.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","2":"E lB mB nB oB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"meter element"}; diff --git a/node_modules/caniuse-lite/data/features/midi.js b/node_modules/caniuse-lite/data/features/midi.js new file mode 100644 index 000000000..a987e943b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/midi.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"Web MIDI API"}; diff --git a/node_modules/caniuse-lite/data/features/minmaxwh.js b/node_modules/caniuse-lite/data/features/minmaxwh.js new file mode 100644 index 000000000..d5ab378fd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/minmaxwh.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","8":"I iB","129":"D","257":"F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"CSS min/max-width/height"}; diff --git a/node_modules/caniuse-lite/data/features/mp3.js b/node_modules/caniuse-lite/data/features/mp3.js new file mode 100644 index 000000000..efd4b4700 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/mp3.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","132":"G W I D F E A B C O H Q J K L X Y Z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","2":"BC CC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"MP3 audio format"}; diff --git a/node_modules/caniuse-lite/data/features/mpeg-dash.js b/node_modules/caniuse-lite/data/features/mpeg-dash.js new file mode 100644 index 000000000..bb7b34cc7 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/mpeg-dash.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L","2":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","386":"Z a"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Dynamic Adaptive Streaming over HTTP (MPEG-DASH)"}; diff --git a/node_modules/caniuse-lite/data/features/mpeg4.js b/node_modules/caniuse-lite/data/features/mpeg4.js new file mode 100644 index 000000000..283b4af0d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/mpeg4.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y pB hB","4":"Z a b c d e f g h i j k l m"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","2":"0B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M FC GC","4":"KB G BC CC EC IB","132":"DC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"260":"N"},N:{"1":"A B"},O:{"4":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"MPEG-4/H.264 video format"}; diff --git a/node_modules/caniuse-lite/data/features/multibackgrounds.js b/node_modules/caniuse-lite/data/features/multibackgrounds.js new file mode 100644 index 000000000..016151b7a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/multibackgrounds.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","2":"sB KB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS3 Multiple backgrounds"}; diff --git a/node_modules/caniuse-lite/data/features/multicolumn.js b/node_modules/caniuse-lite/data/features/multicolumn.js new file mode 100644 index 000000000..e0fb6b403 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/multicolumn.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L","516":"V y M WB S"},C:{"132":"4 5 6 7 8 9 AB LB CB JB EB FB GB","164":"0 1 2 3 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","516":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"420":"0 1 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","516":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"A B C O H XB R BB jB kB","132":"E fB","164":"D F eB","420":"G W I 0B YB cB dB"},F:{"1":"C R VB qB BB","2":"E B lB mB nB oB","420":"Q J K L X Y Z a b c d e f g h i j k l m n o","516":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","132":"xB yB","164":"F vB wB","420":"YB rB IB tB uB"},H:{"1":"AC"},I:{"420":"KB G BC CC DC EC IB FC GC","516":"M"},J:{"420":"D A"},K:{"1":"C R VB BB","2":"A B","132":"P"},L:{"516":"S"},M:{"132":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","420":"G"},Q:{"132":"PC"},R:{"132":"QC"},S:{"164":"RC"}},B:4,C:"CSS3 Multiple column layout"}; diff --git a/node_modules/caniuse-lite/data/features/mutation-events.js b/node_modules/caniuse-lite/data/features/mutation-events.js new file mode 100644 index 000000000..98f30720b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/mutation-events.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","260":"E A B"},B:{"132":"V y M WB S","260":"C O H Q J K L"},C:{"2":"sB KB G W pB hB","260":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"16":"G W I D F E A B C O H","132":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"16":"0B YB","132":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"1":"C qB BB","2":"E lB mB nB oB","16":"B R VB","132":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"16":"YB rB","132":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"16":"BC CC","132":"KB G M DC EC IB FC GC"},J:{"132":"D A"},K:{"1":"C BB","2":"A","16":"B R VB","132":"P"},L:{"132":"S"},M:{"260":"N"},N:{"260":"A B"},O:{"132":"HC"},P:{"132":"G IC JC KC LC MC XB NC OC"},Q:{"132":"PC"},R:{"132":"QC"},S:{"260":"RC"}},B:5,C:"Mutation events"}; diff --git a/node_modules/caniuse-lite/data/features/mutationobserver.js b/node_modules/caniuse-lite/data/features/mutationobserver.js new file mode 100644 index 000000000..2204be36f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/mutationobserver.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F iB","8":"E A"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K","33":"L X Y Z a b c d e"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB","33":"I"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB","33":"uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB BC CC DC","8":"G EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","8":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Mutation Observer"}; diff --git a/node_modules/caniuse-lite/data/features/namevalue-storage.js b/node_modules/caniuse-lite/data/features/namevalue-storage.js new file mode 100644 index 000000000..4172be3f2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/namevalue-storage.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F E A B","2":"iB","8":"I D"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","4":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Web Storage - name/value pairs"}; diff --git a/node_modules/caniuse-lite/data/features/native-filesystem-api.js b/node_modules/caniuse-lite/data/features/native-filesystem-api.js new file mode 100644 index 000000000..7ae5d28d8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/native-filesystem-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","194":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB","194":"QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB lB mB nB oB R VB qB BB","194":"EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Native Filesystem API"}; diff --git a/node_modules/caniuse-lite/data/features/nav-timing.js b/node_modules/caniuse-lite/data/features/nav-timing.js new file mode 100644 index 000000000..06020f901 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/nav-timing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W","33":"I D F E A B C"},E:{"1":"F E A B C O H fB XB R BB jB kB","2":"G W I D 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"G M EC IB FC GC","2":"KB BC CC DC"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"Navigation Timing API"}; diff --git a/node_modules/caniuse-lite/data/features/navigator-language.js b/node_modules/caniuse-lite/data/features/navigator-language.js new file mode 100644 index 000000000..aac125df7 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/navigator-language.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L V y M WB S","2":"C O H Q"},C:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"16":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"16":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"16":"PC"},R:{"16":"QC"},S:{"1":"RC"}},B:2,C:"Navigator Language API"}; diff --git a/node_modules/caniuse-lite/data/features/netinfo.js b/node_modules/caniuse-lite/data/features/netinfo.js new file mode 100644 index 000000000..5364c30ac --- /dev/null +++ b/node_modules/caniuse-lite/data/features/netinfo.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","1028":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB","1028":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","1028":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"BC FC GC","132":"KB G CC DC EC IB"},J:{"2":"D A"},K:{"2":"A B C R VB BB","516":"P"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"LC MC XB NC OC","132":"G","516":"IC JC KC"},Q:{"1":"PC"},R:{"516":"QC"},S:{"260":"RC"}},B:7,C:"Network Information API"}; diff --git a/node_modules/caniuse-lite/data/features/node-contains.js b/node_modules/caniuse-lite/data/features/node-contains.js new file mode 100644 index 000000000..d59cef97b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/node-contains.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"iB","644":"E A B","2308":"I D F"},B:{"1":"O H Q J K L V y M WB S","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H Q J K L X Y Z a b c d"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","16":"G W I 0B YB","1668":"cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","16":"E B C lB mB nB oB R VB","132":"qB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB uB"},H:{"16":"AC"},I:{"1":"M FC GC","16":"KB BC CC DC","1668":"G EC IB"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","16":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Node.contains()"}; diff --git a/node_modules/caniuse-lite/data/features/node-parentelement.js b/node_modules/caniuse-lite/data/features/node-parentelement.js new file mode 100644 index 000000000..6e6a6eaea --- /dev/null +++ b/node_modules/caniuse-lite/data/features/node-parentelement.js @@ -0,0 +1 @@ +module.exports={A:{A:{"16":"iB","132":"E A B","260":"I D F"},B:{"1":"O H Q J K L V y M WB S","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H Q J K L X Y Z a b c d"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E B lB mB nB oB R VB","132":"C qB BB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB"},H:{"16":"AC"},I:{"1":"G M EC IB FC GC","16":"KB BC CC DC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","16":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Node.parentElement"}; diff --git a/node_modules/caniuse-lite/data/features/notifications.js b/node_modules/caniuse-lite/data/features/notifications.js new file mode 100644 index 000000000..30f4cc2a2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/notifications.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G","36":"W I D F E A B C O H Q J K L X Y Z"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","36":"M FC GC"},J:{"1":"A","2":"D"},K:{"2":"A B C R VB BB","36":"P"},L:{"513":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"36":"G","258":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"258":"QC"},S:{"1":"RC"}},B:1,C:"Web Notifications"}; diff --git a/node_modules/caniuse-lite/data/features/object-entries.js b/node_modules/caniuse-lite/data/features/object-entries.js new file mode 100644 index 000000000..17ac2fe7a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/object-entries.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P pB hB"},D:{"1":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D","16":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G IC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:6,C:"Object.entries"}; diff --git a/node_modules/caniuse-lite/data/features/object-fit.js b/node_modules/caniuse-lite/data/features/object-fit.js new file mode 100644 index 000000000..7e9648d82 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/object-fit.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q","260":"J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D 0B YB cB dB","132":"F E eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E Q J K L lB mB nB","33":"B C oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB","132":"F wB xB yB"},H:{"33":"AC"},I:{"1":"M GC","2":"KB G BC CC DC EC IB FC"},J:{"2":"D A"},K:{"1":"P","2":"A","33":"B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS3 object-fit/object-position"}; diff --git a/node_modules/caniuse-lite/data/features/object-observe.js b/node_modules/caniuse-lite/data/features/object-observe.js new file mode 100644 index 000000000..9e064060e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/object-observe.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 o p q r s t u v w x P z","2":"2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"b c d e f g h i j k l m n o","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"G","2":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:7,C:"Object.observe data binding"}; diff --git a/node_modules/caniuse-lite/data/features/object-values.js b/node_modules/caniuse-lite/data/features/object-values.js new file mode 100644 index 000000000..b10653ced --- /dev/null +++ b/node_modules/caniuse-lite/data/features/object-values.js @@ -0,0 +1 @@ +module.exports={A:{A:{"8":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","8":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P pB hB"},D:{"1":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","8":"0 1 2 3 4 5 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H XB R BB jB kB","8":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB CB EB FB GB HB DB U N T","8":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","8":"F YB rB IB tB uB vB wB xB yB zB"},H:{"8":"AC"},I:{"1":"M","8":"KB G BC CC DC EC IB FC GC"},J:{"8":"D A"},K:{"1":"P","8":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"8":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","8":"G IC"},Q:{"1":"PC"},R:{"8":"QC"},S:{"1":"RC"}},B:6,C:"Object.values method"}; diff --git a/node_modules/caniuse-lite/data/features/objectrtc.js b/node_modules/caniuse-lite/data/features/objectrtc.js new file mode 100644 index 000000000..bd5123831 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/objectrtc.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L","2":"C V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D","130":"A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Object RTC (ORTC) API for WebRTC"}; diff --git a/node_modules/caniuse-lite/data/features/offline-apps.js b/node_modules/caniuse-lite/data/features/offline-apps.js new file mode 100644 index 000000000..159384030 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/offline-apps.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"E iB","8":"I D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","4":"KB","8":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S","2":"gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","8":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","2":"E lB","8":"mB nB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:7,C:"Offline web applications"}; diff --git a/node_modules/caniuse-lite/data/features/offscreencanvas.js b/node_modules/caniuse-lite/data/features/offscreencanvas.js new file mode 100644 index 000000000..facfc8d99 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/offscreencanvas.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v pB hB","194":"0 1 2 3 4 5 6 7 8 9 w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","322":"AB LB CB JB EB FB GB HB DB U N"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w lB mB nB oB R VB qB BB","322":"0 1 2 3 4 5 6 7 8 9 x P z AB CB EB FB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"194":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"XB NC OC","2":"G IC JC KC LC MC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"194":"RC"}},B:1,C:"OffscreenCanvas"}; diff --git a/node_modules/caniuse-lite/data/features/ogg-vorbis.js b/node_modules/caniuse-lite/data/features/ogg-vorbis.js new file mode 100644 index 000000000..d92a20f36 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ogg-vorbis.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L V y M WB S","2":"C O H Q J"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"A","2":"D"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Ogg Vorbis audio format"}; diff --git a/node_modules/caniuse-lite/data/features/ogv.js b/node_modules/caniuse-lite/data/features/ogv.js new file mode 100644 index 000000000..0594cfee8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ogv.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","8":"E A B"},B:{"1":"K L V y M WB S","8":"C O H Q J"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"1":"N"},N:{"8":"A B"},O:{"1":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:6,C:"Ogg/Theora video format"}; diff --git a/node_modules/caniuse-lite/data/features/ol-reversed.js b/node_modules/caniuse-lite/data/features/ol-reversed.js new file mode 100644 index 000000000..fbd66245e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ol-reversed.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q","16":"J K L X"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB","16":"I"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB","16":"C"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Reversed attribute of ordered lists"}; diff --git a/node_modules/caniuse-lite/data/features/once-event-listener.js b/node_modules/caniuse-lite/data/features/once-event-listener.js new file mode 100644 index 000000000..616834601 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/once-event-listener.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L V y M WB S","2":"C O H Q"},C:{"1":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G IC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"\"once\" event listener option"}; diff --git a/node_modules/caniuse-lite/data/features/online-status.js b/node_modules/caniuse-lite/data/features/online-status.js new file mode 100644 index 000000000..ccad1eb61 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/online-status.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D iB","260":"F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB","516":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s"},D:{"1":"0 1 2 3 4 5 6 7 8 9 H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB","4":"BB"},G:{"1":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"A","132":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Online/offline status"}; diff --git a/node_modules/caniuse-lite/data/features/opus.js b/node_modules/caniuse-lite/data/features/opus.js new file mode 100644 index 000000000..bc4dfdceb --- /dev/null +++ b/node_modules/caniuse-lite/data/features/opus.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k"},E:{"2":"G W I D F E A 0B YB cB dB eB fB XB","132":"B C O H R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB","132":"1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Opus"}; diff --git a/node_modules/caniuse-lite/data/features/orientation-sensor.js b/node_modules/caniuse-lite/data/features/orientation-sensor.js new file mode 100644 index 000000000..f62505b31 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/orientation-sensor.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"AB LB CB JB EB FB GB HB DB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"Orientation Sensor"}; diff --git a/node_modules/caniuse-lite/data/features/outline.js b/node_modules/caniuse-lite/data/features/outline.js new file mode 100644 index 000000000..8af45e1d2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/outline.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D iB","260":"F","388":"E A B"},B:{"1":"Q J K L V y M WB S","388":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB","129":"BB","260":"E B lB mB nB oB R VB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"C P BB","260":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"388":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS outline properties"}; diff --git a/node_modules/caniuse-lite/data/features/pad-start-end.js b/node_modules/caniuse-lite/data/features/pad-start-end.js new file mode 100644 index 000000000..a2154239e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/pad-start-end.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"Q J K L V y M WB S","2":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G IC JC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:6,C:"String.prototype.padStart(), String.prototype.padEnd()"}; diff --git a/node_modules/caniuse-lite/data/features/page-transition-events.js b/node_modules/caniuse-lite/data/features/page-transition-events.js new file mode 100644 index 000000000..7de4a52b3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/page-transition-events.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"PageTransitionEvent"}; diff --git a/node_modules/caniuse-lite/data/features/pagevisibility.js b/node_modules/caniuse-lite/data/features/pagevisibility.js new file mode 100644 index 000000000..f98976ffa --- /dev/null +++ b/node_modules/caniuse-lite/data/features/pagevisibility.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E pB hB","33":"A B C O H Q J K"},D:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O","33":"H Q J K L X Y Z a b c d e f g h i j k"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W I 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B C lB mB nB oB R VB qB","33":"Q J K L X"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB","33":"FC GC"},J:{"1":"A","2":"D"},K:{"1":"P BB","2":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","33":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"Page Visibility"}; diff --git a/node_modules/caniuse-lite/data/features/passive-event-listener.js b/node_modules/caniuse-lite/data/features/passive-event-listener.js new file mode 100644 index 000000000..9aac2e42d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/passive-event-listener.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L V y M WB S","2":"C O H Q"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"Passive event listeners"}; diff --git a/node_modules/caniuse-lite/data/features/passwordrules.js b/node_modules/caniuse-lite/data/features/passwordrules.js new file mode 100644 index 000000000..e2e9568bd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/passwordrules.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","16":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V pB hB","16":"y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S","16":"gB bB aB"},E:{"1":"C O BB","2":"G W I D F E A B 0B YB cB dB eB fB XB R","16":"H jB kB"},F:{"2":"0 1 2 3 4 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","16":"5 6 7 8 9 AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","16":"M"},J:{"2":"D","16":"A"},K:{"2":"A B C R VB BB","16":"P"},L:{"16":"S"},M:{"16":"N"},N:{"2":"A","16":"B"},O:{"16":"HC"},P:{"2":"G IC JC","16":"KC LC MC XB NC OC"},Q:{"16":"PC"},R:{"16":"QC"},S:{"2":"RC"}},B:1,C:"Password Rules"}; diff --git a/node_modules/caniuse-lite/data/features/path2d.js b/node_modules/caniuse-lite/data/features/path2d.js new file mode 100644 index 000000000..6fc5461a8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/path2d.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O","132":"H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i pB hB","132":"j k l m n o p q r s t u v w x P z"},D:{"1":"N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n","132":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I D 0B YB cB dB","132":"F E eB"},F:{"1":"7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a lB mB nB oB R VB qB BB","132":"0 1 2 3 4 5 6 b c d e f g h i j k l m n o p q r s t u v w x P z"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB","16":"F","132":"wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"1":"A","2":"D"},K:{"2":"A B C R VB BB","132":"P"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"132":"HC"},P:{"1":"XB NC OC","132":"G IC JC KC LC MC"},Q:{"132":"PC"},R:{"132":"QC"},S:{"1":"RC"}},B:1,C:"Path2D"}; diff --git a/node_modules/caniuse-lite/data/features/payment-request.js b/node_modules/caniuse-lite/data/features/payment-request.js new file mode 100644 index 000000000..1d86a722f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/payment-request.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O","322":"H","8196":"Q J K L"},C:{"2":"0 1 2 3 4 5 6 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","4162":"7 8 9 AB LB CB JB EB FB GB HB","16452":"DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"UB V y M WB S gB bB aB","2":"0 1 2 3 4 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"5 6 7 8 9 AB","1090":"LB CB","8196":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB"},E:{"1":"O H BB jB kB","2":"G W I D F E 0B YB cB dB eB fB","514":"A B XB","8196":"C R"},F:{"1":"DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r lB mB nB oB R VB qB BB","194":"s t u v w x P z","8196":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB"},G:{"1":"4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB","514":"zB ZB 1B","8196":"2B 3B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2052":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"OC","2":"G","8196":"IC JC KC LC MC XB NC"},Q:{"8196":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"Payment Request API"}; diff --git a/node_modules/caniuse-lite/data/features/pdf-viewer.js b/node_modules/caniuse-lite/data/features/pdf-viewer.js new file mode 100644 index 000000000..95d1dc808 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/pdf-viewer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","132":"B"},B:{"1":"Q J K L V y M WB S","16":"C O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"16":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Built-in PDF viewer"}; diff --git a/node_modules/caniuse-lite/data/features/permissions-api.js b/node_modules/caniuse-lite/data/features/permissions-api.js new file mode 100644 index 000000000..8653e8635 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/permissions-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:7,C:"Permissions API"}; diff --git a/node_modules/caniuse-lite/data/features/permissions-policy.js b/node_modules/caniuse-lite/data/features/permissions-policy.js new file mode 100644 index 000000000..443eee138 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/permissions-policy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","258":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB pB hB","258":"QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB","258":"CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB","450":"bB aB"},E:{"2":"G W I D F E A B 0B YB cB dB eB fB XB","258":"C O H R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P lB mB nB oB R VB qB BB","258":"0 1 2 3 4 5 6 7 8 9 z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B","258":"2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","258":"M"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"258":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC","258":"LC MC XB NC OC"},Q:{"258":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"Permissions Policy"}; diff --git a/node_modules/caniuse-lite/data/features/picture-in-picture.js b/node_modules/caniuse-lite/data/features/picture-in-picture.js new file mode 100644 index 000000000..4b553780e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/picture-in-picture.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB pB hB","132":"OB PB QB RB SB TB UB V y M","1090":"U","1412":"NB","1668":"N T MB"},D:{"1":"MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N","2114":"T"},E:{"1":"H jB kB","2":"G W I D F E 0B YB cB dB eB fB","4100":"A B C O XB R BB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o lB mB nB oB R VB qB BB","8196":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"9B","2":"F YB rB IB tB uB vB wB","4100":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"16388":"S"},M:{"16388":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Picture-in-Picture"}; diff --git a/node_modules/caniuse-lite/data/features/picture.js b/node_modules/caniuse-lite/data/features/picture.js new file mode 100644 index 000000000..f834de8a9 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/picture.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l pB hB","578":"m n o p"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o","194":"p"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b lB mB nB oB R VB qB BB","322":"c"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Picture element"}; diff --git a/node_modules/caniuse-lite/data/features/ping.js b/node_modules/caniuse-lite/data/features/ping.js new file mode 100644 index 000000000..3dcff9c63 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ping.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L V y M WB S","2":"C O H Q J"},C:{"2":"sB","194":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"194":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"194":"RC"}},B:1,C:"Ping attribute"}; diff --git a/node_modules/caniuse-lite/data/features/png-alpha.js b/node_modules/caniuse-lite/data/features/png-alpha.js new file mode 100644 index 000000000..fe1b1f8a2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/png-alpha.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"D F E A B","2":"iB","8":"I"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"PNG alpha transparency"}; diff --git a/node_modules/caniuse-lite/data/features/pointer-events.js b/node_modules/caniuse-lite/data/features/pointer-events.js new file mode 100644 index 000000000..19cb90d5b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/pointer-events.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","2":"sB KB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:7,C:"CSS pointer-events (for HTML)"}; diff --git a/node_modules/caniuse-lite/data/features/pointer.js b/node_modules/caniuse-lite/data/features/pointer.js new file mode 100644 index 000000000..4e0a4fd51 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/pointer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E iB","164":"A"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W pB hB","8":"I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s","328":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB"},D:{"1":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z","8":"0 1 2 3 a b c d e f g h i j k l m n o p q r s t u v w x P z","584":"4 5 6"},E:{"1":"O H jB kB","2":"G W I 0B YB cB","8":"D F E A B C dB eB fB XB R","1096":"BB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","8":"Q J K L X Y Z a b c d e f g h i j k l m n o p q","584":"r s t"},G:{"1":"6B 7B 8B 9B","8":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B","6148":"5B"},H:{"2":"AC"},I:{"1":"M","8":"KB G BC CC DC EC IB FC GC"},J:{"8":"D A"},K:{"1":"P","2":"A","8":"B C R VB BB"},L:{"1":"S"},M:{"328":"N"},N:{"1":"B","36":"A"},O:{"8":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"IC","8":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"328":"RC"}},B:2,C:"Pointer events"}; diff --git a/node_modules/caniuse-lite/data/features/pointerlock.js b/node_modules/caniuse-lite/data/features/pointerlock.js new file mode 100644 index 000000000..ec3fd4e5c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/pointerlock.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","2":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O pB hB","33":"H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s"},D:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q","33":"a b c d e f g h i j k l m n o","66":"J K L X Y Z"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","33":"Q J K L X Y Z a b"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:2,C:"Pointer Lock API"}; diff --git a/node_modules/caniuse-lite/data/features/portals.js b/node_modules/caniuse-lite/data/features/portals.js new file mode 100644 index 000000000..cffc0bed7 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/portals.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB","194":"RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB lB mB nB oB R VB qB BB","194":"EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"194":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Portals"}; diff --git a/node_modules/caniuse-lite/data/features/prefers-color-scheme.js b/node_modules/caniuse-lite/data/features/prefers-color-scheme.js new file mode 100644 index 000000000..baf4d1a93 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/prefers-color-scheme.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB pB hB"},D:{"1":"SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB"},E:{"1":"O H BB jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R"},F:{"1":"EB FB GB HB DB U N T","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB lB mB nB oB R VB qB BB"},G:{"1":"5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"OC","2":"G IC JC KC LC MC XB NC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"prefers-color-scheme media query"}; diff --git a/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js b/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js new file mode 100644 index 000000000..d33ddafcb --- /dev/null +++ b/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB pB hB"},D:{"1":"QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"GB HB DB U N T","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"NC OC","2":"G IC JC KC LC MC XB"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"prefers-reduced-motion media query"}; diff --git a/node_modules/caniuse-lite/data/features/private-class-fields.js b/node_modules/caniuse-lite/data/features/private-class-fields.js new file mode 100644 index 000000000..d6f2f0ff6 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/private-class-fields.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Private class fields"}; diff --git a/node_modules/caniuse-lite/data/features/private-methods-and-accessors.js b/node_modules/caniuse-lite/data/features/private-methods-and-accessors.js new file mode 100644 index 000000000..4138ba0d2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/private-methods-and-accessors.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Public class fields"}; diff --git a/node_modules/caniuse-lite/data/features/progress.js b/node_modules/caniuse-lite/data/features/progress.js new file mode 100644 index 000000000..c72dcdfa4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/progress.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","2":"E lB mB nB oB"},G:{"2":"YB rB IB tB uB","132":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"progress element"}; diff --git a/node_modules/caniuse-lite/data/features/promise-finally.js b/node_modules/caniuse-lite/data/features/promise-finally.js new file mode 100644 index 000000000..643222a67 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/promise-finally.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"L V y M WB S","2":"C O H Q J K"},C:{"1":"AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB"},F:{"1":"2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Promise.prototype.finally"}; diff --git a/node_modules/caniuse-lite/data/features/promises.js b/node_modules/caniuse-lite/data/features/promises.js new file mode 100644 index 000000000..95b80e691 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/promises.js @@ -0,0 +1 @@ +module.exports={A:{A:{"8":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","4":"f g","8":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","4":"k","8":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j"},E:{"1":"F E A B C O H eB fB XB R BB jB kB","8":"G W I D 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","4":"X","8":"E B C Q J K L lB mB nB oB R VB qB BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","8":"YB rB IB tB uB vB"},H:{"8":"AC"},I:{"1":"M GC","8":"KB G BC CC DC EC IB FC"},J:{"8":"D A"},K:{"1":"P","8":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"8":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Promises"}; diff --git a/node_modules/caniuse-lite/data/features/proximity.js b/node_modules/caniuse-lite/data/features/proximity.js new file mode 100644 index 000000000..1987c1732 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/proximity.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:4,C:"Proximity API"}; diff --git a/node_modules/caniuse-lite/data/features/proxy.js b/node_modules/caniuse-lite/data/features/proxy.js new file mode 100644 index 000000000..08f0bfeaa --- /dev/null +++ b/node_modules/caniuse-lite/data/features/proxy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K pB hB"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 G W I D F E A B C O H Q J K L q r s t u v w x P z","66":"X Y Z a b c d e f g h i j k l m n o p"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C d e f g h i j k l m n lB mB nB oB R VB qB BB","66":"Q J K L X Y Z a b c"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:6,C:"Proxy object"}; diff --git a/node_modules/caniuse-lite/data/features/public-class-fields.js b/node_modules/caniuse-lite/data/features/public-class-fields.js new file mode 100644 index 000000000..a8af5d340 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/public-class-fields.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Public class fields"}; diff --git a/node_modules/caniuse-lite/data/features/publickeypinning.js b/node_modules/caniuse-lite/data/features/publickeypinning.js new file mode 100644 index 000000000..1915b19cc --- /dev/null +++ b/node_modules/caniuse-lite/data/features/publickeypinning.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB","2":"E B C Q J K L X DB U N T lB mB nB oB R VB qB BB","4":"b","16":"Y Z a c"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB","2":"NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Public Key Pinning"}; diff --git a/node_modules/caniuse-lite/data/features/push-api.js b/node_modules/caniuse-lite/data/features/push-api.js new file mode 100644 index 000000000..2a9270e14 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/push-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L","2":"C O H Q J","257":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v pB hB","257":"0 1 2 3 5 6 7 8 9 w P z AB LB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","1281":"4 x CB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v","257":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","388":"0 1 w x P z"},E:{"2":"G W I D F E 0B YB cB dB eB","514":"A B C O H fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o lB mB nB oB R VB qB BB","16":"p q r s t","257":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"257":"RC"}},B:5,C:"Push API"}; diff --git a/node_modules/caniuse-lite/data/features/queryselector.js b/node_modules/caniuse-lite/data/features/queryselector.js new file mode 100644 index 000000000..d0bf3975f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/queryselector.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"iB","8":"I D","132":"F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","8":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T mB nB oB R VB qB BB","8":"E lB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"querySelector/querySelectorAll"}; diff --git a/node_modules/caniuse-lite/data/features/readonly-attr.js b/node_modules/caniuse-lite/data/features/readonly-attr.js new file mode 100644 index 000000000..f8de02987 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/readonly-attr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","16":"iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","16":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H Q J K L X Y Z a b c d"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E lB","132":"B C mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB uB"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"P","132":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"257":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"readonly attribute of input and textarea elements"}; diff --git a/node_modules/caniuse-lite/data/features/referrer-policy.js b/node_modules/caniuse-lite/data/features/referrer-policy.js new file mode 100644 index 000000000..042ed8cf8 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/referrer-policy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","132":"B"},B:{"1":"V y M WB","132":"C O H Q J K L","513":"S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n pB hB"},D:{"1":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB","2":"G W I D F E A B C O H Q J K L X Y","260":"0 1 2 3 4 5 6 7 8 9 Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB","513":"S gB bB aB"},E:{"1":"C O H R BB jB kB","2":"G W I D 0B YB cB dB","132":"F E A B eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB","132":"F wB xB yB zB ZB 1B 2B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"513":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Referrer Policy"}; diff --git a/node_modules/caniuse-lite/data/features/registerprotocolhandler.js b/node_modules/caniuse-lite/data/features/registerprotocolhandler.js new file mode 100644 index 000000000..10476568c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/registerprotocolhandler.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","129":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB"},D:{"2":"G W I D F E A B C","129":"0 1 2 3 4 5 6 7 8 9 O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B lB mB nB oB R VB","129":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D","129":"A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"Custom protocol handling"}; diff --git a/node_modules/caniuse-lite/data/features/rel-noopener.js b/node_modules/caniuse-lite/data/features/rel-noopener.js new file mode 100644 index 000000000..91b60655f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/rel-noopener.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:1,C:"rel=noopener"}; diff --git a/node_modules/caniuse-lite/data/features/rel-noreferrer.js b/node_modules/caniuse-lite/data/features/rel-noreferrer.js new file mode 100644 index 000000000..3a64e8663 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/rel-noreferrer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","132":"B"},B:{"1":"O H Q J K L V y M WB S","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H Q"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Link type \"noreferrer\""}; diff --git a/node_modules/caniuse-lite/data/features/rellist.js b/node_modules/caniuse-lite/data/features/rellist.js new file mode 100644 index 000000000..caf9ec25e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/rellist.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"L V y M WB S","2":"C O H Q J","132":"K"},C:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h pB hB"},D:{"1":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","132":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D F 0B YB cB dB eB"},F:{"1":"4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o lB mB nB oB R VB qB BB","132":"0 1 2 3 p q r s t u v w x P z"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"132":"HC"},P:{"1":"MC XB NC OC","2":"G","132":"IC JC KC LC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:1,C:"relList (DOMTokenList)"}; diff --git a/node_modules/caniuse-lite/data/features/rem.js b/node_modules/caniuse-lite/data/features/rem.js new file mode 100644 index 000000000..4e0fd30e2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/rem.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F iB","132":"E A"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","2":"sB KB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E B lB mB nB oB R VB"},G:{"1":"F rB IB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB","260":"tB"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"C P BB","2":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"rem (root em) units"}; diff --git a/node_modules/caniuse-lite/data/features/replace-all.js b/node_modules/caniuse-lite/data/features/replace-all.js new file mode 100644 index 000000000..d27c59d37 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/replace-all.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"H jB kB","2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"16":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"16":"QC"},S:{"16":"RC"}},B:7,C:"String.prototype.replaceAll()"}; diff --git a/node_modules/caniuse-lite/data/features/requestanimationframe.js b/node_modules/caniuse-lite/data/features/requestanimationframe.js new file mode 100644 index 000000000..26c3d42b2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/requestanimationframe.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","33":"B C O H Q J K L X Y Z a","164":"G W I D F E A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E","33":"a b","164":"L X Y Z","420":"A B C O H Q J K"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB","33":"I"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB","33":"uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"requestAnimationFrame"}; diff --git a/node_modules/caniuse-lite/data/features/requestidlecallback.js b/node_modules/caniuse-lite/data/features/requestidlecallback.js new file mode 100644 index 000000000..4cccb9071 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/requestidlecallback.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","194":"5 6"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P"},E:{"2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB","322":"H jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B","322":"8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:5,C:"requestIdleCallback"}; diff --git a/node_modules/caniuse-lite/data/features/resizeobserver.js b/node_modules/caniuse-lite/data/features/resizeobserver.js new file mode 100644 index 000000000..e18a659da --- /dev/null +++ b/node_modules/caniuse-lite/data/features/resizeobserver.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N pB hB"},D:{"1":"GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","194":"6 7 8 9 AB LB CB JB EB FB"},E:{"1":"H jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R BB","66":"O"},F:{"1":"4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s lB mB nB oB R VB qB BB","194":"0 1 2 3 t u v w x P z"},G:{"1":"8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"MC XB NC OC","2":"G IC JC KC LC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Resize Observer"}; diff --git a/node_modules/caniuse-lite/data/features/resource-timing.js b/node_modules/caniuse-lite/data/features/resource-timing.js new file mode 100644 index 000000000..2b3d9c9c6 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/resource-timing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i pB hB","194":"j k l m"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB","260":"B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Resource Timing"}; diff --git a/node_modules/caniuse-lite/data/features/rest-parameters.js b/node_modules/caniuse-lite/data/features/rest-parameters.js new file mode 100644 index 000000000..7c37bc490 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/rest-parameters.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v","194":"w x P"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i lB mB nB oB R VB qB BB","194":"j k l"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Rest parameters"}; diff --git a/node_modules/caniuse-lite/data/features/rtcpeerconnection.js b/node_modules/caniuse-lite/data/features/rtcpeerconnection.js new file mode 100644 index 000000000..0514ce872 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/rtcpeerconnection.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H","516":"Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB","33":"a b c d e f g h i j k l m n o p q r s t u v"},D:{"1":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a","33":"0 1 2 3 4 5 6 7 b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K lB mB nB oB R VB qB BB","33":"L X Y Z a b c d e f g h i j k l m n o p q r s t u"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D","130":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"33":"G IC JC KC LC MC XB NC OC"},Q:{"33":"PC"},R:{"33":"QC"},S:{"1":"RC"}},B:5,C:"WebRTC Peer-to-peer connections"}; diff --git a/node_modules/caniuse-lite/data/features/ruby.js b/node_modules/caniuse-lite/data/features/ruby.js new file mode 100644 index 000000000..be03425b5 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ruby.js @@ -0,0 +1 @@ +module.exports={A:{A:{"4":"I D F E A B iB"},B:{"4":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","8":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p pB hB"},D:{"4":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","8":"G"},E:{"4":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","8":"G 0B YB"},F:{"4":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","8":"E B C lB mB nB oB R VB qB BB"},G:{"4":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","8":"YB rB IB"},H:{"8":"AC"},I:{"4":"KB G M EC IB FC GC","8":"BC CC DC"},J:{"4":"A","8":"D"},K:{"4":"P","8":"A B C R VB BB"},L:{"4":"S"},M:{"1":"N"},N:{"4":"A B"},O:{"4":"HC"},P:{"4":"G IC JC KC LC MC XB NC OC"},Q:{"4":"PC"},R:{"4":"QC"},S:{"1":"RC"}},B:1,C:"Ruby annotation"}; diff --git a/node_modules/caniuse-lite/data/features/run-in.js b/node_modules/caniuse-lite/data/features/run-in.js new file mode 100644 index 000000000..be49c2560 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/run-in.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F E A B","2":"I D iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j","2":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I cB","2":"D F E A B C O H eB fB XB R BB jB kB","16":"dB","129":"G 0B YB"},F:{"1":"E B C Q J K L lB mB nB oB R VB qB BB","2":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"rB IB tB uB vB","2":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","129":"YB"},H:{"1":"AC"},I:{"1":"KB G BC CC DC EC IB FC","2":"M GC"},J:{"1":"D A"},K:{"1":"A B C R VB BB","2":"P"},L:{"2":"S"},M:{"2":"N"},N:{"1":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"display: run-in"}; diff --git a/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js b/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js new file mode 100644 index 000000000..14da18a59 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","388":"B"},B:{"1":"L V y M WB S","2":"C O H Q","129":"J K"},C:{"1":"CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB pB hB"},D:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V","2":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","513":"y M WB S gB bB aB"},E:{"2":"G W I D F E A B 0B YB cB dB eB fB XB R","2052":"H jB kB","3076":"C O BB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q lB mB nB oB R VB qB BB"},G:{"1":"5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B","2052":"3B 4B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"513":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"16":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:6,C:"'SameSite' cookie attribute"}; diff --git a/node_modules/caniuse-lite/data/features/screen-orientation.js b/node_modules/caniuse-lite/data/features/screen-orientation.js new file mode 100644 index 000000000..c5851d46b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/screen-orientation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","164":"B"},B:{"1":"V y M WB S","36":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K pB hB","36":"L X Y Z a b c d e f g h i j k l m n o p q r s t u v"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A","36":"B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","16":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"Screen Orientation"}; diff --git a/node_modules/caniuse-lite/data/features/script-async.js b/node_modules/caniuse-lite/data/features/script-async.js new file mode 100644 index 000000000..fd6c029c3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/script-async.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","2":"sB KB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB","132":"W"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"async attribute for external scripts"}; diff --git a/node_modules/caniuse-lite/data/features/script-defer.js b/node_modules/caniuse-lite/data/features/script-defer.js new file mode 100644 index 000000000..2589d9960 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/script-defer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","132":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","257":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"defer attribute for external scripts"}; diff --git a/node_modules/caniuse-lite/data/features/scrollintoview.js b/node_modules/caniuse-lite/data/features/scrollintoview.js new file mode 100644 index 000000000..0fd3023da --- /dev/null +++ b/node_modules/caniuse-lite/data/features/scrollintoview.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D iB","132":"F E A B"},B:{"1":"V y M WB S","132":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","132":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n pB hB"},D:{"1":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB"},E:{"2":"G W 0B YB","132":"I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E lB mB nB oB","16":"B R VB","132":"C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z qB BB"},G:{"16":"YB rB IB","132":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"16":"BC CC","132":"KB G M DC EC IB FC GC"},J:{"132":"D A"},K:{"132":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"132":"HC"},P:{"132":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"132":"QC"},S:{"1":"RC"}},B:5,C:"scrollIntoView"}; diff --git a/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js b/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js new file mode 100644 index 000000000..55bb2e30e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:7,C:"Element.scrollIntoViewIfNeeded()"}; diff --git a/node_modules/caniuse-lite/data/features/sdch.js b/node_modules/caniuse-lite/data/features/sdch.js new file mode 100644 index 000000000..50e741e1e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/sdch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB","2":"LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"SDCH Accept-Encoding/Content-Encoding"}; diff --git a/node_modules/caniuse-lite/data/features/selection-api.js b/node_modules/caniuse-lite/data/features/selection-api.js new file mode 100644 index 000000000..22ab4b46d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/selection-api.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","16":"iB","260":"I D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","132":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u pB hB","2180":"0 1 2 3 v w x P z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","132":"E B C lB mB nB oB R VB qB BB"},G:{"16":"IB","132":"YB rB","516":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M FC GC","16":"KB G BC CC DC EC","1025":"IB"},J:{"1":"A","16":"D"},K:{"1":"P","16":"A B C R VB","132":"BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","16":"A"},O:{"1025":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2180":"RC"}},B:5,C:"Selection API"}; diff --git a/node_modules/caniuse-lite/data/features/server-timing.js b/node_modules/caniuse-lite/data/features/server-timing.js new file mode 100644 index 000000000..1e6160957 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/server-timing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB pB hB"},D:{"1":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB","196":"CB JB EB FB","324":"GB"},E:{"2":"G W I D F E A B C 0B YB cB dB eB fB XB R","516":"O H BB jB kB"},F:{"1":"4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"Server Timing"}; diff --git a/node_modules/caniuse-lite/data/features/serviceworkers.js b/node_modules/caniuse-lite/data/features/serviceworkers.js new file mode 100644 index 000000000..dcdf9fa72 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/serviceworkers.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L V y M WB S","2":"C O H","322":"Q J"},C:{"1":"0 1 2 3 5 6 7 8 9 w P z AB LB JB EB FB GB HB DB U T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k pB hB","194":"l m n o p q r s t u v","513":"4 x CB N"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r","4":"s t u v w"},E:{"1":"C O H R BB jB kB","2":"G W I D F E A B 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e lB mB nB oB R VB qB BB","4":"f g h i j"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","4":"M"},J:{"2":"D A"},K:{"2":"A B C R VB BB","4":"P"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"4":"QC"},S:{"2":"RC"}},B:4,C:"Service Workers"}; diff --git a/node_modules/caniuse-lite/data/features/setimmediate.js b/node_modules/caniuse-lite/data/features/setimmediate.js new file mode 100644 index 000000000..e3c4dd002 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/setimmediate.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L","2":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"1":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Efficient Script Yielding: setImmediate()"}; diff --git a/node_modules/caniuse-lite/data/features/sha-2.js b/node_modules/caniuse-lite/data/features/sha-2.js new file mode 100644 index 000000000..62466477d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/sha-2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","2":"iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"1":"KB G M CC DC EC IB FC GC","260":"BC"},J:{"1":"D A"},K:{"16":"A B C P R VB BB"},L:{"1":"S"},M:{"16":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","16":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"SHA-2 SSL certificates"}; diff --git a/node_modules/caniuse-lite/data/features/shadowdom.js b/node_modules/caniuse-lite/data/features/shadowdom.js new file mode 100644 index 000000000..5d9613f6f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/shadowdom.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V","2":"C O H Q J K L y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","66":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V","2":"G W I D F E A B C O H Q J K L X Y Z a b c y M WB S gB bB aB","33":"d e f g h i j k l m"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB","2":"E B C U N T lB mB nB oB R VB qB BB","33":"Q J K L X Y Z"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB","33":"FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","33":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:7,C:"Shadow DOM (deprecated V0 spec)"}; diff --git a/node_modules/caniuse-lite/data/features/shadowdomv1.js b/node_modules/caniuse-lite/data/features/shadowdomv1.js new file mode 100644 index 000000000..26b0c4e5d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/shadowdomv1.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","322":"AB","578":"LB CB JB EB"},D:{"1":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"A B C O H XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB","132":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G","4":"IC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"Shadow DOM (V1)"}; diff --git a/node_modules/caniuse-lite/data/features/sharedarraybuffer.js b/node_modules/caniuse-lite/data/features/sharedarraybuffer.js new file mode 100644 index 000000000..f8dff59cc --- /dev/null +++ b/node_modules/caniuse-lite/data/features/sharedarraybuffer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q","194":"J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","194":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB","450":"QB RB SB TB UB","513":"V y M"},D:{"1":"N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB","194":"CB JB EB FB GB HB DB U"},E:{"2":"G W I D F E A 0B YB cB dB eB fB","194":"B C O H XB R BB jB kB"},F:{"1":"GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P lB mB nB oB R VB qB BB","194":"0 1 2 3 4 5 6 7 8 9 z AB CB EB FB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB","194":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"194":"S"},M:{"194":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"Shared Array Buffer"}; diff --git a/node_modules/caniuse-lite/data/features/sharedworkers.js b/node_modules/caniuse-lite/data/features/sharedworkers.js new file mode 100644 index 000000000..8dd6aa0a1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/sharedworkers.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"W I cB","2":"G D F E A B C O H 0B YB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","2":"E lB mB nB"},G:{"1":"tB uB","2":"F YB rB IB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"B C R VB BB","2":"P","16":"A"},L:{"2":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"G","2":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:1,C:"Shared Web Workers"}; diff --git a/node_modules/caniuse-lite/data/features/sni.js b/node_modules/caniuse-lite/data/features/sni.js new file mode 100644 index 000000000..615aa8743 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/sni.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I iB","132":"D F"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB"},H:{"1":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"A","2":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Server Name Indication"}; diff --git a/node_modules/caniuse-lite/data/features/spdy.js b/node_modules/caniuse-lite/data/features/spdy.js new file mode 100644 index 000000000..332d4f203 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/spdy.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E A iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","2":"3 4 5 6 7 8 9 sB KB G W I D F E A B C AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","2":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"F E A B C fB XB R","2":"G W I D 0B YB cB dB eB","129":"O H BB jB kB"},F:{"1":"Q J K L X Y Z a b c d e f g h i j k l m n o p q r u w BB","2":"0 1 2 3 4 5 6 7 8 9 E B C s t v x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B","2":"YB rB IB tB uB vB","257":"4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G EC IB FC GC","2":"M BC CC DC"},J:{"2":"D A"},K:{"1":"BB","2":"A B C P R VB"},L:{"2":"S"},M:{"2":"N"},N:{"1":"B","2":"A"},O:{"2":"HC"},P:{"1":"G","2":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"16":"QC"},S:{"1":"RC"}},B:7,C:"SPDY protocol"}; diff --git a/node_modules/caniuse-lite/data/features/speech-recognition.js b/node_modules/caniuse-lite/data/features/speech-recognition.js new file mode 100644 index 000000000..180f7a937 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/speech-recognition.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","1026":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB","322":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c","164":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e lB mB nB oB R VB qB BB","1026":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"164":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"164":"G IC JC KC LC MC XB NC OC"},Q:{"164":"PC"},R:{"164":"QC"},S:{"322":"RC"}},B:7,C:"Speech Recognition API"}; diff --git a/node_modules/caniuse-lite/data/features/speech-synthesis.js b/node_modules/caniuse-lite/data/features/speech-synthesis.js new file mode 100644 index 000000000..b7c2120da --- /dev/null +++ b/node_modules/caniuse-lite/data/features/speech-synthesis.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L","2":"C O","257":"V y M WB S"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i pB hB","194":"0 j k l m n o p q r s t u v w x P z"},D:{"1":"0 1 2 3 4 5 6 l m n o p q r s t u v w x P z","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k","257":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB CB EB FB","2":"E B C Q J K L X Y Z a b c d e lB mB nB oB R VB qB BB","257":"GB HB DB U N T"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:7,C:"Speech Synthesis API"}; diff --git a/node_modules/caniuse-lite/data/features/spellcheck-attribute.js b/node_modules/caniuse-lite/data/features/spellcheck-attribute.js new file mode 100644 index 000000000..405882b5e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/spellcheck-attribute.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"4":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"4":"AC"},I:{"4":"KB G M BC CC DC EC IB FC GC"},J:{"1":"A","4":"D"},K:{"4":"A B C P R VB BB"},L:{"4":"S"},M:{"4":"N"},N:{"4":"A B"},O:{"4":"HC"},P:{"4":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"4":"QC"},S:{"2":"RC"}},B:1,C:"Spellcheck attribute"}; diff --git a/node_modules/caniuse-lite/data/features/sql-storage.js b/node_modules/caniuse-lite/data/features/sql-storage.js new file mode 100644 index 000000000..9d7a84a33 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/sql-storage.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C 0B YB cB dB eB fB XB R BB","2":"O H jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B","2":"5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:7,C:"Web SQL Database"}; diff --git a/node_modules/caniuse-lite/data/features/srcset.js b/node_modules/caniuse-lite/data/features/srcset.js new file mode 100644 index 000000000..6fbced6c4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/srcset.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L V y M WB S","260":"C","514":"O H Q"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j pB hB","194":"k l m n o p"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l","260":"m n o p"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D 0B YB cB dB","260":"F eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y lB mB nB oB R VB qB BB","260":"Z a b c"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB","260":"F wB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Srcset and sizes attributes"}; diff --git a/node_modules/caniuse-lite/data/features/stopimmediatepropagation.js b/node_modules/caniuse-lite/data/features/stopimmediatepropagation.js new file mode 100644 index 000000000..2d59f42db --- /dev/null +++ b/node_modules/caniuse-lite/data/features/stopimmediatepropagation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H Q J K L X Y Z a b c d"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB","16":"C"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB"},H:{"16":"AC"},I:{"1":"G M EC IB FC GC","16":"KB BC CC DC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","16":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Event.stopImmediatePropagation()"}; diff --git a/node_modules/caniuse-lite/data/features/stream.js b/node_modules/caniuse-lite/data/features/stream.js new file mode 100644 index 000000000..218a2c3ac --- /dev/null +++ b/node_modules/caniuse-lite/data/features/stream.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J pB hB","129":"o p q r s t","420":"K L X Y Z a b c d e f g h i j k l m n"},D:{"1":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y","420":"0 1 2 3 4 Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B Q J K lB mB nB oB R VB qB","420":"C L X Y Z a b c d e f g h i j k l m n o p q r BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB","513":"8B 9B","1537":"1B 2B 3B 4B 5B 6B 7B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D","420":"A"},K:{"1":"P","2":"A B R VB","420":"C BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"JC KC LC MC XB NC OC","420":"G IC"},Q:{"1":"PC"},R:{"420":"QC"},S:{"2":"RC"}},B:4,C:"getUserMedia/Stream API"}; diff --git a/node_modules/caniuse-lite/data/features/streams.js b/node_modules/caniuse-lite/data/features/streams.js new file mode 100644 index 000000000..2d48550d9 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/streams.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","130":"B"},B:{"16":"C O","260":"H Q","1028":"V y M WB S","5124":"J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","6148":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M","6722":"9 AB LB CB JB EB FB GB"},D:{"2":"0 1 2 3 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","260":"4 5 6 7 8 9 AB","1028":"LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E 0B YB cB dB eB fB","3076":"A B C O H XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q lB mB nB oB R VB qB BB","260":"r s t u v w x","1028":"0 1 2 3 4 5 6 7 8 9 P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB","16":"zB","1028":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","260":"M"},J:{"2":"D A"},K:{"2":"A B C R VB BB","1028":"P"},L:{"1028":"S"},M:{"2626":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC","1028":"KC LC MC XB NC OC"},Q:{"1028":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"Streams"}; diff --git a/node_modules/caniuse-lite/data/features/stricttransportsecurity.js b/node_modules/caniuse-lite/data/features/stricttransportsecurity.js new file mode 100644 index 000000000..775279063 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/stricttransportsecurity.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A iB","129":"B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Strict Transport Security"}; diff --git a/node_modules/caniuse-lite/data/features/style-scoped.js b/node_modules/caniuse-lite/data/features/style-scoped.js new file mode 100644 index 000000000..a39e88ef2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/style-scoped.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 Z a b c d e f g h i j k l m n o p q r s t u v w x P z","2":"sB KB G W I D F E A B C O H Q J K L X Y JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","322":"7 8 9 AB LB CB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","194":"Y Z a b c d e f g h i j k l m n o"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"322":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:7,C:"Scoped CSS"}; diff --git a/node_modules/caniuse-lite/data/features/subresource-integrity.js b/node_modules/caniuse-lite/data/features/subresource-integrity.js new file mode 100644 index 000000000..db01278e9 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/subresource-integrity.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L V y M WB S","2":"C O H Q J"},C:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB","194":"1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"Subresource Integrity"}; diff --git a/node_modules/caniuse-lite/data/features/svg-css.js b/node_modules/caniuse-lite/data/features/svg-css.js new file mode 100644 index 000000000..046b2b51e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/svg-css.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"J K L V y M WB S","516":"C O H Q"},C:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","260":"G W I D F E A B C O H Q J K L X Y Z a b"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","4":"G"},E:{"1":"W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B","132":"G YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","132":"YB rB"},H:{"260":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"D A"},K:{"1":"P","260":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"SVG in CSS backgrounds"}; diff --git a/node_modules/caniuse-lite/data/features/svg-filters.js b/node_modules/caniuse-lite/data/features/svg-filters.js new file mode 100644 index 000000000..798b1a9e4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/svg-filters.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G","4":"W I D"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"SVG filters"}; diff --git a/node_modules/caniuse-lite/data/features/svg-fonts.js b/node_modules/caniuse-lite/data/features/svg-fonts.js new file mode 100644 index 000000000..a7d1c341d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/svg-fonts.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"E A B iB","8":"I D F"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p","2":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","130":"0 1 2 q r s t u v w x P z"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","2":"0B"},F:{"1":"E B C Q J K L X Y Z a b c lB mB nB oB R VB qB BB","2":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB CB EB FB GB HB DB U N T","130":"d e f g h i j k l m n o"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"258":"AC"},I:{"1":"KB G EC IB FC GC","2":"M BC CC DC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"130":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"G","130":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"130":"QC"},S:{"2":"RC"}},B:2,C:"SVG fonts"}; diff --git a/node_modules/caniuse-lite/data/features/svg-fragment.js b/node_modules/caniuse-lite/data/features/svg-fragment.js new file mode 100644 index 000000000..d7b491829 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/svg-fragment.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","260":"E A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H pB hB"},D:{"1":"2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n","132":"0 1 o p q r s t u v w x P z"},E:{"1":"C O H R BB jB kB","2":"G W I D E A B 0B YB cB dB fB XB","132":"F eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"Q J K L X Y Z a","4":"B C mB nB oB R VB qB","16":"E lB","132":"b c d e f g h i j k l m n o"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB xB yB zB ZB 1B","132":"F wB"},H:{"1":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D","132":"A"},K:{"1":"P BB","4":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","132":"G"},Q:{"1":"PC"},R:{"132":"QC"},S:{"1":"RC"}},B:4,C:"SVG fragment identifiers"}; diff --git a/node_modules/caniuse-lite/data/features/svg-html.js b/node_modules/caniuse-lite/data/features/svg-html.js new file mode 100644 index 000000000..6144cc1af --- /dev/null +++ b/node_modules/caniuse-lite/data/features/svg-html.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","388":"E A B"},B:{"4":"V y M WB S","260":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB","4":"KB"},D:{"4":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"0B YB","4":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"4":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"4":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","4":"M FC GC"},J:{"1":"A","2":"D"},K:{"4":"A B C P R VB BB"},L:{"4":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"4":"G IC JC KC LC MC XB NC OC"},Q:{"4":"PC"},R:{"4":"QC"},S:{"1":"RC"}},B:2,C:"SVG effects for HTML"}; diff --git a/node_modules/caniuse-lite/data/features/svg-html5.js b/node_modules/caniuse-lite/data/features/svg-html5.js new file mode 100644 index 000000000..664c85544 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/svg-html5.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","8":"I D F","129":"E A B"},B:{"1":"K L V y M WB S","129":"C O H Q J"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","8":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","8":"G W I"},E:{"1":"E A B C O H fB XB R BB jB kB","8":"G W 0B YB","129":"I D F cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"B oB R VB","8":"E lB mB nB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","8":"YB rB IB","129":"F tB uB vB wB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"BC CC DC","129":"KB G EC IB"},J:{"1":"A","129":"D"},K:{"1":"C P BB","8":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"129":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Inline SVG in HTML5"}; diff --git a/node_modules/caniuse-lite/data/features/svg-img.js b/node_modules/caniuse-lite/data/features/svg-img.js new file mode 100644 index 000000000..5ba7489e3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/svg-img.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C O H Q J K L X Y Z a b c d e f"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"0B","4":"YB","132":"G W I D F cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","132":"F YB rB IB tB uB vB wB"},H:{"1":"AC"},I:{"1":"M FC GC","2":"BC CC DC","132":"KB G EC IB"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"SVG in HTML img element"}; diff --git a/node_modules/caniuse-lite/data/features/svg-smil.js b/node_modules/caniuse-lite/data/features/svg-smil.js new file mode 100644 index 000000000..a946894f1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/svg-smil.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","8":"I D F E A B"},B:{"1":"V y M WB S","8":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","8":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","4":"G"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","8":"0B YB","132":"G W cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","132":"YB rB IB tB"},H:{"2":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"8":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"SVG SMIL animation"}; diff --git a/node_modules/caniuse-lite/data/features/svg.js b/node_modules/caniuse-lite/data/features/svg.js new file mode 100644 index 000000000..cb0bf8a4a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/svg.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","8":"I D F","772":"E A B"},B:{"1":"V y M WB S","513":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","4":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","4":"0B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"M FC GC","2":"BC CC DC","132":"KB G EC IB"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"257":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"SVG (basic support)"}; diff --git a/node_modules/caniuse-lite/data/features/sxg.js b/node_modules/caniuse-lite/data/features/sxg.js new file mode 100644 index 000000000..edae86b00 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/sxg.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB","132":"NB OB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"GB HB DB U N T","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"16":"HC"},P:{"2":"G IC JC KC LC MC XB","16":"NC OC"},Q:{"16":"PC"},R:{"16":"QC"},S:{"2":"RC"}},B:6,C:"Signed HTTP Exchanges (SXG)"}; diff --git a/node_modules/caniuse-lite/data/features/symbols.js b/node_modules/caniuse-lite/data/features/symbols.js new file mode 100644 index 000000000..6c782eeec --- /dev/null +++ b/node_modules/caniuse-lite/data/features/symbols.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p"},E:{"1":"E A B C O H 0B YB cB dB eB fB XB R BB jB kB","2":"G W I D F"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"16":"HC"},P:{"16":"G IC JC KC LC MC XB NC OC"},Q:{"16":"PC"},R:{"16":"QC"},S:{"1":"RC"}},B:6,C:"Symbols"}; diff --git a/node_modules/caniuse-lite/data/features/tabindex-attr.js b/node_modules/caniuse-lite/data/features/tabindex-attr.js new file mode 100644 index 000000000..15bc4bb36 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/tabindex-attr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"D F E A B","16":"I iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"16":"sB KB pB hB","129":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H"},E:{"16":"G W 0B YB","257":"I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","16":"E"},G:{"769":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"16":"KB G M BC CC DC EC IB FC GC"},J:{"16":"D A"},K:{"16":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"16":"A B"},O:{"16":"HC"},P:{"16":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"16":"QC"},S:{"129":"RC"}},B:1,C:"tabindex global attribute"}; diff --git a/node_modules/caniuse-lite/data/features/template-literals.js b/node_modules/caniuse-lite/data/features/template-literals.js new file mode 100644 index 000000000..1daa6144e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/template-literals.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"O H Q J K L V y M WB S","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s"},E:{"1":"A B O H fB XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB","129":"C"},F:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g lB mB nB oB R VB qB BB"},G:{"1":"xB yB zB ZB 1B 2B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB","129":"3B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"ES6 Template Literals (Template Strings)"}; diff --git a/node_modules/caniuse-lite/data/features/template.js b/node_modules/caniuse-lite/data/features/template.js new file mode 100644 index 000000000..7bfcd87b0 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/template.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"Q J K L V y M WB S","2":"C","388":"O H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d","132":"e f g h i j k l m"},E:{"1":"E A B C O H fB XB R BB jB kB","2":"G W I D 0B YB cB","388":"F eB","514":"dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","132":"Q J K L X Y Z"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB","388":"F wB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"HTML templates"}; diff --git a/node_modules/caniuse-lite/data/features/testfeat.js b/node_modules/caniuse-lite/data/features/testfeat.js new file mode 100644 index 000000000..b297fe562 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/testfeat.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F A B iB","16":"E"},B:{"2":"C O H Q J K L V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","16":"G W"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"B C"},E:{"2":"G I 0B YB cB","16":"W D F E A B C O H dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB VB qB BB","16":"R"},G:{"2":"YB rB IB tB uB","16":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC EC IB FC GC","16":"DC"},J:{"2":"A","16":"D"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Test feature - updated"}; diff --git a/node_modules/caniuse-lite/data/features/text-decoration.js b/node_modules/caniuse-lite/data/features/text-decoration.js new file mode 100644 index 000000000..c4b41fc21 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/text-decoration.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","2052":"V y M WB S"},C:{"2":"sB KB G W pB hB","1028":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","1060":"I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d","226":"0 1 2 3 4 5 6 7 8 e f g h i j k l m n o p q r s t u v w x P z","2052":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D 0B YB cB dB","772":"O H BB jB kB","804":"F E A B C fB XB R","1316":"eB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m lB mB nB oB R VB qB BB","226":"n o p q r s t u v","2052":"0 1 2 3 4 5 6 7 8 9 w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"YB rB IB tB uB vB","292":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","2052":"P"},L:{"2052":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2052":"HC"},P:{"2":"G IC JC","2052":"KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"1":"QC"},S:{"1028":"RC"}},B:4,C:"text-decoration styling"}; diff --git a/node_modules/caniuse-lite/data/features/text-emphasis.js b/node_modules/caniuse-lite/data/features/text-emphasis.js new file mode 100644 index 000000000..53a2624d2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/text-emphasis.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","164":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w pB hB","322":"x"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c","164":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB","164":"D dB"},F:{"2":"E B C lB mB nB oB R VB qB BB","164":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB","164":"M FC GC"},J:{"2":"D","164":"A"},K:{"2":"A B C R VB BB","164":"P"},L:{"164":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"164":"HC"},P:{"164":"G IC JC KC LC MC XB NC OC"},Q:{"164":"PC"},R:{"164":"QC"},S:{"1":"RC"}},B:4,C:"text-emphasis styling"}; diff --git a/node_modules/caniuse-lite/data/features/text-overflow.js b/node_modules/caniuse-lite/data/features/text-overflow.js new file mode 100644 index 000000000..ac9ca162c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/text-overflow.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B","2":"iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","8":"sB KB G W I pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","33":"E lB mB nB oB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"P BB","33":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"CSS3 Text-overflow"}; diff --git a/node_modules/caniuse-lite/data/features/text-size-adjust.js b/node_modules/caniuse-lite/data/features/text-size-adjust.js new file mode 100644 index 000000000..69df4c0c4 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/text-size-adjust.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","33":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 G W I D F E A B C O H Q J K L X Y Z a b c d f g h i j k l m n o p q r s t u v w x P z","258":"e"},E:{"2":"G W I D F E A B C O H 0B YB dB eB fB XB R BB jB kB","258":"cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 v x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u w lB mB nB oB R VB qB BB"},G:{"2":"YB rB IB","33":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"33":"N"},N:{"161":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"CSS text-size-adjust"}; diff --git a/node_modules/caniuse-lite/data/features/text-stroke.js b/node_modules/caniuse-lite/data/features/text-stroke.js new file mode 100644 index 000000000..1a1b434b6 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/text-stroke.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H","33":"V y M WB S","161":"Q J K L"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","161":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","450":"0"},D:{"33":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"33":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C lB mB nB oB R VB qB BB","33":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"33":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","36":"YB"},H:{"2":"AC"},I:{"2":"KB","33":"G M BC CC DC EC IB FC GC"},J:{"33":"D A"},K:{"2":"A B C R VB BB","33":"P"},L:{"33":"S"},M:{"161":"N"},N:{"2":"A B"},O:{"33":"HC"},P:{"33":"G IC JC KC LC MC XB NC OC"},Q:{"33":"PC"},R:{"33":"QC"},S:{"161":"RC"}},B:7,C:"CSS text-stroke and text-fill"}; diff --git a/node_modules/caniuse-lite/data/features/text-underline-offset.js b/node_modules/caniuse-lite/data/features/text-underline-offset.js new file mode 100644 index 000000000..467315422 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/text-underline-offset.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y M WB S"},C:{"1":"MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N pB hB","130":"T"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"O H BB jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"text-underline-offset"}; diff --git a/node_modules/caniuse-lite/data/features/textcontent.js b/node_modules/caniuse-lite/data/features/textcontent.js new file mode 100644 index 000000000..19f06904e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/textcontent.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","16":"0B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","16":"E"},G:{"1":"F rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Node.textContent"}; diff --git a/node_modules/caniuse-lite/data/features/textencoder.js b/node_modules/caniuse-lite/data/features/textencoder.js new file mode 100644 index 000000000..b04d88f6f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/textencoder.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L pB hB","132":"X"},D:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"TextEncoder & TextDecoder"}; diff --git a/node_modules/caniuse-lite/data/features/tls1-1.js b/node_modules/caniuse-lite/data/features/tls1-1.js new file mode 100644 index 000000000..554328203 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/tls1-1.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D iB","66":"F E A"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a pB hB","66":"b","129":"N T MB NB OB PB QB RB SB TB","388":"UB V y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S","2":"G W I D F E A B C O H Q J K L X Y Z","1540":"gB bB aB"},E:{"1":"D F E A B C O eB fB XB R BB","2":"G W I 0B YB cB dB","513":"H jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B C lB mB nB oB R VB qB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"1":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"1":"A","2":"D"},K:{"1":"P BB","2":"A B C R VB"},L:{"1":"S"},M:{"129":"N"},N:{"1":"B","66":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"TLS 1.1"}; diff --git a/node_modules/caniuse-lite/data/features/tls1-2.js b/node_modules/caniuse-lite/data/features/tls1-2.js new file mode 100644 index 000000000..5d8c05271 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/tls1-2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D iB","66":"F E A"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b pB hB","66":"c d e"},D:{"1":"0 1 2 3 4 5 6 7 8 9 h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E Q lB","66":"B C mB nB oB R VB qB BB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"1":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"1":"A","2":"D"},K:{"1":"P BB","2":"A B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","66":"A"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"TLS 1.2"}; diff --git a/node_modules/caniuse-lite/data/features/tls1-3.js b/node_modules/caniuse-lite/data/features/tls1-3.js new file mode 100644 index 000000000..c6b511556 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/tls1-3.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","132":"CB JB EB","450":"3 4 5 6 7 8 9 AB LB"},D:{"1":"MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","706":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T"},E:{"1":"H kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R","1028":"O BB jB"},F:{"1":"9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","706":"6 7 8"},G:{"1":"4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"XB NC OC","2":"G IC JC KC LC MC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:6,C:"TLS 1.3"}; diff --git a/node_modules/caniuse-lite/data/features/token-binding.js b/node_modules/caniuse-lite/data/features/token-binding.js new file mode 100644 index 000000000..951340fe5 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/token-binding.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H","194":"V y M WB S","257":"Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V pB hB","16":"y M"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q","16":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z","194":"AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F 0B YB cB dB eB","16":"E A B C O H fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h lB mB nB oB R VB qB BB","16":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB","16":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"16":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","16":"M"},J:{"2":"D A"},K:{"2":"A B C R VB BB","16":"P"},L:{"16":"S"},M:{"16":"N"},N:{"2":"A","16":"B"},O:{"16":"HC"},P:{"16":"G IC JC KC LC MC XB NC OC"},Q:{"16":"PC"},R:{"16":"QC"},S:{"2":"RC"}},B:6,C:"Token Binding"}; diff --git a/node_modules/caniuse-lite/data/features/touch.js b/node_modules/caniuse-lite/data/features/touch.js new file mode 100644 index 000000000..39cd2cef1 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/touch.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","8":"A B"},B:{"1":"V y M WB S","578":"C O H Q J K L"},C:{"1":"4 5 6 7 8 9 L X Y Z a b c AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","4":"G W I D F E A B C O H Q J K","194":"0 1 2 3 d e f g h i j k l m n o p q r s t u v w x P z"},D:{"1":"0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"8":"A","260":"B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"2":"RC"}},B:2,C:"Touch events"}; diff --git a/node_modules/caniuse-lite/data/features/transforms2d.js b/node_modules/caniuse-lite/data/features/transforms2d.js new file mode 100644 index 000000000..779d3b40a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/transforms2d.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","8":"I D F","129":"A B","161":"E"},B:{"1":"K L V y M WB S","129":"C O H Q J"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","33":"G W I D F E A B C O H Q pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n"},E:{"1":"E A B C O H fB XB R BB jB kB","33":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E lB mB","33":"B C Q J K L X Y Z a nB oB R VB qB"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","33":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","33":"KB G BC CC DC EC IB FC GC"},J:{"33":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"CSS3 2D Transforms"}; diff --git a/node_modules/caniuse-lite/data/features/transforms3d.js b/node_modules/caniuse-lite/data/features/transforms3d.js new file mode 100644 index 000000000..fa55f4f66 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/transforms3d.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","132":"A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E pB hB","33":"A B C O H Q"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B","33":"C O H Q J K L X Y Z a b c d e f g h i j k l m n"},E:{"2":"0B YB","33":"G W I D F cB dB eB","257":"E A B C O H fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","33":"Q J K L X Y Z a"},G:{"33":"F YB rB IB tB uB vB wB","257":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"BC CC DC","33":"KB G EC IB FC GC"},J:{"33":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"CSS3 3D Transforms"}; diff --git a/node_modules/caniuse-lite/data/features/trusted-types.js b/node_modules/caniuse-lite/data/features/trusted-types.js new file mode 100644 index 000000000..6e20c9843 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/trusted-types.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"WB S","2":"C O H Q J K L V y M"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"T","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Trusted Types for DOM manipulation"}; diff --git a/node_modules/caniuse-lite/data/features/ttf.js b/node_modules/caniuse-lite/data/features/ttf.js new file mode 100644 index 000000000..a3af983ad --- /dev/null +++ b/node_modules/caniuse-lite/data/features/ttf.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","132":"E A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T mB nB oB R VB qB BB","2":"E lB"},G:{"1":"F IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB"},H:{"2":"AC"},I:{"1":"KB G M CC DC EC IB FC GC","2":"BC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"TTF/OTF - TrueType and OpenType font support"}; diff --git a/node_modules/caniuse-lite/data/features/typedarrays.js b/node_modules/caniuse-lite/data/features/typedarrays.js new file mode 100644 index 000000000..5fe863490 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/typedarrays.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"B","2":"I D F E iB","132":"A"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB","260":"cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E B lB mB nB oB R VB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB","260":"IB"},H:{"1":"AC"},I:{"1":"G M EC IB FC GC","2":"KB BC CC DC"},J:{"1":"A","2":"D"},K:{"1":"C P BB","2":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Typed Arrays"}; diff --git a/node_modules/caniuse-lite/data/features/u2f.js b/node_modules/caniuse-lite/data/features/u2f.js new file mode 100644 index 000000000..d1c5a6b46 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/u2f.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","513":"V y M WB S"},C:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P pB hB","322":"0 1 2 3 4 5 6 7 8 9 z AB LB CB JB EB FB GB HB DB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p","130":"q r s","513":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"O H jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R BB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r t lB mB nB oB R VB qB BB","513":"0 1 2 3 4 5 6 7 8 9 s u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"322":"RC"}},B:6,C:"FIDO U2F API"}; diff --git a/node_modules/caniuse-lite/data/features/unhandledrejection.js b/node_modules/caniuse-lite/data/features/unhandledrejection.js new file mode 100644 index 000000000..6e65e05e3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/unhandledrejection.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N pB hB"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n lB mB nB oB R VB qB BB"},G:{"1":"2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB","16":"1B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:1,C:"unhandledrejection/rejectionhandled events"}; diff --git a/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js b/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js new file mode 100644 index 000000000..afa9df1c7 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L V y M WB S","2":"C O H Q J"},C:{"1":"0 1 2 3 4 5 6 7 8 9 u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Upgrade Insecure Requests"}; diff --git a/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js b/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js new file mode 100644 index 000000000..6c1d6cff7 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"WB S","2":"C O H Q J K L","66":"V y M"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB","66":"QB RB SB TB UB V y"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"N T","2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB lB mB nB oB R VB qB BB","66":"DB U"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"URL Scroll-To-Text Fragment"}; diff --git a/node_modules/caniuse-lite/data/features/url.js b/node_modules/caniuse-lite/data/features/url.js new file mode 100644 index 000000000..b51bd91f3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/url.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a","130":"b c d e f g h i j"},E:{"1":"F E A B C O H eB fB XB R BB jB kB","2":"G W I 0B YB cB dB","130":"D"},F:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","130":"Q J K L"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB","130":"vB"},H:{"2":"AC"},I:{"1":"M GC","2":"KB G BC CC DC EC IB","130":"FC"},J:{"2":"D","130":"A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"URL API"}; diff --git a/node_modules/caniuse-lite/data/features/urlsearchparams.js b/node_modules/caniuse-lite/data/features/urlsearchparams.js new file mode 100644 index 000000000..e99f2cc5d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/urlsearchparams.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L V y M WB S","2":"C O H Q J"},C:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB","132":"h i j k l m n o p q r s t u v"},D:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"1":"B C O H XB R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n lB mB nB oB R VB qB BB"},G:{"1":"ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","2":"G"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:1,C:"URLSearchParams"}; diff --git a/node_modules/caniuse-lite/data/features/use-strict.js b/node_modules/caniuse-lite/data/features/use-strict.js new file mode 100644 index 000000000..0777797f9 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/use-strict.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G 0B YB","132":"W cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","2":"E B lB mB nB oB R VB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"1":"AC"},I:{"1":"KB G M EC IB FC GC","2":"BC CC DC"},J:{"1":"D A"},K:{"1":"C P VB BB","2":"A B R"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"ECMAScript 5 Strict Mode"}; diff --git a/node_modules/caniuse-lite/data/features/user-select-none.js b/node_modules/caniuse-lite/data/features/user-select-none.js new file mode 100644 index 000000000..5a8eb366f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/user-select-none.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","33":"A B"},B:{"1":"V y M WB S","33":"C O H Q J K L"},C:{"1":"T MB NB OB PB QB RB SB TB UB V y M","33":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N pB hB"},D:{"1":"6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","33":"0 1 2 3 4 5 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},E:{"33":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","33":"Q J K L X Y Z a b c d e f g h i j k l m n o p q r s"},G:{"33":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","33":"KB G BC CC DC EC IB FC GC"},J:{"33":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"33":"N"},N:{"33":"A B"},O:{"2":"HC"},P:{"33":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"33":"RC"}},B:5,C:"CSS user-select: none"}; diff --git a/node_modules/caniuse-lite/data/features/user-timing.js b/node_modules/caniuse-lite/data/features/user-timing.js new file mode 100644 index 000000000..7cdb1c864 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/user-timing.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"User Timing API"}; diff --git a/node_modules/caniuse-lite/data/features/variable-fonts.js b/node_modules/caniuse-lite/data/features/variable-fonts.js new file mode 100644 index 000000000..c076059cd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/variable-fonts.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"K L V y M WB S","2":"C O H Q J"},C:{"2":"0 1 2 3 4 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","4609":"EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","4674":"JB","5698":"CB","7490":"5 6 7 8 9","7746":"AB LB"},D:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB","4097":"DB","4290":"LB CB JB","6148":"EB FB GB HB"},E:{"2":"G W I D F E A 0B YB cB dB eB fB XB","4609":"B C R BB","8193":"O H jB kB"},F:{"1":"6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","4097":"5","6148":"1 2 3 4"},G:{"1":"5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB","4097":"1B 2B 3B 4B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"4097":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC","4097":"LC MC XB NC OC"},Q:{"4097":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"Variable fonts"}; diff --git a/node_modules/caniuse-lite/data/features/vibration.js b/node_modules/caniuse-lite/data/features/vibration.js new file mode 100644 index 000000000..f34584f5b --- /dev/null +++ b/node_modules/caniuse-lite/data/features/vibration.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A pB hB","33":"B C O H Q"},D:{"1":"0 1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"Vibration API"}; diff --git a/node_modules/caniuse-lite/data/features/video.js b/node_modules/caniuse-lite/data/features/video.js new file mode 100644 index 000000000..9e432e551 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/video.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","260":"G W I D F E A B C O H Q J K L X pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A cB dB eB fB XB","2":"0B YB","513":"B C O H R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB","513":"1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","132":"BC CC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Video element"}; diff --git a/node_modules/caniuse-lite/data/features/videotracks.js b/node_modules/caniuse-lite/data/features/videotracks.js new file mode 100644 index 000000000..b643bf6ad --- /dev/null +++ b/node_modules/caniuse-lite/data/features/videotracks.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L","322":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k pB hB","194":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w","322":"0 1 2 3 4 5 6 7 8 9 x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W I 0B YB cB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j lB mB nB oB R VB qB BB","322":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","322":"P"},L:{"322":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"194":"RC"}},B:1,C:"Video Tracks"}; diff --git a/node_modules/caniuse-lite/data/features/viewport-units.js b/node_modules/caniuse-lite/data/features/viewport-units.js new file mode 100644 index 000000000..2a68f0eeb --- /dev/null +++ b/node_modules/caniuse-lite/data/features/viewport-units.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","132":"E","260":"A B"},B:{"1":"J K L V y M WB S","260":"C O H Q"},C:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X","260":"Y Z a b c d"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB","260":"I"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB","516":"vB","772":"uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"260":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"Viewport units: vw, vh, vmin, vmax"}; diff --git a/node_modules/caniuse-lite/data/features/wai-aria.js b/node_modules/caniuse-lite/data/features/wai-aria.js new file mode 100644 index 000000000..1684d6f07 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/wai-aria.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D iB","4":"F E A B"},B:{"4":"C O H Q J K L V y M WB S"},C:{"4":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"4":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"0B YB","4":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB"},F:{"2":"E","4":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"4":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"4":"AC"},I:{"2":"KB G BC CC DC EC IB","4":"M FC GC"},J:{"2":"D A"},K:{"4":"A B C P R VB BB"},L:{"4":"S"},M:{"4":"N"},N:{"4":"A B"},O:{"2":"HC"},P:{"4":"G IC JC KC LC MC XB NC OC"},Q:{"4":"PC"},R:{"4":"QC"},S:{"4":"RC"}},B:2,C:"WAI-ARIA Accessibility features"}; diff --git a/node_modules/caniuse-lite/data/features/wake-lock.js b/node_modules/caniuse-lite/data/features/wake-lock.js new file mode 100644 index 000000000..83e32314e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/wake-lock.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","194":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB","194":"NB OB PB QB RB SB TB UB V y M WB S"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","194":"AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"194":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:4,C:"Screen Wake Lock API"}; diff --git a/node_modules/caniuse-lite/data/features/wasm.js b/node_modules/caniuse-lite/data/features/wasm.js new file mode 100644 index 000000000..93f809b99 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/wasm.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"J K L V y M WB S","2":"C O H","578":"Q"},C:{"1":"5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P pB hB","194":"0 1 2 3 z","1025":"4"},D:{"1":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","322":"3 4 5 6 7 8"},E:{"1":"B C O H R BB jB kB","2":"G W I D F E A 0B YB cB dB eB fB XB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p lB mB nB oB R VB qB BB","322":"q r s t u v"},G:{"1":"1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G IC JC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"194":"RC"}},B:6,C:"WebAssembly"}; diff --git a/node_modules/caniuse-lite/data/features/wav.js b/node_modules/caniuse-lite/data/features/wav.js new file mode 100644 index 000000000..0758d2970 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/wav.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T nB oB R VB qB BB","2":"E lB mB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","16":"A"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"Wav audio format"}; diff --git a/node_modules/caniuse-lite/data/features/wbr-element.js b/node_modules/caniuse-lite/data/features/wbr-element.js new file mode 100644 index 000000000..eb89cdd2f --- /dev/null +++ b/node_modules/caniuse-lite/data/features/wbr-element.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D iB","2":"F E A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H YB cB dB eB fB XB R BB jB kB","16":"0B"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","16":"E"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB"},H:{"1":"AC"},I:{"1":"KB G M DC EC IB FC GC","16":"BC CC"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"wbr (word break opportunity) element"}; diff --git a/node_modules/caniuse-lite/data/features/web-animation.js b/node_modules/caniuse-lite/data/features/web-animation.js new file mode 100644 index 000000000..e2abfdae2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/web-animation.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","260":"V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k pB hB","260":"LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","516":"0 1 2 3 4 5 6 7 8 9 z AB","580":"l m n o p q r s t u v w x P"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n","132":"o p q","260":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A 0B YB cB dB eB fB XB","1090":"B C O R BB","2049":"H jB kB"},F:{"2":"E B C Q J K L X Y Z a lB mB nB oB R VB qB BB","132":"b c d","260":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB","1090":"1B 2B 3B 4B 5B 6B 7B","2049":"8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","260":"M"},J:{"2":"D A"},K:{"2":"A B C R VB BB","260":"P"},L:{"260":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"260":"HC"},P:{"260":"G IC JC KC LC MC XB NC OC"},Q:{"260":"PC"},R:{"260":"QC"},S:{"516":"RC"}},B:5,C:"Web Animations API"}; diff --git a/node_modules/caniuse-lite/data/features/web-app-manifest.js b/node_modules/caniuse-lite/data/features/web-app-manifest.js new file mode 100644 index 000000000..4620b2341 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/web-app-manifest.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J","514":"K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q","129":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB LB CB JB EB FB GB HB DB","257":"U N T MB NB OB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B","1156":"2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","129":"P"},L:{"1":"S"},M:{"129":"N"},N:{"2":"A B"},O:{"129":"HC"},P:{"1":"NC OC","129":"G IC JC KC LC MC XB"},Q:{"129":"PC"},R:{"129":"QC"},S:{"2":"RC"}},B:5,C:"Add to home screen (A2HS)"}; diff --git a/node_modules/caniuse-lite/data/features/web-bluetooth.js b/node_modules/caniuse-lite/data/features/web-bluetooth.js new file mode 100644 index 000000000..201d5d67d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/web-bluetooth.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","1025":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w","194":"0 1 2 3 4 x P z","706":"5 6 7","1025":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n lB mB nB oB R VB qB BB","450":"o p q r","706":"s t u","1025":"0 1 2 3 4 5 6 7 8 9 v w x P z AB CB EB FB GB HB DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC GC","1025":"M"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1025":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"JC KC LC MC XB NC OC","2":"G IC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Web Bluetooth"}; diff --git a/node_modules/caniuse-lite/data/features/web-share.js b/node_modules/caniuse-lite/data/features/web-share.js new file mode 100644 index 000000000..a42578b92 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/web-share.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V y","1028":"M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","258":"L X Y Z a b c"},E:{"1":"O H BB jB kB","2":"G W I D F E A B C 0B YB cB eB fB XB R","16":"dB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B"},H:{"2":"AC"},I:{"2":"KB G BC CC DC EC IB FC","514":"M GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"514":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"LC MC XB NC OC","2":"G","514":"IC JC KC"},Q:{"2":"PC"},R:{"16":"QC"},S:{"2":"RC"}},B:7,C:"Web Share API"}; diff --git a/node_modules/caniuse-lite/data/features/webauthn.js b/node_modules/caniuse-lite/data/features/webauthn.js new file mode 100644 index 000000000..cc699db8d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webauthn.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"L V y M WB S","2":"C","226":"O H Q J K"},C:{"1":"CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB pB hB"},D:{"1":"U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB"},E:{"1":"O H jB kB","2":"G W I D F E A B C 0B YB cB dB eB fB XB R","322":"BB"},F:{"1":"6 7 8 9 AB CB EB FB GB HB DB U N T","2":"0 1 2 3 4 5 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB"},G:{"1":"9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B","578":"6B","1028":"7B 8B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:2,C:"Web Authentication API"}; diff --git a/node_modules/caniuse-lite/data/features/webgl.js b/node_modules/caniuse-lite/data/features/webgl.js new file mode 100644 index 000000000..877bf6074 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webgl.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"iB","8":"I D F E A","129":"B"},B:{"1":"V y M WB S","129":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","129":"G W I D F E A B C O H Q J K L X Y Z a b"},D:{"1":"0 1 2 3 4 5 6 7 8 9 l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D","129":"F E A B C O H Q J K L X Y Z a b c d e f g h i j k"},E:{"1":"F E A B C O H fB XB R BB jB kB","2":"G W 0B YB","129":"I D cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B lB mB nB oB R VB qB","129":"C Q J K L BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB vB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"1":"A","2":"D"},K:{"1":"C P BB","2":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"8":"A","129":"B"},O:{"129":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"129":"RC"}},B:6,C:"WebGL - 3D Canvas graphics"}; diff --git a/node_modules/caniuse-lite/data/features/webgl2.js b/node_modules/caniuse-lite/data/features/webgl2.js new file mode 100644 index 000000000..739f4c9c2 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webgl2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c pB hB","194":"u v w","450":"d e f g h i j k l m n o p q r s t","2242":"0 1 2 x P z"},D:{"1":"8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u","578":"0 1 2 3 4 5 6 7 v w x P z"},E:{"2":"G W I D F E A 0B YB cB dB eB fB","1090":"B C O H XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B","1090":"3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"KC LC MC XB NC OC","2":"G IC JC"},Q:{"578":"PC"},R:{"2":"QC"},S:{"2242":"RC"}},B:6,C:"WebGL 2.0"}; diff --git a/node_modules/caniuse-lite/data/features/webgpu.js b/node_modules/caniuse-lite/data/features/webgpu.js new file mode 100644 index 000000000..c5f7ebcca --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webgpu.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V","578":"y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB pB hB","194":"FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V","578":"y M WB S gB bB aB"},E:{"2":"G W I D F E A B 0B YB cB dB eB fB XB","322":"C O H R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"194":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"WebGPU"}; diff --git a/node_modules/caniuse-lite/data/features/webhid.js b/node_modules/caniuse-lite/data/features/webhid.js new file mode 100644 index 000000000..83f15e38a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webhid.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","194":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB","194":"UB V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB lB mB nB oB R VB qB BB","194":"DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"WebHID API"}; diff --git a/node_modules/caniuse-lite/data/features/webm.js b/node_modules/caniuse-lite/data/features/webm.js new file mode 100644 index 000000000..a50ce7011 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webm.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F iB","520":"E A B"},B:{"1":"V y M WB S","8":"C O","388":"H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","132":"G W I D F E A B C O H Q J K L X Y Z a b c d e f"},D:{"1":"0 1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W","132":"I D F E A B C O H Q J K L X Y Z a b c"},E:{"2":"0B","8":"G W YB cB","520":"I D F E A B C dB eB fB XB R","1028":"O BB jB","2052":"H kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E lB mB nB","132":"B C Q oB R VB qB BB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B","1028":"4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"1":"M","2":"BC CC","132":"KB G DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C R VB BB","132":"P"},L:{"1":"S"},M:{"1":"N"},N:{"8":"A B"},O:{"1":"HC"},P:{"1":"IC JC KC LC MC XB NC OC","132":"G"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:6,C:"WebM video format"}; diff --git a/node_modules/caniuse-lite/data/features/webnfc.js b/node_modules/caniuse-lite/data/features/webnfc.js new file mode 100644 index 000000000..a5b856d8c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webnfc.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L V","450":"y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V","450":"y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB lB mB nB oB R VB qB BB","450":"U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"450":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"Web NFC"}; diff --git a/node_modules/caniuse-lite/data/features/webp.js b/node_modules/caniuse-lite/data/features/webp.js new file mode 100644 index 000000000..0ecf73bf5 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webp.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"L V y M WB S","2":"C O H Q J K"},C:{"1":"HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","8":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W","8":"I D F","132":"E A B C O H Q J K L X Y Z a","260":"b c d e f g h i j"},E:{"1":"H kB","2":"G W I D F E A B C O 0B YB cB dB eB fB XB R BB jB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E lB mB nB","8":"B oB","132":"R VB qB","260":"C Q J K L BB"},G:{"1":"9B","2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B"},H:{"1":"AC"},I:{"1":"M IB FC GC","2":"KB BC CC DC","132":"G EC"},J:{"2":"D A"},K:{"1":"C P R VB BB","2":"A","132":"B"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"8":"RC"}},B:7,C:"WebP image format"}; diff --git a/node_modules/caniuse-lite/data/features/websockets.js b/node_modules/caniuse-lite/data/features/websockets.js new file mode 100644 index 000000000..0e914ff7d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/websockets.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB pB hB","132":"G W","292":"I D F E A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C O H","260":"Q"},E:{"1":"D F E A B C O H eB fB XB R BB jB kB","2":"G 0B YB","132":"W cB","260":"I dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E lB mB nB oB","132":"B C R VB qB"},G:{"1":"F uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB","132":"IB tB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","129":"D"},K:{"1":"P BB","2":"A","132":"B C R VB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Web Sockets"}; diff --git a/node_modules/caniuse-lite/data/features/webusb.js b/node_modules/caniuse-lite/data/features/webusb.js new file mode 100644 index 000000000..42f9d60cd --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webusb.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"0 1 2 3 4 5 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z","66":"6 7 8 9 AB LB CB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s lB mB nB oB R VB qB BB","66":"t u v w x P z"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"1":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"1":"LC MC XB NC OC","2":"G IC JC KC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:7,C:"WebUSB"}; diff --git a/node_modules/caniuse-lite/data/features/webvr.js b/node_modules/caniuse-lite/data/features/webvr.js new file mode 100644 index 000000000..f48c86bdb --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webvr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H y M WB S","66":"V","257":"Q J K L"},C:{"2":"0 1 2 3 4 5 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB","129":"7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","194":"6"},D:{"2":"0 1 2 3 4 5 6 7 8 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z y M WB S gB bB aB","66":"9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v U N T lB mB nB oB R VB qB BB","66":"0 1 2 3 4 5 6 7 8 9 w x P z AB CB EB FB GB HB DB"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"2":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"513":"G","516":"IC JC KC LC MC XB NC OC"},Q:{"2":"PC"},R:{"66":"QC"},S:{"2":"RC"}},B:7,C:"WebVR API"}; diff --git a/node_modules/caniuse-lite/data/features/webvtt.js b/node_modules/caniuse-lite/data/features/webvtt.js new file mode 100644 index 000000000..d5bd094f3 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webvtt.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b pB hB","66":"c d e f g h i","129":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M"},D:{"1":"0 1 2 3 4 5 6 7 8 9 L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K"},E:{"1":"I D F E A B C O H dB eB fB XB R BB jB kB","2":"G W 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB tB uB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB G BC CC DC EC IB"},J:{"1":"A","2":"D"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"B","2":"A"},O:{"2":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"129":"RC"}},B:5,C:"WebVTT - Web Video Text Tracks"}; diff --git a/node_modules/caniuse-lite/data/features/webworkers.js b/node_modules/caniuse-lite/data/features/webworkers.js new file mode 100644 index 000000000..b8dd838c0 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webworkers.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","2":"iB","8":"I D F E"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","8":"sB KB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","8":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T oB R VB qB BB","2":"E lB","8":"mB nB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"1":"M BC FC GC","2":"KB G CC DC EC IB"},J:{"1":"D A"},K:{"1":"B C P R VB BB","8":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Web Workers"}; diff --git a/node_modules/caniuse-lite/data/features/webxr.js b/node_modules/caniuse-lite/data/features/webxr.js new file mode 100644 index 000000000..4679f6156 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/webxr.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"2":"C O H Q J K L","132":"V y M WB S"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB pB hB","322":"TB UB V y M"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB","66":"HB DB U N T MB NB OB PB QB RB SB TB UB","132":"V y M WB S gB bB aB"},E:{"2":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"2":"0 1 2 3 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z lB mB nB oB R VB qB BB","66":"4 5 6 7 8 9 AB CB EB FB GB HB","132":"DB U N T"},G:{"2":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"2":"AC"},I:{"2":"KB G M BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"2":"A B C P R VB BB"},L:{"132":"S"},M:{"2":"N"},N:{"2":"A B"},O:{"2":"HC"},P:{"2":"G IC JC KC LC MC XB NC","132":"OC"},Q:{"2":"PC"},R:{"2":"QC"},S:{"2":"RC"}},B:5,C:"WebXR Device API"}; diff --git a/node_modules/caniuse-lite/data/features/will-change.js b/node_modules/caniuse-lite/data/features/will-change.js new file mode 100644 index 000000000..9b76ffa70 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/will-change.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"V y M WB S","2":"C O H Q J K L"},C:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g pB hB","194":"h i j k l m n"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n"},E:{"1":"A B C O H fB XB R BB jB kB","2":"G W I D F E 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a b lB mB nB oB R VB qB BB"},G:{"1":"yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"CSS will-change property"}; diff --git a/node_modules/caniuse-lite/data/features/woff.js b/node_modules/caniuse-lite/data/features/woff.js new file mode 100644 index 000000000..1a85f80c6 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/woff.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M hB","2":"sB KB pB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G"},E:{"1":"I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"G W 0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T R VB qB BB","2":"E B lB mB nB oB"},G:{"1":"F tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB"},H:{"2":"AC"},I:{"1":"M FC GC","2":"KB BC CC DC EC IB","130":"G"},J:{"1":"D A"},K:{"1":"B C P R VB BB","2":"A"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:2,C:"WOFF - Web Open Font Format"}; diff --git a/node_modules/caniuse-lite/data/features/woff2.js b/node_modules/caniuse-lite/data/features/woff2.js new file mode 100644 index 000000000..02b18027d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/woff2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E A B iB"},B:{"1":"H Q J K L V y M WB S","2":"C O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","2":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n"},E:{"1":"C O H BB jB kB","2":"G W I D F E 0B YB cB dB eB fB","132":"A B XB R"},F:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C Q J K L X Y Z a lB mB nB oB R VB qB BB"},G:{"1":"zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"F YB rB IB tB uB vB wB xB yB"},H:{"2":"AC"},I:{"1":"M","2":"KB G BC CC DC EC IB FC GC"},J:{"2":"D A"},K:{"1":"P","2":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"2":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"WOFF 2.0 - Web Open Font Format"}; diff --git a/node_modules/caniuse-lite/data/features/word-break.js b/node_modules/caniuse-lite/data/features/word-break.js new file mode 100644 index 000000000..ea2dc1b5e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/word-break.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"I D F E A B iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB G W I D F E A B C O H pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","4":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v"},E:{"1":"E A B C O H fB XB R BB jB kB","4":"G W I D F 0B YB cB dB eB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","2":"E B C lB mB nB oB R VB qB BB","4":"Q J K L X Y Z a b c d e f g h i"},G:{"1":"xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","4":"F YB rB IB tB uB vB wB"},H:{"2":"AC"},I:{"1":"M","4":"KB G BC CC DC EC IB FC GC"},J:{"4":"D A"},K:{"2":"A B C R VB BB","4":"P"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"4":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"4":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:5,C:"CSS3 word-break"}; diff --git a/node_modules/caniuse-lite/data/features/wordwrap.js b/node_modules/caniuse-lite/data/features/wordwrap.js new file mode 100644 index 000000000..d4088977e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/wordwrap.js @@ -0,0 +1 @@ +module.exports={A:{A:{"4":"I D F E A B iB"},B:{"1":"L V y M WB S","4":"C O H Q J K"},C:{"1":"1 2 3 4 5 6 7 8 9 AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","4":"0 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","4":"G W I D F E A B C O H Q J K L X Y Z a"},E:{"1":"D F E A B C O H dB eB fB XB R BB jB kB","4":"G W I 0B YB cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E lB mB","4":"B C nB oB R VB qB"},G:{"1":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","4":"YB rB IB tB uB"},H:{"4":"AC"},I:{"1":"M FC GC","4":"KB G BC CC DC EC IB"},J:{"1":"A","4":"D"},K:{"1":"P","4":"A B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"4":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"4":"RC"}},B:5,C:"CSS3 Overflow-wrap"}; diff --git a/node_modules/caniuse-lite/data/features/x-doc-messaging.js b/node_modules/caniuse-lite/data/features/x-doc-messaging.js new file mode 100644 index 000000000..690b7751d --- /dev/null +++ b/node_modules/caniuse-lite/data/features/x-doc-messaging.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D iB","132":"F E","260":"A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB","2":"sB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H cB dB eB fB XB R BB jB kB","2":"0B YB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB","2":"E"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"4":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"Cross-document messaging"}; diff --git a/node_modules/caniuse-lite/data/features/x-frame-options.js b/node_modules/caniuse-lite/data/features/x-frame-options.js new file mode 100644 index 000000000..c8a0e5264 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/x-frame-options.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"F E A B","2":"I D iB"},B:{"1":"C O H Q J K L","4":"V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T","4":"G W I D F E A B C O H Q J K MB NB OB PB QB RB SB TB UB V y M","16":"sB KB pB hB"},D:{"4":"0 1 2 3 4 5 6 7 8 9 e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I D F E A B C O H Q J K L X Y Z a b c d"},E:{"4":"I D F E A B C O H cB dB eB fB XB R BB jB kB","16":"G W 0B YB"},F:{"4":"0 1 2 3 4 5 6 7 8 9 C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T qB BB","16":"E B lB mB nB oB R VB"},G:{"4":"F vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","16":"YB rB IB tB uB"},H:{"2":"AC"},I:{"4":"G M EC IB FC GC","16":"KB BC CC DC"},J:{"4":"D A"},K:{"4":"P BB","16":"A B C R VB"},L:{"4":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"4":"HC"},P:{"4":"G IC JC KC LC MC XB NC OC"},Q:{"4":"PC"},R:{"4":"QC"},S:{"1":"RC"}},B:6,C:"X-Frame-Options HTTP header"}; diff --git a/node_modules/caniuse-lite/data/features/xhr2.js b/node_modules/caniuse-lite/data/features/xhr2.js new file mode 100644 index 000000000..1b1eec62c --- /dev/null +++ b/node_modules/caniuse-lite/data/features/xhr2.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"I D F E iB","132":"A B"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","2":"sB KB","260":"A B","388":"I D F E","900":"G W pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","16":"G W I","132":"h i","388":"D F E A B C O H Q J K L X Y Z a b c d e f g"},E:{"1":"F E A B C O H eB fB XB R BB jB kB","2":"G 0B YB","132":"D dB","388":"W I cB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T BB","2":"E B lB mB nB oB R VB qB","132":"Q J K"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","2":"YB rB IB","132":"vB","388":"tB uB"},H:{"2":"AC"},I:{"1":"M GC","2":"BC CC DC","388":"FC","900":"KB G EC IB"},J:{"132":"A","388":"D"},K:{"1":"C P BB","2":"A B R VB"},L:{"1":"S"},M:{"1":"N"},N:{"132":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:1,C:"XMLHttpRequest advanced features"}; diff --git a/node_modules/caniuse-lite/data/features/xhtml.js b/node_modules/caniuse-lite/data/features/xhtml.js new file mode 100644 index 000000000..d0f957011 --- /dev/null +++ b/node_modules/caniuse-lite/data/features/xhtml.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"E A B","2":"I D F iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"1":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"1":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"1":"AC"},I:{"1":"KB G M BC CC DC EC IB FC GC"},J:{"1":"D A"},K:{"1":"A B C P R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"2":"QC"},S:{"1":"RC"}},B:1,C:"XHTML served as application/xhtml+xml"}; diff --git a/node_modules/caniuse-lite/data/features/xhtmlsmil.js b/node_modules/caniuse-lite/data/features/xhtmlsmil.js new file mode 100644 index 000000000..d94eb307e --- /dev/null +++ b/node_modules/caniuse-lite/data/features/xhtmlsmil.js @@ -0,0 +1 @@ +module.exports={A:{A:{"2":"E A B iB","4":"I D F"},B:{"2":"C O H Q J K L","8":"V y M WB S"},C:{"8":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"8":"0 1 2 3 4 5 6 7 8 9 G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB"},E:{"8":"G W I D F E A B C O H 0B YB cB dB eB fB XB R BB jB kB"},F:{"8":"0 1 2 3 4 5 6 7 8 9 E B C Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T lB mB nB oB R VB qB BB"},G:{"8":"F YB rB IB tB uB vB wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B"},H:{"8":"AC"},I:{"8":"KB G M BC CC DC EC IB FC GC"},J:{"8":"D A"},K:{"8":"A B C P R VB BB"},L:{"8":"S"},M:{"8":"N"},N:{"2":"A B"},O:{"8":"HC"},P:{"8":"G IC JC KC LC MC XB NC OC"},Q:{"8":"PC"},R:{"8":"QC"},S:{"8":"RC"}},B:7,C:"XHTML+SMIL animation"}; diff --git a/node_modules/caniuse-lite/data/features/xml-serializer.js b/node_modules/caniuse-lite/data/features/xml-serializer.js new file mode 100644 index 000000000..b7b51d44a --- /dev/null +++ b/node_modules/caniuse-lite/data/features/xml-serializer.js @@ -0,0 +1 @@ +module.exports={A:{A:{"1":"A B","260":"I D F E iB"},B:{"1":"C O H Q J K L V y M WB S"},C:{"1":"0 1 2 3 4 5 6 7 8 9 C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M","132":"B","260":"sB KB G W I D pB hB","516":"F E A"},D:{"1":"0 1 2 3 4 5 6 7 8 9 j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M WB S gB bB aB","132":"G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i"},E:{"1":"F E A B C O H eB fB XB R BB jB kB","132":"G W I D 0B YB cB dB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB CB EB FB GB HB DB U N T","16":"E lB","132":"B C Q J K mB nB oB R VB qB BB"},G:{"1":"F wB xB yB zB ZB 1B 2B 3B 4B 5B 6B 7B 8B 9B","132":"YB rB IB tB uB vB"},H:{"132":"AC"},I:{"1":"M FC GC","132":"KB G BC CC DC EC IB"},J:{"132":"D A"},K:{"1":"P","16":"A","132":"B C R VB BB"},L:{"1":"S"},M:{"1":"N"},N:{"1":"A B"},O:{"1":"HC"},P:{"1":"G IC JC KC LC MC XB NC OC"},Q:{"1":"PC"},R:{"1":"QC"},S:{"1":"RC"}},B:4,C:"DOM Parsing and Serialization"}; diff --git a/node_modules/caniuse-lite/data/regions/AD.js b/node_modules/caniuse-lite/data/regions/AD.js new file mode 100644 index 000000000..d9168062f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AD.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0.00599,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00599,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.02395,"49":0,"50":0,"51":0.00599,"52":0.03592,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.01197,"64":0,"65":0,"66":0,"67":0.00599,"68":0.26942,"69":0,"70":0,"71":0.04191,"72":0.01197,"73":0.02395,"74":0.00599,"75":0,"76":0.02395,"77":0.461,"78":2.28105,"79":0.14369,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00599,"39":0,"40":0,"41":0.01796,"42":0,"43":0,"44":0,"45":0,"46":0.00599,"47":0.00599,"48":0.00599,"49":0.62265,"50":0,"51":0,"52":0,"53":0.02395,"54":0,"55":0,"56":0.00599,"57":0,"58":0.03592,"59":0,"60":0.00599,"61":0,"62":0,"63":0.01796,"64":0,"65":0.16764,"66":0,"67":0.02395,"68":0,"69":0.03592,"70":0.00599,"71":0.01796,"72":0.00599,"73":0,"74":0.00599,"75":0.04191,"76":0,"77":0.53883,"78":0.05388,"79":0.05388,"80":0.14369,"81":0.20356,"83":13.14745,"84":6.99282,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.40712,"69":0.12573,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00599},G:{"8":0,"3.2":0.00487,"4.0-4.1":0.00487,"4.2-4.3":0.00487,"5.0-5.1":0.01462,"6.0-6.1":0.00487,"7.0-7.1":0.01949,"8.1-8.4":0.02923,"9.0-9.2":0.03898,"9.3":0.32156,"10.0-10.2":0.08283,"10.3":0.38977,"11.0-11.2":0.28745,"11.3-11.4":0.4531,"12.0-12.1":0.61388,"12.2-12.4":3.73689,"13.0-13.1":0.69671,"13.2":0.34105,"13.3":3.40558,"13.4-13.5":8.23381,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.02395,"12":0.02994,"13":0.54482,"14":0.00599,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00599,"10.1":0.09579,"11.1":0.16764,"12.1":0.29935,"13.1":4.41242},B:{"12":0,"13":0.00599,"14":0.00599,"15":0,"16":0.07184,"17":0.01796,"18":0.22152,"79":0,"80":0,"81":0.01796,"83":1.00582,"84":0.54482},I:{"3":0,"4":0.00764,_:"81","2.1":0,"2.2":0,"2.3":0.00076,"4.1":0.01298,"4.2-4.3":0.02138,"4.4":0,"4.4.3-4.4.4":0.13514},P:{"4":0.05162,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.01032,"10.1":0.02065,"11.1-11.2":0.27876,"12.0":3.04568},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.00599,"10":0,"11":0.52087,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":40.15114},S:{"2.5":0},R:{_:"0"},M:{"0":0.38525},Q:{"10.4":0},O:{"0":0.04013},H:{"0":0.08738}}; diff --git a/node_modules/caniuse-lite/data/regions/AE.js b/node_modules/caniuse-lite/data/regions/AE.js new file mode 100644 index 000000000..f2c074c89 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00511,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00511,"49":0,"50":0,"51":0,"52":0.01023,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00511,"61":0,"62":0,"63":0.00511,"64":0.00511,"65":0,"66":0.00511,"67":0,"68":0.06647,"69":0,"70":0,"71":0,"72":0.01023,"73":0.00511,"74":0.00511,"75":0.00511,"76":0.01023,"77":0.25054,"78":0.76184,"79":0.0409,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00511,"23":0,"24":0,"25":0,"26":0.00511,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00511,"35":0.03579,"36":0,"37":0,"38":0.02045,"39":0,"40":0.00511,"41":0,"42":0,"43":0.00511,"44":0,"45":0,"46":0,"47":0,"48":0.00511,"49":0.10737,"50":0,"51":0,"52":0,"53":0.00511,"54":0,"55":0,"56":0.01023,"57":0.01023,"58":0.01023,"59":0,"60":0.00511,"61":0.00511,"62":0.00511,"63":0.02045,"64":0.00511,"65":0.02045,"66":0.01534,"67":0.02045,"68":0.00511,"69":0.02045,"70":0.03579,"71":0.06647,"72":0.06647,"73":0.02557,"74":0.03579,"75":0.03579,"76":0.0409,"77":0.03579,"78":0.0767,"79":0.07158,"80":0.13294,"81":0.19429,"83":11.25371,"84":6.66224,"85":0.01534,"86":0.00511,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.06136,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00511,"57":0,"58":0,"60":0.00511,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00511,"68":0.30167,"69":0.13805,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00506,"4.0-4.1":0.00506,"4.2-4.3":0.00506,"5.0-5.1":0.01519,"6.0-6.1":0.00506,"7.0-7.1":0.02025,"8.1-8.4":0.03037,"9.0-9.2":0.04049,"9.3":0.33407,"10.0-10.2":0.08605,"10.3":0.40494,"11.0-11.2":0.29864,"11.3-11.4":0.47074,"12.0-12.1":0.63778,"12.2-12.4":3.88233,"13.0-13.1":0.72383,"13.2":0.35432,"13.3":3.53814,"13.4-13.5":8.5543,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.03579,"10":0.00511,"11":0.01534,"12":0.05624,"13":0.30167,"14":0.01023,_:"0","3.1":0,"3.2":0,"5.1":0.01534,"6.1":0,"7.1":0,"9.1":0.00511,"10.1":0.02045,"11.1":0.07158,"12.1":0.14828,"13.1":2.0043},B:{"12":0.00511,"13":0.00511,"14":0.00511,"15":0.02045,"16":0.01023,"17":0.04602,"18":0.34768,"79":0.00511,"80":0,"81":0.01023,"83":0.4704,"84":0.36302},I:{"3":0,"4":0.00687,_:"81","2.1":0,"2.2":0,"2.3":0.00069,"4.1":0.01167,"4.2-4.3":0.01923,"4.4":0,"4.4.3-4.4.4":0.12155},P:{"4":0.09275,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.03092,"8.2":0.01031,"9.2":0.09275,"10.1":0.12366,"11.1-11.2":0.4019,"12.0":2.09195},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01224,"9":0,"10":0,"11":0.42236,"5.5":0},J:{"7":0,"10":0.00977},N:{"10":0,"11":0},L:{"0":39.6851},S:{"2.5":0},R:{_:"0"},M:{"0":0.10263},Q:{"10.4":0.03421},O:{"0":5.5272},H:{"0":1.2307}}; diff --git a/node_modules/caniuse-lite/data/regions/AF.js b/node_modules/caniuse-lite/data/regions/AF.js new file mode 100644 index 000000000..d8bb0c387 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AF.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00309,"28":0,"29":0.00309,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00309,"39":0,"40":0,"41":0.00618,"42":0,"43":0.00309,"44":0,"45":0,"46":0,"47":0.00618,"48":0.00927,"49":0.00309,"50":0.00309,"51":0,"52":0.00309,"53":0,"54":0,"55":0,"56":0.00309,"57":0,"58":0.00309,"59":0,"60":0.00309,"61":0.00309,"62":0,"63":0,"64":0.00618,"65":0.00309,"66":0.00309,"67":0.00309,"68":0.04017,"69":0,"70":0,"71":0,"72":0.00927,"73":0,"74":0.00309,"75":0.00618,"76":0.00927,"77":0.1236,"78":0.49131,"79":0.06798,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.08961,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.00618,"26":0,"27":0,"28":0,"29":0.00309,"30":0,"31":0,"32":0,"33":0.00309,"34":0.00309,"35":0,"36":0.00309,"37":0.00309,"38":0.00309,"39":0.00309,"40":0.0309,"41":0,"42":0,"43":0.02163,"44":0.00309,"45":0,"46":0.00309,"47":0.00309,"48":0.00309,"49":0.04017,"50":0.00309,"51":0.00618,"52":0.00618,"53":0,"54":0.01854,"55":0.00309,"56":0,"57":0.01236,"58":0.00618,"59":0.00309,"60":0.02472,"61":0.00618,"62":0.02472,"63":0.04326,"64":0.00309,"65":0.00309,"66":0.00309,"67":0.00309,"68":0.00309,"69":0.00927,"70":0.0309,"71":0.01854,"72":0.03708,"73":0.02472,"74":0.01236,"75":0.00927,"76":0.01236,"77":0.01545,"78":0.02163,"79":0.0618,"80":0.10506,"81":0.06798,"83":3.54423,"84":2.61723,"85":0.00618,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00309,"47":0.00309,"48":0,"49":0,"50":0.01236,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.00309,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00309,"68":0.29355,"69":0.20085,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00309},G:{"8":0,"3.2":0.00205,"4.0-4.1":0.00205,"4.2-4.3":0.00205,"5.0-5.1":0.00615,"6.0-6.1":0.00205,"7.0-7.1":0.0082,"8.1-8.4":0.0123,"9.0-9.2":0.0164,"9.3":0.13531,"10.0-10.2":0.03485,"10.3":0.16401,"11.0-11.2":0.12096,"11.3-11.4":0.19066,"12.0-12.1":0.25832,"12.2-12.4":1.57245,"13.0-13.1":0.29317,"13.2":0.14351,"13.3":1.43304,"13.4-13.5":3.46472,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00309,"12":0.00618,"13":0.04944,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.01854,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00927,"11.1":0.02781,"12.1":0.00618,"13.1":0.11742},B:{"12":0.00927,"13":0.00618,"14":0.00618,"15":0.00927,"16":0.01854,"17":0.02472,"18":0.17613,"79":0,"80":0,"81":0.00309,"83":0.07725,"84":0.05253},I:{"3":0,"4":0.02968,_:"81","2.1":0,"2.2":0,"2.3":0.00297,"4.1":0.05046,"4.2-4.3":0.08311,"4.4":0,"4.4.3-4.4.4":0.5254},P:{"4":1.99153,"5.0-5.4":0.30328,"6.2-6.4":0.17186,"7.2-7.4":0.53579,"8.2":0.13142,"9.2":0.53579,"10.1":0.4347,"11.1-11.2":0.82896,"12.0":0.94016},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03224,"9":0.01612,"10":0,"11":0.24827,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":69.54546},S:{"2.5":0},R:{_:"0"},M:{"0":0.12438},Q:{"10.4":0},O:{"0":2.3494},H:{"0":0.9355}}; diff --git a/node_modules/caniuse-lite/data/regions/AG.js b/node_modules/caniuse-lite/data/regions/AG.js new file mode 100644 index 000000000..e7be39f4d --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00392,"28":0,"29":0,"30":0,"31":0.00392,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00392,"39":0,"40":0.00392,"41":0.00392,"42":0.00392,"43":0,"44":0,"45":0.00392,"46":0,"47":0.00392,"48":0.00392,"49":0,"50":0.00392,"51":0,"52":0.00784,"53":0.00392,"54":0,"55":0.00392,"56":0.00392,"57":0.00392,"58":0.00392,"59":0,"60":0.00392,"61":0,"62":0,"63":0.00392,"64":0,"65":0.00392,"66":0,"67":0,"68":0.07844,"69":0,"70":0,"71":0,"72":0.01961,"73":0.00392,"74":0.00392,"75":0.00392,"76":0.01177,"77":0.17257,"78":0.57261,"79":0.02745,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00392,"37":0,"38":0.00392,"39":0,"40":0,"41":0.00392,"42":0,"43":0,"44":0,"45":0,"46":0.00392,"47":0.00392,"48":0.00392,"49":0.02745,"50":0,"51":0,"52":0,"53":0.01961,"54":0,"55":0.00392,"56":0.00392,"57":0,"58":0.00392,"59":0,"60":0.00392,"61":0.00392,"62":0.01177,"63":0.00784,"64":0.00392,"65":0.00392,"66":0.00392,"67":0.05491,"68":0,"69":0.00784,"70":0.02353,"71":0.00392,"72":0,"73":0,"74":0.00784,"75":0.00392,"76":0.04314,"77":0.00392,"78":0.00784,"79":0.02353,"80":0.03922,"81":0.0706,"83":4.80053,"84":3.03563,"85":0.01177,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00392,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.43142,"69":0.09805,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00392},G:{"8":0,"3.2":0.00395,"4.0-4.1":0.00395,"4.2-4.3":0.00395,"5.0-5.1":0.01186,"6.0-6.1":0.00395,"7.0-7.1":0.01582,"8.1-8.4":0.02373,"9.0-9.2":0.03164,"9.3":0.26099,"10.0-10.2":0.06723,"10.3":0.31636,"11.0-11.2":0.23331,"11.3-11.4":0.36776,"12.0-12.1":0.49826,"12.2-12.4":3.03307,"13.0-13.1":0.56549,"13.2":0.27681,"13.3":2.76417,"13.4-13.5":6.68304,_:"14.0"},E:{"4":0,"5":0.00392,"6":0,"7":0,"8":0.00392,"9":0,"10":0,"11":0.00392,"12":0.02353,"13":0.2667,"14":0.00392,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0.00392,"9.1":0.00392,"10.1":0.01177,"11.1":0.09021,"12.1":0.03138,"13.1":1.45898},B:{"12":0.00392,"13":0.01177,"14":0.00784,"15":0.0353,"16":0.01177,"17":0.10589,"18":0.27846,"79":0,"80":0,"81":0.02745,"83":0.553,"84":0.40789},I:{"3":0,"4":0.03872,_:"81","2.1":0,"2.2":0,"2.3":0.00387,"4.1":0.06583,"4.2-4.3":0.10842,"4.4":0,"4.4.3-4.4.4":0.6854},P:{"4":0.41001,"5.0-5.4":0.02103,"6.2-6.4":0.04205,"7.2-7.4":0.14718,"8.2":0.01051,"9.2":0.18923,"10.1":0.14718,"11.1-11.2":1.25105,"12.0":4.89908},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.18041,"5.5":0},J:{"7":0,"10":0.15195},N:{"10":0,"11":0.01216},L:{"0":59.08693},S:{"2.5":0.00608},R:{_:"0"},M:{"0":0.21881},Q:{"10.4":0},O:{"0":0.12764},H:{"0":0.18989}}; diff --git a/node_modules/caniuse-lite/data/regions/AI.js b/node_modules/caniuse-lite/data/regions/AI.js new file mode 100644 index 000000000..f79ab3ce6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AI.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00875,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00438,"53":0.00438,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.02188,"69":0,"70":0,"71":0,"72":0.00438,"73":0.00875,"74":0,"75":0.00438,"76":0.0175,"77":0.20563,"78":0.49875,"79":0.01313,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00438,"37":0,"38":0.03063,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.01313,"50":0,"51":0,"52":0,"53":0.00438,"54":0,"55":0,"56":0,"57":0,"58":0.13125,"59":0,"60":0,"61":0,"62":0.00438,"63":0.0175,"64":0,"65":0.00438,"66":0,"67":0.00875,"68":0,"69":0,"70":0.00438,"71":0,"72":0,"73":0.00875,"74":0,"75":0.01313,"76":0.10938,"77":0.01313,"78":0.00438,"79":0.03063,"80":0.0525,"81":0.175,"83":5.51688,"84":3.89813,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.21875,"69":0.12688,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00367,"4.0-4.1":0.00367,"4.2-4.3":0.00367,"5.0-5.1":0.011,"6.0-6.1":0.00367,"7.0-7.1":0.01466,"8.1-8.4":0.022,"9.0-9.2":0.02933,"9.3":0.24197,"10.0-10.2":0.06233,"10.3":0.2933,"11.0-11.2":0.21631,"11.3-11.4":0.34096,"12.0-12.1":0.46194,"12.2-12.4":2.81199,"13.0-13.1":0.52427,"13.2":0.25663,"13.3":2.56268,"13.4-13.5":6.1959,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00438,"13":0.17938,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.38938,"10.1":0.00875,"11.1":0.03938,"12.1":0.13125,"13.1":1.70188},B:{"12":0.00875,"13":0.00875,"14":0.00875,"15":0.00438,"16":0.00438,"17":0.03938,"18":0.53375,"79":0,"80":0,"81":0.13125,"83":1.23375,"84":0.8575},I:{"3":0,"4":0.04163,_:"81","2.1":0,"2.2":0,"2.3":0.00416,"4.1":0.07077,"4.2-4.3":0.11657,"4.4":0,"4.4.3-4.4.4":0.73687},P:{"4":0.17801,"5.0-5.4":0.01047,"6.2-6.4":0,"7.2-7.4":0.27225,"8.2":0,"9.2":0.16754,"10.1":0.40838,"11.1-11.2":0.58639,"12.0":3.44507},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.2275,"5.5":0},J:{"7":0,"10":0.38813},N:{"10":0,"11":0},L:{"0":57.81688},S:{"2.5":0.00563},R:{_:"0"},M:{"0":0.0675},Q:{"10.4":0.03375},O:{"0":0.03375},H:{"0":1.31005}}; diff --git a/node_modules/caniuse-lite/data/regions/AL.js b/node_modules/caniuse-lite/data/regions/AL.js new file mode 100644 index 000000000..8fbf4c046 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AL.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.04282,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00389,"48":0.00779,"49":0,"50":0,"51":0,"52":0.03504,"53":0,"54":0,"55":0.00389,"56":0,"57":0,"58":0,"59":0,"60":0.00779,"61":0,"62":0.00389,"63":0.00779,"64":0.00389,"65":0.00389,"66":0.02336,"67":0.00779,"68":0.0545,"69":0,"70":0,"71":0,"72":0.00779,"73":0.00389,"74":0,"75":0,"76":0.00779,"77":0.12847,"78":0.51388,"79":0.02725,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00389,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00389,"35":0,"36":0,"37":0,"38":0.01557,"39":0,"40":0,"41":0.00389,"42":0.00389,"43":0.00389,"44":0,"45":0,"46":0.00389,"47":0,"48":0,"49":0.33869,"50":0,"51":0.00389,"52":0,"53":0.03504,"54":0,"55":0.00389,"56":0.00779,"57":0,"58":0.00389,"59":0,"60":0,"61":0.00389,"62":0.01168,"63":0.00779,"64":0,"65":0.00779,"66":0.01557,"67":0.01947,"68":0.00779,"69":0.01557,"70":0.08565,"71":0.10122,"72":0.11679,"73":0.07007,"74":0.02336,"75":0.03504,"76":0.02336,"77":0.04282,"78":0.04672,"79":0.03893,"80":0.06229,"81":0.12847,"83":6.95679,"84":4.32123,"85":0.00779,"86":0.00389,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00389,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00389,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00779,"57":0.00389,"58":0.00389,"60":0.00389,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.16351,"69":0.14404,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.007,"4.0-4.1":0.007,"4.2-4.3":0.007,"5.0-5.1":0.021,"6.0-6.1":0.007,"7.0-7.1":0.028,"8.1-8.4":0.04201,"9.0-9.2":0.05601,"9.3":0.46207,"10.0-10.2":0.11902,"10.3":0.56008,"11.0-11.2":0.41306,"11.3-11.4":0.65109,"12.0-12.1":0.88213,"12.2-12.4":5.36976,"13.0-13.1":1.00114,"13.2":0.49007,"13.3":4.8937,"13.4-13.5":11.83168,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0.00389,"8":0,"9":0,"10":0,"11":0,"12":0.00389,"13":0.04672,"14":0.00389,_:"0","3.1":0,"3.2":0,"5.1":0.01168,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00389,"11.1":0.03114,"12.1":0.02725,"13.1":0.23747},B:{"12":0,"13":0.00389,"14":0.00389,"15":0.00389,"16":0.00389,"17":0.00779,"18":0.09343,"79":0,"80":0,"81":0.00389,"83":0.20633,"84":0.1674},I:{"3":0,"4":0.00632,_:"81","2.1":0,"2.2":0,"2.3":0.00063,"4.1":0.01074,"4.2-4.3":0.0177,"4.4":0,"4.4.3-4.4.4":0.11186},P:{"4":0.34313,"5.0-5.4":0.02018,"6.2-6.4":0.01009,"7.2-7.4":0.09083,"8.2":0.03028,"9.2":0.22203,"10.1":0.23212,"11.1-11.2":0.85783,"12.0":3.91576},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.04672,"9":0.00389,"10":0.00389,"11":0.05061,"5.5":0},J:{"7":0,"10":0.01832},N:{"10":0,"11":0},L:{"0":48.63451},S:{"2.5":0},R:{_:"0"},M:{"0":0.23207},Q:{"10.4":0.03054},O:{"0":0.06718},H:{"0":0.17345}}; diff --git a/node_modules/caniuse-lite/data/regions/AM.js b/node_modules/caniuse-lite/data/regions/AM.js new file mode 100644 index 000000000..3578f9f62 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00838,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.01677,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":28.37646,"53":0,"54":0,"55":0,"56":0.00838,"57":0.00838,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.01677,"65":0,"66":0.00838,"67":0,"68":0.06706,"69":0,"70":0,"71":0,"72":0.01677,"73":0,"74":0.00838,"75":0.00838,"76":0.02515,"77":0.22634,"78":0.84668,"79":0.0503,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00838,"39":0,"40":0.00838,"41":0.00838,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.67902,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00838,"57":0.00838,"58":0.03353,"59":0,"60":0.01677,"61":0,"62":0,"63":0.01677,"64":0.00838,"65":0.00838,"66":0.01677,"67":0.00838,"68":0,"69":0.00838,"70":0.00838,"71":0.0503,"72":0.03353,"73":0.03353,"74":0.04192,"75":0.06706,"76":0.0503,"77":0.08383,"78":0.10898,"79":0.12575,"80":0.28502,"81":0.24311,"83":19.53239,"84":13.05233,"85":0.02515,"86":0.01677,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.55328,"69":0.38562,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00197,"4.0-4.1":0.00197,"4.2-4.3":0.00197,"5.0-5.1":0.00591,"6.0-6.1":0.00197,"7.0-7.1":0.00788,"8.1-8.4":0.01182,"9.0-9.2":0.01576,"9.3":0.13,"10.0-10.2":0.03348,"10.3":0.15757,"11.0-11.2":0.11621,"11.3-11.4":0.18318,"12.0-12.1":0.24817,"12.2-12.4":1.51071,"13.0-13.1":0.28166,"13.2":0.13787,"13.3":1.37677,"13.4-13.5":3.32868,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00838,"12":0.01677,"13":0.12575,"14":0.02515,_:"0","3.1":0,"3.2":0,"5.1":1.42511,"6.1":0,"7.1":0,"9.1":0.00838,"10.1":0.00838,"11.1":0.01677,"12.1":0.06706,"13.1":1.01434},B:{"12":0,"13":0,"14":0,"15":0.00838,"16":0,"17":0.00838,"18":0.25149,"79":0,"80":0,"81":0,"83":0.15928,"84":0.16766},I:{"3":0,"4":0.00228,_:"81","2.1":0,"2.2":0,"2.3":0.00023,"4.1":0.00388,"4.2-4.3":0.0064,"4.4":0,"4.4.3-4.4.4":0.04044},P:{"4":0.03132,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.01044,"8.2":0,"9.2":0.03132,"10.1":0.0522,"11.1-11.2":0.18792,"12.0":0.64729},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00967,"9":0,"10":0,"11":0.11607,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":19.7209},S:{"2.5":0},R:{_:"0"},M:{"0":0.03234},Q:{"10.4":0.02426},O:{"0":0.10672},H:{"0":0.14849}}; diff --git a/node_modules/caniuse-lite/data/regions/AN.js b/node_modules/caniuse-lite/data/regions/AN.js new file mode 100644 index 000000000..9ce90e499 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AN.js @@ -0,0 +1 @@ +module.exports={D:{"11":0.080201,"21":0.051037,"22":0.080201,"24":0.029164,"26":0.131238,"28":0.102074,"31":0.51037,"32":0.306222,"33":2.223755,"34":0.204148,"35":1.407163,"36":28.87236,"38":0.080201,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 23 25 27 29 30 37 39 40"},C:{"10":0.029164,"12":0.051037,"21":0.029164,"26":0.051037,"27":0.029164,"29":0.029164,"30":4.031923,"31":10.827135,"32":0.051037,_:"2 3 4 5 6 7 8 9 11 13 14 15 16 17 18 19 20 22 23 24 25 28 33 34 3.5 3.6"},F:{"21":0.051037,"23":0.051037,"24":0.051037,_:"9 11 12 15 16 17 18 19 20 22 25 9.5-9.6 10.5 10.6 11.1 11.5 11.6","10.0-10.1":0,"12.1":0.539534},E:{"4":0,"5":0.233312,"6":0.102074,"7":6.05153,"8":0.029164,_:"3.1 3.2","5.1":0.765555,"6.1":0.561407},I:{"3":0,"4":0.648893454545,"2.1":0.00612163636364,"2.2":0.0428514545455,"2.3":0.832542545455,"4.1":1.62223363636,"4.2-4.3":1.69569327273,"4.4":1.279422,_:"4.4.3"},K:{"10":0,"11":0,"12":0.0000648307692308,_:"0","11.1":0,"11.5":0,"12.1":0.000356569230769},A:{"8":1.4582,"9":2.47894,"10":1.633184,"11":9.471009,_:"6 7 5.5"},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.0939043474576,"6.0-6.1":0.473354567797,"7.0-7.1":8.93049508475},J:{"7":0.40838175,_:"10"},M:{"0":0.051471},N:{"10":0.09419193},H:{"5.0-7.0":0.0239596},L:{"0":8.88552}}; diff --git a/node_modules/caniuse-lite/data/regions/AO.js b/node_modules/caniuse-lite/data/regions/AO.js new file mode 100644 index 000000000..6d66b85b9 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00588,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00588,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.01763,"42":0.00588,"43":0.01175,"44":0,"45":0.00588,"46":0,"47":0.01175,"48":0.01175,"49":0,"50":0,"51":0,"52":0.08226,"53":0.00588,"54":0.00588,"55":0,"56":0.00588,"57":0.00588,"58":0,"59":0.00588,"60":0.01175,"61":0.01763,"62":0,"63":0,"64":0.01175,"65":0,"66":0.00588,"67":0.00588,"68":0.08226,"69":0,"70":0.00588,"71":0.00588,"72":0.0235,"73":0,"74":0.00588,"75":0.01175,"76":0.0235,"77":0.40544,"78":1.23396,"79":0.07639,"80":0,"81":0,"3.5":0,"3.6":0.01175},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01763,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.01763,"24":0,"25":0.01175,"26":0.0235,"27":0,"28":0,"29":0,"30":0,"31":0.00588,"32":0,"33":0.01763,"34":0.00588,"35":0.00588,"36":0.0235,"37":0,"38":0.01175,"39":0.00588,"40":0.07639,"41":0,"42":0.01763,"43":0.11752,"44":0,"45":0,"46":0.03526,"47":0.01763,"48":0.00588,"49":0.1704,"50":0.00588,"51":0.00588,"52":0,"53":0.0235,"54":0.00588,"55":0.01175,"56":0.00588,"57":0.02938,"58":0.01763,"59":0.01175,"60":0.00588,"61":0,"62":0.01763,"63":0.25267,"64":0.00588,"65":0.05876,"66":0.1234,"67":0.01763,"68":0.01175,"69":0.04113,"70":0.04113,"71":0.05288,"72":0.05288,"73":0.05876,"74":0.06464,"75":0.04113,"76":0.07051,"77":0.07051,"78":0.05876,"79":0.11752,"80":0.47008,"81":0.26442,"83":11.74612,"84":7.50953,"85":0.01175,"86":0.00588,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00588,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00588,"35":0.00588,"36":0.00588,"37":0.00588,"38":0,"39":0,"40":0,"41":0,"42":0.00588,"43":0,"44":0,"45":0,"46":0.00588,"47":0.00588,"48":0.00588,"49":0,"50":0.03526,"51":0,"52":0,"53":0.00588,"54":0,"55":0,"56":0,"57":0.00588,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0.00588,"66":0.00588,"67":0.01175,"68":0.96366,"69":0.80501,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0235},G:{"8":0,"3.2":0.00245,"4.0-4.1":0.00245,"4.2-4.3":0.00245,"5.0-5.1":0.00734,"6.0-6.1":0.00245,"7.0-7.1":0.00979,"8.1-8.4":0.01469,"9.0-9.2":0.01958,"9.3":0.16154,"10.0-10.2":0.04161,"10.3":0.1958,"11.0-11.2":0.14441,"11.3-11.4":0.22762,"12.0-12.1":0.30839,"12.2-12.4":1.87727,"13.0-13.1":0.35,"13.2":0.17133,"13.3":1.71084,"13.4-13.5":4.13636,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00588,"9":0,"10":0.01763,"11":0.02938,"12":0.03526,"13":0.17628,"14":0.00588,_:"0","3.1":0,"3.2":0,"5.1":0.04113,"6.1":0,"7.1":0.00588,"9.1":0.00588,"10.1":0.0235,"11.1":0.05288,"12.1":0.26442,"13.1":1.47488},B:{"12":0.05288,"13":0.02938,"14":0.05876,"15":0.04701,"16":0.02938,"17":0.11752,"18":0.72275,"79":0,"80":0,"81":0.0235,"83":1.08706,"84":0.82264},I:{"3":0,"4":0.04425,_:"81","2.1":0,"2.2":0,"2.3":0.00443,"4.1":0.07523,"4.2-4.3":0.1239,"4.4":0,"4.4.3-4.4.4":0.78325},P:{"4":0.56469,"5.0-5.4":0.0616,"6.2-6.4":0.04107,"7.2-7.4":0.19507,"8.2":0.02053,"9.2":0.16427,"10.1":0.21561,"11.1-11.2":0.56469,"12.0":1.12937},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.07068,"9":0.06283,"10":0.00785,"11":0.6754,"5.5":0},J:{"7":0,"10":0.02887},N:{"10":0,"11":0},L:{"0":47.16966},S:{"2.5":0},R:{_:"0"},M:{"0":0.09073},Q:{"10.4":0.04124},O:{"0":0.46601},H:{"0":2.35041}}; diff --git a/node_modules/caniuse-lite/data/regions/AR.js b/node_modules/caniuse-lite/data/regions/AR.js new file mode 100644 index 000000000..6dab9fd43 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00501,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00501,"49":0,"50":0,"51":0,"52":0.05006,"53":0.00501,"54":0.00501,"55":0,"56":0.00501,"57":0,"58":0,"59":0.00501,"60":0.00501,"61":0,"62":0,"63":0,"64":0.00501,"65":0.00501,"66":0.01001,"67":0,"68":0.06007,"69":0.00501,"70":0.00501,"71":0,"72":0.01001,"73":0.00501,"74":0.00501,"75":0.00501,"76":0.01502,"77":0.20525,"78":0.836,"79":0.05006,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00501,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00501,"35":0,"36":0,"37":0,"38":0.01001,"39":0,"40":0,"41":0,"42":0.00501,"43":0.00501,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.28034,"50":0,"51":0.00501,"52":0,"53":0.00501,"54":0,"55":0.00501,"56":0.03504,"57":0.00501,"58":0.01502,"59":0.00501,"60":0.00501,"61":0.00501,"62":0.00501,"63":0.01502,"64":0.00501,"65":0.02002,"66":0.02503,"67":0.02002,"68":0.00501,"69":0.01001,"70":0.02503,"71":0.03504,"72":0.03004,"73":0.03504,"74":0.02503,"75":0.02503,"76":0.02503,"77":0.03504,"78":0.05006,"79":0.0851,"80":0.16019,"81":0.18522,"83":11.58889,"84":8.00459,"85":0.01001,"86":0.00501,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00501,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00501,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.32038,"69":0.13016,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00141,"4.0-4.1":0.00141,"4.2-4.3":0.00141,"5.0-5.1":0.00422,"6.0-6.1":0.00141,"7.0-7.1":0.00562,"8.1-8.4":0.00844,"9.0-9.2":0.01125,"9.3":0.0928,"10.0-10.2":0.0239,"10.3":0.11249,"11.0-11.2":0.08296,"11.3-11.4":0.13077,"12.0-12.1":0.17717,"12.2-12.4":1.07848,"13.0-13.1":0.20107,"13.2":0.09843,"13.3":0.98287,"13.4-13.5":2.37632,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00501,"12":0.01502,"13":0.06007,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.17521,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01502,"11.1":0.03504,"12.1":0.05006,"13.1":0.51562},B:{"12":0,"13":0.00501,"14":0.00501,"15":0.02002,"16":0.00501,"17":0.01502,"18":0.10513,"79":0,"80":0,"81":0.00501,"83":0.3354,"84":0.26031},I:{"3":0,"4":0.0058,_:"81","2.1":0,"2.2":0,"2.3":0.00058,"4.1":0.00985,"4.2-4.3":0.01623,"4.4":0,"4.4.3-4.4.4":0.10259},P:{"4":0.23411,"5.0-5.4":0.01018,"6.2-6.4":0.01018,"7.2-7.4":0.11196,"8.2":0.02036,"9.2":0.09161,"10.1":0.10179,"11.1-11.2":0.4275,"12.0":1.65911},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0255,"9":0.0051,"10":0,"11":0.23972,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0.00999},L:{"0":65.15886},S:{"2.5":0},R:{_:"0"},M:{"0":0.08989},Q:{"10.4":0.00999},O:{"0":0.04495},H:{"0":0.14657}}; diff --git a/node_modules/caniuse-lite/data/regions/AS.js b/node_modules/caniuse-lite/data/regions/AS.js new file mode 100644 index 000000000..f625c34a7 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AS.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.0116,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0116,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.0058,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.0058,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.01741,"69":0,"70":0,"71":0,"72":0.0058,"73":0.0058,"74":0.0058,"75":0.0116,"76":0.0058,"77":0.20887,"78":0.40614,"79":0.04642,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.66723,"50":0,"51":0,"52":0,"53":0.0058,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0.0116,"62":0,"63":0.04642,"64":0,"65":0.01741,"66":0.0058,"67":0.0116,"68":0,"69":0.01741,"70":0,"71":0.02901,"72":0.02321,"73":0,"74":0.0058,"75":0.12184,"76":0.12184,"77":0.0116,"78":0.0058,"79":0.34232,"80":0.05222,"81":0.49897,"83":15.6538,"84":6.91598,"85":0.02901,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.04642,"69":0.03481,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00618,"4.0-4.1":0.00618,"4.2-4.3":0.00618,"5.0-5.1":0.01853,"6.0-6.1":0.00618,"7.0-7.1":0.02471,"8.1-8.4":0.03707,"9.0-9.2":0.04942,"9.3":0.40773,"10.0-10.2":0.10502,"10.3":0.49422,"11.0-11.2":0.36449,"11.3-11.4":0.57453,"12.0-12.1":0.7784,"12.2-12.4":4.73834,"13.0-13.1":0.88342,"13.2":0.43244,"13.3":4.31825,"13.4-13.5":10.44041,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.0058,"11":0,"12":0.0116,"13":0.06962,"14":0.0058,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.05802,"10.1":0.03481,"11.1":0.30751,"12.1":0.21467,"13.1":1.29385},B:{"12":0.0058,"13":0.0058,"14":0,"15":0.0058,"16":0.04061,"17":0.08123,"18":2.11773,"79":0,"80":0,"81":0.0116,"83":0.76006,"84":0.66723},I:{"3":0,"4":0.03615,_:"81","2.1":0,"2.2":0,"2.3":0.00361,"4.1":0.06145,"4.2-4.3":0.10122,"4.4":0,"4.4.3-4.4.4":0.63984},P:{"4":0.01052,"5.0-5.4":0,"6.2-6.4":0.02104,"7.2-7.4":0.06311,"8.2":0,"9.2":0.1788,"10.1":0.03155,"11.1-11.2":0.07362,"12.0":0.5995},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.16826,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":37.44455},S:{"2.5":0},R:{_:"0"},M:{"0":0.05038},Q:{"10.4":0.25608},O:{"0":0.09655},H:{"0":2.22169}}; diff --git a/node_modules/caniuse-lite/data/regions/AT.js b/node_modules/caniuse-lite/data/regions/AT.js new file mode 100644 index 000000000..c8e976f05 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00543,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00543,"27":0.02172,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00543,"44":0,"45":0.00543,"46":0,"47":0.00543,"48":0.01629,"49":0,"50":0.00543,"51":0.00543,"52":0.08688,"53":0,"54":0,"55":0,"56":0.01086,"57":0.00543,"58":0.00543,"59":0.00543,"60":0.04344,"61":0.01086,"62":0.01086,"63":0.00543,"64":0.00543,"65":0.01086,"66":0.03258,"67":0.00543,"68":0.543,"69":0.01086,"70":0.01629,"71":0.00543,"72":0.03801,"73":0.01086,"74":0.05973,"75":0.03258,"76":0.07602,"77":1.00455,"78":3.59466,"79":0.15747,"80":0.00543,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00543,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00543,"35":0,"36":0,"37":0,"38":0.01629,"39":0,"40":0.01629,"41":0.00543,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00543,"48":0,"49":0.2172,"50":0,"51":0,"52":0,"53":0.0543,"54":0,"55":0,"56":0.00543,"57":0.00543,"58":0.00543,"59":0.00543,"60":0.00543,"61":0.03258,"62":0.00543,"63":0.06516,"64":0.08145,"65":0.01086,"66":0.00543,"67":0.02172,"68":0.00543,"69":0.02172,"70":0.13032,"71":0.05973,"72":0.12489,"73":0.02172,"74":0.01629,"75":0.03258,"76":0.02715,"77":0.03258,"78":0.0543,"79":0.2172,"80":0.20091,"81":0.20091,"83":7.70517,"84":4.48518,"85":0.01086,"86":0.01086,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00543,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.02715,"47":0,"48":0,"49":0,"50":0.01629,"51":0,"52":0,"53":0.00543,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0.00543,"67":0.00543,"68":0.60273,"69":0.30408,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0051,"4.0-4.1":0.0051,"4.2-4.3":0.0051,"5.0-5.1":0.0153,"6.0-6.1":0.0051,"7.0-7.1":0.0204,"8.1-8.4":0.0306,"9.0-9.2":0.0408,"9.3":0.33659,"10.0-10.2":0.0867,"10.3":0.40798,"11.0-11.2":0.30089,"11.3-11.4":0.47428,"12.0-12.1":0.64258,"12.2-12.4":3.91155,"13.0-13.1":0.72927,"13.2":0.35699,"13.3":3.56477,"13.4-13.5":8.61868,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.01086,"9":0.00543,"10":0.00543,"11":0.01086,"12":0.04887,"13":0.35838,"14":0.01086,_:"0","3.1":0,"3.2":0,"5.1":0.02715,"6.1":0.01086,"7.1":0,"9.1":0.01629,"10.1":0.04344,"11.1":0.12489,"12.1":0.17376,"13.1":2.57925},B:{"12":0,"13":0.00543,"14":0.00543,"15":0.01629,"16":0.02172,"17":0.07059,"18":0.71133,"79":0,"80":0.00543,"81":0.03258,"83":1.08057,"84":0.79278},I:{"3":0,"4":0.01317,_:"81","2.1":0,"2.2":0,"2.3":0.00132,"4.1":0.02239,"4.2-4.3":0.03688,"4.4":0,"4.4.3-4.4.4":0.23312},P:{"4":0.31305,"5.0-5.4":0.01043,"6.2-6.4":0.01043,"7.2-7.4":0.04174,"8.2":0.02087,"9.2":0.14609,"10.1":0.13565,"11.1-11.2":0.79305,"12.0":4.1635},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00563,"9":0.01126,"10":0,"11":1.36233,"5.5":0},J:{"7":0,"10":0.00914},N:{"10":0,"11":0},L:{"0":41.08125},S:{"2.5":0},R:{_:"0"},M:{"0":0.51641},Q:{"10.4":0.00457},O:{"0":0.08683},H:{"0":0.22498}}; diff --git a/node_modules/caniuse-lite/data/regions/AU.js b/node_modules/caniuse-lite/data/regions/AU.js new file mode 100644 index 000000000..99308a4c9 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AU.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00568,"27":0.02271,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00568,"46":0,"47":0,"48":0.01136,"49":0,"50":0.00568,"51":0,"52":0.02839,"53":0,"54":0.00568,"55":0,"56":0.00568,"57":0.00568,"58":0,"59":0,"60":0.00568,"61":0,"62":0,"63":0.00568,"64":0.01136,"65":0.01136,"66":0.01703,"67":0.00568,"68":0.18737,"69":0.00568,"70":0.00568,"71":0.00568,"72":0.01703,"73":0.00568,"74":0.01136,"75":0.01136,"76":0.03975,"77":0.40314,"78":1.19238,"79":0.05678,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00568,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00568,"35":0,"36":0,"37":0,"38":0.02839,"39":0,"40":0.01136,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00568,"48":0.00568,"49":0.19873,"50":0,"51":0,"52":0.00568,"53":0.03407,"54":0.00568,"55":0.01136,"56":0.01136,"57":0.01703,"58":0.01136,"59":0.01136,"60":0.01136,"61":0.01703,"62":0.00568,"63":0.01703,"64":0.01703,"65":0.04542,"66":0.01703,"67":0.03407,"68":0.03407,"69":0.04542,"70":0.08517,"71":0.09653,"72":0.09085,"73":0.12492,"74":0.09653,"75":0.08517,"76":0.07949,"77":0.07949,"78":0.12492,"79":0.15898,"80":0.39178,"81":0.45992,"83":10.54405,"84":5.74046,"85":0.01703,"86":0.00568,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.02271,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00568,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00568,"57":0.00568,"58":0.00568,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.12492,"69":0.06246,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00907,"4.0-4.1":0.00907,"4.2-4.3":0.00907,"5.0-5.1":0.02722,"6.0-6.1":0.00907,"7.0-7.1":0.0363,"8.1-8.4":0.05445,"9.0-9.2":0.0726,"9.3":0.59892,"10.0-10.2":0.15427,"10.3":0.72597,"11.0-11.2":0.5354,"11.3-11.4":0.84393,"12.0-12.1":1.1434,"12.2-12.4":6.96019,"13.0-13.1":1.29766,"13.2":0.63522,"13.3":6.34312,"13.4-13.5":15.33601,_:"14.0"},E:{"4":0,"5":0.00568,"6":0,"7":0,"8":0.01136,"9":0.00568,"10":0.01136,"11":0.02271,"12":0.05678,"13":0.48831,"14":0.01703,_:"0","3.1":0,"3.2":0,"5.1":0.00568,"6.1":0.00568,"7.1":0,"9.1":0.02271,"10.1":0.07381,"11.1":0.13059,"12.1":0.2328,"13.1":3.92918},B:{"12":0.00568,"13":0.00568,"14":0.00568,"15":0.01136,"16":0.02271,"17":0.0511,"18":0.8006,"79":0,"80":0.00568,"81":0.04542,"83":0.71543,"84":0.72111},I:{"3":0,"4":0.01417,_:"81","2.1":0,"2.2":0,"2.3":0.00142,"4.1":0.0241,"4.2-4.3":0.03969,"4.4":0,"4.4.3-4.4.4":0.25088},P:{"4":0.18252,"5.0-5.4":0.01074,"6.2-6.4":0.02147,"7.2-7.4":0.02147,"8.2":0.01074,"9.2":0.09663,"10.1":0.09663,"11.1-11.2":0.51536,"12.0":2.43721},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0183,"9":0.00915,"10":0.00915,"11":1.07061,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":27.2672},S:{"2.5":0},R:{_:"0"},M:{"0":0.31551},Q:{"10.4":0.11237},O:{"0":0.19881},H:{"0":0.23732}}; diff --git a/node_modules/caniuse-lite/data/regions/AW.js b/node_modules/caniuse-lite/data/regions/AW.js new file mode 100644 index 000000000..557c74e09 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AW.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00371,"27":0.03338,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00371,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.07047,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0.00371,"76":0.00371,"77":0.11127,"78":0.45621,"79":0.02225,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00742,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00742,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.05193,"50":0,"51":0,"52":0,"53":0.01855,"54":0.02225,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00371,"61":0,"62":0,"63":0.00371,"64":0,"65":0.00371,"66":0.00371,"67":0.01113,"68":0.01113,"69":0.00742,"70":0.02225,"71":0.00371,"72":0.00371,"73":0.00371,"74":0.00371,"75":0.00742,"76":0.02225,"77":0.01113,"78":0.02225,"79":0.01113,"80":0.0408,"81":0.1224,"83":4.58062,"84":2.73353,"85":0.00742,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.08531,"69":0.02225,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00561,"4.0-4.1":0.00561,"4.2-4.3":0.00561,"5.0-5.1":0.01682,"6.0-6.1":0.00561,"7.0-7.1":0.02242,"8.1-8.4":0.03363,"9.0-9.2":0.04485,"9.3":0.36997,"10.0-10.2":0.0953,"10.3":0.44845,"11.0-11.2":0.33073,"11.3-11.4":0.52133,"12.0-12.1":0.70631,"12.2-12.4":4.29954,"13.0-13.1":0.80161,"13.2":0.3924,"13.3":3.91836,"13.4-13.5":9.47357,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.01113,"11":0.00371,"12":0.01113,"13":0.10385,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00742,"10.1":0.02596,"11.1":0.07418,"12.1":0.10385,"13.1":1.16092},B:{"12":0,"13":0.00742,"14":0.01484,"15":0.00742,"16":0.03709,"17":0.02596,"18":0.56006,"79":0,"80":0,"81":0.01113,"83":0.70471,"84":0.5341},I:{"3":0,"4":0.00936,_:"81","2.1":0,"2.2":0,"2.3":0.00094,"4.1":0.01591,"4.2-4.3":0.0262,"4.4":0,"4.4.3-4.4.4":0.16563},P:{"4":0.16725,"5.0-5.4":0.01045,"6.2-6.4":0.03136,"7.2-7.4":0.12544,"8.2":0.04181,"9.2":0.5122,"10.1":0.26133,"11.1-11.2":1.88156,"12.0":8.6447},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00371,"9":0,"10":0,"11":0.83453,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":48.53077},S:{"2.5":0},R:{_:"0"},M:{"0":0.20131},Q:{"10.4":0},O:{"0":0.02516},H:{"0":0.04765}}; diff --git a/node_modules/caniuse-lite/data/regions/AX.js b/node_modules/caniuse-lite/data/regions/AX.js new file mode 100644 index 000000000..24db0fd9d --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AX.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.29944,"69":0,"70":0,"71":0,"72":0,"73":0.22064,"74":0.22064,"75":0.16548,"76":0.18912,"77":0.18912,"78":2.37188,"79":0,"80":0.02364,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.18912,"47":0,"48":0,"49":0.02364,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.02364,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0.02364,"75":0,"76":0.02364,"77":0,"78":0.0788,"79":0.46492,"80":2.23792,"81":0.52008,"83":30.71624,"84":14.48344,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.57524,"69":0.02364,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00471,"4.0-4.1":0.00471,"4.2-4.3":0.00471,"5.0-5.1":0.01414,"6.0-6.1":0.00471,"7.0-7.1":0.01886,"8.1-8.4":0.02829,"9.0-9.2":0.03772,"9.3":0.31119,"10.0-10.2":0.08015,"10.3":0.3772,"11.0-11.2":0.27818,"11.3-11.4":0.43849,"12.0-12.1":0.59409,"12.2-12.4":3.61639,"13.0-13.1":0.67424,"13.2":0.33005,"13.3":3.29577,"13.4-13.5":7.96832,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.16548,"10":0,"11":0,"12":0,"13":0.29944,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0.16548,"12.1":0.2758,"13.1":1.82816},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":1.52872,"79":0,"80":0,"81":0,"83":1.773,"84":0.22064},I:{"3":0,"4":0.00802,_:"81","2.1":0,"2.2":0,"2.3":0.0008,"4.1":0.01364,"4.2-4.3":0.02246,"4.4":0,"4.4.3-4.4.4":0.142},P:{"4":0.07257,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.0311,"10.1":0,"11.1-11.2":0.43539,"12.0":0.68419},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0788,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":18.11724},S:{"2.5":0},R:{_:"0"},M:{"0":0.43248},Q:{"10.4":0},O:{"0":0.07208},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/AZ.js b/node_modules/caniuse-lite/data/regions/AZ.js new file mode 100644 index 000000000..a4b54f0a7 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/AZ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00455,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.05002,"49":0,"50":0,"51":0,"52":0.00455,"53":0,"54":0,"55":0,"56":0,"57":0.00455,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00455,"64":0.00455,"65":0.00455,"66":0.00455,"67":0,"68":0.06821,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0.00455,"75":0,"76":0.00455,"77":0.08639,"78":0.27737,"79":0.01364,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.01364,"23":0,"24":0,"25":0,"26":0.00455,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00455,"35":0,"36":0,"37":0,"38":0.00909,"39":0.00909,"40":0.00455,"41":0.00455,"42":0.00455,"43":0.00455,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.17279,"50":0,"51":0,"52":0,"53":0.03183,"54":0.00455,"55":0,"56":0.00455,"57":0.00455,"58":0.00909,"59":0,"60":0.00909,"61":0.00455,"62":0.00455,"63":0.05002,"64":0.00909,"65":0.00909,"66":0.00455,"67":0.00455,"68":0.00455,"69":0.02274,"70":0.05456,"71":0.05456,"72":0.03638,"73":0.02728,"74":0.04092,"75":0.03183,"76":0.04547,"77":0.06821,"78":0.03638,"79":0.05002,"80":0.16824,"81":0.20462,"83":8.90303,"84":5.32454,"85":0.00455,"86":0.00909,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00455,"37":0,"38":0,"39":0,"40":0.00455,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01364,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.01364,"57":0.00455,"58":0,"60":0.00455,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00455,"68":0.90485,"69":0.52291,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00455},G:{"8":0,"3.2":0.00248,"4.0-4.1":0.00248,"4.2-4.3":0.00248,"5.0-5.1":0.00743,"6.0-6.1":0.00248,"7.0-7.1":0.0099,"8.1-8.4":0.01486,"9.0-9.2":0.01981,"9.3":0.16342,"10.0-10.2":0.04209,"10.3":0.19808,"11.0-11.2":0.14608,"11.3-11.4":0.23027,"12.0-12.1":0.31198,"12.2-12.4":1.8991,"13.0-13.1":0.35407,"13.2":0.17332,"13.3":1.73073,"13.4-13.5":4.18445,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00909,"13":0.11822,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.49108,"6.1":0,"7.1":0,"9.1":0.02728,"10.1":0.00455,"11.1":0.00909,"12.1":0.05456,"13.1":0.38195},B:{"12":0,"13":0,"14":0.00455,"15":0.00455,"16":0.00455,"17":0.00455,"18":0.13641,"79":0,"80":0,"81":0,"83":0.08185,"84":0.06366},I:{"3":0,"4":0.00882,_:"81","2.1":0,"2.2":0,"2.3":0.00088,"4.1":0.01499,"4.2-4.3":0.02469,"4.4":0,"4.4.3-4.4.4":0.15607},P:{"4":0.57659,"5.0-5.4":0.02023,"6.2-6.4":0.05058,"7.2-7.4":0.09104,"8.2":0.05058,"9.2":0.27312,"10.1":0.28324,"11.1-11.2":1.33526,"12.0":3.53034},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03598,"9":0.02056,"10":0,"11":0.06168,"5.5":0},J:{"7":0,"10":0.00545},N:{"10":0,"11":0},L:{"0":58.68027},S:{"2.5":0.00545},R:{_:"0"},M:{"0":0.12542},Q:{"10.4":0},O:{"0":0.2781},H:{"0":0.94475}}; diff --git a/node_modules/caniuse-lite/data/regions/BA.js b/node_modules/caniuse-lite/data/regions/BA.js new file mode 100644 index 000000000..306872d60 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0.00273,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00273,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.02186,"46":0,"47":0.00273,"48":0,"49":0,"50":0.00547,"51":0.00273,"52":0.04919,"53":0,"54":0,"55":0,"56":0,"57":0.00273,"58":0,"59":0,"60":0.00273,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.00273,"67":0,"68":0.05739,"69":0,"70":0.00273,"71":0,"72":0.00273,"73":0.00273,"74":0.00547,"75":0.00273,"76":0.00547,"77":0.12572,"78":0.50561,"79":0.02186,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00273,"35":0,"36":0,"37":0.0082,"38":0.00273,"39":0,"40":0,"41":0,"42":0,"43":0.00273,"44":0,"45":0,"46":0,"47":0.00273,"48":0,"49":0.05466,"50":0.00273,"51":0,"52":0,"53":0.00273,"54":0,"55":0,"56":0,"57":0,"58":0.00273,"59":0,"60":0,"61":0,"62":0.00273,"63":0.00547,"64":0.00273,"65":0.00273,"66":0.00273,"67":0.0082,"68":0.00273,"69":0.0082,"70":0.00547,"71":0.0082,"72":0.0082,"73":0.00547,"74":0.00547,"75":0.00273,"76":0.0082,"77":0.00547,"78":0.01367,"79":0.01913,"80":0.36896,"81":0.05193,"83":3.0309,"84":1.68899,"85":0.00273,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00273,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00273,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.0082,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.10932,"69":0.06013,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00209,"4.0-4.1":0.00209,"4.2-4.3":0.00209,"5.0-5.1":0.00627,"6.0-6.1":0.00209,"7.0-7.1":0.00836,"8.1-8.4":0.01254,"9.0-9.2":0.01672,"9.3":0.13791,"10.0-10.2":0.03552,"10.3":0.16716,"11.0-11.2":0.12328,"11.3-11.4":0.19433,"12.0-12.1":0.26328,"12.2-12.4":1.60269,"13.0-13.1":0.29881,"13.2":0.14627,"13.3":1.4606,"13.4-13.5":3.53135,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00273,"13":0.0164,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00273,"6.1":0,"7.1":0,"9.1":0,"10.1":0.0082,"11.1":0.00547,"12.1":0.0082,"13.1":0.13938},B:{"12":0.00273,"13":0.00273,"14":0.00547,"15":0.01913,"16":0.00547,"17":0.01093,"18":0.12299,"79":0,"80":0,"81":0.00273,"83":0.10385,"84":0.06833},I:{"3":0,"4":0.01249,_:"81","2.1":0,"2.2":0,"2.3":0.00125,"4.1":0.02124,"4.2-4.3":0.03498,"4.4":0,"4.4.3-4.4.4":0.2211},P:{"4":0.11191,"5.0-5.4":0,"6.2-6.4":0.01017,"7.2-7.4":0.0407,"8.2":0.03052,"9.2":0.16278,"10.1":0.18313,"11.1-11.2":0.6613,"12.0":3.83552},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.17218,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":77.31821},S:{"2.5":0},R:{_:"0"},M:{"0":0.15261},Q:{"10.4":0},O:{"0":0.01453},H:{"0":0.22016}}; diff --git a/node_modules/caniuse-lite/data/regions/BB.js b/node_modules/caniuse-lite/data/regions/BB.js new file mode 100644 index 000000000..5a7ea6fe6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BB.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.02824,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.01129,"68":0.11294,"69":0.00565,"70":0,"71":0,"72":0.00565,"73":0,"74":0,"75":0,"76":0.01129,"77":0.41788,"78":1.23669,"79":0.05647,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00565,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00565,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00565,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.09035,"50":0.00565,"51":0,"52":0,"53":0.00565,"54":0,"55":0.00565,"56":0,"57":0.00565,"58":0.00565,"59":0,"60":0,"61":0,"62":0.00565,"63":0.01129,"64":0,"65":0.04518,"66":0.01129,"67":0.00565,"68":0,"69":0,"70":0.01694,"71":0.02259,"72":0.00565,"73":0.00565,"74":0.01129,"75":0.01694,"76":0.03953,"77":0.00565,"78":0.03388,"79":0.07906,"80":0.06212,"81":0.14682,"83":10.75754,"84":7.17169,"85":0.00565,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.54776,"69":0.23717,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00346,"4.0-4.1":0.00346,"4.2-4.3":0.00346,"5.0-5.1":0.01038,"6.0-6.1":0.00346,"7.0-7.1":0.01384,"8.1-8.4":0.02076,"9.0-9.2":0.02768,"9.3":0.22836,"10.0-10.2":0.05882,"10.3":0.2768,"11.0-11.2":0.20414,"11.3-11.4":0.32178,"12.0-12.1":0.43596,"12.2-12.4":2.65383,"13.0-13.1":0.49478,"13.2":0.2422,"13.3":2.41855,"13.4-13.5":5.84743,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00565,"10":0,"11":0.00565,"12":0.02259,"13":0.41223,"14":0.00565,_:"0","3.1":0,"3.2":0,"5.1":0.02259,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01694,"11.1":0.02824,"12.1":0.05082,"13.1":1.99904},B:{"12":0.02259,"13":0.01129,"14":0.02259,"15":0.02259,"16":0.02259,"17":0.07341,"18":0.63246,"79":0,"80":0,"81":0.04518,"83":1.73363,"84":1.17458},I:{"3":0,"4":0.08332,_:"81","2.1":0,"2.2":0,"2.3":0.00833,"4.1":0.14165,"4.2-4.3":0.2333,"4.4":0,"4.4.3-4.4.4":1.47479},P:{"4":0.28618,"5.0-5.4":0,"6.2-6.4":0.01101,"7.2-7.4":0.3082,"8.2":0.01101,"9.2":0.07705,"10.1":0.08806,"11.1-11.2":0.9356,"12.0":4.8211},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.55905,"5.5":0},J:{"7":0,"10":0.00435},N:{"10":0,"11":0},L:{"0":45.22316},S:{"2.5":0},R:{_:"0"},M:{"0":0.18283},Q:{"10.4":0},O:{"0":0.09577},H:{"0":0.07418}}; diff --git a/node_modules/caniuse-lite/data/regions/BD.js b/node_modules/caniuse-lite/data/regions/BD.js new file mode 100644 index 000000000..2e7f4fa5e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BD.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00463,"27":0.00463,"28":0,"29":0,"30":0.00463,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00463,"39":0,"40":0.00926,"41":0.00463,"42":0,"43":0.01389,"44":0.00463,"45":0.00463,"46":0.00463,"47":0.01852,"48":0.01389,"49":0.00463,"50":0.00463,"51":0.00463,"52":0.06944,"53":0.00463,"54":0,"55":0,"56":0.00926,"57":0.00463,"58":0.00463,"59":0.00463,"60":0.00463,"61":0,"62":0.00463,"63":0.00926,"64":0.00926,"65":0.00463,"66":0.00463,"67":0.00463,"68":0.12498,"69":0.00463,"70":0.00463,"71":0.00463,"72":0.02315,"73":0.00463,"74":0.00926,"75":0.00926,"76":0.02315,"77":0.37495,"78":2.30524,"79":0.34255,"80":0.00926,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00463,"30":0,"31":0.00463,"32":0,"33":0.00463,"34":0,"35":0,"36":0.00463,"37":0,"38":0,"39":0,"40":0.00463,"41":0.00463,"42":0,"43":0.00463,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.06481,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00463,"57":0,"58":0.00463,"59":0,"60":0.00463,"61":0.04629,"62":0.00463,"63":0.02315,"64":0.00463,"65":0.00463,"66":0,"67":0.00463,"68":0.00463,"69":0.01389,"70":0.0324,"71":0.05555,"72":0.04166,"73":0.0324,"74":0.04629,"75":0.01852,"76":0.02315,"77":0.02777,"78":0.02777,"79":0.05092,"80":0.12035,"81":0.1435,"83":7.90633,"84":5.62424,"85":0.04166,"86":0.01389,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.01389,"29":0,"30":0.00463,"31":0,"32":0.00463,"33":0,"34":0,"35":0,"36":0,"37":0.03703,"38":0.00463,"39":0,"40":0,"41":0,"42":0.00463,"43":0,"44":0,"45":0.00926,"46":0.02777,"47":0.0324,"48":0,"49":0,"50":0.64343,"51":0.00926,"52":0,"53":0.00463,"54":0.00463,"55":0.01852,"56":0.00463,"57":0.00926,"58":0.00463,"60":0.01389,"62":0,"63":0,"64":0.00926,"65":0.00463,"66":0.00463,"67":0.03703,"68":0.4629,"69":0.06018,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00926},G:{"8":0,"3.2":0.00046,"4.0-4.1":0.00046,"4.2-4.3":0.00046,"5.0-5.1":0.00139,"6.0-6.1":0.00046,"7.0-7.1":0.00185,"8.1-8.4":0.00277,"9.0-9.2":0.00369,"9.3":0.03048,"10.0-10.2":0.00785,"10.3":0.03694,"11.0-11.2":0.02725,"11.3-11.4":0.04295,"12.0-12.1":0.05819,"12.2-12.4":0.3542,"13.0-13.1":0.06604,"13.2":0.03233,"13.3":0.3228,"13.4-13.5":0.78044,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.01389,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0.00463,"12.1":0.01389,"13.1":0.07406},B:{"12":0.01852,"13":0.00926,"14":0.01389,"15":0.00926,"16":0.01852,"17":0.02777,"18":0.11573,"79":0,"80":0,"81":0.00463,"83":0.30089,"84":0.25922},I:{"3":0,"4":0.02288,_:"81","2.1":0,"2.2":0,"2.3":0.00229,"4.1":0.0389,"4.2-4.3":0.06407,"4.4":0,"4.4.3-4.4.4":0.40501},P:{"4":0.42371,"5.0-5.4":0.02018,"6.2-6.4":0.03027,"7.2-7.4":0.0908,"8.2":0.03027,"9.2":0.13115,"10.1":0.11097,"11.1-11.2":0.32283,"12.0":0.74654},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03804,"9":0.00543,"10":0.01087,"11":0.07064,"5.5":0},J:{"7":0,"10":0.00537},N:{"10":0,"11":0},L:{"0":60.96519},S:{"2.5":0},R:{_:"0"},M:{"0":0.23095},Q:{"10.4":0.00537},O:{"0":4.82853},H:{"0":4.16455}}; diff --git a/node_modules/caniuse-lite/data/regions/BE.js b/node_modules/caniuse-lite/data/regions/BE.js new file mode 100644 index 000000000..94ede1d02 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01738,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01738,"49":0,"50":0,"51":0,"52":0.05213,"53":0,"54":0,"55":0.00579,"56":0.03475,"57":0,"58":0,"59":0,"60":0.01738,"61":0,"62":0,"63":0.00579,"64":0.00579,"65":0.01158,"66":0.01158,"67":0.00579,"68":0.24906,"69":0.00579,"70":0.00579,"71":0.00579,"72":0.02317,"73":0.00579,"74":0.02317,"75":0.01158,"76":0.04054,"77":0.67766,"78":2.11408,"79":0.09267,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00579,"39":0,"40":0.00579,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.19114,"50":0,"51":0,"52":0,"53":0.01738,"54":0,"55":0,"56":0.00579,"57":0.01158,"58":0.00579,"59":0,"60":0.00579,"61":0.01738,"62":0.00579,"63":0.01158,"64":0.00579,"65":0.01738,"66":0.02896,"67":0.01738,"68":0.00579,"69":0.02317,"70":0.05792,"71":0.05213,"72":0.05213,"73":0.04054,"74":0.03475,"75":0.04634,"76":0.02896,"77":0.02896,"78":0.05792,"79":0.08109,"80":0.20272,"81":0.19114,"83":11.4392,"84":5.91363,"85":0.00579,"86":0.01158,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00579,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00579,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00579,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.33014,"69":0.16218,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01158},G:{"8":0,"3.2":0.00586,"4.0-4.1":0.00586,"4.2-4.3":0.00586,"5.0-5.1":0.01759,"6.0-6.1":0.00586,"7.0-7.1":0.02345,"8.1-8.4":0.03517,"9.0-9.2":0.0469,"9.3":0.3869,"10.0-10.2":0.09966,"10.3":0.46897,"11.0-11.2":0.34586,"11.3-11.4":0.54517,"12.0-12.1":0.73862,"12.2-12.4":4.49621,"13.0-13.1":0.83828,"13.2":0.41035,"13.3":4.09759,"13.4-13.5":9.90691,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.01158,"10":0.00579,"11":0.03475,"12":0.04634,"13":0.41123,"14":0.01158,_:"0","3.1":0,"3.2":0,"5.1":0.00579,"6.1":0.00579,"7.1":0,"9.1":0.01158,"10.1":0.0695,"11.1":0.13322,"12.1":0.2143,"13.1":3.30144},B:{"12":0,"13":0,"14":0.00579,"15":0.01158,"16":0.05213,"17":0.05792,"18":0.66608,"79":0,"80":0,"81":0.02317,"83":1.50013,"84":1.03677},I:{"3":0,"4":0.01053,_:"81","2.1":0,"2.2":0,"2.3":0.00105,"4.1":0.0179,"4.2-4.3":0.02948,"4.4":0,"4.4.3-4.4.4":0.18634},P:{"4":0.09513,"5.0-5.4":0.01057,"6.2-6.4":0,"7.2-7.4":0.03171,"8.2":0.01057,"9.2":0.08456,"10.1":0.08456,"11.1-11.2":0.65533,"12.0":4.37594},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00597,"9":0.01194,"10":0,"11":1.34321,"5.5":0},J:{"7":0,"10":0.00421},N:{"10":0,"11":0},L:{"0":35.58173},S:{"2.5":0},R:{_:"0"},M:{"0":0.27773},Q:{"10.4":0.01262},O:{"0":0.0547},H:{"0":0.13944}}; diff --git a/node_modules/caniuse-lite/data/regions/BF.js b/node_modules/caniuse-lite/data/regions/BF.js new file mode 100644 index 000000000..55f7efc59 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BF.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00347,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00347,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00347,"30":0.00347,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00347,"39":0.00347,"40":0,"41":0.00347,"42":0,"43":0.0104,"44":0,"45":0,"46":0,"47":0.01734,"48":0.0104,"49":0.00347,"50":0.00347,"51":0,"52":0.0208,"53":0,"54":0.00347,"55":0,"56":0.00347,"57":0.00693,"58":0,"59":0,"60":0.00347,"61":0.00347,"62":0,"63":0,"64":0.01387,"65":0.00693,"66":0.00347,"67":0.00347,"68":0.11441,"69":0.00347,"70":0.00347,"71":0,"72":0.03467,"73":0.00693,"74":0.00693,"75":0.01387,"76":0.03467,"77":0.59979,"78":1.80631,"79":0.06241,"80":0.00347,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00693,"29":0.02427,"30":0,"31":0,"32":0.00347,"33":0,"34":0,"35":0,"36":0,"37":0.00347,"38":0,"39":0,"40":0.00347,"41":0,"42":0,"43":0.00347,"44":0,"45":0,"46":0.00347,"47":0,"48":0.00347,"49":0.07974,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.00347,"56":0,"57":0,"58":0.0104,"59":0,"60":0,"61":0,"62":0.00347,"63":0.0104,"64":0.0104,"65":0.02427,"66":0.00347,"67":0.05547,"68":0.00347,"69":0.00347,"70":0.03814,"71":0.00347,"72":0.00347,"73":0.0208,"74":0.03467,"75":0.01734,"76":0.02774,"77":0.03467,"78":0.01734,"79":0.05547,"80":0.11094,"81":0.10748,"83":2.94348,"84":1.73697,"85":0.00347,"86":0.00693,"87":0},F:{"9":0,"11":0,"12":0,"15":0.00347,"16":0,"17":0,"18":0,"19":0,"20":0.00347,"21":0,"22":0,"23":0.00347,"24":0,"25":0,"26":0,"27":0,"28":0.00693,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.00347,"43":0,"44":0,"45":0,"46":0.00347,"47":0.00693,"48":0,"49":0,"50":0.06934,"51":0,"52":0,"53":0.0104,"54":0.00347,"55":0,"56":0.00347,"57":0,"58":0.00347,"60":0,"62":0,"63":0,"64":0,"65":0.00347,"66":0.00347,"67":0,"68":0.68993,"69":0.43684,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.02427},G:{"8":0,"3.2":0.0012,"4.0-4.1":0.0012,"4.2-4.3":0.0012,"5.0-5.1":0.0036,"6.0-6.1":0.0012,"7.0-7.1":0.00481,"8.1-8.4":0.00721,"9.0-9.2":0.00961,"9.3":0.07931,"10.0-10.2":0.02043,"10.3":0.09613,"11.0-11.2":0.0709,"11.3-11.4":0.11175,"12.0-12.1":0.1514,"12.2-12.4":0.92164,"13.0-13.1":0.17183,"13.2":0.08411,"13.3":0.83993,"13.4-13.5":2.03072,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.0104,"10":0.0104,"11":0.01387,"12":0.01387,"13":0.03467,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00347,"6.1":0,"7.1":0,"9.1":0.00347,"10.1":0.01387,"11.1":0.01734,"12.1":0.07281,"13.1":0.23229},B:{"12":0.01734,"13":0.00693,"14":0.0104,"15":0.00693,"16":0.0104,"17":0.0312,"18":0.25309,"79":0,"80":0,"81":0.01387,"83":0.29816,"84":0.19069},I:{"3":0,"4":0.01852,_:"81","2.1":0,"2.2":0,"2.3":0.00185,"4.1":0.03149,"4.2-4.3":0.05187,"4.4":0,"4.4.3-4.4.4":0.32787},P:{"4":0.25701,"5.0-5.4":0.02056,"6.2-6.4":0.02056,"7.2-7.4":0.17477,"8.2":0.01028,"9.2":0.17477,"10.1":0.19533,"11.1-11.2":0.59626,"12.0":0.5757},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01426,"9":0,"10":0,"11":0.11055,"5.5":0},J:{"7":0,"10":0.0196},N:{"10":0,"11":0},L:{"0":70.7929},S:{"2.5":0.00653},R:{_:"0"},M:{"0":0.18292},Q:{"10.4":0.0784},O:{"0":1.65285},H:{"0":5.39952}}; diff --git a/node_modules/caniuse-lite/data/regions/BG.js b/node_modules/caniuse-lite/data/regions/BG.js new file mode 100644 index 000000000..704af3921 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0.00514,"3":0,"4":0.00514,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01027,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00514,"39":0,"40":0.00514,"41":0,"42":0,"43":0.00514,"44":0.00514,"45":0.01027,"46":0,"47":0.01027,"48":0.01027,"49":0.00514,"50":0.00514,"51":0.00514,"52":0.2054,"53":0.00514,"54":0.00514,"55":0.00514,"56":0.02054,"57":0.01027,"58":0.00514,"59":0.00514,"60":0.05649,"61":0.00514,"62":0.00514,"63":0.01541,"64":0.02054,"65":0.02054,"66":0.03081,"67":0.01027,"68":0.25162,"69":0.01027,"70":0.01027,"71":0.01541,"72":0.04622,"73":0.01541,"74":0.01541,"75":0.01541,"76":0.05135,"77":0.77539,"78":2.81398,"79":0.13351,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00514,"23":0,"24":0,"25":0,"26":0.00514,"27":0,"28":0,"29":0,"30":0,"31":0.00514,"32":0,"33":0,"34":0.00514,"35":0.00514,"36":0,"37":0,"38":0.00514,"39":0,"40":0.00514,"41":0.00514,"42":0.00514,"43":0.00514,"44":0,"45":0,"46":0,"47":0.00514,"48":0.00514,"49":0.34405,"50":0.00514,"51":0.00514,"52":0.00514,"53":0.02054,"54":0.00514,"55":0.00514,"56":0.00514,"57":0.00514,"58":0.01541,"59":0.00514,"60":0.00514,"61":0.04108,"62":0.00514,"63":0.03595,"64":0.00514,"65":0.01541,"66":0.01027,"67":0.01541,"68":0.04108,"69":0.04622,"70":0.05649,"71":0.06162,"72":0.04108,"73":0.04108,"74":0.03081,"75":0.04108,"76":0.02054,"77":0.03595,"78":0.03595,"79":0.0873,"80":0.14892,"81":0.2054,"83":10.23919,"84":5.78201,"85":0.01027,"86":0.00514,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.01027,"37":0,"38":0,"39":0,"40":0.00514,"41":0,"42":0,"43":0,"44":0,"45":0.00514,"46":0,"47":0,"48":0,"49":0,"50":0.02054,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00514,"58":0.00514,"60":0,"62":0,"63":0,"64":0,"65":0.00514,"66":0,"67":0,"68":0.58539,"69":0.33891,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.04108},G:{"8":0,"3.2":0.00233,"4.0-4.1":0.00233,"4.2-4.3":0.00233,"5.0-5.1":0.007,"6.0-6.1":0.00233,"7.0-7.1":0.00933,"8.1-8.4":0.014,"9.0-9.2":0.01867,"9.3":0.15401,"10.0-10.2":0.03967,"10.3":0.18668,"11.0-11.2":0.13768,"11.3-11.4":0.21701,"12.0-12.1":0.29402,"12.2-12.4":1.78978,"13.0-13.1":0.33369,"13.2":0.16334,"13.3":1.6311,"13.4-13.5":3.94358,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00514,"12":0.02054,"13":0.05649,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.01027,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00514,"11.1":0.01541,"12.1":0.03595,"13.1":0.40567},B:{"12":0,"13":0.00514,"14":0.01027,"15":0.01027,"16":0.01027,"17":0.03595,"18":0.30297,"79":0,"80":0,"81":0.01027,"83":0.41594,"84":0.2927},I:{"3":0,"4":0.0172,_:"81","2.1":0,"2.2":0,"2.3":0.00172,"4.1":0.02924,"4.2-4.3":0.04817,"4.4":0,"4.4.3-4.4.4":0.30448},P:{"4":0.1652,"5.0-5.4":0.01032,"6.2-6.4":0,"7.2-7.4":0.03097,"8.2":0.01032,"9.2":0.10325,"10.1":0.11357,"11.1-11.2":0.54721,"12.0":2.31275},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01053,"9":0.01053,"10":0.00526,"11":0.82096,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":58.36055},S:{"2.5":0},R:{_:"0"},M:{"0":0.22379},Q:{"10.4":0.00487},O:{"0":0.08271},H:{"0":0.27175}}; diff --git a/node_modules/caniuse-lite/data/regions/BH.js b/node_modules/caniuse-lite/data/regions/BH.js new file mode 100644 index 000000000..53d96a75f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BH.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00505,"44":0,"45":0,"46":0,"47":0,"48":0.0101,"49":0,"50":0,"51":0,"52":0.0101,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.0303,"69":0,"70":0,"71":0,"72":0.0404,"73":0,"74":0,"75":0.0101,"76":0.01515,"77":0.18685,"78":0.85345,"79":0.0404,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00505,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.07575,"50":0,"51":0,"52":0,"53":0.0101,"54":0,"55":0.0101,"56":0.00505,"57":0,"58":0.00505,"59":0.0101,"60":0.0101,"61":0,"62":0.00505,"63":0.0101,"64":0,"65":0.03535,"66":0,"67":0.02525,"68":0,"69":0.0101,"70":0.02525,"71":0.00505,"72":0.0101,"73":0.05555,"74":0.0404,"75":0.0303,"76":0.01515,"77":0.0505,"78":0.0707,"79":0.07575,"80":0.17675,"81":0.16665,"83":9.99395,"84":6.666,"85":0.05555,"86":0.00505,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00505,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00505,"46":0,"47":0,"48":0,"49":0,"50":0.00505,"51":0,"52":0,"53":0,"54":0.00505,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.00505,"64":0.00505,"65":0.00505,"66":0,"67":0.0101,"68":0.0909,"69":0.0202,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00524,"4.0-4.1":0.00524,"4.2-4.3":0.00524,"5.0-5.1":0.01571,"6.0-6.1":0.00524,"7.0-7.1":0.02095,"8.1-8.4":0.03143,"9.0-9.2":0.04191,"9.3":0.34572,"10.0-10.2":0.08905,"10.3":0.41906,"11.0-11.2":0.30906,"11.3-11.4":0.48716,"12.0-12.1":0.66002,"12.2-12.4":4.01773,"13.0-13.1":0.74907,"13.2":0.36668,"13.3":3.66153,"13.4-13.5":8.85263,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.01515,"11":0.0303,"12":0.0707,"13":0.4242,"14":0.0101,_:"0","3.1":0,"3.2":0,"5.1":0.0101,"6.1":0,"7.1":0,"9.1":0.00505,"10.1":0.02525,"11.1":0.11615,"12.1":0.2626,"13.1":2.70175},B:{"12":0.00505,"13":0.00505,"14":0.00505,"15":0.00505,"16":0.00505,"17":0.0505,"18":0.7171,"79":0,"80":0,"81":0.0202,"83":0.4848,"84":0.42925},I:{"3":0,"4":0.0028,_:"81","2.1":0,"2.2":0,"2.3":0.00028,"4.1":0.00476,"4.2-4.3":0.00784,"4.4":0,"4.4.3-4.4.4":0.04957},P:{"4":0.2962,"5.0-5.4":0.02043,"6.2-6.4":0.02043,"7.2-7.4":0.09193,"8.2":0.03064,"9.2":0.19406,"10.1":0.23492,"11.1-11.2":0.77626,"12.0":2.52283},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01044,"9":0.00522,"10":0.00522,"11":0.28194,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":43.2308},S:{"2.5":0},R:{_:"0"},M:{"0":0.06435},Q:{"10.4":0},O:{"0":2.63835},H:{"0":0.33273}}; diff --git a/node_modules/caniuse-lite/data/regions/BI.js b/node_modules/caniuse-lite/data/regions/BI.js new file mode 100644 index 000000000..547b1691d --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BI.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0.05014,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0.00501,"25":0,"26":0,"27":0.00501,"28":0,"29":0,"30":0.00501,"31":0.01003,"32":0,"33":0.00501,"34":0.00501,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00501,"41":0,"42":0,"43":0.00501,"44":0.00501,"45":0.01003,"46":0,"47":0.00501,"48":0.10028,"49":0.03008,"50":0,"51":0.00501,"52":0.03008,"53":0,"54":0.00501,"55":0,"56":0.36101,"57":0,"58":0,"59":0,"60":0.00501,"61":0.00501,"62":0.00501,"63":0,"64":0,"65":0,"66":0.01003,"67":0,"68":0.0702,"69":0.00501,"70":0.01003,"71":0,"72":0.02507,"73":0.00501,"74":0.01003,"75":0.01003,"76":0.05515,"77":0.60168,"78":2.9382,"79":0.46129,"80":0.02006,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.02507,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00501,"34":0.00501,"35":0,"36":0,"37":0,"38":0.00501,"39":0,"40":0.00501,"41":0,"42":0.02507,"43":0.05515,"44":0,"45":0,"46":0,"47":0.00501,"48":0,"49":0.07521,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.03008,"56":0,"57":0,"58":0.01003,"59":0.00501,"60":0.00501,"61":0,"62":0.02006,"63":0.11031,"64":0.00501,"65":0.03008,"66":0,"67":0,"68":0.00501,"69":0.29081,"70":0.01003,"71":0.00501,"72":0.00501,"73":0.03008,"74":0.05515,"75":0.02507,"76":0.05515,"77":0.00501,"78":0.02006,"79":0.06518,"80":0.11532,"81":0.12535,"83":7.89204,"84":5.11929,"85":0.02006,"86":0.01003,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0.00501,"17":0,"18":0,"19":0,"20":0.01504,"21":0.00501,"22":0,"23":0.01504,"24":0,"25":0,"26":0,"27":0,"28":0.00501,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00501,"35":0,"36":0,"37":0.00501,"38":0,"39":0,"40":0,"41":0,"42":0.00501,"43":0,"44":0,"45":0,"46":0.02006,"47":0.00501,"48":0,"49":0,"50":0.10028,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00501,"58":0.00501,"60":0,"62":0,"63":0,"64":0,"65":0.00501,"66":0.02507,"67":0.02006,"68":0.89249,"69":0.5716,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.16546},G:{"8":0,"3.2":0.00079,"4.0-4.1":0.00079,"4.2-4.3":0.00079,"5.0-5.1":0.00236,"6.0-6.1":0.00079,"7.0-7.1":0.00315,"8.1-8.4":0.00473,"9.0-9.2":0.0063,"9.3":0.05198,"10.0-10.2":0.01339,"10.3":0.063,"11.0-11.2":0.04646,"11.3-11.4":0.07324,"12.0-12.1":0.09923,"12.2-12.4":0.60404,"13.0-13.1":0.11262,"13.2":0.05513,"13.3":0.55049,"13.4-13.5":1.33094,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.05515,"11":0.13036,"12":0,"13":0.05515,"14":0.00501,_:"0","3.1":0,"3.2":0,"5.1":0.0702,"6.1":0,"7.1":0,"9.1":0.00501,"10.1":0,"11.1":0.06017,"12.1":0.09025,"13.1":0.45126},B:{"12":0.09025,"13":0.04513,"14":0.04011,"15":0.00501,"16":0.03008,"17":0.04011,"18":0.37605,"79":0,"80":0,"81":0.04011,"83":0.2507,"84":0.26073},I:{"3":0,"4":0.01073,_:"81","2.1":0,"2.2":0,"2.3":0.00107,"4.1":0.01824,"4.2-4.3":0.03004,"4.4":0,"4.4.3-4.4.4":0.18989},P:{"4":0.67392,"5.0-5.4":0.02012,"6.2-6.4":0.03018,"7.2-7.4":0.09053,"8.2":0.03018,"9.2":0.07041,"10.1":0.11064,"11.1-11.2":0.31181,"12.0":0.40234},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.04513,"9":0,"10":0,"11":0.22062,"5.5":0},J:{"7":0,"10":0.01496},N:{"10":0.01496,"11":0},L:{"0":50.10856},S:{"2.5":0.00499},R:{_:"0"},M:{"0":0.08476},Q:{"10.4":0.00997},O:{"0":1.09193},H:{"0":11.69249}}; diff --git a/node_modules/caniuse-lite/data/regions/BJ.js b/node_modules/caniuse-lite/data/regions/BJ.js new file mode 100644 index 000000000..838400124 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BJ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.00538,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.02692,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0.00538,"40":0,"41":0,"42":0,"43":0.00538,"44":0.00538,"45":0,"46":0.01077,"47":0.02154,"48":0.02692,"49":0.00538,"50":0.00538,"51":0,"52":0.01615,"53":0,"54":0,"55":0,"56":0.00538,"57":0.00538,"58":0,"59":0,"60":0.00538,"61":0,"62":0.00538,"63":0.00538,"64":0,"65":0,"66":0.01077,"67":0.01615,"68":0.19921,"69":0.01077,"70":0,"71":0,"72":0.0323,"73":0.01077,"74":0.00538,"75":0.04307,"76":0.03769,"77":0.59224,"78":2.26128,"79":0.15075,"80":0.00538,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00538,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00538,"30":0,"31":0.02154,"32":0.01615,"33":0.00538,"34":0,"35":0.01077,"36":0.03769,"37":0.34996,"38":0,"39":0.00538,"40":0,"41":0,"42":0.00538,"43":0.00538,"44":0.01077,"45":0,"46":0.00538,"47":0.01077,"48":0,"49":0.12922,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.01615,"56":0.00538,"57":0.00538,"58":0.04307,"59":0.00538,"60":0.00538,"61":0.00538,"62":0.02692,"63":0.03769,"64":0.02154,"65":0.01077,"66":0.00538,"67":0.01077,"68":0.01077,"69":0.11845,"70":0.04307,"71":0.08076,"72":0.04846,"73":0.04846,"74":0.11845,"75":0.10768,"76":0.04307,"77":0.05384,"78":0.04307,"79":0.28535,"80":0.49533,"81":0.29612,"83":9.56198,"84":6.24544,"85":0.02154,"86":0.02692,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.01077,"21":0,"22":0,"23":0.00538,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00538,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.01077,"43":0,"44":0,"45":0,"46":0.01077,"47":0.00538,"48":0,"49":0,"50":0.09691,"51":0,"52":0.00538,"53":0.01615,"54":0.00538,"55":0,"56":0,"57":0.00538,"58":0.00538,"60":0,"62":0.02692,"63":0,"64":0,"65":0.00538,"66":0.00538,"67":0.01615,"68":1.15218,"69":0.65146,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.03769},G:{"8":0,"3.2":0.001,"4.0-4.1":0.001,"4.2-4.3":0.001,"5.0-5.1":0.00301,"6.0-6.1":0.001,"7.0-7.1":0.00401,"8.1-8.4":0.00601,"9.0-9.2":0.00801,"9.3":0.06612,"10.0-10.2":0.01703,"10.3":0.08015,"11.0-11.2":0.05911,"11.3-11.4":0.09317,"12.0-12.1":0.12623,"12.2-12.4":0.7684,"13.0-13.1":0.14326,"13.2":0.07013,"13.3":0.70028,"13.4-13.5":1.69308,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.04307,"12":0.02692,"13":0.19921,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.12922,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0.05384,"12.1":0.03769,"13.1":0.5384},B:{"12":0.0323,"13":0.01615,"14":0.00538,"15":0.00538,"16":0.00538,"17":0.04846,"18":0.21536,"79":0,"80":0,"81":0.01615,"83":0.62993,"84":0.42534},I:{"3":0,"4":0.00776,_:"81","2.1":0,"2.2":0,"2.3":0.00078,"4.1":0.01319,"4.2-4.3":0.02172,"4.4":0,"4.4.3-4.4.4":0.13732},P:{"4":0.09237,"5.0-5.4":0.03079,"6.2-6.4":0,"7.2-7.4":0.03079,"8.2":0.03079,"9.2":0.09237,"10.1":0.02053,"11.1-11.2":0.32844,"12.0":0.24633},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.06559,"9":0,"10":0,"11":0.29514,"5.5":0},J:{"7":0,"10":0.00923},N:{"10":0,"11":0.01385},L:{"0":57.99091},S:{"2.5":0.02308},R:{_:"0"},M:{"0":0.18464},Q:{"10.4":0.02308},O:{"0":1.20016},H:{"0":4.46627}}; diff --git a/node_modules/caniuse-lite/data/regions/BM.js b/node_modules/caniuse-lite/data/regions/BM.js new file mode 100644 index 000000000..d88244c22 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0267,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.0267,"49":0,"50":0,"51":0.0089,"52":0.08011,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.0089,"64":0,"65":0.0178,"66":0,"67":0.0089,"68":0.05341,"69":0.0089,"70":0,"71":0,"72":0.0267,"73":0.0089,"74":0.0089,"75":0.0089,"76":0.07121,"77":0.70318,"78":2.10954,"79":0.04451,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0089,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.0089,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.17802,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.0089,"58":0,"59":0.0089,"60":0,"61":0.0089,"62":0,"63":0.0356,"64":0,"65":0.09791,"66":0.05341,"67":0.05341,"68":0.08901,"69":0.0089,"70":0.08901,"71":0.04451,"72":0.0178,"73":0.33824,"74":0.0178,"75":0.06231,"76":0.10681,"77":1.35295,"78":0.14242,"79":0.25813,"80":0.24033,"81":0.43615,"83":22.47503,"84":10.34296,"85":0.0267,"86":0.0089,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.0089,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.0089,"64":0,"65":0,"66":0,"67":0,"68":0.08901,"69":0.05341,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00413,"4.0-4.1":0.00413,"4.2-4.3":0.00413,"5.0-5.1":0.01239,"6.0-6.1":0.00413,"7.0-7.1":0.01652,"8.1-8.4":0.02477,"9.0-9.2":0.03303,"9.3":0.27252,"10.0-10.2":0.07019,"10.3":0.33032,"11.0-11.2":0.24361,"11.3-11.4":0.384,"12.0-12.1":0.52026,"12.2-12.4":3.16696,"13.0-13.1":0.59045,"13.2":0.28903,"13.3":2.88619,"13.4-13.5":6.97805,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.0267,"10":0.0178,"11":0.04451,"12":0.10681,"13":0.8901,"14":0.0267,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0.0089,"7.1":0.0267,"9.1":0.06231,"10.1":0.23143,"11.1":0.48956,"12.1":0.56076,"13.1":14.39292},B:{"12":0.0089,"13":0.0089,"14":0.0267,"15":0.08901,"16":0.27593,"17":0.36494,"18":3.23996,"79":0.0178,"80":0,"81":0.09791,"83":4.4238,"84":2.49228},I:{"3":0,"4":0.01446,_:"81","2.1":0,"2.2":0,"2.3":0.00145,"4.1":0.02459,"4.2-4.3":0.0405,"4.4":0,"4.4.3-4.4.4":0.25603},P:{"4":0.02161,"5.0-5.4":0.0108,"6.2-6.4":0.0108,"7.2-7.4":0.0108,"8.2":0.0108,"9.2":0.03241,"10.1":0.02161,"11.1-11.2":0.29173,"12.0":1.51267},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.0089,"10":0,"11":5.42961,"5.5":0},J:{"7":0,"10":0.01099},N:{"10":0,"11":0},L:{"0":6.26005},S:{"2.5":0},R:{_:"0"},M:{"0":0.06814},Q:{"10.4":0},O:{"0":0},H:{"0":0.01249}}; diff --git a/node_modules/caniuse-lite/data/regions/BN.js b/node_modules/caniuse-lite/data/regions/BN.js new file mode 100644 index 000000000..5f7c277ac --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00509,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00509,"28":0,"29":0,"30":0,"31":0,"32":0.00509,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00509,"48":0.02035,"49":0,"50":0,"51":0,"52":0.05597,"53":0,"54":0,"55":0.00509,"56":0.00509,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.00509,"66":0.00509,"67":0.00509,"68":0.10176,"69":0.00509,"70":0.01526,"71":0,"72":0.01526,"73":0,"74":0,"75":0.01018,"76":0.02544,"77":0.37142,"78":1.58746,"79":0.13738,"80":0.00509,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.01526,"35":0,"36":0,"37":0,"38":0.0407,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.16282,"50":0,"51":0,"52":0,"53":0.02035,"54":0,"55":0.03053,"56":0.00509,"57":0.00509,"58":0.01018,"59":0,"60":0.01526,"61":0.00509,"62":0.00509,"63":0.02035,"64":0.00509,"65":0.03562,"66":0.01018,"67":0.0865,"68":0.00509,"69":0.03053,"70":0.01018,"71":0.01018,"72":0.02544,"73":0.05597,"74":0.04579,"75":0.05088,"76":0.04579,"77":0.02035,"78":0.03053,"79":0.04579,"80":0.09667,"81":0.20861,"83":10.54234,"84":6.30912,"85":0.02035,"86":0.00509,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00509,"35":0,"36":0,"37":0.03562,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.01018,"48":0,"49":0,"50":0.08141,"51":0,"52":0,"53":0.00509,"54":0.00509,"55":0.02035,"56":0,"57":0,"58":0.00509,"60":0,"62":0,"63":0.00509,"64":0,"65":0,"66":0,"67":0,"68":0.29002,"69":0.1272,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00509},G:{"8":0,"3.2":0.00465,"4.0-4.1":0.00465,"4.2-4.3":0.00465,"5.0-5.1":0.01394,"6.0-6.1":0.00465,"7.0-7.1":0.01858,"8.1-8.4":0.02787,"9.0-9.2":0.03716,"9.3":0.30659,"10.0-10.2":0.07897,"10.3":0.37163,"11.0-11.2":0.27407,"11.3-11.4":0.43202,"12.0-12.1":0.58531,"12.2-12.4":3.56297,"13.0-13.1":0.66428,"13.2":0.32517,"13.3":3.24708,"13.4-13.5":7.8506,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.01018,"10":0.00509,"11":0.02035,"12":0.02544,"13":0.31037,"14":0.00509,_:"0","3.1":0,"3.2":0,"5.1":0.05088,"6.1":0,"7.1":0,"9.1":0.0407,"10.1":0.03053,"11.1":0.06614,"12.1":0.2137,"13.1":1.45008},B:{"12":0,"13":0.00509,"14":0,"15":0.01018,"16":0.00509,"17":0.03053,"18":0.24422,"79":0,"80":0,"81":0.00509,"83":0.32054,"84":0.2137},I:{"3":0,"4":0.00731,_:"81","2.1":0,"2.2":0,"2.3":0.00073,"4.1":0.01243,"4.2-4.3":0.02047,"4.4":0,"4.4.3-4.4.4":0.12941},P:{"4":0.66241,"5.0-5.4":0.01051,"6.2-6.4":0.01051,"7.2-7.4":0.05257,"8.2":0.02103,"9.2":0.25235,"10.1":0.23132,"11.1-11.2":0.44161,"12.0":1.60872},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00636,"9":0.00636,"10":0.00636,"11":0.2862,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":45.43194},S:{"2.5":0},R:{_:"0"},M:{"0":0.19157},Q:{"10.4":0.03438},O:{"0":1.94024},H:{"0":2.12522}}; diff --git a/node_modules/caniuse-lite/data/regions/BO.js b/node_modules/caniuse-lite/data/regions/BO.js new file mode 100644 index 000000000..0741687bb --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00563,"48":0.0169,"49":0,"50":0,"51":0,"52":0.0338,"53":0,"54":0,"55":0.00563,"56":0.01127,"57":0,"58":0.00563,"59":0,"60":0.00563,"61":0,"62":0,"63":0,"64":0.00563,"65":0.00563,"66":0.01127,"67":0.00563,"68":0.10141,"69":0.00563,"70":0.00563,"71":0.00563,"72":0.0169,"73":0.00563,"74":0.01127,"75":0.0169,"76":0.02817,"77":0.44509,"78":1.85359,"79":0.12395,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01127,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00563,"39":0,"40":0.01127,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00563,"48":0,"49":0.14085,"50":0,"51":0,"52":0,"53":0.01127,"54":0.00563,"55":0.00563,"56":0.00563,"57":0,"58":0.00563,"59":0.00563,"60":0,"61":0,"62":0.01127,"63":0.02254,"64":0.00563,"65":0.0338,"66":0.01127,"67":0.0338,"68":0.00563,"69":0.0169,"70":0.04507,"71":0.03944,"72":0.03944,"73":0.04507,"74":0.06761,"75":0.04507,"76":0.05634,"77":0.05634,"78":0.05634,"79":0.12958,"80":0.20846,"81":0.23099,"83":13.25117,"84":9.46512,"85":0.00563,"86":0.00563,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.0169,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00563,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00563,"68":0.65918,"69":0.29297,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00085,"4.0-4.1":0.00085,"4.2-4.3":0.00085,"5.0-5.1":0.00255,"6.0-6.1":0.00085,"7.0-7.1":0.0034,"8.1-8.4":0.0051,"9.0-9.2":0.0068,"9.3":0.05608,"10.0-10.2":0.01445,"10.3":0.06798,"11.0-11.2":0.05013,"11.3-11.4":0.07903,"12.0-12.1":0.10707,"12.2-12.4":0.65175,"13.0-13.1":0.12151,"13.2":0.05948,"13.3":0.59397,"13.4-13.5":1.43605,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01127,"12":0.03944,"13":0.13522,"14":0.00563,_:"0","3.1":0,"3.2":0,"5.1":0.85073,"6.1":0,"7.1":0,"9.1":0.01127,"10.1":0.02817,"11.1":0.06761,"12.1":0.09014,"13.1":0.69298},B:{"12":0,"13":0.00563,"14":0.00563,"15":0.00563,"16":0.00563,"17":0.02817,"18":0.09014,"79":0,"80":0,"81":0.01127,"83":0.44509,"84":0.36058},I:{"3":0,"4":0.00995,_:"81","2.1":0,"2.2":0,"2.3":0.00099,"4.1":0.01691,"4.2-4.3":0.02786,"4.4":0,"4.4.3-4.4.4":0.17611},P:{"4":0.65927,"5.0-5.4":0.03043,"6.2-6.4":0.06086,"7.2-7.4":0.30428,"8.2":0.05071,"9.2":0.24342,"10.1":0.23328,"11.1-11.2":0.70998,"12.0":1.66338},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01268,"9":0,"10":0,"11":0.08874,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":58.0888},S:{"2.5":0},R:{_:"0"},M:{"0":0.13971},Q:{"10.4":0.00437},O:{"0":0.29252},H:{"0":0.28521}}; diff --git a/node_modules/caniuse-lite/data/regions/BR.js b/node_modules/caniuse-lite/data/regions/BR.js new file mode 100644 index 000000000..6795c6859 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0068,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.0068,"48":0.0068,"49":0,"50":0,"51":0,"52":0.02039,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.0068,"61":0,"62":0.0068,"63":0.0136,"64":0.0136,"65":0.0136,"66":0.0136,"67":0,"68":0.11557,"69":0,"70":0.0068,"71":0.0068,"72":0.0136,"73":0,"74":0.0068,"75":0.0068,"76":0.02719,"77":0.3399,"78":1.52275,"79":0.09517,"80":0.0068,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.0068,"37":0,"38":0.0068,"39":0,"40":0,"41":0,"42":0,"43":0.0068,"44":0,"45":0,"46":0,"47":0,"48":0.0068,"49":0.06798,"50":0,"51":0.0068,"52":0,"53":0.02039,"54":0.0068,"55":0.0068,"56":0,"57":0,"58":0.0136,"59":0.0068,"60":0,"61":0.0068,"62":0.0068,"63":0.02719,"64":0.0068,"65":0.02039,"66":0.0068,"67":0.02719,"68":0.0068,"69":0.02039,"70":0.08837,"71":0.12236,"72":0.10197,"73":0.06798,"74":0.04079,"75":0.04079,"76":0.03399,"77":0.04079,"78":0.09517,"79":0.11557,"80":0.22433,"81":0.25832,"83":21.68562,"84":15.34988,"85":0.04759,"86":0.02719,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.0136,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.0068,"57":0.0068,"58":0.0068,"60":0.0068,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":1.11487,"69":0.46906,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0018,"4.0-4.1":0.0018,"4.2-4.3":0.0018,"5.0-5.1":0.00541,"6.0-6.1":0.0018,"7.0-7.1":0.00721,"8.1-8.4":0.01082,"9.0-9.2":0.01442,"9.3":0.11897,"10.0-10.2":0.03064,"10.3":0.1442,"11.0-11.2":0.10635,"11.3-11.4":0.16764,"12.0-12.1":0.22712,"12.2-12.4":1.38254,"13.0-13.1":0.25776,"13.2":0.12618,"13.3":1.25997,"13.4-13.5":3.04628,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0068,"12":0.0136,"13":0.09517,"14":0.0068,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.0068,"11.1":0.03399,"12.1":0.06118,"13.1":0.80896},B:{"12":0,"13":0,"14":0.0068,"15":0.0068,"16":0.0068,"17":0.02719,"18":0.22433,"79":0,"80":0,"81":0.02039,"83":0.80896,"84":0.72739},I:{"3":0,"4":0.00443,_:"81","2.1":0,"2.2":0,"2.3":0.00044,"4.1":0.00753,"4.2-4.3":0.0124,"4.4":0,"4.4.3-4.4.4":0.0784},P:{"4":0.08067,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.121,"8.2":0.01008,"9.2":0.08067,"10.1":0.05042,"11.1-11.2":0.28233,"12.0":1.47215},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02171,"9":0.00724,"10":0.00724,"11":0.18815,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":42.88321},S:{"2.5":0},R:{_:"0"},M:{"0":0.08325},Q:{"10.4":0.0064},O:{"0":0.07685},H:{"0":0.1061}}; diff --git a/node_modules/caniuse-lite/data/regions/BS.js b/node_modules/caniuse-lite/data/regions/BS.js new file mode 100644 index 000000000..3a0fff4e1 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BS.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01259,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.0042,"42":0,"43":0,"44":0,"45":0.0042,"46":0,"47":0,"48":0.03777,"49":0,"50":0,"51":0,"52":0.01259,"53":0.0042,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.0042,"64":0,"65":0.03358,"66":0,"67":0,"68":0.05036,"69":0,"70":0,"71":0,"72":0.0042,"73":0.0042,"74":0.02099,"75":0,"76":0.0042,"77":0.15529,"78":0.61696,"79":0.04197,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.06715,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.0042,"59":0,"60":0,"61":0,"62":0,"63":0.01679,"64":0,"65":0.02938,"66":0,"67":0.02518,"68":0,"69":0.00839,"70":0.0042,"71":0.02099,"72":0.00839,"73":0.01259,"74":0.00839,"75":0.02938,"76":0.15529,"77":0.04617,"78":0.02938,"79":0.04197,"80":0.05456,"81":0.07974,"83":5.603,"84":3.16874,"85":0.0042,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.07135,"69":0.02938,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00599,"4.0-4.1":0.00599,"4.2-4.3":0.00599,"5.0-5.1":0.01796,"6.0-6.1":0.00599,"7.0-7.1":0.02395,"8.1-8.4":0.03592,"9.0-9.2":0.0479,"9.3":0.39517,"10.0-10.2":0.10179,"10.3":0.47899,"11.0-11.2":0.35326,"11.3-11.4":0.55683,"12.0-12.1":0.75441,"12.2-12.4":4.59233,"13.0-13.1":0.8562,"13.2":0.41912,"13.3":4.18519,"13.4-13.5":10.1187,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.03777,"13":0.19306,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.01259,"6.1":0,"7.1":0,"9.1":0.00839,"10.1":0.01679,"11.1":0.07974,"12.1":0.10073,"13.1":1.87186},B:{"12":0.0042,"13":0.04197,"14":0.00839,"15":0.03777,"16":0.02938,"17":0.10912,"18":0.58338,"79":0,"80":0.0042,"81":0.02938,"83":0.82681,"84":0.66313},I:{"3":0,"4":0.02696,_:"81","2.1":0,"2.2":0,"2.3":0.0027,"4.1":0.04583,"4.2-4.3":0.07549,"4.4":0,"4.4.3-4.4.4":0.47722},P:{"4":0.12568,"5.0-5.4":0.01047,"6.2-6.4":0.02095,"7.2-7.4":0.48178,"8.2":0.03142,"9.2":0.64936,"10.1":0.27231,"11.1-11.2":1.64435,"12.0":5.83376},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.00434,"10":0,"11":0.51189,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":46.86726},S:{"2.5":0},R:{_:"0"},M:{"0":0.12767},Q:{"10.4":0},O:{"0":0.02902},H:{"0":0.04395}}; diff --git a/node_modules/caniuse-lite/data/regions/BT.js b/node_modules/caniuse-lite/data/regions/BT.js new file mode 100644 index 000000000..c154ffa0c --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00323,"39":0,"40":0,"41":0,"42":0,"43":0.00323,"44":0,"45":0,"46":0,"47":0,"48":0.00647,"49":0,"50":0,"51":0,"52":0.00323,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00323,"61":0.00323,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.01617,"69":0.00323,"70":0,"71":0,"72":0.00647,"73":0,"74":0.00323,"75":0.00323,"76":0.01617,"77":0.15523,"78":0.39455,"79":0.07762,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00323,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00323,"30":0.00647,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.0097,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.01617,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00323,"59":0,"60":0,"61":0,"62":0,"63":0.01294,"64":0.00323,"65":0.01294,"66":0.00323,"67":0.01294,"68":0.00647,"69":0.00323,"70":0.00323,"71":0.00323,"72":0,"73":0.00323,"74":0.04204,"75":0.05174,"76":0.00647,"77":0.02587,"78":0.0097,"79":0.0194,"80":0.07115,"81":0.11966,"83":4.72811,"84":2.98498,"85":0.02911,"86":0.00647,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.0097,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.0194,"51":0,"52":0,"53":0,"54":0,"55":0.00323,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.08732,"69":0.05174,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00258,"4.0-4.1":0.00258,"4.2-4.3":0.00258,"5.0-5.1":0.00775,"6.0-6.1":0.00258,"7.0-7.1":0.01033,"8.1-8.4":0.0155,"9.0-9.2":0.02067,"9.3":0.1705,"10.0-10.2":0.04392,"10.3":0.20667,"11.0-11.2":0.15242,"11.3-11.4":0.24025,"12.0-12.1":0.3255,"12.2-12.4":1.9814,"13.0-13.1":0.36941,"13.2":0.18083,"13.3":1.80574,"13.4-13.5":4.3658,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.0097,"13":0.09702,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00323,"11.1":0.0194,"12.1":0.02264,"13.1":0.23608},B:{"12":0.0097,"13":0.01617,"14":0.00323,"15":0.00323,"16":0.00323,"17":0.01294,"18":0.12936,"79":0,"80":0,"81":0.01294,"83":0.1714,"84":0.1714},I:{"3":0,"4":0.00252,_:"81","2.1":0,"2.2":0,"2.3":0.00025,"4.1":0.00429,"4.2-4.3":0.00707,"4.4":0,"4.4.3-4.4.4":0.04467},P:{"4":1.14491,"5.0-5.4":0.05066,"6.2-6.4":0.06079,"7.2-7.4":0.4458,"8.2":0.06079,"9.2":0.4458,"10.1":0.27356,"11.1-11.2":0.56739,"12.0":0.96253},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00323,"9":0,"10":0,"11":0.04851,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":69.13454},S:{"2.5":0},R:{_:"0"},M:{"0":0.03383},Q:{"10.4":0},O:{"0":3.36947},H:{"0":0.4612}}; diff --git a/node_modules/caniuse-lite/data/regions/BW.js b/node_modules/caniuse-lite/data/regions/BW.js new file mode 100644 index 000000000..cd5357d0c --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BW.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0.00605,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00605,"28":0,"29":0,"30":0,"31":0,"32":0.01211,"33":0,"34":0.00605,"35":0.01211,"36":0,"37":0,"38":0.00605,"39":0,"40":0.00605,"41":0,"42":0,"43":0.00605,"44":0.00605,"45":0,"46":0,"47":0.05449,"48":0.01211,"49":0.02422,"50":0.00605,"51":0.00605,"52":0.03027,"53":0.00605,"54":0,"55":0,"56":0.06054,"57":0.00605,"58":0.01211,"59":0,"60":0.01211,"61":0,"62":0.00605,"63":0,"64":0,"65":0.00605,"66":0.00605,"67":0,"68":0.15135,"69":0.00605,"70":0.00605,"71":0.00605,"72":0.03632,"73":0.00605,"74":0.04238,"75":0.01816,"76":0.03632,"77":0.62356,"78":2.8696,"79":0.24216,"80":0.01816,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.01816,"32":0,"33":0.00605,"34":0,"35":0,"36":0.00605,"37":0,"38":0,"39":0,"40":0.03027,"41":0,"42":0.00605,"43":0.13319,"44":0,"45":0,"46":0.00605,"47":0,"48":0.00605,"49":0.23005,"50":0.00605,"51":0,"52":0.00605,"53":0.01211,"54":0.00605,"55":0.00605,"56":0,"57":0.00605,"58":0.02422,"59":0,"60":0.04238,"61":0.00605,"62":0.00605,"63":0.08476,"64":0.00605,"65":0.10897,"66":0.01211,"67":0.06659,"68":0.06054,"69":0.07265,"70":0.01211,"71":0.02422,"72":0.02422,"73":0.04843,"74":0.13319,"75":0.07265,"76":0.19978,"77":0.0787,"78":0.06054,"79":0.15135,"80":0.3814,"81":0.43589,"83":12.85264,"84":7.47064,"85":0.01816,"86":0.00605,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00605,"37":0.00605,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00605,"47":0,"48":0,"49":0,"50":0.02422,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00605,"58":0.00605,"60":0,"62":0,"63":0.00605,"64":0,"65":0.01211,"66":0.00605,"67":0.01211,"68":0.65383,"69":0.24216,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00605},G:{"8":0,"3.2":0.00165,"4.0-4.1":0.00165,"4.2-4.3":0.00165,"5.0-5.1":0.00494,"6.0-6.1":0.00165,"7.0-7.1":0.00659,"8.1-8.4":0.00988,"9.0-9.2":0.01318,"9.3":0.10871,"10.0-10.2":0.028,"10.3":0.13177,"11.0-11.2":0.09718,"11.3-11.4":0.15318,"12.0-12.1":0.20754,"12.2-12.4":1.26334,"13.0-13.1":0.23554,"13.2":0.1153,"13.3":1.15134,"13.4-13.5":2.78363,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01816,"12":0.03632,"13":0.15135,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.01816,"6.1":0,"7.1":0,"9.1":0.00605,"10.1":0.04843,"11.1":0.05449,"12.1":0.24821,"13.1":1.39242},B:{"12":0.07265,"13":0.13924,"14":0.04238,"15":0.04238,"16":0.27243,"17":0.16346,"18":1.0655,"79":0,"80":0,"81":0.04238,"83":0.79307,"84":0.6054},I:{"3":0,"4":0.01345,_:"81","2.1":0,"2.2":0,"2.3":0.00135,"4.1":0.02287,"4.2-4.3":0.03766,"4.4":0,"4.4.3-4.4.4":0.23808},P:{"4":0.33847,"5.0-5.4":0,"6.2-6.4":0.01026,"7.2-7.4":0.27693,"8.2":0.03077,"9.2":0.16411,"10.1":0.15385,"11.1-11.2":0.52309,"12.0":1.34363},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01991,"9":0.01991,"10":0.01327,"11":1.12139,"5.5":0},J:{"7":0,"10":0.01578},N:{"10":0,"11":0},L:{"0":50.50009},S:{"2.5":0.00789},R:{_:"0"},M:{"0":0.14206},Q:{"10.4":0.08681},O:{"0":0.92336},H:{"0":0.57532}}; diff --git a/node_modules/caniuse-lite/data/regions/BY.js b/node_modules/caniuse-lite/data/regions/BY.js new file mode 100644 index 000000000..292f6b9cb --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BY.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0148,"28":0.0074,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.0074,"37":0,"38":0.0074,"39":0,"40":0,"41":0.0074,"42":0.0074,"43":0.0074,"44":0.0074,"45":0.0148,"46":0.0074,"47":0.0148,"48":0.0148,"49":0.0074,"50":0.02959,"51":0.0148,"52":0.11097,"53":0.0148,"54":0.0148,"55":0.0148,"56":0.02219,"57":0.02219,"58":0.0074,"59":0.0074,"60":0.02959,"61":0.0074,"62":0.0074,"63":0.0148,"64":0.0074,"65":0.0148,"66":0.0074,"67":0.0074,"68":0.11097,"69":0.0074,"70":0.0074,"71":0.0074,"72":0.02959,"73":0.0148,"74":0.0148,"75":0.03699,"76":0.04439,"77":0.54745,"78":1.79771,"79":0.08878,"80":0.0074,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.0074,"19":0,"20":0,"21":0,"22":0.0074,"23":0,"24":0,"25":0,"26":0.0074,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.0074,"37":0,"38":0.0074,"39":0,"40":0,"41":0.0074,"42":0.0074,"43":0,"44":0,"45":0.0074,"46":0.0074,"47":0.0074,"48":0.0074,"49":0.42908,"50":0,"51":0.0074,"52":0.0074,"53":0.0148,"54":0.0074,"55":0.0074,"56":0.0074,"57":0.0148,"58":0.0148,"59":0.0074,"60":0.0074,"61":0.04439,"62":0.03699,"63":0.0148,"64":0.0148,"65":0.0148,"66":0.02219,"67":0.0148,"68":0.04439,"69":0.03699,"70":0.11837,"71":0.16276,"72":0.10357,"73":0.12577,"74":0.04439,"75":0.05179,"76":0.07398,"77":0.11097,"78":0.11837,"79":0.19235,"80":0.53266,"81":0.43648,"83":20.12256,"84":12.87992,"85":0.02959,"86":0.0148,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.0074,"35":0,"36":0.23674,"37":0.0074,"38":0,"39":0,"40":0,"41":0.0148,"42":0.0074,"43":0.02219,"44":0,"45":0.0148,"46":0.0074,"47":0,"48":0,"49":0.0074,"50":0.06658,"51":0,"52":0.0148,"53":0.0074,"54":0,"55":0.0074,"56":0.02219,"57":0.0148,"58":0.0148,"60":0.0074,"62":0.0074,"63":0.0074,"64":0,"65":0.0074,"66":0.0074,"67":0.02219,"68":3.58063,"69":2.00486,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0.0074,"12.1":0.03699},G:{"8":0,"3.2":0.00165,"4.0-4.1":0.00165,"4.2-4.3":0.00165,"5.0-5.1":0.00495,"6.0-6.1":0.00165,"7.0-7.1":0.0066,"8.1-8.4":0.0099,"9.0-9.2":0.01321,"9.3":0.10894,"10.0-10.2":0.02806,"10.3":0.13205,"11.0-11.2":0.09739,"11.3-11.4":0.15351,"12.0-12.1":0.20798,"12.2-12.4":1.26604,"13.0-13.1":0.23604,"13.2":0.11554,"13.3":1.1538,"13.4-13.5":2.78958,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.0074,"9":0,"10":0,"11":0.0148,"12":0.07398,"13":0.3625,"14":0.0148,_:"0","3.1":0,"3.2":0,"5.1":1.21327,"6.1":0,"7.1":0,"9.1":0.0074,"10.1":0.02219,"11.1":0.04439,"12.1":0.22934,"13.1":1.80511},B:{"12":0.0074,"13":0.0074,"14":0.0074,"15":0.0074,"16":0.0074,"17":0.04439,"18":0.3773,"79":0,"80":0.0074,"81":0.0074,"83":0.11097,"84":0.14796},I:{"3":0,"4":0.00781,_:"81","2.1":0,"2.2":0,"2.3":0.00078,"4.1":0.01328,"4.2-4.3":0.02188,"4.4":0,"4.4.3-4.4.4":0.13829},P:{"4":0.07155,"5.0-5.4":0,"6.2-6.4":0.07155,"7.2-7.4":0.02044,"8.2":0,"9.2":0.07155,"10.1":0.04088,"11.1-11.2":0.20442,"12.0":1.22652},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02477,"9":0.01652,"10":0.01652,"11":0.2973,"5.5":0},J:{"7":0,"10":0.0052},N:{"10":0,"11":0.01561},L:{"0":32.59978},S:{"2.5":0},R:{_:"0"},M:{"0":0.07546},Q:{"10.4":0.01041},O:{"0":0.20556},H:{"0":0.81539}}; diff --git a/node_modules/caniuse-lite/data/regions/BZ.js b/node_modules/caniuse-lite/data/regions/BZ.js new file mode 100644 index 000000000..2d4a87054 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/BZ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00492,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0.01966,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.04915,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01475,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0.00492,"63":0,"64":0,"65":0,"66":0,"67":0.00983,"68":0.33914,"69":0,"70":0,"71":0,"72":0.04424,"73":0.00492,"74":0.00492,"75":0.00492,"76":0.11305,"77":0.53082,"78":1.72025,"79":0.09339,"80":0.00492,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00492,"39":0,"40":0,"41":0.03932,"42":0,"43":0.00983,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.27033,"50":0,"51":0,"52":0,"53":0.01475,"54":0,"55":0.05407,"56":0.00492,"57":0,"58":0,"59":0.00492,"60":0.00983,"61":0,"62":0,"63":0.01475,"64":0,"65":0.03932,"66":0,"67":0.00492,"68":0.00983,"69":0.00492,"70":0.00983,"71":0.01475,"72":0,"73":0.01475,"74":0.00492,"75":0.04915,"76":0.03932,"77":0.11305,"78":0.02458,"79":0.02458,"80":0.14745,"81":0.14254,"83":8.60617,"84":5.1755,"85":0.01966,"86":0.00492,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00983,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.27524,"69":0.0983,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00373,"4.0-4.1":0.00373,"4.2-4.3":0.00373,"5.0-5.1":0.01119,"6.0-6.1":0.00373,"7.0-7.1":0.01491,"8.1-8.4":0.02237,"9.0-9.2":0.02983,"9.3":0.24607,"10.0-10.2":0.06338,"10.3":0.29827,"11.0-11.2":0.21997,"11.3-11.4":0.34674,"12.0-12.1":0.46977,"12.2-12.4":2.85964,"13.0-13.1":0.53315,"13.2":0.26098,"13.3":2.60611,"13.4-13.5":6.3009,_:"14.0"},E:{"4":0.00492,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00983,"12":0.07373,"13":0.1622,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.02458,"10.1":0.02949,"11.1":0.05407,"12.1":0.03932,"13.1":1.02232},B:{"12":0.01475,"13":0.02949,"14":0.00492,"15":0.03441,"16":0.00983,"17":0.09339,"18":0.37846,"79":0,"80":0,"81":0.01475,"83":0.6881,"84":0.40303},I:{"3":0,"4":0.06651,_:"81","2.1":0,"2.2":0,"2.3":0.00665,"4.1":0.11306,"4.2-4.3":0.18622,"4.4":0,"4.4.3-4.4.4":1.17715},P:{"4":0.09702,"5.0-5.4":0,"6.2-6.4":0.02156,"7.2-7.4":0.20482,"8.2":0.01078,"9.2":0.09702,"10.1":0.04312,"11.1-11.2":0.86242,"12.0":3.24484},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.06545,"9":0,"10":0,"11":0.16064,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":53.54018},S:{"2.5":0},R:{_:"0"},M:{"0":0.8136},Q:{"10.4":0.02034},O:{"0":0.39663},H:{"0":0.10591}}; diff --git a/node_modules/caniuse-lite/data/regions/CA.js b/node_modules/caniuse-lite/data/regions/CA.js new file mode 100644 index 000000000..61969e1c5 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.0059,"27":0.02948,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.0059,"44":0.0059,"45":0.0059,"46":0,"47":0.0059,"48":0.01769,"49":0,"50":0.0059,"51":0.0059,"52":0.05895,"53":0.0059,"54":0.0059,"55":0.01179,"56":0.01179,"57":0,"58":0.0059,"59":0.0059,"60":0.0059,"61":0,"62":0.0059,"63":0.41265,"64":0.03537,"65":0.02358,"66":0.02358,"67":0.0059,"68":0.20633,"69":0.0059,"70":0.0059,"71":0.0059,"72":0.01769,"73":0.01179,"74":0.01769,"75":0.02358,"76":0.03537,"77":0.48929,"78":1.62702,"79":0.08843,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.0059,"23":0,"24":0,"25":0.01179,"26":0,"27":0,"28":0,"29":0.0059,"30":0,"31":0,"32":0,"33":0,"34":0.0059,"35":0,"36":0.0059,"37":0,"38":0.0059,"39":0,"40":0.01179,"41":0.0059,"42":0,"43":0.0059,"44":0,"45":0,"46":0,"47":0,"48":0.01179,"49":0.31244,"50":0,"51":0.0059,"52":0.0059,"53":0.01179,"54":0.0059,"55":0.0059,"56":0.0059,"57":0.01179,"58":0.0059,"59":0.0059,"60":0.0059,"61":0.01769,"62":0.01179,"63":0.01769,"64":0.01179,"65":0.02358,"66":0.01179,"67":0.04127,"68":0.14738,"69":0.03537,"70":0.56003,"71":0.20633,"72":0.16506,"73":0.12969,"74":0.04127,"75":0.06485,"76":0.06485,"77":0.04127,"78":0.07664,"79":0.15917,"80":0.28296,"81":0.38907,"83":10.56384,"84":5.75352,"85":0.01179,"86":0.0059,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.0059,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01769,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.01179,"57":0.01179,"58":0.01769,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.18275,"69":0.08253,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0059},G:{"8":0,"3.2":0.00833,"4.0-4.1":0.00833,"4.2-4.3":0.00833,"5.0-5.1":0.02499,"6.0-6.1":0.00833,"7.0-7.1":0.03333,"8.1-8.4":0.04999,"9.0-9.2":0.06665,"9.3":0.54987,"10.0-10.2":0.14163,"10.3":0.66651,"11.0-11.2":0.49155,"11.3-11.4":0.77482,"12.0-12.1":1.04975,"12.2-12.4":6.39015,"13.0-13.1":1.19138,"13.2":0.58319,"13.3":5.82361,"13.4-13.5":14.07998,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.0059,"9":0,"10":0.0059,"11":0.01769,"12":0.04127,"13":0.34191,"14":0.01769,_:"0","3.1":0,"3.2":0,"5.1":0.0059,"6.1":0.0059,"7.1":0,"9.1":0.02358,"10.1":0.07074,"11.1":0.14738,"12.1":0.20633,"13.1":3.51342},B:{"12":0,"13":0.0059,"14":0.01179,"15":0.01179,"16":0.02358,"17":0.45392,"18":0.76635,"79":0,"80":0.0059,"81":0.05306,"83":1.07879,"84":0.92552},I:{"3":0,"4":0.02061,_:"81","2.1":0,"2.2":0,"2.3":0.00206,"4.1":0.03504,"4.2-4.3":0.05771,"4.4":0,"4.4.3-4.4.4":0.3648},P:{"4":0.09692,"5.0-5.4":0.01077,"6.2-6.4":0,"7.2-7.4":0.02154,"8.2":0.01077,"9.2":0.05384,"10.1":0.05384,"11.1-11.2":0.39844,"12.0":3.24132},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.02733,"7":0,"8":0.04783,"9":0.03417,"10":0.0205,"11":1.2437,"5.5":0},J:{"7":0,"10":0.02874},N:{"10":0,"11":0},L:{"0":26.9125},S:{"2.5":0},R:{_:"0"},M:{"0":0.34482},Q:{"10.4":0.04516},O:{"0":0.22578},H:{"0":0.12048}}; diff --git a/node_modules/caniuse-lite/data/regions/CD.js b/node_modules/caniuse-lite/data/regions/CD.js new file mode 100644 index 000000000..738941089 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CD.js @@ -0,0 +1 @@ +module.exports={C:{"3":0.02436,"19":0.00914,"24":0.00305,"25":0.00305,"30":0.00609,"31":0.00305,"38":0.00305,"40":0.00305,"41":0.00914,"43":0.01218,"44":0.00609,"45":0.00914,"46":0.00609,"47":0.01218,"48":0.03045,"49":0.00609,"50":0.00305,"52":0.01218,"56":0.00609,"57":0.00305,"58":0.00305,"60":0.00914,"61":0.00305,"62":0.00609,"66":0.00914,"67":0.01523,"68":0.17661,"69":0.00914,"70":0.00609,"72":0.06699,"73":0.02436,"74":0.01827,"75":0.02132,"76":0.03654,"77":0.83433,"78":2.71919,"79":0.19793,"80":0.00609,_:"2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22 23 26 27 28 29 32 33 34 35 36 37 39 42 51 53 54 55 59 63 64 65 71 81 3.5 3.6"},D:{"11":0.00914,"18":0.03654,"23":0.01218,"26":0.00609,"29":0.00305,"32":0.00305,"33":0.00609,"38":0.00914,"40":0.0944,"42":0.00305,"43":0.02132,"49":0.10658,"50":0.00305,"53":0.00305,"55":0.00609,"56":0.00609,"57":0.00609,"58":0.00914,"60":0.00609,"61":0.00305,"62":0.00305,"63":0.0944,"64":0.01218,"65":0.01523,"66":0.00609,"67":0.01827,"69":0.02436,"70":0.02132,"71":0.00914,"72":0.00609,"73":0.01827,"74":0.0335,"75":0.02436,"76":0.02436,"77":0.0609,"78":0.03959,"79":0.22229,"80":0.20706,"81":0.20706,"83":7.59119,"84":4.85373,"85":0.02132,"86":0.00305,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 19 20 21 22 24 25 27 28 30 31 34 35 36 37 39 41 44 45 46 47 48 51 52 54 59 68 87"},F:{"15":0.00609,"18":0.00914,"30":0.00609,"34":0.00305,"37":0.02132,"42":0.01827,"46":0.00305,"48":0.03959,"51":0.00609,"56":0.00305,"60":0.00914,"62":0.00914,"63":0.02132,"64":0.00609,"65":0.04568,"66":0.04872,"67":0.05481,"68":2.08583,"69":1.19364,_:"9 11 12 16 17 19 20 21 22 23 24 25 26 27 28 29 31 32 33 35 36 38 39 40 41 43 44 45 47 49 50 52 53 54 55 57 58 9.5-9.6 10.5 10.6 11.1 11.6","10.0-10.1":0,"11.5":0.00305,"12.1":0.00609},G:{"8":0,"3.2":0.00118,"4.0-4.1":0.00118,"4.2-4.3":0.00118,"5.0-5.1":0.00354,"6.0-6.1":0.00118,"7.0-7.1":0.00472,"8.1-8.4":0.00707,"9.0-9.2":0.00943,"9.3":0.07781,"10.0-10.2":0.02004,"10.3":0.09432,"11.0-11.2":0.06956,"11.3-11.4":0.10964,"12.0-12.1":0.14855,"12.2-12.4":0.90427,"13.0-13.1":0.16859,"13.2":0.08253,"13.3":0.8241,"13.4-13.5":1.99246,_:"14.0"},E:{"4":0,"8":0.00609,"11":0.11876,"12":0.25578,"13":0.15225,"14":0.03654,_:"0 5 6 7 9 10 3.1 3.2 6.1 7.1","5.1":0.01218,"9.1":0.01218,"10.1":0.05481,"11.1":0.06395,"12.1":0.26796,"13.1":0.85869},B:{"12":0.15225,"13":0.0609,"14":0.02741,"15":0.07004,"16":0.04263,"17":0.19184,"18":0.43544,"81":0.03654,"83":0.66077,"84":0.44457,_:"79 80"},I:{"3":0,"4":0.0197,_:"81","2.1":0,"2.2":0,"2.3":0.00197,"4.1":0.03349,"4.2-4.3":0.05515,"4.4":0,"4.4.3-4.4.4":0.34866},P:{"4":0.49253,"5.0-5.4":0.05131,"6.2-6.4":0.03078,"7.2-7.4":0.13339,"8.2":0.01026,"9.2":0.22574,"10.1":0.236,"11.1-11.2":0.52331,"12.0":0.6054},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.45625,"11":0.72825,_:"6 7 9 10 5.5"},J:{"7":0,"10":0.06954},N:{"10":0.02086,"11":0.02007},L:{"0":36.7621},S:{"2.5":0.06954},R:{_:"0"},M:{"0":0.27816},Q:{"10.4":0.20167},O:{"0":1.76632},H:{"0":24.25397}}; diff --git a/node_modules/caniuse-lite/data/regions/CF.js b/node_modules/caniuse-lite/data/regions/CF.js new file mode 100644 index 000000000..e91a9b84f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CF.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.01402,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.0028,"34":0,"35":0.0028,"36":0,"37":0,"38":0,"39":0.0028,"40":0.0028,"41":0,"42":0,"43":0.00561,"44":0,"45":0.0028,"46":0,"47":0.0028,"48":0,"49":0,"50":0.0028,"51":0,"52":0.0897,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00561,"61":0,"62":0,"63":0,"64":0.00561,"65":0,"66":0,"67":0,"68":0.1906,"69":0,"70":0,"71":0,"72":0.01682,"73":0.00561,"74":0.00841,"75":0.0028,"76":0.00841,"77":0.30553,"78":0.81567,"79":0.04205,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0028,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.0028,"39":0,"40":0.00561,"41":0,"42":0,"43":0.00561,"44":0,"45":0,"46":0.0028,"47":0,"48":0,"49":0.01121,"50":0.0028,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.0028,"59":0.0028,"60":0,"61":0,"62":0.0028,"63":0.0028,"64":0.00561,"65":0.0028,"66":0.00561,"67":0.0028,"68":0,"69":0.00841,"70":0,"71":0.00841,"72":0.00561,"73":0.0028,"74":0.0028,"75":0,"76":0.01121,"77":0.0028,"78":0.00841,"79":0.01121,"80":0.03364,"81":0.06167,"83":2.82262,"84":1.19408,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.0028,"47":0.0028,"48":0,"49":0,"50":0.00841,"51":0,"52":0,"53":0.0028,"54":0,"55":0,"56":0,"57":0.0028,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.06727,"69":0.04205,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01121},G:{"8":0,"3.2":0.00104,"4.0-4.1":0.00104,"4.2-4.3":0.00104,"5.0-5.1":0.00312,"6.0-6.1":0.00104,"7.0-7.1":0.00416,"8.1-8.4":0.00624,"9.0-9.2":0.00832,"9.3":0.06865,"10.0-10.2":0.01768,"10.3":0.08321,"11.0-11.2":0.06137,"11.3-11.4":0.09673,"12.0-12.1":0.13106,"12.2-12.4":0.7978,"13.0-13.1":0.14874,"13.2":0.07281,"13.3":0.72707,"13.4-13.5":1.75787,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.01402,"10":0,"11":0,"12":0,"13":0.01962,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":0.12614},B:{"12":0.03644,"13":0.01682,"14":0.02523,"15":0.1906,"16":0.0028,"17":0.02242,"18":0.07848,"79":0,"80":0,"81":0,"83":0.2775,"84":0.06447},I:{"3":0,"4":0.01263,_:"81","2.1":0,"2.2":0,"2.3":0.00126,"4.1":0.02146,"4.2-4.3":0.03535,"4.4":0,"4.4.3-4.4.4":0.22346},P:{"4":0.21283,"5.0-5.4":0.24323,"6.2-6.4":0.0304,"7.2-7.4":0.15202,"8.2":0.0304,"9.2":0.16216,"10.1":4.56061,"11.1-11.2":2.70596,"12.0":2.05734},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01962,"9":0,"10":0,"11":0.20182,"5.5":0},J:{"7":0,"10":0.11515},N:{"10":0,"11":0},L:{"0":65.1546},S:{"2.5":0.01439},R:{_:"0"},M:{"0":0.55417},Q:{"10.4":0.0072},O:{"0":0.94281},H:{"0":6.03008}}; diff --git a/node_modules/caniuse-lite/data/regions/CG.js b/node_modules/caniuse-lite/data/regions/CG.js new file mode 100644 index 000000000..1648fe058 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CG.js @@ -0,0 +1 @@ +module.exports={C:{"3":0.12857,"19":0.01905,"26":0.00952,"27":0.00476,"39":0.23334,"41":0.00952,"43":0.01429,"47":0.01905,"50":0.00476,"52":0.07619,"56":0.01905,"60":0.00952,"61":0.00952,"66":0.01905,"68":0.15238,"69":0.00952,"70":0.02857,"71":0.00476,"72":0.05714,"73":0.04286,"74":0.03333,"75":0.06667,"76":0.21429,"77":1.82385,"78":6.1525,"79":0.37144,"80":0.04762,"81":0.00952,_:"2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 28 29 30 31 32 33 34 35 36 37 38 40 42 44 45 46 48 49 51 53 54 55 57 58 59 62 63 64 65 67 3.5 3.6"},D:{"33":0.01429,"38":0.00476,"43":0.00952,"47":0.01429,"49":0.25239,"56":0.03333,"58":0.04286,"60":0.00476,"63":0.18572,"64":0.00476,"65":0.04762,"67":0.00952,"68":0.00476,"69":0.00952,"70":0.01429,"73":0.01429,"74":0.10476,"75":0.03333,"76":0.08572,"77":0.08572,"78":0.04286,"79":0.20477,"80":0.38096,"81":0.31905,"83":13.00502,"84":8.80018,"85":0.00476,"86":0.02857,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 39 40 41 42 44 45 46 48 50 51 52 53 54 55 57 59 61 62 66 71 72 87"},F:{"35":0.00476,"36":0.01905,"37":0.00476,"42":0.02381,"44":0.00476,"64":0.00476,"65":0.01905,"67":0.04286,"68":2.95244,"69":1.60956,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 38 39 40 41 43 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 66 9.5-9.6 10.5 10.6 11.1 11.5 11.6","10.0-10.1":0,"12.1":0.00952},G:{"8":0,"3.2":0.00093,"4.0-4.1":0.00093,"4.2-4.3":0.00093,"5.0-5.1":0.00279,"6.0-6.1":0.00093,"7.0-7.1":0.00372,"8.1-8.4":0.00558,"9.0-9.2":0.00743,"9.3":0.06134,"10.0-10.2":0.0158,"10.3":0.07435,"11.0-11.2":0.05483,"11.3-11.4":0.08643,"12.0-12.1":0.1171,"12.2-12.4":0.71283,"13.0-13.1":0.1329,"13.2":0.06506,"13.3":0.64963,"13.4-13.5":1.57064,_:"14.0"},E:{"4":0,"11":0.11429,"12":0.00952,"13":0.18096,"14":0.00476,_:"0 5 6 7 8 9 10 3.1 3.2 5.1 6.1","7.1":0.00476,"9.1":0.00476,"10.1":0.04286,"11.1":0.03333,"12.1":0.14286,"13.1":0.56668},B:{"12":0.18096,"13":0.02381,"14":0.03333,"15":0.02857,"16":0.03333,"17":0.1,"18":0.7524,"81":0.02381,"83":0.92383,"84":0.74287,_:"79 80"},I:{"3":0,"4":0.03013,_:"81","2.1":0,"2.2":0,"2.3":0.00301,"4.1":0.05122,"4.2-4.3":0.08436,"4.4":0,"4.4.3-4.4.4":0.5333},P:{"4":0.66085,"5.0-5.4":0.02065,"6.2-6.4":0.01033,"7.2-7.4":0.06195,"8.2":0.01026,"9.2":0.44401,"10.1":0.20652,"11.1-11.2":0.2788,"12.0":0.80541},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.187,"11":0.85588,_:"6 7 9 10 5.5"},J:{"7":0,"10":0.14145},N:{"10":0.02086,"11":0.02007},L:{"0":43.01546},S:{"2.5":0.31434},R:{_:"0"},M:{"0":0.39293},Q:{"10.4":0.13098},O:{"0":1.98034},H:{"0":2.56925}}; diff --git a/node_modules/caniuse-lite/data/regions/CH.js b/node_modules/caniuse-lite/data/regions/CH.js new file mode 100644 index 000000000..f6e4124f9 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CH.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.01171,"27":0.04099,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00586,"44":0,"45":0.00586,"46":0,"47":0.01171,"48":0.03514,"49":0,"50":0.00586,"51":0.00586,"52":0.0527,"53":0,"54":0.00586,"55":0,"56":0.04099,"57":0.00586,"58":0.00586,"59":0.00586,"60":0.02928,"61":0.00586,"62":0.00586,"63":0.00586,"64":0.00586,"65":0.00586,"66":0.01757,"67":0.01171,"68":0.51533,"69":0.00586,"70":0.01757,"71":0.01171,"72":0.03514,"73":0.01171,"74":0.04099,"75":0.02928,"76":0.07613,"77":0.99552,"78":3.2735,"79":0.15811,"80":0.00586,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00586,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00586,"28":0.01757,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00586,"35":0,"36":0,"37":0,"38":0.01171,"39":0,"40":0.00586,"41":0.01757,"42":0,"43":0,"44":0,"45":0.01171,"46":0.00586,"47":0,"48":0.00586,"49":0.18154,"50":0,"51":0.00586,"52":0.0527,"53":0.01171,"54":0,"55":0,"56":0,"57":0.01171,"58":0.00586,"59":0.00586,"60":0.02342,"61":0.04099,"62":0.00586,"63":0.01757,"64":0.01171,"65":0.01757,"66":0.04685,"67":0.02342,"68":0.01171,"69":0.01757,"70":0.02928,"71":0.02928,"72":0.02928,"73":0.02342,"74":0.02342,"75":0.04685,"76":0.02342,"77":0.04685,"78":0.05856,"79":0.09955,"80":0.24595,"81":0.39821,"83":8.79571,"84":4.35686,"85":0.01757,"86":0.00586,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00586,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01171,"51":0,"52":0,"53":0.00586,"54":0,"55":0,"56":0.00586,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.35722,"69":0.18739,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00787,"4.0-4.1":0.00787,"4.2-4.3":0.00787,"5.0-5.1":0.02362,"6.0-6.1":0.00787,"7.0-7.1":0.0315,"8.1-8.4":0.04725,"9.0-9.2":0.063,"9.3":0.51973,"10.0-10.2":0.13387,"10.3":0.62998,"11.0-11.2":0.46461,"11.3-11.4":0.73235,"12.0-12.1":0.99221,"12.2-12.4":6.03991,"13.0-13.1":1.12608,"13.2":0.55123,"13.3":5.50443,"13.4-13.5":13.30827,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00586,"9":0,"10":0.03514,"11":0.04685,"12":0.07613,"13":0.5329,"14":0.02342,_:"0","3.1":0,"3.2":0,"5.1":0.00586,"6.1":0.00586,"7.1":0,"9.1":0.03514,"10.1":0.08784,"11.1":0.22253,"12.1":0.36307,"13.1":4.79606},B:{"12":0,"13":0.00586,"14":0.01757,"15":0.01171,"16":0.04685,"17":0.12298,"18":2.00861,"79":0,"80":0.01757,"81":0.07027,"83":0.6793,"84":0.66758},I:{"3":0,"4":0.00815,_:"81","2.1":0,"2.2":0,"2.3":0.00082,"4.1":0.01386,"4.2-4.3":0.02283,"4.4":0,"4.4.3-4.4.4":0.14433},P:{"4":0.17926,"5.0-5.4":0.01054,"6.2-6.4":0.01054,"7.2-7.4":0.03163,"8.2":0.02109,"9.2":0.10544,"10.1":0.16871,"11.1-11.2":0.81192,"12.0":3.75383},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.006,"9":0.018,"10":0.006,"11":1.67409,"5.5":0},J:{"7":0,"10":0.00414},N:{"10":0,"11":0.01243},L:{"0":26.32741},S:{"2.5":0},R:{_:"0"},M:{"0":0.6216},Q:{"10.4":0.02901},O:{"0":0.09946},H:{"0":0.25501}}; diff --git a/node_modules/caniuse-lite/data/regions/CI.js b/node_modules/caniuse-lite/data/regions/CI.js new file mode 100644 index 000000000..691917a01 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CI.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00525,"27":0.00525,"28":0,"29":0,"30":0,"31":0,"32":0.0105,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.0105,"44":0,"45":0,"46":0,"47":0.0105,"48":0.02101,"49":0,"50":0,"51":0,"52":0.05252,"53":0,"54":0.00525,"55":0,"56":0.00525,"57":0,"58":0,"59":0,"60":0.01576,"61":0,"62":0,"63":0.00525,"64":0.00525,"65":0,"66":0.00525,"67":0,"68":0.11554,"69":0.00525,"70":0,"71":0.00525,"72":0.03676,"73":0.00525,"74":0.01576,"75":0.0105,"76":0.02101,"77":0.55146,"78":1.94324,"79":0.08403,"80":0.00525,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.01576,"30":0,"31":0,"32":0,"33":0.0105,"34":0,"35":0,"36":0,"37":0,"38":0.00525,"39":0,"40":0.01576,"41":0,"42":0,"43":0.02101,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.25735,"50":0.0105,"51":0.00525,"52":0,"53":0.00525,"54":0.00525,"55":0.00525,"56":0.00525,"57":0.0105,"58":0.0105,"59":0.00525,"60":0.00525,"61":0.00525,"62":0.00525,"63":0.04727,"64":0.01576,"65":0.06302,"66":0.0105,"67":0.06828,"68":0.00525,"69":0.11554,"70":0.03151,"71":0.03676,"72":0.04727,"73":0.07878,"74":0.08403,"75":0.09979,"76":0.07353,"77":0.06828,"78":0.09454,"79":0.1418,"80":0.45167,"81":0.29936,"83":10.1101,"84":6.36542,"85":0.07353,"86":0.03676,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0.00525,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00525,"48":0,"49":0.00525,"50":0.01576,"51":0,"52":0,"53":0.0105,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.02101,"64":0,"65":0.02101,"66":0.00525,"67":0.00525,"68":0.89809,"69":0.61448,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0105},G:{"8":0,"3.2":0.00267,"4.0-4.1":0.00267,"4.2-4.3":0.00267,"5.0-5.1":0.00802,"6.0-6.1":0.00267,"7.0-7.1":0.01069,"8.1-8.4":0.01603,"9.0-9.2":0.02137,"9.3":0.17634,"10.0-10.2":0.04542,"10.3":0.21374,"11.0-11.2":0.15763,"11.3-11.4":0.24848,"12.0-12.1":0.33664,"12.2-12.4":2.04925,"13.0-13.1":0.38206,"13.2":0.18702,"13.3":1.86757,"13.4-13.5":4.5153,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00525,"11":0.01576,"12":0.02626,"13":0.16806,"14":0.0105,_:"0","3.1":0,"3.2":0,"5.1":0.02101,"6.1":0,"7.1":0,"9.1":0.0105,"10.1":0.00525,"11.1":0.04202,"12.1":0.09454,"13.1":0.63024},B:{"12":0.0105,"13":0.01576,"14":0.01576,"15":0.0105,"16":0.0105,"17":0.05252,"18":0.51995,"79":0,"80":0,"81":0.02101,"83":0.49369,"84":0.37289},I:{"3":0,"4":0.01392,_:"81","2.1":0,"2.2":0,"2.3":0.00139,"4.1":0.02366,"4.2-4.3":0.03896,"4.4":0,"4.4.3-4.4.4":0.24631},P:{"4":0.1024,"5.0-5.4":0,"6.2-6.4":0.03072,"7.2-7.4":0.14336,"8.2":0.02048,"9.2":0.15359,"10.1":0.11264,"11.1-11.2":0.43007,"12.0":0.70654},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02595,"9":0,"10":0,"11":0.08434,"5.5":0},J:{"7":0,"10":0.01899},N:{"10":0,"11":0},L:{"0":56.25712},S:{"2.5":0.01424},R:{_:"0"},M:{"0":0.16143},Q:{"10.4":0.02849},O:{"0":0.37509},H:{"0":1.86547}}; diff --git a/node_modules/caniuse-lite/data/regions/CK.js b/node_modules/caniuse-lite/data/regions/CK.js new file mode 100644 index 000000000..4dd39d9cd --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CK.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.00857,"66":0,"67":0,"68":0.03429,"69":0,"70":0,"71":0,"72":0.01714,"73":0.00857,"74":0.07715,"75":0.00857,"76":0,"77":0.23144,"78":0.4886,"79":0.03429,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":61.16979,"47":0,"48":0,"49":0.10286,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.07715,"64":0,"65":0,"66":0.03429,"67":0.01714,"68":0,"69":0.00857,"70":0,"71":0,"72":0.04286,"73":0,"74":0.01714,"75":0,"76":0,"77":0,"78":0.02572,"79":0.24859,"80":0.01714,"81":0.13715,"83":3.76311,"84":2.28872,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.02572,"69":0.03429,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00225,"4.0-4.1":0.00225,"4.2-4.3":0.00225,"5.0-5.1":0.00674,"6.0-6.1":0.00225,"7.0-7.1":0.00898,"8.1-8.4":0.01347,"9.0-9.2":0.01797,"9.3":0.14822,"10.0-10.2":0.03818,"10.3":0.17966,"11.0-11.2":0.1325,"11.3-11.4":0.20885,"12.0-12.1":0.28296,"12.2-12.4":1.72245,"13.0-13.1":0.32113,"13.2":0.1572,"13.3":1.56974,"13.4-13.5":3.79522,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.20573,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0.06,"12.1":0.02572,"13.1":0.51432},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.03429,"18":0.10286,"79":0,"80":0,"81":0,"83":0.39431,"84":0.29145},I:{"3":0,"4":0.00184,_:"81","2.1":0,"2.2":0,"2.3":0.00018,"4.1":0.00313,"4.2-4.3":0.00515,"4.4":0,"4.4.3-4.4.4":0.03256},P:{"4":0.01019,"5.0-5.4":0,"6.2-6.4":0.03057,"7.2-7.4":0.02038,"8.2":0,"9.2":0.13249,"10.1":0.2344,"11.1-11.2":0.27517,"12.0":1.23316},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":1.90298,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":14.71151},S:{"2.5":0},R:{_:"0"},M:{"0":0.00286},Q:{"10.4":0},O:{"0":0.03713},H:{"0":0.05678}}; diff --git a/node_modules/caniuse-lite/data/regions/CL.js b/node_modules/caniuse-lite/data/regions/CL.js new file mode 100644 index 000000000..18d25b0e2 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CL.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00561,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00561,"49":0,"50":0,"51":0,"52":0.02245,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00561,"61":0,"62":0,"63":0.00561,"64":0,"65":0.00561,"66":0.00561,"67":0,"68":0.06734,"69":0,"70":0.00561,"71":0,"72":0.00561,"73":0.00561,"74":0.00561,"75":0.01122,"76":0.01122,"77":0.2806,"78":1.15046,"79":0.06173,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00561,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00561,"35":0,"36":0,"37":0,"38":0.01684,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.13469,"50":0,"51":0.00561,"52":0,"53":0.02245,"54":0,"55":0,"56":0,"57":0,"58":0.00561,"59":0,"60":0,"61":0.01684,"62":0.00561,"63":0.01122,"64":0.00561,"65":0.03367,"66":0.00561,"67":0.03928,"68":0.00561,"69":0.00561,"70":0.02806,"71":0.03367,"72":0.02245,"73":0.03367,"74":0.02245,"75":0.02806,"76":0.02806,"77":0.02806,"78":0.05051,"79":0.07296,"80":0.19081,"81":0.1852,"83":14.42284,"84":9.50673,"85":0.01122,"86":0.00561,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0.00561,"66":0,"67":0.00561,"68":0.72956,"69":0.24693,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00219,"4.0-4.1":0.00219,"4.2-4.3":0.00219,"5.0-5.1":0.00657,"6.0-6.1":0.00219,"7.0-7.1":0.00876,"8.1-8.4":0.01314,"9.0-9.2":0.01752,"9.3":0.14451,"10.0-10.2":0.03722,"10.3":0.17516,"11.0-11.2":0.12918,"11.3-11.4":0.20363,"12.0-12.1":0.27588,"12.2-12.4":1.67938,"13.0-13.1":0.3131,"13.2":0.15327,"13.3":1.53049,"13.4-13.5":3.70033,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00561,"10":0,"11":0.01684,"12":0.0449,"13":0.1852,"14":0.00561,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00561,"10.1":0.03367,"11.1":0.07857,"12.1":0.1403,"13.1":1.43667},B:{"12":0,"13":0,"14":0.00561,"15":0,"16":0.00561,"17":0.01122,"18":0.14591,"79":0,"80":0,"81":0.00561,"83":0.43212,"84":0.34794},I:{"3":0,"4":0.00434,_:"81","2.1":0,"2.2":0,"2.3":0.00043,"4.1":0.00739,"4.2-4.3":0.01216,"4.4":0,"4.4.3-4.4.4":0.0769},P:{"4":0.18487,"5.0-5.4":0.01027,"6.2-6.4":0,"7.2-7.4":0.05135,"8.2":0.01027,"9.2":0.13351,"10.1":0.08216,"11.1-11.2":0.32865,"12.0":1.09892},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01231,"9":0.00616,"10":0,"11":0.17234,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":56.98247},S:{"2.5":0},R:{_:"0"},M:{"0":0.07898},Q:{"10.4":0.00878},O:{"0":0.02194},H:{"0":0.08309}}; diff --git a/node_modules/caniuse-lite/data/regions/CM.js b/node_modules/caniuse-lite/data/regions/CM.js new file mode 100644 index 000000000..117e4d5c6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.00441,"22":0.01763,"23":0,"24":0,"25":0,"26":0,"27":0.00882,"28":0,"29":0,"30":0.00441,"31":0.00441,"32":0,"33":0,"34":0.00441,"35":0.00441,"36":0,"37":0.00441,"38":0.00441,"39":0,"40":0.00441,"41":0.00441,"42":0.00441,"43":0.03086,"44":0.00441,"45":0.00441,"46":0,"47":0.01763,"48":0.02645,"49":0.01322,"50":0.00441,"51":0.00441,"52":0.14106,"53":0.00882,"54":0.00441,"55":0.00441,"56":0.01763,"57":0.00441,"58":0,"59":0.00441,"60":0.01322,"61":0.00882,"62":0.00882,"63":0.00882,"64":0.00441,"65":0.00882,"66":0.00882,"67":0.00882,"68":0.29534,"69":0.00882,"70":0.01322,"71":0.00882,"72":0.06612,"73":0.01322,"74":0.00882,"75":0.02204,"76":0.06171,"77":0.70969,"78":2.49493,"79":0.15869,"80":0.00441,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00441,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00441,"21":0,"22":0,"23":0.00441,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00441,"34":0,"35":0.00441,"36":0,"37":0,"38":0.00441,"39":0,"40":0.00441,"41":0,"42":0,"43":0.01322,"44":0,"45":0,"46":0,"47":0,"48":0.00441,"49":0.09698,"50":0.00882,"51":0.00441,"52":0,"53":0,"54":0,"55":0.00882,"56":0.00882,"57":0.00441,"58":0.00882,"59":0,"60":0.00882,"61":0,"62":0.00441,"63":0.0573,"64":0.01322,"65":0.01322,"66":0.01322,"67":0.01322,"68":0.00882,"69":0.03086,"70":0.00882,"71":0.00882,"72":0.02645,"73":0.01763,"74":0.02645,"75":0.03526,"76":0.03526,"77":0.0573,"78":0.04849,"79":0.07494,"80":0.22481,"81":0.15869,"83":4.82235,"84":3.03711,"85":0.00882,"86":0.00441,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00441,"21":0,"22":0,"23":0.00882,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00882,"38":0,"39":0,"40":0,"41":0,"42":0.00441,"43":0,"44":0,"45":0.00441,"46":0.02204,"47":0.00441,"48":0,"49":0,"50":0.04408,"51":0,"52":0,"53":0.00441,"54":0,"55":0,"56":0,"57":0,"58":0.00441,"60":0,"62":0,"63":0.00441,"64":0,"65":0.00882,"66":0.00441,"67":0.01322,"68":0.78462,"69":0.48047,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.03086},G:{"8":0,"3.2":0.00132,"4.0-4.1":0.00132,"4.2-4.3":0.00132,"5.0-5.1":0.00396,"6.0-6.1":0.00132,"7.0-7.1":0.00528,"8.1-8.4":0.00792,"9.0-9.2":0.01056,"9.3":0.08715,"10.0-10.2":0.02245,"10.3":0.10563,"11.0-11.2":0.0779,"11.3-11.4":0.1228,"12.0-12.1":0.16637,"12.2-12.4":1.01274,"13.0-13.1":0.18882,"13.2":0.09243,"13.3":0.92295,"13.4-13.5":2.23145,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00441,"10":0,"11":0.00882,"12":0,"13":0.03086,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.02204,"6.1":0,"7.1":0,"9.1":0.00441,"10.1":0.01322,"11.1":0.02204,"12.1":0.0573,"13.1":0.18073},B:{"12":0.03086,"13":0.02204,"14":0.0573,"15":0.04408,"16":0.53778,"17":0.04849,"18":0.18514,"79":0,"80":0,"81":0.01322,"83":0.31738,"84":0.22922},I:{"3":0,"4":0.02069,_:"81","2.1":0,"2.2":0,"2.3":0.00207,"4.1":0.03517,"4.2-4.3":0.05793,"4.4":0,"4.4.3-4.4.4":0.36618},P:{"4":0.42254,"5.0-5.4":0.13078,"6.2-6.4":0.07042,"7.2-7.4":0.14085,"8.2":0.03018,"9.2":0.18109,"10.1":0.16097,"11.1-11.2":0.50302,"12.0":0.51308},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.05571,"9":0,"10":0,"11":0.18232,"5.5":0},J:{"7":0,"10":0.03355},N:{"10":0,"11":0.01118},L:{"0":65.13831},S:{"2.5":0.06151},R:{_:"0"},M:{"0":0.44736},Q:{"10.4":0.03914},O:{"0":1.26938},H:{"0":4.21943}}; diff --git a/node_modules/caniuse-lite/data/regions/CN.js b/node_modules/caniuse-lite/data/regions/CN.js new file mode 100644 index 000000000..49330a961 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.00403,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.02416,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00805,"28":0,"29":0.00403,"30":0.00403,"31":0.00403,"32":0.00403,"33":0.10468,"34":0.00403,"35":0.00403,"36":0.01208,"37":0.00403,"38":0.00403,"39":0.00403,"40":0.00403,"41":0.00403,"42":0.00403,"43":0.59182,"44":0.00403,"45":0.00805,"46":0.00403,"47":0.00805,"48":0.00805,"49":0.00805,"50":0.00805,"51":0.00805,"52":0.03221,"53":0.02013,"54":0.02416,"55":0.0161,"56":0.02013,"57":0.02416,"58":0.0161,"59":0.02013,"60":0.0161,"61":0.01208,"62":0.01208,"63":0.01208,"64":0.01208,"65":0.01208,"66":0.00805,"67":0.01208,"68":0.04026,"69":0.00805,"70":0.00805,"71":0.00805,"72":0.00805,"73":0.00805,"74":0.00805,"75":0.00805,"76":0.01208,"77":0.07649,"78":0.21338,"79":0.00805,"80":0,"81":0,"3.5":0,"3.6":0.00403},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00805,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00403,"21":0.00403,"22":0,"23":0,"24":0,"25":0,"26":0.00403,"27":0,"28":0,"29":0,"30":0,"31":0.01208,"32":0,"33":0.00403,"34":0.00403,"35":0,"36":0.00403,"37":0,"38":0.00403,"39":0.00403,"40":0.03623,"41":0.00403,"42":0.00805,"43":0.00805,"44":0.00403,"45":0.04831,"46":0.00805,"47":0.05234,"48":0.11675,"49":0.1087,"50":0.00805,"51":0.00805,"52":0.00403,"53":0.00805,"54":0.02013,"55":0.06844,"56":0.02416,"57":0.18922,"58":0.01208,"59":0.02818,"60":0.01208,"61":0.0161,"62":0.1087,"63":0.08857,"64":0.01208,"65":0.04429,"66":0.0161,"67":0.08455,"68":0.02416,"69":0.52741,"70":0.13688,"71":0.08052,"72":0.70858,"73":0.08857,"74":0.37442,"75":0.13688,"76":0.08455,"77":0.05234,"78":0.20533,"79":0.10468,"80":0.27377,"81":0.22546,"83":1.30845,"84":0.53546,"85":0.02013,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00403,"68":0.02416,"69":0.00805,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00805},G:{"8":0,"3.2":0.00255,"4.0-4.1":0.00255,"4.2-4.3":0.00255,"5.0-5.1":0.00765,"6.0-6.1":0.00255,"7.0-7.1":0.01019,"8.1-8.4":0.01529,"9.0-9.2":0.02039,"9.3":0.16821,"10.0-10.2":0.04333,"10.3":0.2039,"11.0-11.2":0.15037,"11.3-11.4":0.23703,"12.0-12.1":0.32114,"12.2-12.4":1.95485,"13.0-13.1":0.36446,"13.2":0.17841,"13.3":1.78153,"13.4-13.5":4.30729,_:"14.0"},E:{"4":0.00403,"5":0.00403,"6":0.05234,"7":0.00403,"8":0.00403,"9":0.00805,"10":0.00805,"11":0.01208,"12":0.02013,"13":0.06844,"14":0.00403,_:"0","3.1":0,"3.2":0,"5.1":0.00403,"6.1":0.00403,"7.1":0,"9.1":0.00805,"10.1":0.01208,"11.1":0.02013,"12.1":0.04026,"13.1":0.2939},B:{"12":0.00403,"13":0.00403,"14":0.00805,"15":0.00403,"16":0.01208,"17":0.03623,"18":0.64819,"79":0,"80":0.00805,"81":0.01208,"83":0.11675,"84":0.09662},I:{"3":0,"4":0.09843,_:"81","2.1":0,"2.2":0,"2.3":0.00984,"4.1":0.16733,"4.2-4.3":0.2756,"4.4":0,"4.4.3-4.4.4":1.74218},P:{"4":0.06452,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.01075,"8.2":0,"9.2":0.03226,"10.1":0.02151,"11.1-11.2":0.12904,"12.0":0.22582},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.02412,"7":0.02412,"8":0.62707,"9":0.77178,"10":0.21706,"11":3.47302,"5.5":0},J:{"7":0,"10":0.00597},N:{"10":0.01195,"11":0.0239},L:{"0":40.85086},S:{"2.5":0},R:{_:"0"},M:{"0":0.08364},Q:{"10.4":7.70049},O:{"0":13.65656},H:{"0":0.07353}}; diff --git a/node_modules/caniuse-lite/data/regions/CO.js b/node_modules/caniuse-lite/data/regions/CO.js new file mode 100644 index 000000000..4e6d45ddc --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00703,"49":0,"50":0.00703,"51":0,"52":0.01406,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00703,"64":0.00703,"65":0.00703,"66":0.00703,"67":0,"68":0.05626,"69":0,"70":0,"71":0,"72":0.00703,"73":0.00703,"74":0.00703,"75":0.00703,"76":0.01406,"77":0.28128,"78":1.18841,"79":0.08438,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00703,"23":0,"24":0,"25":0,"26":0.00703,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01406,"39":0,"40":0,"41":0,"42":0.00703,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.09845,"50":0,"51":0,"52":0,"53":0.02813,"54":0,"55":0.00703,"56":0.00703,"57":0,"58":0.01406,"59":0,"60":0.00703,"61":0.00703,"62":0.01406,"63":0.02813,"64":0.00703,"65":0.04922,"66":0.01406,"67":0.04922,"68":0.01406,"69":0.02813,"70":0.05626,"71":0.07735,"72":0.07032,"73":0.06329,"74":0.06329,"75":0.07032,"76":0.08438,"77":0.08438,"78":0.10548,"79":0.1758,"80":0.36566,"81":0.34457,"83":23.85254,"84":16.41972,"85":0.01406,"86":0.00703,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.71726,"69":0.30238,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00135,"4.0-4.1":0.00135,"4.2-4.3":0.00135,"5.0-5.1":0.00406,"6.0-6.1":0.00135,"7.0-7.1":0.00542,"8.1-8.4":0.00813,"9.0-9.2":0.01084,"9.3":0.08942,"10.0-10.2":0.02303,"10.3":0.10839,"11.0-11.2":0.07993,"11.3-11.4":0.126,"12.0-12.1":0.17071,"12.2-12.4":1.03914,"13.0-13.1":0.19374,"13.2":0.09484,"13.3":0.94701,"13.4-13.5":2.28964,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00703,"9":0.00703,"10":0.00703,"11":0.01406,"12":0.04922,"13":0.22502,"14":0.00703,_:"0","3.1":0,"3.2":0,"5.1":0.00703,"6.1":0,"7.1":0,"9.1":0.00703,"10.1":0.03516,"11.1":0.08438,"12.1":0.16877,"13.1":1.54001},B:{"12":0,"13":0,"14":0.00703,"15":0.00703,"16":0.00703,"17":0.01406,"18":0.18283,"79":0,"80":0,"81":0.00703,"83":0.60475,"84":0.47818},I:{"3":0,"4":0.00579,_:"81","2.1":0,"2.2":0,"2.3":0.00058,"4.1":0.00984,"4.2-4.3":0.0162,"4.4":0,"4.4.3-4.4.4":0.10243},P:{"4":0.21475,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.0409,"8.2":0.01023,"9.2":0.03068,"10.1":0.03068,"11.1-11.2":0.16362,"12.0":0.63402},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01406,"9":0,"10":0,"11":0.07735,"5.5":0},J:{"7":0,"10":0.00297},N:{"10":0,"11":0},L:{"0":43.47051},S:{"2.5":0},R:{_:"0"},M:{"0":0.06233},Q:{"10.4":0},O:{"0":0.04452},H:{"0":0.06463}}; diff --git a/node_modules/caniuse-lite/data/regions/CR.js b/node_modules/caniuse-lite/data/regions/CR.js new file mode 100644 index 000000000..a4e1b88dd --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00646,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00646,"49":0,"50":0,"51":0,"52":0.03232,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00646,"61":0,"62":0,"63":0.00646,"64":0,"65":0,"66":0.0517,"67":0.05817,"68":0.09695,"69":0.00646,"70":0.00646,"71":0.00646,"72":0.01293,"73":0.03232,"74":0.00646,"75":0.00646,"76":0.01293,"77":0.53643,"78":2.13925,"79":0.13572,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.02585,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.1228,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00646,"59":0,"60":0.00646,"61":0,"62":0.00646,"63":0.01293,"64":0.00646,"65":0.03232,"66":0.01293,"67":0.01939,"68":0.00646,"69":0.01939,"70":0.01293,"71":0.02585,"72":0.02585,"73":0.02585,"74":0.03878,"75":0.04524,"76":0.04524,"77":0.0517,"78":0.06463,"79":0.09695,"80":0.16158,"81":0.23267,"83":17.43717,"84":11.73035,"85":0.01939,"86":0.00646,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00646,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.45241,"69":0.16158,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00255,"4.0-4.1":0.00255,"4.2-4.3":0.00255,"5.0-5.1":0.00765,"6.0-6.1":0.00255,"7.0-7.1":0.0102,"8.1-8.4":0.01531,"9.0-9.2":0.02041,"9.3":0.16836,"10.0-10.2":0.04337,"10.3":0.20408,"11.0-11.2":0.15051,"11.3-11.4":0.23724,"12.0-12.1":0.32142,"12.2-12.4":1.95657,"13.0-13.1":0.36478,"13.2":0.17857,"13.3":1.78311,"13.4-13.5":4.31109,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00646,"11":0.01939,"12":0.14219,"13":0.36193,"14":0.01939,_:"0","3.1":0,"3.2":0,"5.1":0.30376,"6.1":0,"7.1":0,"9.1":0.01939,"10.1":0.07109,"11.1":0.14865,"12.1":0.2973,"13.1":3.39954},B:{"12":0,"13":0,"14":0.00646,"15":0.00646,"16":0.01293,"17":0.01939,"18":0.21974,"79":0,"80":0,"81":0.01293,"83":0.67215,"84":0.56228},I:{"3":0,"4":0.00952,_:"81","2.1":0,"2.2":0,"2.3":0.00095,"4.1":0.01618,"4.2-4.3":0.02664,"4.4":0,"4.4.3-4.4.4":0.16842},P:{"4":0.15196,"5.0-5.4":0,"6.2-6.4":0.02026,"7.2-7.4":0.05065,"8.2":0.01013,"9.2":0.11144,"10.1":0.06078,"11.1-11.2":0.45588,"12.0":1.60065},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03508,"9":0,"10":0,"11":0.21051,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":44.23432},S:{"2.5":0},R:{_:"0"},M:{"0":0.17685},Q:{"10.4":0.00354},O:{"0":0.04598},H:{"0":0.1105}}; diff --git a/node_modules/caniuse-lite/data/regions/CU.js b/node_modules/caniuse-lite/data/regions/CU.js new file mode 100644 index 000000000..1e864e3ff --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CU.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.0036,"18":0.00721,"19":0.0036,"20":0,"21":0.00721,"22":0,"23":0.0036,"24":0,"25":0,"26":0.01081,"27":0.01442,"28":0,"29":0.01442,"30":0.0036,"31":0.0036,"32":0.0036,"33":0.01081,"34":0.03244,"35":0.0036,"36":0.0036,"37":0.00721,"38":0.02162,"39":0.02523,"40":0.02883,"41":0.02162,"42":0.01802,"43":0.04685,"44":0.00721,"45":0.03964,"46":0.01802,"47":0.05766,"48":0.02883,"49":0.02523,"50":0.0937,"51":0.01081,"52":0.15497,"53":0.03244,"54":0.20182,"55":0.03604,"56":0.11893,"57":0.20182,"58":0.07568,"59":0.08289,"60":0.13335,"61":0.06848,"62":0.07568,"63":0.03604,"64":0.06127,"65":0.0937,"66":0.0901,"67":0.0937,"68":0.56222,"69":0.11893,"70":0.0937,"71":0.10091,"72":0.2739,"73":0.09731,"74":0.15497,"75":0.12614,"76":0.20903,"77":1.00912,"78":2.64534,"79":0.15497,"80":0.01081,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.0036,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00721,"35":0.0036,"36":0,"37":0,"38":0.0036,"39":0,"40":0.0036,"41":0,"42":0,"43":0.0036,"44":0.0036,"45":0,"46":0.0036,"47":0,"48":0,"49":0.00721,"50":0,"51":0.01081,"52":0.0036,"53":0,"54":0.0036,"55":0.01802,"56":0,"57":0,"58":0.00721,"59":0.0036,"60":0.0036,"61":0.0036,"62":0.00721,"63":0.02883,"64":0.0036,"65":0.0036,"66":0.0036,"67":0.01081,"68":0.00721,"69":0.00721,"70":0.03244,"71":0.02523,"72":0.01442,"73":0.02883,"74":0.04325,"75":0.02523,"76":0.03244,"77":0.05406,"78":0.03244,"79":0.06848,"80":0.42527,"81":0.08289,"83":1.85606,"84":0.94785,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0.0036,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.0036,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.0036,"43":0,"44":0,"45":0.01081,"46":0.0036,"47":0.0036,"48":0,"49":0.0036,"50":0.03604,"51":0,"52":0,"53":0.0036,"54":0.0036,"55":0.03604,"56":0.0036,"57":0.0036,"58":0,"60":0,"62":0,"63":0.0036,"64":0.0036,"65":0.0036,"66":0.0036,"67":0.02523,"68":0.20903,"69":0.15497,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0036},G:{"8":0,"3.2":0.00232,"4.0-4.1":0.00232,"4.2-4.3":0.00232,"5.0-5.1":0.00697,"6.0-6.1":0.00232,"7.0-7.1":0.00929,"8.1-8.4":0.01393,"9.0-9.2":0.01857,"9.3":0.15324,"10.0-10.2":0.03947,"10.3":0.18575,"11.0-11.2":0.13699,"11.3-11.4":0.21593,"12.0-12.1":0.29255,"12.2-12.4":1.78086,"13.0-13.1":0.33203,"13.2":0.16253,"13.3":1.62298,"13.4-13.5":3.92394,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0036,"12":0.00721,"13":0.03244,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.12614,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0.0036,"12.1":0.02883,"13.1":0.05406},B:{"12":0.01802,"13":0.01081,"14":0.00721,"15":0.01081,"16":0.01081,"17":0.01802,"18":0.0865,"79":0,"80":0,"81":0.00721,"83":0.11172,"84":0.03964},I:{"3":0,"4":0.02204,_:"81","2.1":0,"2.2":0,"2.3":0.0022,"4.1":0.03747,"4.2-4.3":0.06172,"4.4":0,"4.4.3-4.4.4":0.39016},P:{"4":0.4823,"5.0-5.4":0.08038,"6.2-6.4":0.07034,"7.2-7.4":0.34163,"8.2":0.05024,"9.2":0.47225,"10.1":0.40192,"11.1-11.2":0.79378,"12.0":0.42201},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01081,"9":0,"10":0,"11":0.07208,"5.5":0},J:{"7":0,"10":0.01279},N:{"10":0,"11":0},L:{"0":69.22377},S:{"2.5":0},R:{_:"0"},M:{"0":1.49027},Q:{"10.4":0.03838},O:{"0":0.3134},H:{"0":1.23529}}; diff --git a/node_modules/caniuse-lite/data/regions/CV.js b/node_modules/caniuse-lite/data/regions/CV.js new file mode 100644 index 000000000..7f0dfddac --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CV.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00593,"48":0,"49":0,"50":0.00593,"51":0,"52":0.01778,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.04742,"69":0,"70":0,"71":0,"72":0,"73":0.00593,"74":0,"75":0.01778,"76":0.0415,"77":0.45646,"78":1.6302,"79":0.08892,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00593,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.02964,"41":0,"42":0,"43":0.04742,"44":0,"45":0,"46":0.01778,"47":0,"48":0.01778,"49":0.1897,"50":0.00593,"51":0,"52":0,"53":0.00593,"54":0,"55":0.07114,"56":0,"57":0,"58":0.00593,"59":0,"60":0.00593,"61":0.00593,"62":0.00593,"63":0.05928,"64":0.00593,"65":0.07114,"66":0,"67":0.01186,"68":0.02371,"69":0.08299,"70":0.02964,"71":0.02964,"72":0.02964,"73":0.01186,"74":0.06521,"75":0.05928,"76":0.02964,"77":0.07706,"78":0.11856,"79":0.22526,"80":0.37939,"81":0.35568,"83":13.32614,"84":9.07577,"85":0.01186,"86":0.02964,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.11856,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01186,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.01186,"64":0,"65":0,"66":0,"67":0.00593,"68":0.80621,"69":0.40903,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00168,"4.0-4.1":0.00168,"4.2-4.3":0.00168,"5.0-5.1":0.00503,"6.0-6.1":0.00168,"7.0-7.1":0.00671,"8.1-8.4":0.01007,"9.0-9.2":0.01343,"9.3":0.11077,"10.0-10.2":0.02853,"10.3":0.13426,"11.0-11.2":0.09902,"11.3-11.4":0.15608,"12.0-12.1":0.21146,"12.2-12.4":1.28724,"13.0-13.1":0.23999,"13.2":0.11748,"13.3":1.17312,"13.4-13.5":2.8363,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00593,"12":0.00593,"13":0.54538,"14":0.00593,_:"0","3.1":0,"3.2":0,"5.1":0.04742,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01186,"11.1":0.1067,"12.1":0.23712,"13.1":1.3753},B:{"12":0.01186,"13":0.01778,"14":0.01186,"15":0.02371,"16":0.0415,"17":0.02964,"18":0.90698,"79":0,"80":0,"81":0.01186,"83":0.94848,"84":0.56316},I:{"3":0,"4":0.01432,_:"81","2.1":0,"2.2":0,"2.3":0.00143,"4.1":0.02435,"4.2-4.3":0.04011,"4.4":0,"4.4.3-4.4.4":0.25355},P:{"4":0.38173,"5.0-5.4":0.02063,"6.2-6.4":0,"7.2-7.4":0.11349,"8.2":0.01032,"9.2":0.20634,"10.1":0.19603,"11.1-11.2":0.46427,"12.0":0.59839},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02515,"9":0,"10":0,"11":0.18233,"5.5":0},J:{"7":0,"10":0.00407},N:{"10":0,"11":0},L:{"0":55.42646},S:{"2.5":0},R:{_:"0"},M:{"0":0.04886},Q:{"10.4":0.02443},O:{"0":0.14659},H:{"0":0.19276}}; diff --git a/node_modules/caniuse-lite/data/regions/CX.js b/node_modules/caniuse-lite/data/regions/CX.js new file mode 100644 index 000000000..2cc74ff68 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CX.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":1.33262,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.33548,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":1.6681,"75":4.00717,"76":0,"77":5.01362,"78":0.33548,"79":0,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.33548,"67":0,"68":0,"69":0,"70":1.33262,"71":1.00645,"72":45.09464,"73":2.00359,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":5.01362,"81":11.35986,"83":4.34265,"84":1.00645,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":1.00645},G:{"8":0,"3.2":0.00088,"4.0-4.1":0.00088,"4.2-4.3":0.00088,"5.0-5.1":0.00263,"6.0-6.1":0.00088,"7.0-7.1":0.00351,"8.1-8.4":0.00526,"9.0-9.2":0.00702,"9.3":0.05788,"10.0-10.2":0.01491,"10.3":0.07016,"11.0-11.2":0.05174,"11.3-11.4":0.08156,"12.0-12.1":0.1105,"12.2-12.4":0.67263,"13.0-13.1":0.12541,"13.2":0.06139,"13.3":0.613,"13.4-13.5":1.48207,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"79":0,"80":0,"81":0,"83":0,"84":0},I:{"3":0,"4":0,_:"81","2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":9.00206},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0.33913}}; diff --git a/node_modules/caniuse-lite/data/regions/CY.js b/node_modules/caniuse-lite/data/regions/CY.js new file mode 100644 index 000000000..80c1555bb --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CY.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00544,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00544,"44":0,"45":0,"46":0,"47":0,"48":0.01631,"49":0,"50":0,"51":0,"52":0.04894,"53":0,"54":0,"55":0,"56":0.00544,"57":0,"58":0,"59":0,"60":0.02175,"61":0,"62":0,"63":0,"64":0.00544,"65":0,"66":0,"67":0,"68":0.10876,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0.00544,"76":0.01088,"77":0.25559,"78":0.99515,"79":0.0435,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01088,"39":0,"40":0,"41":0,"42":0.87552,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.23383,"50":0,"51":0.00544,"52":0,"53":0.02719,"54":0,"55":0,"56":0,"57":0,"58":0.01088,"59":0.00544,"60":0,"61":0.00544,"62":0,"63":0.00544,"64":0,"65":0.03263,"66":0.00544,"67":0.00544,"68":0.00544,"69":0.00544,"70":0.82658,"71":0.1577,"72":0.08157,"73":0.01631,"74":0.01631,"75":0.01088,"76":0.01088,"77":0.00544,"78":0.02719,"79":0.08701,"80":0.08701,"81":0.12507,"83":12.24638,"84":6.7975,"85":0.01088,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.01631,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.03263,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.28278,"69":0.16858,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0039,"4.0-4.1":0.0039,"4.2-4.3":0.0039,"5.0-5.1":0.01169,"6.0-6.1":0.0039,"7.0-7.1":0.01559,"8.1-8.4":0.02338,"9.0-9.2":0.03117,"9.3":0.25716,"10.0-10.2":0.06624,"10.3":0.3117,"11.0-11.2":0.22988,"11.3-11.4":0.36236,"12.0-12.1":0.49093,"12.2-12.4":2.98846,"13.0-13.1":0.55717,"13.2":0.27274,"13.3":2.72351,"13.4-13.5":6.58474,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00544,"10":0,"11":0.01088,"12":0.03807,"13":0.19033,"14":0.00544,_:"0","3.1":0,"3.2":0,"5.1":0.01088,"6.1":0,"7.1":0,"9.1":0.02175,"10.1":0.01631,"11.1":0.08157,"12.1":0.26102,"13.1":1.64228},B:{"12":0,"13":0.01088,"14":0.00544,"15":0.02175,"16":0.00544,"17":0.02719,"18":0.43504,"79":0,"80":0,"81":0.01088,"83":0.59274,"84":0.76676},I:{"3":0,"4":0.01486,_:"81","2.1":0,"2.2":0,"2.3":0.00149,"4.1":0.02525,"4.2-4.3":0.0416,"4.4":0,"4.4.3-4.4.4":0.26294},P:{"4":0.07237,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.02068,"8.2":0.01034,"9.2":0.05169,"10.1":0.07237,"11.1-11.2":0.59962,"12.0":3.32892},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01098,"9":0.03295,"10":0,"11":0.51074,"5.5":0},J:{"7":0,"10":0.00456},N:{"10":0,"11":0},L:{"0":46.18039},S:{"2.5":0},R:{_:"0"},M:{"0":0.15055},Q:{"10.4":0.00456},O:{"0":1.49634},H:{"0":0.21595}}; diff --git a/node_modules/caniuse-lite/data/regions/CZ.js b/node_modules/caniuse-lite/data/regions/CZ.js new file mode 100644 index 000000000..42db19a7a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/CZ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01204,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00602,"39":0,"40":0.00602,"41":0.00602,"42":0.00602,"43":0.00602,"44":0.00602,"45":0.00602,"46":0,"47":0.00602,"48":0.01805,"49":0.00602,"50":0.00602,"51":0.00602,"52":0.1324,"53":0.00602,"54":0.00602,"55":0.01204,"56":0.04213,"57":0.00602,"58":0.00602,"59":0.00602,"60":0.04814,"61":0.00602,"62":0.00602,"63":0.01805,"64":0.02407,"65":0.02407,"66":0.02407,"67":0.00602,"68":0.35506,"69":0.00602,"70":0.01204,"71":0.01204,"72":0.03611,"73":0.01204,"74":0.04814,"75":0.02407,"76":0.08425,"77":0.98093,"78":3.50248,"79":0.18054,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00602,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00602,"34":0.00602,"35":0,"36":0,"37":0,"38":0.00602,"39":0.00602,"40":0,"41":0.01204,"42":0,"43":0.00602,"44":0,"45":0,"46":0.00602,"47":0.00602,"48":0.01204,"49":0.39117,"50":0.00602,"51":0.00602,"52":0.00602,"53":0.02407,"54":0,"55":0.00602,"56":0.01204,"57":0.00602,"58":0.01204,"59":0.00602,"60":0.01204,"61":0.48746,"62":0.00602,"63":0.01805,"64":0.01204,"65":0.01204,"66":0.01204,"67":0.01805,"68":0.01204,"69":0.12036,"70":0.07823,"71":0.10832,"72":0.10231,"73":0.04213,"74":0.02407,"75":0.03009,"76":0.04213,"77":0.03611,"78":0.06018,"79":0.08425,"80":0.19258,"81":0.48144,"83":12.06007,"84":7.00495,"85":0.00602,"86":0.00602,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.01204,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.03611,"51":0,"52":0.01204,"53":0.00602,"54":0,"55":0,"56":0,"57":0.01805,"58":0.01204,"60":0.00602,"62":0,"63":0,"64":0,"65":0.00602,"66":0,"67":0.00602,"68":1.04111,"69":0.58375,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.04814},G:{"8":0,"3.2":0.00297,"4.0-4.1":0.00297,"4.2-4.3":0.00297,"5.0-5.1":0.00892,"6.0-6.1":0.00297,"7.0-7.1":0.01189,"8.1-8.4":0.01783,"9.0-9.2":0.02378,"9.3":0.19616,"10.0-10.2":0.05053,"10.3":0.23777,"11.0-11.2":0.17535,"11.3-11.4":0.2764,"12.0-12.1":0.37448,"12.2-12.4":2.27959,"13.0-13.1":0.42501,"13.2":0.20805,"13.3":2.07749,"13.4-13.5":5.02283,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00602,"9":0,"10":0,"11":0.00602,"12":0.03611,"13":0.27683,"14":0.01805,_:"0","3.1":0,"3.2":0,"5.1":0.02407,"6.1":0,"7.1":0,"9.1":0.00602,"10.1":0.01805,"11.1":0.06018,"12.1":0.09629,"13.1":1.42025},B:{"12":0.00602,"13":0.00602,"14":0.01805,"15":0.01805,"16":0.01805,"17":0.05416,"18":0.72216,"79":0,"80":0.00602,"81":0.01805,"83":1.1374,"84":0.82447},I:{"3":0,"4":0.01433,_:"81","2.1":0,"2.2":0,"2.3":0.00143,"4.1":0.02435,"4.2-4.3":0.04011,"4.4":0,"4.4.3-4.4.4":0.25357},P:{"4":0.10282,"5.0-5.4":0,"6.2-6.4":0.01028,"7.2-7.4":0.02056,"8.2":0.01028,"9.2":0.09254,"10.1":0.10282,"11.1-11.2":0.45241,"12.0":2.08726},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00616,"9":0.01233,"10":0.01849,"11":1.23884,"5.5":0},J:{"7":0,"10":0.01195},N:{"10":0,"11":0.01195},L:{"0":45.84604},S:{"2.5":0},R:{_:"0"},M:{"0":0.36634},Q:{"10.4":0.01195},O:{"0":0.31458},H:{"0":0.44862}}; diff --git a/node_modules/caniuse-lite/data/regions/DE.js b/node_modules/caniuse-lite/data/regions/DE.js new file mode 100644 index 000000000..4b6c3d329 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/DE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00581,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0.00581,"25":0,"26":0.05813,"27":0.02907,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.06976,"39":0,"40":0.00581,"41":0,"42":0,"43":0.00581,"44":0,"45":0.01163,"46":0,"47":0.00581,"48":0.02907,"49":0.00581,"50":0.00581,"51":0.01744,"52":0.13951,"53":0.00581,"54":0.00581,"55":0.02325,"56":0.02325,"57":0.00581,"58":0.00581,"59":0.01163,"60":0.05813,"61":0.01744,"62":0.01163,"63":0.07557,"64":0.09301,"65":0.09882,"66":0.05813,"67":0.01163,"68":0.68593,"69":0.01163,"70":0.01744,"71":0.01163,"72":0.04069,"73":0.01744,"74":0.04069,"75":0.03488,"76":0.08138,"77":1.27886,"78":4.28418,"79":0.19764,"80":0.00581,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00581,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00581,"30":0,"31":0,"32":0,"33":0.00581,"34":0,"35":0,"36":0,"37":0,"38":0.01163,"39":0.00581,"40":0.00581,"41":0.01744,"42":0,"43":0.00581,"44":0,"45":0.00581,"46":0.01744,"47":0.00581,"48":0.01163,"49":0.29065,"50":0.00581,"51":0.01163,"52":0.01163,"53":0.01744,"54":0,"55":0.00581,"56":0.01744,"57":0.01163,"58":0.01744,"59":0.00581,"60":0.01744,"61":0.02907,"62":0.00581,"63":0.02907,"64":0.01163,"65":0.29065,"66":0.0465,"67":0.04069,"68":0.02325,"69":0.09882,"70":0.55805,"71":0.72081,"72":0.61037,"73":0.27902,"74":0.02907,"75":0.0465,"76":0.05232,"77":0.03488,"78":0.05232,"79":0.09301,"80":0.50573,"81":0.22671,"83":7.32438,"84":3.86565,"85":0.00581,"86":0.00581,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00581,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00581,"49":0,"50":0.02325,"51":0,"52":0,"53":0.00581,"54":0,"55":0,"56":0.04069,"57":0.03488,"58":0.05813,"60":0.00581,"62":0,"63":0,"64":0,"65":0,"66":0.01163,"67":0.00581,"68":0.80219,"69":0.37203,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00581},G:{"8":0,"3.2":0.00463,"4.0-4.1":0.00463,"4.2-4.3":0.00463,"5.0-5.1":0.01388,"6.0-6.1":0.00463,"7.0-7.1":0.0185,"8.1-8.4":0.02775,"9.0-9.2":0.03701,"9.3":0.3053,"10.0-10.2":0.07864,"10.3":0.37006,"11.0-11.2":0.27292,"11.3-11.4":0.43019,"12.0-12.1":0.58284,"12.2-12.4":3.54794,"13.0-13.1":0.66148,"13.2":0.3238,"13.3":3.23339,"13.4-13.5":7.81749,_:"14.0"},E:{"4":0.00581,"5":0,"6":0,"7":0.00581,"8":0.00581,"9":0.01163,"10":0.01163,"11":0.01163,"12":0.05813,"13":0.33134,"14":0.01163,_:"0","3.1":0,"3.2":0,"5.1":0.02325,"6.1":0,"7.1":0,"9.1":0.01163,"10.1":0.02907,"11.1":0.09301,"12.1":0.13951,"13.1":2.42402},B:{"12":0.04069,"13":0.00581,"14":0.01744,"15":0.01163,"16":0.02907,"17":0.12789,"18":0.80219,"79":0,"80":0,"81":0.05232,"83":1.01728,"84":0.80801},I:{"3":0,"4":0.01897,_:"81","2.1":0,"2.2":0,"2.3":0.0019,"4.1":0.03225,"4.2-4.3":0.05312,"4.4":0,"4.4.3-4.4.4":0.33582},P:{"4":0.25058,"5.0-5.4":0.02088,"6.2-6.4":0,"7.2-7.4":0.03132,"8.2":0.02088,"9.2":0.11485,"10.1":0.11485,"11.1-11.2":0.72042,"12.0":4.47915},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.06821,"7":0.0248,"8":0.08681,"9":0.0248,"10":0.0372,"11":1.24631,"5.5":0},J:{"7":0,"10":0.00419},N:{"10":0,"11":0},L:{"0":37.70121},S:{"2.5":0},R:{_:"0"},M:{"0":0.63224},Q:{"10.4":0.02094},O:{"0":0.25541},H:{"0":0.38054}}; diff --git a/node_modules/caniuse-lite/data/regions/DJ.js b/node_modules/caniuse-lite/data/regions/DJ.js new file mode 100644 index 000000000..39c62a57a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/DJ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00678,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00339,"51":0,"52":0.01017,"53":0,"54":0,"55":0,"56":0.00339,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.00339,"66":0,"67":0,"68":0.04407,"69":0,"70":0,"71":0.01356,"72":0.00678,"73":0,"74":0.00339,"75":0.00339,"76":0.03729,"77":0.22374,"78":1.01361,"79":0.06441,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00339,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.01017,"41":0,"42":0,"43":0.00339,"44":0,"45":0,"46":0.00339,"47":0,"48":0,"49":0.00339,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.04068,"59":0,"60":0,"61":0,"62":0,"63":0.01695,"64":0,"65":0,"66":0.00339,"67":0.01017,"68":0,"69":0.00339,"70":0,"71":0.00678,"72":0,"73":0,"74":0.07119,"75":0,"76":0,"77":0.10509,"78":0.02712,"79":0.01695,"80":0.08475,"81":0.05763,"83":4.85109,"84":3.13236,"85":0.01017,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00339,"48":0,"49":0,"50":0.04746,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.04068,"69":0.06102,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01017},G:{"8":0,"3.2":0.00183,"4.0-4.1":0.00183,"4.2-4.3":0.00183,"5.0-5.1":0.0055,"6.0-6.1":0.00183,"7.0-7.1":0.00733,"8.1-8.4":0.011,"9.0-9.2":0.01467,"9.3":0.12103,"10.0-10.2":0.03117,"10.3":0.1467,"11.0-11.2":0.10819,"11.3-11.4":0.17054,"12.0-12.1":0.23105,"12.2-12.4":1.40647,"13.0-13.1":0.26222,"13.2":0.12836,"13.3":1.28178,"13.4-13.5":3.099,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00339,"11":0.00678,"12":0,"13":0.15933,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00339,"11.1":0.01695,"12.1":0.01695,"13.1":0.18306},B:{"12":0.01356,"13":0.00339,"14":0,"15":0.02034,"16":0.01356,"17":0.11526,"18":0.08136,"79":0,"80":0,"81":0.00678,"83":0.14577,"84":0.11187},I:{"3":0,"4":0.01709,_:"81","2.1":0,"2.2":0,"2.3":0.00171,"4.1":0.02905,"4.2-4.3":0.04785,"4.4":0,"4.4.3-4.4.4":0.30245},P:{"4":1.04186,"5.0-5.4":0.04046,"6.2-6.4":0.12138,"7.2-7.4":0.85979,"8.2":0.05058,"9.2":0.23265,"10.1":0.73841,"11.1-11.2":1.27451,"12.0":1.82073},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01661,"9":0,"10":0,"11":0.1495,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":66.71482},S:{"2.5":0.01322},R:{_:"0"},M:{"0":0.2644},Q:{"10.4":2.1813},O:{"0":1.11048},H:{"0":0.96998}}; diff --git a/node_modules/caniuse-lite/data/regions/DK.js b/node_modules/caniuse-lite/data/regions/DK.js new file mode 100644 index 000000000..d0383350f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/DK.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00609,"27":0.02436,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00609,"48":0.00609,"49":0,"50":0,"51":0,"52":0.03653,"53":0,"54":0,"55":0,"56":0.0548,"57":0,"58":0,"59":0,"60":0.00609,"61":0.00609,"62":0.00609,"63":0.00609,"64":0.01218,"65":0.01218,"66":0.00609,"67":0,"68":0.17049,"69":0,"70":0.01827,"71":0,"72":0.01218,"73":0.00609,"74":0.00609,"75":0.01218,"76":0.02436,"77":0.42014,"78":1.42483,"79":0.07307,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00609,"35":0.00609,"36":0,"37":0,"38":0.01218,"39":0,"40":0,"41":0.01218,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.23138,"50":0,"51":0,"52":0.04262,"53":0.02436,"54":0,"55":0,"56":0,"57":0.01218,"58":0.00609,"59":0.01827,"60":0.01218,"61":0.0548,"62":0.01218,"63":0.01218,"64":0,"65":0.01827,"66":0.01827,"67":0.02436,"68":0.00609,"69":0.3897,"70":0.04871,"71":0.04871,"72":0.10351,"73":0.03045,"74":0.01218,"75":0.04262,"76":0.04262,"77":0.02436,"78":0.0548,"79":0.09742,"80":0.18876,"81":0.40796,"83":13.52367,"84":7.02671,"85":0.00609,"86":0,"87":0},F:{"9":0,"11":0.00609,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00609,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.28009,"69":0.14005,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00853,"4.0-4.1":0.00853,"4.2-4.3":0.00853,"5.0-5.1":0.0256,"6.0-6.1":0.00853,"7.0-7.1":0.03413,"8.1-8.4":0.0512,"9.0-9.2":0.06826,"9.3":0.56315,"10.0-10.2":0.14505,"10.3":0.6826,"11.0-11.2":0.50342,"11.3-11.4":0.79353,"12.0-12.1":1.0751,"12.2-12.4":6.54446,"13.0-13.1":1.22015,"13.2":0.59728,"13.3":5.96424,"13.4-13.5":14.41999,_:"14.0"},E:{"4":0,"5":0.01218,"6":0,"7":0,"8":0.00609,"9":0,"10":0.00609,"11":0.01827,"12":0.0548,"13":0.4993,"14":0.01827,_:"0","3.1":0,"3.2":0,"5.1":0.00609,"6.1":0.01218,"7.1":0,"9.1":0.04262,"10.1":0.06698,"11.1":0.12178,"12.1":0.27401,"13.1":4.49368},B:{"12":0,"13":0,"14":0.00609,"15":0.01218,"16":0.02436,"17":0.06698,"18":0.58454,"79":0.00609,"80":0.00609,"81":0.02436,"83":1.22389,"84":0.90726},I:{"3":0,"4":0.01093,_:"81","2.1":0,"2.2":0,"2.3":0.00109,"4.1":0.01859,"4.2-4.3":0.03061,"4.4":0,"4.4.3-4.4.4":0.19353},P:{"4":0.08465,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.0529,"10.1":0.0529,"11.1-11.2":0.37033,"12.0":1.98919},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0.01235,"8":0.01235,"9":0.01235,"10":0.01235,"11":1.2841,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":25.71371},S:{"2.5":0},R:{_:"0"},M:{"0":0.30897},Q:{"10.4":0.02738},O:{"0":0.06258},H:{"0":0.10368}}; diff --git a/node_modules/caniuse-lite/data/regions/DM.js b/node_modules/caniuse-lite/data/regions/DM.js new file mode 100644 index 000000000..7d26757a6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/DM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00555,"44":0,"45":0,"46":0,"47":0.00555,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.00555,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.01109,"66":0,"67":0,"68":0.08321,"69":0,"70":0,"71":0,"72":0,"73":0.00555,"74":0.00555,"75":0.00555,"76":0.12203,"77":0.32173,"78":0.80986,"79":0.02774,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.03328,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00555,"30":0,"31":0,"32":0,"33":0,"34":0.00555,"35":0,"36":0.00555,"37":0,"38":0.02219,"39":0,"40":0,"41":0,"42":0.00555,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.13313,"50":0,"51":0,"52":0,"53":0.00555,"54":0,"55":0,"56":0,"57":0,"58":0.01109,"59":0,"60":0,"61":1.34237,"62":0,"63":0.00555,"64":0,"65":0.02219,"66":0,"67":0,"68":0.00555,"69":0.02774,"70":0.00555,"71":0.01109,"72":0,"73":0.53251,"74":0.00555,"75":0.11649,"76":0.41048,"77":0.00555,"78":0.00555,"79":0.03328,"80":0.03883,"81":0.21633,"83":9.17474,"84":5.73005,"85":0.03883,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.1886,"69":0.13313,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01664},G:{"8":0,"3.2":0.00162,"4.0-4.1":0.00162,"4.2-4.3":0.00162,"5.0-5.1":0.00485,"6.0-6.1":0.00162,"7.0-7.1":0.00647,"8.1-8.4":0.00971,"9.0-9.2":0.01295,"9.3":0.10681,"10.0-10.2":0.02751,"10.3":0.12946,"11.0-11.2":0.09548,"11.3-11.4":0.1505,"12.0-12.1":0.2039,"12.2-12.4":1.24123,"13.0-13.1":0.23142,"13.2":0.11328,"13.3":1.13118,"13.4-13.5":2.73491,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.29399,"14":0.02774,_:"0","3.1":0,"3.2":0,"5.1":0.01109,"6.1":0,"7.1":0,"9.1":0.02774,"10.1":0.01109,"11.1":0,"12.1":0.04992,"13.1":2.19661},B:{"12":0.01664,"13":0.00555,"14":0,"15":0.02774,"16":0.02219,"17":0.06102,"18":0.84314,"79":0,"80":0,"81":0.01664,"83":1.31464,"84":2.24099},I:{"3":0,"4":0.0678,_:"81","2.1":0,"2.2":0,"2.3":0.00678,"4.1":0.11525,"4.2-4.3":0.18983,"4.4":0,"4.4.3-4.4.4":1.19998},P:{"4":0.03214,"5.0-5.4":0.02143,"6.2-6.4":0.02143,"7.2-7.4":0.48207,"8.2":0,"9.2":0.03214,"10.1":0.31067,"11.1-11.2":0.36423,"12.0":2.48533},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.48814,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":57.80211},S:{"2.5":0},R:{_:"0"},M:{"0":0.16921},Q:{"10.4":0.01336},O:{"0":0.26718},H:{"0":0.12647}}; diff --git a/node_modules/caniuse-lite/data/regions/DO.js b/node_modules/caniuse-lite/data/regions/DO.js new file mode 100644 index 000000000..67fa6aeba --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/DO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00616,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01231,"49":0,"50":0,"51":0,"52":0.01231,"53":0.00616,"54":0,"55":0.00616,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00616,"64":0.01847,"65":0.00616,"66":0.03078,"67":0,"68":0.08003,"69":0,"70":0,"71":0.00616,"72":0.00616,"73":0.02462,"74":0.02462,"75":0.00616,"76":0.01847,"77":0.24008,"78":0.90493,"79":0.04925,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01231,"39":0,"40":0,"41":0.00616,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.23393,"50":0,"51":0,"52":0.00616,"53":0.00616,"54":0,"55":0,"56":0.00616,"57":0,"58":0.01231,"59":0,"60":0.00616,"61":0.17237,"62":0.00616,"63":0.03694,"64":0.01231,"65":0.04309,"66":0.01231,"67":0.03694,"68":0.01847,"69":0.01231,"70":0.14159,"71":0.1539,"72":0.18468,"73":0.08003,"74":0.0554,"75":0.06772,"76":0.06772,"77":0.0554,"78":0.08618,"79":0.0985,"80":0.25855,"81":0.27086,"83":16.07947,"84":10.58832,"85":0.01847,"86":0.00616,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00616,"57":0,"58":0.01231,"60":0.00616,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00616,"68":0.84953,"69":0.31396,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00347,"4.0-4.1":0.00347,"4.2-4.3":0.00347,"5.0-5.1":0.0104,"6.0-6.1":0.00347,"7.0-7.1":0.01386,"8.1-8.4":0.02079,"9.0-9.2":0.02773,"9.3":0.22874,"10.0-10.2":0.05892,"10.3":0.27726,"11.0-11.2":0.20448,"11.3-11.4":0.32232,"12.0-12.1":0.43669,"12.2-12.4":2.65824,"13.0-13.1":0.4956,"13.2":0.2426,"13.3":2.42257,"13.4-13.5":5.85715,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00616,"11":0.01847,"12":0.0554,"13":0.28318,"14":0.01231,_:"0","3.1":0,"3.2":0,"5.1":0.2524,"6.1":0,"7.1":0,"9.1":0.00616,"10.1":0.03078,"11.1":0.09234,"12.1":0.22162,"13.1":1.91452},B:{"12":0.00616,"13":0.00616,"14":0.00616,"15":0.01231,"16":0.01231,"17":0.06156,"18":0.60329,"79":0,"80":0,"81":0.01231,"83":0.54788,"84":0.42476},I:{"3":0,"4":0.03362,_:"81","2.1":0,"2.2":0,"2.3":0.00336,"4.1":0.05715,"4.2-4.3":0.09413,"4.4":0,"4.4.3-4.4.4":0.59505},P:{"4":0.14504,"5.0-5.4":0.02072,"6.2-6.4":0.01036,"7.2-7.4":0.04144,"8.2":0.01036,"9.2":0.08288,"10.1":0.0518,"11.1-11.2":0.23827,"12.0":0.85986},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02758,"9":0.01379,"10":0.00689,"11":0.1241,"5.5":0},J:{"7":0,"10":0.00384},N:{"10":0,"11":0},L:{"0":46.18714},S:{"2.5":0},R:{_:"0"},M:{"0":0.12685},Q:{"10.4":0},O:{"0":0.08072},H:{"0":0.08006}}; diff --git a/node_modules/caniuse-lite/data/regions/DZ.js b/node_modules/caniuse-lite/data/regions/DZ.js new file mode 100644 index 000000000..6d6057400 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/DZ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0.00535,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00535,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00535,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00535,"42":0,"43":0.0107,"44":0,"45":0.00535,"46":0,"47":0.01605,"48":0.00535,"49":0,"50":0,"51":0,"52":0.16582,"53":0.00535,"54":0,"55":0.00535,"56":0.00535,"57":0.00535,"58":0.00535,"59":0,"60":0.00535,"61":0,"62":0,"63":0.00535,"64":0.0107,"65":0.01605,"66":0.00535,"67":0.00535,"68":0.13373,"69":0.00535,"70":0.0107,"71":0.01605,"72":0.0214,"73":0.00535,"74":0.0107,"75":0.0214,"76":0.03744,"77":0.47071,"78":1.67959,"79":0.09628,"80":0.00535,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00535,"12":0,"13":0.00535,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00535,"23":0,"24":0,"25":0,"26":0.0107,"27":0,"28":0,"29":0.00535,"30":0.00535,"31":0.01605,"32":0.04814,"33":0.03209,"34":0.00535,"35":0.00535,"36":0,"37":0,"38":0.0107,"39":0.00535,"40":0.04279,"41":0,"42":0.00535,"43":0.20326,"44":0.00535,"45":0,"46":0.00535,"47":0.00535,"48":0.0107,"49":0.31024,"50":0.0107,"51":0.00535,"52":0.00535,"53":0.00535,"54":0.00535,"55":0.00535,"56":0.01605,"57":0.0107,"58":0.01605,"59":0.00535,"60":0.0107,"61":0.08558,"62":0.0107,"63":0.08558,"64":0.0107,"65":0.02675,"66":0.0107,"67":0.0214,"68":0.0107,"69":0.05884,"70":0.08024,"71":0.08024,"72":0.06419,"73":0.06419,"74":0.08024,"75":0.04279,"76":0.04279,"77":0.06954,"78":0.08024,"79":0.12303,"80":0.37978,"81":0.32629,"83":10.73544,"84":6.42415,"85":0.02675,"86":0.0214,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00535,"37":0.0214,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00535,"47":0,"48":0,"49":0,"50":0.00535,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00535,"57":0,"58":0.00535,"60":0,"62":0,"63":0,"64":0,"65":0.00535,"66":0,"67":0.0107,"68":1.0484,"69":0.54025,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00535},G:{"8":0,"3.2":0.00076,"4.0-4.1":0.00076,"4.2-4.3":0.00076,"5.0-5.1":0.00229,"6.0-6.1":0.00076,"7.0-7.1":0.00306,"8.1-8.4":0.00458,"9.0-9.2":0.00611,"9.3":0.05041,"10.0-10.2":0.01299,"10.3":0.06111,"11.0-11.2":0.04507,"11.3-11.4":0.07104,"12.0-12.1":0.09625,"12.2-12.4":0.58587,"13.0-13.1":0.10923,"13.2":0.05347,"13.3":0.53393,"13.4-13.5":1.29091,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0107,"12":0.0214,"13":0.05884,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.11233,"6.1":0,"7.1":0,"9.1":0.00535,"10.1":0.00535,"11.1":0.02675,"12.1":0.05884,"13.1":0.21931},B:{"12":0.0107,"13":0.00535,"14":0.00535,"15":0.0107,"16":0.0107,"17":0.0214,"18":0.12303,"79":0,"80":0,"81":0.0107,"83":0.32094,"84":0.2514},I:{"3":0,"4":0.01799,_:"81","2.1":0,"2.2":0,"2.3":0.0018,"4.1":0.03058,"4.2-4.3":0.05036,"4.4":0,"4.4.3-4.4.4":0.31835},P:{"4":0.18298,"5.0-5.4":0.04066,"6.2-6.4":0.05083,"7.2-7.4":0.13215,"8.2":0.04066,"9.2":0.18298,"10.1":0.17281,"11.1-11.2":0.48794,"12.0":1.1182},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.08221,"9":0.02055,"10":0.01028,"11":0.27744,"5.5":0},J:{"7":0,"10":0.00465},N:{"10":0,"11":0},L:{"0":64.33581},S:{"2.5":0},R:{_:"0"},M:{"0":0.15348},Q:{"10.4":0.03721},O:{"0":0.61393},H:{"0":0.55041}}; diff --git a/node_modules/caniuse-lite/data/regions/EC.js b/node_modules/caniuse-lite/data/regions/EC.js new file mode 100644 index 000000000..195dc7069 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/EC.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00733,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0.00733,"45":0,"46":0,"47":0.00733,"48":0.022,"49":0,"50":0,"51":0.00733,"52":0.02933,"53":0,"54":0.00733,"55":0,"56":0.01467,"57":0.00733,"58":0,"59":0.00733,"60":0.00733,"61":0.00733,"62":0.00733,"63":0.00733,"64":0.01467,"65":0.01467,"66":0.022,"67":0.00733,"68":0.088,"69":0.01467,"70":0.00733,"71":0.00733,"72":0.02933,"73":0.01467,"74":0.00733,"75":0.01467,"76":0.044,"77":0.80663,"78":3.27052,"79":0.19066,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.01467,"23":0,"24":0,"25":0,"26":0.00733,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00733,"35":0,"36":0,"37":0,"38":0.022,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00733,"48":0.00733,"49":0.19066,"50":0,"51":0.00733,"52":0.00733,"53":0.02933,"54":0,"55":0.00733,"56":0,"57":0.00733,"58":0.01467,"59":0.00733,"60":0,"61":0.01467,"62":0.00733,"63":0.044,"64":0.00733,"65":0.066,"66":0.022,"67":0.05866,"68":0.022,"69":0.03667,"70":0.08066,"71":0.08066,"72":0.05133,"73":0.066,"74":0.08066,"75":0.09533,"76":0.088,"77":0.05866,"78":0.13199,"79":0.16133,"80":0.31532,"81":0.29332,"83":23.66359,"84":15.64129,"85":0.01467,"86":0.00733,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00733,"57":0,"58":0.00733,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.98996,"69":0.43998,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00138,"4.0-4.1":0.00138,"4.2-4.3":0.00138,"5.0-5.1":0.00413,"6.0-6.1":0.00138,"7.0-7.1":0.00551,"8.1-8.4":0.00826,"9.0-9.2":0.01102,"9.3":0.09091,"10.0-10.2":0.02342,"10.3":0.1102,"11.0-11.2":0.08127,"11.3-11.4":0.12811,"12.0-12.1":0.17356,"12.2-12.4":1.05653,"13.0-13.1":0.19698,"13.2":0.09642,"13.3":0.96287,"13.4-13.5":2.32796,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00733,"9":0.02933,"10":0.022,"11":0.02933,"12":0.09533,"13":0.29332,"14":0.01467,_:"0","3.1":0,"3.2":0,"5.1":0.35932,"6.1":0,"7.1":0,"9.1":0.01467,"10.1":0.05866,"11.1":0.12466,"12.1":0.25666,"13.1":2.1339},B:{"12":0,"13":0.00733,"14":0.00733,"15":0.00733,"16":0.00733,"17":0.01467,"18":0.19066,"79":0,"80":0,"81":0.01467,"83":0.7113,"84":0.58664},I:{"3":0,"4":0.01084,_:"81","2.1":0,"2.2":0,"2.3":0.00108,"4.1":0.01843,"4.2-4.3":0.03036,"4.4":0,"4.4.3-4.4.4":0.19194},P:{"4":0.21129,"5.0-5.4":0,"6.2-6.4":0.01006,"7.2-7.4":0.07043,"8.2":0.02012,"9.2":0.08049,"10.1":0.07043,"11.1-11.2":0.38233,"12.0":1.27778},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0176,"9":0,"10":0,"11":0.15839,"5.5":0},J:{"7":0,"10":0.00267},N:{"10":0,"11":0},L:{"0":37.24861},S:{"2.5":0},R:{_:"0"},M:{"0":0.09068},Q:{"10.4":0.00267},O:{"0":0.04267},H:{"0":0.06312}}; diff --git a/node_modules/caniuse-lite/data/regions/EE.js b/node_modules/caniuse-lite/data/regions/EE.js new file mode 100644 index 000000000..98e22a1e2 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/EE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0.00716,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01431,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00716,"41":0.00716,"42":0,"43":0.00716,"44":0,"45":0,"46":0,"47":0,"48":0.00716,"49":0.01431,"50":0,"51":0,"52":0.07871,"53":0,"54":0,"55":0.00716,"56":0.07155,"57":0,"58":0,"59":0.00716,"60":0.01431,"61":0.00716,"62":0,"63":0.00716,"64":0.18603,"65":0.02147,"66":0.00716,"67":0.0644,"68":0.30767,"69":0.01431,"70":0.00716,"71":0.02147,"72":0.02147,"73":0.00716,"74":0.00716,"75":0.05009,"76":0.0644,"77":1.05179,"78":2.862,"79":0.12879,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.00716,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00716,"39":0,"40":0,"41":0.01431,"42":0.00716,"43":0.01431,"44":0,"45":0,"46":0.00716,"47":0,"48":0,"49":0.12879,"50":0,"51":0,"52":0,"53":0.00716,"54":0,"55":0,"56":0.00716,"57":0,"58":0.02147,"59":0.00716,"60":0.12164,"61":0,"62":0.00716,"63":0.08586,"64":0.01431,"65":0.00716,"66":0,"67":0.01431,"68":0.01431,"69":1.63134,"70":0.39353,"71":0.52947,"72":0.27905,"73":0.12164,"74":0.02862,"75":0.03578,"76":0.05009,"77":0.03578,"78":0.09302,"79":0.19319,"80":0.36491,"81":0.31482,"83":21.57233,"84":11.24766,"85":0.01431,"86":0.01431,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00716,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01431,"51":0,"52":0,"53":0.00716,"54":0,"55":0,"56":0.07871,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":1.22351,"69":0.48654,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00356,"4.0-4.1":0.00356,"4.2-4.3":0.00356,"5.0-5.1":0.01069,"6.0-6.1":0.00356,"7.0-7.1":0.01425,"8.1-8.4":0.02138,"9.0-9.2":0.0285,"9.3":0.23516,"10.0-10.2":0.06057,"10.3":0.28504,"11.0-11.2":0.21022,"11.3-11.4":0.33136,"12.0-12.1":0.44894,"12.2-12.4":2.73281,"13.0-13.1":0.50951,"13.2":0.24941,"13.3":2.49053,"13.4-13.5":6.02144,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00716,"12":0.07155,"13":0.30051,"14":0.01431,_:"0","3.1":0,"3.2":0,"5.1":0.05009,"6.1":0,"7.1":0,"9.1":0.00716,"10.1":0.02147,"11.1":0.12879,"12.1":0.1431,"13.1":2.1465},B:{"12":0,"13":0.00716,"14":0,"15":0.00716,"16":0.10733,"17":0.02862,"18":0.32198,"79":0,"80":0,"81":0.01431,"83":0.80852,"84":0.51516},I:{"3":0,"4":0.00698,_:"81","2.1":0,"2.2":0,"2.3":0.0007,"4.1":0.01187,"4.2-4.3":0.01955,"4.4":0,"4.4.3-4.4.4":0.12358},P:{"4":0.04058,"5.0-5.4":0.02029,"6.2-6.4":0,"7.2-7.4":0.03043,"8.2":0.01014,"9.2":0.07101,"10.1":0.0913,"11.1-11.2":0.46665,"12.0":2.35356},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.07994,"9":0,"10":0,"11":0.84305,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":29.10919},S:{"2.5":0},R:{_:"0"},M:{"0":0.2276},Q:{"10.4":0.01423},O:{"0":0.04268},H:{"0":0.15622}}; diff --git a/node_modules/caniuse-lite/data/regions/EG.js b/node_modules/caniuse-lite/data/regions/EG.js new file mode 100644 index 000000000..db61f5a1b --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/EG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0.00497,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0.00497,"16":0,"17":0,"18":0.00497,"19":0,"20":0,"21":0.00497,"22":0,"23":0.00497,"24":0,"25":0.00994,"26":0,"27":0.00497,"28":0,"29":0,"30":0.00497,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00497,"44":0,"45":0.00497,"46":0,"47":0.00994,"48":0.01988,"49":0.00497,"50":0.00497,"51":0.00497,"52":0.12428,"53":0,"54":0,"55":0.00497,"56":0.00994,"57":0.00497,"58":0.00497,"59":0,"60":0.00497,"61":0,"62":0.00497,"63":0.00497,"64":0.00497,"65":0.00994,"66":0.00497,"67":0.00497,"68":0.10439,"69":0.00497,"70":0.00497,"71":0.00497,"72":0.01988,"73":0.00497,"74":0.00497,"75":0.00994,"76":0.01988,"77":0.38277,"78":1.53107,"79":0.08948,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0.00497,"20":0,"21":0,"22":0,"23":0,"24":0.01491,"25":0,"26":0.02486,"27":0,"28":0,"29":0,"30":0.00497,"31":0.00497,"32":0,"33":0.02486,"34":0.00497,"35":0.00994,"36":0.00497,"37":0,"38":0.00497,"39":0,"40":0.02983,"41":0.00497,"42":0.00497,"43":0.2237,"44":0,"45":0,"46":0.00994,"47":0.00497,"48":0.00497,"49":0.1541,"50":0,"51":0.00994,"52":0,"53":0.01491,"54":0.00497,"55":0.00994,"56":0.02486,"57":0.00497,"58":0.01491,"59":0.00497,"60":0.00497,"61":0.02486,"62":0.00994,"63":0.06462,"64":0.00497,"65":0.01491,"66":0.00497,"67":0.01491,"68":0.00497,"69":0.0348,"70":0.04474,"71":0.07457,"72":0.04474,"73":0.03977,"74":0.11433,"75":0.05468,"76":0.09445,"77":0.06462,"78":0.09942,"79":0.13422,"80":0.26346,"81":0.32809,"83":9.92212,"84":6.28832,"85":0.01491,"86":0.00994,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00497,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00497,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0.00497,"52":0,"53":0,"54":0.00497,"55":0,"56":0.00994,"57":0.00497,"58":0.00497,"60":0,"62":0.00994,"63":0.00994,"64":0.01988,"65":0.02486,"66":0.02486,"67":0.06959,"68":0.38774,"69":0.17399,"9.5-9.6":0,"10.0-10.1":0.00497,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00215,"4.0-4.1":0.00215,"4.2-4.3":0.00215,"5.0-5.1":0.00644,"6.0-6.1":0.00215,"7.0-7.1":0.00858,"8.1-8.4":0.01288,"9.0-9.2":0.01717,"9.3":0.14163,"10.0-10.2":0.03648,"10.3":0.17167,"11.0-11.2":0.12661,"11.3-11.4":0.19957,"12.0-12.1":0.27039,"12.2-12.4":1.64593,"13.0-13.1":0.30687,"13.2":0.15022,"13.3":1.50001,"13.4-13.5":3.62662,_:"14.0"},E:{"4":0,"5":0.00497,"6":0,"7":0,"8":0,"9":0,"10":0.00497,"11":0.00497,"12":0.01988,"13":0.05965,"14":0.00497,_:"0","3.1":0,"3.2":0,"5.1":0.58161,"6.1":0,"7.1":0,"9.1":0.00497,"10.1":0.00497,"11.1":0.02486,"12.1":0.06959,"13.1":0.32809},B:{"12":0.00497,"13":0.00497,"14":0.00994,"15":0.00994,"16":0.00994,"17":0.12428,"18":0.14416,"79":0,"80":0,"81":0.00497,"83":0.29826,"84":0.25352},I:{"3":0,"4":0.0189,_:"81","2.1":0,"2.2":0,"2.3":0.00189,"4.1":0.03213,"4.2-4.3":0.05292,"4.4":0,"4.4.3-4.4.4":0.33451},P:{"4":0.22846,"5.0-5.4":0,"6.2-6.4":0.01038,"7.2-7.4":0.07269,"8.2":0.01038,"9.2":0.15577,"10.1":0.11423,"11.1-11.2":0.46731,"12.0":1.33961},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03649,"9":0.01564,"10":0.01043,"11":0.15119,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0.01006},L:{"0":61.53086},S:{"2.5":0},R:{_:"0"},M:{"0":0.14081},Q:{"10.4":0.00503},O:{"0":0.53307},H:{"0":0.54277}}; diff --git a/node_modules/caniuse-lite/data/regions/ER.js b/node_modules/caniuse-lite/data/regions/ER.js new file mode 100644 index 000000000..f641ac335 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ER.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0.02418,"8":0,"9":0,"10":0.27407,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.05643,"19":0.02418,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.02418,"28":0,"29":0,"30":0.02418,"31":0.05643,"32":0,"33":0.64488,"34":0.16122,"35":0,"36":0.35468,"37":0.10479,"38":0,"39":0.05643,"40":0.05643,"41":0.13704,"42":0.6207,"43":0.32244,"44":0,"45":0.40305,"46":0.02418,"47":0.35468,"48":0.1854,"49":0.37887,"50":0,"51":0.02418,"52":0.37887,"53":0.32244,"54":0,"55":0,"56":0.99956,"57":1.59608,"58":0.02418,"59":0.13704,"60":0.59651,"61":0.89477,"62":0.86253,"63":0,"64":0,"65":0,"66":0.05643,"67":1.70087,"68":0,"69":0.02418,"70":0,"71":0,"72":0.08061,"73":0.32244,"74":0.16122,"75":0,"76":0.02418,"77":0.21765,"78":15.45294,"79":0.43529,"80":0.02418,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.45948,"44":0,"45":0.21765,"46":0,"47":0,"48":0,"49":0,"50":0.13704,"51":0.02418,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.16122,"59":0,"60":0,"61":0.13704,"62":0.16122,"63":0.32244,"64":0,"65":0.08061,"66":0,"67":0,"68":0,"69":0.05643,"70":0.10479,"71":2.24096,"72":0,"73":0.32244,"74":0.5159,"75":0.6207,"76":0,"77":0.13704,"78":0.05643,"79":0.70131,"80":2.72462,"81":1.83791,"83":10.91459,"84":6.83573,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.08061,"35":0,"36":0.1854,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.29826,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.6207,"68":1.51547,"69":0.27407,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00045,"4.0-4.1":0.00045,"4.2-4.3":0.00045,"5.0-5.1":0.00134,"6.0-6.1":0.00045,"7.0-7.1":0.00179,"8.1-8.4":0.00269,"9.0-9.2":0.00358,"9.3":0.02954,"10.0-10.2":0.00761,"10.3":0.03581,"11.0-11.2":0.02641,"11.3-11.4":0.04163,"12.0-12.1":0.0564,"12.2-12.4":0.34334,"13.0-13.1":0.06401,"13.2":0.03133,"13.3":0.3129,"13.4-13.5":0.75651,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":0},B:{"12":0.54009,"13":0.02418,"14":0.05643,"15":0.35468,"16":0.16122,"17":0.13704,"18":0.35468,"79":0,"80":0,"81":0,"83":0.43529,"84":0.97538},I:{"3":0,"4":0.04389,_:"81","2.1":0,"2.2":0,"2.3":0.00439,"4.1":0.07462,"4.2-4.3":0.1229,"4.4":0,"4.4.3-4.4.4":0.7769},P:{"4":0.03025,"5.0-5.4":0.03025,"6.2-6.4":0.03025,"7.2-7.4":0,"8.2":0.07059,"9.2":3.72121,"10.1":0.06051,"11.1-11.2":0.30254,"12.0":0.17144},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.05643,"9":0,"10":0,"11":0.40305,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":22.71169},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0.60691},H:{"0":0.44608}}; diff --git a/node_modules/caniuse-lite/data/regions/ES.js b/node_modules/caniuse-lite/data/regions/ES.js new file mode 100644 index 000000000..123e6c45e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ES.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00964,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00482,"46":0,"47":0.00482,"48":0.01446,"49":0.00482,"50":0,"51":0,"52":0.06266,"53":0,"54":0,"55":0.00482,"56":0.00964,"57":0,"58":0,"59":0.00482,"60":0.00964,"61":0,"62":0,"63":0.00482,"64":0.00964,"65":0.00964,"66":0.00964,"67":0.00482,"68":0.23136,"69":0.00482,"70":0.00482,"71":0.00482,"72":0.01446,"73":0.00482,"74":0.00482,"75":0.00964,"76":0.02892,"77":0.43862,"78":1.63398,"79":0.0723,"80":0.00482,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00482,"35":0,"36":0,"37":0,"38":0.00964,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.23618,"50":0,"51":0.00482,"52":0,"53":0.01928,"54":0.00482,"55":0,"56":0.00482,"57":0.00482,"58":0.00482,"59":0.00482,"60":0,"61":0.01928,"62":0.00482,"63":0.00964,"64":0.00482,"65":0.01928,"66":0.01446,"67":0.01928,"68":0.00964,"69":0.01446,"70":0.0482,"71":0.06748,"72":0.0482,"73":0.03374,"74":0.01928,"75":0.03856,"76":0.0241,"77":0.0241,"78":0.03856,"79":0.0482,"80":0.12532,"81":0.15424,"83":9.0857,"84":5.19114,"85":0.00482,"86":0.00482,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00482,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00964,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00482,"58":0.00482,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.26992,"69":0.12532,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00346,"4.0-4.1":0.00346,"4.2-4.3":0.00346,"5.0-5.1":0.01038,"6.0-6.1":0.00346,"7.0-7.1":0.01384,"8.1-8.4":0.02077,"9.0-9.2":0.02769,"9.3":0.22842,"10.0-10.2":0.05884,"10.3":0.27688,"11.0-11.2":0.2042,"11.3-11.4":0.32187,"12.0-12.1":0.43608,"12.2-12.4":2.65457,"13.0-13.1":0.49492,"13.2":0.24227,"13.3":2.41922,"13.4-13.5":5.84904,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00482,"10":0.00482,"11":0.00964,"12":0.0241,"13":0.1928,"14":0.00964,_:"0","3.1":0,"3.2":0,"5.1":0.01928,"6.1":0,"7.1":0,"9.1":0.00964,"10.1":0.02892,"11.1":0.06748,"12.1":0.11086,"13.1":1.3978},B:{"12":0,"13":0,"14":0.00482,"15":0.00482,"16":0.00964,"17":0.0241,"18":0.2892,"79":0,"80":0,"81":0.0241,"83":0.50128,"84":0.4097},I:{"3":0,"4":0.01107,_:"81","2.1":0,"2.2":0,"2.3":0.00111,"4.1":0.01881,"4.2-4.3":0.03099,"4.4":0,"4.4.3-4.4.4":0.19587},P:{"4":0.13445,"5.0-5.4":0.01034,"6.2-6.4":0,"7.2-7.4":0.03103,"8.2":0.01034,"9.2":0.08274,"10.1":0.08274,"11.1-11.2":0.46541,"12.0":2.24432},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01032,"9":0.01032,"10":0,"11":0.56741,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":58.148},S:{"2.5":0},R:{_:"0"},M:{"0":0.34706},Q:{"10.4":0.02072},O:{"0":0.07252},H:{"0":0.25011}}; diff --git a/node_modules/caniuse-lite/data/regions/ET.js b/node_modules/caniuse-lite/data/regions/ET.js new file mode 100644 index 000000000..028e5077f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ET.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00522,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0.00522,"20":0.00522,"21":0.00522,"22":0,"23":0.00522,"24":0.00522,"25":0.00522,"26":0.00522,"27":0.01044,"28":0.00522,"29":0.01044,"30":0.01566,"31":0.00522,"32":0.00522,"33":0.00522,"34":0.01044,"35":0.01566,"36":0.00522,"37":0.00522,"38":0.00522,"39":0.01044,"40":0.00522,"41":0.00522,"42":0.01044,"43":0.03655,"44":0.03133,"45":0.01566,"46":0.01044,"47":0.11486,"48":0.05221,"49":0.01044,"50":0.00522,"51":0.00522,"52":0.13053,"53":0.01566,"54":0.01044,"55":0.01044,"56":0.03655,"57":0.01044,"58":0.00522,"59":0.01044,"60":0.02611,"61":0.01044,"62":0.01044,"63":0.01044,"64":0.01044,"65":0.02088,"66":0.07832,"67":0.01566,"68":0.21406,"69":0.02088,"70":0.01566,"71":0.01044,"72":0.10964,"73":0.02088,"74":0.02611,"75":0.05221,"76":0.08876,"77":0.83014,"78":2.24503,"79":0.43856,"80":0.01566,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01044,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0.00522,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.00522,"26":0.01044,"27":0,"28":0,"29":0,"30":0,"31":0.00522,"32":0.04699,"33":0.04699,"34":0.00522,"35":0,"36":0.01044,"37":0.00522,"38":0.00522,"39":0,"40":0.06265,"41":0,"42":0.01566,"43":0.37591,"44":0,"45":0,"46":0.01044,"47":0,"48":0,"49":0.07832,"50":0.01044,"51":0.01566,"52":0.00522,"53":0.03655,"54":0,"55":0.02088,"56":0.00522,"57":0.00522,"58":0.01566,"59":0.00522,"60":0.02088,"61":0.04699,"62":0.00522,"63":0.10964,"64":0.01044,"65":0.04177,"66":0.00522,"67":0.03133,"68":0.14619,"69":0.06787,"70":0.06265,"71":0.02088,"72":0.03133,"73":0.06265,"74":0.09398,"75":0.04177,"76":0.04699,"77":0.11486,"78":0.0992,"79":0.16185,"80":0.30804,"81":0.27671,"83":5.11136,"84":7.72708,"85":0.05221,"86":0.01566,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0.00522,"19":0.00522,"20":0.01566,"21":0.00522,"22":0,"23":0.01566,"24":0.01044,"25":0,"26":0,"27":0,"28":0.01044,"29":0.00522,"30":0.00522,"31":0,"32":0.00522,"33":0.00522,"34":0.00522,"35":0.00522,"36":0.00522,"37":0.00522,"38":0.01044,"39":0,"40":0.00522,"41":0.00522,"42":0.01566,"43":0.00522,"44":0,"45":0.01566,"46":0.03133,"47":0.02611,"48":0,"49":0,"50":0.20362,"51":0,"52":0,"53":0.01044,"54":0,"55":0,"56":0.00522,"57":0.00522,"58":0.00522,"60":0.00522,"62":0.00522,"63":0.01044,"64":0.00522,"65":0.02088,"66":0.01044,"67":0.04177,"68":0.97111,"69":1.25304,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.17751},G:{"8":0,"3.2":0.00076,"4.0-4.1":0.00076,"4.2-4.3":0.00076,"5.0-5.1":0.00227,"6.0-6.1":0.00076,"7.0-7.1":0.00303,"8.1-8.4":0.00455,"9.0-9.2":0.00606,"9.3":0.05003,"10.0-10.2":0.01289,"10.3":0.06064,"11.0-11.2":0.04472,"11.3-11.4":0.07049,"12.0-12.1":0.0955,"12.2-12.4":0.58136,"13.0-13.1":0.10839,"13.2":0.05306,"13.3":0.52981,"13.4-13.5":1.28095,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0.00522,"8":0,"9":0,"10":0.01044,"11":0.02088,"12":0.02611,"13":0.05743,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.01044,"10.1":0.01044,"11.1":0.02088,"12.1":0.05221,"13.1":0.26627},B:{"12":0.10964,"13":0.04699,"14":0.02611,"15":0.02611,"16":0.06787,"17":0.08354,"18":0.59519,"79":0,"80":0,"81":0.03133,"83":0.27671,"84":0.51166},I:{"3":0,"4":0.02361,_:"81","2.1":0,"2.2":0,"2.3":0.00236,"4.1":0.04013,"4.2-4.3":0.06609,"4.4":0,"4.4.3-4.4.4":0.41781},P:{"4":0.55867,"5.0-5.4":0.05079,"6.2-6.4":0.05079,"7.2-7.4":0.23362,"8.2":0.03047,"9.2":0.44693,"10.1":0.15236,"11.1-11.2":0.47741,"12.0":0.75166},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.04146,"9":0.01382,"10":0,"11":0.41461,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":42.12352},S:{"2.5":0.00478},R:{_:"0"},M:{"0":0.20072},Q:{"10.4":0.25329},O:{"0":2.81483},H:{"0":11.70475}}; diff --git a/node_modules/caniuse-lite/data/regions/FI.js b/node_modules/caniuse-lite/data/regions/FI.js new file mode 100644 index 000000000..f6544d12e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/FI.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.0056,"5":0.0056,"6":0.0056,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.0056,"22":0,"23":0,"24":0,"25":0,"26":0.0056,"27":0.02242,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.0056,"35":0,"36":0,"37":0.01681,"38":0.0056,"39":0,"40":0.0056,"41":0,"42":0.0056,"43":0.0056,"44":0.0056,"45":0.0056,"46":0,"47":0.0056,"48":0.01121,"49":0.0056,"50":0.0056,"51":0.0056,"52":0.05044,"53":0.0056,"54":0.0056,"55":0.0056,"56":0.01121,"57":0.0056,"58":0.0056,"59":0.01681,"60":0.01121,"61":0.0056,"62":0.0056,"63":0.03923,"64":0.01681,"65":0.01121,"66":0.01121,"67":0.01121,"68":0.46513,"69":0.0056,"70":0.0056,"71":0.0056,"72":0.01681,"73":0.0056,"74":0.01121,"75":0.01681,"76":0.04483,"77":0.78456,"78":3.09341,"79":0.17933,"80":0.0056,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.0056,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.0056,"35":0,"36":0,"37":0,"38":0.01681,"39":0,"40":0.01681,"41":0.0056,"42":0,"43":0,"44":0,"45":0,"46":0.0056,"47":0.0056,"48":0,"49":0.21856,"50":0,"51":0.0056,"52":0.09527,"53":0.02802,"54":0.0056,"55":0.0056,"56":0.0056,"57":0.0056,"58":0.0056,"59":0.0056,"60":0.02242,"61":0.0056,"62":0.01121,"63":0.01121,"64":0.26339,"65":0.01121,"66":0.06164,"67":0.02242,"68":0.01121,"69":0.43711,"70":0.2858,"71":0.04483,"72":0.30262,"73":0.02242,"74":0.02242,"75":0.02802,"76":0.03923,"77":0.03923,"78":0.05044,"79":0.57721,"80":0.6949,"81":0.30262,"83":9.62767,"84":5.71048,"85":0.01121,"86":0.0056,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01681,"51":0,"52":0,"53":0.0056,"54":0,"55":0,"56":0,"57":0,"58":0.01681,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.0056,"68":0.35866,"69":0.17933,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0056},G:{"8":0,"3.2":0.00448,"4.0-4.1":0.00448,"4.2-4.3":0.00448,"5.0-5.1":0.01344,"6.0-6.1":0.00448,"7.0-7.1":0.01792,"8.1-8.4":0.02689,"9.0-9.2":0.03585,"9.3":0.29576,"10.0-10.2":0.07618,"10.3":0.3585,"11.0-11.2":0.26439,"11.3-11.4":0.41675,"12.0-12.1":0.56464,"12.2-12.4":3.43711,"13.0-13.1":0.64082,"13.2":0.31369,"13.3":3.13238,"13.4-13.5":7.57328,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.02242,"9":0,"10":0.0056,"11":0.01121,"12":0.02242,"13":0.26339,"14":0.01121,_:"0","3.1":0,"3.2":0,"5.1":0.0056,"6.1":0,"7.1":0,"9.1":0.0056,"10.1":0.03923,"11.1":0.11768,"12.1":0.11768,"13.1":2.15194},B:{"12":0,"13":0.0056,"14":0.01121,"15":0.01121,"16":0.01681,"17":0.05604,"18":0.44272,"79":0,"80":0.0056,"81":0.01121,"83":0.835,"84":0.62204},I:{"3":0,"4":0.01428,_:"81","2.1":0,"2.2":0,"2.3":0.00143,"4.1":0.02428,"4.2-4.3":0.03999,"4.4":0,"4.4.3-4.4.4":0.25278},P:{"4":0.12634,"5.0-5.4":0,"6.2-6.4":0.01053,"7.2-7.4":0.06317,"8.2":0.03158,"9.2":0.20004,"10.1":0.22109,"11.1-11.2":0.81067,"12.0":2.29516},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.01141,"7":0.00571,"8":0.00571,"9":0.01141,"10":0.00571,"11":0.5821,"5.5":0},J:{"7":0,"10":0.0044},N:{"10":0,"11":0.03077},L:{"0":44.13936},S:{"2.5":0.0044},R:{_:"0"},M:{"0":0.5539},Q:{"10.4":0.0044},O:{"0":0.05715},H:{"0":0.33711}}; diff --git a/node_modules/caniuse-lite/data/regions/FJ.js b/node_modules/caniuse-lite/data/regions/FJ.js new file mode 100644 index 000000000..3d2798054 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/FJ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00413,"28":0,"29":0,"30":0.00413,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00413,"48":0.01653,"49":0,"50":0,"51":0,"52":0.00826,"53":0,"54":0,"55":0,"56":0.00413,"57":0,"58":0.0124,"59":0,"60":0.00413,"61":0.00413,"62":0,"63":0,"64":0,"65":0.00826,"66":0.00413,"67":0,"68":0.17354,"69":0,"70":0.0124,"71":0.00413,"72":0.00413,"73":0.05785,"74":0.00826,"75":0,"76":0.00826,"77":0.26858,"78":0.84706,"79":0.07438,"80":0.00413,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00413,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00413,"37":0,"38":0.00413,"39":0.00826,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.06198,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00413,"57":0,"58":0.00826,"59":0,"60":0,"61":0.02066,"62":0.00413,"63":0.03719,"64":0,"65":0.01653,"66":0.00413,"67":0.01653,"68":0.00413,"69":0.00826,"70":0.03719,"71":0.00413,"72":0.00413,"73":0.00413,"74":0.0124,"75":0.04132,"76":0.02479,"77":0.13222,"78":0.01653,"79":0.07851,"80":0.07024,"81":0.07024,"83":6.32196,"84":4.19398,"85":0.00826,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00413,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.11983,"69":0.05785,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00149,"4.0-4.1":0.00149,"4.2-4.3":0.00149,"5.0-5.1":0.00448,"6.0-6.1":0.00149,"7.0-7.1":0.00598,"8.1-8.4":0.00897,"9.0-9.2":0.01196,"9.3":0.09865,"10.0-10.2":0.02541,"10.3":0.11957,"11.0-11.2":0.08819,"11.3-11.4":0.139,"12.0-12.1":0.18833,"12.2-12.4":1.14641,"13.0-13.1":0.21374,"13.2":0.10463,"13.3":1.04478,"13.4-13.5":2.526,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00413,"12":0.19007,"13":0.18594,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.0124,"6.1":0,"7.1":0,"9.1":0.02479,"10.1":0.00413,"11.1":0.11156,"12.1":0.02892,"13.1":0.64459},B:{"12":0.00413,"13":0.00826,"14":0.00826,"15":0.01653,"16":0.0124,"17":0.05785,"18":0.39667,"79":0,"80":0,"81":0.21486,"83":0.28924,"84":0.22313},I:{"3":0,"4":0.01086,_:"81","2.1":0,"2.2":0,"2.3":0.00109,"4.1":0.01846,"4.2-4.3":0.03041,"4.4":0,"4.4.3-4.4.4":0.19224},P:{"4":0.65267,"5.0-5.4":0.0204,"6.2-6.4":0.10198,"7.2-7.4":0.9586,"8.2":0.04079,"9.2":0.81583,"10.1":0.38752,"11.1-11.2":2.53928,"12.0":11.95196},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01115,"9":0,"10":0.01115,"11":0.56858,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":50.41831},S:{"2.5":0},R:{_:"0"},M:{"0":0.2934},Q:{"10.4":0.32861},O:{"0":1.06211},H:{"0":0.21111}}; diff --git a/node_modules/caniuse-lite/data/regions/FK.js b/node_modules/caniuse-lite/data/regions/FK.js new file mode 100644 index 000000000..44e3059ef --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/FK.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01376,"53":0,"54":0,"55":0,"56":0,"57":0.00917,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00917,"64":0.0367,"65":0,"66":0,"67":0,"68":0.2477,"69":0,"70":0.01376,"71":0,"72":0.00917,"73":0.02752,"74":0.02294,"75":0.11468,"76":0.01376,"77":0.78896,"78":3.4219,"79":0.16972,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00917,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00917,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0.0367,"76":0,"77":0.01376,"78":0,"79":0.11926,"80":0.05046,"81":0.18348,"83":3.33016,"84":1.26601,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.0367,"69":0.16972,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00538,"4.0-4.1":0.00538,"4.2-4.3":0.00538,"5.0-5.1":0.01615,"6.0-6.1":0.00538,"7.0-7.1":0.02154,"8.1-8.4":0.03231,"9.0-9.2":0.04308,"9.3":0.35539,"10.0-10.2":0.09154,"10.3":0.43078,"11.0-11.2":0.3177,"11.3-11.4":0.50078,"12.0-12.1":0.67848,"12.2-12.4":4.1301,"13.0-13.1":0.77002,"13.2":0.37693,"13.3":3.76394,"13.4-13.5":9.10022,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.3899,"9":0.13302,"10":0,"11":0,"12":0,"13":0.16513,"14":1.26601,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.01376,"10.1":0,"11.1":0.01376,"12.1":0.01376,"13.1":1.73847},B:{"12":0,"13":0,"14":0,"15":0.15137,"16":0.11926,"17":0.30733,"18":1.52747,"79":0.44035,"80":0,"81":0,"83":0.56879,"84":0.60548},I:{"3":0,"4":0.03563,_:"81","2.1":0,"2.2":0,"2.3":0.00356,"4.1":0.06058,"4.2-4.3":0.09977,"4.4":0,"4.4.3-4.4.4":0.6307},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.08532,"8.2":0,"9.2":1.13047,"10.1":0.11731,"11.1-11.2":0.98116,"12.0":1.98366},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00917,"9":0,"10":0,"11":2.10085,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":50.19958},S:{"2.5":0},R:{_:"0"},M:{"0":0.31395},Q:{"10.4":0},O:{"0":0},H:{"0":0.7687}}; diff --git a/node_modules/caniuse-lite/data/regions/FM.js b/node_modules/caniuse-lite/data/regions/FM.js new file mode 100644 index 000000000..1533e8450 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/FM.js @@ -0,0 +1 @@ +module.exports={C:{"4":0.01157,"45":0.02892,"47":0.02313,"48":0.05205,"59":0.3412,"66":0.0694,"72":0.01157,"74":0.01157,"75":0.00578,"76":0.08096,"77":0.59565,"78":2.585,"79":0.17349,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 46 49 50 51 52 53 54 55 56 57 58 60 61 62 63 64 65 67 68 69 70 71 73 80 81 3.5 3.6"},D:{"26":0.00578,"39":0.01735,"40":0.02892,"49":0.0347,"59":0.05205,"60":0.01157,"62":0.01735,"63":0.01735,"67":0.02313,"69":0.16771,"75":0.02313,"76":0.02313,"77":0.0347,"78":0.04626,"79":0.01735,"80":0.06361,"81":7.03791,"83":18.61548,"84":10.44988,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 38 41 42 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 61 64 65 66 68 70 71 72 73 74 85 86 87"},F:{"58":0.01157,"68":0.10988,"69":0.13879,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 60 62 63 64 65 66 67 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},G:{"8":0,"3.2":0.00162,"4.0-4.1":0.00162,"4.2-4.3":0.00162,"5.0-5.1":0.00485,"6.0-6.1":0.00162,"7.0-7.1":0.00647,"8.1-8.4":0.0097,"9.0-9.2":0.01294,"9.3":0.10672,"10.0-10.2":0.02749,"10.3":0.12935,"11.0-11.2":0.0954,"11.3-11.4":0.15037,"12.0-12.1":0.20373,"12.2-12.4":1.24017,"13.0-13.1":0.23122,"13.2":0.11318,"13.3":1.13022,"13.4-13.5":2.73258,_:"14.0"},E:{"4":0,"13":0.01735,_:"0 5 6 7 8 9 10 11 12 14 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1","12.1":0.07518,"13.1":2.41729},B:{"12":0.01735,"13":0.08096,"14":0.07518,"15":0.05783,"16":0.01735,"17":0.05205,"18":2.34212,"81":0.01735,"83":5.24518,"84":0.67083,_:"79 80"},I:{"3":0,"4":0.00633,_:"81","2.1":0,"2.2":0,"2.3":0.00063,"4.1":0.01077,"4.2-4.3":0.01774,"4.4":0,"4.4.3-4.4.4":0.11212},P:{"4":0.06052,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.08472,"8.2":0.01046,"9.2":0.15734,"10.1":0.05228,"11.1-11.2":0.15734,"12.0":0.47203},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"10":0.01839,"11":2.42782,_:"6 7 8 9 5.5"},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":36.84629},S:{"2.5":0},R:{_:"0"},M:{"0":0.04217},Q:{"10.4":0.0253},O:{"0":0.22772},H:{"0":0.59886}}; diff --git a/node_modules/caniuse-lite/data/regions/FO.js b/node_modules/caniuse-lite/data/regions/FO.js new file mode 100644 index 000000000..671bc40c1 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/FO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0206,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01545,"49":0,"50":0.0103,"51":0,"52":0.01545,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00515,"64":0,"65":0,"66":0,"67":0,"68":0.2318,"69":0.0103,"70":0.00515,"71":0,"72":0.00515,"73":0,"74":0.0103,"75":0.01545,"76":0.0103,"77":0.29876,"78":1.11262,"79":0.07727,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00515,"32":0,"33":0,"34":0.00515,"35":0,"36":0,"37":0,"38":0.0103,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.15453,"50":0,"51":0,"52":0,"53":0.01545,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0.00515,"62":0,"63":0,"64":0,"65":0.00515,"66":0.00515,"67":0.03606,"68":0.00515,"69":0.00515,"70":0.00515,"71":0.00515,"72":0,"73":0,"74":0,"75":0.09272,"76":0.0103,"77":0.07727,"78":0.01545,"79":0.03606,"80":0.05666,"81":0.05151,"83":5.84639,"84":3.73448,"85":0.00515,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.00515,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.04121,"69":0.02576,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.01153,"4.0-4.1":0.01153,"4.2-4.3":0.01153,"5.0-5.1":0.03458,"6.0-6.1":0.01153,"7.0-7.1":0.04611,"8.1-8.4":0.06916,"9.0-9.2":0.09221,"9.3":0.76075,"10.0-10.2":0.19595,"10.3":0.92213,"11.0-11.2":0.68007,"11.3-11.4":1.07197,"12.0-12.1":1.45235,"12.2-12.4":8.84089,"13.0-13.1":1.6483,"13.2":0.80686,"13.3":8.05709,"13.4-13.5":19.47994,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.01545,"9":0,"10":0,"11":0.0103,"12":0.0206,"13":0.46359,"14":0.00515,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0.0103,"7.1":0,"9.1":0.07211,"10.1":0.12362,"11.1":0.12878,"12.1":0.09787,"13.1":5.3828},B:{"12":0,"13":0,"14":0.01545,"15":0.03606,"16":0.00515,"17":0.0206,"18":0.98384,"79":0,"80":0,"81":0.0103,"83":1.45773,"84":1.22079},I:{"3":0,"4":0.00194,_:"81","2.1":0,"2.2":0,"2.3":0.00019,"4.1":0.00329,"4.2-4.3":0.00543,"4.4":0,"4.4.3-4.4.4":0.0343},P:{"4":0.10986,"5.0-5.4":0.01099,"6.2-6.4":0.04394,"7.2-7.4":0.03296,"8.2":0,"9.2":0.24168,"10.1":0.18675,"11.1-11.2":1.01067,"12.0":5.43784},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00515,"9":0.00515,"10":0,"11":2.0707,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0.0097},L:{"0":19.08229},S:{"2.5":0},R:{_:"0"},M:{"0":0.23275},Q:{"10.4":0},O:{"0":0},H:{"0":0.07345}}; diff --git a/node_modules/caniuse-lite/data/regions/FR.js b/node_modules/caniuse-lite/data/regions/FR.js new file mode 100644 index 000000000..8ccc4e77b --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/FR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00589,"4":0.00589,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01768,"12":0.01178,"13":0,"14":0,"15":0,"16":0,"17":0.00589,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00589,"27":0.01768,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00589,"39":0,"40":0,"41":0,"42":0,"43":0.00589,"44":0.00589,"45":0.01768,"46":0.00589,"47":0.01178,"48":0.04714,"49":0.00589,"50":0.00589,"51":0.00589,"52":0.12373,"53":0.00589,"54":0.00589,"55":0.01768,"56":0.03535,"57":0.00589,"58":0.01178,"59":0.01768,"60":0.0766,"61":0.01768,"62":0.02357,"63":0.09427,"64":0.11784,"65":0.11784,"66":0.05303,"67":0.01178,"68":0.47725,"69":0.02357,"70":0.00589,"71":0.01178,"72":0.02946,"73":0.01178,"74":0.02946,"75":0.02357,"76":0.04124,"77":0.92504,"78":2.85762,"79":0.14141,"80":0.00589,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00589,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00589,"24":0.00589,"25":0,"26":0,"27":0,"28":0,"29":0.00589,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00589,"37":0.02357,"38":0.00589,"39":0,"40":0.00589,"41":0.01178,"42":0,"43":0.01768,"44":0,"45":0.00589,"46":0,"47":0.00589,"48":0.02946,"49":0.49493,"50":0.00589,"51":0.01178,"52":0.00589,"53":0.01178,"54":0.00589,"55":0.01178,"56":0.01768,"57":0.01178,"58":0.01768,"59":0.01178,"60":0.01178,"61":0.02946,"62":0.01768,"63":0.04124,"64":0.0707,"65":0.02946,"66":0.05303,"67":0.05303,"68":0.02946,"69":0.09427,"70":0.64223,"71":0.87791,"72":0.78364,"73":0.34174,"74":0.04124,"75":0.15319,"76":0.04124,"77":0.04124,"78":0.09427,"79":0.11784,"80":0.218,"81":0.27103,"83":9.81607,"84":5.44421,"85":0.01178,"86":0.01178,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00589,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00589,"48":0,"49":0,"50":0.03535,"51":0,"52":0,"53":0.00589,"54":0,"55":0,"56":0.04714,"57":0.04714,"58":0.06481,"60":0.00589,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00589,"68":0.35352,"69":0.15319,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00589},G:{"8":0,"3.2":0.00451,"4.0-4.1":0.00451,"4.2-4.3":0.00451,"5.0-5.1":0.01353,"6.0-6.1":0.00451,"7.0-7.1":0.01804,"8.1-8.4":0.02706,"9.0-9.2":0.03608,"9.3":0.2977,"10.0-10.2":0.07668,"10.3":0.36084,"11.0-11.2":0.26612,"11.3-11.4":0.41948,"12.0-12.1":0.56833,"12.2-12.4":3.45959,"13.0-13.1":0.64501,"13.2":0.31574,"13.3":3.15287,"13.4-13.5":7.62282,_:"14.0"},E:{"4":0.00589,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00589,"11":0.01768,"12":0.0766,"13":0.38887,"14":0.01178,_:"0","3.1":0,"3.2":0,"5.1":0.01178,"6.1":0.00589,"7.1":0,"9.1":0.01178,"10.1":0.05303,"11.1":0.15319,"12.1":0.22979,"13.1":2.18004},B:{"12":0.00589,"13":0.00589,"14":0.01768,"15":0.01178,"16":0.02357,"17":0.10016,"18":0.55385,"79":0,"80":0,"81":0.04124,"83":0.74239,"84":0.63634},I:{"3":0,"4":0.01472,_:"81","2.1":0,"2.2":0,"2.3":0.00147,"4.1":0.02503,"4.2-4.3":0.04122,"4.4":0,"4.4.3-4.4.4":0.26058},P:{"4":0.14566,"5.0-5.4":0.03121,"6.2-6.4":0.0104,"7.2-7.4":0.06243,"8.2":0.02081,"9.2":0.13526,"10.1":0.12485,"11.1-11.2":0.63467,"12.0":2.33061},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.05861,"7":0.00651,"8":0.14327,"9":0.04559,"10":0.0521,"11":0.93125,"5.5":0},J:{"7":0,"10":0.00411},N:{"10":0,"11":0},L:{"0":40.7527},S:{"2.5":0},R:{_:"0"},M:{"0":0.42312},Q:{"10.4":0.04519},O:{"0":0.6655},H:{"0":0.34225}}; diff --git a/node_modules/caniuse-lite/data/regions/GA.js b/node_modules/caniuse-lite/data/regions/GA.js new file mode 100644 index 000000000..3660f5297 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00525,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.06304,"28":0,"29":0,"30":0.00525,"31":0,"32":0.00525,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00525,"44":0,"45":0,"46":0,"47":0.00525,"48":0.06829,"49":0,"50":0,"51":0,"52":0.05778,"53":0,"54":0.03677,"55":0,"56":0.01576,"57":0.00525,"58":0,"59":0,"60":0.00525,"61":0,"62":0,"63":0.00525,"64":0,"65":0,"66":0,"67":0.01576,"68":0.09981,"69":0.04202,"70":0.00525,"71":0.00525,"72":0.04728,"73":0,"74":0.04202,"75":0.01051,"76":0.01576,"77":0.7827,"78":2.72631,"79":0.08405,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00525,"32":0,"33":0,"34":0.01051,"35":0,"36":0,"37":0,"38":0.01576,"39":0,"40":0,"41":0,"42":0,"43":0.00525,"44":0,"45":0,"46":0.00525,"47":0,"48":0,"49":0.13658,"50":0.00525,"51":0,"52":0,"53":0.02627,"54":0,"55":0.01576,"56":0,"57":0,"58":0.00525,"59":0,"60":0.00525,"61":0,"62":0.00525,"63":0.0893,"64":0.00525,"65":0.13658,"66":0,"67":0.01576,"68":0.00525,"69":0.02627,"70":0.00525,"71":0.00525,"72":0.00525,"73":0.05778,"74":0.08405,"75":0.01051,"76":0.01576,"77":0.14708,"78":0.12082,"79":0.05253,"80":0.2679,"81":0.12082,"83":8.6622,"84":5.35281,"85":0.03677,"86":0.01051,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00525,"46":0.01051,"47":0,"48":0.00525,"49":0,"50":0.02101,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0.00525,"66":0,"67":0.01576,"68":1.26072,"69":0.54106,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01051},G:{"8":0,"3.2":0.00136,"4.0-4.1":0.00136,"4.2-4.3":0.00136,"5.0-5.1":0.00407,"6.0-6.1":0.00136,"7.0-7.1":0.00542,"8.1-8.4":0.00814,"9.0-9.2":0.01085,"9.3":0.0895,"10.0-10.2":0.02305,"10.3":0.10849,"11.0-11.2":0.08001,"11.3-11.4":0.12611,"12.0-12.1":0.17087,"12.2-12.4":1.04011,"13.0-13.1":0.19392,"13.2":0.09493,"13.3":0.9479,"13.4-13.5":2.29176,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.38872,"10":0.02101,"11":0.00525,"12":0.04202,"13":0.18911,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.01051,"6.1":0,"7.1":0,"9.1":0,"10.1":0.03152,"11.1":0.12082,"12.1":0.75118,"13.1":0.65663},B:{"12":0.01576,"13":0.01051,"14":0.03677,"15":0.02101,"16":0.02627,"17":0.0788,"18":0.42024,"79":0,"80":0,"81":0.04202,"83":0.78795,"84":0.51479},I:{"3":0,"4":0.01348,_:"81","2.1":0,"2.2":0,"2.3":0.00135,"4.1":0.02291,"4.2-4.3":0.03774,"4.4":0,"4.4.3-4.4.4":0.23857},P:{"4":0.44828,"5.0-5.4":0.01019,"6.2-6.4":0.05094,"7.2-7.4":0.66223,"8.2":0.05094,"9.2":0.28527,"10.1":0.22414,"11.1-11.2":1.06976,"12.0":2.35348},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.04267,"9":0.016,"10":0,"11":0.28803,"5.5":0},J:{"7":0,"10":0.04747},N:{"10":0,"11":0.01424},L:{"0":55.44525},S:{"2.5":0.00475},R:{_:"0"},M:{"0":0.21836},Q:{"10.4":0.04747},O:{"0":0.4747},H:{"0":1.89204}}; diff --git a/node_modules/caniuse-lite/data/regions/GB.js b/node_modules/caniuse-lite/data/regions/GB.js new file mode 100644 index 000000000..f0e892894 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GB.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00518,"27":0.01553,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01035,"49":0,"50":0,"51":0,"52":0.03623,"53":0,"54":0,"55":0,"56":0.00518,"57":0,"58":0,"59":0.00518,"60":0.00518,"61":0,"62":0.00518,"63":0.00518,"64":0.00518,"65":0.00518,"66":0.00518,"67":0.00518,"68":0.17078,"69":0.00518,"70":0.00518,"71":0.00518,"72":0.01035,"73":0.00518,"74":0.01035,"75":0.01035,"76":0.0207,"77":0.32603,"78":1.08158,"79":0.05693,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00518,"35":0.00518,"36":0,"37":0,"38":0.01035,"39":0,"40":0.06728,"41":0.00518,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.1656,"50":0.00518,"51":0,"52":0,"53":0.01035,"54":0.1449,"55":0.00518,"56":0.00518,"57":0.00518,"58":0.01035,"59":0.00518,"60":0.00518,"61":0.01553,"62":0.01035,"63":0.0207,"64":0.01035,"65":0.0207,"66":0.03105,"67":0.0207,"68":0.00518,"69":0.0621,"70":0.04658,"71":0.05693,"72":0.0414,"73":0.03623,"74":0.0207,"75":0.0414,"76":0.04658,"77":0.03105,"78":0.04658,"79":0.0828,"80":0.18113,"81":0.22253,"83":8.5698,"84":4.29525,"85":0.01035,"86":0.00518,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00518,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01553,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00518,"57":0,"58":0.00518,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.19665,"69":0.09833,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00518},G:{"8":0,"3.2":0.00872,"4.0-4.1":0.00872,"4.2-4.3":0.00872,"5.0-5.1":0.02617,"6.0-6.1":0.00872,"7.0-7.1":0.03489,"8.1-8.4":0.05233,"9.0-9.2":0.06978,"9.3":0.57566,"10.0-10.2":0.14828,"10.3":0.69777,"11.0-11.2":0.51461,"11.3-11.4":0.81116,"12.0-12.1":1.09899,"12.2-12.4":6.68988,"13.0-13.1":1.24727,"13.2":0.61055,"13.3":6.09678,"13.4-13.5":14.74042,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00518,"9":0.00518,"10":0.00518,"11":0.01035,"12":0.0414,"13":0.3519,"14":0.01035,_:"0","3.1":0,"3.2":0,"5.1":0.00518,"6.1":0,"7.1":0,"9.1":0.01035,"10.1":0.05175,"11.1":0.11903,"12.1":0.1656,"13.1":3.42585},B:{"12":0.00518,"13":0.00518,"14":0.01035,"15":0.0207,"16":0.0207,"17":0.07245,"18":0.92115,"79":0,"80":0,"81":0.04658,"83":0.98843,"84":0.77625},I:{"3":0,"4":0.03344,_:"81","2.1":0,"2.2":0,"2.3":0.00334,"4.1":0.05686,"4.2-4.3":0.09364,"4.4":0,"4.4.3-4.4.4":0.59196},P:{"4":0.0982,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.03273,"8.2":0.01091,"9.2":0.07638,"10.1":0.0982,"11.1-11.2":0.58923,"12.0":3.85179},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0108,"9":0.0054,"10":0,"11":0.8532,"5.5":0},J:{"7":0,"10":0.00965},N:{"10":0,"11":0},L:{"0":31.92455},S:{"2.5":0},R:{_:"0"},M:{"0":0.28468},Q:{"10.4":0.01448},O:{"0":0.13028},H:{"0":0.17358}}; diff --git a/node_modules/caniuse-lite/data/regions/GD.js b/node_modules/caniuse-lite/data/regions/GD.js new file mode 100644 index 000000000..58cef6070 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GD.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0.00317,"52":0.00317,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00317,"61":0,"62":0,"63":0,"64":0,"65":0.00952,"66":0,"67":0,"68":0.03808,"69":0,"70":0,"71":0,"72":0.00317,"73":0,"74":0.00317,"75":0,"76":0,"77":0.10788,"78":0.41249,"79":0.01587,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01269,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.10471,"50":0,"51":0,"52":0,"53":0.00317,"54":0,"55":0,"56":0,"57":0,"58":0.00317,"59":0,"60":0,"61":0,"62":0,"63":0.00317,"64":0,"65":0.00317,"66":0,"67":0,"68":0,"69":0,"70":0.00952,"71":0,"72":0,"73":0.00317,"74":0.00317,"75":0.00952,"76":0.06029,"77":0.00317,"78":0,"79":0.01904,"80":0.1174,"81":0.05711,"83":3.37925,"84":2.22427,"85":0.00635,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00317,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.00317,"64":0,"65":0,"66":0,"67":0,"68":0.05711,"69":0.05711,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00267,"4.0-4.1":0.00267,"4.2-4.3":0.00267,"5.0-5.1":0.00801,"6.0-6.1":0.00267,"7.0-7.1":0.01069,"8.1-8.4":0.01603,"9.0-9.2":0.02137,"9.3":0.17631,"10.0-10.2":0.04541,"10.3":0.21371,"11.0-11.2":0.15761,"11.3-11.4":0.24844,"12.0-12.1":0.33659,"12.2-12.4":2.04893,"13.0-13.1":0.382,"13.2":0.18699,"13.3":1.86728,"13.4-13.5":4.51459,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.01587,"11":0,"12":0.00952,"13":0.02538,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.14913,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01269,"11.1":0.06981,"12.1":0.02856,"13.1":0.47595},B:{"12":0.00635,"13":0.00317,"14":0.01269,"15":0.01587,"16":0.03173,"17":0.09202,"18":0.32047,"79":0,"80":0,"81":0.02221,"83":0.39345,"84":0.37759},I:{"3":0,"4":0.04333,_:"81","2.1":0,"2.2":0,"2.3":0.00433,"4.1":0.07366,"4.2-4.3":0.12132,"4.4":0,"4.4.3-4.4.4":0.76695},P:{"4":0.42452,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.23348,"8.2":0,"9.2":0.09552,"10.1":0.10613,"11.1-11.2":0.60493,"12.0":3.20509},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.01172,"10":0,"11":0.19136,"5.5":0},J:{"7":0,"10":0.02731},N:{"10":0,"11":0},L:{"0":72.04953},S:{"2.5":0},R:{_:"0"},M:{"0":0.06827},Q:{"10.4":0},O:{"0":0.21846},H:{"0":0.09695}}; diff --git a/node_modules/caniuse-lite/data/regions/GE.js b/node_modules/caniuse-lite/data/regions/GE.js new file mode 100644 index 000000000..21dba1a61 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00659,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01977,"53":0.00659,"54":0,"55":0,"56":0,"57":0.00659,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.00659,"67":0.00659,"68":0.05271,"69":0.00659,"70":0.00659,"71":0.01318,"72":0.00659,"73":0.00659,"74":0.00659,"75":0.00659,"76":0.01977,"77":0.21744,"78":0.86975,"79":0.03295,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00659,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00659,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00659,"35":0,"36":0,"37":0,"38":0.00659,"39":0.00659,"40":0.00659,"41":0.01318,"42":0,"43":0.00659,"44":0,"45":0,"46":0,"47":0.00659,"48":0.00659,"49":0.32286,"50":0,"51":0,"52":0.00659,"53":0.01318,"54":0,"55":0.00659,"56":0.01977,"57":0.00659,"58":0.02636,"59":0.02636,"60":0.00659,"61":0.01318,"62":0.01318,"63":0.0593,"64":0.00659,"65":0.01318,"66":0.03295,"67":0.01977,"68":0.02636,"69":0.01318,"70":0.03953,"71":0.0593,"72":0.03953,"73":0.05271,"74":0.07907,"75":0.07248,"76":0.0593,"77":0.05271,"78":0.10542,"79":0.23062,"80":0.25697,"81":0.29651,"83":19.23988,"84":11.59005,"85":0.05271,"86":0.01977,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.00659,"36":0.01318,"37":0,"38":0,"39":0,"40":0.00659,"41":0,"42":0.00659,"43":0.01318,"44":0,"45":0.00659,"46":0.03295,"47":0.01318,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0.00659,"54":0.00659,"55":0,"56":0,"57":0.00659,"58":0,"60":0.03295,"62":0,"63":0.01318,"64":0,"65":0.00659,"66":0.00659,"67":0.01318,"68":2.38522,"69":1.58136,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00298,"4.0-4.1":0.00298,"4.2-4.3":0.00298,"5.0-5.1":0.00895,"6.0-6.1":0.00298,"7.0-7.1":0.01193,"8.1-8.4":0.01789,"9.0-9.2":0.02386,"9.3":0.19683,"10.0-10.2":0.0507,"10.3":0.23858,"11.0-11.2":0.17595,"11.3-11.4":0.27735,"12.0-12.1":0.37577,"12.2-12.4":2.28741,"13.0-13.1":0.42647,"13.2":0.20876,"13.3":2.08461,"13.4-13.5":5.04005,_:"14.0"},E:{"4":0,"5":0,"6":0.00659,"7":0,"8":0.00659,"9":0,"10":0,"11":0.00659,"12":0.03295,"13":0.1186,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.07248,"6.1":0,"7.1":0,"9.1":0.03295,"10.1":0.00659,"11.1":0.02636,"12.1":0.07248,"13.1":0.64572},B:{"12":0.00659,"13":0.13837,"14":0.21085,"15":0.03295,"16":0.19767,"17":0.03295,"18":0.75115,"79":0,"80":0.00659,"81":0.00659,"83":0.1779,"84":0.13178},I:{"3":0,"4":0.02786,_:"81","2.1":0,"2.2":0,"2.3":0.00279,"4.1":0.04737,"4.2-4.3":0.07802,"4.4":0,"4.4.3-4.4.4":0.49318},P:{"4":0.39073,"5.0-5.4":0,"6.2-6.4":0.01028,"7.2-7.4":0.06169,"8.2":0.03085,"9.2":0.11311,"10.1":0.08226,"11.1-11.2":0.3496,"12.0":1.08994},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.00736,"7":0.00736,"8":0.02943,"9":0.01472,"10":0.01472,"11":0.36789,"5.5":0},J:{"7":0,"10":0.00341},N:{"10":0,"11":0},L:{"0":40.58257},S:{"2.5":0},R:{_:"0"},M:{"0":0.07163},Q:{"10.4":0.00682},O:{"0":0.07504},H:{"0":0.34231}}; diff --git a/node_modules/caniuse-lite/data/regions/GF.js b/node_modules/caniuse-lite/data/regions/GF.js new file mode 100644 index 000000000..dac868a04 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GF.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00507,"49":0.01013,"50":0.00507,"51":0,"52":0.04052,"53":0,"54":0,"55":0,"56":0,"57":0.0152,"58":0,"59":0,"60":0.12663,"61":0,"62":0,"63":0,"64":0,"65":0.00507,"66":0.00507,"67":0,"68":0.16715,"69":0.00507,"70":0,"71":0.01013,"72":0.02026,"73":0,"74":0,"75":0.02026,"76":0.10637,"77":0.61793,"78":1.97029,"79":0.06585,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00507,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00507,"37":0,"38":0,"39":0,"40":0.02026,"41":0,"42":0,"43":0.00507,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.23806,"50":0.00507,"51":0,"52":0,"53":0,"54":0,"55":0.0152,"56":0,"57":0.14182,"58":0.00507,"59":0,"60":0,"61":0.0152,"62":0.00507,"63":0.08104,"64":0,"65":0.02026,"66":0,"67":0.1165,"68":0,"69":0.00507,"70":0.21273,"71":0.16715,"72":0,"73":0.33429,"74":0.01013,"75":0,"76":0.13169,"77":0.00507,"78":0.07091,"79":0.18234,"80":0.29884,"81":0.07091,"83":8.77258,"84":4.31032,"85":0.00507,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00507,"32":0,"33":0,"34":0,"35":0,"36":0.01013,"37":0,"38":0,"39":0,"40":0.01013,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00507,"58":0.02533,"60":0,"62":0,"63":0,"64":0,"65":0.01013,"66":0,"67":0,"68":0.7091,"69":0.23299,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00372,"4.0-4.1":0.00372,"4.2-4.3":0.00372,"5.0-5.1":0.01117,"6.0-6.1":0.00372,"7.0-7.1":0.01489,"8.1-8.4":0.02233,"9.0-9.2":0.02977,"9.3":0.24563,"10.0-10.2":0.06327,"10.3":0.29774,"11.0-11.2":0.21958,"11.3-11.4":0.34612,"12.0-12.1":0.46894,"12.2-12.4":2.85456,"13.0-13.1":0.53221,"13.2":0.26052,"13.3":2.60149,"13.4-13.5":6.28972,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00507,"11":0,"12":0.07091,"13":0.25832,"14":0.06078,_:"0","3.1":0,"3.2":0,"5.1":0.02533,"6.1":0,"7.1":0,"9.1":0.00507,"10.1":0.07091,"11.1":0.17728,"12.1":0.29884,"13.1":1.62587},B:{"12":0,"13":0,"14":0.00507,"15":0.01013,"16":0.02533,"17":0.01013,"18":0.46598,"79":0,"80":0,"81":0.03546,"83":0.68378,"84":0.48624},I:{"3":0,"4":0.01571,_:"81","2.1":0,"2.2":0,"2.3":0.00157,"4.1":0.0267,"4.2-4.3":0.04398,"4.4":0,"4.4.3-4.4.4":0.27802},P:{"4":0.13516,"5.0-5.4":0,"6.2-6.4":0.02079,"7.2-7.4":0.12476,"8.2":0,"9.2":0.14556,"10.1":0.10397,"11.1-11.2":0.72778,"12.0":3.51413},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.50144,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":52.75431},S:{"2.5":0},R:{_:"0"},M:{"0":0.14312},Q:{"10.4":0.0987},O:{"0":0.03948},H:{"0":0.04205}}; diff --git a/node_modules/caniuse-lite/data/regions/GG.js b/node_modules/caniuse-lite/data/regions/GG.js new file mode 100644 index 000000000..491379604 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00776,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.13966,"49":0,"50":0,"51":0,"52":0.00776,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.00776,"65":0,"66":0,"67":0,"68":0.32588,"69":0,"70":0,"71":0,"72":0.00776,"73":0,"74":0.00776,"75":0.0388,"76":0,"77":0.50434,"78":0.92332,"79":0.04655,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.14742,"50":0,"51":0,"52":0,"53":0.00776,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00776,"64":0,"65":0.02328,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0.03104,"73":0,"74":0.00776,"75":0.00776,"76":0.0388,"77":0.01552,"78":0.00776,"79":0.02328,"80":0.05431,"81":0.07759,"83":5.67959,"84":34.20943,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.05431,"69":0.01552,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00738,"4.0-4.1":0.00738,"4.2-4.3":0.00738,"5.0-5.1":0.02213,"6.0-6.1":0.00738,"7.0-7.1":0.02951,"8.1-8.4":0.04427,"9.0-9.2":0.05902,"9.3":0.48695,"10.0-10.2":0.12543,"10.3":0.59024,"11.0-11.2":0.4353,"11.3-11.4":0.68615,"12.0-12.1":0.92962,"12.2-12.4":5.65889,"13.0-13.1":1.05505,"13.2":0.51646,"13.3":5.15719,"13.4-13.5":12.46875,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.01552,"10":0,"11":0.01552,"12":0.01552,"13":0.41123,"14":0.00776,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.1319,"11.1":0.31812,"12.1":0.13966,"13.1":7.56503},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00776,"18":0.3414,"79":0,"80":0.00776,"81":0.0388,"83":1.88544,"84":0.99315},I:{"3":0,"4":0.0265,_:"81","2.1":0,"2.2":0,"2.3":0.00265,"4.1":0.04505,"4.2-4.3":0.0742,"4.4":0,"4.4.3-4.4.4":0.46904},P:{"4":0.23142,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0.01102,"11.1-11.2":0.3306,"12.0":1.96154},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.00776,"10":0,"11":0.92332,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":9.80839},S:{"2.5":0},R:{_:"0"},M:{"0":0.43475},Q:{"10.4":0},O:{"0":0},H:{"0":0.02122}}; diff --git a/node_modules/caniuse-lite/data/regions/GH.js b/node_modules/caniuse-lite/data/regions/GH.js new file mode 100644 index 000000000..ea62dc0a6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GH.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00336,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00336,"27":0.00672,"28":0,"29":0,"30":0.00336,"31":0.00336,"32":0.00336,"33":0.00336,"34":0.00336,"35":0,"36":0.00336,"37":0,"38":0.00336,"39":0.00336,"40":0.00336,"41":0.00672,"42":0.00336,"43":0.00672,"44":0.00672,"45":0.00336,"46":0.00336,"47":0.01007,"48":0.00672,"49":0.00336,"50":0.00336,"51":0.00336,"52":0.01679,"53":0.00336,"54":0.00336,"55":0,"56":0.01007,"57":0.01007,"58":0.00336,"59":0.00336,"60":0.00336,"61":0.00336,"62":0.00336,"63":0.00336,"64":0.00336,"65":0.00336,"66":0.00336,"67":0.00336,"68":0.13096,"69":0.00672,"70":0.00672,"71":0.00672,"72":0.02351,"73":0.01007,"74":0.01343,"75":0.01343,"76":0.03022,"77":0.28207,"78":0.84957,"79":0.13768,"80":0.00672,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00336,"31":0,"32":0,"33":0.00336,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00336,"41":0,"42":0.00336,"43":0.00336,"44":0,"45":0.00336,"46":0.00336,"47":0.00336,"48":0.00336,"49":0.01679,"50":0.01007,"51":0.00336,"52":0,"53":0.00336,"54":0,"55":0.00672,"56":0.00336,"57":0.00336,"58":0.00672,"59":0.00336,"60":0.01007,"61":0.01007,"62":0.01343,"63":0.0403,"64":0.01007,"65":0.01343,"66":0.01007,"67":0.01007,"68":0.01007,"69":0.02351,"70":0.02015,"71":0.01679,"72":0.02015,"73":0.01679,"74":0.05373,"75":0.02015,"76":0.01679,"77":0.03358,"78":0.0403,"79":0.05373,"80":0.12089,"81":0.12089,"83":3.37143,"84":1.951,"85":0.01007,"86":0.00672,"87":0},F:{"9":0,"11":0,"12":0.00336,"15":0.00336,"16":0.00672,"17":0,"18":0,"19":0,"20":0.00672,"21":0,"22":0,"23":0.01679,"24":0.06044,"25":0.00336,"26":0.04365,"27":0.1041,"28":0.04701,"29":0.01007,"30":0.05037,"31":0.02015,"32":0.04701,"33":0.03022,"34":0,"35":0.01007,"36":0.00336,"37":0.00336,"38":0.05037,"39":0,"40":0,"41":0.00336,"42":0.08731,"43":0.00336,"44":0.00672,"45":0.04701,"46":0.25185,"47":0.21827,"48":0.00672,"49":0,"50":1.84018,"51":0.01679,"52":0,"53":0.00672,"54":0.00336,"55":0,"56":0.00336,"57":0.00336,"58":0.00672,"60":0.01343,"62":0,"63":0,"64":0.00672,"65":0.00336,"66":0.00336,"67":0.00672,"68":0.45333,"69":0.26528,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.03022},G:{"8":0,"3.2":0.00274,"4.0-4.1":0.00274,"4.2-4.3":0.00274,"5.0-5.1":0.00823,"6.0-6.1":0.00274,"7.0-7.1":0.01097,"8.1-8.4":0.01646,"9.0-9.2":0.02194,"9.3":0.18102,"10.0-10.2":0.04663,"10.3":0.21942,"11.0-11.2":0.16182,"11.3-11.4":0.25508,"12.0-12.1":0.34559,"12.2-12.4":2.10372,"13.0-13.1":0.39222,"13.2":0.192,"13.3":1.91721,"13.4-13.5":4.63531,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.02015,"10":0.00336,"11":0.01007,"12":0.02686,"13":0.05709,"14":0.00336,_:"0","3.1":0,"3.2":0,"5.1":0.01343,"6.1":0,"7.1":0,"9.1":0.00672,"10.1":0.00672,"11.1":0.0403,"12.1":0.03022,"13.1":0.30558},B:{"12":0.03358,"13":0.01343,"14":0.01679,"15":0.02351,"16":0.01007,"17":0.02686,"18":0.17462,"79":0,"80":0,"81":0.02015,"83":0.25857,"84":0.15111},I:{"3":0,"4":0.00917,_:"81","2.1":0,"2.2":0,"2.3":0.00092,"4.1":0.01559,"4.2-4.3":0.02568,"4.4":0,"4.4.3-4.4.4":0.1623},P:{"4":0.40319,"5.0-5.4":0.04032,"6.2-6.4":0.02016,"7.2-7.4":0.12096,"8.2":0.01008,"9.2":0.16128,"10.1":0.12096,"11.1-11.2":0.48383,"12.0":0.64511},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02015,"9":0.00403,"10":0.00403,"11":0.05238,"5.5":0},J:{"7":0,"10":0.05314},N:{"10":0,"11":0.03321},L:{"0":47.76525},S:{"2.5":0.00664},R:{_:"0"},M:{"0":0.34538},Q:{"10.4":0.01328},O:{"0":4.7756},H:{"0":15.07914}}; diff --git a/node_modules/caniuse-lite/data/regions/GI.js b/node_modules/caniuse-lite/data/regions/GI.js new file mode 100644 index 000000000..289916b87 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GI.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00592,"27":0.02958,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00592,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.13013,"69":0,"70":0,"71":0,"72":0.01775,"73":0.00592,"74":0.00592,"75":0.01775,"76":0.01183,"77":0.39039,"78":1.25398,"79":0.05324,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.05324,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00592,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.14788,"50":0,"51":0,"52":0,"53":0.00592,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.02958,"61":0,"62":0,"63":0.01183,"64":0,"65":0.01775,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0.03549,"72":0.00592,"73":0,"74":0.03549,"75":0.00592,"76":0.01775,"77":0.00592,"78":0.03549,"79":0.04141,"80":0.03549,"81":0.22477,"83":14.05404,"84":5.94458,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.02958,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.14196,"69":0.03549,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00813,"4.0-4.1":0.00813,"4.2-4.3":0.00813,"5.0-5.1":0.02438,"6.0-6.1":0.00813,"7.0-7.1":0.0325,"8.1-8.4":0.04875,"9.0-9.2":0.065,"9.3":0.53627,"10.0-10.2":0.13813,"10.3":0.65002,"11.0-11.2":0.47939,"11.3-11.4":0.75565,"12.0-12.1":1.02379,"12.2-12.4":6.23211,"13.0-13.1":1.16192,"13.2":0.56877,"13.3":5.67959,"13.4-13.5":13.73177,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00592,"12":0.01183,"13":0.27209,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.02366,"11.1":0.11239,"12.1":0.14788,"13.1":4.64919},B:{"12":0,"13":0,"14":0.00592,"15":0,"16":0.01775,"17":0.03549,"18":0.76304,"79":0,"80":0,"81":0.01775,"83":1.65029,"84":0.7867},I:{"3":0,"4":0.01511,_:"81","2.1":0,"2.2":0,"2.3":0.00151,"4.1":0.02569,"4.2-4.3":0.04231,"4.4":0,"4.4.3-4.4.4":0.26747},P:{"4":0.02113,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.01057,"10.1":0,"11.1-11.2":0.30642,"12.0":4.54346},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.05915,"9":0,"10":0,"11":0.88725,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":26.34423},S:{"2.5":0},R:{_:"0"},M:{"0":0.2737},Q:{"10.4":0},O:{"0":0.23285},H:{"0":0.15083}}; diff --git a/node_modules/caniuse-lite/data/regions/GL.js b/node_modules/caniuse-lite/data/regions/GL.js new file mode 100644 index 000000000..866fc2eeb --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GL.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00627,"27":0.01254,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.03762,"49":0,"50":0,"51":0,"52":0.10659,"53":0.01254,"54":0,"55":0,"56":0,"57":0.00627,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00627,"68":0.04389,"69":0,"70":0.00627,"71":0.00627,"72":0,"73":0,"74":0.01881,"75":0.01254,"76":0.45144,"77":0.84645,"78":2.78388,"79":0.07524,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.03762,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.01254,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.01254,"74":0.00627,"75":0.01881,"76":0.00627,"77":0.01254,"78":0.03762,"79":0.04389,"80":0.36993,"81":0.30096,"83":10.58376,"84":8.03187,"85":0.03135,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00627,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0.01881,"67":0,"68":0.10032,"69":0.28842,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00783,"4.0-4.1":0.00783,"4.2-4.3":0.00783,"5.0-5.1":0.02349,"6.0-6.1":0.00783,"7.0-7.1":0.03133,"8.1-8.4":0.04699,"9.0-9.2":0.06265,"9.3":0.51688,"10.0-10.2":0.13314,"10.3":0.62652,"11.0-11.2":0.46206,"11.3-11.4":0.72833,"12.0-12.1":0.98677,"12.2-12.4":6.00678,"13.0-13.1":1.11991,"13.2":0.54821,"13.3":5.47423,"13.4-13.5":13.23527,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00627,"13":0.27588,"14":0.03762,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01881,"11.1":0.04389,"12.1":0.16929,"13.1":5.27934},B:{"12":0,"13":0.01881,"14":0.22572,"15":0.08778,"16":0.02508,"17":0.01254,"18":1.96878,"79":0,"80":0,"81":0.01254,"83":1.11606,"84":1.14114},I:{"3":0,"4":0.00407,_:"81","2.1":0,"2.2":0,"2.3":0.00041,"4.1":0.00693,"4.2-4.3":0.01141,"4.4":0,"4.4.3-4.4.4":0.07211},P:{"4":0.01062,"5.0-5.4":0.01062,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.05308,"10.1":0.23354,"11.1-11.2":0.37154,"12.0":3.66233},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":1.93116,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":24.29704},S:{"2.5":0},R:{_:"0"},M:{"0":0.09698},Q:{"10.4":0},O:{"0":0.16039},H:{"0":0.12713}}; diff --git a/node_modules/caniuse-lite/data/regions/GM.js b/node_modules/caniuse-lite/data/regions/GM.js new file mode 100644 index 000000000..760a64050 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00315,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00315,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0.00315,"25":0,"26":0,"27":0.00315,"28":0,"29":0,"30":0,"31":0,"32":0.00315,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00315,"41":0.00315,"42":0,"43":0.00315,"44":0.00315,"45":0,"46":0.00315,"47":0.00315,"48":0.00631,"49":0,"50":0.00315,"51":0,"52":0.00315,"53":0,"54":0,"55":0,"56":0.00315,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0.00315,"63":0,"64":0.02207,"65":0.00315,"66":0,"67":0.00315,"68":0.09774,"69":0.00631,"70":0.00315,"71":0.00315,"72":0.01261,"73":0.00631,"74":0.00315,"75":0.00946,"76":0.01892,"77":0.28062,"78":0.99635,"79":0.17342,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.00315,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00315,"34":0.00315,"35":0,"36":0.00315,"37":0,"38":0,"39":0.00315,"40":0.01577,"41":0,"42":0,"43":0.00315,"44":0,"45":0,"46":0.00315,"47":0,"48":0,"49":0.01892,"50":0.00631,"51":0.00315,"52":0,"53":0,"54":0,"55":0.00631,"56":0.00315,"57":0,"58":0,"59":0,"60":0.00946,"61":0.00315,"62":0.00315,"63":0.02838,"64":0.01892,"65":0.03468,"66":0,"67":0,"68":0,"69":0.01892,"70":0.00631,"71":0.00315,"72":0.04099,"73":0.00315,"74":0.02207,"75":0.03153,"76":0.00946,"77":0.00631,"78":0.03153,"79":0.05991,"80":0.06621,"81":0.09144,"83":3.19399,"84":1.58911,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00315,"21":0,"22":0,"23":0.00315,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00315,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00315,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00946,"47":0,"48":0,"49":0,"50":0.19233,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.00315,"64":0,"65":0.00315,"66":0,"67":0.00315,"68":0.29638,"69":0.12927,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.11981},G:{"8":0,"3.2":0.00391,"4.0-4.1":0.00391,"4.2-4.3":0.00391,"5.0-5.1":0.01174,"6.0-6.1":0.00391,"7.0-7.1":0.01565,"8.1-8.4":0.02348,"9.0-9.2":0.0313,"9.3":0.25826,"10.0-10.2":0.06652,"10.3":0.31304,"11.0-11.2":0.23087,"11.3-11.4":0.36391,"12.0-12.1":0.49304,"12.2-12.4":3.00127,"13.0-13.1":0.55956,"13.2":0.27391,"13.3":2.73518,"13.4-13.5":6.61296,_:"14.0"},E:{"4":0,"5":0,"6":0.00315,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00946,"13":0.04414,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.01577,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00315,"11.1":0.08198,"12.1":0.04099,"13.1":0.25539},B:{"12":0.01577,"13":0.01261,"14":0.01261,"15":0.02522,"16":0.00946,"17":0.04099,"18":0.15134,"79":0,"80":0,"81":0.00631,"83":0.31845,"84":0.17026},I:{"3":0,"4":0.02204,_:"81","2.1":0,"2.2":0,"2.3":0.0022,"4.1":0.03747,"4.2-4.3":0.06171,"4.4":0,"4.4.3-4.4.4":0.39009},P:{"4":0.42004,"5.0-5.4":0.08196,"6.2-6.4":0.04098,"7.2-7.4":0.34832,"8.2":0.02049,"9.2":0.2049,"10.1":0.31759,"11.1-11.2":0.72738,"12.0":1.92601},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00631,"9":0,"10":0.00631,"11":0.26485,"5.5":0},J:{"7":0,"10":0.04793},N:{"10":0.01027,"11":0.01027},L:{"0":60.73969},S:{"2.5":0},R:{_:"0"},M:{"0":0.20541},Q:{"10.4":0.01369},O:{"0":1.71175},H:{"0":4.31721}}; diff --git a/node_modules/caniuse-lite/data/regions/GN.js b/node_modules/caniuse-lite/data/regions/GN.js new file mode 100644 index 000000000..aa3d5d8d9 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00229,"18":0,"19":0.00229,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00229,"32":0,"33":0.00229,"34":0,"35":0.00229,"36":0,"37":0.00229,"38":0,"39":0.00229,"40":0,"41":0.00229,"42":0,"43":0.00458,"44":0,"45":0,"46":0.00687,"47":0.01146,"48":0.00229,"49":0.00458,"50":0,"51":0,"52":0.00229,"53":0,"54":0,"55":0,"56":0.00229,"57":0,"58":0,"59":0,"60":0,"61":0.00687,"62":0.00687,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.01604,"69":0,"70":0.00229,"71":0.00229,"72":0.01375,"73":0.00229,"74":0.00229,"75":0,"76":0.01604,"77":0.21994,"78":0.49944,"79":0.01146,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.00229,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00458,"34":0.00229,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.03895,"41":0,"42":0,"43":0.04353,"44":0,"45":0,"46":0,"47":0,"48":0.00229,"49":0.01375,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00916,"57":0,"58":0,"59":0.01146,"60":0.00229,"61":0.00229,"62":0,"63":0.00458,"64":0.01375,"65":0.00229,"66":0,"67":0.00229,"68":0.00229,"69":0.04582,"70":0.00229,"71":0.00229,"72":0.01375,"73":0.00458,"74":0.01833,"75":0.0252,"76":0.00458,"77":0.00229,"78":0.00916,"79":0.00916,"80":0.03437,"81":0.11913,"83":1.32191,"84":0.74458,"85":0.00458,"86":0,"87":0},F:{"9":0,"11":0,"12":0.00229,"15":0,"16":0.00229,"17":0,"18":0,"19":0,"20":0.00458,"21":0,"22":0,"23":0.01375,"24":0,"25":0,"26":0,"27":0,"28":0.00229,"29":0,"30":0.00229,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00229,"38":0.00458,"39":0,"40":0,"41":0,"42":0.00229,"43":0,"44":0,"45":0.00229,"46":0.01146,"47":0.08935,"48":0,"49":0,"50":0.06415,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00229,"57":0,"58":0,"60":0,"62":0.00229,"63":0,"64":0,"65":0.00916,"66":0.00229,"67":0.00229,"68":0.17183,"69":0.08248,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01604},G:{"8":0,"3.2":0.00145,"4.0-4.1":0.00145,"4.2-4.3":0.00145,"5.0-5.1":0.00435,"6.0-6.1":0.00145,"7.0-7.1":0.00581,"8.1-8.4":0.00871,"9.0-9.2":0.01161,"9.3":0.09581,"10.0-10.2":0.02468,"10.3":0.11613,"11.0-11.2":0.08565,"11.3-11.4":0.135,"12.0-12.1":0.18291,"12.2-12.4":1.11341,"13.0-13.1":0.20758,"13.2":0.10161,"13.3":1.0147,"13.4-13.5":2.45327,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.01146,"13":0.01375,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00458,"10.1":0.00687,"11.1":0.02062,"12.1":0.00687,"13.1":0.06186},B:{"12":0.01375,"13":0.00458,"14":0.00458,"15":0.00229,"16":0.01375,"17":0.02749,"18":0.49257,"79":0,"80":0,"81":0,"83":0.07331,"84":0.05957},I:{"3":0,"4":0.02459,_:"81","2.1":0,"2.2":0,"2.3":0.00246,"4.1":0.0418,"4.2-4.3":0.06885,"4.4":0,"4.4.3-4.4.4":0.43521},P:{"4":0.42894,"5.0-5.4":0.13277,"6.2-6.4":0.05106,"7.2-7.4":0.19404,"8.2":0.02043,"9.2":0.51064,"10.1":0.22468,"11.1-11.2":0.45958,"12.0":0.36766},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01856,"9":0,"10":0,"11":0.16243,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":64.41635},S:{"2.5":0.03084},R:{_:"0"},M:{"0":0.06167},Q:{"10.4":0.57818},O:{"0":1.43387},H:{"0":14.60406}}; diff --git a/node_modules/caniuse-lite/data/regions/GP.js b/node_modules/caniuse-lite/data/regions/GP.js new file mode 100644 index 000000000..94c4683e7 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GP.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00563,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00563,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.02251,"49":0,"50":0,"51":0,"52":0.01126,"53":0.01126,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00563,"61":0.01688,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.21949,"69":0.01126,"70":0.00563,"71":0.05628,"72":0.00563,"73":0,"74":0.02251,"75":0.02251,"76":0.02814,"77":0.79918,"78":2.58325,"79":0.08442,"80":0.01688,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00563,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00563,"48":0,"49":0.09568,"50":0,"51":0,"52":0,"53":0.00563,"54":0,"55":0.00563,"56":0,"57":0,"58":0.00563,"59":0,"60":0,"61":0,"62":0,"63":0.01126,"64":0,"65":0.08442,"66":0,"67":0.03377,"68":0.00563,"69":0.00563,"70":0.00563,"71":0.00563,"72":0.01126,"73":0.00563,"74":0.01126,"75":0.00563,"76":0.01126,"77":0.01126,"78":0.02814,"79":0.05628,"80":0.16884,"81":0.28703,"83":9.37625,"84":6.32587,"85":0.00563,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00563,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.03377,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.31517,"69":0.23075,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00431,"4.0-4.1":0.00431,"4.2-4.3":0.00431,"5.0-5.1":0.01292,"6.0-6.1":0.00431,"7.0-7.1":0.01722,"8.1-8.4":0.02584,"9.0-9.2":0.03445,"9.3":0.28419,"10.0-10.2":0.0732,"10.3":0.34447,"11.0-11.2":0.25405,"11.3-11.4":0.40045,"12.0-12.1":0.54254,"12.2-12.4":3.30262,"13.0-13.1":0.61574,"13.2":0.30141,"13.3":3.00982,"13.4-13.5":7.27696,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.02251,"11":0.00563,"12":0.05628,"13":0.57406,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00563,"6.1":0.01688,"7.1":0,"9.1":0.07879,"10.1":0.04502,"11.1":0.21949,"12.1":0.4615,"13.1":3.9396},B:{"12":0,"13":0.01126,"14":0.00563,"15":0.01126,"16":0.33205,"17":0.05065,"18":0.52903,"79":0,"80":0,"81":0.02814,"83":1.08058,"84":0.85546},I:{"3":0,"4":0.01025,_:"81","2.1":0,"2.2":0,"2.3":0.00103,"4.1":0.01743,"4.2-4.3":0.0287,"4.4":0,"4.4.3-4.4.4":0.18144},P:{"4":0.15651,"5.0-5.4":0,"6.2-6.4":0.02087,"7.2-7.4":0.10434,"8.2":0.04174,"9.2":0.11477,"10.1":0.38605,"11.1-11.2":0.82427,"12.0":3.45358},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.39396,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":44.34381},S:{"2.5":0},R:{_:"0"},M:{"0":0.29292},Q:{"10.4":0},O:{"0":0.01312},H:{"0":0.04139}}; diff --git a/node_modules/caniuse-lite/data/regions/GQ.js b/node_modules/caniuse-lite/data/regions/GQ.js new file mode 100644 index 000000000..921851f2a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GQ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.00556,"5":0.00556,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.05005,"18":0.01668,"19":0,"20":0.03893,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00556,"30":0.00556,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00556,"38":0,"39":0.00556,"40":0,"41":0,"42":0,"43":0.01668,"44":0,"45":0.01668,"46":0,"47":0.03337,"48":0,"49":0.00556,"50":0,"51":0,"52":0.03337,"53":0.00556,"54":0.00556,"55":0,"56":0.28361,"57":0.06673,"58":0,"59":0.00556,"60":0.03337,"61":0,"62":0.03337,"63":0.00556,"64":0.03337,"65":0.00556,"66":0.00556,"67":0.00556,"68":0.31698,"69":0.01112,"70":0.15571,"71":0.00556,"72":0.05005,"73":0.01112,"74":0.00556,"75":0.02224,"76":0.01112,"77":0.66732,"78":1.62937,"79":0.09454,"80":0.01112,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.03893,"24":0.02224,"25":0.01668,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00556,"38":0.01112,"39":0,"40":0.00556,"41":0,"42":0,"43":0,"44":0,"45":0.456,"46":0.01668,"47":0,"48":0.01112,"49":0.13346,"50":0,"51":0.00556,"52":0,"53":0.02781,"54":0,"55":0,"56":0.01668,"57":1.14001,"58":0.00556,"59":0,"60":0.03337,"61":0,"62":0.00556,"63":0.43376,"64":0.01668,"65":0.03337,"66":0.01112,"67":0.00556,"68":0,"69":0.01668,"70":0.04449,"71":0.01668,"72":0.02224,"73":0.93981,"74":0.03893,"75":0.1279,"76":0.02781,"77":0.06673,"78":0.02224,"79":0.08342,"80":0.18351,"81":0.11122,"83":8.35818,"84":5.54432,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.00556,"33":0.00556,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.25581,"46":0,"47":0,"48":0,"49":0.00556,"50":0.01668,"51":0.01668,"52":0.00556,"53":0,"54":0,"55":0.03893,"56":0,"57":0,"58":0.00556,"60":0,"62":0,"63":0.06673,"64":0,"65":0.02224,"66":0,"67":0.01668,"68":0.17795,"69":0.06673,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00208,"4.0-4.1":0.00208,"4.2-4.3":0.00208,"5.0-5.1":0.00623,"6.0-6.1":0.00208,"7.0-7.1":0.00831,"8.1-8.4":0.01246,"9.0-9.2":0.01662,"9.3":0.13711,"10.0-10.2":0.03532,"10.3":0.16619,"11.0-11.2":0.12257,"11.3-11.4":0.1932,"12.0-12.1":0.26175,"12.2-12.4":1.59336,"13.0-13.1":0.29707,"13.2":0.14542,"13.3":1.4521,"13.4-13.5":3.5108,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.08898,"11":0.00556,"12":0.01112,"13":0.05561,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.04449,"6.1":0,"7.1":0,"9.1":0.01668,"10.1":0.02224,"11.1":0.06117,"12.1":0.05005,"13.1":0.28917},B:{"12":0.1279,"13":0.09454,"14":0.06117,"15":0.00556,"16":0.05561,"17":0.04449,"18":0.7841,"79":0,"80":0,"81":0.03337,"83":1.27347,"84":0.62839},I:{"3":0,"4":0.02704,_:"81","2.1":0,"2.2":0,"2.3":0.0027,"4.1":0.04597,"4.2-4.3":0.07571,"4.4":0,"4.4.3-4.4.4":0.47862},P:{"4":0.43934,"5.0-5.4":0.08174,"6.2-6.4":0.01022,"7.2-7.4":0.16348,"8.2":0.01022,"9.2":0.15326,"10.1":0.15326,"11.1-11.2":0.74586,"12.0":1.25672},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.08825,"9":0.01358,"10":0.04752,"11":1.94158,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":52.24873},S:{"2.5":0.00444},R:{_:"0"},M:{"0":0.55488},Q:{"10.4":0.53268},O:{"0":1.23848},H:{"0":0.38664}}; diff --git a/node_modules/caniuse-lite/data/regions/GR.js b/node_modules/caniuse-lite/data/regions/GR.js new file mode 100644 index 000000000..828463ba5 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0.00651,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00651,"28":0.01301,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00651,"46":0,"47":0.00651,"48":0.01952,"49":0,"50":0,"51":0,"52":0.67012,"53":0,"54":0,"55":0,"56":0.00651,"57":0,"58":0,"59":0,"60":0.00651,"61":0.00651,"62":0,"63":0.00651,"64":0.00651,"65":0.00651,"66":0.00651,"67":0,"68":0.16265,"69":0.00651,"70":0.01952,"71":0,"72":0.01952,"73":0.00651,"74":0.01301,"75":0.01952,"76":0.03904,"77":1.13855,"78":4.67781,"79":0.2212,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.33181,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00651,"35":0,"36":0,"37":0,"38":0.07157,"39":0,"40":0,"41":0.00651,"42":0,"43":0.00651,"44":0,"45":0,"46":0,"47":0.05205,"48":0,"49":1.43783,"50":0,"51":0,"52":0.01952,"53":0.01952,"54":0.08458,"55":0,"56":0.01301,"57":0.00651,"58":0.03253,"59":0,"60":0,"61":0.02602,"62":0,"63":0.00651,"64":0.02602,"65":0.02602,"66":0.00651,"67":0.03904,"68":0.00651,"69":0.01301,"70":0.11711,"71":0.07157,"72":0.18217,"73":0.03253,"74":0.01301,"75":0.02602,"76":0.01952,"77":0.13012,"78":0.03904,"79":0.05205,"80":0.20819,"81":0.24072,"83":15.25657,"84":9.06286,"85":0.00651,"86":0.00651,"87":0},F:{"9":0,"11":0,"12":0.04554,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.01301,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.20819,"32":0,"33":0,"34":0,"35":0,"36":0.08458,"37":0,"38":0,"39":0,"40":0.31879,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01301,"51":0,"52":0,"53":0.00651,"54":0,"55":0,"56":0,"57":0.00651,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00651,"68":0.61807,"69":0.22771,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00204,"4.0-4.1":0.00204,"4.2-4.3":0.00204,"5.0-5.1":0.00611,"6.0-6.1":0.00204,"7.0-7.1":0.00815,"8.1-8.4":0.01222,"9.0-9.2":0.01629,"9.3":0.1344,"10.0-10.2":0.03462,"10.3":0.16291,"11.0-11.2":0.12014,"11.3-11.4":0.18938,"12.0-12.1":0.25658,"12.2-12.4":1.56188,"13.0-13.1":0.2912,"13.2":0.14254,"13.3":1.42341,"13.4-13.5":3.44143,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00651,"10":0,"11":0.00651,"12":0.01301,"13":0.08458,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00651,"6.1":0,"7.1":0,"9.1":0,"10.1":0.02602,"11.1":0.06506,"12.1":0.05205,"13.1":0.65711},B:{"12":0,"13":0,"14":0.00651,"15":0.01301,"16":0.00651,"17":0.01952,"18":0.31879,"79":0,"80":0,"81":0.02602,"83":0.66361,"84":0.51397},I:{"3":0,"4":0.0638,_:"81","2.1":0,"2.2":0,"2.3":0.00638,"4.1":0.10846,"4.2-4.3":0.17864,"4.4":0,"4.4.3-4.4.4":1.12924},P:{"4":0.4226,"5.0-5.4":0,"6.2-6.4":0.01031,"7.2-7.4":0,"8.2":0.01031,"9.2":0.05154,"10.1":0.06184,"11.1-11.2":0.26799,"12.0":1.44302},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.08119,"9":0,"10":0,"11":0.59543,"5.5":0},J:{"7":0,"10":0.00349},N:{"10":0,"11":0},L:{"0":44.12397},S:{"2.5":0},R:{_:"0"},M:{"0":0.14325},Q:{"10.4":0.01048},O:{"0":0.09084},H:{"0":0.58219}}; diff --git a/node_modules/caniuse-lite/data/regions/GT.js b/node_modules/caniuse-lite/data/regions/GT.js new file mode 100644 index 000000000..6759332c6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00539,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01078,"49":0,"50":0,"51":0,"52":0.01078,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0.00539,"62":0,"63":0,"64":0,"65":0,"66":0.02156,"67":0,"68":0.10782,"69":0,"70":0,"71":0,"72":0.01078,"73":0.02696,"74":0,"75":0.01617,"76":0.01617,"77":0.29651,"78":1.27228,"79":0.08087,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01078,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.12938,"50":0,"51":0,"52":0,"53":0.01617,"54":0,"55":0.00539,"56":0.00539,"57":0,"58":0.00539,"59":0.00539,"60":0,"61":0,"62":0,"63":0.01617,"64":0.00539,"65":0.02156,"66":0.00539,"67":0.03235,"68":0.01078,"69":0.01617,"70":0.01617,"71":0.02156,"72":0.01617,"73":0.01078,"74":0.03774,"75":0.04313,"76":0.03774,"77":0.03235,"78":0.04852,"79":0.07008,"80":0.1186,"81":0.12938,"83":12.05428,"84":8.81429,"85":0.01078,"86":0.01078,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00539,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00539,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.48519,"69":0.19408,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00223,"4.0-4.1":0.00223,"4.2-4.3":0.00223,"5.0-5.1":0.00669,"6.0-6.1":0.00223,"7.0-7.1":0.00893,"8.1-8.4":0.01339,"9.0-9.2":0.01785,"9.3":0.14727,"10.0-10.2":0.03793,"10.3":0.17851,"11.0-11.2":0.13165,"11.3-11.4":0.20752,"12.0-12.1":0.28115,"12.2-12.4":1.71147,"13.0-13.1":0.31909,"13.2":0.1562,"13.3":1.55974,"13.4-13.5":3.77104,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00539,"11":0.01617,"12":0.07547,"13":0.19408,"14":0.01078,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0.00539,"7.1":0,"9.1":0.00539,"10.1":0.02696,"11.1":0.08087,"12.1":0.1779,"13.1":1.62269},B:{"12":0.00539,"13":0,"14":0.00539,"15":0.00539,"16":0.00539,"17":0.01617,"18":0.1186,"79":0,"80":0.01078,"81":0.00539,"83":0.51215,"84":0.40433},I:{"3":0,"4":0.00717,_:"81","2.1":0,"2.2":0,"2.3":0.00072,"4.1":0.01218,"4.2-4.3":0.02006,"4.4":0,"4.4.3-4.4.4":0.12683},P:{"4":0.22348,"5.0-5.4":0.02032,"6.2-6.4":0.01016,"7.2-7.4":0.16253,"8.2":0.02032,"9.2":0.16253,"10.1":0.13205,"11.1-11.2":0.46727,"12.0":1.88939},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01078,"9":0,"10":0,"11":0.08087,"5.5":0},J:{"7":0,"10":0.00461},N:{"10":0,"11":0},L:{"0":57.62562},S:{"2.5":0},R:{_:"0"},M:{"0":0.20741},Q:{"10.4":0},O:{"0":0.09679},H:{"0":0.1789}}; diff --git a/node_modules/caniuse-lite/data/regions/GU.js b/node_modules/caniuse-lite/data/regions/GU.js new file mode 100644 index 000000000..90e119d3d --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GU.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01304,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00435,"44":0,"45":0,"46":0,"47":0,"48":0.01739,"49":0,"50":0,"51":0,"52":0.0087,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0.00435,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.0087,"68":0.09566,"69":0.00435,"70":0,"71":0.00435,"72":0.02609,"73":0,"74":0,"75":0.0087,"76":0.00435,"77":0.27392,"78":0.5348,"79":0.03044,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01304,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00435,"48":0,"49":0.06087,"50":0,"51":0,"52":0,"53":0.12174,"54":0.0087,"55":0.02174,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.01739,"64":0,"65":0.0087,"66":0,"67":0.01304,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.03913,"74":0,"75":0.00435,"76":0.18262,"77":0.0087,"78":0.00435,"79":0.02174,"80":0.17392,"81":0.12609,"83":6.43069,"84":3.06099,"85":0.00435,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00435,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00435,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.0087,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.04348,"69":0.15653,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00974,"4.0-4.1":0.00974,"4.2-4.3":0.00974,"5.0-5.1":0.02921,"6.0-6.1":0.00974,"7.0-7.1":0.03895,"8.1-8.4":0.05842,"9.0-9.2":0.07789,"9.3":0.64262,"10.0-10.2":0.16552,"10.3":0.77893,"11.0-11.2":0.57446,"11.3-11.4":0.9055,"12.0-12.1":1.22681,"12.2-12.4":7.46797,"13.0-13.1":1.39233,"13.2":0.68156,"13.3":6.80588,"13.4-13.5":16.45485,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00435,"11":0.02174,"12":0.02609,"13":0.52176,"14":0.00435,_:"0","3.1":0,"3.2":0,"5.1":0.01739,"6.1":0,"7.1":0,"9.1":0.00435,"10.1":0.02174,"11.1":0.13044,"12.1":0.24784,"13.1":2.40879},B:{"12":0,"13":0,"14":0,"15":0.00435,"16":0.03478,"17":0.01739,"18":0.42176,"79":0,"80":0,"81":0.02609,"83":0.66524,"84":0.53046},I:{"3":0,"4":0.00931,_:"81","2.1":0,"2.2":0,"2.3":0.00093,"4.1":0.01583,"4.2-4.3":0.02607,"4.4":0,"4.4.3-4.4.4":0.16482},P:{"4":0.10673,"5.0-5.4":0.05336,"6.2-6.4":0,"7.2-7.4":0.03202,"8.2":0.05336,"9.2":0.43759,"10.1":0.12808,"11.1-11.2":1.10999,"12.0":4.67475},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.54785,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":34.1053},S:{"2.5":0},R:{_:"0"},M:{"0":0.20912},Q:{"10.4":0.0113},O:{"0":0.00565},H:{"0":0.11772}}; diff --git a/node_modules/caniuse-lite/data/regions/GW.js b/node_modules/caniuse-lite/data/regions/GW.js new file mode 100644 index 000000000..36e415e31 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GW.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00267,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.04808,"44":0,"45":0.00534,"46":0,"47":0,"48":0,"49":0,"50":0.00534,"51":0,"52":0.00534,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.03739,"69":0,"70":0,"71":0,"72":0.00267,"73":0.00267,"74":0,"75":0.00267,"76":0,"77":0.04808,"78":0.3873,"79":0.00267,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00801,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.04007,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00267,"41":0,"42":0,"43":0.03205,"44":0,"45":0,"46":0.00267,"47":0,"48":0,"49":0.04274,"50":0.05876,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.03472,"64":0.02404,"65":0.00267,"66":0,"67":0,"68":0.00267,"69":0.01336,"70":0.01068,"71":0.00267,"72":0.00267,"73":0,"74":0.0187,"75":0,"76":0,"77":0.00801,"78":0.00801,"79":0.0187,"80":0.02938,"81":0.03205,"83":2.15283,"84":1.15654,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0.00534,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00534,"68":0.39531,"69":0.19765,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00534},G:{"8":0,"3.2":0.00087,"4.0-4.1":0.00087,"4.2-4.3":0.00087,"5.0-5.1":0.00262,"6.0-6.1":0.00087,"7.0-7.1":0.0035,"8.1-8.4":0.00525,"9.0-9.2":0.007,"9.3":0.05773,"10.0-10.2":0.01487,"10.3":0.06998,"11.0-11.2":0.05161,"11.3-11.4":0.08135,"12.0-12.1":0.11022,"12.2-12.4":0.67094,"13.0-13.1":0.12509,"13.2":0.06123,"13.3":0.61146,"13.4-13.5":1.47834,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.0187,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":0.02404},B:{"12":0.05609,"13":0,"14":0.00534,"15":0.02404,"16":0.02404,"17":0.01068,"18":0.14691,"79":0,"80":0,"81":0.00267,"83":0.06945,"84":0.02137},I:{"3":0,"4":0.0109,_:"81","2.1":0,"2.2":0,"2.3":0.00109,"4.1":0.01854,"4.2-4.3":0.03053,"4.4":0,"4.4.3-4.4.4":0.19298},P:{"4":0.8971,"5.0-5.4":0.12233,"6.2-6.4":0.04078,"7.2-7.4":0.55049,"8.2":0.01019,"9.2":0.53011,"10.1":0.47913,"11.1-11.2":0.51991,"12.0":0.68302},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00801,"9":0.00801,"10":0,"11":0.04274,"5.5":0},J:{"7":0,"10":0.01466},N:{"10":0,"11":0},L:{"0":80.76614},S:{"2.5":0},R:{_:"0"},M:{"0":0.13192},Q:{"10.4":0.01466},O:{"0":0.91613},H:{"0":2.94198}}; diff --git a/node_modules/caniuse-lite/data/regions/GY.js b/node_modules/caniuse-lite/data/regions/GY.js new file mode 100644 index 000000000..7e4bc2a8c --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/GY.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00435,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00435,"48":0.00435,"49":0,"50":0,"51":0,"52":0.00869,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00435,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.06955,"69":0,"70":0,"71":0.00435,"72":0.01739,"73":0,"74":0,"75":0.00435,"76":0.00435,"77":0.20431,"78":0.7216,"79":0.03043,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00435,"39":0,"40":0,"41":0.01304,"42":0.00869,"43":0,"44":0,"45":0,"46":0.00435,"47":0,"48":0,"49":0.05651,"50":0,"51":0,"52":0.00435,"53":0.00435,"54":0,"55":0.00435,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0.00435,"63":0.05651,"64":0.00435,"65":0.00869,"66":0.00435,"67":0.00435,"68":0,"69":0.00869,"70":0.10868,"71":0.00435,"72":0.02174,"73":0.02174,"74":0.02608,"75":0.01304,"76":0.07825,"77":0.00869,"78":0.00869,"79":0.20866,"80":0.10433,"81":0.25213,"83":6.99432,"84":4.09922,"85":0.00869,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0.00435,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00435,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.02608,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00435,"68":0.33037,"69":0.15649,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00285,"4.0-4.1":0.00285,"4.2-4.3":0.00285,"5.0-5.1":0.00856,"6.0-6.1":0.00285,"7.0-7.1":0.01142,"8.1-8.4":0.01713,"9.0-9.2":0.02284,"9.3":0.18842,"10.0-10.2":0.04853,"10.3":0.22839,"11.0-11.2":0.16843,"11.3-11.4":0.2655,"12.0-12.1":0.35971,"12.2-12.4":2.18964,"13.0-13.1":0.40824,"13.2":0.19984,"13.3":1.99552,"13.4-13.5":4.82464,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.01304,"13":0.09129,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.01304,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01304,"11.1":0.00435,"12.1":0.00869,"13.1":0.62597},B:{"12":0.00435,"13":0.00435,"14":0.00869,"15":0.01304,"16":0.01739,"17":0.05651,"18":0.28256,"79":0,"80":0,"81":0.01304,"83":0.68248,"84":0.39558},I:{"3":0,"4":0.141,_:"81","2.1":0,"2.2":0,"2.3":0.0141,"4.1":0.2397,"4.2-4.3":0.3948,"4.4":0,"4.4.3-4.4.4":2.49568},P:{"4":0.55202,"5.0-5.4":0.01104,"6.2-6.4":0.01104,"7.2-7.4":0.19873,"8.2":0.01104,"9.2":0.15456,"10.1":0.16561,"11.1-11.2":0.83907,"12.0":3.93037},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.17823,"5.5":0},J:{"7":0,"10":0.01131},N:{"10":0,"11":0},L:{"0":58.24436},S:{"2.5":0},R:{_:"0"},M:{"0":0.14698},Q:{"10.4":0.14133},O:{"0":1.32846},H:{"0":0.20337}}; diff --git a/node_modules/caniuse-lite/data/regions/HK.js b/node_modules/caniuse-lite/data/regions/HK.js new file mode 100644 index 000000000..c71aed813 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/HK.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00996,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00498,"48":0.00498,"49":0,"50":0,"51":0,"52":0.01495,"53":0,"54":0,"55":0,"56":0.00498,"57":0,"58":0,"59":0,"60":0.00498,"61":0,"62":0,"63":0.00498,"64":0,"65":0.00498,"66":0.00498,"67":0.00498,"68":0.09964,"69":0.00498,"70":0.00498,"71":0.00498,"72":0.00996,"73":0.00498,"74":0.00498,"75":0.00498,"76":0.01993,"77":0.23415,"78":0.76225,"79":0.03487,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.01495,"23":0,"24":0,"25":0,"26":0.00996,"27":0,"28":0,"29":0,"30":0.00498,"31":0,"32":0,"33":0,"34":0.04484,"35":0,"36":0,"37":0,"38":0.09466,"39":0,"40":0.00498,"41":0,"42":0.00498,"43":0,"44":0,"45":0,"46":0,"47":0.00498,"48":0.00498,"49":0.1096,"50":0,"51":0,"52":0,"53":0.13451,"54":0.00498,"55":0.01495,"56":0.00996,"57":0.01495,"58":0.00498,"59":0.00498,"60":0.00498,"61":0.01993,"62":0.02491,"63":0.01495,"64":0.01495,"65":0.03487,"66":0.01495,"67":0.03986,"68":0.02989,"69":0.03487,"70":0.03986,"71":0.05978,"72":0.04484,"73":0.06975,"74":0.05978,"75":0.09964,"76":0.06975,"77":0.06477,"78":0.1943,"79":0.12953,"80":0.3039,"81":0.3587,"83":8.53417,"84":5.24106,"85":0.02491,"86":0.00996,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.01495,"37":0,"38":0,"39":0,"40":0.00498,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00498,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.05978,"69":0.11459,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00857,"4.0-4.1":0.00857,"4.2-4.3":0.00857,"5.0-5.1":0.02571,"6.0-6.1":0.00857,"7.0-7.1":0.03428,"8.1-8.4":0.05142,"9.0-9.2":0.06857,"9.3":0.56567,"10.0-10.2":0.1457,"10.3":0.68566,"11.0-11.2":0.50568,"11.3-11.4":0.79708,"12.0-12.1":1.07992,"12.2-12.4":6.57378,"13.0-13.1":1.22562,"13.2":0.59995,"13.3":5.99096,"13.4-13.5":14.48459,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.01495,"9":0.01495,"10":0.00498,"11":0.01993,"12":0.0548,"13":0.43343,"14":0.01495,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00996,"10.1":0.04484,"11.1":0.07473,"12.1":0.17935,"13.1":2.53086},B:{"12":0.00498,"13":0,"14":0.00498,"15":0,"16":0.00498,"17":0.02989,"18":0.42845,"79":0,"80":0,"81":0.02491,"83":0.33878,"84":0.42845},I:{"3":0,"4":0.01052,_:"81","2.1":0,"2.2":0,"2.3":0.00105,"4.1":0.01788,"4.2-4.3":0.02945,"4.4":0,"4.4.3-4.4.4":0.18616},P:{"4":0.57218,"5.0-5.4":0.02119,"6.2-6.4":0.02119,"7.2-7.4":0.06358,"8.2":0.03179,"9.2":0.18013,"10.1":0.13775,"11.1-11.2":0.62516,"12.0":5.7536},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00923,"9":0.00923,"10":0,"11":0.73879,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":30.36246},S:{"2.5":0},R:{_:"0"},M:{"0":0.17563},Q:{"10.4":0.2509},O:{"0":0.44158},H:{"0":0.06176}}; diff --git a/node_modules/caniuse-lite/data/regions/HN.js b/node_modules/caniuse-lite/data/regions/HN.js new file mode 100644 index 000000000..2d0b3f027 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/HN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.00623,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00623,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01868,"53":0,"54":0,"55":0.00623,"56":0,"57":0,"58":0,"59":0,"60":0.00623,"61":0,"62":0,"63":0,"64":0.00623,"65":0.00623,"66":0.01868,"67":0,"68":0.06848,"69":0,"70":0,"71":0,"72":0,"73":0.03113,"74":0,"75":0,"76":0.01868,"77":0.33615,"78":1.6683,"79":0.1494,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00623,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.04358,"36":0,"37":0,"38":0.01245,"39":0,"40":0,"41":0.01245,"42":0,"43":0,"44":0.00623,"45":0,"46":0,"47":0,"48":0,"49":0.1245,"50":0,"51":0,"52":0,"53":0.04358,"54":0,"55":0.00623,"56":0,"57":0,"58":0.00623,"59":0,"60":0,"61":0,"62":0.00623,"63":0.0249,"64":0.00623,"65":0.00623,"66":0.01245,"67":0.00623,"68":0.00623,"69":0.01245,"70":0.06225,"71":0.04358,"72":0.03113,"73":0.08093,"74":0.06225,"75":0.06848,"76":0.08093,"77":0.11828,"78":0.06225,"79":0.1992,"80":0.249,"81":0.28635,"83":15.75548,"84":10.60118,"85":0.01868,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0.00623,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00623,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0.00623,"67":0,"68":0.84038,"69":0.33615,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00229,"4.0-4.1":0.00229,"4.2-4.3":0.00229,"5.0-5.1":0.00688,"6.0-6.1":0.00229,"7.0-7.1":0.00917,"8.1-8.4":0.01376,"9.0-9.2":0.01835,"9.3":0.15135,"10.0-10.2":0.03898,"10.3":0.18346,"11.0-11.2":0.1353,"11.3-11.4":0.21327,"12.0-12.1":0.28894,"12.2-12.4":1.75889,"13.0-13.1":0.32793,"13.2":0.16052,"13.3":1.60295,"13.4-13.5":3.87552,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.01868,"9":0,"10":0,"11":0.01245,"12":0.05603,"13":0.28635,"14":0.0249,_:"0","3.1":0,"3.2":0,"5.1":0.7719,"6.1":0,"7.1":0,"9.1":0.00623,"10.1":0.04358,"11.1":0.0498,"12.1":0.16808,"13.1":1.50645},B:{"12":0.00623,"13":0.00623,"14":0.00623,"15":0.00623,"16":0.00623,"17":0.01868,"18":0.20543,"79":0,"80":0,"81":0.01868,"83":0.8715,"84":0.70343},I:{"3":0,"4":0.01623,_:"81","2.1":0,"2.2":0,"2.3":0.00162,"4.1":0.02758,"4.2-4.3":0.04543,"4.4":0,"4.4.3-4.4.4":0.28721},P:{"4":0.28656,"5.0-5.4":0.02047,"6.2-6.4":0.02047,"7.2-7.4":0.13305,"8.2":0.01023,"9.2":0.12281,"10.1":0.12281,"11.1-11.2":0.52196,"12.0":1.52493},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01442,"9":0.00721,"10":0.00721,"11":0.10812,"5.5":0},J:{"7":0,"10":0.00378},N:{"10":0,"11":0},L:{"0":48.71315},S:{"2.5":0},R:{_:"0"},M:{"0":0.1057},Q:{"10.4":0.00378},O:{"0":0.11325},H:{"0":0.13224}}; diff --git a/node_modules/caniuse-lite/data/regions/HR.js b/node_modules/caniuse-lite/data/regions/HR.js new file mode 100644 index 000000000..f34a7b066 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/HR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00407,"28":0,"29":0,"30":0.00407,"31":0,"32":0,"33":0.00407,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00407,"48":0.00814,"49":0,"50":0.00407,"51":0,"52":0.05294,"53":0,"54":0,"55":0.00407,"56":0.00814,"57":0.02036,"58":0.05701,"59":0,"60":0.00407,"61":0.00407,"62":0,"63":0.00407,"64":0.00407,"65":0.00407,"66":0.00407,"67":0.00407,"68":0.18324,"69":0.00407,"70":0.03665,"71":0.00407,"72":0.01222,"73":0.00407,"74":0.00814,"75":0.00814,"76":0.04072,"77":0.42756,"78":1.49442,"79":0.0733,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00407,"35":0,"36":0,"37":0,"38":0.00407,"39":0,"40":0.00407,"41":0.00407,"42":0,"43":0.06922,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.1018,"50":0,"51":0.00407,"52":0,"53":0.01629,"54":0,"55":0.00407,"56":0.00407,"57":0,"58":0,"59":0.00407,"60":0,"61":0.04072,"62":0.00407,"63":0.00814,"64":0.00814,"65":0.00407,"66":0.00407,"67":0.00814,"68":0.00814,"69":0.00814,"70":0.02443,"71":0.02036,"72":0.01222,"73":0.01222,"74":0.01222,"75":0.04072,"76":0.01222,"77":0.04072,"78":0.02443,"79":0.02443,"80":0.07737,"81":0.16695,"83":6.23016,"84":3.70145,"85":0.00407,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.00814,"33":0,"34":0,"35":0,"36":0.00407,"37":0,"38":0,"39":0,"40":0.00814,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.02443,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00407,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0.00407,"67":0.00407,"68":0.30947,"69":0.15474,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00237,"4.0-4.1":0.00237,"4.2-4.3":0.00237,"5.0-5.1":0.00711,"6.0-6.1":0.00237,"7.0-7.1":0.00948,"8.1-8.4":0.01421,"9.0-9.2":0.01895,"9.3":0.15634,"10.0-10.2":0.04027,"10.3":0.18951,"11.0-11.2":0.13976,"11.3-11.4":0.2203,"12.0-12.1":0.29847,"12.2-12.4":1.81689,"13.0-13.1":0.33874,"13.2":0.16582,"13.3":1.65581,"13.4-13.5":4.00331,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00407,"9":0,"10":0,"11":0.00407,"12":0.00814,"13":0.06108,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01222,"11.1":0.02443,"12.1":0.05294,"13.1":0.59044},B:{"12":0,"13":0,"14":0.00407,"15":0.01629,"16":0.00407,"17":0.0285,"18":0.16695,"79":0,"80":0,"81":0.00814,"83":0.26875,"84":0.20767},I:{"3":0,"4":0.00518,_:"81","2.1":0,"2.2":0,"2.3":0.00052,"4.1":0.00881,"4.2-4.3":0.01451,"4.4":0,"4.4.3-4.4.4":0.09171},P:{"4":0.14318,"5.0-5.4":0.01023,"6.2-6.4":0.03068,"7.2-7.4":0.07159,"8.2":0.04091,"9.2":0.21477,"10.1":0.24545,"11.1-11.2":0.92045,"12.0":4.72498},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.05701,"9":0,"10":0,"11":0.46421,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":64.61292},S:{"2.5":0},R:{_:"0"},M:{"0":0.3379},Q:{"10.4":0},O:{"0":0.06521},H:{"0":0.33673}}; diff --git a/node_modules/caniuse-lite/data/regions/HT.js b/node_modules/caniuse-lite/data/regions/HT.js new file mode 100644 index 000000000..874823b9a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/HT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00299,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00299,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00299,"27":0.00598,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00299,"48":0.00598,"49":0,"50":0.00299,"51":0,"52":0.00299,"53":0,"54":0,"55":0,"56":0,"57":0.00299,"58":0,"59":0.00299,"60":0,"61":0.00299,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.06582,"69":0,"70":0,"71":0,"72":0.01496,"73":0.00299,"74":0,"75":0.00299,"76":0.00299,"77":0.11968,"78":0.39794,"79":0.03291,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00299,"38":0,"39":0,"40":0,"41":0,"42":0.00299,"43":0.00299,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.04488,"50":0.00898,"51":0.00299,"52":0,"53":0,"54":0,"55":0.00598,"56":0.00598,"57":0.0359,"58":0.00598,"59":0.00299,"60":0.03291,"61":0.00299,"62":0.00299,"63":0.04787,"64":0.00299,"65":0.00898,"66":0.00299,"67":0.01496,"68":0.00299,"69":0.00598,"70":0.02394,"71":0.00598,"72":0.00299,"73":0.00299,"74":0.01795,"75":0.00898,"76":0.01496,"77":0.01197,"78":0.01197,"79":0.02992,"80":0.08078,"81":0.05984,"83":3.2553,"84":1.62765,"85":0.00598,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0.00299,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00299,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01496,"51":0,"52":0,"53":0.00299,"54":0,"55":0,"56":0.00299,"57":0,"58":0.00898,"60":0,"62":0,"63":0.00299,"64":0,"65":0,"66":0,"67":0.00898,"68":0.33211,"69":0.15259,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00299},G:{"8":0,"3.2":0.00203,"4.0-4.1":0.00203,"4.2-4.3":0.00203,"5.0-5.1":0.00608,"6.0-6.1":0.00203,"7.0-7.1":0.0081,"8.1-8.4":0.01215,"9.0-9.2":0.0162,"9.3":0.13366,"10.0-10.2":0.03443,"10.3":0.16202,"11.0-11.2":0.11949,"11.3-11.4":0.18834,"12.0-12.1":0.25518,"12.2-12.4":1.55333,"13.0-13.1":0.2896,"13.2":0.14176,"13.3":1.41561,"13.4-13.5":3.42259,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00299,"9":0,"10":0.00898,"11":0.02094,"12":0.01496,"13":0.17952,"14":0.00299,_:"0","3.1":0,"3.2":0,"5.1":0.09874,"6.1":0,"7.1":0,"9.1":0.00299,"10.1":0.00299,"11.1":0.02394,"12.1":0.02394,"13.1":0.50266},B:{"12":0.01795,"13":0.01795,"14":0.00598,"15":0.01795,"16":0.01496,"17":0.02094,"18":0.17653,"79":0,"80":0,"81":0.00598,"83":0.23936,"84":0.15259},I:{"3":0,"4":0.01025,_:"81","2.1":0,"2.2":0,"2.3":0.00102,"4.1":0.01742,"4.2-4.3":0.02869,"4.4":0,"4.4.3-4.4.4":0.18136},P:{"4":0.51733,"5.0-5.4":0.21302,"6.2-6.4":0.07101,"7.2-7.4":0.31446,"8.2":0.12173,"9.2":0.29417,"10.1":0.20288,"11.1-11.2":0.54776,"12.0":0.71006},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00598,"9":0.00598,"10":0.00299,"11":0.10472,"5.5":0},J:{"7":0,"10":0.00701},N:{"10":0,"11":0},L:{"0":77.30542},S:{"2.5":0},R:{_:"0"},M:{"0":0.14016},Q:{"10.4":0},O:{"0":0.44851},H:{"0":1.04165}}; diff --git a/node_modules/caniuse-lite/data/regions/HU.js b/node_modules/caniuse-lite/data/regions/HU.js new file mode 100644 index 000000000..de1f33643 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/HU.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01623,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00541,"42":0,"43":0,"44":0,"45":0.00541,"46":0,"47":0.00541,"48":0.00541,"49":0,"50":0.00541,"51":0.00541,"52":0.12986,"53":0,"54":0,"55":0.00541,"56":0.01082,"57":0.00541,"58":0,"59":0.00541,"60":0.01082,"61":0.00541,"62":0.00541,"63":0.00541,"64":0.00541,"65":0.01082,"66":0.01082,"67":0.00541,"68":0.23267,"69":0.00541,"70":0.01082,"71":0.01082,"72":0.02706,"73":0.00541,"74":0.01082,"75":0.02164,"76":0.36254,"77":1.06056,"78":3.44681,"79":0.15692,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00541,"23":0,"24":0,"25":0,"26":0.00541,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.01082,"35":0,"36":0.00541,"37":0,"38":0.03247,"39":0,"40":0,"41":0,"42":0,"43":0.01082,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.29761,"50":0,"51":0,"52":0,"53":0.06493,"54":0,"55":0.00541,"56":0.00541,"57":0,"58":0.01082,"59":0.01082,"60":0.00541,"61":0.01623,"62":0.00541,"63":0.00541,"64":0.00541,"65":0.00541,"66":0.01082,"67":0.01082,"68":0.01082,"69":0.01082,"70":0.03247,"71":0.03247,"72":0.03247,"73":0.01623,"74":0.02164,"75":0.02164,"76":0.02164,"77":0.02706,"78":0.03788,"79":0.0487,"80":0.12986,"81":0.15151,"83":10.92481,"84":6.83409,"85":0.01082,"86":0.00541,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.01082,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.03247,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00541,"58":0,"60":0.00541,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.69261,"69":0.38418,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00313,"4.0-4.1":0.00313,"4.2-4.3":0.00313,"5.0-5.1":0.00938,"6.0-6.1":0.00313,"7.0-7.1":0.01251,"8.1-8.4":0.01876,"9.0-9.2":0.02502,"9.3":0.20639,"10.0-10.2":0.05316,"10.3":0.25017,"11.0-11.2":0.1845,"11.3-11.4":0.29082,"12.0-12.1":0.39402,"12.2-12.4":2.3985,"13.0-13.1":0.44718,"13.2":0.2189,"13.3":2.18586,"13.4-13.5":5.28484,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00541,"12":0.01082,"13":0.08658,"14":0.01082,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00541,"10.1":0.01082,"11.1":0.03247,"12.1":0.0487,"13.1":0.79542},B:{"12":0,"13":0,"14":0.00541,"15":0.01623,"16":0.01082,"17":0.03788,"18":0.33548,"79":0,"80":0,"81":0.01082,"83":0.55192,"84":0.42206},I:{"3":0,"4":0.00984,_:"81","2.1":0,"2.2":0,"2.3":0.00098,"4.1":0.01672,"4.2-4.3":0.02754,"4.4":0,"4.4.3-4.4.4":0.1741},P:{"4":0.31862,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.03083,"8.2":0.01028,"9.2":0.06167,"10.1":0.0925,"11.1-11.2":0.43168,"12.0":2.3126},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.35713,"5.5":0},J:{"7":0,"10":0.00459},N:{"10":0,"11":0},L:{"0":52.51874},S:{"2.5":0},R:{_:"0"},M:{"0":0.29829},Q:{"10.4":0.00459},O:{"0":0.06425},H:{"0":0.38232}}; diff --git a/node_modules/caniuse-lite/data/regions/ID.js b/node_modules/caniuse-lite/data/regions/ID.js new file mode 100644 index 000000000..cfb023423 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ID.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0044,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.02639,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.0044,"44":0.0044,"45":0,"46":0,"47":0.0088,"48":0.0088,"49":0.0044,"50":0,"51":0,"52":0.03959,"53":0,"54":0.0044,"55":0.0044,"56":0.0132,"57":0.0044,"58":0.0044,"59":0.0044,"60":0.0044,"61":0.0044,"62":0.0044,"63":0.0044,"64":0.0088,"65":0.0088,"66":0.0132,"67":0.0088,"68":0.07478,"69":0.0132,"70":0.0132,"71":0.0088,"72":0.04399,"73":0.0132,"74":0.0176,"75":0.022,"76":0.03519,"77":0.4399,"78":1.96195,"79":0.15836,"80":0.0044,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.0044,"32":0,"33":0.0044,"34":0,"35":0,"36":0.0044,"37":0,"38":0.0044,"39":0,"40":0,"41":0,"42":0,"43":0.0044,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.05279,"50":0,"51":0.0044,"52":0,"53":0.0044,"54":0,"55":0.0044,"56":0.0044,"57":0.0044,"58":0.03519,"59":0,"60":0.0044,"61":0.0132,"62":0.0044,"63":0.03959,"64":0.0044,"65":0.0088,"66":0.0088,"67":0.0132,"68":0.0044,"69":0.022,"70":0.03519,"71":0.05719,"72":0.03079,"73":0.04399,"74":0.09678,"75":0.05279,"76":0.05279,"77":0.05279,"78":0.06599,"79":0.11437,"80":0.20675,"81":0.12317,"83":7.35073,"84":4.57496,"85":0.0088,"86":0.0088,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.0044,"29":0,"30":0,"31":0,"32":0.0044,"33":0,"34":0.0044,"35":0,"36":0,"37":0.07478,"38":0.0044,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.0088,"46":0.022,"47":0.022,"48":0,"49":0,"50":0.31233,"51":0.0044,"52":0,"53":0,"54":0,"55":0.0044,"56":0,"57":0.0044,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.24634,"69":0.13637,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00139,"4.0-4.1":0.00139,"4.2-4.3":0.00139,"5.0-5.1":0.00416,"6.0-6.1":0.00139,"7.0-7.1":0.00555,"8.1-8.4":0.00833,"9.0-9.2":0.0111,"9.3":0.09159,"10.0-10.2":0.02359,"10.3":0.11102,"11.0-11.2":0.08188,"11.3-11.4":0.12906,"12.0-12.1":0.17486,"12.2-12.4":1.06444,"13.0-13.1":0.19845,"13.2":0.09715,"13.3":0.97007,"13.4-13.5":2.34537,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.0044,"11":0.0088,"12":0.02639,"13":0.07478,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.71264,"6.1":0,"7.1":0,"9.1":0,"10.1":0.0088,"11.1":0.03079,"12.1":0.07038,"13.1":0.34312},B:{"12":0.0044,"13":0,"14":0.0044,"15":0,"16":0.0044,"17":0.0088,"18":0.08798,"79":0,"80":0,"81":0.0088,"83":0.20675,"84":0.15836},I:{"3":0,"4":0.04871,_:"81","2.1":0,"2.2":0,"2.3":0.00487,"4.1":0.0828,"4.2-4.3":0.13638,"4.4":0,"4.4.3-4.4.4":0.8621},P:{"4":0.66334,"5.0-5.4":0.0201,"6.2-6.4":0.05025,"7.2-7.4":0.09046,"8.2":0.05025,"9.2":0.23116,"10.1":0.22111,"11.1-11.2":0.56283,"12.0":0.99501},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02322,"9":0,"10":0.00464,"11":0.05572,"5.5":0},J:{"7":0,"10":0.0168},N:{"10":0,"11":0},L:{"0":63.46171},S:{"2.5":0},R:{_:"0"},M:{"0":0.11202},Q:{"10.4":0.0056},O:{"0":2.36922},H:{"0":1.82942}}; diff --git a/node_modules/caniuse-lite/data/regions/IE.js b/node_modules/caniuse-lite/data/regions/IE.js new file mode 100644 index 000000000..2a62addaa --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/IE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00816,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.02041,"39":0,"40":0,"41":0,"42":0,"43":0.02449,"44":0.08978,"45":0.02041,"46":0,"47":0.00408,"48":0.00816,"49":0,"50":0,"51":0,"52":0.02041,"53":0.00408,"54":0,"55":0.00408,"56":0.00816,"57":0.00408,"58":0,"59":0,"60":0.01632,"61":0,"62":0.00408,"63":0.01632,"64":0.00816,"65":0.02857,"66":0.01224,"67":0,"68":0.16732,"69":0,"70":0.00408,"71":0.00408,"72":0.02449,"73":0.00408,"74":0.01632,"75":0.00408,"76":0.01224,"77":0.22037,"78":0.68153,"79":0.03265,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00408,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00408,"35":0,"36":0,"37":0,"38":0.00408,"39":0,"40":0.00816,"41":0.00408,"42":0,"43":0,"44":0,"45":0,"46":0.00816,"47":0.02449,"48":0.22037,"49":0.19181,"50":0,"51":0.00408,"52":0,"53":0.00816,"54":0.01224,"55":0.00816,"56":0.00408,"57":0.00408,"58":0.01224,"59":0.00408,"60":0.00408,"61":0.02857,"62":0.00408,"63":0.00816,"64":0.00408,"65":0.02449,"66":0.00408,"67":0.01632,"68":0.00408,"69":0.03265,"70":0.07754,"71":0.11427,"72":0.06122,"73":0.03673,"74":0.02041,"75":0.04897,"76":0.02857,"77":0.02041,"78":0.04081,"79":0.06122,"80":0.0857,"81":0.25302,"83":5.88888,"84":3.18318,"85":0.01632,"86":0.00408,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00408,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00816,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00408,"57":0,"58":0.00408,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.10203,"69":0.05305,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00755,"4.0-4.1":0.00755,"4.2-4.3":0.00755,"5.0-5.1":0.02264,"6.0-6.1":0.00755,"7.0-7.1":0.03019,"8.1-8.4":0.04529,"9.0-9.2":0.06038,"9.3":0.49815,"10.0-10.2":0.12831,"10.3":0.60382,"11.0-11.2":0.44532,"11.3-11.4":0.70194,"12.0-12.1":0.95102,"12.2-12.4":5.78915,"13.0-13.1":1.07933,"13.2":0.52834,"13.3":5.2759,"13.4-13.5":12.75575,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00816,"9":0.03265,"10":0.00408,"11":0.00816,"12":0.01632,"13":0.19997,"14":0.00816,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00816,"10.1":0.02041,"11.1":0.07754,"12.1":0.07754,"13.1":1.34673},B:{"12":0.00816,"13":0.00816,"14":0.00408,"15":0.00816,"16":0.00816,"17":0.04489,"18":0.33056,"79":0,"80":0.00408,"81":0.01224,"83":0.4081,"84":0.28159},I:{"3":0,"4":0.0178,_:"81","2.1":0,"2.2":0,"2.3":0.00178,"4.1":0.03026,"4.2-4.3":0.04983,"4.4":0,"4.4.3-4.4.4":0.31501},P:{"4":0.08462,"5.0-5.4":0.01058,"6.2-6.4":0,"7.2-7.4":0.03173,"8.2":0.02116,"9.2":0.12693,"10.1":0.13751,"11.1-11.2":0.68754,"12.0":3.96659},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00475,"9":0.05705,"10":0,"11":0.42791,"5.5":0},J:{"7":0,"10":0.00592},N:{"10":0,"11":0.01184},L:{"0":45.99906},S:{"2.5":0},R:{_:"0"},M:{"0":0.30779},Q:{"10.4":0.05919},O:{"0":0.05327},H:{"0":0.1457}}; diff --git a/node_modules/caniuse-lite/data/regions/IL.js b/node_modules/caniuse-lite/data/regions/IL.js new file mode 100644 index 000000000..b5d7986e1 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/IL.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00492,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0.00492,"25":0.00492,"26":0.01475,"27":0.00983,"28":0,"29":0,"30":0,"31":0.00492,"32":0.00492,"33":0.00492,"34":0.00492,"35":0.00492,"36":0.00492,"37":0.00492,"38":0.00492,"39":0.00492,"40":0.00492,"41":0.00492,"42":0.00492,"43":0.00492,"44":0.00492,"45":0.00492,"46":0.00492,"47":0.00492,"48":0.01475,"49":0.00492,"50":0.00492,"51":0.00492,"52":0.02458,"53":0.00492,"54":0.00492,"55":0.00492,"56":0.01966,"57":0.00492,"58":0.00492,"59":0.00492,"60":0.01475,"61":0.00492,"62":0.00492,"63":0.00983,"64":0.00492,"65":0.00492,"66":0.00492,"67":0.00492,"68":0.08356,"69":0,"70":0.00492,"71":0,"72":0.07373,"73":0.00492,"74":0.00492,"75":0.00492,"76":0.00983,"77":0.1966,"78":0.63895,"79":0.02949,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00492,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.02458,"32":0.00492,"33":0,"34":0.00492,"35":0.00492,"36":0.00492,"37":0,"38":0.01475,"39":0.00492,"40":0.00492,"41":0.00492,"42":0,"43":0,"44":0,"45":0,"46":0.00983,"47":0.00983,"48":0.00492,"49":0.10813,"50":0.00492,"51":0.00492,"52":0.00492,"53":0.01966,"54":0.00492,"55":0.00983,"56":0.00983,"57":0.01475,"58":0.00983,"59":0.00492,"60":0.00983,"61":0.00492,"62":0.01966,"63":0.01475,"64":0.00983,"65":0.01966,"66":0.01475,"67":0.03441,"68":0.01475,"69":0.01475,"70":0.04915,"71":0.05407,"72":0.03441,"73":0.02458,"74":0.02458,"75":0.03932,"76":0.02458,"77":0.02458,"78":0.05407,"79":0.0639,"80":0.17203,"81":0.18677,"83":11.53551,"84":6.58119,"85":0.01475,"86":0.00492,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00492,"58":0.00492,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.15728,"69":0.07864,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00983},G:{"8":0,"3.2":0.00417,"4.0-4.1":0.00417,"4.2-4.3":0.00417,"5.0-5.1":0.01252,"6.0-6.1":0.00417,"7.0-7.1":0.0167,"8.1-8.4":0.02505,"9.0-9.2":0.03339,"9.3":0.27551,"10.0-10.2":0.07096,"10.3":0.33395,"11.0-11.2":0.24629,"11.3-11.4":0.38822,"12.0-12.1":0.52597,"12.2-12.4":3.20174,"13.0-13.1":0.59694,"13.2":0.29221,"13.3":2.91789,"13.4-13.5":7.05469,_:"14.0"},E:{"4":0.00492,"5":0.00492,"6":0.00492,"7":0.00492,"8":0.06881,"9":0.00492,"10":0.00492,"11":0.00492,"12":0.00983,"13":0.10322,"14":0.00492,_:"0","3.1":0,"3.2":0,"5.1":0.00983,"6.1":0.00983,"7.1":0,"9.1":0.00492,"10.1":0.00983,"11.1":0.02458,"12.1":0.04424,"13.1":0.59963},B:{"12":0,"13":0.00492,"14":0.00983,"15":0.00492,"16":0.00983,"17":0.02949,"18":0.20643,"79":0,"80":0,"81":0.00983,"83":0.34405,"84":0.25558},I:{"3":0,"4":0.00513,_:"81","2.1":0,"2.2":0,"2.3":0.00051,"4.1":0.00872,"4.2-4.3":0.01436,"4.4":0,"4.4.3-4.4.4":0.09077},P:{"4":0.10214,"5.0-5.4":0.01021,"6.2-6.4":0.02043,"7.2-7.4":0.09192,"8.2":0.05107,"9.2":0.35748,"10.1":0.24513,"11.1-11.2":0.98051,"12.0":4.09566},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00496,"9":0.01489,"10":0.00992,"11":0.4863,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0.01526},L:{"0":50.38016},S:{"2.5":0},R:{_:"0"},M:{"0":0.14238},Q:{"10.4":0.00509},O:{"0":0.06611},H:{"0":0.15405}}; diff --git a/node_modules/caniuse-lite/data/regions/IM.js b/node_modules/caniuse-lite/data/regions/IM.js new file mode 100644 index 000000000..d191edc88 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/IM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00668,"27":0.04675,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.03339,"49":0,"50":0,"51":0,"52":0.02671,"53":0,"54":0,"55":0,"56":0.28048,"57":0,"58":0,"59":0,"60":0.00668,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.01336,"67":0,"68":0.20034,"69":0,"70":0,"71":0,"72":0.00668,"73":0,"74":0,"75":0.00668,"76":0.01336,"77":0.38732,"78":1.06848,"79":0.08014,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.01336,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.44075,"50":0,"51":0,"52":0,"53":0.02671,"54":0,"55":0,"56":0,"57":0,"58":0.01336,"59":0,"60":0,"61":0.22037,"62":0,"63":0,"64":0,"65":0,"66":0.00668,"67":0.12688,"68":0,"69":0.00668,"70":0.01336,"71":0.00668,"72":0.0601,"73":0.00668,"74":0.01336,"75":0.04675,"76":0.02003,"77":0.23373,"78":0.1202,"79":0.10017,"80":0.18698,"81":0.23373,"83":20.62834,"84":4.46758,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00668,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.20702,"69":0.09349,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0082,"4.0-4.1":0.0082,"4.2-4.3":0.0082,"5.0-5.1":0.02461,"6.0-6.1":0.0082,"7.0-7.1":0.03282,"8.1-8.4":0.04922,"9.0-9.2":0.06563,"9.3":0.54146,"10.0-10.2":0.13947,"10.3":0.65632,"11.0-11.2":0.48403,"11.3-11.4":0.76297,"12.0-12.1":1.0337,"12.2-12.4":6.29243,"13.0-13.1":1.17317,"13.2":0.57428,"13.3":5.73457,"13.4-13.5":13.86469,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00668,"10":0,"11":0.02003,"12":0.06678,"13":0.38065,"14":0.01336,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.02003,"10.1":0.03339,"11.1":0.2137,"12.1":0.17363,"13.1":5.72972},B:{"12":0.00668,"13":0,"14":0.0601,"15":0.00668,"16":0.01336,"17":0.05342,"18":0.788,"79":0.00668,"80":0,"81":0.01336,"83":1.5493,"84":1.11523},I:{"3":0,"4":0.03124,_:"81","2.1":0,"2.2":0,"2.3":0.00312,"4.1":0.0531,"4.2-4.3":0.08746,"4.4":0,"4.4.3-4.4.4":0.55288},P:{"4":0.07637,"5.0-5.4":0.01091,"6.2-6.4":0,"7.2-7.4":0.02182,"8.2":0.01091,"9.2":0.05455,"10.1":0.07637,"11.1-11.2":0.60006,"12.0":2.2584},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.05724,"10":0,"11":0.94446,"5.5":0},J:{"7":0,"10":0.00332},N:{"10":0,"11":0},L:{"0":20.48531},S:{"2.5":0},R:{_:"0"},M:{"0":0.25247},Q:{"10.4":0},O:{"0":0.01993},H:{"0":0.04403}}; diff --git a/node_modules/caniuse-lite/data/regions/IN.js b/node_modules/caniuse-lite/data/regions/IN.js new file mode 100644 index 000000000..0f6f5102f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/IN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.00323,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.00323,"43":0.00323,"44":0,"45":0,"46":0,"47":0.00323,"48":0.00323,"49":0,"50":0,"51":0,"52":0.01292,"53":0,"54":0,"55":0,"56":0.00323,"57":0,"58":0,"59":0,"60":0.00323,"61":0,"62":0,"63":0,"64":0,"65":0.00646,"66":0.00646,"67":0,"68":0.05491,"69":0,"70":0.00323,"71":0.00323,"72":0.00646,"73":0.00323,"74":0.00323,"75":0.00323,"76":0.00646,"77":0.09367,"78":0.40375,"79":0.0646,"80":0.00323,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00323,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00323,"47":0,"48":0.00323,"49":0.0323,"50":0.00323,"51":0.00323,"52":0,"53":0,"54":0,"55":0.00323,"56":0.00323,"57":0,"58":0.00969,"59":0,"60":0,"61":0.00323,"62":0.00323,"63":0.01938,"64":0.00646,"65":0.00323,"66":0.00323,"67":0.00646,"68":0.00646,"69":0.01292,"70":0.01615,"71":0.05814,"72":0.01292,"73":0.01292,"74":0.05168,"75":0.01292,"76":0.01292,"77":0.01938,"78":0.02584,"79":0.04522,"80":0.07429,"81":0.08398,"83":4.79009,"84":3.12018,"85":0.01292,"86":0.00323,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.01615,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00323,"46":0.00646,"47":0.00969,"48":0,"49":0,"50":0.20995,"51":0.00323,"52":0,"53":0.00323,"54":0.00323,"55":0.01292,"56":0,"57":0,"58":0,"60":0.00323,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.08075,"69":0.06137,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0007,"4.0-4.1":0.0007,"4.2-4.3":0.0007,"5.0-5.1":0.0021,"6.0-6.1":0.0007,"7.0-7.1":0.0028,"8.1-8.4":0.0042,"9.0-9.2":0.0056,"9.3":0.04619,"10.0-10.2":0.0119,"10.3":0.05599,"11.0-11.2":0.04129,"11.3-11.4":0.06509,"12.0-12.1":0.08818,"12.2-12.4":0.53681,"13.0-13.1":0.10008,"13.2":0.04899,"13.3":0.48922,"13.4-13.5":1.1828,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00323,"12":0.00323,"13":0.02584,"14":0.00323,_:"0","3.1":0,"3.2":0,"5.1":0.03553,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00323,"11.1":0.00646,"12.1":0.01615,"13.1":0.14535},B:{"12":0.00323,"13":0.00323,"14":0.00323,"15":0.00323,"16":0.00323,"17":0.00969,"18":0.07752,"79":0,"80":0,"81":0.00646,"83":0.10336,"84":0.10336},I:{"3":0,"4":0.00672,_:"81","2.1":0,"2.2":0,"2.3":0.00067,"4.1":0.01142,"4.2-4.3":0.0188,"4.4":0,"4.4.3-4.4.4":0.11886},P:{"4":0.3743,"5.0-5.4":0.02023,"6.2-6.4":0.04046,"7.2-7.4":0.12139,"8.2":0.04046,"9.2":0.18209,"10.1":0.13151,"11.1-11.2":0.3743,"12.0":0.47546},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00646,"9":0,"10":0,"11":0.04199,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":72.53487},S:{"2.5":0.44005},R:{_:"0"},M:{"0":0.1354},Q:{"10.4":0},O:{"0":6.04561},H:{"0":2.33302}}; diff --git a/node_modules/caniuse-lite/data/regions/IQ.js b/node_modules/caniuse-lite/data/regions/IQ.js new file mode 100644 index 000000000..51545e0a8 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/IQ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00316,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00316,"48":0,"49":0,"50":0,"51":0,"52":0.00948,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00316,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.02529,"69":0,"70":0,"71":0.00316,"72":0.00316,"73":0,"74":0,"75":0.00316,"76":0.00316,"77":0.09167,"78":0.36352,"79":0.03793,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00316,"27":0,"28":0,"29":0,"30":0,"31":0.00316,"32":0.00632,"33":0.00632,"34":0.00316,"35":0,"36":0,"37":0,"38":0.00948,"39":0,"40":0.02529,"41":0,"42":0,"43":0.04742,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.01264,"50":0,"51":0,"52":0.00316,"53":0.00632,"54":0,"55":0.00316,"56":0,"57":0.00316,"58":0.00316,"59":0,"60":0.00316,"61":0.01897,"62":0,"63":0.04742,"64":0.00316,"65":0.00316,"66":0,"67":0.00316,"68":0.00948,"69":0.00948,"70":0.02213,"71":0.01897,"72":0.00948,"73":0.00948,"74":0.02529,"75":0.01897,"76":0.00948,"77":0.02529,"78":0.02529,"79":0.06322,"80":0.06638,"81":0.12644,"83":3.93545,"84":2.50035,"85":0.00632,"86":0.00316,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00316,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00316,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.20863,"69":0.1296,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00461,"4.0-4.1":0.00461,"4.2-4.3":0.00461,"5.0-5.1":0.01383,"6.0-6.1":0.00461,"7.0-7.1":0.01845,"8.1-8.4":0.02767,"9.0-9.2":0.03689,"9.3":0.30436,"10.0-10.2":0.0784,"10.3":0.36892,"11.0-11.2":0.27208,"11.3-11.4":0.42887,"12.0-12.1":0.58105,"12.2-12.4":3.53702,"13.0-13.1":0.65944,"13.2":0.3228,"13.3":3.22344,"13.4-13.5":7.79343,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00632,"13":0.0727,"14":0.00632,_:"0","3.1":0,"3.2":0,"5.1":0.11696,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00316,"11.1":0.00316,"12.1":0.00948,"13.1":0.56898},B:{"12":0,"13":0.00316,"14":0,"15":0.00316,"16":0.00632,"17":0.00948,"18":0.08219,"79":0,"80":0,"81":0.00948,"83":0.19282,"84":0.15489},I:{"3":0,"4":0.01503,_:"81","2.1":0,"2.2":0,"2.3":0.0015,"4.1":0.02555,"4.2-4.3":0.04207,"4.4":0,"4.4.3-4.4.4":0.26597},P:{"4":0.18585,"5.0-5.4":0.02065,"6.2-6.4":0.03098,"7.2-7.4":0.11358,"8.2":0.03098,"9.2":0.413,"10.1":0.23748,"11.1-11.2":0.99121,"12.0":3.80995},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03432,"9":0.00429,"10":0.00429,"11":0.07722,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":63.27137},S:{"2.5":0},R:{_:"0"},M:{"0":0.07523},Q:{"10.4":0.02052},O:{"0":0.39666},H:{"0":0.18129}}; diff --git a/node_modules/caniuse-lite/data/regions/IR.js b/node_modules/caniuse-lite/data/regions/IR.js new file mode 100644 index 000000000..2c8c893fa --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/IR.js @@ -0,0 +1 @@ +module.exports={C:{"16":0.01528,"29":0.01018,"30":0.00509,"33":0.01018,"37":0.00509,"38":0.00509,"41":0.01018,"43":0.02037,"44":0.01018,"45":0.01018,"47":0.04583,"48":0.01528,"49":0.01018,"50":0.01018,"52":0.58558,"53":0.00509,"54":0.00509,"55":0.00509,"56":0.04583,"57":0.01528,"58":0.01018,"59":0.00509,"60":0.02546,"61":0.01018,"62":0.01528,"63":0.03055,"64":0.04074,"65":0.04074,"66":0.03055,"67":0.01018,"68":0.32589,"69":0.02037,"70":0.02037,"71":0.02037,"72":0.10184,"73":0.02037,"74":0.03055,"75":0.0611,"76":0.09675,"77":1.5276,"78":6.81819,"79":0.40227,"80":0.01018,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 31 32 34 35 36 39 40 42 46 51 81 3.5 3.6"},D:{"13":0.96239,"29":0.01018,"31":0.00509,"32":0.01018,"33":0.00509,"34":0.00509,"35":0.02037,"38":0.01528,"40":0.00509,"43":0.00509,"44":0.00509,"48":0.01018,"49":0.17822,"51":0.01018,"53":0.01528,"54":0.01018,"55":0.01018,"56":0.01018,"57":0.00509,"58":0.01528,"59":0.00509,"60":0.01528,"61":0.01018,"62":0.02546,"63":0.07129,"64":0.01018,"65":0.01018,"66":0.01528,"67":0.02546,"68":0.02546,"69":0.04583,"70":0.21386,"71":0.29534,"72":0.21386,"73":0.10693,"74":0.03564,"75":0.17313,"76":0.07129,"77":0.05601,"78":0.07638,"79":0.10693,"80":0.33098,"81":0.22405,"83":15.96851,"84":12.4143,"85":0.02037,_:"4 5 6 7 8 9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 36 37 39 41 42 45 46 47 50 52 86 87"},F:{"56":0.01018,"57":0.01528,"58":0.02037,"64":0.00509,"66":0.00509,"67":0.01018,"68":0.443,"69":0.35135,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 60 62 63 65 9.5-9.6 10.5 10.6 11.1 11.5 11.6","10.0-10.1":0,"12.1":0.01018},G:{"8":0,"3.2":0.0013,"4.0-4.1":0.0013,"4.2-4.3":0.0013,"5.0-5.1":0.0039,"6.0-6.1":0.0013,"7.0-7.1":0.0052,"8.1-8.4":0.0078,"9.0-9.2":0.0104,"9.3":0.08578,"10.0-10.2":0.0221,"10.3":0.10398,"11.0-11.2":0.07669,"11.3-11.4":0.12088,"12.0-12.1":0.16377,"12.2-12.4":0.99692,"13.0-13.1":0.18587,"13.2":0.09098,"13.3":0.90853,"13.4-13.5":2.1966,_:"14.0"},E:{"4":0,"10":0.00509,"11":0.01018,"12":0.02546,"13":0.09675,_:"0 5 6 7 8 9 14 3.1 3.2 6.1 7.1","5.1":0.04074,"9.1":0.00509,"10.1":0.01018,"11.1":0.04074,"12.1":0.0611,"13.1":0.35135},B:{"12":0.01528,"13":0.02037,"14":0.03055,"15":0.01528,"16":0.02546,"17":0.16804,"18":0.64159,"81":0.01018,"83":0.2546,"84":0.29534,_:"79 80"},I:{"3":0,"4":0.00906,_:"81","2.1":0,"2.2":0,"2.3":0.00091,"4.1":0.0154,"4.2-4.3":0.02536,"4.4":0,"4.4.3-4.4.4":0.16032},P:{"4":1.18988,"5.0-5.4":0.18151,"6.2-6.4":0.121,"7.2-7.4":0.47393,"8.2":0.20167,"9.2":1.02854,"10.1":0.87728,"11.1-11.2":1.81507,"12.0":2.43017},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"7":0.00513,"8":1.06228,"9":0.4362,"10":0.03592,"11":3.05854,_:"6 5.5"},J:{"7":0,"10":0.00491},N:{"10":0,"11":0},L:{"0":34.48109},S:{"2.5":0},R:{_:"0"},M:{"0":0.7951},Q:{"10.4":0},O:{"0":0.14233},H:{"0":0.39031}}; diff --git a/node_modules/caniuse-lite/data/regions/IS.js b/node_modules/caniuse-lite/data/regions/IS.js new file mode 100644 index 000000000..9020199cd --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/IS.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01218,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01828,"49":0,"50":0,"51":0,"52":0.01828,"53":0,"54":0,"55":0.0731,"56":0,"57":0,"58":0,"59":0,"60":0.00609,"61":0,"62":0,"63":0,"64":0.05483,"65":0.06701,"66":0,"67":0.00609,"68":0.26196,"69":0,"70":0.01218,"71":0,"72":0.00609,"73":0,"74":0.01828,"75":0.01218,"76":0.04264,"77":0.9138,"78":1.95553,"79":0.09747,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.02437,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.04264,"38":0.00609,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.21931,"50":0,"51":0,"52":0,"53":0.00609,"54":0,"55":0,"56":0,"57":0,"58":0.00609,"59":0,"60":0,"61":0,"62":0.00609,"63":0.00609,"64":0.01828,"65":0.01828,"66":0.00609,"67":0.04874,"68":0.00609,"69":0.00609,"70":0.34724,"71":0.33506,"72":0.33506,"73":0.0731,"74":0.00609,"75":0.01218,"76":0.06092,"77":0.01218,"78":0.03046,"79":0.04874,"80":0.12793,"81":0.23759,"83":14.42586,"84":7.19465,"85":0.00609,"86":0.01828,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.1523,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.01218,"58":0.00609,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.34115,"69":0.18885,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00691,"4.0-4.1":0.00691,"4.2-4.3":0.00691,"5.0-5.1":0.02072,"6.0-6.1":0.00691,"7.0-7.1":0.02762,"8.1-8.4":0.04143,"9.0-9.2":0.05524,"9.3":0.45576,"10.0-10.2":0.11739,"10.3":0.55244,"11.0-11.2":0.40742,"11.3-11.4":0.64221,"12.0-12.1":0.87009,"12.2-12.4":5.2965,"13.0-13.1":0.98748,"13.2":0.48338,"13.3":4.82692,"13.4-13.5":11.67024,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00609,"9":0,"10":0.01218,"11":0.00609,"12":0.03046,"13":0.32288,"14":0.01218,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.01218,"10.1":0.09747,"11.1":0.26196,"12.1":0.24368,"13.1":3.1983},B:{"12":0,"13":0.00609,"14":0,"15":0.00609,"16":0.00609,"17":0.03046,"18":0.51782,"79":0,"80":0,"81":0.02437,"83":1.27323,"84":0.71276},I:{"3":0,"4":0.00825,_:"81","2.1":0,"2.2":0,"2.3":0.00082,"4.1":0.01402,"4.2-4.3":0.0231,"4.4":0,"4.4.3-4.4.4":0.14599},P:{"4":0.03128,"5.0-5.4":0,"6.2-6.4":0.02085,"7.2-7.4":0.01043,"8.2":0.01043,"9.2":0.07299,"10.1":0.05214,"11.1-11.2":0.65692,"12.0":3.67042},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.03046,"10":0,"11":0.66403,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":28.85343},S:{"2.5":0},R:{_:"0"},M:{"0":0.37126},Q:{"10.4":0},O:{"0":0.00782},H:{"0":0.1036}}; diff --git a/node_modules/caniuse-lite/data/regions/IT.js b/node_modules/caniuse-lite/data/regions/IT.js new file mode 100644 index 000000000..1c3edd3fb --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/IT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.01041,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01041,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00521,"46":0,"47":0.00521,"48":0.04685,"49":0,"50":0,"51":0,"52":0.06767,"53":0,"54":0.00521,"55":0.00521,"56":0.02603,"57":0.00521,"58":0,"59":0.01562,"60":0.01562,"61":0.00521,"62":0,"63":0.01041,"64":0.02082,"65":0.01562,"66":0.02082,"67":0.00521,"68":0.17697,"69":0.00521,"70":0.01041,"71":0.00521,"72":0.01562,"73":0.00521,"74":0.00521,"75":0.01562,"76":0.03123,"77":0.53091,"78":1.94667,"79":0.09369,"80":0.00521,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00521,"35":0,"36":0,"37":0,"38":0.01041,"39":0,"40":0,"41":0.00521,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00521,"48":0.01041,"49":0.34353,"50":0.02603,"51":0,"52":0,"53":0.01562,"54":0,"55":0.00521,"56":0.00521,"57":0.00521,"58":0.00521,"59":0.00521,"60":0.00521,"61":0.01041,"62":0.00521,"63":0.01562,"64":0.00521,"65":0.02603,"66":0.07808,"67":0.03123,"68":0.01041,"69":0.06767,"70":0.07808,"71":0.1041,"72":0.07808,"73":0.04685,"74":0.03644,"75":0.03123,"76":0.02082,"77":0.04685,"78":0.04685,"79":0.06246,"80":0.10931,"81":0.16656,"83":9.83225,"84":5.8244,"85":0.01041,"86":0.00521,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00521,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00521,"58":0.01041,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.23943,"69":0.14054,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00428,"4.0-4.1":0.00428,"4.2-4.3":0.00428,"5.0-5.1":0.01284,"6.0-6.1":0.00428,"7.0-7.1":0.01712,"8.1-8.4":0.02568,"9.0-9.2":0.03424,"9.3":0.28252,"10.0-10.2":0.07277,"10.3":0.34244,"11.0-11.2":0.25255,"11.3-11.4":0.39809,"12.0-12.1":0.53935,"12.2-12.4":3.28318,"13.0-13.1":0.61212,"13.2":0.29964,"13.3":2.9921,"13.4-13.5":7.23412,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00521,"9":0.00521,"10":0.00521,"11":0.01562,"12":0.06246,"13":0.31751,"14":0.01041,_:"0","3.1":0,"3.2":0,"5.1":0.03123,"6.1":0,"7.1":0,"9.1":0.01041,"10.1":0.03123,"11.1":0.14574,"12.1":0.19779,"13.1":2.14967},B:{"12":0.00521,"13":0.00521,"14":0.00521,"15":0.00521,"16":0.01041,"17":0.03123,"18":0.33312,"79":0,"80":0,"81":0.02603,"83":0.56214,"84":0.44763},I:{"3":0,"4":0.00991,_:"81","2.1":0,"2.2":0,"2.3":0.00099,"4.1":0.01684,"4.2-4.3":0.02774,"4.4":0,"4.4.3-4.4.4":0.17534},P:{"4":0.14498,"5.0-5.4":0.02071,"6.2-6.4":0.02071,"7.2-7.4":0.05178,"8.2":0.02071,"9.2":0.16569,"10.1":0.1864,"11.1-11.2":0.71454,"12.0":2.63035},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02806,"9":0.01122,"10":0.01122,"11":0.66779,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":49.63496},S:{"2.5":0},R:{_:"0"},M:{"0":0.27332},Q:{"10.4":0.04316},O:{"0":0.1966},H:{"0":0.1725}}; diff --git a/node_modules/caniuse-lite/data/regions/JE.js b/node_modules/caniuse-lite/data/regions/JE.js new file mode 100644 index 000000000..58c7bb6e7 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/JE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00509,"27":0.01527,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01018,"49":0,"50":0,"51":0,"52":0.00509,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0.00509,"63":0,"64":0,"65":0.01018,"66":0.00509,"67":0,"68":0.11709,"69":0,"70":0,"71":0,"72":0.00509,"73":0,"74":0.00509,"75":0.00509,"76":0.02546,"77":0.34619,"78":0.81965,"79":0.056,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00509,"48":0,"49":0.11709,"50":0.00509,"51":0,"52":0,"53":0.00509,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0.00509,"62":0,"63":0.00509,"64":0,"65":0.01018,"66":0.01018,"67":0.00509,"68":0,"69":0.00509,"70":0,"71":0.00509,"72":0.01018,"73":0,"74":0,"75":0.01018,"76":0.01018,"77":0.02036,"78":0.00509,"79":0.03055,"80":0.056,"81":0.13237,"83":5.74265,"84":3.16151,"85":0.00509,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.14255,"69":0.07127,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.01211,"4.0-4.1":0.01211,"4.2-4.3":0.01211,"5.0-5.1":0.03634,"6.0-6.1":0.01211,"7.0-7.1":0.04845,"8.1-8.4":0.07268,"9.0-9.2":0.0969,"9.3":0.79944,"10.0-10.2":0.20592,"10.3":0.96902,"11.0-11.2":0.71465,"11.3-11.4":1.12648,"12.0-12.1":1.52621,"12.2-12.4":9.29047,"13.0-13.1":1.73212,"13.2":0.84789,"13.3":8.4668,"13.4-13.5":20.47053,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00509,"11":0.01018,"12":0.07127,"13":0.47855,"14":0.00509,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.03564,"10.1":0.06618,"11.1":0.11709,"12.1":0.23928,"13.1":6.28739},B:{"12":0,"13":0.00509,"14":0.00509,"15":0.00509,"16":0.02546,"17":0.06618,"18":0.46328,"79":0,"80":0,"81":0.01018,"83":1.89385,"84":1.0742},I:{"3":0,"4":0.0207,_:"81","2.1":0,"2.2":0,"2.3":0.00207,"4.1":0.03519,"4.2-4.3":0.05797,"4.4":0,"4.4.3-4.4.4":0.36644},P:{"4":0.2664,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.0555,"10.1":0.34411,"11.1-11.2":0.47731,"12.0":3.31896},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01527,"9":0,"10":0,"11":1.18111,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":21.48876},S:{"2.5":0},R:{_:"0"},M:{"0":0.15709},Q:{"10.4":0},O:{"0":0},H:{"0":0.06507}}; diff --git a/node_modules/caniuse-lite/data/regions/JM.js b/node_modules/caniuse-lite/data/regions/JM.js new file mode 100644 index 000000000..911a668b1 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/JM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00472,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00472,"48":0.00472,"49":0,"50":0,"51":0,"52":0.01416,"53":0,"54":0,"55":0,"56":0.00472,"57":0.00944,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.01416,"66":0,"67":0,"68":0.0708,"69":0,"70":0,"71":0,"72":0.01416,"73":0.01416,"74":0,"75":0.00472,"76":0.00472,"77":0.19352,"78":0.62304,"79":0.05192,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00472,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.02832,"36":0,"37":0,"38":0.00944,"39":0,"40":0,"41":0,"42":0,"43":0.00472,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.05192,"50":0,"51":0,"52":0,"53":0.0236,"54":0,"55":0.00472,"56":0.00472,"57":0,"58":0.00472,"59":0,"60":0.00472,"61":0.00472,"62":0,"63":0.01888,"64":0,"65":0.01888,"66":0.00944,"67":0.0236,"68":0.00472,"69":0.01416,"70":0.00944,"71":0.01888,"72":0.00472,"73":0.00944,"74":0.03776,"75":0.0472,"76":0.03776,"77":0.03304,"78":0.02832,"79":0.08496,"80":0.15576,"81":0.15104,"83":8.64232,"84":4.99848,"85":0.03304,"86":0.00944,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0.00472,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00472,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01416,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00944,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00472,"68":0.2596,"69":0.15104,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.004,"4.0-4.1":0.004,"4.2-4.3":0.004,"5.0-5.1":0.012,"6.0-6.1":0.004,"7.0-7.1":0.01599,"8.1-8.4":0.02399,"9.0-9.2":0.03199,"9.3":0.26391,"10.0-10.2":0.06798,"10.3":0.31989,"11.0-11.2":0.23592,"11.3-11.4":0.37187,"12.0-12.1":0.50382,"12.2-12.4":3.06693,"13.0-13.1":0.5718,"13.2":0.2799,"13.3":2.79502,"13.4-13.5":6.75764,_:"14.0"},E:{"4":0.00472,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00472,"12":0.01416,"13":0.13688,"14":0.00472,_:"0","3.1":0,"3.2":0,"5.1":0.08968,"6.1":0,"7.1":0,"9.1":0.00472,"10.1":0.00944,"11.1":0.0472,"12.1":0.1416,"13.1":1.13752},B:{"12":0.00944,"13":0.00944,"14":0.01888,"15":0.02832,"16":0.0236,"17":0.0472,"18":0.42952,"79":0,"80":0,"81":0.01416,"83":0.65608,"84":0.48144},I:{"3":0,"4":0.05176,_:"81","2.1":0,"2.2":0,"2.3":0.00518,"4.1":0.08799,"4.2-4.3":0.14492,"4.4":0,"4.4.3-4.4.4":0.91609},P:{"4":0.17847,"5.0-5.4":0.0105,"6.2-6.4":0.021,"7.2-7.4":0.13648,"8.2":0.021,"9.2":0.27296,"10.1":0.11548,"11.1-11.2":0.74538,"12.0":2.99202},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.04112,"9":0.00514,"10":0.00514,"11":0.17988,"5.5":0},J:{"7":0,"10":0.00528},N:{"10":0,"11":0},L:{"0":55.38736},S:{"2.5":0.00528},R:{_:"0"},M:{"0":0.16368},Q:{"10.4":0.01056},O:{"0":0.4488},H:{"0":0.23494}}; diff --git a/node_modules/caniuse-lite/data/regions/JO.js b/node_modules/caniuse-lite/data/regions/JO.js new file mode 100644 index 000000000..658d7dc0a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/JO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00449,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00449,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00899,"49":0,"50":0,"51":0,"52":0.01348,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.04044,"64":0,"65":0,"66":0.00449,"67":0,"68":0.04044,"69":0.00449,"70":0,"71":0,"72":0.01797,"73":0,"74":0,"75":0.00449,"76":0.02247,"77":0.25161,"78":0.83121,"79":0.03145,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00899,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.08087,"50":0,"51":0,"52":0,"53":0.00449,"54":0.00449,"55":0,"56":0,"57":0,"58":0.00449,"59":0,"60":0.00449,"61":0.03145,"62":0,"63":0.03594,"64":0,"65":0.01348,"66":0.00899,"67":0.04493,"68":0.00449,"69":0.00899,"70":0.02247,"71":0.02696,"72":0.02247,"73":0.02247,"74":0.03594,"75":0.03594,"76":0.04493,"77":0.02696,"78":0.03594,"79":0.08087,"80":0.10334,"81":0.12131,"83":8.99049,"84":5.63422,"85":0.00449,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0.00449,"55":0,"56":0,"57":0.00449,"58":0.00449,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.3864,"69":0.24262,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.003,"4.0-4.1":0.003,"4.2-4.3":0.003,"5.0-5.1":0.00899,"6.0-6.1":0.003,"7.0-7.1":0.01199,"8.1-8.4":0.01798,"9.0-9.2":0.02397,"9.3":0.19775,"10.0-10.2":0.05094,"10.3":0.2397,"11.0-11.2":0.17678,"11.3-11.4":0.27865,"12.0-12.1":0.37753,"12.2-12.4":2.29812,"13.0-13.1":0.42846,"13.2":0.20974,"13.3":2.09438,"13.4-13.5":5.06366,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00899,"12":0.02247,"13":0.07638,"14":0.00449,_:"0","3.1":0,"3.2":0,"5.1":0.02696,"6.1":0,"7.1":0,"9.1":0.00449,"10.1":0.00899,"11.1":0.04942,"12.1":0.07189,"13.1":0.63801},B:{"12":0,"13":0.00449,"14":0.00449,"15":0.00449,"16":0.00449,"17":0.01797,"18":0.5796,"79":0,"80":0,"81":0.00899,"83":0.35495,"84":0.31451},I:{"3":0,"4":0.00491,_:"81","2.1":0,"2.2":0,"2.3":0.00049,"4.1":0.00835,"4.2-4.3":0.01376,"4.4":0,"4.4.3-4.4.4":0.08698},P:{"4":0.12144,"5.0-5.4":0.01012,"6.2-6.4":0.01012,"7.2-7.4":0.1012,"8.2":0.01012,"9.2":0.17203,"10.1":0.11132,"11.1-11.2":0.52622,"12.0":1.30544},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00899,"9":0,"10":0,"11":0.08087,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":63.85693},S:{"2.5":0},R:{_:"0"},M:{"0":0.08811},Q:{"10.4":0},O:{"0":0.31941},H:{"0":0.18248}}; diff --git a/node_modules/caniuse-lite/data/regions/JP.js b/node_modules/caniuse-lite/data/regions/JP.js new file mode 100644 index 000000000..289ba1083 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/JP.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00596,"27":0.02383,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0.00596,"45":0.00596,"46":0,"47":0,"48":0.02979,"49":0,"50":0,"51":0,"52":0.05362,"53":0.00596,"54":0,"55":0.00596,"56":0.03575,"57":0.00596,"58":0,"59":0,"60":0.01192,"61":0.01192,"62":0,"63":0.02383,"64":0.01787,"65":0.01787,"66":0.01787,"67":0.00596,"68":0.17278,"69":0.00596,"70":0.00596,"71":0.00596,"72":0.01787,"73":0.00596,"74":0.01192,"75":0.01192,"76":0.02979,"77":0.49451,"78":1.561,"79":0.0715,"80":0.00596,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.01192,"36":0,"37":0.00596,"38":0,"39":0,"40":0,"41":0.00596,"42":0,"43":0.00596,"44":0,"45":0,"46":0.01192,"47":0,"48":0.01192,"49":0.36344,"50":0.00596,"51":0.00596,"52":0.00596,"53":0.00596,"54":0.00596,"55":0.01192,"56":0.00596,"57":0.01787,"58":0.00596,"59":0.00596,"60":0.01192,"61":0.04766,"62":0.02383,"63":0.01192,"64":0.01192,"65":0.04171,"66":0.01192,"67":0.05958,"68":0.01787,"69":0.05362,"70":0.08937,"71":0.13703,"72":0.10724,"73":0.0715,"74":0.04766,"75":0.05362,"76":0.04171,"77":0.04171,"78":0.06554,"79":0.13108,"80":0.19661,"81":0.28598,"83":9.94986,"84":5.23708,"85":0.01787,"86":0.01192,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00596,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.01192,"57":0.01192,"58":0.00596,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.12512,"69":0.07745,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.01021,"4.0-4.1":0.01021,"4.2-4.3":0.01021,"5.0-5.1":0.03062,"6.0-6.1":0.01021,"7.0-7.1":0.04083,"8.1-8.4":0.06125,"9.0-9.2":0.08167,"9.3":0.67374,"10.0-10.2":0.17354,"10.3":0.81666,"11.0-11.2":0.60228,"11.3-11.4":0.94936,"12.0-12.1":1.28623,"12.2-12.4":7.8297,"13.0-13.1":1.45977,"13.2":0.71457,"13.3":7.13554,"13.4-13.5":17.25187,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00596,"10":0.00596,"11":0.02383,"12":0.05362,"13":0.29194,"14":0.00596,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.02383,"10.1":0.03575,"11.1":0.11916,"12.1":0.22045,"13.1":2.48449},B:{"12":0,"13":0.00596,"14":0.01192,"15":0.00596,"16":0.01787,"17":0.05958,"18":1.29884,"79":0,"80":0,"81":0.10129,"83":1.1916,"84":1.50737},I:{"3":0,"4":0.02851,_:"81","2.1":0,"2.2":0,"2.3":0.00285,"4.1":0.04846,"4.2-4.3":0.07982,"4.4":0,"4.4.3-4.4.4":0.5046},P:{"4":0.01058,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.06351,"10.1":0.04234,"11.1-11.2":0.19052,"12.0":0.94203},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.00666,"7":0,"8":0.03999,"9":0.02666,"10":0.01333,"11":3.45241,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":23.96502},S:{"2.5":0},R:{_:"0"},M:{"0":0.21827},Q:{"10.4":0.11722},O:{"0":0.34357},H:{"0":0.12628}}; diff --git a/node_modules/caniuse-lite/data/regions/KE.js b/node_modules/caniuse-lite/data/regions/KE.js new file mode 100644 index 000000000..f0eae6249 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00377,"31":0,"32":0.00377,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00377,"41":0,"42":0,"43":0.00377,"44":0.00377,"45":0.01507,"46":0,"47":0.00754,"48":0.00377,"49":0.00377,"50":0,"51":0,"52":0.03391,"53":0,"54":0,"55":0,"56":0.00377,"57":0.00377,"58":0,"59":0,"60":0.00754,"61":0,"62":0.00754,"63":0,"64":0,"65":0.00377,"66":0.00754,"67":0.00377,"68":0.10174,"69":0.00377,"70":0.00377,"71":0.00754,"72":0.0113,"73":0.00377,"74":0.00754,"75":0.00754,"76":0.01507,"77":0.27883,"78":1.13417,"79":0.13942,"80":0.00377,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00377,"39":0,"40":0.00377,"41":0,"42":0.00377,"43":0.00377,"44":0,"45":0,"46":0,"47":0.00377,"48":0,"49":0.04145,"50":0.00377,"51":0,"52":0,"53":0.00377,"54":0,"55":0.00377,"56":0.00377,"57":0.00377,"58":0.00377,"59":0.00754,"60":0.00377,"61":0,"62":0.00377,"63":0.01507,"64":0.00754,"65":0.0113,"66":0.00377,"67":0.01884,"68":0.00754,"69":0.0113,"70":0.0113,"71":0.01507,"72":0.01507,"73":0.0113,"74":0.03014,"75":0.01507,"76":0.01884,"77":0.01507,"78":0.02261,"79":0.03768,"80":0.10174,"81":0.12058,"83":5.00767,"84":3.25555,"85":0.01507,"86":0.00377,"87":0},F:{"9":0,"11":0,"12":0,"15":0.00754,"16":0.00754,"17":0,"18":0,"19":0.00377,"20":0.01884,"21":0.00754,"22":0.00377,"23":0.02638,"24":0.05275,"25":0.00377,"26":0.04898,"27":0.06782,"28":0.05275,"29":0.0113,"30":0.04145,"31":0.03391,"32":0.04898,"33":0.04898,"34":0,"35":0.00754,"36":0.00377,"37":0.01507,"38":0.05275,"39":0.00377,"40":0,"41":0.00377,"42":0.02638,"43":0.00377,"44":0.00377,"45":0.04145,"46":0.24492,"47":0.22231,"48":0.00754,"49":0,"50":1.3301,"51":0.01507,"52":0,"53":0.01507,"54":0.00754,"55":0,"56":0.00754,"57":0.00377,"58":0.0113,"60":0.00754,"62":0,"63":0,"64":0,"65":0.00377,"66":0,"67":0.00377,"68":0.29767,"69":0.1997,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.08666},G:{"8":0,"3.2":0.00077,"4.0-4.1":0.00077,"4.2-4.3":0.00077,"5.0-5.1":0.0023,"6.0-6.1":0.00077,"7.0-7.1":0.00307,"8.1-8.4":0.0046,"9.0-9.2":0.00613,"9.3":0.0506,"10.0-10.2":0.01303,"10.3":0.06133,"11.0-11.2":0.04523,"11.3-11.4":0.0713,"12.0-12.1":0.0966,"12.2-12.4":0.58803,"13.0-13.1":0.10963,"13.2":0.05367,"13.3":0.53589,"13.4-13.5":1.29565,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00377,"11":0.00377,"12":0.00754,"13":0.04522,"14":0.00377,_:"0","3.1":0,"3.2":0,"5.1":0.04145,"6.1":0,"7.1":0,"9.1":0.00377,"10.1":0.01507,"11.1":0.02261,"12.1":0.03768,"13.1":0.34289},B:{"12":0.00754,"13":0.00754,"14":0.01507,"15":0.0113,"16":0.0113,"17":0.01507,"18":0.20724,"79":0,"80":0,"81":0.00754,"83":0.22231,"84":0.1884},I:{"3":0,"4":0.0146,_:"81","2.1":0,"2.2":0,"2.3":0.00146,"4.1":0.02482,"4.2-4.3":0.04088,"4.4":0,"4.4.3-4.4.4":0.25839},P:{"4":0.23821,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.05178,"8.2":0.01036,"9.2":0.11392,"10.1":0.0725,"11.1-11.2":0.28999,"12.0":0.66283},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01005,"9":0.00502,"10":0.00502,"11":0.10048,"5.5":0},J:{"7":0,"10":0.03116},N:{"10":0,"11":0.01246},L:{"0":52.93124},S:{"2.5":0.00623},R:{_:"0"},M:{"0":0.22435},Q:{"10.4":0.00623},O:{"0":0.61074},H:{"0":19.06308}}; diff --git a/node_modules/caniuse-lite/data/regions/KG.js b/node_modules/caniuse-lite/data/regions/KG.js new file mode 100644 index 000000000..56447239c --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.0071,"53":0,"54":0,"55":0,"56":0,"57":0.0071,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.04261,"64":0.0071,"65":0,"66":0,"67":0.0071,"68":0.02131,"69":0,"70":0,"71":0,"72":0.0071,"73":0,"74":0.03551,"75":0,"76":0.0071,"77":0.20596,"78":0.81673,"79":0.07812,"80":0.0071,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.0071,"41":0,"42":0,"43":0.0142,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.15624,"50":0,"51":0.0071,"52":0,"53":0.02131,"54":0,"55":0,"56":0.0071,"57":0,"58":0,"59":0.0142,"60":0,"61":0,"62":0,"63":0.0071,"64":0,"65":0.02131,"66":0.0071,"67":0,"68":0.0142,"69":0.0071,"70":0.02841,"71":0.07812,"72":0.04971,"73":0.05682,"74":0.02841,"75":0.03551,"76":0.07102,"77":0.02841,"78":0.04971,"79":0.11363,"80":0.24857,"81":0.3409,"83":23.40109,"84":9.06215,"85":0.02131,"86":0.02841,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.0071,"37":0.0071,"38":0,"39":0,"40":0,"41":0,"42":0.0071,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.0071,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0.0071,"63":0.0071,"64":0,"65":0.0071,"66":0,"67":0,"68":1.96725,"69":0.93746,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0071},G:{"8":0,"3.2":0.00168,"4.0-4.1":0.00168,"4.2-4.3":0.00168,"5.0-5.1":0.00503,"6.0-6.1":0.00168,"7.0-7.1":0.00671,"8.1-8.4":0.01006,"9.0-9.2":0.01342,"9.3":0.11071,"10.0-10.2":0.02852,"10.3":0.13419,"11.0-11.2":0.09897,"11.3-11.4":0.156,"12.0-12.1":0.21135,"12.2-12.4":1.28658,"13.0-13.1":0.23987,"13.2":0.11742,"13.3":1.17252,"13.4-13.5":2.83484,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.30539,"14":0.0071,_:"0","3.1":0,"3.2":0,"5.1":7.51392,"6.1":0,"7.1":0,"9.1":0,"10.1":0.02841,"11.1":0.02841,"12.1":0.02841,"13.1":0.85934},B:{"12":0,"13":0,"14":0,"15":0,"16":0.0071,"17":0,"18":0.26277,"79":0,"80":0,"81":0,"83":0.09233,"84":0.09233},I:{"3":0,"4":0.00258,_:"81","2.1":0,"2.2":0,"2.3":0.00026,"4.1":0.00438,"4.2-4.3":0.00721,"4.4":0,"4.4.3-4.4.4":0.04558},P:{"4":0.43408,"5.0-5.4":0.03028,"6.2-6.4":0.07066,"7.2-7.4":0.12114,"8.2":0.02019,"9.2":0.15142,"10.1":0.13123,"11.1-11.2":0.37351,"12.0":0.7975},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.17755,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":37.51201},S:{"2.5":0},R:{_:"0"},M:{"0":0.03188},Q:{"10.4":0.01159},O:{"0":0.7274},H:{"0":0.2387}}; diff --git a/node_modules/caniuse-lite/data/regions/KH.js b/node_modules/caniuse-lite/data/regions/KH.js new file mode 100644 index 000000000..329fcee97 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KH.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0.00719,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0.00719,"16":0,"17":0.00719,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.02158,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00719,"42":0,"43":0.00719,"44":0.00719,"45":0,"46":0,"47":0.01439,"48":0.02158,"49":0.00719,"50":0.00719,"51":0.00719,"52":0.01439,"53":0,"54":0.00719,"55":0.02878,"56":0.02158,"57":0.01439,"58":0.00719,"59":0.02158,"60":0.02158,"61":0.02158,"62":0.05036,"63":0.10791,"64":0.02158,"65":0.09352,"66":0.02878,"67":0.00719,"68":0.1151,"69":0.09352,"70":0.04316,"71":0.01439,"72":0.04316,"73":0.00719,"74":0.01439,"75":0.02158,"76":0.10072,"77":0.84889,"78":3.17255,"79":0.30215,"80":0.00719,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00719,"24":0.00719,"25":0,"26":0,"27":0,"28":0,"29":0.00719,"30":0,"31":0,"32":0,"33":0.00719,"34":0.00719,"35":0,"36":0.00719,"37":0,"38":0.01439,"39":0,"40":0.03597,"41":0.00719,"42":0,"43":0.01439,"44":0,"45":0,"46":0,"47":0.00719,"48":0.00719,"49":0.17266,"50":0,"51":0,"52":0,"53":0.03597,"54":0,"55":0.01439,"56":0.02158,"57":0.00719,"58":0.03597,"59":0.00719,"60":0.01439,"61":0.05755,"62":0.02878,"63":0.03597,"64":0.00719,"65":0.00719,"66":0.01439,"67":0.04316,"68":0.02158,"69":0.10072,"70":0.42445,"71":0.55394,"72":0.46761,"73":0.39567,"74":0.18704,"75":0.06475,"76":0.05036,"77":0.07194,"78":0.1223,"79":0.25179,"80":0.43164,"81":0.25179,"83":20.94893,"84":14.10024,"85":0.05755,"86":0.05036,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.01439,"37":0.02158,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0.00719,"55":0,"56":0.02158,"57":0.03597,"58":0.02878,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.5971,"69":0.35251,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00481,"4.0-4.1":0.00481,"4.2-4.3":0.00481,"5.0-5.1":0.01443,"6.0-6.1":0.00481,"7.0-7.1":0.01924,"8.1-8.4":0.02886,"9.0-9.2":0.03848,"9.3":0.31742,"10.0-10.2":0.08176,"10.3":0.38475,"11.0-11.2":0.28375,"11.3-11.4":0.44727,"12.0-12.1":0.60598,"12.2-12.4":3.68879,"13.0-13.1":0.68774,"13.2":0.33666,"13.3":3.36176,"13.4-13.5":8.12785,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00719,"9":0.01439,"10":0.00719,"11":0.00719,"12":0.07913,"13":0.46042,"14":0.01439,_:"0","3.1":0,"3.2":0,"5.1":0.01439,"6.1":0,"7.1":0,"9.1":0.00719,"10.1":0.01439,"11.1":0.05755,"12.1":0.2446,"13.1":1.76972},B:{"12":0.00719,"13":0.00719,"14":0.00719,"15":0.01439,"16":0.03597,"17":0.03597,"18":0.32373,"79":0,"80":0,"81":0.03597,"83":0.56113,"84":0.51797},I:{"3":0,"4":0.00878,_:"81","2.1":0,"2.2":0,"2.3":0.00088,"4.1":0.01492,"4.2-4.3":0.02458,"4.4":0,"4.4.3-4.4.4":0.15538},P:{"4":0.13052,"5.0-5.4":0.02008,"6.2-6.4":0.02008,"7.2-7.4":0.03012,"8.2":0.03012,"9.2":0.06024,"10.1":0.08032,"11.1-11.2":0.22088,"12.0":0.69278},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.08273,"9":0.01182,"10":0.02364,"11":0.3782,"5.5":0},J:{"7":0,"10":0.00281},N:{"10":0,"11":0.01403},L:{"0":25.34489},S:{"2.5":0},R:{_:"0"},M:{"0":0.15152},Q:{"10.4":0.06734},O:{"0":0.51911},H:{"0":0.63757}}; diff --git a/node_modules/caniuse-lite/data/regions/KI.js b/node_modules/caniuse-lite/data/regions/KI.js new file mode 100644 index 000000000..8638d018f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KI.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00829,"44":0,"45":0.029,"46":0,"47":0.00414,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0.04143,"55":0,"56":0.05386,"57":0,"58":0,"59":0.00829,"60":0,"61":0.00414,"62":0.00414,"63":0,"64":0,"65":0,"66":0.00829,"67":0.00829,"68":0.04972,"69":0,"70":0.02486,"71":0,"72":0.00829,"73":0.00829,"74":0.00414,"75":0.01657,"76":0.00414,"77":0.13258,"78":0.89075,"79":0.60488,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00414,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.00414,"56":0,"57":0.01243,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.029,"64":0.00414,"65":0,"66":0.01657,"67":0,"68":0,"69":0.03314,"70":0,"71":0,"72":0.02486,"73":0.00829,"74":0.04557,"75":0.01657,"76":0.00414,"77":0.00414,"78":0,"79":0.04143,"80":0.09529,"81":0.35216,"83":4.94674,"84":3.65827,"85":0.00414,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00414,"68":0.27758,"69":0.17815,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01657},G:{"8":0,"3.2":0.00292,"4.0-4.1":0.00292,"4.2-4.3":0.00292,"5.0-5.1":0.00876,"6.0-6.1":0.00292,"7.0-7.1":0.01167,"8.1-8.4":0.01751,"9.0-9.2":0.02335,"9.3":0.19262,"10.0-10.2":0.04961,"10.3":0.23348,"11.0-11.2":0.17219,"11.3-11.4":0.27142,"12.0-12.1":0.36773,"12.2-12.4":2.23848,"13.0-13.1":0.41734,"13.2":0.20429,"13.3":2.04002,"13.4-13.5":4.93224,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00414,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0.00414,"12.1":0,"13.1":2.12122},B:{"12":0.029,"13":0.029,"14":0.12015,"15":0.03729,"16":0.58831,"17":0.12429,"18":0.28587,"79":0,"80":0,"81":0.00414,"83":0.22787,"84":0.17401},I:{"3":0,"4":0.03754,_:"81","2.1":0,"2.2":0,"2.3":0.00375,"4.1":0.06381,"4.2-4.3":0.1051,"4.4":0,"4.4.3-4.4.4":0.66438},P:{"4":1.16454,"5.0-5.4":0.18387,"6.2-6.4":0.17366,"7.2-7.4":0.77636,"8.2":0,"9.2":0.2043,"10.1":0.07151,"11.1-11.2":0.18387,"12.0":0.27581},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03729,"9":0,"10":0,"11":0.13258,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":65.44387},S:{"2.5":0},R:{_:"0"},M:{"0":0.04686},Q:{"10.4":0.02343},O:{"0":1.10112},H:{"0":0.30498}}; diff --git a/node_modules/caniuse-lite/data/regions/KM.js b/node_modules/caniuse-lite/data/regions/KM.js new file mode 100644 index 000000000..cab88307d --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00498,"4":0,"5":0,"6":0.00996,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00498,"27":0.01495,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01495,"49":0,"50":0,"51":0,"52":0.01495,"53":0,"54":0,"55":0,"56":0.00498,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.02491,"64":0,"65":0.00498,"66":0,"67":0,"68":0.05978,"69":0.00498,"70":0,"71":0,"72":0,"73":0.00498,"74":0.02989,"75":0.01495,"76":0.07971,"77":0.48824,"78":2.16219,"79":0.03487,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0.00498,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.02989,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00498,"39":0.00498,"40":0.00498,"41":0,"42":0,"43":0.01495,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.01993,"50":0.00498,"51":0.02491,"52":0,"53":0,"54":0,"55":0.03487,"56":0.01495,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0.00498,"63":0.02491,"64":0.00498,"65":0.02989,"66":0,"67":0,"68":0,"69":0.02491,"70":0.05978,"71":0.01495,"72":0.00498,"73":0.00498,"74":0.02989,"75":2.34154,"76":0.01495,"77":0.02491,"78":0.01495,"79":0.19928,"80":0.07473,"81":0.25906,"83":6.17768,"84":3.52726,"85":0.00498,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0.00498,"16":0,"17":0,"18":0.00498,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00498,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.05978,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00498,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0.00498,"67":0.03986,"68":0.78716,"69":0.40354,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00079,"4.0-4.1":0.00079,"4.2-4.3":0.00079,"5.0-5.1":0.00237,"6.0-6.1":0.00079,"7.0-7.1":0.00316,"8.1-8.4":0.00473,"9.0-9.2":0.00631,"9.3":0.05207,"10.0-10.2":0.01341,"10.3":0.06311,"11.0-11.2":0.04654,"11.3-11.4":0.07337,"12.0-12.1":0.0994,"12.2-12.4":0.60508,"13.0-13.1":0.11281,"13.2":0.05522,"13.3":0.55143,"13.4-13.5":1.33322,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00498,"11":0,"12":0,"13":0,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00498,"11.1":0.03487,"12.1":0.00498,"13.1":0.38361},B:{"12":0.03487,"13":0.0548,"14":0.01993,"15":0.01993,"16":0,"17":0,"18":0.30888,"79":0,"80":0,"81":0.0548,"83":0.75228,"84":0.33379},I:{"3":0,"4":0.04803,_:"81","2.1":0,"2.2":0,"2.3":0.0048,"4.1":0.08165,"4.2-4.3":0.13448,"4.4":0,"4.4.3-4.4.4":0.85008},P:{"4":0.24551,"5.0-5.4":0.04092,"6.2-6.4":0.02046,"7.2-7.4":1.0332,"8.2":0.04092,"9.2":0.3785,"10.1":0.51148,"11.1-11.2":0.43988,"12.0":0.20459},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.16441,"9":0,"10":0,"11":0.09964,"5.5":0},J:{"7":0,"10":0.01505},N:{"10":0,"11":0.02007},L:{"0":67.26533},S:{"2.5":0},R:{_:"0"},M:{"0":0.09534},Q:{"10.4":0.00502},O:{"0":0.22079},H:{"0":0.88838}}; diff --git a/node_modules/caniuse-lite/data/regions/KN.js b/node_modules/caniuse-lite/data/regions/KN.js new file mode 100644 index 000000000..242fb16e4 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00557,"47":0.01113,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00557,"64":0.0167,"65":0,"66":0,"67":0,"68":0.25604,"69":0.00557,"70":0,"71":0,"72":0.00557,"73":0.00557,"74":0.01113,"75":0.00557,"76":0.01113,"77":0.42302,"78":0.72358,"79":0.01113,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00557,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.0167,"50":0,"51":0,"52":0.00557,"53":0.00557,"54":0,"55":0,"56":0,"57":0.00557,"58":0,"59":0,"60":0,"61":0,"62":0.00557,"63":0.00557,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0.00557,"70":0.0167,"71":0,"72":0,"73":0,"74":0.0167,"75":0.02783,"76":0.0334,"77":0.02226,"78":0.07236,"79":0.02226,"80":0.09462,"81":0.16141,"83":12.36765,"84":6.72373,"85":0.0167,"86":0.00557,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.02226,"68":0.08906,"69":0.07792,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01113},G:{"8":0,"3.2":0.00342,"4.0-4.1":0.00342,"4.2-4.3":0.00342,"5.0-5.1":0.01025,"6.0-6.1":0.00342,"7.0-7.1":0.01367,"8.1-8.4":0.0205,"9.0-9.2":0.02734,"9.3":0.22551,"10.0-10.2":0.05809,"10.3":0.27335,"11.0-11.2":0.2016,"11.3-11.4":0.31777,"12.0-12.1":0.43053,"12.2-12.4":2.62076,"13.0-13.1":0.48862,"13.2":0.23918,"13.3":2.38841,"13.4-13.5":5.77455,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.02783,"12":0.10019,"13":1.44159,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00557,"11.1":0.01113,"12.1":0.14472,"13.1":1.48612},B:{"12":0.25604,"13":0.00557,"14":0.00557,"15":0.0167,"16":0.00557,"17":0.03896,"18":0.84047,"79":0,"80":0,"81":0.07792,"83":0.94065,"84":1.06311},I:{"3":0,"4":0.07568,_:"81","2.1":0,"2.2":0,"2.3":0.00757,"4.1":0.12865,"4.2-4.3":0.2119,"4.4":0,"4.4.3-4.4.4":1.33949},P:{"4":0.0427,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.03202,"8.2":0.01067,"9.2":0.0427,"10.1":0.0427,"11.1-11.2":0.30957,"12.0":5.23063},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.77924,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":46.23392},S:{"2.5":0},R:{_:"0"},M:{"0":0.49661},Q:{"10.4":0},O:{"0":0.04877},H:{"0":0.10495}}; diff --git a/node_modules/caniuse-lite/data/regions/KP.js b/node_modules/caniuse-lite/data/regions/KP.js new file mode 100644 index 000000000..c2c644c53 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KP.js @@ -0,0 +1 @@ +module.exports={C:{"51":0.15095,"52":13.23311,"68":0.15095,"71":0.15095,"73":0.45284,"74":0.75474,"75":0.45284,"76":0.15095,"77":0.60379,"78":4.95972,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 72 79 80 81 3.5 3.6"},D:{"48":0.45284,"56":0.15095,"76":0.60379,"79":1.50229,"80":1.95514,"81":6.4692,"83":21.65744,"84":4.80877,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 77 78 85 86 87"},F:{"68":1.2004,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 69 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},G:{"8":0,"3.2":0.00113,"4.0-4.1":0.00113,"4.2-4.3":0.00113,"5.0-5.1":0.0034,"6.0-6.1":0.00113,"7.0-7.1":0.00453,"8.1-8.4":0.00679,"9.0-9.2":0.00906,"9.3":0.07474,"10.0-10.2":0.01925,"10.3":0.09059,"11.0-11.2":0.06681,"11.3-11.4":0.10531,"12.0-12.1":0.14268,"12.2-12.4":0.86852,"13.0-13.1":0.16193,"13.2":0.07926,"13.3":0.79152,"13.4-13.5":1.91368,_:"14.0"},E:{"4":0,_:"0 5 6 7 8 9 10 11 12 13 14 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1","13.1":0.45284},B:{"18":0.3019,"83":0.90569,"84":0.45284,_:"12 13 14 15 16 17 79 80 81"},I:{"3":0,"4":0.01593,_:"81","2.1":0,"2.2":0,"2.3":0.00159,"4.1":0.02708,"4.2-4.3":0.04461,"4.4":0,"4.4.3-4.4.4":0.28197},P:{"4":1.16454,"5.0-5.4":0.18387,"6.2-6.4":0.17366,"7.2-7.4":0.77636,"8.2":0,"9.2":0.2043,"10.1":0.07151,"11.1-11.2":1.11636,"12.0":0.27581},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":26.57106},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0.18559},H:{"0":0.88119}}; diff --git a/node_modules/caniuse-lite/data/regions/KR.js b/node_modules/caniuse-lite/data/regions/KR.js new file mode 100644 index 000000000..17455cd40 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KR.js @@ -0,0 +1 @@ +module.exports={C:{"52":0.01682,"56":0.01121,"63":0.01682,"64":0.01682,"65":0.02242,"66":0.01121,"68":0.00561,"76":0.00561,"77":0.14013,"78":0.51006,"79":0.03363,"80":0.01121,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 57 58 59 60 61 62 67 69 70 71 72 73 74 75 81 3.5 3.6"},D:{"31":0.38675,"42":0.03363,"43":0.00561,"49":0.10089,"53":0.00561,"55":0.00561,"56":0.01121,"59":0.00561,"62":0.00561,"63":0.01121,"64":0.01121,"65":0.01682,"66":0.01121,"67":0.02803,"68":0.05605,"69":0.02242,"70":0.14573,"71":0.18497,"72":0.13452,"73":0.09529,"74":0.03363,"75":0.03363,"76":0.03363,"77":0.16815,"78":0.06166,"79":0.09529,"80":0.17936,"81":0.17376,"83":22.57694,"84":14.3432,"85":0.00561,"86":0.01682,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 44 45 46 47 48 50 51 52 54 57 58 60 61 87"},F:{"57":0.00561,"58":0.02242,"68":0.09529,"69":0.06166,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 60 62 63 64 65 66 67 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},G:{"8":0,"3.2":0.00232,"4.0-4.1":0.00232,"4.2-4.3":0.00232,"5.0-5.1":0.00697,"6.0-6.1":0.00232,"7.0-7.1":0.00929,"8.1-8.4":0.01394,"9.0-9.2":0.01859,"9.3":0.15334,"10.0-10.2":0.0395,"10.3":0.18587,"11.0-11.2":0.13708,"11.3-11.4":0.21607,"12.0-12.1":0.29274,"12.2-12.4":1.78202,"13.0-13.1":0.33224,"13.2":0.16264,"13.3":1.62403,"13.4-13.5":3.92647,_:"14.0"},E:{"4":0,"8":0.01121,"11":0.00561,"12":0.03363,"13":0.17936,"14":0.01682,_:"0 5 6 7 9 10 3.1 3.2 5.1 6.1 7.1 9.1","10.1":0.01121,"11.1":0.03924,"12.1":0.1121,"13.1":1.07616},B:{"14":0.01121,"15":0.00561,"16":0.01682,"17":0.07287,"18":0.75668,"81":0.03363,"83":1.70953,"84":1.32839,_:"12 13 79 80"},I:{"3":0,"4":0.00132,_:"81","2.1":0,"2.2":0,"2.3":0.00013,"4.1":0.00224,"4.2-4.3":0.0037,"4.4":0,"4.4.3-4.4.4":0.02337},P:{"4":0.04052,"5.0-5.4":0.04052,"6.2-6.4":0.17366,"7.2-7.4":0.05065,"8.2":0.06078,"9.2":0.18235,"10.1":0.3647,"11.1-11.2":1.65129,"12.0":9.29988},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.0229,"9":0.03435,"10":0.01718,"11":6.84214,_:"6 7 5.5"},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":18.04794},S:{"2.5":0},R:{_:"0"},M:{"0":0.11867},Q:{"10.4":0.03077},O:{"0":0.0923},H:{"0":0.13315}}; diff --git a/node_modules/caniuse-lite/data/regions/KW.js b/node_modules/caniuse-lite/data/regions/KW.js new file mode 100644 index 000000000..a56572223 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KW.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00357,"28":0,"29":0,"30":0,"31":0.00357,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00714,"49":0,"50":0,"51":0,"52":0.03213,"53":0,"54":0,"55":0,"56":0.00357,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.00357,"65":0.00714,"66":0.00357,"67":0.0714,"68":0.05355,"69":0.00357,"70":0.00357,"71":0,"72":0.00357,"73":0.00714,"74":0.00357,"75":0.00357,"76":0.00714,"77":0.16065,"78":0.54621,"79":0.02856,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00357,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00357,"39":0,"40":0,"41":0,"42":0,"43":0.00357,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.06426,"50":0,"51":0,"52":0,"53":0,"54":0.00357,"55":0,"56":0,"57":0,"58":0.00714,"59":0,"60":0,"61":0,"62":0,"63":0.01071,"64":0.00714,"65":0.01071,"66":0.00357,"67":0.01071,"68":0.01071,"69":0.01785,"70":0.01428,"71":0.02142,"72":0.00714,"73":0.01785,"74":0.02142,"75":0.01428,"76":0.02142,"77":0.01785,"78":0.02856,"79":0.02856,"80":0.04998,"81":0.09282,"83":4.6767,"84":3.04164,"85":0.00714,"86":0.00357,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01785,"51":0,"52":0,"53":0.00714,"54":0,"55":0,"56":0,"57":0.00357,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.12138,"69":0.09996,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00807,"4.0-4.1":0.00807,"4.2-4.3":0.00807,"5.0-5.1":0.02421,"6.0-6.1":0.00807,"7.0-7.1":0.03228,"8.1-8.4":0.04842,"9.0-9.2":0.06456,"9.3":0.53261,"10.0-10.2":0.13719,"10.3":0.64559,"11.0-11.2":0.47612,"11.3-11.4":0.7505,"12.0-12.1":1.0168,"12.2-12.4":6.18957,"13.0-13.1":1.15399,"13.2":0.56489,"13.3":5.64082,"13.4-13.5":13.63804,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00357,"9":0.02142,"10":0.00357,"11":0.02142,"12":0.04641,"13":0.20349,"14":0.00714,_:"0","3.1":0,"3.2":0,"5.1":0.01428,"6.1":0,"7.1":0,"9.1":0.01071,"10.1":0.02499,"11.1":0.07497,"12.1":0.12138,"13.1":1.29591},B:{"12":0.00357,"13":0,"14":0.00357,"15":0.00357,"16":0.00714,"17":0.02142,"18":0.25704,"79":0,"80":0,"81":0.00714,"83":0.2856,"84":0.23205},I:{"3":0,"4":0.00628,_:"81","2.1":0,"2.2":0,"2.3":0.00063,"4.1":0.01068,"4.2-4.3":0.0176,"4.4":0,"4.4.3-4.4.4":0.11124},P:{"4":0.27524,"5.0-5.4":0.02039,"6.2-6.4":0.03058,"7.2-7.4":0.12233,"8.2":0.06116,"9.2":0.36698,"10.1":0.28543,"11.1-11.2":0.86648,"12.0":2.56886},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.00403,"10":0,"11":0.18518,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":44.36779},S:{"2.5":0},R:{_:"0"},M:{"0":0.10288},Q:{"10.4":0.01286},O:{"0":2.40482},H:{"0":0.99226}}; diff --git a/node_modules/caniuse-lite/data/regions/KY.js b/node_modules/caniuse-lite/data/regions/KY.js new file mode 100644 index 000000000..7e980be83 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KY.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01067,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01067,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.08533,"65":0.00533,"66":0,"67":0,"68":0.02667,"69":0.00533,"70":0.00533,"71":0,"72":0.01067,"73":0.00533,"74":0.00533,"75":0.00533,"76":0.02133,"77":0.29865,"78":0.95461,"79":0.04266,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.02133,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.032,"50":0,"51":0,"52":0,"53":0.01067,"54":0,"55":0,"56":0,"57":0,"58":0.01067,"59":0,"60":0,"61":0.00533,"62":0,"63":0.01067,"64":0,"65":0.02133,"66":0,"67":0.01067,"68":0.00533,"69":0,"70":0.048,"71":0.10133,"72":0.07466,"73":0.00533,"74":0.00533,"75":0.00533,"76":0.01067,"77":0,"78":0.016,"79":0.016,"80":0.08,"81":0.15466,"83":10.23936,"84":4.91703,"85":0.00533,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.02133,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.07466,"69":0.016,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00863,"4.0-4.1":0.00863,"4.2-4.3":0.00863,"5.0-5.1":0.02589,"6.0-6.1":0.00863,"7.0-7.1":0.03452,"8.1-8.4":0.05177,"9.0-9.2":0.06903,"9.3":0.5695,"10.0-10.2":0.14669,"10.3":0.69031,"11.0-11.2":0.5091,"11.3-11.4":0.80248,"12.0-12.1":1.08723,"12.2-12.4":6.6183,"13.0-13.1":1.23392,"13.2":0.60402,"13.3":6.03154,"13.4-13.5":14.5827,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0.00533,"8":0.00533,"9":0,"10":0,"11":0.00533,"12":0.02133,"13":0.24532,"14":0.00533,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.016,"10.1":0.03733,"11.1":0.05866,"12.1":0.11733,"13.1":4.27173},B:{"12":0,"13":0,"14":0,"15":0.01067,"16":0.04266,"17":0.09599,"18":1.18926,"79":0,"80":0,"81":0.05866,"83":1.67456,"84":0.97594},I:{"3":0,"4":0.02054,_:"81","2.1":0,"2.2":0,"2.3":0.00205,"4.1":0.03492,"4.2-4.3":0.05752,"4.4":0,"4.4.3-4.4.4":0.3636},P:{"4":0.09456,"5.0-5.4":0,"6.2-6.4":0.01051,"7.2-7.4":0.04203,"8.2":0,"9.2":0.10506,"10.1":0.07354,"11.1-11.2":0.42026,"12.0":5.73651},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.6133,"5.5":0},J:{"7":0,"10":0.07467},N:{"10":0,"11":0},L:{"0":26.71411},S:{"2.5":0},R:{_:"0"},M:{"0":0.07934},Q:{"10.4":0},O:{"0":1.01741},H:{"0":0.03093}}; diff --git a/node_modules/caniuse-lite/data/regions/KZ.js b/node_modules/caniuse-lite/data/regions/KZ.js new file mode 100644 index 000000000..d93ed0317 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/KZ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00701,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00701,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.00701,"43":0.02102,"44":0,"45":0,"46":0,"47":0.04205,"48":0,"49":0,"50":0.00701,"51":0.00701,"52":0.11914,"53":0.01402,"54":0,"55":0.01402,"56":0.00701,"57":0.02102,"58":0,"59":0,"60":0.00701,"61":0,"62":0,"63":0,"64":0.02102,"65":0.01402,"66":0.00701,"67":0,"68":0.07709,"69":0.00701,"70":0.01402,"71":0.01402,"72":0.02102,"73":0.00701,"74":0.01402,"75":0.01402,"76":0.04906,"77":0.3504,"78":1.54176,"79":0.06307,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00701,"23":0,"24":0.00701,"25":0,"26":0,"27":0,"28":0.00701,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.01402,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.1752,"50":0,"51":0.00701,"52":0,"53":0.00701,"54":0,"55":0.02803,"56":0.00701,"57":0.00701,"58":0.00701,"59":0.02102,"60":0.00701,"61":0.01402,"62":0.00701,"63":0.01402,"64":0.01402,"65":0.01402,"66":0.03504,"67":0.02803,"68":0.02803,"69":0.02803,"70":0.14016,"71":0.18922,"72":0.13315,"73":0.0911,"74":0.05606,"75":0.04906,"76":0.07709,"77":0.11914,"78":0.09811,"79":0.14016,"80":0.28032,"81":0.36442,"83":16.88227,"84":11.64029,"85":0.03504,"86":0.01402,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.02102,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.06307,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0.00701,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0.01402,"52":0,"53":0,"54":0,"55":0,"56":0.01402,"57":0,"58":0.00701,"60":0.00701,"62":0.00701,"63":0,"64":0,"65":0.00701,"66":0.00701,"67":0.02102,"68":2.38973,"69":1.38758,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0.24528,"12.1":0},G:{"8":0,"3.2":0.00284,"4.0-4.1":0.00284,"4.2-4.3":0.00284,"5.0-5.1":0.00851,"6.0-6.1":0.00284,"7.0-7.1":0.01135,"8.1-8.4":0.01703,"9.0-9.2":0.0227,"9.3":0.18731,"10.0-10.2":0.04825,"10.3":0.22705,"11.0-11.2":0.16745,"11.3-11.4":0.26394,"12.0-12.1":0.3576,"12.2-12.4":2.1768,"13.0-13.1":0.40584,"13.2":0.19867,"13.3":1.98381,"13.4-13.5":4.79635,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00701,"12":0.02803,"13":0.27331,"14":0.00701,_:"0","3.1":0,"3.2":0,"5.1":2.86627,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01402,"11.1":0.05606,"12.1":0.0911,"13.1":1.36656},B:{"12":0,"13":0,"14":0.00701,"15":0.01402,"16":0.00701,"17":0.04205,"18":0.54662,"79":0,"80":0,"81":0,"83":0.07709,"84":0.07008},I:{"3":0,"4":0.00849,_:"81","2.1":0,"2.2":0,"2.3":0.00085,"4.1":0.01444,"4.2-4.3":0.02378,"4.4":0,"4.4.3-4.4.4":0.15031},P:{"4":0.11184,"5.0-5.4":0.01017,"6.2-6.4":0.02033,"7.2-7.4":0.061,"8.2":0.02033,"9.2":0.16267,"10.1":0.13217,"11.1-11.2":0.51852,"12.0":1.10822},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02614,"9":0.01307,"10":0.01307,"11":0.43128,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":33.50406},S:{"2.5":0},R:{_:"0"},M:{"0":0.06582},Q:{"10.4":0.02394},O:{"0":0.63131},H:{"0":0.20961}}; diff --git a/node_modules/caniuse-lite/data/regions/LA.js b/node_modules/caniuse-lite/data/regions/LA.js new file mode 100644 index 000000000..5aa7b9204 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00514,"27":0.00514,"28":0,"29":0,"30":0.01028,"31":0.02056,"32":0.01542,"33":0.01542,"34":0.02056,"35":0.01028,"36":0.01542,"37":0.01542,"38":0.02056,"39":0.01542,"40":0.02056,"41":0.02571,"42":0.03085,"43":0.03599,"44":0.02571,"45":0.03085,"46":0.01542,"47":0.02571,"48":0.04627,"49":0.02056,"50":0.03085,"51":0.02571,"52":0.04627,"53":0.02571,"54":0.02056,"55":0.01542,"56":0.03599,"57":0.03599,"58":0.03085,"59":0.02056,"60":0.02571,"61":0.01542,"62":0.01542,"63":0.02056,"64":0.00514,"65":0.02056,"66":0.01028,"67":0.01028,"68":0.05655,"69":0.01028,"70":0.01542,"71":0.01028,"72":0.02571,"73":0.01542,"74":0.00514,"75":0,"76":0.01542,"77":0.34445,"78":1.40349,"79":0.13881,"80":0.00514,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0.00514,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01028,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.00514,"22":0.00514,"23":0,"24":0,"25":0,"26":0.01028,"27":0,"28":0,"29":0,"30":0.00514,"31":0.01542,"32":0.00514,"33":0.01028,"34":0.01028,"35":0.00514,"36":0.01028,"37":0.01028,"38":0.01028,"39":0.01028,"40":0.01028,"41":0.05141,"42":0.00514,"43":0.07197,"44":0.00514,"45":0.01028,"46":0.03085,"47":0.04113,"48":0.01542,"49":0.03599,"50":0.00514,"51":0.02056,"52":0.01542,"53":0.02056,"54":0.01028,"55":0.03085,"56":0.03599,"57":0.03085,"58":0.03085,"59":0.02571,"60":0.04113,"61":0.03599,"62":0.05141,"63":0.09768,"64":0.03085,"65":0.04113,"66":0.04113,"67":0.03599,"68":0.03085,"69":0.09254,"70":0.15423,"71":0.10282,"72":0.15937,"73":0.04113,"74":0.11824,"75":0.06169,"76":0.05141,"77":0.0874,"78":0.11824,"79":0.11824,"80":0.17994,"81":0.09768,"83":9.75762,"84":6.1435,"85":0.01542,"86":0,"87":0},F:{"9":0,"11":0.00514,"12":0.00514,"15":0.01028,"16":0,"17":0,"18":0,"19":0.00514,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00514,"30":0,"31":0.00514,"32":0.00514,"33":0,"34":0.00514,"35":0,"36":0.00514,"37":0.02056,"38":0.00514,"39":0,"40":0.00514,"41":0.00514,"42":0,"43":0.00514,"44":0,"45":0,"46":0.00514,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00514,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.01542,"68":0.26733,"69":0.25705,"9.5-9.6":0,"10.0-10.1":0.00514,"10.5":0,"10.6":0,"11.1":0,"11.5":0.00514,"11.6":0,"12.1":0.02056},G:{"8":0,"3.2":0.00414,"4.0-4.1":0.00414,"4.2-4.3":0.00414,"5.0-5.1":0.01243,"6.0-6.1":0.00414,"7.0-7.1":0.01658,"8.1-8.4":0.02486,"9.0-9.2":0.03315,"9.3":0.27351,"10.0-10.2":0.07045,"10.3":0.33153,"11.0-11.2":0.2445,"11.3-11.4":0.3854,"12.0-12.1":0.52215,"12.2-12.4":3.1785,"13.0-13.1":0.5926,"13.2":0.29008,"13.3":2.8967,"13.4-13.5":7.00347,_:"14.0"},E:{"4":0.01028,"5":0.02056,"6":0.00514,"7":0.01028,"8":0.01542,"9":0.01542,"10":0.01028,"11":0.02056,"12":0.02056,"13":0.17479,"14":0.00514,_:"0","3.1":0.01028,"3.2":0.00514,"5.1":0.01028,"6.1":0.01542,"7.1":0.01028,"9.1":0.02571,"10.1":0.03599,"11.1":0.03599,"12.1":0.15423,"13.1":0.57579},B:{"12":0.02056,"13":0.02056,"14":0.03085,"15":0.02056,"16":0.01542,"17":0.02571,"18":0.23649,"79":0,"80":0.03599,"81":0.05655,"83":0.59122,"84":0.47297},I:{"3":0,"4":0.02534,_:"81","2.1":0,"2.2":0,"2.3":0.00253,"4.1":0.04307,"4.2-4.3":0.07094,"4.4":0,"4.4.3-4.4.4":0.44846},P:{"4":1.15856,"5.0-5.4":0.02051,"6.2-6.4":0.10253,"7.2-7.4":0.31783,"8.2":0.04101,"9.2":0.3691,"10.1":0.34859,"11.1-11.2":0.80997,"12.0":1.11755},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0.00704,"8":0.11972,"9":0.0493,"10":0.02817,"11":0.30987,"5.5":0},J:{"7":0,"10":0.01458},N:{"10":0.05466,"11":0.16399},L:{"0":47.72568},S:{"2.5":0},R:{_:"0"},M:{"0":0.1069},Q:{"10.4":0.36443},O:{"0":0.69484},H:{"0":0.60262}}; diff --git a/node_modules/caniuse-lite/data/regions/LB.js b/node_modules/caniuse-lite/data/regions/LB.js new file mode 100644 index 000000000..2c583faec --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LB.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00525,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.02627,"49":0.00525,"50":0,"51":0,"52":0.02102,"53":0,"54":0,"55":0.01576,"56":0.01051,"57":0.00525,"58":0.01051,"59":0,"60":0.01051,"61":0.00525,"62":0,"63":0,"64":0.02627,"65":0.00525,"66":0,"67":0.24168,"68":0.08932,"69":0,"70":0.00525,"71":0.00525,"72":0.01051,"73":0,"74":0.01051,"75":0.00525,"76":0.06305,"77":0.43083,"78":1.11385,"79":0.05254,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00525,"38":0.00525,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00525,"47":0,"48":0,"49":0.12084,"50":0,"51":0,"52":0,"53":0.00525,"54":0,"55":0.00525,"56":0,"57":0.00525,"58":0.00525,"59":0.05779,"60":0,"61":0,"62":0,"63":0.03678,"64":0,"65":0.03678,"66":0.01051,"67":0.02627,"68":0.00525,"69":0.02102,"70":0.03152,"71":0.03152,"72":0.04203,"73":0.08932,"74":0.08406,"75":0.03152,"76":0.02627,"77":0.03678,"78":0.05254,"79":0.09983,"80":0.15762,"81":0.16813,"83":11.87404,"84":7.18222,"85":0.01576,"86":0.00525,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00525,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.00525,"64":0,"65":0,"66":0,"67":0,"68":0.23643,"69":0.13135,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00367,"4.0-4.1":0.00367,"4.2-4.3":0.00367,"5.0-5.1":0.01102,"6.0-6.1":0.00367,"7.0-7.1":0.01469,"8.1-8.4":0.02204,"9.0-9.2":0.02938,"9.3":0.24243,"10.0-10.2":0.06244,"10.3":0.29385,"11.0-11.2":0.21671,"11.3-11.4":0.3416,"12.0-12.1":0.46281,"12.2-12.4":2.81728,"13.0-13.1":0.52526,"13.2":0.25712,"13.3":2.56751,"13.4-13.5":6.20757,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00525,"10":0.04729,"11":0.04203,"12":0.10508,"13":0.2627,"14":0.00525,_:"0","3.1":0,"3.2":0,"5.1":0.41507,"6.1":0,"7.1":0,"9.1":0.01051,"10.1":0.11033,"11.1":0.14711,"12.1":0.28897,"13.1":1.32401},B:{"12":0.00525,"13":0.00525,"14":0.00525,"15":0.01051,"16":0.03678,"17":0.08932,"18":0.33626,"79":0,"80":0,"81":0.01576,"83":0.37829,"84":0.30999},I:{"3":0,"4":0.00773,_:"81","2.1":0,"2.2":0,"2.3":0.00077,"4.1":0.01313,"4.2-4.3":0.02163,"4.4":0,"4.4.3-4.4.4":0.13674},P:{"4":0.15229,"5.0-5.4":0.02031,"6.2-6.4":0.02031,"7.2-7.4":0.16245,"8.2":0.07107,"9.2":0.28428,"10.1":0.19291,"11.1-11.2":0.83254,"12.0":3.51292},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01651,"9":0.0055,"10":0,"11":0.32475,"5.5":0},J:{"7":0,"10":0.00475},N:{"10":0,"11":0},L:{"0":49.1573},S:{"2.5":0},R:{_:"0"},M:{"0":0.09492},Q:{"10.4":0},O:{"0":0.31798},H:{"0":0.14378}}; diff --git a/node_modules/caniuse-lite/data/regions/LC.js b/node_modules/caniuse-lite/data/regions/LC.js new file mode 100644 index 000000000..76bdf5292 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LC.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00458,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00916,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.00916,"67":0,"68":0.1099,"69":0.00458,"70":0,"71":0.00458,"72":0.00916,"73":0,"74":0,"75":0.00458,"76":0.01374,"77":0.16027,"78":0.67769,"79":0.03205,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.03205,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.03205,"50":0,"51":0,"52":0,"53":0.00458,"54":0,"55":0,"56":0.00458,"57":0.00916,"58":0.00458,"59":0,"60":0,"61":0,"62":0.00458,"63":0.03663,"64":0,"65":0.01374,"66":0.00916,"67":0,"68":0,"69":0.00916,"70":0.03663,"71":0.00458,"72":0.00458,"73":0.01374,"74":0,"75":0.01374,"76":0.04579,"77":0.00458,"78":0.00458,"79":0.02747,"80":0.05037,"81":0.12821,"83":8.29257,"84":4.7759,"85":0.02747,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0.00458,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.03205,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.16027,"69":0.10074,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00267,"4.0-4.1":0.00267,"4.2-4.3":0.00267,"5.0-5.1":0.00801,"6.0-6.1":0.00267,"7.0-7.1":0.01068,"8.1-8.4":0.01602,"9.0-9.2":0.02135,"9.3":0.17617,"10.0-10.2":0.04538,"10.3":0.21354,"11.0-11.2":0.15749,"11.3-11.4":0.24824,"12.0-12.1":0.33633,"12.2-12.4":2.04733,"13.0-13.1":0.3817,"13.2":0.18685,"13.3":1.86582,"13.4-13.5":4.51106,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00458,"9":0,"10":0,"11":0,"12":0,"13":0.33427,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.0229,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00458,"11.1":0.01374,"12.1":0.10074,"13.1":1.06233},B:{"12":0.00916,"13":0.00916,"14":0.00458,"15":0.00916,"16":0.01832,"17":0.02747,"18":0.38006,"79":0,"80":0,"81":0.01374,"83":0.71432,"84":0.55864},I:{"3":0,"4":0.07222,_:"81","2.1":0,"2.2":0,"2.3":0.00722,"4.1":0.12278,"4.2-4.3":0.20222,"4.4":0,"4.4.3-4.4.4":1.27832},P:{"4":0.11784,"5.0-5.4":0.01071,"6.2-6.4":0,"7.2-7.4":0.32137,"8.2":0.01071,"9.2":0.1714,"10.1":0.11784,"11.1-11.2":0.69631,"12.0":4.83133},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0.00515,"11":0.2009,"5.5":0},J:{"7":0,"10":0.02168},N:{"10":0,"11":0},L:{"0":59.42609},S:{"2.5":0},R:{_:"0"},M:{"0":0.28731},Q:{"10.4":0},O:{"0":0.18431},H:{"0":0.13344}}; diff --git a/node_modules/caniuse-lite/data/regions/LI.js b/node_modules/caniuse-lite/data/regions/LI.js new file mode 100644 index 000000000..3ba0c2249 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LI.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.04276,"24":0,"25":0,"26":0,"27":0.00713,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00713,"46":0,"47":0.00713,"48":0.00713,"49":0,"50":0,"51":0.00713,"52":0.07127,"53":0,"54":0,"55":0,"56":0.00713,"57":0,"58":0,"59":0,"60":0.04989,"61":0,"62":0.5274,"63":0.00713,"64":0,"65":0,"66":0,"67":0,"68":0.34922,"69":0.0784,"70":0.12829,"71":0,"72":0.00713,"73":0.01425,"74":0.03564,"75":0.02138,"76":0.07127,"77":1.47529,"78":3.67753,"79":0.12116,"80":0.00713,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00713,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00713,"50":0.24945,"51":0,"52":0,"53":0.19243,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00713,"61":0,"62":0,"63":0.01425,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0.00713,"72":0,"73":0.02851,"74":0.02851,"75":0.00713,"76":0.04276,"77":0.02851,"78":0.36348,"79":0.0784,"80":0.23519,"81":0.6058,"83":12.42236,"84":7.51899,"85":0.00713,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.02851,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.57016,"69":0.21381,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00671,"4.0-4.1":0.00671,"4.2-4.3":0.00671,"5.0-5.1":0.02012,"6.0-6.1":0.00671,"7.0-7.1":0.02682,"8.1-8.4":0.04024,"9.0-9.2":0.05365,"9.3":0.4426,"10.0-10.2":0.114,"10.3":0.53649,"11.0-11.2":0.39566,"11.3-11.4":0.62367,"12.0-12.1":0.84497,"12.2-12.4":5.14357,"13.0-13.1":0.95897,"13.2":0.46943,"13.3":4.68756,"13.4-13.5":11.33329,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00713,"11":0.02138,"12":0.34922,"13":1.06905,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00713,"10.1":0.04276,"11.1":0.59154,"12.1":0.17818,"13.1":6.65662},B:{"12":0,"13":0,"14":0.04276,"15":0,"16":0.04276,"17":0.00713,"18":1.56081,"79":0.01425,"80":0,"81":0.05702,"83":2.53721,"84":1.98131},I:{"3":0,"4":0.0186,_:"81","2.1":0,"2.2":0,"2.3":0.00186,"4.1":0.03162,"4.2-4.3":0.05208,"4.4":0,"4.4.3-4.4.4":0.32921},P:{"4":0.05218,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0.01044,"9.2":0.02087,"10.1":0.01044,"11.1-11.2":0.16698,"12.0":3.51708},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.01425,"7":0,"8":0,"9":0,"10":0,"11":3.5635,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":17.4831},S:{"2.5":0},R:{_:"0"},M:{"0":0.24133},Q:{"10.4":0},O:{"0":0},H:{"0":0.11696}}; diff --git a/node_modules/caniuse-lite/data/regions/LK.js b/node_modules/caniuse-lite/data/regions/LK.js new file mode 100644 index 000000000..8cf29036f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LK.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00452,"28":0,"29":0,"30":0.00452,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00452,"44":0,"45":0,"46":0,"47":0.00452,"48":0.00452,"49":0,"50":0,"51":0,"52":0.01356,"53":0,"54":0,"55":0,"56":0.00452,"57":0.00452,"58":0,"59":0,"60":0.00452,"61":0,"62":0,"63":0.00452,"64":0.00452,"65":0.00904,"66":0.00452,"67":0.00452,"68":0.06779,"69":0.00452,"70":0.00452,"71":0.00452,"72":0.01356,"73":0.00452,"74":0.00904,"75":0.00452,"76":0.01808,"77":0.24855,"78":1.05745,"79":0.09038,"80":0.00452,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00452,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00452,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00452,"34":0,"35":0.00452,"36":0,"37":0,"38":0,"39":0,"40":0.01356,"41":0,"42":0.00452,"43":0.00452,"44":0,"45":0,"46":0.00452,"47":0,"48":0,"49":0.03163,"50":0.00452,"51":0,"52":0,"53":0.00452,"54":0,"55":0.00452,"56":0.00452,"57":0,"58":0.01356,"59":0.00452,"60":0.00904,"61":0.00452,"62":0.00452,"63":0.04519,"64":0.01356,"65":0.00904,"66":0.00452,"67":0.00904,"68":0.00452,"69":0.02711,"70":0.0226,"71":0.02711,"72":0.0226,"73":0.02711,"74":0.10394,"75":0.01808,"76":0.02711,"77":0.03163,"78":0.04519,"79":0.07682,"80":0.11749,"81":0.15365,"83":9.00185,"84":6.04642,"85":0.01356,"86":0.00904,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.0226,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.02711,"51":0,"52":0,"53":0.00452,"54":0,"55":0.00904,"56":0.00452,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00452,"68":0.46094,"69":0.32537,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00452},G:{"8":0,"3.2":0.00161,"4.0-4.1":0.00161,"4.2-4.3":0.00161,"5.0-5.1":0.00482,"6.0-6.1":0.00161,"7.0-7.1":0.00642,"8.1-8.4":0.00963,"9.0-9.2":0.01285,"9.3":0.10598,"10.0-10.2":0.0273,"10.3":0.12846,"11.0-11.2":0.09474,"11.3-11.4":0.14934,"12.0-12.1":0.20233,"12.2-12.4":1.23163,"13.0-13.1":0.22963,"13.2":0.1124,"13.3":1.12244,"13.4-13.5":2.71377,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00452,"12":0.01808,"13":0.04971,"14":0.00452,_:"0","3.1":0,"3.2":0,"5.1":0.01808,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00904,"11.1":0.01356,"12.1":0.03615,"13.1":0.27566},B:{"12":0.00904,"13":0.00904,"14":0.00904,"15":0.01808,"16":0.00904,"17":0.0226,"18":0.14913,"79":0,"80":0,"81":0.00904,"83":0.28018,"84":0.25306},I:{"3":0,"4":0.00905,_:"81","2.1":0,"2.2":0,"2.3":0.00091,"4.1":0.01539,"4.2-4.3":0.02535,"4.4":0,"4.4.3-4.4.4":0.16026},P:{"4":1.50793,"5.0-5.4":0.07132,"6.2-6.4":0.11208,"7.2-7.4":0.4483,"8.2":0.11208,"9.2":0.50944,"10.1":0.31585,"11.1-11.2":0.9068,"12.0":0.92718},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01883,"9":0.00628,"10":0,"11":0.08787,"5.5":0},J:{"7":0,"10":0.01096},N:{"10":0,"11":0.01644},L:{"0":59.23788},S:{"2.5":0},R:{_:"0"},M:{"0":0.10962},Q:{"10.4":0.00548},O:{"0":2.55963},H:{"0":2.10157}}; diff --git a/node_modules/caniuse-lite/data/regions/LR.js b/node_modules/caniuse-lite/data/regions/LR.js new file mode 100644 index 000000000..80837cbfb --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0.00302,"16":0,"17":0.00302,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0.01208,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00302,"44":0,"45":0,"46":0,"47":0.00604,"48":0.00302,"49":0,"50":0,"51":0,"52":0.00604,"53":0,"54":0,"55":0,"56":0.03019,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00302,"68":0.05132,"69":0.00302,"70":0,"71":0,"72":0.00906,"73":0,"74":0.00604,"75":0.00302,"76":0.00604,"77":0.30492,"78":0.85136,"79":0.06038,"80":0.00604,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00302,"27":0,"28":0,"29":0.00302,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00302,"41":0,"42":0,"43":0.00906,"44":0,"45":0,"46":0,"47":0.00302,"48":0,"49":0.00604,"50":0.00604,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00302,"57":0,"58":0.00302,"59":0.00302,"60":0.00604,"61":0,"62":0,"63":0.01208,"64":0.02415,"65":0.00604,"66":0,"67":0.00604,"68":0,"69":0.01208,"70":0.20831,"71":0.02113,"72":0,"73":0.00302,"74":0.04529,"75":0.01811,"76":0.02113,"77":0.01208,"78":0.05736,"79":0.1117,"80":0.03623,"81":0.12076,"83":1.89895,"84":1.27704,"85":0.00302,"86":0,"87":0},F:{"9":0,"11":0,"12":0.00302,"15":0,"16":0.00302,"17":0,"18":0,"19":0,"20":0.00604,"21":0,"22":0,"23":0.03321,"24":0,"25":0,"26":0,"27":0,"28":0.00302,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00302,"42":0.00302,"43":0,"44":0,"45":0,"46":0.20227,"47":0,"48":0,"49":0,"50":0.0151,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00302,"57":0,"58":0,"60":0.00302,"62":0,"63":0,"64":0.00302,"65":0.00302,"66":0,"67":0.00604,"68":0.13586,"69":0.09359,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.05736},G:{"8":0,"3.2":0.00118,"4.0-4.1":0.00118,"4.2-4.3":0.00118,"5.0-5.1":0.00354,"6.0-6.1":0.00118,"7.0-7.1":0.00472,"8.1-8.4":0.00708,"9.0-9.2":0.00944,"9.3":0.07785,"10.0-10.2":0.02005,"10.3":0.09437,"11.0-11.2":0.0696,"11.3-11.4":0.1097,"12.0-12.1":0.14863,"12.2-12.4":0.90475,"13.0-13.1":0.16868,"13.2":0.08257,"13.3":0.82454,"13.4-13.5":1.99353,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00302,"12":0.00302,"13":0.00906,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00302,"11.1":0.01208,"12.1":0.00302,"13.1":0.12378},B:{"12":0.01811,"13":0.0151,"14":0.00604,"15":0.0151,"16":0.01208,"17":0.01811,"18":0.25662,"79":0,"80":0,"81":0.01208,"83":0.23246,"84":0.20529},I:{"3":0,"4":0.01967,_:"81","2.1":0,"2.2":0,"2.3":0.00197,"4.1":0.03344,"4.2-4.3":0.05508,"4.4":0,"4.4.3-4.4.4":0.34815},P:{"4":0.62109,"5.0-5.4":0.05091,"6.2-6.4":0.21382,"7.2-7.4":0.09164,"8.2":0.02036,"9.2":0.58036,"10.1":0.13236,"11.1-11.2":0.448,"12.0":0.41745},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00676,"9":0,"10":0,"11":0.07777,"5.5":0},J:{"7":0,"10":0.01396},N:{"10":0,"11":0},L:{"0":69.65961},S:{"2.5":0.15358},R:{_:"0"},M:{"0":0.17453},Q:{"10.4":0.03491},O:{"0":2.81334},H:{"0":7.98387}}; diff --git a/node_modules/caniuse-lite/data/regions/LS.js b/node_modules/caniuse-lite/data/regions/LS.js new file mode 100644 index 000000000..d6162e7a6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LS.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00286,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00858,"53":0,"54":0,"55":0,"56":0.00286,"57":0,"58":0,"59":0.00286,"60":0,"61":0,"62":0,"63":0.00286,"64":0,"65":0,"66":0,"67":0,"68":0.08291,"69":0.0143,"70":0,"71":0.00286,"72":0.00858,"73":0,"74":0.00286,"75":0,"76":0.00572,"77":0.05146,"78":0.34308,"79":0.02573,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00286,"34":0.01715,"35":0,"36":0.00572,"37":0,"38":0,"39":0,"40":0.03431,"41":0,"42":0,"43":0.0143,"44":0,"45":0,"46":0.0629,"47":0,"48":0,"49":0.00858,"50":0,"51":0,"52":0,"53":0.00286,"54":0,"55":0.04003,"56":0.00572,"57":0.0143,"58":0.0143,"59":0.00286,"60":0,"61":0.00286,"62":0.00286,"63":0.04574,"64":0.00286,"65":0.00858,"66":0.00858,"67":0.00286,"68":0.00286,"69":0.0143,"70":0.02287,"71":0.03145,"72":0.00286,"73":0.00286,"74":0.0143,"75":0.01144,"76":0.00286,"77":0.01144,"78":0.02001,"79":0.04574,"80":0.08577,"81":0.07148,"83":2.29864,"84":1.44094,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0.00286,"18":0.00286,"19":0,"20":0.00286,"21":0.01715,"22":0,"23":0,"24":0,"25":0,"26":0.02001,"27":0,"28":0.00858,"29":0,"30":0.00858,"31":0,"32":0.00286,"33":0,"34":0,"35":0.01144,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.0143,"46":0.00572,"47":0.0143,"48":0.00286,"49":0,"50":0.04574,"51":0.00286,"52":0,"53":0.00572,"54":0.00286,"55":0,"56":0,"57":0,"58":0,"60":0.00286,"62":0,"63":0.0143,"64":0.00286,"65":0.00286,"66":0.00286,"67":0,"68":0.12294,"69":0.09149,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0.00572,"12.1":0.10007},G:{"8":0,"3.2":0.00062,"4.0-4.1":0.00062,"4.2-4.3":0.00062,"5.0-5.1":0.00187,"6.0-6.1":0.00062,"7.0-7.1":0.0025,"8.1-8.4":0.00374,"9.0-9.2":0.00499,"9.3":0.04117,"10.0-10.2":0.0106,"10.3":0.0499,"11.0-11.2":0.0368,"11.3-11.4":0.05801,"12.0-12.1":0.07859,"12.2-12.4":0.47843,"13.0-13.1":0.0892,"13.2":0.04366,"13.3":0.43601,"13.4-13.5":1.05416,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00286,"13":0.00286,"14":0.00572,_:"0","3.1":0,"3.2":0,"5.1":0.00572,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00858,"13.1":0.1115},B:{"12":0.05432,"13":0.00572,"14":0.01144,"15":0.00572,"16":0.04289,"17":0.0629,"18":0.3974,"79":0,"80":0,"81":0.0143,"83":0.20299,"84":0.10864},I:{"3":0,"4":0.01649,_:"81","2.1":0,"2.2":0,"2.3":0.00165,"4.1":0.02804,"4.2-4.3":0.04618,"4.4":0,"4.4.3-4.4.4":0.29195},P:{"4":1.30678,"5.0-5.4":0.01021,"6.2-6.4":0.04084,"7.2-7.4":0.63297,"8.2":0.05105,"9.2":0.34711,"10.1":0.39816,"11.1-11.2":0.54109,"12.0":0.6636},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00572,"9":0,"10":0,"11":0.12008,"5.5":0},J:{"7":0,"10":0.13568},N:{"10":0,"11":0},L:{"0":68.35285},S:{"2.5":0},R:{_:"0"},M:{"0":0.26422},Q:{"10.4":0.09997},O:{"0":2.72072},H:{"0":9.59334}}; diff --git a/node_modules/caniuse-lite/data/regions/LT.js b/node_modules/caniuse-lite/data/regions/LT.js new file mode 100644 index 000000000..75859bf89 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00642,"13":0,"14":0,"15":0,"16":0.00642,"17":0.00642,"18":0,"19":0.00642,"20":0,"21":0.00642,"22":0.00642,"23":0.00642,"24":0.00642,"25":0.00642,"26":0.00642,"27":0.01925,"28":0.00642,"29":0.00642,"30":0.00642,"31":0.01925,"32":0.01925,"33":0.00642,"34":0.00642,"35":0.00642,"36":0.00642,"37":0.00642,"38":0.01283,"39":0,"40":0,"41":0.00642,"42":0.00642,"43":0.00642,"44":0.00642,"45":0.00642,"46":0,"47":0.00642,"48":0.02566,"49":0,"50":0.02566,"51":0.03208,"52":0.11547,"53":0.00642,"54":0.00642,"55":0.00642,"56":0.04491,"57":0.00642,"58":0.00642,"59":0,"60":0.01925,"61":0.00642,"62":0.00642,"63":0.05774,"64":0.01283,"65":0.05774,"66":0.01283,"67":0.00642,"68":0.21811,"69":0.01925,"70":0.00642,"71":0.01283,"72":0.01925,"73":0.01283,"74":0.01925,"75":0.01925,"76":0.07057,"77":0.93659,"78":3.71429,"79":0.19887,"80":0.00642,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00642,"39":0,"40":0,"41":0.01283,"42":0,"43":0.00642,"44":0,"45":0,"46":0.00642,"47":0.00642,"48":0.01283,"49":0.36566,"50":0,"51":0.00642,"52":0.00642,"53":0.01283,"54":0.00642,"55":0.00642,"56":0.01283,"57":0.01283,"58":0.01283,"59":0.00642,"60":0.01925,"61":0.16038,"62":0.02566,"63":0.03208,"64":0.05774,"65":0.01283,"66":0.00642,"67":0.05774,"68":0.00642,"69":0.03208,"70":0.16679,"71":0.15396,"72":0.16679,"73":0.12189,"74":0.03208,"75":0.03208,"76":0.03849,"77":0.03849,"78":0.05774,"79":0.30792,"80":0.21811,"81":0.27585,"83":14.70318,"84":8.8527,"85":0.01283,"86":0.00642,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00642,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00642,"48":0,"49":0,"50":0.02566,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00642,"58":0.01283,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00642,"68":1.26376,"69":0.55169,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00642},G:{"8":0,"3.2":0.00325,"4.0-4.1":0.00325,"4.2-4.3":0.00325,"5.0-5.1":0.00976,"6.0-6.1":0.00325,"7.0-7.1":0.01302,"8.1-8.4":0.01953,"9.0-9.2":0.02604,"9.3":0.2148,"10.0-10.2":0.05533,"10.3":0.26036,"11.0-11.2":0.19202,"11.3-11.4":0.30267,"12.0-12.1":0.41007,"12.2-12.4":2.49623,"13.0-13.1":0.4654,"13.2":0.22782,"13.3":2.27492,"13.4-13.5":5.50016,_:"14.0"},E:{"4":0.00642,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00642,"11":0.01283,"12":0.05774,"13":0.31434,"14":0.00642,_:"0","3.1":0,"3.2":0,"5.1":0.00642,"6.1":0,"7.1":0,"9.1":0.00642,"10.1":0.01283,"11.1":0.05132,"12.1":0.16679,"13.1":1.52036},B:{"12":0,"13":0.01283,"14":0.02566,"15":0.01283,"16":0.00642,"17":0.03849,"18":0.42981,"79":0,"80":0,"81":0.01925,"83":0.78905,"84":0.63509},I:{"3":0,"4":0.0088,_:"81","2.1":0,"2.2":0,"2.3":0.00088,"4.1":0.01496,"4.2-4.3":0.02465,"4.4":0,"4.4.3-4.4.4":0.1558},P:{"4":0.12182,"5.0-5.4":0.03045,"6.2-6.4":0.01015,"7.2-7.4":0.04061,"8.2":0.01015,"9.2":0.08121,"10.1":0.12182,"11.1-11.2":0.63954,"12.0":2.9236},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.00664,"7":0.00664,"8":0.05315,"9":0.03322,"10":0.03322,"11":0.79729,"5.5":0},J:{"7":0,"10":0.00359},N:{"10":0,"11":0.01434},L:{"0":38.67191},S:{"2.5":0},R:{_:"0"},M:{"0":0.2402},Q:{"10.4":0.00359},O:{"0":0.11472},H:{"0":0.24098}}; diff --git a/node_modules/caniuse-lite/data/regions/LU.js b/node_modules/caniuse-lite/data/regions/LU.js new file mode 100644 index 000000000..ea94785b6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LU.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00576,"27":0.05187,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00576,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.01729,"46":0,"47":0,"48":0.04034,"49":0,"50":0.01153,"51":0.00576,"52":0.0461,"53":0,"54":0,"55":0,"56":0.00576,"57":0,"58":0,"59":0,"60":0.05187,"61":0.00576,"62":0,"63":0.00576,"64":0,"65":0.01729,"66":0.00576,"67":0,"68":0.63969,"69":0.01153,"70":0.00576,"71":0.1095,"72":0.02882,"73":0.01153,"74":0.21323,"75":0.01153,"76":0.04034,"77":1.02581,"78":2.70861,"79":0.09221,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01729,"39":0,"40":0.00576,"41":0.00576,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.36307,"50":0,"51":0,"52":0,"53":0.00576,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0.0461,"60":0.00576,"61":0.13255,"62":0.01729,"63":0.00576,"64":0,"65":0.01729,"66":0.01153,"67":0.01153,"68":0.05763,"69":0.02305,"70":0.14408,"71":0.42646,"72":0.24781,"73":0.12679,"74":0.01153,"75":0.05187,"76":0.08645,"77":0.02882,"78":0.12102,"79":0.1095,"80":0.44951,"81":0.35731,"83":8.72518,"84":4.46633,"85":0.01729,"86":0.00576,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00576,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00576,"51":0,"52":0,"53":0.01729,"54":0,"55":0,"56":0.1556,"57":0,"58":0.20747,"60":0.00576,"62":0,"63":0,"64":0,"65":0,"66":0.01153,"67":0,"68":0.3112,"69":0.17289,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0072,"4.0-4.1":0.0072,"4.2-4.3":0.0072,"5.0-5.1":0.0216,"6.0-6.1":0.0072,"7.0-7.1":0.0288,"8.1-8.4":0.0432,"9.0-9.2":0.0576,"9.3":0.4752,"10.0-10.2":0.1224,"10.3":0.576,"11.0-11.2":0.4248,"11.3-11.4":0.6696,"12.0-12.1":0.9072,"12.2-12.4":5.52241,"13.0-13.1":1.0296,"13.2":0.504,"13.3":5.03281,"13.4-13.5":12.16803,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01729,"12":0.21899,"13":0.43223,"14":0.05763,_:"0","3.1":0,"3.2":0,"5.1":0.01729,"6.1":0,"7.1":0,"9.1":0.01153,"10.1":0.0461,"11.1":0.25934,"12.1":0.25934,"13.1":4.59887},B:{"12":0,"13":0,"14":0.00576,"15":0.01153,"16":0.04034,"17":0.05187,"18":0.88174,"79":0,"80":0.00576,"81":0.02305,"83":0.87021,"84":0.52443},I:{"3":0,"4":0.01525,_:"81","2.1":0,"2.2":0,"2.3":0.00153,"4.1":0.02593,"4.2-4.3":0.04271,"4.4":0,"4.4.3-4.4.4":0.27},P:{"4":0.19807,"5.0-5.4":0.03127,"6.2-6.4":0,"7.2-7.4":0.02085,"8.2":0.01042,"9.2":0.07297,"10.1":0.15637,"11.1-11.2":0.51081,"12.0":3.21081},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00605,"9":0.01815,"10":0,"11":1.07077,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0.01695},L:{"0":30.64924},S:{"2.5":0},R:{_:"0"},M:{"0":0.69911},Q:{"10.4":0.02119},O:{"0":0.30083},H:{"0":0.22865}}; diff --git a/node_modules/caniuse-lite/data/regions/LV.js b/node_modules/caniuse-lite/data/regions/LV.js new file mode 100644 index 000000000..34f911d28 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LV.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.03342,"28":0,"29":0,"30":0,"31":0,"32":0.00668,"33":0,"34":0,"35":0,"36":0,"37":0.00668,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00668,"46":0,"47":0.00668,"48":0.02674,"49":0.01337,"50":0,"51":0,"52":0.14036,"53":0,"54":0,"55":0,"56":0.02005,"57":0.00668,"58":0,"59":0,"60":0.01337,"61":0.00668,"62":0.00668,"63":0.10694,"64":0.07352,"65":0.03342,"66":0.02674,"67":0.02005,"68":0.26068,"69":0.02674,"70":0.01337,"71":0.02005,"72":0.07352,"73":0.01337,"74":0.02674,"75":0.03342,"76":0.07352,"77":0.94913,"78":3.65615,"79":0.26068,"80":0.00668,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00668,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00668,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00668,"39":0,"40":0.01337,"41":0.00668,"42":0,"43":0,"44":0,"45":0,"46":0.02005,"47":0,"48":0.00668,"49":0.40104,"50":0,"51":0,"52":0,"53":0.03342,"54":0,"55":0,"56":0.02005,"57":0.02005,"58":0.00668,"59":0,"60":0,"61":0.00668,"62":0,"63":0.00668,"64":0.00668,"65":0.00668,"66":0.03342,"67":0.07352,"68":0.01337,"69":0.70182,"70":0.14705,"71":0.05347,"72":0.08689,"73":0.08021,"74":0.06016,"75":0.03342,"76":0.05347,"77":0.05347,"78":0.09358,"79":0.13368,"80":0.30746,"81":0.34757,"83":17.47198,"84":9.99926,"85":0.01337,"86":0.02005,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00668,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00668,"50":0.00668,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00668,"60":0,"62":0,"63":0,"64":0,"65":0.00668,"66":0,"67":0,"68":1.12291,"69":0.56146,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00334,"4.0-4.1":0.00334,"4.2-4.3":0.00334,"5.0-5.1":0.01001,"6.0-6.1":0.00334,"7.0-7.1":0.01335,"8.1-8.4":0.02002,"9.0-9.2":0.0267,"9.3":0.22027,"10.0-10.2":0.05674,"10.3":0.267,"11.0-11.2":0.19691,"11.3-11.4":0.31038,"12.0-12.1":0.42052,"12.2-12.4":2.55982,"13.0-13.1":0.47725,"13.2":0.23362,"13.3":2.33287,"13.4-13.5":5.64028,_:"14.0"},E:{"4":0.00668,"5":0,"6":0,"7":0,"8":0.00668,"9":0,"10":0,"11":0.01337,"12":0.04679,"13":0.39436,"14":0.03342,_:"0","3.1":0,"3.2":0,"5.1":0.12031,"6.1":0,"7.1":0,"9.1":0.00668,"10.1":0.03342,"11.1":0.10694,"12.1":0.20052,"13.1":1.798},B:{"12":0,"13":0,"14":0.00668,"15":0.00668,"16":0.00668,"17":0.02674,"18":0.38099,"79":0,"80":0,"81":0.02674,"83":0.8355,"84":0.61493},I:{"3":0,"4":0.00858,_:"81","2.1":0,"2.2":0,"2.3":0.00086,"4.1":0.01458,"4.2-4.3":0.02402,"4.4":0,"4.4.3-4.4.4":0.15181},P:{"4":0.11191,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.03052,"8.2":0.0407,"9.2":0.08139,"10.1":0.11191,"11.1-11.2":0.68165,"12.0":2.67573},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.06657,"9":0.03698,"10":0.02219,"11":0.42902,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":35.34041},S:{"2.5":0},R:{_:"0"},M:{"0":0.2686},Q:{"10.4":0},O:{"0":0.09285},H:{"0":0.32649}}; diff --git a/node_modules/caniuse-lite/data/regions/LY.js b/node_modules/caniuse-lite/data/regions/LY.js new file mode 100644 index 000000000..02c245a29 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/LY.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00601,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00301,"44":0,"45":0,"46":0,"47":0.00301,"48":0,"49":0.00301,"50":0,"51":0,"52":0.00601,"53":0,"54":0,"55":0,"56":0,"57":0.00301,"58":0,"59":0,"60":0.00301,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00301,"68":0.02104,"69":0.00902,"70":0.00902,"71":0.00301,"72":0.00902,"73":0.00301,"74":0.00301,"75":0.02104,"76":0.00601,"77":0.11723,"78":0.44789,"79":0.02104,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00301,"32":0,"33":0.00301,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.01202,"41":0,"42":0,"43":0.02705,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.01503,"50":0,"51":0,"52":0,"53":0.00301,"54":0,"55":0,"56":0.00301,"57":0,"58":0.00601,"59":0,"60":0.00902,"61":0,"62":0,"63":0.02104,"64":0.00301,"65":0.00301,"66":0.00301,"67":0.00601,"68":0,"69":0.02705,"70":0.03607,"71":0.01804,"72":0.01503,"73":0.00601,"74":0.03307,"75":0.01202,"76":0.01202,"77":0.02705,"78":0.03006,"79":0.03607,"80":0.08717,"81":0.11423,"83":3.76051,"84":2.25149,"85":0.00601,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00301,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.00301,"36":0.00301,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00301,"48":0,"49":0,"50":0.03908,"51":0,"52":0,"53":0.00301,"54":0,"55":0,"56":0,"57":0,"58":0.00301,"60":0.00301,"62":0.00301,"63":0.00301,"64":0,"65":0.00301,"66":0.00301,"67":0.00601,"68":0.36974,"69":0.2014,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00601},G:{"8":0,"3.2":0.00209,"4.0-4.1":0.00209,"4.2-4.3":0.00209,"5.0-5.1":0.00626,"6.0-6.1":0.00209,"7.0-7.1":0.00834,"8.1-8.4":0.01252,"9.0-9.2":0.01669,"9.3":0.13767,"10.0-10.2":0.03546,"10.3":0.16687,"11.0-11.2":0.12307,"11.3-11.4":0.19399,"12.0-12.1":0.26282,"12.2-12.4":1.59987,"13.0-13.1":0.29828,"13.2":0.14601,"13.3":1.45803,"13.4-13.5":3.52514,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00601,"13":0.03307,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.02104,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0.00601,"12.1":0.03607,"13.1":0.12325},B:{"12":0.00301,"13":0,"14":0,"15":0.00601,"16":0.00301,"17":0.00601,"18":0.31864,"79":0,"80":0,"81":0.00902,"83":0.12926,"84":0.10822},I:{"3":0,"4":0.00914,_:"81","2.1":0,"2.2":0,"2.3":0.00091,"4.1":0.01555,"4.2-4.3":0.0256,"4.4":0,"4.4.3-4.4.4":0.16186},P:{"4":0.40484,"5.0-5.4":0.06073,"6.2-6.4":0.15182,"7.2-7.4":0.48581,"8.2":0.08097,"9.2":0.5769,"10.1":0.40484,"11.1-11.2":1.14368,"12.0":1.76106},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01269,"9":0,"10":0.00317,"11":0.04125,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":71.7934},S:{"2.5":0},R:{_:"0"},M:{"0":0.09092},Q:{"10.4":0},O:{"0":0.53854},H:{"0":2.38373}}; diff --git a/node_modules/caniuse-lite/data/regions/MA.js b/node_modules/caniuse-lite/data/regions/MA.js new file mode 100644 index 000000000..bd1c8d918 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00555,"44":0,"45":0.00555,"46":0,"47":0.00555,"48":0.03332,"49":0,"50":0.00555,"51":0.00555,"52":0.08885,"53":0.00555,"54":0,"55":0.00555,"56":0.01111,"57":0,"58":0,"59":0.00555,"60":0.01111,"61":0,"62":0,"63":0.01111,"64":0.02221,"65":0.02777,"66":0.01111,"67":0.00555,"68":0.12217,"69":0.00555,"70":0.00555,"71":0.01111,"72":0.02777,"73":0.01111,"74":0.02221,"75":0.01666,"76":0.02777,"77":0.56641,"78":1.75475,"79":0.0833,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.00555,"33":0.00555,"34":0,"35":0,"36":0,"37":0,"38":0.00555,"39":0.00555,"40":0.00555,"41":0,"42":0,"43":0.02221,"44":0,"45":0,"46":0.00555,"47":0.01111,"48":0.01111,"49":0.34429,"50":0,"51":0,"52":0,"53":0.01111,"54":0,"55":0.00555,"56":0.00555,"57":0.00555,"58":0.01111,"59":0,"60":0,"61":0.04442,"62":0.01111,"63":0.04998,"64":0.01111,"65":0.04998,"66":0.00555,"67":0.06664,"68":0.01111,"69":0.02777,"70":0.11661,"71":0.13883,"72":0.11661,"73":0.07219,"74":0.08885,"75":0.06664,"76":0.03332,"77":0.05553,"78":0.07774,"79":0.11106,"80":0.23323,"81":0.29986,"83":13.516,"84":6.86351,"85":0.01666,"86":0.02777,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00555,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00555,"49":0,"50":0.00555,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00555,"57":0.00555,"58":0.01111,"60":0,"62":0,"63":0.00555,"64":0,"65":0,"66":0.00555,"67":0.00555,"68":1.1106,"69":0.50532,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00192,"4.0-4.1":0.00192,"4.2-4.3":0.00192,"5.0-5.1":0.00575,"6.0-6.1":0.00192,"7.0-7.1":0.00766,"8.1-8.4":0.0115,"9.0-9.2":0.01533,"9.3":0.12645,"10.0-10.2":0.03257,"10.3":0.15327,"11.0-11.2":0.11304,"11.3-11.4":0.17818,"12.0-12.1":0.2414,"12.2-12.4":1.4695,"13.0-13.1":0.27398,"13.2":0.13411,"13.3":1.33922,"13.4-13.5":3.23789,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00555,"11":0.01666,"12":0.04998,"13":0.19991,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.0944,"6.1":0,"7.1":0,"9.1":0.01111,"10.1":0.01666,"11.1":0.06108,"12.1":0.12217,"13.1":0.67747},B:{"12":0.00555,"13":0.00555,"14":0.00555,"15":0.00555,"16":0.00555,"17":0.02221,"18":0.22767,"79":0,"80":0,"81":0.01666,"83":0.49422,"84":0.32207},I:{"3":0,"4":0.00949,_:"81","2.1":0,"2.2":0,"2.3":0.00095,"4.1":0.01613,"4.2-4.3":0.02657,"4.4":0,"4.4.3-4.4.4":0.16796},P:{"4":0.63702,"5.0-5.4":0.03033,"6.2-6.4":0.06067,"7.2-7.4":0.24267,"8.2":0.05056,"9.2":0.2629,"10.1":0.23256,"11.1-11.2":0.81902,"12.0":2.1335},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0.00625,"8":0.04373,"9":0.00625,"10":0.01249,"11":0.13119,"5.5":0},J:{"7":0,"10":0.00445},N:{"10":0,"11":0},L:{"0":54.02853},S:{"2.5":0},R:{_:"0"},M:{"0":0.13786},Q:{"10.4":0.00445},O:{"0":0.1423},H:{"0":0.43785}}; diff --git a/node_modules/caniuse-lite/data/regions/MC.js b/node_modules/caniuse-lite/data/regions/MC.js new file mode 100644 index 000000000..51fb2e0a2 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MC.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00789,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00789,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.01578,"48":0.02368,"49":0,"50":0,"51":0,"52":0.13416,"53":0,"54":0,"55":0.00789,"56":0,"57":0.00789,"58":0,"59":0,"60":0.01578,"61":0,"62":0.00789,"63":0.03157,"64":1.29429,"65":0.03946,"66":1.12856,"67":0,"68":0.45774,"69":0,"70":0,"71":0.03157,"72":0.00789,"73":0,"74":0.00789,"75":0.00789,"76":0.06314,"77":0.78131,"78":3.16469,"79":0.08681,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.03157,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":1.16012,"49":0.0947,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00789,"64":0,"65":0.00789,"66":0,"67":0.00789,"68":0,"69":0,"70":1.60208,"71":2.39128,"72":5.46126,"73":0.07892,"74":0,"75":0.01578,"76":0.03157,"77":0.1026,"78":0.03157,"79":0.07892,"80":0.292,"81":1.42845,"83":14.44236,"84":7.09491,"85":0.00789,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00789,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.01578,"68":0.14206,"69":0.12627,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00598,"4.0-4.1":0.00598,"4.2-4.3":0.00598,"5.0-5.1":0.01794,"6.0-6.1":0.00598,"7.0-7.1":0.02392,"8.1-8.4":0.03588,"9.0-9.2":0.04784,"9.3":0.39467,"10.0-10.2":0.10166,"10.3":0.47839,"11.0-11.2":0.35282,"11.3-11.4":0.55613,"12.0-12.1":0.75347,"12.2-12.4":4.5866,"13.0-13.1":0.85513,"13.2":0.41859,"13.3":4.17996,"13.4-13.5":10.10607,_:"14.0"},E:{"4":0.03157,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.03157,"11":0.00789,"12":0.04735,"13":0.92336,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0.01578,"7.1":0,"9.1":0,"10.1":0.06314,"11.1":0.43406,"12.1":1.12856,"13.1":8.27082},B:{"12":0,"13":0,"14":0,"15":0.00789,"16":0.00789,"17":0.2999,"18":1.02596,"79":0,"80":0,"81":0.00789,"83":1.30218,"84":1.04174},I:{"3":0,"4":0.00248,_:"81","2.1":0,"2.2":0,"2.3":0.00025,"4.1":0.00422,"4.2-4.3":0.00696,"4.4":0,"4.4.3-4.4.4":0.04398},P:{"4":0.082,"5.0-5.4":0.0615,"6.2-6.4":0,"7.2-7.4":0.01025,"8.2":0.14351,"9.2":0.01025,"10.1":0.01025,"11.1-11.2":0.44077,"12.0":1.10705},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.25336,"9":0.08445,"10":0.0929,"11":2.33938,"5.5":0},J:{"7":0,"10":0.00422},N:{"10":0,"11":0},L:{"0":10.9638},S:{"2.5":0.00211},R:{_:"0"},M:{"0":0.38787},Q:{"10.4":0},O:{"0":0.08643},H:{"0":0.11176}}; diff --git a/node_modules/caniuse-lite/data/regions/MD.js b/node_modules/caniuse-lite/data/regions/MD.js new file mode 100644 index 000000000..d2c74ddc1 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MD.js @@ -0,0 +1 @@ +module.exports={C:{"34":0.00676,"35":0.00676,"36":0.00676,"38":0.00676,"40":0.00676,"41":0.00676,"42":0.01353,"43":0.02029,"44":0.01353,"45":0.02029,"46":0.00676,"47":0.02029,"48":0.01353,"49":0.00676,"50":0.01353,"51":0.00676,"52":0.10821,"53":0.00676,"54":0.00676,"55":0.00676,"56":0.02029,"57":0.02705,"58":0.01353,"59":0.03382,"60":0.02705,"61":0.02029,"62":0.01353,"63":0.03382,"64":0.18936,"65":0.04734,"66":0.04734,"68":0.14202,"70":0.00676,"71":0.00676,"72":0.03382,"73":0.01353,"74":0.01353,"75":0.01353,"76":0.0541,"77":0.52075,"78":2.15063,"79":0.16231,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 37 39 67 69 80 81 3.5","3.6":0.04058},D:{"10":0.00676,"13":0.00676,"31":0.00676,"34":0.00676,"36":0.01353,"38":0.02029,"39":0.00676,"41":0.02029,"46":0.01353,"47":0.08116,"48":0.01353,"49":1.2241,"51":0.04058,"52":0.00676,"53":0.08116,"54":0.00676,"55":0.02705,"56":0.01353,"57":0.02029,"58":0.01353,"59":0.06087,"60":0.02029,"61":0.06763,"62":0.02705,"63":0.04734,"64":0.02029,"65":0.04734,"66":0.0541,"67":0.04058,"68":0.04734,"69":0.03382,"70":0.1285,"71":0.39902,"72":0.17584,"73":0.20965,"74":0.1285,"75":0.1285,"76":0.06763,"77":0.06763,"78":0.12173,"79":0.11497,"80":0.52075,"81":0.45988,"83":28.73599,"84":17.77993,"85":0.01353,"86":0.00676,_:"4 5 6 7 8 9 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 35 37 40 42 43 44 45 50 87"},F:{"36":0.01353,"40":0.01353,"54":0.01353,"55":0.02029,"57":0.00676,"58":0.04058,"66":0.00676,"67":0.00676,"68":1.81925,"69":1.12266,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 43 44 45 46 47 48 49 50 51 52 53 56 60 62 63 64 65 9.5-9.6 10.5 10.6 11.1 11.5 11.6","10.0-10.1":0,"12.1":0.01353},G:{"8":0,"3.2":0.00119,"4.0-4.1":0.00119,"4.2-4.3":0.00119,"5.0-5.1":0.00357,"6.0-6.1":0.00119,"7.0-7.1":0.00476,"8.1-8.4":0.00714,"9.0-9.2":0.00952,"9.3":0.07853,"10.0-10.2":0.02023,"10.3":0.09519,"11.0-11.2":0.07021,"11.3-11.4":0.11066,"12.0-12.1":0.14993,"12.2-12.4":0.91267,"13.0-13.1":0.17016,"13.2":0.08329,"13.3":0.83176,"13.4-13.5":2.01097,_:"14.0"},E:{"4":0,"5":0.00676,"8":0.00676,"9":0.00676,"11":0.0541,"12":0.03382,"13":0.41931,"14":0.02029,_:"0 6 7 10 3.1 3.2 6.1 7.1","5.1":1.80572,"9.1":0.01353,"10.1":0.04058,"11.1":0.04734,"12.1":0.19613,"13.1":1.36613},B:{"13":0.00676,"14":0.01353,"15":0.00676,"16":0.04058,"17":0.0541,"18":0.43283,"81":0.00676,"83":0.27052,"84":0.22994,_:"12 79 80"},I:{"3":0,"4":0.00417,_:"81","2.1":0,"2.2":0,"2.3":0.00042,"4.1":0.00708,"4.2-4.3":0.01167,"4.4":0,"4.4.3-4.4.4":0.07375},P:{"4":0.26597,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.03192,"8.2":0.01046,"9.2":0.09575,"10.1":0.10639,"11.1-11.2":0.35108,"12.0":1.47881},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.0541,"9":0.02029,"10":0.01353,"11":0.42607,_:"6 7 5.5"},J:{"7":0,"10":0.00647},N:{"10":0,"11":0.0356},L:{"0":25.64205},S:{"2.5":0},R:{_:"0"},M:{"0":0.11002},Q:{"10.4":0.00324},O:{"0":0.16504},H:{"0":0.36151}}; diff --git a/node_modules/caniuse-lite/data/regions/ME.js b/node_modules/caniuse-lite/data/regions/ME.js new file mode 100644 index 000000000..f7e5ac8e4 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ME.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00367,"28":0,"29":0,"30":0,"31":0.00735,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.11389,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00367,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.01102,"67":0,"68":0.04776,"69":0,"70":0.03674,"71":0,"72":0.00735,"73":0,"74":0.00367,"75":0,"76":0.01102,"77":0.17268,"78":0.65397,"79":0.04409,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00367,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00735,"34":0.00367,"35":0,"36":0,"37":0,"38":0.00735,"39":0.00367,"40":0,"41":0.00367,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.15798,"50":0.00367,"51":0,"52":0,"53":0.0147,"54":0,"55":0,"56":0,"57":0.00367,"58":0.00367,"59":0,"60":0.00367,"61":0.00367,"62":0.00367,"63":0.00367,"64":0,"65":0,"66":0.02204,"67":0.00367,"68":0.00367,"69":0.01102,"70":0.00735,"71":0.01102,"72":0.00735,"73":0.02572,"74":0.00735,"75":0.03674,"76":0.01837,"77":0.01102,"78":0.0147,"79":0.0147,"80":0.09185,"81":0.08818,"83":4.55209,"84":3.13392,"85":0.00367,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.00367,"33":0,"34":0,"35":0,"36":0.00367,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00367,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":2.61956,"69":0.13226,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00294,"4.0-4.1":0.00294,"4.2-4.3":0.00294,"5.0-5.1":0.00883,"6.0-6.1":0.00294,"7.0-7.1":0.01178,"8.1-8.4":0.01767,"9.0-9.2":0.02356,"9.3":0.19434,"10.0-10.2":0.05006,"10.3":0.23556,"11.0-11.2":0.17373,"11.3-11.4":0.27384,"12.0-12.1":0.37101,"12.2-12.4":2.25843,"13.0-13.1":0.42106,"13.2":0.20611,"13.3":2.0582,"13.4-13.5":4.9762,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00367,"13":0.04041,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.01102,"10.1":0.00367,"11.1":0.02204,"12.1":0.01102,"13.1":0.22044},B:{"12":0,"13":0,"14":0,"15":0.00735,"16":0.00735,"17":0.0147,"18":0.05511,"79":0,"80":0,"81":0.00735,"83":0.11389,"84":0.0845},I:{"3":0,"4":0.00607,_:"81","2.1":0,"2.2":0,"2.3":0.00061,"4.1":0.01032,"4.2-4.3":0.017,"4.4":0,"4.4.3-4.4.4":0.10744},P:{"4":0.21372,"5.0-5.4":0,"6.2-6.4":0.04071,"7.2-7.4":0.08142,"8.2":0.03053,"9.2":0.21372,"10.1":0.23407,"11.1-11.2":0.8447,"12.0":3.67395},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.06246,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":67.42769},S:{"2.5":0},R:{_:"0"},M:{"0":0.12019},Q:{"10.4":0},O:{"0":0.01898},H:{"0":0.22159}}; diff --git a/node_modules/caniuse-lite/data/regions/MG.js b/node_modules/caniuse-lite/data/regions/MG.js new file mode 100644 index 000000000..9771bb175 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00677,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00677,"28":0,"29":0,"30":0.00677,"31":0,"32":0.01354,"33":0.01354,"34":0.00677,"35":0.00677,"36":0.00677,"37":0.04062,"38":0,"39":0,"40":0.00677,"41":0.00677,"42":0.00677,"43":0.02708,"44":0,"45":0.00677,"46":0.00677,"47":0.05416,"48":0.0677,"49":0.02031,"50":0.02708,"51":0.00677,"52":0.12186,"53":0.00677,"54":0.00677,"55":0.00677,"56":0.02708,"57":0.02031,"58":0.00677,"59":0.03385,"60":0.02708,"61":0.01354,"62":0.01354,"63":0.03385,"64":0.02031,"65":0.00677,"66":0.04062,"67":0.03385,"68":0.44682,"69":0.02708,"70":0.02708,"71":0.07447,"72":0.14217,"73":0.04062,"74":0.04739,"75":0.10832,"76":0.15571,"77":1.42847,"78":5.30091,"79":0.43328,"80":0.01354,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.00677,"26":0.00677,"27":0,"28":0,"29":0,"30":0.00677,"31":0.00677,"32":0.00677,"33":0.00677,"34":0,"35":0.00677,"36":0.00677,"37":0,"38":0,"39":0,"40":0.02031,"41":0,"42":0.01354,"43":0.03385,"44":0,"45":0,"46":0,"47":0,"48":0.00677,"49":0.16925,"50":0.00677,"51":0.00677,"52":0,"53":0,"54":0,"55":0.1354,"56":0,"57":0.00677,"58":0.01354,"59":0.00677,"60":0.01354,"61":0.00677,"62":0.04062,"63":0.08124,"64":0.01354,"65":0.05416,"66":0.00677,"67":0.02708,"68":0.01354,"69":0.0677,"70":0.09478,"71":0.08124,"72":0.02031,"73":0.04062,"74":0.15571,"75":0.06093,"76":0.07447,"77":0.19633,"78":0.16248,"79":0.26403,"80":1.19152,"81":0.37235,"83":12.65313,"84":9.65402,"85":0.05416,"86":0.01354,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00677,"21":0.02031,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00677,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00677,"37":0.00677,"38":0.00677,"39":0,"40":0,"41":0,"42":0.01354,"43":0,"44":0,"45":0,"46":0.00677,"47":0,"48":0,"49":0,"50":0.04062,"51":0,"52":0,"53":0.03385,"54":0,"55":0,"56":0.00677,"57":0,"58":0,"60":0.01354,"62":0,"63":0,"64":0,"65":0.00677,"66":0.01354,"67":0.05416,"68":1.22537,"69":0.75147,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.04062},G:{"8":0,"3.2":0.00116,"4.0-4.1":0.00116,"4.2-4.3":0.00116,"5.0-5.1":0.00347,"6.0-6.1":0.00116,"7.0-7.1":0.00463,"8.1-8.4":0.00694,"9.0-9.2":0.00926,"9.3":0.07636,"10.0-10.2":0.01967,"10.3":0.09256,"11.0-11.2":0.06826,"11.3-11.4":0.1076,"12.0-12.1":0.14578,"12.2-12.4":0.88741,"13.0-13.1":0.16545,"13.2":0.08099,"13.3":0.80874,"13.4-13.5":1.95532,_:"14.0"},E:{"4":0,"5":0,"6":0.02708,"7":0,"8":0,"9":0,"10":0.01354,"11":0.06093,"12":0.02708,"13":0.28434,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00677,"11.1":0.05416,"12.1":0.08801,"13.1":0.79886},B:{"12":0.00677,"13":0.01354,"14":0.08124,"15":0.05416,"16":0.02031,"17":0.06093,"18":0.18956,"79":0,"80":0.00677,"81":0.01354,"83":0.56868,"84":0.63638},I:{"3":0,"4":0.02317,_:"81","2.1":0,"2.2":0,"2.3":0.00232,"4.1":0.03939,"4.2-4.3":0.06487,"4.4":0,"4.4.3-4.4.4":0.41008},P:{"4":0.15407,"5.0-5.4":0.01027,"6.2-6.4":0.02054,"7.2-7.4":0.06163,"8.2":0.01027,"9.2":0.08217,"10.1":0.09244,"11.1-11.2":0.38004,"12.0":0.72927},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.08427,"9":0.00766,"10":0,"11":0.19918,"5.5":0},J:{"7":0,"10":0.01615},N:{"10":0,"11":0.01615},L:{"0":40.544},S:{"2.5":0.04199},R:{_:"0"},M:{"0":0.37145},Q:{"10.4":0.03553},O:{"0":2.17379},H:{"0":3.54417}}; diff --git a/node_modules/caniuse-lite/data/regions/MH.js b/node_modules/caniuse-lite/data/regions/MH.js new file mode 100644 index 000000000..547d943a1 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MH.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.05347,"53":0,"54":0,"55":0,"56":0,"57":0.01069,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.00535,"69":0,"70":0,"71":0,"72":0.00535,"73":0,"74":0,"75":0,"76":0,"77":0.15506,"78":0.42241,"79":0.01069,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.06416,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.01069,"57":0.00535,"58":0.00535,"59":0,"60":0,"61":0,"62":0.01069,"63":0.00535,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0.00535,"73":0.64164,"74":0.00535,"75":0,"76":0.02139,"77":0.00535,"78":0,"79":0.00535,"80":0.78601,"81":0.29409,"83":12.39969,"84":5.93517,"85":0.16041,"86":0.03743,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.00535,"69":0.00535,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00688,"4.0-4.1":0.00688,"4.2-4.3":0.00688,"5.0-5.1":0.02065,"6.0-6.1":0.00688,"7.0-7.1":0.02753,"8.1-8.4":0.0413,"9.0-9.2":0.05507,"9.3":0.4543,"10.0-10.2":0.11702,"10.3":0.55067,"11.0-11.2":0.40612,"11.3-11.4":0.64015,"12.0-12.1":0.8673,"12.2-12.4":5.27951,"13.0-13.1":0.98432,"13.2":0.48183,"13.3":4.81144,"13.4-13.5":11.63282,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00535,"10":0,"11":0.00535,"12":0.00535,"13":0.16041,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00535,"11.1":0.08021,"12.1":0.08021,"13.1":1.55063},B:{"12":0.02139,"13":0.04278,"14":0.01069,"15":0,"16":0,"17":0.09625,"18":0.49192,"79":0,"80":0,"81":0.02139,"83":0.75393,"84":0.64164},I:{"3":0,"4":0.03817,_:"81","2.1":0,"2.2":0,"2.3":0.00382,"4.1":0.06489,"4.2-4.3":0.10688,"4.4":0,"4.4.3-4.4.4":0.67566},P:{"4":0.01109,"5.0-5.4":0.01109,"6.2-6.4":0,"7.2-7.4":0.11094,"8.2":0,"9.2":0,"10.1":0.05547,"11.1-11.2":1.08719,"12.0":0.83203},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00543,"9":0,"10":0,"11":0.35282,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":41.57649},S:{"2.5":0},R:{_:"0"},M:{"0":0.01396},Q:{"10.4":0.50718},O:{"0":0.29779},H:{"0":0.03965}}; diff --git a/node_modules/caniuse-lite/data/regions/MK.js b/node_modules/caniuse-lite/data/regions/MK.js new file mode 100644 index 000000000..a3a60e63b --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MK.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00517,"39":0,"40":0.00517,"41":0,"42":0,"43":0.00517,"44":0,"45":0,"46":0,"47":0.00517,"48":0,"49":0.00517,"50":0.00517,"51":0.031,"52":0.19118,"53":0,"54":0,"55":0.00517,"56":0.02584,"57":0.00517,"58":0,"59":0,"60":0.01033,"61":0.031,"62":0.00517,"63":0.06717,"64":0.06717,"65":0.02584,"66":0.02067,"67":0.00517,"68":0.09817,"69":0.00517,"70":0.00517,"71":0,"72":0.01033,"73":0.00517,"74":0.00517,"75":0.00517,"76":0.04134,"77":0.32552,"78":1.35375,"79":0.07751,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.01033,"35":0,"36":0,"37":0,"38":0.01033,"39":0,"40":0,"41":0.01033,"42":0,"43":0.01033,"44":0.01033,"45":0,"46":0,"47":0.00517,"48":0.00517,"49":0.47536,"50":0.00517,"51":0,"52":0.00517,"53":0.02584,"54":0,"55":0,"56":0.0155,"57":0,"58":0.0155,"59":0.00517,"60":0.00517,"61":0.00517,"62":0.00517,"63":0.0155,"64":0.02067,"65":0.00517,"66":0.00517,"67":0.02584,"68":0.00517,"69":0.062,"70":0.32552,"71":0.49603,"72":0.44436,"73":0.18601,"74":0.031,"75":0.02067,"76":0.031,"77":0.031,"78":0.02584,"79":0.05167,"80":0.12918,"81":0.18085,"83":11.31573,"84":7.06329,"85":0.01033,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.0155,"32":0,"33":0,"34":0,"35":0,"36":0.01033,"37":0.00517,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.03617,"57":0.01033,"58":0.03617,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.32035,"69":0.21185,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00244,"4.0-4.1":0.00244,"4.2-4.3":0.00244,"5.0-5.1":0.00732,"6.0-6.1":0.00244,"7.0-7.1":0.00976,"8.1-8.4":0.01465,"9.0-9.2":0.01953,"9.3":0.16111,"10.0-10.2":0.0415,"10.3":0.19529,"11.0-11.2":0.14402,"11.3-11.4":0.22702,"12.0-12.1":0.30758,"12.2-12.4":1.8723,"13.0-13.1":0.34907,"13.2":0.17088,"13.3":1.70631,"13.4-13.5":4.12541,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00517,"12":0.01033,"13":0.062,"14":0.00517,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00517,"11.1":0.031,"12.1":0.031,"13.1":0.34619},B:{"12":0,"13":0.00517,"14":0.00517,"15":0.0155,"16":0,"17":0.06717,"18":0.09817,"79":0,"80":0,"81":0.00517,"83":0.31519,"84":0.25835},I:{"3":0,"4":0.00667,_:"81","2.1":0,"2.2":0,"2.3":0.00067,"4.1":0.01135,"4.2-4.3":0.01869,"4.4":0,"4.4.3-4.4.4":0.11813},P:{"4":0.09083,"5.0-5.4":0.02018,"6.2-6.4":0.01009,"7.2-7.4":0.05046,"8.2":0.02018,"9.2":0.07064,"10.1":0.09083,"11.1-11.2":0.43395,"12.0":1.84682},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0155,"9":0.00517,"10":0,"11":0.20668,"5.5":0},J:{"7":0,"10":0.00483},N:{"10":0,"11":0},L:{"0":59.68813},S:{"2.5":0},R:{_:"0"},M:{"0":0.09666},Q:{"10.4":0.00483},O:{"0":0.04833},H:{"0":0.12354}}; diff --git a/node_modules/caniuse-lite/data/regions/ML.js b/node_modules/caniuse-lite/data/regions/ML.js new file mode 100644 index 000000000..6640b2f2e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ML.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.01371,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00343,"27":0.00343,"28":0.00343,"29":0,"30":0,"31":0,"32":0.00343,"33":0,"34":0,"35":0,"36":0,"37":0.00343,"38":0,"39":0.00686,"40":0.00343,"41":0,"42":0,"43":0.00343,"44":0,"45":0,"46":0,"47":0.00686,"48":0.00343,"49":0,"50":0,"51":0.00343,"52":0.00686,"53":0,"54":0,"55":0,"56":0.02742,"57":0,"58":0.00343,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.01714,"65":0,"66":0,"67":0,"68":0.05828,"69":0.01028,"70":0.024,"71":0.00343,"72":0.05485,"73":0.00343,"74":0.00343,"75":0.02057,"76":0.02057,"77":0.63761,"78":2.10136,"79":0.03771,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.01714,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00343,"41":0,"42":0,"43":0.00343,"44":0,"45":0,"46":0,"47":0,"48":0.00343,"49":0.05142,"50":0,"51":0,"52":0,"53":0.00343,"54":0.00343,"55":0,"56":0,"57":0,"58":0.00343,"59":0,"60":0.03428,"61":0,"62":0,"63":0.08913,"64":0,"65":0.00686,"66":0.00343,"67":0.01028,"68":0,"69":0,"70":0.01371,"71":0.01028,"72":0.00343,"73":0.00343,"74":0.02742,"75":0.00343,"76":0.02057,"77":0.024,"78":0.00686,"79":0.02742,"80":0.09598,"81":0.04799,"83":3.10577,"84":1.84084,"85":0.00343,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00343,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00343,"48":0,"49":0,"50":0.01028,"51":0,"52":0,"53":0.00343,"54":0,"55":0,"56":0,"57":0,"58":0.00343,"60":0.01371,"62":0,"63":0,"64":0.00343,"65":0.00686,"66":0.00343,"67":0.01371,"68":0.18511,"69":0.0857,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00194,"4.0-4.1":0.00194,"4.2-4.3":0.00194,"5.0-5.1":0.00583,"6.0-6.1":0.00194,"7.0-7.1":0.00777,"8.1-8.4":0.01166,"9.0-9.2":0.01554,"9.3":0.12822,"10.0-10.2":0.03303,"10.3":0.15542,"11.0-11.2":0.11462,"11.3-11.4":0.18067,"12.0-12.1":0.24478,"12.2-12.4":1.49004,"13.0-13.1":0.2778,"13.2":0.13599,"13.3":1.35794,"13.4-13.5":3.28315,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.03085,"11":0.00343,"12":0.024,"13":0.05142,"14":0.00686,_:"0","3.1":0,"3.2":0,"5.1":0.03428,"6.1":0,"7.1":0,"9.1":0.00686,"10.1":0.04799,"11.1":0.00686,"12.1":0.13026,"13.1":0.44221},B:{"12":0.02742,"13":0.05828,"14":0.00686,"15":0.00686,"16":0.04114,"17":0.07884,"18":0.22968,"79":0,"80":0,"81":0.01028,"83":0.1954,"84":0.18854},I:{"3":0,"4":0.01804,_:"81","2.1":0,"2.2":0,"2.3":0.0018,"4.1":0.03066,"4.2-4.3":0.05051,"4.4":0,"4.4.3-4.4.4":0.31927},P:{"4":0.4167,"5.0-5.4":0.03049,"6.2-6.4":0.05082,"7.2-7.4":0.37605,"8.2":0.03049,"9.2":0.50817,"10.1":0.23376,"11.1-11.2":0.92487,"12.0":1.03667},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02493,"9":0.00623,"10":0,"11":0.31164,"5.5":0},J:{"7":0,"10":0.06572},N:{"10":0,"11":0},L:{"0":69.5517},S:{"2.5":0.06572},R:{_:"0"},M:{"0":0.17744},Q:{"10.4":0.17087},O:{"0":2.39878},H:{"0":1.87281}}; diff --git a/node_modules/caniuse-lite/data/regions/MM.js b/node_modules/caniuse-lite/data/regions/MM.js new file mode 100644 index 000000000..ac0cdec5a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0041,"28":0,"29":0.0041,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.0041,"37":0.0041,"38":0,"39":0.0041,"40":0,"41":0.0041,"42":0.0041,"43":0.00819,"44":0.0041,"45":0.0041,"46":0.0041,"47":0.00819,"48":0.00819,"49":0.0041,"50":0.0041,"51":0,"52":0.00819,"53":0,"54":0.0041,"55":0.0041,"56":0.01229,"57":0.02867,"58":0.0041,"59":0.0041,"60":0.03277,"61":0.0041,"62":0.00819,"63":0.0041,"64":0.00819,"65":0.01229,"66":0.02867,"67":0.01229,"68":0.11469,"69":0.02458,"70":0.01229,"71":0.02048,"72":0.09011,"73":0.02867,"74":0.01638,"75":0.02867,"76":0.09011,"77":0.53658,"78":2.34291,"79":0.36454,"80":0.01229,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00819,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.0041,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00819,"32":0.02048,"33":0,"34":0,"35":0,"36":0,"37":0.00819,"38":0.0041,"39":0,"40":0.0041,"41":0,"42":0.0041,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.0041,"50":0,"51":0,"52":0,"53":0.01229,"54":0,"55":0,"56":0,"57":0.0041,"58":0.01229,"59":0,"60":0,"61":0.00819,"62":0,"63":0.04915,"64":0.0041,"65":0.00819,"66":0.01229,"67":0.0041,"68":0.0041,"69":0.02458,"70":0.00819,"71":0.03686,"72":0.0041,"73":0.02867,"74":0.07782,"75":0.02048,"76":0.13517,"77":0.02048,"78":0.03277,"79":0.08192,"80":0.09011,"81":0.11878,"83":5.67296,"84":3.78061,"85":0.00819,"86":0.0041,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.02048,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0.0041,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.12288,"69":0.09011,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00223,"4.0-4.1":0.00223,"4.2-4.3":0.00223,"5.0-5.1":0.00669,"6.0-6.1":0.00223,"7.0-7.1":0.00892,"8.1-8.4":0.01337,"9.0-9.2":0.01783,"9.3":0.14711,"10.0-10.2":0.03789,"10.3":0.17831,"11.0-11.2":0.1315,"11.3-11.4":0.20729,"12.0-12.1":0.28084,"12.2-12.4":1.70956,"13.0-13.1":0.31873,"13.2":0.15602,"13.3":1.55799,"13.4-13.5":3.76682,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.0041,"11":0.01229,"12":0.03277,"13":0.07782,"14":0.0041,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01229,"11.1":0.03686,"12.1":0.06144,"13.1":0.59392},B:{"12":0.0041,"13":0.0041,"14":0,"15":0.0041,"16":0.00819,"17":0.01229,"18":0.2048,"79":0,"80":0,"81":0.01229,"83":0.3031,"84":0.22938},I:{"3":0,"4":0.06813,_:"81","2.1":0,"2.2":0,"2.3":0.00681,"4.1":0.11583,"4.2-4.3":0.19077,"4.4":0,"4.4.3-4.4.4":1.20595},P:{"4":0.22182,"5.0-5.4":0.02017,"6.2-6.4":0.02017,"7.2-7.4":0.07058,"8.2":0.02017,"9.2":0.11091,"10.1":0.11091,"11.1-11.2":0.27224,"12.0":0.7058},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00717,"9":0.00717,"10":0,"11":0.07168,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":67.25874},S:{"2.5":0},R:{_:"0"},M:{"0":0.24797},Q:{"10.4":0.10627},O:{"0":1.93061},H:{"0":0.43598}}; diff --git a/node_modules/caniuse-lite/data/regions/MN.js b/node_modules/caniuse-lite/data/regions/MN.js new file mode 100644 index 000000000..8a34172f2 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00641,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.01282,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00641,"50":0,"51":0,"52":0.03846,"53":0.00641,"54":0.00641,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00641,"61":0,"62":0,"63":0,"64":0,"65":0.00641,"66":0.00641,"67":0,"68":0.0641,"69":0.00641,"70":0.00641,"71":0.00641,"72":0.02564,"73":0.00641,"74":0.00641,"75":0.02564,"76":0.02564,"77":0.50639,"78":1.77557,"79":0.09615,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00641,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00641,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.05128,"50":0.00641,"51":0,"52":0,"53":0,"54":0,"55":0.00641,"56":0,"57":0,"58":0.02564,"59":0.00641,"60":0.01282,"61":0,"62":0.00641,"63":0.05769,"64":0,"65":0.02564,"66":0.00641,"67":0.05128,"68":0.00641,"69":0.01923,"70":0.0641,"71":0.03846,"72":0.03846,"73":0.03205,"74":0.20512,"75":0.04487,"76":0.03205,"77":0.09615,"78":0.13461,"79":0.13461,"80":0.47434,"81":0.27563,"83":18.04415,"84":13.14691,"85":0.02564,"86":0.01282,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00641,"38":0,"39":0,"40":0.00641,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.05128,"68":0.80766,"69":0.50639,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00401,"4.0-4.1":0.00401,"4.2-4.3":0.00401,"5.0-5.1":0.01202,"6.0-6.1":0.00401,"7.0-7.1":0.01603,"8.1-8.4":0.02404,"9.0-9.2":0.03205,"9.3":0.26442,"10.0-10.2":0.06811,"10.3":0.3205,"11.0-11.2":0.23637,"11.3-11.4":0.37259,"12.0-12.1":0.50479,"12.2-12.4":3.07283,"13.0-13.1":0.5729,"13.2":0.28044,"13.3":2.8004,"13.4-13.5":6.77063,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00641,"12":0.01282,"13":0.17307,"14":0.00641,_:"0","3.1":0,"3.2":0,"5.1":0.00641,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00641,"11.1":0.03205,"12.1":0.08333,"13.1":0.66664},B:{"12":0,"13":0.00641,"14":0,"15":0.00641,"16":0.00641,"17":0.01923,"18":0.21794,"79":0,"80":0,"81":0.01282,"83":0.53844,"84":0.71792},I:{"3":0,"4":0.00654,_:"81","2.1":0,"2.2":0,"2.3":0.00065,"4.1":0.01111,"4.2-4.3":0.0183,"4.4":0,"4.4.3-4.4.4":0.1157},P:{"4":0.41529,"5.0-5.4":0.13168,"6.2-6.4":0.02026,"7.2-7.4":0.17219,"8.2":0.02026,"9.2":0.16206,"10.1":0.20258,"11.1-11.2":1.07367,"12.0":2.62339},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.05384,"9":0.00897,"10":0.00897,"11":0.15256,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":34.99304},S:{"2.5":0},R:{_:"0"},M:{"0":0.08257},Q:{"10.4":0.02154},O:{"0":0.2872},H:{"0":0.12236}}; diff --git a/node_modules/caniuse-lite/data/regions/MO.js b/node_modules/caniuse-lite/data/regions/MO.js new file mode 100644 index 000000000..f24afb9d8 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01631,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01631,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.01088,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00544,"53":0,"54":0,"55":0,"56":0.01088,"57":0.00544,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.04894,"69":0.00544,"70":0.00544,"71":0,"72":0.00544,"73":0,"74":0.01631,"75":0.00544,"76":0.02719,"77":0.20121,"78":0.73413,"79":0.02719,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.02719,"23":0,"24":0,"25":0,"26":0.03263,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.05982,"35":0,"36":0,"37":0,"38":0.10876,"39":0,"40":0.0435,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.1142,"50":0,"51":0,"52":0,"53":0.1142,"54":0.00544,"55":0.02719,"56":0.00544,"57":0.01631,"58":0.02175,"59":0.01631,"60":0.00544,"61":0.00544,"62":0.02175,"63":0.02175,"64":0.01631,"65":0.02175,"66":0.03807,"67":0.03807,"68":0.05438,"69":0.10332,"70":0.0435,"71":0.09788,"72":0.06526,"73":0.14683,"74":0.14139,"75":0.10332,"76":0.09788,"77":0.11964,"78":0.1577,"79":0.25559,"80":0.44048,"81":0.52749,"83":9.66876,"84":5.22592,"85":0.0435,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.01088,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00544,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00544,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.05438,"69":0.02719,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.01094,"4.0-4.1":0.01094,"4.2-4.3":0.01094,"5.0-5.1":0.03283,"6.0-6.1":0.01094,"7.0-7.1":0.04377,"8.1-8.4":0.06566,"9.0-9.2":0.08755,"9.3":0.72227,"10.0-10.2":0.18604,"10.3":0.87548,"11.0-11.2":0.64566,"11.3-11.4":1.01774,"12.0-12.1":1.37888,"12.2-12.4":8.39363,"13.0-13.1":1.56491,"13.2":0.76604,"13.3":7.64948,"13.4-13.5":18.49445,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00544,"9":0.01088,"10":0.00544,"11":0.02175,"12":0.04894,"13":0.65256,"14":0.01088,_:"0","3.1":0,"3.2":0,"5.1":0.01631,"6.1":0,"7.1":0,"9.1":0.01088,"10.1":0.0435,"11.1":0.10332,"12.1":0.25559,"13.1":3.87729},B:{"12":0.00544,"13":0.00544,"14":0.00544,"15":0.00544,"16":0.03263,"17":0.02719,"18":0.36978,"79":0,"80":0,"81":0.02719,"83":0.4296,"84":0.30997},I:{"3":0,"4":0.01846,_:"81","2.1":0,"2.2":0,"2.3":0.00185,"4.1":0.03139,"4.2-4.3":0.0517,"4.4":0,"4.4.3-4.4.4":0.32679},P:{"4":0.61425,"5.0-5.4":0.01078,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.04311,"10.1":0.05388,"11.1-11.2":0.29096,"12.0":1.72422},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.04453,"9":0,"10":0,"11":1.13552,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":23.62855},S:{"2.5":0},R:{_:"0"},M:{"0":0.10949},Q:{"10.4":0.26916},O:{"0":0.60218},H:{"0":0.02591}}; diff --git a/node_modules/caniuse-lite/data/regions/MP.js b/node_modules/caniuse-lite/data/regions/MP.js new file mode 100644 index 000000000..23d9bd778 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MP.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00557,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.05009,"48":0.00557,"49":0,"50":0,"51":0,"52":0.01113,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.0167,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0.00557,"76":0.00557,"77":0.10019,"78":0.47311,"79":0.01113,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.05009,"50":0,"51":0,"52":0,"53":0.03896,"54":0,"55":0,"56":0,"57":0.00557,"58":0.00557,"59":0,"60":0,"61":0.00557,"62":0,"63":0.0167,"64":0.02783,"65":0.02783,"66":0.01113,"67":0.06679,"68":0,"69":0.00557,"70":0.00557,"71":0.0167,"72":0.0334,"73":0.01113,"74":0.01113,"75":0.16141,"76":0.06123,"77":0.05009,"78":0.11132,"79":0.15585,"80":0.10575,"81":0.22264,"83":14.09311,"84":6.40647,"85":0.02226,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00557,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.19481,"69":0.02783,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00523,"4.0-4.1":0.00523,"4.2-4.3":0.00523,"5.0-5.1":0.0157,"6.0-6.1":0.00523,"7.0-7.1":0.02094,"8.1-8.4":0.03141,"9.0-9.2":0.04187,"9.3":0.34546,"10.0-10.2":0.08898,"10.3":0.41874,"11.0-11.2":0.30882,"11.3-11.4":0.48678,"12.0-12.1":0.65951,"12.2-12.4":4.01466,"13.0-13.1":0.7485,"13.2":0.3664,"13.3":3.65873,"13.4-13.5":8.84585,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0.00557,"8":0,"9":0,"10":0,"11":0,"12":0.00557,"13":0.44528,"14":0.00557,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.0167,"10.1":0.0167,"11.1":0.02783,"12.1":0.22264,"13.1":2.29319},B:{"12":0.0167,"13":0,"14":0.0167,"15":0.02783,"16":0,"17":0.02226,"18":0.50651,"79":0,"80":0,"81":0.07236,"83":1.06867,"84":0.55103},I:{"3":0,"4":0.02962,_:"81","2.1":0,"2.2":0,"2.3":0.00296,"4.1":0.05035,"4.2-4.3":0.08293,"4.4":0,"4.4.3-4.4.4":0.52423},P:{"4":0.05299,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.0212,"8.2":0.0106,"9.2":0.09539,"10.1":0.05299,"11.1-11.2":0.33916,"12.0":3.58233},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00935,"9":0,"10":0,"11":0.45819,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":42.08041},S:{"2.5":0},R:{_:"0"},M:{"0":0.03104},Q:{"10.4":0.07538},O:{"0":0.04434},H:{"0":0.75141}}; diff --git a/node_modules/caniuse-lite/data/regions/MQ.js b/node_modules/caniuse-lite/data/regions/MQ.js new file mode 100644 index 000000000..c09b1ebce --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MQ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00505,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00505,"49":0,"50":0,"51":0,"52":0.01514,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0.02523,"60":0.03027,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.00505,"67":0.00505,"68":0.31784,"69":0,"70":0,"71":0.00505,"72":0.01514,"73":0,"74":0.02018,"75":0.03532,"76":0.08577,"77":0.57009,"78":1.92719,"79":0.0555,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.07063,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.21189,"50":0,"51":0,"52":0,"53":0.00505,"54":0,"55":0,"56":0,"57":0,"58":0.01009,"59":0,"60":0,"61":0.03532,"62":0,"63":0.01009,"64":0,"65":0.03532,"66":0,"67":0.00505,"68":0,"69":0,"70":0,"71":0,"72":0.03027,"73":0.01009,"74":0,"75":0.02018,"76":0.01009,"77":0.01009,"78":0.01514,"79":0.06054,"80":0.11604,"81":0.11604,"83":8.55128,"84":5.07023,"85":0.02018,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00505,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00505,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.02523,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.31279,"69":0.11604,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00364,"4.0-4.1":0.00364,"4.2-4.3":0.00364,"5.0-5.1":0.01091,"6.0-6.1":0.00364,"7.0-7.1":0.01454,"8.1-8.4":0.02181,"9.0-9.2":0.02909,"9.3":0.23995,"10.0-10.2":0.06181,"10.3":0.29085,"11.0-11.2":0.2145,"11.3-11.4":0.33812,"12.0-12.1":0.45809,"12.2-12.4":2.78856,"13.0-13.1":0.5199,"13.2":0.2545,"13.3":2.54133,"13.4-13.5":6.14428,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0.01514,"8":0,"9":0,"10":0,"11":0,"12":0.03532,"13":0.43387,"14":0.01009,_:"0","3.1":0,"3.2":0,"5.1":0.01009,"6.1":0,"7.1":0,"9.1":0.01009,"10.1":0.04541,"11.1":0.16649,"12.1":0.27748,"13.1":2.49223},B:{"12":0.00505,"13":0.01009,"14":0.01514,"15":0.01009,"16":0.00505,"17":0.06054,"18":0.24721,"79":0,"80":0,"81":0.03027,"83":0.92324,"84":0.59027},I:{"3":0,"4":0.00711,_:"81","2.1":0,"2.2":0,"2.3":0.00071,"4.1":0.01208,"4.2-4.3":0.0199,"4.4":0,"4.4.3-4.4.4":0.12579},P:{"4":0.55487,"5.0-5.4":0.02094,"6.2-6.4":0,"7.2-7.4":0.04188,"8.2":0.02094,"9.2":0.39783,"10.1":1.29819,"11.1-11.2":0.96318,"12.0":3.28736},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.0273,"10":0,"11":0.43684,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":50.66357},S:{"2.5":0},R:{_:"0"},M:{"0":0.23784},Q:{"10.4":0.11397},O:{"0":0.10406},H:{"0":0.1595}}; diff --git a/node_modules/caniuse-lite/data/regions/MR.js b/node_modules/caniuse-lite/data/regions/MR.js new file mode 100644 index 000000000..a968b6295 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00233,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00233,"31":0,"32":0,"33":0,"34":0.00233,"35":0,"36":0,"37":0,"38":0,"39":0.00233,"40":0,"41":0,"42":0,"43":0.00233,"44":0,"45":0.00233,"46":0,"47":0.00465,"48":0,"49":0.00465,"50":0,"51":0,"52":0.0093,"53":0,"54":0,"55":0,"56":0.01861,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.04187,"69":0,"70":0.00233,"71":0.00233,"72":0.00465,"73":0,"74":0.00233,"75":0.00465,"76":0.00465,"77":0.09304,"78":0.48613,"79":0.00698,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0.00465,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0.00233,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00233,"34":0,"35":0,"36":0,"37":0.01628,"38":0,"39":0,"40":0.00233,"41":0,"42":0,"43":0.03256,"44":0.00233,"45":0,"46":0,"47":0,"48":0.00233,"49":0.01163,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0.00233,"60":0,"61":0,"62":0,"63":0.01396,"64":0,"65":0.00233,"66":0,"67":0.00233,"68":0,"69":0.00465,"70":0.00465,"71":0.01163,"72":0.02791,"73":0.00698,"74":0.01396,"75":0.04187,"76":0.01628,"77":0.03256,"78":0.03489,"79":0.01163,"80":0.05117,"81":0.11165,"83":2.13759,"84":1.17928,"85":0.00233,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.01163,"46":0,"47":0,"48":0,"49":0,"50":0.00698,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00465,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.0628,"69":0.02791,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00465},G:{"8":0,"3.2":0.00249,"4.0-4.1":0.00249,"4.2-4.3":0.00249,"5.0-5.1":0.00748,"6.0-6.1":0.00249,"7.0-7.1":0.00998,"8.1-8.4":0.01497,"9.0-9.2":0.01996,"9.3":0.16465,"10.0-10.2":0.04241,"10.3":0.19957,"11.0-11.2":0.14718,"11.3-11.4":0.232,"12.0-12.1":0.31433,"12.2-12.4":1.9134,"13.0-13.1":0.35674,"13.2":0.17463,"13.3":1.74376,"13.4-13.5":4.21596,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00233,"12":0.00233,"13":0.06048,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00698,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00698,"11.1":0.0093,"12.1":0.00233,"13.1":0.06745},B:{"12":0.02559,"13":0.00233,"14":0.00233,"15":0.01861,"16":0.00233,"17":0.00698,"18":0.03489,"79":0,"80":0,"81":0.00465,"83":0.04652,"84":0.02791},I:{"3":0,"4":0.01309,_:"81","2.1":0,"2.2":0,"2.3":0.00131,"4.1":0.02225,"4.2-4.3":0.03664,"4.4":0,"4.4.3-4.4.4":0.23161},P:{"4":1.42794,"5.0-5.4":0.06034,"6.2-6.4":0.17095,"7.2-7.4":1.06593,"8.2":0.0905,"9.2":0.95531,"10.1":0.82459,"11.1-11.2":1.11621,"12.0":2.0313},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01355,"9":0.00339,"10":0.00339,"11":0.13213,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":73.01437},S:{"2.5":0},R:{_:"0"},M:{"0":0.15348},Q:{"10.4":0.00767},O:{"0":0.57555},H:{"0":0.92269}}; diff --git a/node_modules/caniuse-lite/data/regions/MS.js b/node_modules/caniuse-lite/data/regions/MS.js new file mode 100644 index 000000000..01d5b2f0b --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MS.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0.02862,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.02862,"44":0.01908,"45":0.01908,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.0477,"53":0,"54":0,"55":0.07631,"56":0,"57":0,"58":0,"59":0.01908,"60":0.00954,"61":0,"62":0,"63":0.18124,"64":12.32439,"65":0.26709,"66":0.08585,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.01908,"74":0.00954,"75":0.03816,"76":0.02862,"77":0.00954,"78":0.20032,"79":0.00954,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00954,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.01908,"67":0.00954,"68":0,"69":0.00954,"70":0.1717,"71":33.34834,"72":20.27038,"73":19.58357,"74":0,"75":0.00954,"76":0,"77":0,"78":0,"79":0.09539,"80":0.03816,"81":0.29571,"83":0.91574,"84":0.54372,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00954,"34":0,"35":0,"36":0,"37":0.00954,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.02862,"57":0.03816,"58":0.00954,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.10493,"69":0,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.02862},G:{"8":0,"3.2":0.00078,"4.0-4.1":0.00078,"4.2-4.3":0.00078,"5.0-5.1":0.00233,"6.0-6.1":0.00078,"7.0-7.1":0.00311,"8.1-8.4":0.00466,"9.0-9.2":0.00621,"9.3":0.05124,"10.0-10.2":0.0132,"10.3":0.0621,"11.0-11.2":0.0458,"11.3-11.4":0.0722,"12.0-12.1":0.09782,"12.2-12.4":0.59543,"13.0-13.1":0.11101,"13.2":0.05434,"13.3":0.54264,"13.4-13.5":1.31196,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.01908,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":0},B:{"12":0,"13":0.09539,"14":0,"15":0.00954,"16":0,"17":0.06677,"18":0.1717,"79":0,"80":0,"81":0,"83":0.00954,"84":0},I:{"3":0,"4":0.00506,_:"81","2.1":0,"2.2":0,"2.3":0.00051,"4.1":0.00859,"4.2-4.3":0.01416,"4.4":0,"4.4.3-4.4.4":0.08949},P:{"4":0,"5.0-5.4":0.10279,"6.2-6.4":0,"7.2-7.4":0.02056,"8.2":0.05139,"9.2":0.04111,"10.1":0,"11.1-11.2":0.05139,"12.0":0.01028},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.66925,"9":0.09699,"10":0.07759,"11":0.31038,"5.5":0},J:{"7":0,"10":0.00692},N:{"10":0.03112,"11":0.01037},L:{"0":4.43411},S:{"2.5":0},R:{_:"0"},M:{"0":0.02766},Q:{"10.4":0.00692},O:{"0":0.05532},H:{"0":0.11173}}; diff --git a/node_modules/caniuse-lite/data/regions/MT.js b/node_modules/caniuse-lite/data/regions/MT.js new file mode 100644 index 000000000..a9d2a8a9f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00605,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01209,"49":0,"50":0,"51":0,"52":0.03627,"53":0,"54":0,"55":0,"56":0.09068,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.00605,"65":0,"66":0,"67":0,"68":0.09672,"69":0.00605,"70":0,"71":0,"72":0.00605,"73":0.00605,"74":0.02418,"75":0.01209,"76":0.01209,"77":0.33852,"78":0.99743,"79":0.04836,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01209,"39":0,"40":0,"41":0.00605,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.40502,"50":0.00605,"51":0,"52":0,"53":0.00605,"54":0,"55":0,"56":0.00605,"57":0,"58":0,"59":0.00605,"60":0,"61":0.01209,"62":0,"63":0.00605,"64":0,"65":0.00605,"66":0.00605,"67":0.03023,"68":0.01209,"69":0.39897,"70":0.02418,"71":0.01814,"72":0.01209,"73":0.01209,"74":0.01209,"75":0.07254,"76":0.0665,"77":0.03627,"78":0.05441,"79":0.0665,"80":0.12695,"81":0.25994,"83":16.44845,"84":8.89824,"85":0.00605,"86":0.00605,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00605,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01209,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0.00605,"63":0,"64":0,"65":0,"66":0.00605,"67":0.01814,"68":0.29621,"69":0.12695,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00395,"4.0-4.1":0.00395,"4.2-4.3":0.00395,"5.0-5.1":0.01184,"6.0-6.1":0.00395,"7.0-7.1":0.01579,"8.1-8.4":0.02368,"9.0-9.2":0.03158,"9.3":0.26053,"10.0-10.2":0.06711,"10.3":0.3158,"11.0-11.2":0.2329,"11.3-11.4":0.36711,"12.0-12.1":0.49738,"12.2-12.4":3.0277,"13.0-13.1":0.56449,"13.2":0.27632,"13.3":2.75927,"13.4-13.5":6.67121,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.04836,"12":0.03023,"13":0.33852,"14":0.00605,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0.00605,"7.1":0,"9.1":0.01814,"10.1":0.03627,"11.1":0.07859,"12.1":0.10881,"13.1":2.20038},B:{"12":0,"13":0.01209,"14":0.00605,"15":0.01209,"16":0.01209,"17":0.0665,"18":0.56219,"79":0,"80":0,"81":0.03023,"83":0.79794,"84":0.65891},I:{"3":0,"4":0.02365,_:"81","2.1":0,"2.2":0,"2.3":0.00237,"4.1":0.04021,"4.2-4.3":0.06623,"4.4":0,"4.4.3-4.4.4":0.41867},P:{"4":0.16868,"5.0-5.4":0,"6.2-6.4":0.02108,"7.2-7.4":0.02108,"8.2":0.01054,"9.2":0.05271,"10.1":0.05271,"11.1-11.2":0.39007,"12.0":2.53017},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.65891,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":42.74007},S:{"2.5":0},R:{_:"0"},M:{"0":0.07515},Q:{"10.4":0},O:{"0":0.19775},H:{"0":0.17598}}; diff --git a/node_modules/caniuse-lite/data/regions/MU.js b/node_modules/caniuse-lite/data/regions/MU.js new file mode 100644 index 000000000..25c0cc346 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MU.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.00455,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00455,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00455,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00909,"49":0,"50":0,"51":0,"52":0.04546,"53":0,"54":0,"55":0.00909,"56":0.01818,"57":0,"58":0,"59":0,"60":0.00455,"61":0,"62":0.02728,"63":0,"64":0,"65":0,"66":0.00455,"67":0,"68":0.13638,"69":0.00455,"70":0.00455,"71":0.00455,"72":0.00909,"73":0,"74":0.00455,"75":0,"76":0.02273,"77":0.23185,"78":1.03194,"79":0.05455,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00455,"35":0,"36":0,"37":0,"38":0.02273,"39":0.00455,"40":0.00909,"41":0,"42":0.00455,"43":0.00455,"44":0,"45":0,"46":0.00455,"47":0,"48":0,"49":0.12729,"50":0.00455,"51":0,"52":0.00455,"53":0.01818,"54":0,"55":0.01364,"56":0,"57":0,"58":0.00455,"59":0,"60":0,"61":0,"62":0,"63":0.01364,"64":0.00455,"65":0.02273,"66":0.00455,"67":0.00455,"68":0.00455,"69":0.00455,"70":0.00455,"71":0.00909,"72":0.12729,"73":0.01364,"74":0.02273,"75":0.03182,"76":0.05001,"77":0.02273,"78":0.04546,"79":0.10456,"80":0.09547,"81":0.30004,"83":7.36907,"84":5.38701,"85":0.01364,"86":0.00455,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00455,"48":0,"49":0,"50":0.02728,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.00455,"64":0,"65":0,"66":0,"67":0,"68":0.21821,"69":0.14093,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00201,"4.0-4.1":0.00201,"4.2-4.3":0.00201,"5.0-5.1":0.00604,"6.0-6.1":0.00201,"7.0-7.1":0.00806,"8.1-8.4":0.01209,"9.0-9.2":0.01612,"9.3":0.13295,"10.0-10.2":0.03425,"10.3":0.16115,"11.0-11.2":0.11885,"11.3-11.4":0.18734,"12.0-12.1":0.25382,"12.2-12.4":1.54507,"13.0-13.1":0.28806,"13.2":0.14101,"13.3":1.40808,"13.4-13.5":3.40438,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00455,"11":0.00909,"12":0.0591,"13":0.22275,"14":0.00455,_:"0","3.1":0,"3.2":0,"5.1":0.05001,"6.1":0,"7.1":0,"9.1":0.00455,"10.1":0.01364,"11.1":0.20912,"12.1":0.21821,"13.1":1.10013},B:{"12":0.00455,"13":0.00455,"14":0.00455,"15":0.00455,"16":0.01364,"17":0.07274,"18":0.33186,"79":0,"80":0,"81":0.00909,"83":0.45005,"84":0.37277},I:{"3":0,"4":0.00936,_:"81","2.1":0,"2.2":0,"2.3":0.00094,"4.1":0.01592,"4.2-4.3":0.02622,"4.4":0,"4.4.3-4.4.4":0.16575},P:{"4":0.26633,"5.0-5.4":0.01024,"6.2-6.4":0.01024,"7.2-7.4":0.21511,"8.2":0.06146,"9.2":0.22536,"10.1":0.13317,"11.1-11.2":0.83997,"12.0":4.29205},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0.00922,"11":1.25911,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":59.93716},S:{"2.5":0},R:{_:"0"},M:{"0":0.25634},Q:{"10.4":0.00545},O:{"0":0.67084},H:{"0":0.80034}}; diff --git a/node_modules/caniuse-lite/data/regions/MV.js b/node_modules/caniuse-lite/data/regions/MV.js new file mode 100644 index 000000000..7da27f996 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MV.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00443,"27":0.03547,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00443,"48":0,"49":0,"50":0.00443,"51":0,"52":0.00443,"53":0,"54":0,"55":0,"56":0.00443,"57":0.00443,"58":0,"59":0,"60":0,"61":0,"62":0.00443,"63":0,"64":0,"65":0.00443,"66":0,"67":0.00887,"68":0.4168,"69":0.00443,"70":0.00887,"71":0.01774,"72":0.0133,"73":0.00887,"74":0.0266,"75":0.00443,"76":0.0133,"77":0.26161,"78":1.06416,"79":0.09755,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00443,"21":0,"22":0,"23":0.0133,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00443,"39":0,"40":0.00887,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00443,"48":0,"49":0.01774,"50":0,"51":0,"52":0,"53":0,"54":0.00443,"55":0.00443,"56":0.00887,"57":0.00443,"58":0.00443,"59":0,"60":0,"61":0.00443,"62":0,"63":0.00887,"64":0.00887,"65":0,"66":0,"67":0,"68":0.00887,"69":0.17293,"70":0.0133,"71":0.0266,"72":0.00887,"73":0.05321,"74":0.16406,"75":0.01774,"76":0.02217,"77":0.0133,"78":0.03104,"79":0.05764,"80":0.15519,"81":0.10642,"83":9.0764,"84":5.02372,"85":0.0133,"86":0.00887,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00443,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.18179,"69":0.07981,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00498,"4.0-4.1":0.00498,"4.2-4.3":0.00498,"5.0-5.1":0.01494,"6.0-6.1":0.00498,"7.0-7.1":0.01992,"8.1-8.4":0.02989,"9.0-9.2":0.03985,"9.3":0.32876,"10.0-10.2":0.08468,"10.3":0.3985,"11.0-11.2":0.29389,"11.3-11.4":0.46325,"12.0-12.1":0.62763,"12.2-12.4":3.8206,"13.0-13.1":0.71232,"13.2":0.34869,"13.3":3.48188,"13.4-13.5":8.41827,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00443,"11":0.00443,"12":0.00887,"13":0.17736,"14":0.01774,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00443,"10.1":0.00443,"11.1":0.04434,"12.1":0.08868,"13.1":0.75821},B:{"12":0.00887,"13":0.00443,"14":0.00443,"15":0.00443,"16":0.00887,"17":0.0266,"18":0.15962,"79":0,"80":0,"81":0.03104,"83":0.19066,"84":0.15076},I:{"3":0,"4":0.01793,_:"81","2.1":0,"2.2":0,"2.3":0.00179,"4.1":0.03049,"4.2-4.3":0.05021,"4.4":0,"4.4.3-4.4.4":0.31741},P:{"4":0.17677,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.05199,"8.2":0.0208,"9.2":0.07279,"10.1":0.07279,"11.1-11.2":0.6343,"12.0":1.25819},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00479,"9":0,"10":0,"11":0.11493,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":54.37752},S:{"2.5":0},R:{_:"0"},M:{"0":0.34509},Q:{"10.4":0.0167},O:{"0":1.4249},H:{"0":0.28455}}; diff --git a/node_modules/caniuse-lite/data/regions/MW.js b/node_modules/caniuse-lite/data/regions/MW.js new file mode 100644 index 000000000..294205fda --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MW.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00365,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00365,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00731,"28":0,"29":0.01461,"30":0.00365,"31":0,"32":0,"33":0,"34":0.00365,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00731,"44":0,"45":0.00365,"46":0.00365,"47":0.02557,"48":0.00365,"49":0.00731,"50":0,"51":0,"52":0.01461,"53":0,"54":0.00365,"55":0,"56":0.00365,"57":0.00731,"58":0,"59":0,"60":0.00365,"61":0.01461,"62":0.00365,"63":0,"64":0,"65":0.00731,"66":0.00365,"67":0.00731,"68":0.07671,"69":0.00365,"70":0.00365,"71":0.00365,"72":0.02557,"73":0.00731,"74":0.00365,"75":0.00365,"76":0.02922,"77":0.32146,"78":1.02649,"79":0.13516,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00365,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00365,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00365,"34":0,"35":0.00365,"36":0,"37":0,"38":0,"39":0,"40":0.02192,"41":0,"42":0,"43":0.00365,"44":0,"45":0,"46":0.01461,"47":0,"48":0.00365,"49":0.01827,"50":0.00365,"51":0,"52":0.00365,"53":0,"54":0,"55":0.01827,"56":0,"57":0.00365,"58":0.01096,"59":0.00365,"60":0.00365,"61":0.00731,"62":0.00731,"63":0.04018,"64":0.01096,"65":0.00731,"66":0.00365,"67":0.00365,"68":0.00731,"69":0.02557,"70":0.01827,"71":0.01096,"72":0.01096,"73":0.00731,"74":0.04384,"75":0.00731,"76":0.00731,"77":0.01461,"78":0.02192,"79":0.04018,"80":0.13516,"81":0.15708,"83":3.59455,"84":2.42925,"85":0.00365,"86":0.01096,"87":0},F:{"9":0,"11":0,"12":0.01461,"15":0.02192,"16":0,"17":0,"18":0,"19":0.01096,"20":0.00365,"21":0.00365,"22":0,"23":0.00365,"24":0,"25":0,"26":0.00365,"27":0.01827,"28":0.00731,"29":0,"30":0,"31":0,"32":0.00365,"33":0.00731,"34":0.00365,"35":0.00365,"36":0.00731,"37":0.00365,"38":0.00365,"39":0,"40":0,"41":0,"42":0.01827,"43":0,"44":0.00365,"45":0.02557,"46":0.01461,"47":0.01461,"48":0.00365,"49":0,"50":0.07671,"51":0.00365,"52":0,"53":0.00731,"54":0.00365,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0.00365,"66":0.00365,"67":0.01827,"68":0.35799,"69":0.21918,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0621},G:{"8":0,"3.2":0.00109,"4.0-4.1":0.00109,"4.2-4.3":0.00109,"5.0-5.1":0.00326,"6.0-6.1":0.00109,"7.0-7.1":0.00435,"8.1-8.4":0.00652,"9.0-9.2":0.00869,"9.3":0.07173,"10.0-10.2":0.01848,"10.3":0.08695,"11.0-11.2":0.06412,"11.3-11.4":0.10108,"12.0-12.1":0.13694,"12.2-12.4":0.83362,"13.0-13.1":0.15542,"13.2":0.07608,"13.3":0.75972,"13.4-13.5":1.8368,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.04384,"10":0.02557,"11":0.01827,"12":0.01096,"13":0.04384,"14":0.00365,_:"0","3.1":0,"3.2":0,"5.1":0.0548,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00365,"11.1":0.00731,"12.1":0.0621,"13.1":0.27032},B:{"12":0.10228,"13":0.03288,"14":0.01827,"15":0.02922,"16":0.02557,"17":0.56622,"18":0.47489,"79":0,"80":0,"81":0.03288,"83":0.28493,"84":0.179},I:{"3":0,"4":0.016,_:"81","2.1":0,"2.2":0,"2.3":0.0016,"4.1":0.02721,"4.2-4.3":0.04481,"4.4":0,"4.4.3-4.4.4":0.28326},P:{"4":1.02922,"5.0-5.4":0.06114,"6.2-6.4":0.03057,"7.2-7.4":0.1019,"8.2":0.04076,"9.2":0.17323,"10.1":0.24457,"11.1-11.2":0.95789,"12.0":1.41645},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.07795,"9":0.00821,"10":0,"11":0.18051,"5.5":0},J:{"7":0,"10":0.22215},N:{"10":0,"11":0.09521},L:{"0":55.53327},S:{"2.5":0},R:{_:"0"},M:{"0":0.24119},Q:{"10.4":0.18406},O:{"0":7.78777},H:{"0":7.11457}}; diff --git a/node_modules/caniuse-lite/data/regions/MX.js b/node_modules/caniuse-lite/data/regions/MX.js new file mode 100644 index 000000000..ace10c192 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MX.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.19565,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00559,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00559,"48":0.01118,"49":0,"50":0,"51":0,"52":0.01677,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00559,"61":0,"62":0,"63":0,"64":0.00559,"65":0,"66":0.01118,"67":0,"68":0.07267,"69":0.00559,"70":0.00559,"71":0.00559,"72":0.01118,"73":0.00559,"74":0.00559,"75":0.00559,"76":0.01677,"77":0.30745,"78":1.24657,"79":0.07267,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00559,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00559,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.15652,"50":0.00559,"51":0,"52":0.00559,"53":0.01118,"54":0,"55":0,"56":0,"57":0,"58":0.00559,"59":0,"60":0,"61":0.00559,"62":0.00559,"63":0.01677,"64":0.00559,"65":0.03913,"66":0.01118,"67":0.05031,"68":0.00559,"69":0.01118,"70":0.02795,"71":0.03913,"72":0.03354,"73":0.02795,"74":0.03354,"75":0.03913,"76":0.03354,"77":0.03913,"78":0.0559,"79":0.08385,"80":0.1677,"81":0.17329,"83":13.22594,"84":8.68127,"85":0.01118,"86":0.00559,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00559,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.48633,"69":0.19565,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00272,"4.0-4.1":0.00272,"4.2-4.3":0.00272,"5.0-5.1":0.00817,"6.0-6.1":0.00272,"7.0-7.1":0.01089,"8.1-8.4":0.01634,"9.0-9.2":0.02178,"9.3":0.17971,"10.0-10.2":0.04629,"10.3":0.21783,"11.0-11.2":0.16065,"11.3-11.4":0.25322,"12.0-12.1":0.34308,"12.2-12.4":2.08842,"13.0-13.1":0.38937,"13.2":0.1906,"13.3":1.90327,"13.4-13.5":4.6016,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00559,"9":0.01118,"10":0.00559,"11":0.01677,"12":0.06149,"13":0.25714,"14":0.00559,_:"0","3.1":0,"3.2":0,"5.1":0.14534,"6.1":0,"7.1":0,"9.1":0.01118,"10.1":0.04472,"11.1":0.10621,"12.1":0.20683,"13.1":1.81675},B:{"12":0,"13":0,"14":0.00559,"15":0.00559,"16":0.01118,"17":0.03354,"18":0.34658,"79":0,"80":0,"81":0.02236,"83":0.49192,"84":0.44161},I:{"3":0,"4":0.00774,_:"81","2.1":0,"2.2":0,"2.3":0.00077,"4.1":0.01316,"4.2-4.3":0.02167,"4.4":0,"4.4.3-4.4.4":0.13697},P:{"4":0.11502,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.03137,"8.2":0.01046,"9.2":0.04182,"10.1":0.05228,"11.1-11.2":0.20912,"12.0":0.83648},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0117,"9":0.00585,"10":0.00585,"11":0.22815,"5.5":0},J:{"7":0,"10":0.00441},N:{"10":0,"11":0},L:{"0":56.23506},S:{"2.5":0},R:{_:"0"},M:{"0":0.11907},Q:{"10.4":0.00441},O:{"0":0.05733},H:{"0":0.1169}}; diff --git a/node_modules/caniuse-lite/data/regions/MY.js b/node_modules/caniuse-lite/data/regions/MY.js new file mode 100644 index 000000000..e354dea6d --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MY.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01015,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00508,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00508,"48":0.01015,"49":0,"50":0,"51":0,"52":0.03553,"53":0,"54":0,"55":0,"56":0.00508,"57":0,"58":0,"59":0,"60":0.01015,"61":0,"62":0,"63":0.00508,"64":0.00508,"65":0.00508,"66":0.00508,"67":0,"68":0.07614,"69":0.00508,"70":0.00508,"71":0,"72":0.01523,"73":0.00508,"74":0.00508,"75":0.00508,"76":0.01015,"77":0.26395,"78":1.03043,"79":0.07614,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00508,"23":0,"24":0,"25":0,"26":0.00508,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.0203,"35":0,"36":0,"37":0,"38":0.06091,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.13705,"50":0.00508,"51":0.00508,"52":0.00508,"53":0.11167,"54":0.00508,"55":0.06599,"56":0.01523,"57":0.00508,"58":0.0203,"59":0.01523,"60":0.00508,"61":0.01015,"62":0.01015,"63":0.0203,"64":0.00508,"65":0.03046,"66":0.01015,"67":0.03553,"68":0.0203,"69":0.03046,"70":0.05076,"71":0.06599,"72":0.05076,"73":0.16243,"74":0.10152,"75":0.06599,"76":0.04568,"77":0.05584,"78":0.09644,"79":0.1269,"80":0.20304,"81":0.23857,"83":11.79662,"84":6.29932,"85":0.02538,"86":0.00508,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00508,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.0203,"37":0.03553,"38":0,"39":0,"40":0.00508,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01015,"51":0,"52":0,"53":0,"54":0.00508,"55":0.00508,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.1472,"69":0.07106,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00387,"4.0-4.1":0.00387,"4.2-4.3":0.00387,"5.0-5.1":0.0116,"6.0-6.1":0.00387,"7.0-7.1":0.01547,"8.1-8.4":0.0232,"9.0-9.2":0.03094,"9.3":0.25525,"10.0-10.2":0.06575,"10.3":0.3094,"11.0-11.2":0.22818,"11.3-11.4":0.35968,"12.0-12.1":0.4873,"12.2-12.4":2.96635,"13.0-13.1":0.55305,"13.2":0.27072,"13.3":2.70336,"13.4-13.5":6.53603,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00508,"9":0,"10":0.00508,"11":0.01015,"12":0.0203,"13":0.16243,"14":0.00508,_:"0","3.1":0,"3.2":0,"5.1":0.0203,"6.1":0,"7.1":0,"9.1":0.00508,"10.1":0.0203,"11.1":0.06091,"12.1":0.09137,"13.1":1.04058},B:{"12":0,"13":0,"14":0,"15":0,"16":0.00508,"17":0.0203,"18":0.13198,"79":0,"80":0,"81":0.01015,"83":0.29948,"84":0.20304},I:{"3":0,"4":0.0058,_:"81","2.1":0,"2.2":0,"2.3":0.00058,"4.1":0.00987,"4.2-4.3":0.01625,"4.4":0,"4.4.3-4.4.4":0.10273},P:{"4":0.65197,"5.0-5.4":0.01035,"6.2-6.4":0.0207,"7.2-7.4":0.05174,"8.2":0.0207,"9.2":0.11384,"10.1":0.09314,"11.1-11.2":0.35186,"12.0":1.12801},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01802,"9":0.01202,"10":0.00601,"11":0.25836,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":53.23032},S:{"2.5":0},R:{_:"0"},M:{"0":0.12802},Q:{"10.4":0.02954},O:{"0":1.08328},H:{"0":0.7552}}; diff --git a/node_modules/caniuse-lite/data/regions/MZ.js b/node_modules/caniuse-lite/data/regions/MZ.js new file mode 100644 index 000000000..5c06f0acd --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/MZ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00407,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00407,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00407,"42":0,"43":0.00407,"44":0,"45":0.00407,"46":0,"47":0,"48":0.00407,"49":0,"50":0,"51":0,"52":0.03667,"53":0.00407,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0.00407,"60":0.01222,"61":0.00407,"62":0,"63":0.00407,"64":0,"65":0,"66":0.0163,"67":0,"68":0.06518,"69":0.00407,"70":0.00407,"71":0.00407,"72":0.00815,"73":0.00815,"74":0.00407,"75":0.01222,"76":0.0163,"77":0.23222,"78":0.87998,"79":0.07741,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00815,"34":0,"35":0,"36":0.00407,"37":0,"38":0.00407,"39":0,"40":0.03259,"41":0.00407,"42":0.00407,"43":0.08555,"44":0,"45":0.00407,"46":0.00815,"47":0,"48":0,"49":0.04074,"50":0.00407,"51":0,"52":0,"53":0.00407,"54":0,"55":0.03259,"56":0,"57":0,"58":0.00407,"59":0,"60":0.01222,"61":0.00407,"62":0,"63":0.03667,"64":0.00407,"65":0.03259,"66":0.00407,"67":0.0163,"68":0.00407,"69":0.0163,"70":0.01222,"71":0.05296,"72":0.04074,"73":0.02852,"74":0.04481,"75":0.0163,"76":0.0163,"77":0.02852,"78":0.02444,"79":0.04074,"80":0.14666,"81":0.15889,"83":5.01917,"84":3.20216,"85":0.01222,"86":0.01222,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00407,"23":0.00407,"24":0,"25":0,"26":0.00815,"27":0,"28":0.00407,"29":0,"30":0,"31":0,"32":0.02444,"33":0,"34":0,"35":0.00815,"36":0.00407,"37":0.00407,"38":0,"39":0.00407,"40":0,"41":0,"42":0.00407,"43":0,"44":0,"45":0.00407,"46":0.01222,"47":0.00815,"48":0,"49":0,"50":0.06111,"51":0.00407,"52":0,"53":0.00815,"54":0,"55":0,"56":0.00407,"57":0,"58":0.00407,"60":0,"62":0,"63":0,"64":0,"65":0.00407,"66":0.00407,"67":0.00407,"68":0.6274,"69":0.3911,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.04889},G:{"8":0,"3.2":0.00161,"4.0-4.1":0.00161,"4.2-4.3":0.00161,"5.0-5.1":0.00482,"6.0-6.1":0.00161,"7.0-7.1":0.00643,"8.1-8.4":0.00964,"9.0-9.2":0.01285,"9.3":0.10602,"10.0-10.2":0.02731,"10.3":0.12851,"11.0-11.2":0.09478,"11.3-11.4":0.1494,"12.0-12.1":0.20241,"12.2-12.4":1.23212,"13.0-13.1":0.22972,"13.2":0.11245,"13.3":1.12288,"13.4-13.5":2.71484,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.02444,"12":0.0163,"13":0.08555,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.13444,"6.1":0,"7.1":0,"9.1":0,"10.1":0.04074,"11.1":0.04074,"12.1":0.04074,"13.1":0.53369},B:{"12":0.02852,"13":0.01222,"14":0.0163,"15":0.04074,"16":0.0163,"17":0.05296,"18":0.38296,"79":0,"80":0,"81":0.01222,"83":0.31777,"84":0.23629},I:{"3":0,"4":0.01176,_:"81","2.1":0,"2.2":0,"2.3":0.00118,"4.1":0.02,"4.2-4.3":0.03294,"4.4":0,"4.4.3-4.4.4":0.2082},P:{"4":1.54231,"5.0-5.4":0.06048,"6.2-6.4":0.04032,"7.2-7.4":0.25201,"8.2":0.02016,"9.2":0.22177,"10.1":0.30241,"11.1-11.2":0.56451,"12.0":0.80644},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03282,"9":0,"10":0,"11":0.35013,"5.5":0},J:{"7":0,"10":0.07111},N:{"10":0.0237,"11":0},L:{"0":61.85833},S:{"2.5":0},R:{_:"0"},M:{"0":0.10667},Q:{"10.4":0.08889},O:{"0":0.64001},H:{"0":6.94562}}; diff --git a/node_modules/caniuse-lite/data/regions/NA.js b/node_modules/caniuse-lite/data/regions/NA.js new file mode 100644 index 000000000..8d2f30cdc --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00497,"28":0,"29":0.00497,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.01986,"48":0.00993,"49":0,"50":0,"51":0,"52":0.03972,"53":0,"54":0,"55":0,"56":0.00497,"57":0.00497,"58":0,"59":0,"60":0.00993,"61":0,"62":0.00497,"63":0,"64":0,"65":0,"66":0,"67":0.00497,"68":0.4121,"69":0,"70":0.00497,"71":0,"72":0.0149,"73":0.04469,"74":0.00993,"75":0.00993,"76":0.02979,"77":0.45678,"78":1.56894,"79":0.15888,"80":0.00497,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00497,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00497,"37":0,"38":0.00497,"39":0,"40":0.04469,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00497,"47":0,"48":0,"49":0.05958,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.02979,"58":0.01986,"59":0.00497,"60":0.03972,"61":0,"62":0.00497,"63":0.04469,"64":0.00497,"65":0.02979,"66":0.00993,"67":0,"68":0,"69":0.03476,"70":0.0149,"71":0.01986,"72":0.00497,"73":0.02483,"74":0.01986,"75":0.0149,"76":0.01986,"77":0.01986,"78":0.03476,"79":0.03476,"80":0.20357,"81":0.30783,"83":7.96386,"84":4.74158,"85":0.00993,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00497,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.02979,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.00497,"62":0,"63":0,"64":0,"65":0.00497,"66":0,"67":0.00497,"68":0.50147,"69":0.32769,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00993},G:{"8":0,"3.2":0.00225,"4.0-4.1":0.00225,"4.2-4.3":0.00225,"5.0-5.1":0.00675,"6.0-6.1":0.00225,"7.0-7.1":0.00901,"8.1-8.4":0.01351,"9.0-9.2":0.01801,"9.3":0.14858,"10.0-10.2":0.03827,"10.3":0.1801,"11.0-11.2":0.13283,"11.3-11.4":0.20937,"12.0-12.1":0.28366,"12.2-12.4":1.72674,"13.0-13.1":0.32193,"13.2":0.15759,"13.3":1.57365,"13.4-13.5":3.80468,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.04469,"12":0.03972,"13":0.18867,"14":0.00497,_:"0","3.1":0,"3.2":0,"5.1":0.24825,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00993,"11.1":0.05462,"12.1":0.07448,"13.1":0.94832},B:{"12":0.02483,"13":0.02483,"14":0.0149,"15":0.02979,"16":0.02979,"17":0.0993,"18":1.1916,"79":0,"80":0,"81":0.03972,"83":0.76958,"84":0.53126},I:{"3":0,"4":0.01157,_:"81","2.1":0,"2.2":0,"2.3":0.00116,"4.1":0.01966,"4.2-4.3":0.03239,"4.4":0,"4.4.3-4.4.4":0.20474},P:{"4":0.70532,"5.0-5.4":0,"6.2-6.4":0.03067,"7.2-7.4":0.85865,"8.2":0.07155,"9.2":0.22488,"10.1":0.27599,"11.1-11.2":1.21642,"12.0":2.37151},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01555,"9":0.00518,"10":0,"11":1.04178,"5.5":0},J:{"7":0,"10":0.01511},N:{"10":0,"11":0},L:{"0":55.53446},S:{"2.5":0},R:{_:"0"},M:{"0":0.54882},Q:{"10.4":0.02518},O:{"0":0.8056},H:{"0":1.05347}}; diff --git a/node_modules/caniuse-lite/data/regions/NC.js b/node_modules/caniuse-lite/data/regions/NC.js new file mode 100644 index 000000000..ad18cd880 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NC.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00647,"28":0,"29":0,"30":0.01293,"31":0.02587,"32":0.03234,"33":0.02587,"34":0.03234,"35":0.01293,"36":0.02587,"37":0.01293,"38":0.0388,"39":0.0194,"40":0.02587,"41":0.0582,"42":0.0388,"43":0.0582,"44":0.03234,"45":0.06467,"46":0.0194,"47":0.05174,"48":0.08407,"49":0.03234,"50":0.03234,"51":0.02587,"52":0.13581,"53":0.0194,"54":0.04527,"55":0.02587,"56":0.0388,"57":0.0582,"58":0.0388,"59":0.04527,"60":0.21341,"61":0.02587,"62":0.0194,"63":0.03234,"64":0.01293,"65":0.02587,"66":0.02587,"67":0.0776,"68":0.29748,"69":0.0194,"70":0.0194,"71":0.01293,"72":0.0582,"73":0.0194,"74":0.02587,"75":0.01293,"76":0.03234,"77":1.12526,"78":5.12186,"79":0.17461,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0.00647,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00647,"12":0.00647,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.01293,"22":0.00647,"23":0,"24":0,"25":0,"26":0.01293,"27":0,"28":0,"29":0,"30":0.00647,"31":0.02587,"32":0.00647,"33":0.00647,"34":0.01293,"35":0.00647,"36":0.0194,"37":0.01293,"38":0.02587,"39":0.0194,"40":0.00647,"41":0.03234,"42":0.00647,"43":0.01293,"44":0.01293,"45":0.01293,"46":0.06467,"47":0.06467,"48":0.0194,"49":0.20048,"50":0.01293,"51":0.03234,"52":0.01293,"53":0.02587,"54":0.03234,"55":0.04527,"56":0.0582,"57":0.04527,"58":0.0388,"59":0.0388,"60":0.07114,"61":0.04527,"62":0.07114,"63":0.0776,"64":0.0582,"65":0.29748,"66":0.05174,"67":0.13581,"68":0.07114,"69":0.03234,"70":0.09054,"71":0.12934,"72":0.12287,"73":0.06467,"74":0.87305,"75":0.07114,"76":0.02587,"77":0.09054,"78":0.09054,"79":0.11641,"80":0.19401,"81":0.21341,"83":10.63822,"84":6.07251,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0.00647,"15":0.00647,"16":0.00647,"17":0,"18":0,"19":0.00647,"20":0.00647,"21":0.00647,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00647,"28":0,"29":0.00647,"30":0,"31":0,"32":0.01293,"33":0.00647,"34":0,"35":0,"36":0.00647,"37":0.00647,"38":0,"39":0.00647,"40":0.01293,"41":0.00647,"42":0,"43":0.00647,"44":0,"45":0.00647,"46":0.00647,"47":0,"48":0.00647,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.01293,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.31688,"69":0.27161,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.03234},G:{"8":0,"3.2":0.00439,"4.0-4.1":0.00439,"4.2-4.3":0.00439,"5.0-5.1":0.01318,"6.0-6.1":0.00439,"7.0-7.1":0.01757,"8.1-8.4":0.02636,"9.0-9.2":0.03515,"9.3":0.28998,"10.0-10.2":0.07469,"10.3":0.35149,"11.0-11.2":0.25922,"11.3-11.4":0.4086,"12.0-12.1":0.55359,"12.2-12.4":3.36989,"13.0-13.1":0.62829,"13.2":0.30755,"13.3":3.07113,"13.4-13.5":7.42519,_:"14.0"},E:{"4":0.0194,"5":0.0388,"6":0.01293,"7":0.0194,"8":0.0194,"9":0.0194,"10":0.01293,"11":0.06467,"12":0.0388,"13":0.6079,"14":0.01293,_:"0","3.1":0.0194,"3.2":0.01293,"5.1":0.01293,"6.1":0.02587,"7.1":0.01293,"9.1":0.03234,"10.1":0.05174,"11.1":0.14227,"12.1":0.27808,"13.1":3.2917},B:{"12":0.0194,"13":0.03234,"14":0.04527,"15":0.02587,"16":0.03234,"17":0.05174,"18":0.65963,"79":0.06467,"80":0,"81":0.01293,"83":1.04765,"84":0.69844},I:{"3":0,"4":0.02742,_:"81","2.1":0,"2.2":0,"2.3":0.00274,"4.1":0.04661,"4.2-4.3":0.07677,"4.4":0,"4.4.3-4.4.4":0.48532},P:{"4":0.33066,"5.0-5.4":0.01067,"6.2-6.4":0.02133,"7.2-7.4":0.30933,"8.2":0.032,"9.2":0.18133,"10.1":0.27733,"11.1-11.2":0.67199,"12.0":2.63461},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0.0194,"8":0.01293,"9":0.06467,"10":0.03234,"11":0.79544,"5.5":0},J:{"7":0,"10":0.02473},N:{"10":0.06152,"11":0.19993},L:{"0":34.36851},S:{"2.5":0},R:{_:"0"},M:{"0":0.23318},Q:{"10.4":0},O:{"0":0.0212},H:{"0":0.25086}}; diff --git a/node_modules/caniuse-lite/data/regions/NE.js b/node_modules/caniuse-lite/data/regions/NE.js new file mode 100644 index 000000000..63ec7cdf4 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00351,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0.00351,"17":0.00701,"18":0,"19":0,"20":0,"21":0.00351,"22":0,"23":0,"24":0,"25":0.00351,"26":0,"27":0,"28":0,"29":0,"30":0.00701,"31":0.00351,"32":0,"33":0.00351,"34":0,"35":0,"36":0.00351,"37":0,"38":0,"39":0.00351,"40":0,"41":0,"42":0,"43":0.00701,"44":0.00351,"45":0.00351,"46":0,"47":0.00351,"48":0.02805,"49":0.00351,"50":0,"51":0,"52":0.01402,"53":0,"54":0,"55":0,"56":0.00701,"57":0,"58":0,"59":0,"60":0.00351,"61":0,"62":0.00351,"63":0.00351,"64":0,"65":0.04558,"66":0.01753,"67":0,"68":0.0561,"69":0,"70":0,"71":0.00351,"72":0.00701,"73":0.02454,"74":0,"75":0.00351,"76":0.01052,"77":0.44877,"78":1.58471,"79":0.10869,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.00351,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00351,"37":0,"38":0,"39":0,"40":0.00351,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00351,"47":0,"48":0,"49":0.03155,"50":0,"51":0,"52":0,"53":0.00351,"54":0,"55":0.01402,"56":0,"57":0,"58":0.11219,"59":0,"60":0,"61":0.00351,"62":0,"63":0.00701,"64":0,"65":0.00351,"66":0.02454,"67":0,"68":0,"69":0.00701,"70":0.01052,"71":0,"72":0,"73":0,"74":0.00351,"75":0.01402,"76":0.12271,"77":0.00351,"78":0.02104,"79":0.10869,"80":0.24191,"81":0.1157,"83":2.37707,"84":1.40941,"85":0.00351,"86":0,"87":0},F:{"9":0,"11":0,"12":0.00351,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00701,"21":0,"22":0,"23":0.05259,"24":0.00351,"25":0,"26":0,"27":0.00351,"28":0.00351,"29":0,"30":0.00351,"31":0,"32":0,"33":0,"34":0.00351,"35":0,"36":0.00351,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.00351,"43":0,"44":0,"45":0.00351,"46":0.00701,"47":0.00701,"48":0,"49":0.00351,"50":0.09116,"51":0,"52":0,"53":0.00351,"54":0,"55":0,"56":0.00351,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0.00351,"66":0,"67":0.00351,"68":0.31554,"69":0.24893,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.02454},G:{"8":0,"3.2":0.00084,"4.0-4.1":0.00084,"4.2-4.3":0.00084,"5.0-5.1":0.00253,"6.0-6.1":0.00084,"7.0-7.1":0.00337,"8.1-8.4":0.00506,"9.0-9.2":0.00674,"9.3":0.05563,"10.0-10.2":0.01433,"10.3":0.06743,"11.0-11.2":0.04973,"11.3-11.4":0.07839,"12.0-12.1":0.1062,"12.2-12.4":0.64647,"13.0-13.1":0.12053,"13.2":0.059,"13.3":0.58915,"13.4-13.5":1.42442,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00351,"10":0.04908,"11":0,"12":0.08064,"13":0.03857,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.03857,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00351,"11.1":0.01052,"12.1":0.01052,"13.1":0.22789},B:{"12":0.01402,"13":0.01052,"14":0.00701,"15":0.01052,"16":0.01402,"17":0.07713,"18":0.18231,"79":0,"80":0,"81":0.01402,"83":0.18231,"84":0.14375},I:{"3":0,"4":0.08297,_:"81","2.1":0,"2.2":0,"2.3":0.0083,"4.1":0.14104,"4.2-4.3":0.23231,"4.4":0,"4.4.3-4.4.4":1.46853},P:{"4":0.12139,"5.0-5.4":0.02023,"6.2-6.4":0.01012,"7.2-7.4":0.09104,"8.2":0.01012,"9.2":0.11127,"10.1":0.09104,"11.1-11.2":0.24278,"12.0":0.35405},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.10273,"9":0.02568,"10":0,"11":2.08036,"5.5":0},J:{"7":0,"10":0.17534},N:{"10":0,"11":0.01299},L:{"0":66.04158},S:{"2.5":0.00649},R:{_:"0"},M:{"0":0.13637},Q:{"10.4":0.29872},O:{"0":5.72121},H:{"0":5.04144}}; diff --git a/node_modules/caniuse-lite/data/regions/NF.js b/node_modules/caniuse-lite/data/regions/NF.js new file mode 100644 index 000000000..f48e4a97a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NF.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0.05398,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.87049,"74":0.3239,"75":0,"76":0,"77":0.59382,"78":3.74514,"79":0,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.64781,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.05398,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0.48586,"80":0.64781,"81":2.49676,"83":9.1098,"84":7.92215,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00458,"4.0-4.1":0.00458,"4.2-4.3":0.00458,"5.0-5.1":0.01375,"6.0-6.1":0.00458,"7.0-7.1":0.01833,"8.1-8.4":0.02749,"9.0-9.2":0.03665,"9.3":0.30239,"10.0-10.2":0.07789,"10.3":0.36654,"11.0-11.2":0.27032,"11.3-11.4":0.4261,"12.0-12.1":0.5773,"12.2-12.4":3.51418,"13.0-13.1":0.65519,"13.2":0.32072,"13.3":3.20262,"13.4-13.5":7.7431,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":11.44461,"13":0.10797,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.10797,"13.1":0.59382},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.37789,"79":0,"80":0,"81":0,"83":1.14041,"84":0.21594},I:{"3":0,"4":0.00695,_:"81","2.1":0,"2.2":0,"2.3":0.0007,"4.1":0.01182,"4.2-4.3":0.01946,"4.4":0,"4.4.3-4.4.4":0.12303},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.50403,"10.1":0.16801,"11.1-11.2":0.75605,"12.0":2.19464},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":1.62627,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":32.4654},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/NG.js b/node_modules/caniuse-lite/data/regions/NG.js new file mode 100644 index 000000000..801aff9ae --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00259,"27":0.00517,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.02585,"44":0.00259,"45":0,"46":0,"47":0.01034,"48":0.00517,"49":0.00259,"50":0.00259,"51":0,"52":0.01293,"53":0,"54":0.00259,"55":0.00259,"56":0.00517,"57":0.00259,"58":0.00259,"59":0.00259,"60":0.00259,"61":0.00259,"62":0.00259,"63":0.00259,"64":0.00259,"65":0.00776,"66":0.00517,"67":0.00517,"68":0.10082,"69":0.00259,"70":0.00259,"71":0.00259,"72":0.01034,"73":0.00259,"74":0.00259,"75":0.00517,"76":0.00776,"77":0.15252,"78":0.50408,"79":0.07238,"80":0.00259,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00776,"41":0,"42":0,"43":0.00259,"44":0,"45":0,"46":0,"47":0.0181,"48":0,"49":0.00776,"50":0.00517,"51":0,"52":0,"53":0,"54":0,"55":0.00776,"56":0.00259,"57":0.00259,"58":0.01034,"59":0,"60":0.00259,"61":0.00259,"62":0.00517,"63":0.02068,"64":0.01293,"65":0.00517,"66":0.00517,"67":0.00259,"68":0.00259,"69":0.01034,"70":0.02068,"71":0.02068,"72":0.02068,"73":0.01551,"74":0.02844,"75":0.01551,"76":0.01551,"77":0.02327,"78":0.02844,"79":0.04136,"80":0.08789,"81":0.08014,"83":2.16882,"84":1.3106,"85":0.00517,"86":0.00259,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0.00259,"17":0,"18":0,"19":0.00259,"20":0.00776,"21":0,"22":0,"23":0.02585,"24":0.14993,"25":0.00517,"26":0.10599,"27":0.2249,"28":0.11891,"29":0.0181,"30":0.1215,"31":0.04653,"32":0.1215,"33":0.05946,"34":0.00259,"35":0.0181,"36":0.01034,"37":0.01034,"38":0.08789,"39":0.00517,"40":0,"41":0.01034,"42":0.1034,"43":0.00517,"44":0.01293,"45":0.06721,"46":0.31279,"47":0.27918,"48":0.00776,"49":0.00259,"50":1.48121,"51":0.01034,"52":0,"53":0.01293,"54":0.00517,"55":0.00259,"56":0.00517,"57":0.00517,"58":0.01551,"60":0.00259,"62":0,"63":0.00517,"64":0,"65":0.00259,"66":0,"67":0.00259,"68":0.14993,"69":0.09048,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.11116},G:{"8":0,"3.2":0.00133,"4.0-4.1":0.00133,"4.2-4.3":0.00133,"5.0-5.1":0.00398,"6.0-6.1":0.00133,"7.0-7.1":0.00531,"8.1-8.4":0.00796,"9.0-9.2":0.01061,"9.3":0.08756,"10.0-10.2":0.02255,"10.3":0.10613,"11.0-11.2":0.07827,"11.3-11.4":0.12338,"12.0-12.1":0.16716,"12.2-12.4":1.01755,"13.0-13.1":0.18971,"13.2":0.09287,"13.3":0.92734,"13.4-13.5":2.24207,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00259,"12":0.00259,"13":0.02327,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.02585,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00259,"11.1":0.00517,"12.1":0.01293,"13.1":0.08531},B:{"12":0.00776,"13":0.00517,"14":0.00259,"15":0.00776,"16":0.00259,"17":0.00776,"18":0.05946,"79":0,"80":0,"81":0.00517,"83":0.10082,"84":0.07238},I:{"3":0,"4":0.00637,_:"81","2.1":0,"2.2":0,"2.3":0.00064,"4.1":0.01083,"4.2-4.3":0.01784,"4.4":0,"4.4.3-4.4.4":0.11276},P:{"4":0.09132,"5.0-5.4":0.02029,"6.2-6.4":0,"7.2-7.4":0.07103,"8.2":0.01015,"9.2":0.13191,"10.1":0.11162,"11.1-11.2":0.31455,"12.0":0.40587},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01846,"9":0.00369,"10":0.00369,"11":0.0517,"5.5":0},J:{"7":0,"10":0.08157},N:{"10":0,"11":0},L:{"0":48.26963},S:{"2.5":0.02225},R:{_:"0"},M:{"0":0.47456},Q:{"10.4":0.02966},O:{"0":2.34314},H:{"0":26.43748}}; diff --git a/node_modules/caniuse-lite/data/regions/NI.js b/node_modules/caniuse-lite/data/regions/NI.js new file mode 100644 index 000000000..f8cf5ae09 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NI.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00644,"44":0,"45":0,"46":0,"47":0,"48":0.01287,"49":0.00644,"50":0,"51":0,"52":0.01287,"53":0,"54":0,"55":0,"56":0.00644,"57":0,"58":0.00644,"59":0,"60":0,"61":0.00644,"62":0,"63":0.01287,"64":0.01287,"65":0.00644,"66":0,"67":0.00644,"68":0.06435,"69":0.00644,"70":0.00644,"71":0,"72":0.02574,"73":0.00644,"74":0.00644,"75":0.01287,"76":0.02574,"77":0.37967,"78":1.73745,"79":0.1094,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01287,"39":0,"40":0,"41":0,"42":0.01931,"43":0.00644,"44":0.00644,"45":0,"46":0,"47":0,"48":0,"49":0.14157,"50":0,"51":0,"52":0.01287,"53":0.01287,"54":0,"55":0.00644,"56":0.00644,"57":0,"58":0.00644,"59":0,"60":0,"61":0.01287,"62":0,"63":0.03218,"64":0,"65":0.02574,"66":0.01287,"67":0.00644,"68":0.07079,"69":0.04505,"70":0.18018,"71":0.14157,"72":0.1094,"73":0.1287,"74":0.09653,"75":1.0103,"76":0.04505,"77":0.03218,"78":0.1094,"79":0.15444,"80":0.27671,"81":0.83655,"83":16.31916,"84":11.17116,"85":0.01287,"86":0.01287,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00644,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00644,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00644,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":1.0103,"62":0,"63":0.01287,"64":0,"65":0,"66":0,"67":0,"68":0.82368,"69":0.36036,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00127,"4.0-4.1":0.00127,"4.2-4.3":0.00127,"5.0-5.1":0.00381,"6.0-6.1":0.00127,"7.0-7.1":0.00508,"8.1-8.4":0.00762,"9.0-9.2":0.01016,"9.3":0.0838,"10.0-10.2":0.02158,"10.3":0.10157,"11.0-11.2":0.07491,"11.3-11.4":0.11808,"12.0-12.1":0.15997,"12.2-12.4":0.97381,"13.0-13.1":0.18156,"13.2":0.08887,"13.3":0.88748,"13.4-13.5":2.14569,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.05148,"10":0,"11":0,"12":0.04505,"13":0.12227,"14":0.01287,_:"0","3.1":0,"3.2":0,"5.1":0.74003,"6.1":0,"7.1":0,"9.1":0.01287,"10.1":0.02574,"11.1":0.03861,"12.1":0.05792,"13.1":1.01673},B:{"12":0.00644,"13":0.00644,"14":0.00644,"15":0.00644,"16":0.00644,"17":0.02574,"18":0.18018,"79":0,"80":0,"81":0.01287,"83":0.64994,"84":0.54054},I:{"3":0,"4":0.01196,_:"81","2.1":0,"2.2":0,"2.3":0.0012,"4.1":0.02033,"4.2-4.3":0.03348,"4.4":0,"4.4.3-4.4.4":0.21165},P:{"4":0.28082,"5.0-5.4":0.03009,"6.2-6.4":0.05015,"7.2-7.4":0.21062,"8.2":0.04012,"9.2":0.25073,"10.1":0.16047,"11.1-11.2":0.60176,"12.0":1.54452},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02194,"9":0.00731,"10":0.00731,"11":0.12431,"5.5":0},J:{"7":0,"10":0.00357},N:{"10":0,"11":0},L:{"0":48.91265},S:{"2.5":0},R:{_:"0"},M:{"0":0.07843},Q:{"10.4":0},O:{"0":0.24599},H:{"0":0.17888}}; diff --git a/node_modules/caniuse-lite/data/regions/NL.js b/node_modules/caniuse-lite/data/regions/NL.js new file mode 100644 index 000000000..a3b5495a0 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NL.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.02144,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.01608,"42":0,"43":0,"44":0,"45":0.00536,"46":0,"47":0.00536,"48":0.01072,"49":0,"50":0,"51":0,"52":0.03215,"53":0,"54":0,"55":0.01608,"56":0.01072,"57":0.00536,"58":0,"59":0.00536,"60":0.0268,"61":0.00536,"62":0.02144,"63":0.04823,"64":0.0268,"65":0.04287,"66":0.01608,"67":0.00536,"68":0.28939,"69":0.00536,"70":0.00536,"71":0.00536,"72":0.01608,"73":0.00536,"74":0.01608,"75":0.0268,"76":0.04823,"77":0.43408,"78":1.3719,"79":0.07503,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00536,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00536,"39":0,"40":0,"41":0.01072,"42":0,"43":0.00536,"44":0,"45":0,"46":0,"47":0.03215,"48":0.01608,"49":0.34834,"50":0.00536,"51":0,"52":0.01072,"53":0.00536,"54":0,"55":0.00536,"56":0.00536,"57":0.00536,"58":0.01072,"59":0.00536,"60":0.00536,"61":0.03751,"62":0.01072,"63":0.01608,"64":0.03751,"65":0.01072,"66":0.01608,"67":0.02144,"68":0.02144,"69":0.03215,"70":0.21972,"71":0.25187,"72":0.25723,"73":0.12862,"74":0.02144,"75":0.04287,"76":0.07503,"77":0.03751,"78":0.04823,"79":0.17149,"80":0.22508,"81":0.25187,"83":9.49079,"84":4.65697,"85":0.00536,"86":0.00536,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01608,"51":0,"52":0,"53":0.00536,"54":0,"55":0,"56":0.01072,"57":0.02144,"58":0.0268,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.22508,"69":0.11254,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00654,"4.0-4.1":0.00654,"4.2-4.3":0.00654,"5.0-5.1":0.01963,"6.0-6.1":0.00654,"7.0-7.1":0.02618,"8.1-8.4":0.03927,"9.0-9.2":0.05236,"9.3":0.43194,"10.0-10.2":0.11126,"10.3":0.52357,"11.0-11.2":0.38613,"11.3-11.4":0.60865,"12.0-12.1":0.82462,"12.2-12.4":5.01971,"13.0-13.1":0.93588,"13.2":0.45812,"13.3":4.57467,"13.4-13.5":11.06037,_:"14.0"},E:{"4":0.00536,"5":0,"6":0,"7":0,"8":0,"9":0.00536,"10":0.00536,"11":0.00536,"12":0.03215,"13":0.3001,"14":0.01072,_:"0","3.1":0,"3.2":0,"5.1":0.00536,"6.1":0,"7.1":0,"9.1":0.00536,"10.1":0.0268,"11.1":0.07503,"12.1":0.1179,"13.1":2.95817},B:{"12":0,"13":0,"14":0.00536,"15":0.00536,"16":0.01608,"17":0.06431,"18":0.66988,"79":0,"80":0.00536,"81":0.04823,"83":1.00213,"84":0.7449},I:{"3":0,"4":0.01125,_:"81","2.1":0,"2.2":0,"2.3":0.00113,"4.1":0.01913,"4.2-4.3":0.0315,"4.4":0,"4.4.3-4.4.4":0.19915},P:{"4":0.11553,"5.0-5.4":0.0105,"6.2-6.4":0,"7.2-7.4":0.03151,"8.2":0.0105,"9.2":0.07352,"10.1":0.09453,"11.1-11.2":0.79822,"12.0":5.09391},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.00692,"7":0.00692,"8":0.0623,"9":0.02077,"10":0.02769,"11":1.03831,"5.5":0},J:{"7":0,"10":0.00464},N:{"10":0,"11":0},L:{"0":35.09263},S:{"2.5":0},R:{_:"0"},M:{"0":0.39449},Q:{"10.4":0.04641},O:{"0":0.45946},H:{"0":0.25923}}; diff --git a/node_modules/caniuse-lite/data/regions/NO.js b/node_modules/caniuse-lite/data/regions/NO.js new file mode 100644 index 000000000..e48d87a2d --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00505,"27":0.02021,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.02021,"49":0,"50":0,"51":0,"52":0.0101,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0.02021,"60":0.00505,"61":0,"62":0,"63":0,"64":0.00505,"65":0,"66":0.00505,"67":0.00505,"68":0.14146,"69":0.00505,"70":0,"71":0.00505,"72":0.01516,"73":0.00505,"74":0.0101,"75":0.01516,"76":0.02526,"77":0.44458,"78":1.26805,"79":0.06062,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00505,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00505,"35":0,"36":0,"37":0,"38":0.0101,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.06062,"50":0.00505,"51":0.00505,"52":0,"53":0.0101,"54":0,"55":0,"56":0,"57":0.00505,"58":0.00505,"59":0.00505,"60":0.0101,"61":0.00505,"62":0.0101,"63":0.0101,"64":0,"65":0.01516,"66":0.09599,"67":0.03031,"68":0.00505,"69":0.2526,"70":0.04042,"71":0.03536,"72":0.04042,"73":0.02021,"74":0.0101,"75":0.02021,"76":0.03031,"77":0.02526,"78":0.04547,"79":0.08083,"80":0.14146,"81":0.28291,"83":8.94204,"84":4.33462,"85":0.00505,"86":0.00505,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.0101,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00505,"57":0,"58":0.0101,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00505,"68":0.44458,"69":0.18187,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00964,"4.0-4.1":0.00964,"4.2-4.3":0.00964,"5.0-5.1":0.02892,"6.0-6.1":0.00964,"7.0-7.1":0.03856,"8.1-8.4":0.05783,"9.0-9.2":0.07711,"9.3":0.63618,"10.0-10.2":0.16386,"10.3":0.77112,"11.0-11.2":0.5687,"11.3-11.4":0.89643,"12.0-12.1":1.21452,"12.2-12.4":7.39314,"13.0-13.1":1.37838,"13.2":0.67473,"13.3":6.73769,"13.4-13.5":16.28997,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00505,"9":0,"10":0.00505,"11":0.0101,"12":0.03031,"13":0.36374,"14":0.02526,_:"0","3.1":0,"3.2":0,"5.1":0.00505,"6.1":0,"7.1":0,"9.1":0.01516,"10.1":0.05557,"11.1":0.10609,"12.1":0.14651,"13.1":2.85438},B:{"12":0.01516,"13":0.00505,"14":0.0101,"15":0.0101,"16":0.01516,"17":0.06062,"18":0.64666,"79":0,"80":0.00505,"81":0.02526,"83":0.98514,"84":0.68202},I:{"3":0,"4":0.00708,_:"81","2.1":0,"2.2":0,"2.3":0.00071,"4.1":0.01203,"4.2-4.3":0.01982,"4.4":0,"4.4.3-4.4.4":0.1253},P:{"4":0.10436,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.02087,"8.2":0.02087,"9.2":0.05218,"10.1":0.06262,"11.1-11.2":0.55311,"12.0":3.87175},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00528,"9":0.00528,"10":0,"11":0.94428,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":29.292},S:{"2.5":0},R:{_:"0"},M:{"0":0.29688},Q:{"10.4":0.0099},O:{"0":0.06432},H:{"0":0.21548}}; diff --git a/node_modules/caniuse-lite/data/regions/NP.js b/node_modules/caniuse-lite/data/regions/NP.js new file mode 100644 index 000000000..8e9841ced --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NP.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00331,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00331,"44":0,"45":0,"46":0,"47":0.00331,"48":0,"49":0,"50":0,"51":0,"52":0.02316,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00331,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00331,"68":0.0364,"69":0.00331,"70":0.00331,"71":0.00331,"72":0.08934,"73":0.00331,"74":0.00331,"75":0.00662,"76":0.00662,"77":0.12905,"78":0.80409,"79":0.11251,"80":0.00331,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00331,"32":0.00331,"33":0.00331,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00331,"41":0,"42":0,"43":0.00331,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.01324,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00331,"59":0,"60":0,"61":0.00331,"62":0,"63":0.01655,"64":0.00331,"65":0.00331,"66":0.00331,"67":0.00662,"68":0.00331,"69":0.00662,"70":0.00662,"71":0.01655,"72":0.00662,"73":0.00993,"74":0.01985,"75":0.01324,"76":0.01324,"77":0.01324,"78":0.01985,"79":0.02647,"80":0.05294,"81":0.09596,"83":4.61936,"84":2.93508,"85":0.02647,"86":0.00662,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00331,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01655,"51":0,"52":0,"53":0,"54":0.00331,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00331,"68":0.15552,"69":0.12243,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00331},G:{"8":0,"3.2":0.00179,"4.0-4.1":0.00179,"4.2-4.3":0.00179,"5.0-5.1":0.00536,"6.0-6.1":0.00179,"7.0-7.1":0.00714,"8.1-8.4":0.01071,"9.0-9.2":0.01429,"9.3":0.11786,"10.0-10.2":0.03036,"10.3":0.14286,"11.0-11.2":0.10536,"11.3-11.4":0.16608,"12.0-12.1":0.22501,"12.2-12.4":1.3697,"13.0-13.1":0.25537,"13.2":0.12501,"13.3":1.24827,"13.4-13.5":3.01799,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00331,"12":0.00331,"13":0.01985,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00662,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00331,"11.1":0.00662,"12.1":0.00993,"13.1":0.09265},B:{"12":0.00331,"13":0.00331,"14":0.00331,"15":0.00331,"16":0.00331,"17":0.00993,"18":0.07611,"79":0,"80":0,"81":0.00331,"83":0.35075,"84":0.36068},I:{"3":0,"4":0.0137,_:"81","2.1":0,"2.2":0,"2.3":0.00137,"4.1":0.02329,"4.2-4.3":0.03837,"4.4":0,"4.4.3-4.4.4":0.24254},P:{"4":0.33978,"5.0-5.4":0,"6.2-6.4":0.0103,"7.2-7.4":0.14415,"8.2":0.03089,"9.2":0.09267,"10.1":0.11326,"11.1-11.2":0.39127,"12.0":0.86491},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00331,"9":0,"10":0,"11":0.02647,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":75.48244},S:{"2.5":0},R:{_:"0"},M:{"0":0.06691},Q:{"10.4":0.00669},O:{"0":1.47202},H:{"0":1.27959}}; diff --git a/node_modules/caniuse-lite/data/regions/NR.js b/node_modules/caniuse-lite/data/regions/NR.js new file mode 100644 index 000000000..1a025d364 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00164,"51":0,"52":0,"53":0.00821,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.00164,"69":0,"70":0,"71":0,"72":0,"73":0.00985,"74":0.01806,"75":0.00821,"76":0.00328,"77":0.0197,"78":0.03284,"79":0.0312,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00328,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00164,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0.00328,"77":0.00985,"78":0.00328,"79":0.01642,"80":0.00328,"81":0.11494,"83":1.0476,"84":0.4926,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00164,"50":0,"51":0,"52":0,"53":0,"54":0.00164,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00083,"4.0-4.1":0.00083,"4.2-4.3":0.00083,"5.0-5.1":0.0025,"6.0-6.1":0.00083,"7.0-7.1":0.00333,"8.1-8.4":0.00499,"9.0-9.2":0.00666,"9.3":0.05494,"10.0-10.2":0.01415,"10.3":0.06659,"11.0-11.2":0.04911,"11.3-11.4":0.07741,"12.0-12.1":0.10488,"12.2-12.4":0.63844,"13.0-13.1":0.11903,"13.2":0.05827,"13.3":0.58184,"13.4-13.5":1.40674,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00164,"12":0,"13":0,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00164,"11.1":0,"12.1":0,"13.1":0.23481},B:{"12":0,"13":0.00164,"14":0.00164,"15":0,"16":0.00657,"17":0.0197,"18":0.14942,"79":0,"80":0,"81":0,"83":0.03448,"84":0.00821},I:{"3":0,"4":0.0025,_:"81","2.1":0,"2.2":0,"2.3":0.00025,"4.1":0.00425,"4.2-4.3":0.007,"4.4":0,"4.4.3-4.4.4":0.04422},P:{"4":0.40528,"5.0-5.4":0,"6.2-6.4":0.01039,"7.2-7.4":0,"8.2":0.01039,"9.2":2.81619,"10.1":0.84174,"11.1-11.2":1.49642,"12.0":0.27019},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.16584,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":83.23615},S:{"2.5":0},R:{_:"0"},M:{"0":0.01672},Q:{"10.4":0},O:{"0":1.01132},H:{"0":2.31054}}; diff --git a/node_modules/caniuse-lite/data/regions/NU.js b/node_modules/caniuse-lite/data/regions/NU.js new file mode 100644 index 000000000..ae7c5e100 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NU.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":4.48184,"74":4.48184,"75":0,"76":0,"77":0,"78":0.89442,"79":0,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":5.37627,"80":5.37627,"81":16.1288,"83":14.33995,"84":28.67018,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00011,"4.0-4.1":0.00011,"4.2-4.3":0.00011,"5.0-5.1":0.00034,"6.0-6.1":0.00011,"7.0-7.1":0.00045,"8.1-8.4":0.00068,"9.0-9.2":0.00091,"9.3":0.00748,"10.0-10.2":0.00193,"10.3":0.00907,"11.0-11.2":0.00669,"11.3-11.4":0.01054,"12.0-12.1":0.01428,"12.2-12.4":0.08693,"13.0-13.1":0.01621,"13.2":0.00793,"13.3":0.07922,"13.4-13.5":0.19153,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":0},B:{"12":1.34164,"13":0,"14":0,"15":0,"16":0,"17":1.34164,"18":1.34164,"79":0,"80":0,"81":0,"83":0,"84":0.44721},I:{"3":0,"4":0,_:"81","2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":3.14021,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":5.46327},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/NZ.js b/node_modules/caniuse-lite/data/regions/NZ.js new file mode 100644 index 000000000..cd61e22fa --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/NZ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.02215,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00554,"49":0,"50":0,"51":0,"52":0.03877,"53":0,"54":0.00554,"55":0,"56":0,"57":0,"58":0.00554,"59":0.01108,"60":0.01108,"61":0,"62":0.00554,"63":0.00554,"64":0,"65":0.00554,"66":0.00554,"67":0.00554,"68":0.26029,"69":0,"70":0,"71":0.00554,"72":0.02215,"73":0,"74":0.01661,"75":0.01108,"76":0.02769,"77":0.41535,"78":1.45649,"79":0.08861,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.01108,"35":0,"36":0,"37":0,"38":0.01661,"39":0,"40":0.01661,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00554,"49":0.16614,"50":0.00554,"51":0,"52":0,"53":0.02769,"54":0.01108,"55":0.01108,"56":0.00554,"57":0.02215,"58":0.07199,"59":0.01661,"60":0.00554,"61":0,"62":0.02215,"63":0.02215,"64":0.01108,"65":0.03877,"66":0.01108,"67":0.03323,"68":0.02769,"69":0.06646,"70":0.04984,"71":0.06092,"72":0.03323,"73":0.12737,"74":0.06092,"75":0.07199,"76":0.07753,"77":0.07199,"78":0.12184,"79":0.14953,"80":0.28798,"81":0.3932,"83":10.46128,"84":5.78721,"85":0.02215,"86":0.00554,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.01661,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0.00554,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.15506,"69":0.07753,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00707,"4.0-4.1":0.00707,"4.2-4.3":0.00707,"5.0-5.1":0.02122,"6.0-6.1":0.00707,"7.0-7.1":0.0283,"8.1-8.4":0.04244,"9.0-9.2":0.05659,"9.3":0.46688,"10.0-10.2":0.12026,"10.3":0.56592,"11.0-11.2":0.41736,"11.3-11.4":0.65788,"12.0-12.1":0.89132,"12.2-12.4":5.42572,"13.0-13.1":1.01157,"13.2":0.49518,"13.3":4.94469,"13.4-13.5":11.95497,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00554,"9":0,"10":0.00554,"11":0.02215,"12":0.03323,"13":0.36551,"14":0.01108,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.01108,"10.1":0.05538,"11.1":0.09968,"12.1":0.1606,"13.1":3.20096},B:{"12":0,"13":0,"14":0.01108,"15":0.02215,"16":0.02215,"17":0.05538,"18":0.50396,"79":0,"80":0,"81":0.01661,"83":0.90823,"84":0.65902},I:{"3":0,"4":0.02181,_:"81","2.1":0,"2.2":0,"2.3":0.00218,"4.1":0.03708,"4.2-4.3":0.06107,"4.4":0,"4.4.3-4.4.4":0.38603},P:{"4":0.1173,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.02133,"8.2":0.01066,"9.2":0.06398,"10.1":0.09597,"11.1-11.2":0.42653,"12.0":2.60182},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00961,"9":0.01923,"10":0,"11":1.1729,"5.5":0},J:{"7":0,"10":0.00446},N:{"10":0,"11":0},L:{"0":35.86261},S:{"2.5":0},R:{_:"0"},M:{"0":0.41943},Q:{"10.4":0.13386},O:{"0":0.34357},H:{"0":0.20277}}; diff --git a/node_modules/caniuse-lite/data/regions/OM.js b/node_modules/caniuse-lite/data/regions/OM.js new file mode 100644 index 000000000..863c545ee --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/OM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00309,"49":0,"50":0,"51":0,"52":0.00309,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.00309,"66":0,"67":0,"68":0.02469,"69":0,"70":0,"71":0,"72":0.00309,"73":0,"74":0,"75":0.00309,"76":0.01234,"77":0.06172,"78":0.24071,"79":0.01234,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00617,"39":0,"40":0,"41":0,"42":0,"43":0.00309,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.03086,"50":0,"51":0,"52":0,"53":0.00309,"54":0,"55":0,"56":0,"57":0,"58":0.00309,"59":0.00309,"60":0,"61":0,"62":0.01234,"63":0.00926,"64":0.00309,"65":0.00617,"66":0,"67":0.00617,"68":0,"69":0.00617,"70":0.00309,"71":0.01234,"72":0.00617,"73":0.00926,"74":0.0432,"75":0.00926,"76":0.01543,"77":0.00926,"78":0.0216,"79":0.0216,"80":0.0432,"81":0.06172,"83":3.35757,"84":2.64779,"85":0.00926,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.03395,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.00309,"64":0,"65":0,"66":0,"67":0,"68":0.08641,"69":0.04629,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00304,"4.0-4.1":0.00304,"4.2-4.3":0.00304,"5.0-5.1":0.00913,"6.0-6.1":0.00304,"7.0-7.1":0.01217,"8.1-8.4":0.01826,"9.0-9.2":0.02434,"9.3":0.20082,"10.0-10.2":0.05173,"10.3":0.24341,"11.0-11.2":0.17952,"11.3-11.4":0.28297,"12.0-12.1":0.38338,"12.2-12.4":2.33374,"13.0-13.1":0.4351,"13.2":0.21299,"13.3":2.12684,"13.4-13.5":5.14213,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00309,"9":0,"10":0.00309,"11":0.00926,"12":0.03086,"13":0.08332,"14":0.00309,_:"0","3.1":0,"3.2":0,"5.1":0.00926,"6.1":0,"7.1":0,"9.1":0.00617,"10.1":0.00617,"11.1":0.0432,"12.1":0.08949,"13.1":0.68201},B:{"12":0.00309,"13":0.00309,"14":0.00617,"15":0.00926,"16":0.02469,"17":0.03086,"18":0.21602,"79":0,"80":0,"81":0.00926,"83":0.17899,"84":0.1327},I:{"3":0,"4":0.00383,_:"81","2.1":0,"2.2":0,"2.3":0.00038,"4.1":0.00651,"4.2-4.3":0.01073,"4.4":0,"4.4.3-4.4.4":0.06781},P:{"4":0.22219,"5.0-5.4":0.0303,"6.2-6.4":0.0202,"7.2-7.4":0.10099,"8.2":0.0505,"9.2":0.26259,"10.1":0.20199,"11.1-11.2":0.91905,"12.0":2.94903},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00311,"9":0.00311,"10":0,"11":0.72207,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0.01383},L:{"0":71.23336},S:{"2.5":0},R:{_:"0"},M:{"0":0.06914},Q:{"10.4":0.10371},O:{"0":0.38718},H:{"0":0.32074}}; diff --git a/node_modules/caniuse-lite/data/regions/PA.js b/node_modules/caniuse-lite/data/regions/PA.js new file mode 100644 index 000000000..0841f708e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.07532,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01255,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00628,"49":0,"50":0,"51":0,"52":0.00628,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00628,"64":0,"65":0,"66":0.03139,"67":0,"68":0.09416,"69":0.00628,"70":0,"71":0,"72":0.01255,"73":0.02511,"74":0.00628,"75":0.00628,"76":0.01255,"77":0.3013,"78":1.21146,"79":0.10043,"80":0,"81":0,"3.5":0.09416,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00628,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01883,"39":0,"40":0,"41":0.00628,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.15065,"50":0.00628,"51":0,"52":0,"53":0.01255,"54":0,"55":0,"56":0.01883,"57":0,"58":0.00628,"59":0,"60":0,"61":0.03766,"62":0.01883,"63":0.01883,"64":0.01255,"65":0.05649,"66":0.00628,"67":0.05649,"68":0.01255,"69":0.01883,"70":0.03766,"71":0.03766,"72":0.05022,"73":0.02511,"74":0.03766,"75":0.03766,"76":0.03139,"77":0.05022,"78":0.05022,"79":0.10671,"80":0.23225,"81":0.2448,"83":16.4834,"84":10.43237,"85":0.00628,"86":0.00628,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00628,"60":0,"62":0,"63":0.00628,"64":0,"65":0,"66":0,"67":0,"68":0.35779,"69":0.11926,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00228,"4.0-4.1":0.00228,"4.2-4.3":0.00228,"5.0-5.1":0.00683,"6.0-6.1":0.00228,"7.0-7.1":0.00911,"8.1-8.4":0.01366,"9.0-9.2":0.01821,"9.3":0.15026,"10.0-10.2":0.0387,"10.3":0.18214,"11.0-11.2":0.13433,"11.3-11.4":0.21173,"12.0-12.1":0.28686,"12.2-12.4":1.74623,"13.0-13.1":0.32557,"13.2":0.15937,"13.3":1.59141,"13.4-13.5":3.84762,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01883,"12":0.07532,"13":0.37662,"14":0.01255,_:"0","3.1":0,"3.2":0,"5.1":1.35583,"6.1":0,"7.1":0,"9.1":0.00628,"10.1":0.05649,"11.1":0.11299,"12.1":0.32013,"13.1":3.15105},B:{"12":0.00628,"13":0.00628,"14":0.00628,"15":0.00628,"16":0.03139,"17":0.03766,"18":0.28247,"79":0,"80":0,"81":0.01883,"83":0.70302,"84":0.61515},I:{"3":0,"4":0.00757,_:"81","2.1":0,"2.2":0,"2.3":0.00076,"4.1":0.01288,"4.2-4.3":0.02121,"4.4":0,"4.4.3-4.4.4":0.13407},P:{"4":0.22352,"5.0-5.4":0.01016,"6.2-6.4":0.04064,"7.2-7.4":0.254,"8.2":0.02032,"9.2":0.22352,"10.1":0.16256,"11.1-11.2":0.75184,"12.0":2.06249},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00795,"9":0.00795,"10":0,"11":0.22262,"5.5":0},J:{"7":0,"10":0.00372},N:{"10":0,"11":0},L:{"0":45.6578},S:{"2.5":0.01117},R:{_:"0"},M:{"0":0.1787},Q:{"10.4":0.00372},O:{"0":0.07818},H:{"0":0.08812}}; diff --git a/node_modules/caniuse-lite/data/regions/PE.js b/node_modules/caniuse-lite/data/regions/PE.js new file mode 100644 index 000000000..b74b721bf --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01463,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00732,"64":0.00732,"65":0,"66":0.00732,"67":0,"68":0.0439,"69":0,"70":0,"71":0,"72":0.00732,"73":0.00732,"74":0.00732,"75":0.00732,"76":0.01463,"77":0.2561,"78":1.06828,"79":0.05854,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00732,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00732,"35":0,"36":0,"37":0,"38":0.03659,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00732,"47":0,"48":0,"49":0.11707,"50":0,"51":0,"52":0,"53":0.05122,"54":0,"55":0.00732,"56":0.00732,"57":0.00732,"58":0.01463,"59":0.00732,"60":0,"61":0,"62":0.00732,"63":0.02195,"64":0.00732,"65":0.03659,"66":0.01463,"67":0.03659,"68":0.01463,"69":0.03659,"70":0.05122,"71":0.03659,"72":0.05122,"73":0.0439,"74":0.0878,"75":0.05854,"76":0.06585,"77":0.07317,"78":0.0878,"79":0.16829,"80":0.33658,"81":0.32195,"83":27.42412,"84":17.63397,"85":0.01463,"86":0.01463,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00732,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.76097,"69":0.31463,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00092,"4.0-4.1":0.00092,"4.2-4.3":0.00092,"5.0-5.1":0.00276,"6.0-6.1":0.00092,"7.0-7.1":0.00368,"8.1-8.4":0.00551,"9.0-9.2":0.00735,"9.3":0.06064,"10.0-10.2":0.01562,"10.3":0.07351,"11.0-11.2":0.05421,"11.3-11.4":0.08545,"12.0-12.1":0.11577,"12.2-12.4":0.70473,"13.0-13.1":0.13139,"13.2":0.06432,"13.3":0.64225,"13.4-13.5":1.5528,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00732,"9":0,"10":0,"11":0.00732,"12":0.02927,"13":0.12439,"14":0.00732,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01463,"11.1":0.0439,"12.1":0.10976,"13.1":0.97316},B:{"12":0.00732,"13":0,"14":0,"15":0.00732,"16":0.00732,"17":0.01463,"18":0.12439,"79":0,"80":0,"81":0.01463,"83":0.79755,"84":0.61463},I:{"3":0,"4":0.00573,_:"81","2.1":0,"2.2":0,"2.3":0.00057,"4.1":0.00973,"4.2-4.3":0.01603,"4.4":0,"4.4.3-4.4.4":0.10135},P:{"4":0.20436,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.02044,"8.2":0.01022,"9.2":0.06131,"10.1":0.05109,"11.1-11.2":0.17371,"12.0":0.43938},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01533,"9":0.00767,"10":0,"11":0.13798,"5.5":0},J:{"7":0,"10":0.00268},N:{"10":0,"11":0},L:{"0":41.46071},S:{"2.5":0},R:{_:"0"},M:{"0":0.04829},Q:{"10.4":0},O:{"0":0.02415},H:{"0":0.08636}}; diff --git a/node_modules/caniuse-lite/data/regions/PF.js b/node_modules/caniuse-lite/data/regions/PF.js new file mode 100644 index 000000000..1f1f8b004 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PF.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.07157,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.03578,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.02386,"49":0,"50":0.00596,"51":0.00596,"52":0.0835,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0.01193,"60":0.57851,"61":0,"62":0,"63":0.00596,"64":0.0656,"65":0,"66":0.05964,"67":0.00596,"68":0.33995,"69":0.00596,"70":0.00596,"71":0.01193,"72":0.0835,"73":0.00596,"74":0.05964,"75":0.02386,"76":0.03578,"77":1.09141,"78":3.84082,"79":0.19085,"80":0.01193,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00596,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.10735,"50":0,"51":0,"52":0,"53":0.00596,"54":0,"55":0,"56":0.03578,"57":0,"58":0.00596,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.02386,"66":0.00596,"67":0.03578,"68":0,"69":0,"70":0.00596,"71":0.00596,"72":0,"73":0.02386,"74":0.00596,"75":0.03578,"76":0.04771,"77":0.02386,"78":0.10139,"79":0.04175,"80":0.12524,"81":0.25049,"83":10.5026,"84":6.3278,"85":0.00596,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00596,"68":0.22067,"69":0.08946,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00439,"4.0-4.1":0.00439,"4.2-4.3":0.00439,"5.0-5.1":0.01316,"6.0-6.1":0.00439,"7.0-7.1":0.01755,"8.1-8.4":0.02632,"9.0-9.2":0.0351,"9.3":0.28956,"10.0-10.2":0.07458,"10.3":0.35098,"11.0-11.2":0.25885,"11.3-11.4":0.40801,"12.0-12.1":0.55279,"12.2-12.4":3.36499,"13.0-13.1":0.62737,"13.2":0.3071,"13.3":3.06666,"13.4-13.5":7.41438,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.01193,"11":0.01193,"12":0.15506,"13":0.25645,"14":0.00596,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.01789,"10.1":0.10139,"11.1":0.41152,"12.1":0.3817,"13.1":4.0257},B:{"12":0,"13":0,"14":0.00596,"15":0.00596,"16":0.02386,"17":0.03578,"18":0.28031,"79":0,"80":0,"81":0.00596,"83":1.21666,"84":0.70375},I:{"3":0,"4":0.01599,_:"81","2.1":0,"2.2":0,"2.3":0.0016,"4.1":0.02719,"4.2-4.3":0.04478,"4.4":0,"4.4.3-4.4.4":0.28305},P:{"4":0.12863,"5.0-5.4":0,"6.2-6.4":0.01072,"7.2-7.4":0.11791,"8.2":0.01072,"9.2":0.25726,"10.1":0.58955,"11.1-11.2":0.76105,"12.0":2.42251},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.33995,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":41.4977},S:{"2.5":0},R:{_:"0"},M:{"0":0.38342},Q:{"10.4":0.00404},O:{"0":0.3027},H:{"0":0.05732}}; diff --git a/node_modules/caniuse-lite/data/regions/PG.js b/node_modules/caniuse-lite/data/regions/PG.js new file mode 100644 index 000000000..794ba06e0 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.03094,"31":0,"32":0.00387,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00387,"44":0.00387,"45":0.00387,"46":0,"47":0.00773,"48":0.00387,"49":0,"50":0.00773,"51":0,"52":0.00773,"53":0.00387,"54":0,"55":0,"56":0.08121,"57":0.00387,"58":0.00387,"59":0.00387,"60":0.00387,"61":0.00387,"62":0.00387,"63":0.00387,"64":0,"65":0.00773,"66":0.00387,"67":0.01547,"68":0.13535,"69":0.00387,"70":0,"71":0.00773,"72":0.0232,"73":0.00387,"74":0.01934,"75":0.0116,"76":0.01934,"77":0.22429,"78":0.65739,"79":0.06574,"80":0.00387,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00387,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00387,"27":0,"28":0,"29":0.00387,"30":0,"31":0,"32":0,"33":0,"34":0.0116,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.0348,"41":0,"42":0,"43":0,"44":0.00387,"45":0,"46":0.0116,"47":0,"48":0.00387,"49":0.03867,"50":0.00773,"51":0,"52":0,"53":0,"54":0.00387,"55":0.02707,"56":0,"57":0.00773,"58":0.00773,"59":0,"60":0.00387,"61":0.00387,"62":0.00387,"63":0.01547,"64":0.00773,"65":0.0116,"66":0.0116,"67":0.01547,"68":0.00773,"69":0.03094,"70":0.09668,"71":0.06574,"72":0.0116,"73":0.01547,"74":0.03094,"75":0.00773,"76":0.02707,"77":0.06187,"78":0.06961,"79":0.03867,"80":0.14695,"81":0.13921,"83":4.31557,"84":2.21579,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00387,"34":0,"35":0,"36":0,"37":0.0464,"38":0,"39":0,"40":0,"41":0,"42":0.00387,"43":0,"44":0,"45":0,"46":0,"47":0.00387,"48":0,"49":0,"50":0.05414,"51":0,"52":0,"53":0.00387,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0.00387,"67":0.00773,"68":0.24362,"69":0.10828,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0116},G:{"8":0,"3.2":0.00102,"4.0-4.1":0.00102,"4.2-4.3":0.00102,"5.0-5.1":0.00307,"6.0-6.1":0.00102,"7.0-7.1":0.00409,"8.1-8.4":0.00614,"9.0-9.2":0.00818,"9.3":0.0675,"10.0-10.2":0.01739,"10.3":0.08182,"11.0-11.2":0.06034,"11.3-11.4":0.09511,"12.0-12.1":0.12886,"12.2-12.4":0.78441,"13.0-13.1":0.14625,"13.2":0.07159,"13.3":0.71487,"13.4-13.5":1.72836,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00387,"11":0.00387,"12":0.00387,"13":0.08121,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.0116,"6.1":0,"7.1":0,"9.1":0.00387,"10.1":0.19335,"11.1":0.0116,"12.1":0.06574,"13.1":0.20882},B:{"12":0.05414,"13":0.08507,"14":0.05027,"15":0.10054,"16":0.06574,"17":0.08894,"18":0.66512,"79":0,"80":0,"81":0.00773,"83":0.34803,"84":0.23202},I:{"3":0,"4":0.05527,_:"81","2.1":0,"2.2":0,"2.3":0.00553,"4.1":0.09395,"4.2-4.3":0.15475,"4.4":0,"4.4.3-4.4.4":0.97824},P:{"4":0.59482,"5.0-5.4":0.02051,"6.2-6.4":0.06153,"7.2-7.4":0.3692,"8.2":0.11281,"9.2":0.73839,"10.1":0.19485,"11.1-11.2":0.90248,"12.0":0.72814},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03216,"9":0.02144,"10":0.00536,"11":0.85752,"5.5":0},J:{"7":0,"10":0.0184},N:{"10":0,"11":0},L:{"0":69.56459},S:{"2.5":0.04293},R:{_:"0"},M:{"0":0.31278},Q:{"10.4":0.43544},O:{"0":2.63106},H:{"0":1.55029}}; diff --git a/node_modules/caniuse-lite/data/regions/PH.js b/node_modules/caniuse-lite/data/regions/PH.js new file mode 100644 index 000000000..a2fc6a3a1 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PH.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00487,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00487,"48":0,"49":0,"50":0,"51":0,"52":0.01948,"53":0,"54":0,"55":0,"56":0.02435,"57":0,"58":0,"59":0,"60":0.00487,"61":0,"62":0,"63":0,"64":0.00487,"65":0.00487,"66":0.00487,"67":0.00487,"68":0.05843,"69":0.00487,"70":0,"71":0.00487,"72":0.00974,"73":0.00487,"74":0.00487,"75":0.00487,"76":0.00974,"77":0.19963,"78":0.82286,"79":0.06817,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00487,"34":0.00974,"35":0,"36":0.00487,"37":0,"38":0.01461,"39":0,"40":0.00487,"41":0,"42":0.00974,"43":0,"44":0,"45":0,"46":0.00487,"47":0.00487,"48":0.00487,"49":0.07304,"50":0,"51":0.00487,"52":0.00487,"53":0.02435,"54":0,"55":0.00487,"56":0.00487,"57":0.00487,"58":0.01461,"59":0.00487,"60":0.00974,"61":0.00974,"62":0.00487,"63":0.02921,"64":0.00974,"65":0.01948,"66":0.00974,"67":0.02435,"68":0.00974,"69":0.02921,"70":0.02921,"71":0.02921,"72":0.02921,"73":0.03895,"74":0.09738,"75":0.05356,"76":0.05843,"77":0.10712,"78":0.0779,"79":0.1412,"80":0.2824,"81":0.22397,"83":10.61929,"84":6.36378,"85":0.02435,"86":0.01461,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00487,"37":0.02435,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00974,"51":0,"52":0,"53":0.00487,"54":0,"55":0.00487,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00487,"68":0.22884,"69":0.13633,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00319,"4.0-4.1":0.00319,"4.2-4.3":0.00319,"5.0-5.1":0.00958,"6.0-6.1":0.00319,"7.0-7.1":0.01278,"8.1-8.4":0.01916,"9.0-9.2":0.02555,"9.3":0.21079,"10.0-10.2":0.05429,"10.3":0.2555,"11.0-11.2":0.18843,"11.3-11.4":0.29702,"12.0-12.1":0.40242,"12.2-12.4":2.44964,"13.0-13.1":0.45671,"13.2":0.22357,"13.3":2.23246,"13.4-13.5":5.39752,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00487,"11":0.00974,"12":0.02435,"13":0.11686,"14":0.00487,_:"0","3.1":0,"3.2":0,"5.1":0.00487,"6.1":0,"7.1":0,"9.1":0.00487,"10.1":0.01461,"11.1":0.03408,"12.1":0.07304,"13.1":0.73035},B:{"12":0.00487,"13":0.00487,"14":0.00487,"15":0.00487,"16":0.00974,"17":0.01948,"18":0.16555,"79":0,"80":0,"81":0.00974,"83":0.39439,"84":0.31649},I:{"3":0,"4":0.01101,_:"81","2.1":0,"2.2":0,"2.3":0.0011,"4.1":0.01872,"4.2-4.3":0.03084,"4.4":0,"4.4.3-4.4.4":0.19492},P:{"4":0.22632,"5.0-5.4":0,"6.2-6.4":0.01029,"7.2-7.4":0.03086,"8.2":0.01029,"9.2":0.11316,"10.1":0.11316,"11.1-11.2":0.36006,"12.0":1.21391},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00553,"9":0,"10":0,"11":0.11619,"5.5":0},J:{"7":0,"10":0.00513},N:{"10":0,"11":0},L:{"0":58.64549},S:{"2.5":0},R:{_:"0"},M:{"0":0.09749},Q:{"10.4":0.01539},O:{"0":0.77478},H:{"0":0.71894}}; diff --git a/node_modules/caniuse-lite/data/regions/PK.js b/node_modules/caniuse-lite/data/regions/PK.js new file mode 100644 index 000000000..8e0ac8961 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PK.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.01456,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00364,"44":0,"45":0.00364,"46":0,"47":0.00364,"48":0.00364,"49":0,"50":0,"51":0.00364,"52":0.02185,"53":0,"54":0.00364,"55":0,"56":0.00364,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.01092,"64":0.00728,"65":0.00728,"66":0.01456,"67":0,"68":0.02913,"69":0,"70":0.00364,"71":0,"72":0.00728,"73":0.00364,"74":0.00364,"75":0.00364,"76":0.00728,"77":0.09467,"78":0.41507,"79":0.05097,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00364,"30":0,"31":0,"32":0,"33":0.00364,"34":0,"35":0,"36":0.00364,"37":0,"38":0,"39":0,"40":0.00728,"41":0,"42":0.00364,"43":0.02185,"44":0,"45":0,"46":0.00364,"47":0,"48":0.00364,"49":0.05097,"50":0.00364,"51":0,"52":0,"53":0,"54":0,"55":0.00364,"56":0.00364,"57":0.00364,"58":0.00364,"59":0,"60":0.00364,"61":0.02549,"62":0.00364,"63":0.02913,"64":0.00364,"65":0.00364,"66":0.00364,"67":0.00728,"68":0.00728,"69":0.01456,"70":0.03641,"71":0.04733,"72":0.03641,"73":0.02549,"74":0.05826,"75":0.01821,"76":0.01821,"77":0.02185,"78":0.03277,"79":0.05462,"80":0.10195,"81":0.10559,"83":5.51976,"84":4.04515,"85":0.02549,"86":0.00728,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0.00364,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00364,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.01821,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00364,"46":0.01092,"47":0.01092,"48":0,"49":0,"50":0.25487,"51":0.00364,"52":0,"53":0,"54":0.00364,"55":0.00728,"56":0,"57":0,"58":0.00364,"60":0.00364,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00364,"68":0.21482,"69":0.17477,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00364},G:{"8":0,"3.2":0.00111,"4.0-4.1":0.00111,"4.2-4.3":0.00111,"5.0-5.1":0.00334,"6.0-6.1":0.00111,"7.0-7.1":0.00445,"8.1-8.4":0.00668,"9.0-9.2":0.00891,"9.3":0.07348,"10.0-10.2":0.01893,"10.3":0.08906,"11.0-11.2":0.06569,"11.3-11.4":0.10354,"12.0-12.1":0.14028,"12.2-12.4":0.85391,"13.0-13.1":0.1592,"13.2":0.07793,"13.3":0.77821,"13.4-13.5":1.8815,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00364,"10":0,"11":0,"12":0.00364,"13":0.02185,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.02185,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00364,"11.1":0.00728,"12.1":0.01456,"13.1":0.10195},B:{"12":0.00728,"13":0.00364,"14":0.00728,"15":0.00364,"16":0.00728,"17":0.01092,"18":0.07646,"79":0,"80":0,"81":0.00364,"83":0.09103,"84":0.08374},I:{"3":0,"4":0.02201,_:"81","2.1":0,"2.2":0,"2.3":0.0022,"4.1":0.03741,"4.2-4.3":0.06162,"4.4":0,"4.4.3-4.4.4":0.38953},P:{"4":0.44967,"5.0-5.4":0.03997,"6.2-6.4":0.04996,"7.2-7.4":0.08993,"8.2":0.02998,"9.2":0.11991,"10.1":0.11991,"11.1-11.2":0.41969,"12.0":1.05923},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0352,"9":0.00391,"10":0.00391,"11":0.06257,"5.5":0},J:{"7":0,"10":0.00636},N:{"10":0,"11":0},L:{"0":69.88094},S:{"2.5":0.07631},R:{_:"0"},M:{"0":0.05723},Q:{"10.4":0.01908},O:{"0":4.82012},H:{"0":1.88435}}; diff --git a/node_modules/caniuse-lite/data/regions/PL.js b/node_modules/caniuse-lite/data/regions/PL.js new file mode 100644 index 000000000..d95019aeb --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PL.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00425,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00425,"46":0,"47":0.00425,"48":0.00425,"49":0,"50":0.00425,"51":0.00425,"52":0.1913,"53":0.00425,"54":0,"55":0.00425,"56":0.0085,"57":0.00425,"58":0.00425,"59":0.00425,"60":0.017,"61":0.00425,"62":0.00425,"63":0.00425,"64":0.00425,"65":0.00425,"66":0.01275,"67":0.00425,"68":0.6249,"69":0.0085,"70":0.0085,"71":0.0085,"72":0.03401,"73":0.01275,"74":0.017,"75":0.02126,"76":0.05101,"77":0.62065,"78":2.70364,"79":0.12328,"80":0.00425,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00425,"35":0,"36":0,"37":0,"38":0.00425,"39":0,"40":0.00425,"41":0,"42":0.00425,"43":0.00425,"44":0,"45":0.0085,"46":0.00425,"47":0,"48":0,"49":0.15304,"50":0.00425,"51":0,"52":0,"53":0.00425,"54":0,"55":0.00425,"56":0.00425,"57":0.00425,"58":0.01275,"59":0.0085,"60":0,"61":0.01275,"62":0.00425,"63":0.02976,"64":0.0085,"65":0.00425,"66":0.00425,"67":0.0085,"68":0.00425,"69":0.0085,"70":0.017,"71":0.02126,"72":0.01275,"73":0.017,"74":0.05526,"75":0.017,"76":0.02551,"77":0.017,"78":0.02976,"79":0.04676,"80":0.08502,"81":0.14028,"83":5.62832,"84":3.20525,"85":0.00425,"86":0.00425,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.017,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00425,"46":0.00425,"47":0,"48":0,"49":0,"50":0.05526,"51":0,"52":0,"53":0.0085,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.00425,"62":0,"63":0,"64":0,"65":0.00425,"66":0.00425,"67":0.0085,"68":1.05425,"69":0.4166,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00425},G:{"8":0,"3.2":0.00091,"4.0-4.1":0.00091,"4.2-4.3":0.00091,"5.0-5.1":0.00274,"6.0-6.1":0.00091,"7.0-7.1":0.00365,"8.1-8.4":0.00548,"9.0-9.2":0.0073,"9.3":0.06027,"10.0-10.2":0.01552,"10.3":0.07305,"11.0-11.2":0.05387,"11.3-11.4":0.08492,"12.0-12.1":0.11505,"12.2-12.4":0.70035,"13.0-13.1":0.13057,"13.2":0.06392,"13.3":0.63826,"13.4-13.5":1.54315,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00425,"12":0.00425,"13":0.04251,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00425,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00425,"11.1":0.017,"12.1":0.02976,"13.1":0.36559},B:{"12":0,"13":0.00425,"14":0.0085,"15":0.02976,"16":0.0085,"17":0.02551,"18":0.22955,"79":0,"80":0,"81":0.01275,"83":0.48036,"84":0.34858},I:{"3":0,"4":0.00828,_:"81","2.1":0,"2.2":0,"2.3":0.00083,"4.1":0.01408,"4.2-4.3":0.02319,"4.4":0,"4.4.3-4.4.4":0.14661},P:{"4":0.26334,"5.0-5.4":0.04051,"6.2-6.4":0.03039,"7.2-7.4":0.09116,"8.2":0.04051,"9.2":0.27347,"10.1":0.20257,"11.1-11.2":0.87106,"12.0":2.90691},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00425,"9":0,"10":0,"11":0.17004,"5.5":0},J:{"7":0,"10":0.0115},N:{"10":0,"11":0},L:{"0":69.65425},S:{"2.5":0},R:{_:"0"},M:{"0":0.2932},Q:{"10.4":0},O:{"0":0.03449},H:{"0":1.08311}}; diff --git a/node_modules/caniuse-lite/data/regions/PM.js b/node_modules/caniuse-lite/data/regions/PM.js new file mode 100644 index 000000000..71ca75a83 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.04235,"53":0.00706,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.02117,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.12704,"69":0.00706,"70":0,"71":0,"72":0.00706,"73":0.02117,"74":0.04941,"75":0.04235,"76":0.09175,"77":0.86108,"78":4.27009,"79":0.16939,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.14822,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00706,"68":0.02823,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0.03529,"76":0,"77":0,"78":0.02117,"79":0.03529,"80":0.07058,"81":0.31761,"83":10.86932,"84":5.95695,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.54347,"69":0.15528,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00766,"4.0-4.1":0.00766,"4.2-4.3":0.00766,"5.0-5.1":0.02299,"6.0-6.1":0.00766,"7.0-7.1":0.03065,"8.1-8.4":0.04598,"9.0-9.2":0.06131,"9.3":0.50577,"10.0-10.2":0.13027,"10.3":0.61305,"11.0-11.2":0.45213,"11.3-11.4":0.71267,"12.0-12.1":0.96556,"12.2-12.4":5.87765,"13.0-13.1":1.09583,"13.2":0.53642,"13.3":5.35656,"13.4-13.5":12.95076,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00706,"13":0.14822,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.07764,"11.1":0.17645,"12.1":0.07764,"13.1":4.62299},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.15528,"18":13.57253,"79":0,"80":0,"81":0.37407,"83":1.26338,"84":0.47289},I:{"3":0,"4":0.0077,_:"81","2.1":0,"2.2":0,"2.3":0.00077,"4.1":0.01309,"4.2-4.3":0.02156,"4.4":0,"4.4.3-4.4.4":0.13629},P:{"4":0,"5.0-5.4":0.01091,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.10907,"12.0":0.77439},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.10587,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":22.3527},S:{"2.5":0},R:{_:"0"},M:{"0":0.15004},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/PN.js b/node_modules/caniuse-lite/data/regions/PN.js new file mode 100644 index 000000000..dac7a9d79 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":6.74,"74":4.49,"75":0,"76":0,"77":0,"78":1.12,"79":0,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":2.25,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":3.37,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":14.61,"80":6.74,"81":32.58,"83":0,"84":1.12,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.4":0,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.5":0,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"79":0,"80":0,"81":0,"83":0,"84":0},I:{"3":0,"4":0,_:"81","2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":2.25,"9":0,"10":0,"11":0,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":0},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/PR.js b/node_modules/caniuse-lite/data/regions/PR.js new file mode 100644 index 000000000..3b1f93513 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0158,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00527,"48":0.01053,"49":0,"50":0,"51":0,"52":0.03159,"53":0,"54":0.00527,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.05265,"64":0,"65":0,"66":0.05265,"67":0,"68":0.13689,"69":0,"70":0,"71":0,"72":0.00527,"73":0.04739,"74":0.00527,"75":0.0158,"76":0.0158,"77":0.27378,"78":1.03721,"79":0.06845,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.00527,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00527,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.1053,"50":0,"51":0.00527,"52":0,"53":0.02106,"54":0.00527,"55":0,"56":0,"57":0,"58":0.01053,"59":0,"60":0.00527,"61":0,"62":0,"63":0.01053,"64":0,"65":0.02633,"66":0.00527,"67":0.02633,"68":0.00527,"69":0,"70":0,"71":0.02106,"72":0.01053,"73":0.01053,"74":0.01053,"75":0.02106,"76":0.04212,"77":0.01053,"78":0.02106,"79":0.04212,"80":0.06318,"81":0.16322,"83":9.27167,"84":5.44928,"85":0.00527,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.23166,"69":0.07898,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00753,"4.0-4.1":0.00753,"4.2-4.3":0.00753,"5.0-5.1":0.02259,"6.0-6.1":0.00753,"7.0-7.1":0.03012,"8.1-8.4":0.04519,"9.0-9.2":0.06025,"9.3":0.49704,"10.0-10.2":0.12803,"10.3":0.60247,"11.0-11.2":0.44433,"11.3-11.4":0.70038,"12.0-12.1":0.9489,"12.2-12.4":5.77623,"13.0-13.1":1.07692,"13.2":0.52717,"13.3":5.26412,"13.4-13.5":12.72728,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00527,"9":0.0158,"10":0.00527,"11":0.0158,"12":0.07371,"13":0.43173,"14":0.0158,_:"0","3.1":0,"3.2":0,"5.1":0.02106,"6.1":0,"7.1":0,"9.1":0.00527,"10.1":0.05792,"11.1":0.15269,"12.1":0.24746,"13.1":3.67497},B:{"12":0.00527,"13":0.00527,"14":0.01053,"15":0.00527,"16":0.02106,"17":0.04739,"18":1.24781,"79":0,"80":0,"81":0.02633,"83":1.18989,"84":0.89505},I:{"3":0,"4":0.01593,_:"81","2.1":0,"2.2":0,"2.3":0.00159,"4.1":0.02708,"4.2-4.3":0.0446,"4.4":0,"4.4.3-4.4.4":0.28193},P:{"4":0.09402,"5.0-5.4":0,"6.2-6.4":0.01045,"7.2-7.4":0.07313,"8.2":0.02089,"9.2":0.18804,"10.1":0.08357,"11.1-11.2":0.54323,"12.0":2.98775},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.00527,"10":0,"11":0.54756,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":36.56567},S:{"2.5":0},R:{_:"0"},M:{"0":0.2841},Q:{"10.4":0.00474},O:{"0":0.05682},H:{"0":0.13}}; diff --git a/node_modules/caniuse-lite/data/regions/PS.js b/node_modules/caniuse-lite/data/regions/PS.js new file mode 100644 index 000000000..70a567dbe --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PS.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00623,"48":0,"49":0,"50":0,"51":0,"52":0.01245,"53":0,"54":0,"55":0.00623,"56":0,"57":0,"58":0,"59":0.00623,"60":0,"61":0,"62":0,"63":0,"64":0.0249,"65":0.00623,"66":0.00623,"67":0.00623,"68":0.04981,"69":0,"70":0,"71":0,"72":0.01245,"73":0,"74":0.00623,"75":0.00623,"76":0.04358,"77":0.34866,"78":1.30746,"79":0.05603,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.01245,"34":0,"35":0,"36":0.00623,"37":0,"38":0.00623,"39":0,"40":0,"41":0,"42":0,"43":0.00623,"44":0,"45":0.00623,"46":0,"47":0,"48":0,"49":0.1432,"50":0,"51":0,"52":0,"53":0.01245,"54":0,"55":0,"56":0,"57":0,"58":0.01868,"59":0,"60":0,"61":0,"62":0,"63":0.05603,"64":0.00623,"65":0.00623,"66":0.00623,"67":0.01245,"68":0.00623,"69":0.0249,"70":0.07471,"71":0.17433,"72":0.05603,"73":0.06849,"74":0.09339,"75":0.05603,"76":0.09962,"77":0.09962,"78":0.11829,"79":0.11829,"80":0.39846,"81":0.26149,"83":17.50129,"84":11.84808,"85":0.00623,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00623,"48":0,"49":0,"50":0.00623,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.01245,"60":0.01245,"62":0,"63":0.00623,"64":0,"65":0,"66":0,"67":0,"68":0.92767,"69":0.57279,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00202,"4.0-4.1":0.00202,"4.2-4.3":0.00202,"5.0-5.1":0.00607,"6.0-6.1":0.00202,"7.0-7.1":0.0081,"8.1-8.4":0.01215,"9.0-9.2":0.0162,"9.3":0.13362,"10.0-10.2":0.03442,"10.3":0.16197,"11.0-11.2":0.11945,"11.3-11.4":0.18829,"12.0-12.1":0.2551,"12.2-12.4":1.55288,"13.0-13.1":0.28952,"13.2":0.14172,"13.3":1.41521,"13.4-13.5":3.4216,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00623,"12":0.04358,"13":0.23659,"14":0.00623,_:"0","3.1":0,"3.2":0,"5.1":0.01245,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00623,"11.1":0.03113,"12.1":0.18678,"13.1":0.92145},B:{"12":0,"13":0.00623,"14":0.01245,"15":0.00623,"16":0.01245,"17":0.0249,"18":0.46072,"79":0,"80":0,"81":0.01868,"83":0.50431,"84":0.44205},I:{"3":0,"4":0.01166,_:"81","2.1":0,"2.2":0,"2.3":0.00117,"4.1":0.01982,"4.2-4.3":0.03265,"4.4":0,"4.4.3-4.4.4":0.2064},P:{"4":0.07126,"5.0-5.4":0.01018,"6.2-6.4":0.01018,"7.2-7.4":0.07126,"8.2":0.03054,"9.2":0.14251,"10.1":0.09161,"11.1-11.2":0.41736,"12.0":1.37422},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.05797,"9":0.00644,"10":0.00644,"11":0.11593,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":49.60322},S:{"2.5":0},R:{_:"0"},M:{"0":0.05284},Q:{"10.4":0.03019},O:{"0":0.06038},H:{"0":0.11791}}; diff --git a/node_modules/caniuse-lite/data/regions/PT.js b/node_modules/caniuse-lite/data/regions/PT.js new file mode 100644 index 000000000..ed51fb82e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00616,"27":0.00616,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01231,"49":0,"50":0,"51":0.00616,"52":0.04926,"53":0,"54":0,"55":0,"56":0.00616,"57":0,"58":0,"59":0,"60":0.00616,"61":0,"62":0,"63":0.00616,"64":0.00616,"65":0.01231,"66":0.00616,"67":0,"68":0.14777,"69":0.00616,"70":0.00616,"71":0,"72":0.01231,"73":0.00616,"74":0.00616,"75":0.01231,"76":0.02463,"77":0.56644,"78":1.83479,"79":0.0862,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00616,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00616,"37":0,"38":0.01231,"39":0,"40":0,"41":0.00616,"42":0,"43":0.15393,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.29554,"50":0,"51":0,"52":0,"53":0.01231,"54":0,"55":0,"56":0.00616,"57":0.00616,"58":1.00359,"59":0.00616,"60":0,"61":0.0431,"62":0.00616,"63":0.02463,"64":0.00616,"65":0.02463,"66":0.01231,"67":0.03079,"68":0.00616,"69":0.01847,"70":0.0431,"71":0.08004,"72":0.04926,"73":0.06773,"74":0.03694,"75":0.03694,"76":0.06157,"77":0.03694,"78":0.03694,"79":0.07388,"80":0.17855,"81":0.2155,"83":15.62031,"84":8.88455,"85":0.01231,"86":0.00616,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.01231,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01231,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00616,"58":0.00616,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.56644,"69":0.24628,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00341,"4.0-4.1":0.00341,"4.2-4.3":0.00341,"5.0-5.1":0.01023,"6.0-6.1":0.00341,"7.0-7.1":0.01365,"8.1-8.4":0.02047,"9.0-9.2":0.02729,"9.3":0.22515,"10.0-10.2":0.05799,"10.3":0.27291,"11.0-11.2":0.20127,"11.3-11.4":0.31725,"12.0-12.1":0.42983,"12.2-12.4":2.6165,"13.0-13.1":0.48782,"13.2":0.23879,"13.3":2.38453,"13.4-13.5":5.76516,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01231,"12":0.0431,"13":0.27091,"14":0.01231,_:"0","3.1":0,"3.2":0,"5.1":0.02463,"6.1":0,"7.1":0,"9.1":0.00616,"10.1":0.03694,"11.1":0.09236,"12.1":0.14777,"13.1":2.09954},B:{"12":0,"13":0,"14":0.01231,"15":0.01231,"16":0.02463,"17":0.0431,"18":0.42483,"79":0.00616,"80":0,"81":0.01231,"83":1.00975,"84":0.64649},I:{"3":0,"4":0.01878,_:"81","2.1":0,"2.2":0,"2.3":0.00188,"4.1":0.03193,"4.2-4.3":0.0526,"4.4":0,"4.4.3-4.4.4":0.33249},P:{"4":0.04148,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.02074,"8.2":0,"9.2":0.04148,"10.1":0.03111,"11.1-11.2":0.25924,"12.0":1.46212},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00636,"9":0.00636,"10":0,"11":0.77538,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":45.33139},S:{"2.5":0},R:{_:"0"},M:{"0":0.16909},Q:{"10.4":0.01922},O:{"0":0.29975},H:{"0":0.10915}}; diff --git a/node_modules/caniuse-lite/data/regions/PW.js b/node_modules/caniuse-lite/data/regions/PW.js new file mode 100644 index 000000000..a54dc1d3f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PW.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.00438,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.01313,"69":0,"70":0.00438,"71":0,"72":0,"73":0.00438,"74":0.00438,"75":0.02188,"76":0.00438,"77":0.14441,"78":0.27569,"79":0.00438,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00875,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.01313,"46":0,"47":0,"48":0.08314,"49":0.05251,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00438,"58":0.0175,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.00438,"66":0.00438,"67":0.02188,"68":0,"69":0.0175,"70":0,"71":0.00875,"72":0,"73":0.0175,"74":0.01313,"75":0,"76":0.0175,"77":0.02626,"78":0.0175,"79":0.03501,"80":0.06564,"81":0.60389,"83":7.92494,"84":4.95363,"85":0.00438,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.00875,"69":0.08314,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00426,"4.0-4.1":0.00426,"4.2-4.3":0.00426,"5.0-5.1":0.01279,"6.0-6.1":0.00426,"7.0-7.1":0.01705,"8.1-8.4":0.02558,"9.0-9.2":0.0341,"9.3":0.28134,"10.0-10.2":0.07247,"10.3":0.34101,"11.0-11.2":0.2515,"11.3-11.4":0.39643,"12.0-12.1":0.5371,"12.2-12.4":3.26948,"13.0-13.1":0.60956,"13.2":0.29839,"13.3":2.97962,"13.4-13.5":7.20394,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.17942,"12":0.05251,"13":0.1094,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.03501,"11.1":0.00875,"12.1":0.16629,"13.1":0.77018},B:{"12":0,"13":0.03938,"14":0.00438,"15":0,"16":0.00438,"17":0.00438,"18":0.07877,"79":0,"80":0,"81":0.0175,"83":0.47261,"84":0.32382},I:{"3":0,"4":0.00781,_:"81","2.1":0,"2.2":0,"2.3":0.00078,"4.1":0.01327,"4.2-4.3":0.02186,"4.4":0,"4.4.3-4.4.4":0.13817},P:{"4":0.05251,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.95575,"8.2":0.04201,"9.2":0.04201,"10.1":0.10503,"11.1-11.2":0.84022,"12.0":3.03531},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":1.31718,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":51.89666},S:{"2.5":0},R:{_:"0"},M:{"0":0.03937},Q:{"10.4":2.5533},O:{"0":1.28227},H:{"0":0.13844}}; diff --git a/node_modules/caniuse-lite/data/regions/PY.js b/node_modules/caniuse-lite/data/regions/PY.js new file mode 100644 index 000000000..336eb2947 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/PY.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0.08862,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.02085,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00521,"44":0,"45":0,"46":0,"47":0.00521,"48":0,"49":0,"50":0,"51":0,"52":0.08862,"53":0,"54":0,"55":0,"56":0,"57":0.00521,"58":0,"59":0,"60":0.02085,"61":0.00521,"62":0,"63":0.02607,"64":0.00521,"65":0.03649,"66":0.00521,"67":0.00521,"68":0.0417,"69":0.00521,"70":0.00521,"71":0.00521,"72":0.01043,"73":0.02607,"74":0.00521,"75":0.00521,"76":0.01564,"77":0.2398,"78":1.08952,"79":0.05734,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00521,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.05734,"50":0,"51":0,"52":0,"53":0.00521,"54":0,"55":0,"56":0,"57":0,"58":0.00521,"59":0,"60":0.00521,"61":0,"62":0,"63":0.01564,"64":0,"65":0.01043,"66":0.00521,"67":0.00521,"68":0.02607,"69":0.02085,"70":0.01564,"71":0.09905,"72":0.05734,"73":0.03649,"74":0.0417,"75":0.03649,"76":0.05213,"77":0.0417,"78":0.07298,"79":0.06777,"80":0.14075,"81":0.19288,"83":12.12023,"84":8.68486,"85":0.00521,"86":0.00521,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01043,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.42225,"69":0.18246,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0012,"4.0-4.1":0.0012,"4.2-4.3":0.0012,"5.0-5.1":0.00361,"6.0-6.1":0.0012,"7.0-7.1":0.00481,"8.1-8.4":0.00722,"9.0-9.2":0.00962,"9.3":0.07938,"10.0-10.2":0.02045,"10.3":0.09622,"11.0-11.2":0.07096,"11.3-11.4":0.11185,"12.0-12.1":0.15154,"12.2-12.4":0.9225,"13.0-13.1":0.17199,"13.2":0.08419,"13.3":0.84071,"13.4-13.5":2.03263,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00521,"11":0.00521,"12":0.01564,"13":0.08341,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.60471,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01564,"11.1":0.02085,"12.1":0.03649,"13.1":0.58907},B:{"12":0,"13":0.00521,"14":0.00521,"15":0.01043,"16":0,"17":0.01043,"18":0.08862,"79":0,"80":0,"81":0.00521,"83":0.40661,"84":0.32842},I:{"3":0,"4":0.01672,_:"81","2.1":0,"2.2":0,"2.3":0.00167,"4.1":0.02842,"4.2-4.3":0.04682,"4.4":0,"4.4.3-4.4.4":0.29594},P:{"4":0.64803,"5.0-5.4":0.05063,"6.2-6.4":0.06075,"7.2-7.4":0.34427,"8.2":0.05063,"9.2":0.31389,"10.1":0.25314,"11.1-11.2":0.8708,"12.0":2.06561},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01564,"9":0,"10":0,"11":0.11469,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":60.52282},S:{"2.5":0},R:{_:"0"},M:{"0":0.04308},Q:{"10.4":0},O:{"0":0.06702},H:{"0":0.1269}}; diff --git a/node_modules/caniuse-lite/data/regions/QA.js b/node_modules/caniuse-lite/data/regions/QA.js new file mode 100644 index 000000000..fdceca141 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/QA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00378,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00757,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00757,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00378,"64":0,"65":0.00378,"66":0.00378,"67":0,"68":0.06054,"69":0,"70":0.00378,"71":0,"72":0.00378,"73":0,"74":0.00378,"75":0.00378,"76":0.00378,"77":0.0946,"78":0.34813,"79":0.01892,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00378,"35":0,"36":0,"37":0,"38":0.01135,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.05298,"50":0,"51":0,"52":0,"53":0.01135,"54":0,"55":0,"56":0.00378,"57":0,"58":0.00757,"59":0.00378,"60":0,"61":0.04162,"62":0.00378,"63":0.00757,"64":0,"65":0.01514,"66":0,"67":0.00757,"68":0.00378,"69":0.01135,"70":0.02649,"71":0.03784,"72":0.0227,"73":0.01514,"74":0.01892,"75":0.01135,"76":0.01892,"77":0.01514,"78":0.09082,"79":0.03027,"80":0.10217,"81":0.1173,"83":6.07332,"84":3.74616,"85":0.00757,"86":0.00378,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00378,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01514,"51":0,"52":0,"53":0,"54":0.00378,"55":0,"56":0,"57":0,"58":0,"60":0.00378,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.01135,"68":0.11352,"69":0.06433,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00441,"4.0-4.1":0.00441,"4.2-4.3":0.00441,"5.0-5.1":0.01322,"6.0-6.1":0.00441,"7.0-7.1":0.01763,"8.1-8.4":0.02645,"9.0-9.2":0.03527,"9.3":0.29094,"10.0-10.2":0.07494,"10.3":0.35266,"11.0-11.2":0.26008,"11.3-11.4":0.40996,"12.0-12.1":0.55543,"12.2-12.4":3.38109,"13.0-13.1":0.63037,"13.2":0.30857,"13.3":3.08133,"13.4-13.5":7.44986,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00757,"9":0,"10":0.00378,"11":0.00757,"12":0.01514,"13":0.09838,"14":0.01135,_:"0","3.1":0,"3.2":0,"5.1":0.00378,"6.1":0,"7.1":0,"9.1":0.00378,"10.1":0.00757,"11.1":0.03027,"12.1":0.07568,"13.1":0.93465},B:{"12":0,"13":0.00378,"14":0.00378,"15":0,"16":0.00757,"17":0.03027,"18":0.22326,"79":0,"80":0,"81":0.00757,"83":0.29137,"84":0.22704},I:{"3":0,"4":0.00349,_:"81","2.1":0,"2.2":0,"2.3":0.00035,"4.1":0.00594,"4.2-4.3":0.00978,"4.4":0,"4.4.3-4.4.4":0.0618},P:{"4":0.13267,"5.0-5.4":0.01021,"6.2-6.4":0,"7.2-7.4":0.05103,"8.2":0.01021,"9.2":0.15308,"10.1":0.08165,"11.1-11.2":0.62254,"12.0":2.50038},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00775,"9":0.00388,"10":0,"11":0.30244,"5.5":0},J:{"7":0,"10":0.02486},N:{"10":0,"11":0},L:{"0":55.49784},S:{"2.5":0},R:{_:"0"},M:{"0":0.1181},Q:{"10.4":0},O:{"0":5.35819},H:{"0":0.55907}}; diff --git a/node_modules/caniuse-lite/data/regions/RE.js b/node_modules/caniuse-lite/data/regions/RE.js new file mode 100644 index 000000000..6b8f3e931 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/RE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01132,"28":0,"29":0,"30":0,"31":0,"32":0.00566,"33":0,"34":0.01132,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0.00566,"45":0.00566,"46":0,"47":0.00566,"48":0.01697,"49":0.02829,"50":0.00566,"51":0,"52":0.05092,"53":0,"54":0.01132,"55":0.03395,"56":0.01132,"57":0.01132,"58":0,"59":0,"60":0.02829,"61":0,"62":0,"63":0,"64":0.01132,"65":0.00566,"66":0.00566,"67":0.01697,"68":0.35645,"69":0.00566,"70":0.00566,"71":0.00566,"72":0.03395,"73":0.01697,"74":0.00566,"75":0.02263,"76":0.03961,"77":0.87699,"78":3.15716,"79":0.14145,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.04526,"35":0,"36":0,"37":0,"38":0.00566,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00566,"46":0,"47":0,"48":0.01132,"49":0.25461,"50":0.00566,"51":0,"52":0,"53":0.01132,"54":0.03961,"55":0.00566,"56":0.00566,"57":0,"58":0.00566,"59":0,"60":0,"61":0.02829,"62":0.00566,"63":0.02829,"64":0,"65":0.0679,"66":0.01132,"67":0.03961,"68":0.01132,"69":0.02263,"70":0.02263,"71":0.07355,"72":0.00566,"73":0.01697,"74":0.02829,"75":0.01697,"76":0.01697,"77":0.02263,"78":0.02263,"79":0.11316,"80":0.11316,"81":0.24329,"83":9.52807,"84":6.55196,"85":0.01132,"86":0.01697,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.05658,"37":0,"38":0,"39":0,"40":0.00566,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00566,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0.00566,"66":0,"67":0,"68":0.4979,"69":0.19237,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00373,"4.0-4.1":0.00373,"4.2-4.3":0.00373,"5.0-5.1":0.01119,"6.0-6.1":0.00373,"7.0-7.1":0.01492,"8.1-8.4":0.02237,"9.0-9.2":0.02983,"9.3":0.24611,"10.0-10.2":0.06339,"10.3":0.29831,"11.0-11.2":0.22001,"11.3-11.4":0.34679,"12.0-12.1":0.46985,"12.2-12.4":2.86009,"13.0-13.1":0.53324,"13.2":0.26103,"13.3":2.60652,"13.4-13.5":6.3019,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00566,"9":0,"10":0.01697,"11":0.00566,"12":0.04526,"13":0.41869,"14":0.01697,_:"0","3.1":0,"3.2":0,"5.1":0.01132,"6.1":0,"7.1":0,"9.1":0.08487,"10.1":0.06224,"11.1":0.3508,"12.1":0.25461,"13.1":3.14585},B:{"12":0,"13":0.00566,"14":0.00566,"15":0.01697,"16":0.02829,"17":0.03395,"18":0.57146,"79":0,"80":0,"81":0.02263,"83":0.93923,"84":0.6337},I:{"3":0,"4":0.00659,_:"81","2.1":0,"2.2":0,"2.3":0.00066,"4.1":0.0112,"4.2-4.3":0.01845,"4.4":0,"4.4.3-4.4.4":0.11665},P:{"4":0.08287,"5.0-5.4":0.01036,"6.2-6.4":0.02072,"7.2-7.4":0.10359,"8.2":0.01036,"9.2":0.16575,"10.1":0.12431,"11.1-11.2":0.6319,"12.0":2.93162},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.29987,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":47.46934},S:{"2.5":0},R:{_:"0"},M:{"0":0.20407},Q:{"10.4":0},O:{"0":0.05645},H:{"0":0.1521}}; diff --git a/node_modules/caniuse-lite/data/regions/RO.js b/node_modules/caniuse-lite/data/regions/RO.js new file mode 100644 index 000000000..d1145b93c --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/RO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00453,"27":0.0136,"28":0,"29":0.00453,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0.00453,"45":0,"46":0,"47":0.00453,"48":0.00453,"49":0,"50":0,"51":0,"52":0.08158,"53":0,"54":0,"55":0,"56":0.00906,"57":0,"58":0.00906,"59":0,"60":0.00453,"61":0.00453,"62":0,"63":0.00453,"64":0.00453,"65":0.00906,"66":0.0136,"67":0.00453,"68":0.14049,"69":0.00453,"70":0.00906,"71":0.00453,"72":0.00906,"73":0.00453,"74":0.00906,"75":0.01813,"76":0.02719,"77":0.38069,"78":1.5726,"79":0.07704,"80":0.00453,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00453,"35":0,"36":0,"37":0,"38":0.00906,"39":0.00453,"40":0,"41":0.00453,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.25379,"50":0,"51":0.00453,"52":0,"53":0.01813,"54":0,"55":0.00453,"56":0,"57":0,"58":0.0136,"59":0,"60":0.10424,"61":0.05438,"62":0.00453,"63":0.00906,"64":0.00906,"65":0.00453,"66":0.00906,"67":0.03626,"68":0.01813,"69":0.08158,"70":0.02719,"71":0.05438,"72":0.02719,"73":0.02719,"74":0.0136,"75":0.01813,"76":0.01813,"77":0.01813,"78":0.02719,"79":0.04985,"80":0.0997,"81":0.13143,"83":8.42952,"84":5.03052,"85":0.00906,"86":0.00906,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00906,"37":0,"38":0,"39":0,"40":0.00453,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00453,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00453,"60":0.00453,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00453,"68":0.64808,"69":0.3263,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00331,"4.0-4.1":0.00331,"4.2-4.3":0.00331,"5.0-5.1":0.00994,"6.0-6.1":0.00331,"7.0-7.1":0.01325,"8.1-8.4":0.01987,"9.0-9.2":0.0265,"9.3":0.21862,"10.0-10.2":0.05631,"10.3":0.265,"11.0-11.2":0.19543,"11.3-11.4":0.30806,"12.0-12.1":0.41737,"12.2-12.4":2.54065,"13.0-13.1":0.47368,"13.2":0.23187,"13.3":2.31541,"13.4-13.5":5.59805,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00906,"13":0.07251,"14":0.00453,_:"0","3.1":0,"3.2":0,"5.1":0.00453,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00906,"11.1":0.01813,"12.1":0.02266,"13.1":0.38069},B:{"12":0,"13":0.00453,"14":0.00453,"15":0.00906,"16":0.00453,"17":0.02266,"18":0.19034,"79":0,"80":0,"81":0.00906,"83":0.36709,"84":0.27645},I:{"3":0,"4":0.01178,_:"81","2.1":0,"2.2":0,"2.3":0.00118,"4.1":0.02003,"4.2-4.3":0.03299,"4.4":0,"4.4.3-4.4.4":0.20855},P:{"4":0.26468,"5.0-5.4":0.01018,"6.2-6.4":0.03054,"7.2-7.4":0.06108,"8.2":0.02036,"9.2":0.2545,"10.1":0.19342,"11.1-11.2":0.89585,"12.0":3.9397},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02406,"9":0.00481,"10":0.00481,"11":0.35607,"5.5":0},J:{"7":0,"10":0.00547},N:{"10":0,"11":0},L:{"0":57.291},S:{"2.5":0},R:{_:"0"},M:{"0":0.24606},Q:{"10.4":0.00547},O:{"0":0.08202},H:{"0":0.36237}}; diff --git a/node_modules/caniuse-lite/data/regions/RS.js b/node_modules/caniuse-lite/data/regions/RS.js new file mode 100644 index 000000000..e225f691c --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/RS.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00438,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.00438,"43":0.00438,"44":0,"45":0.00438,"46":0,"47":0.00438,"48":0.01313,"49":0.00438,"50":0.03063,"51":0.00438,"52":0.14875,"53":0.00438,"54":0,"55":0.00438,"56":0.00875,"57":0.00438,"58":0.00438,"59":0.00438,"60":0.00875,"61":0.00438,"62":0.00438,"63":0.00438,"64":0.00438,"65":0.00875,"66":0.01313,"67":0.00438,"68":0.13563,"69":0.00875,"70":0.00875,"71":0.00875,"72":0.02625,"73":0.00438,"74":0.02188,"75":0.00875,"76":0.02625,"77":0.42,"78":1.93813,"79":0.1225,"80":0.00438,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00438,"23":0,"24":0,"25":0,"26":0.00438,"27":0,"28":0,"29":0.00438,"30":0,"31":0.00438,"32":0,"33":0,"34":0.00438,"35":0,"36":0,"37":0,"38":0.01313,"39":0,"40":0,"41":0,"42":0,"43":0.00438,"44":0,"45":0,"46":0,"47":0.00875,"48":0.00438,"49":0.25813,"50":0.00438,"51":0,"52":0.00438,"53":0.02188,"54":0,"55":0.00438,"56":0.00438,"57":0.00438,"58":0.00875,"59":0.00438,"60":0.00438,"61":0.05688,"62":0.00438,"63":0.00875,"64":0.00875,"65":0.00875,"66":0.00438,"67":0.01313,"68":0.01313,"69":0.01313,"70":0.02625,"71":0.04375,"72":0.03063,"73":0.02625,"74":0.02188,"75":0.02188,"76":0.0175,"77":0.02625,"78":0.035,"79":0.05688,"80":0.11375,"81":0.1575,"83":7.31063,"84":4.68563,"85":0.01313,"86":0.00438,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.02188,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.00438,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00438,"51":0,"52":0,"53":0.00438,"54":0,"55":0,"56":0.00438,"57":0.00438,"58":0,"60":0.00438,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.5775,"69":0.38063,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00438},G:{"8":0,"3.2":0.00192,"4.0-4.1":0.00192,"4.2-4.3":0.00192,"5.0-5.1":0.00577,"6.0-6.1":0.00192,"7.0-7.1":0.00769,"8.1-8.4":0.01154,"9.0-9.2":0.01538,"9.3":0.12691,"10.0-10.2":0.03269,"10.3":0.15383,"11.0-11.2":0.11345,"11.3-11.4":0.17882,"12.0-12.1":0.24228,"12.2-12.4":1.47481,"13.0-13.1":0.27497,"13.2":0.1346,"13.3":1.34406,"13.4-13.5":3.24959,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00438,"13":0.04375,"14":0.00438,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00875,"11.1":0.0175,"12.1":0.02188,"13.1":0.25813},B:{"12":0,"13":0.00438,"14":0.01313,"15":0.03063,"16":0.00438,"17":0.0175,"18":0.11375,"79":0,"80":0,"81":0.00438,"83":0.20563,"84":0.16625},I:{"3":0,"4":0.00971,_:"81","2.1":0,"2.2":0,"2.3":0.00097,"4.1":0.01651,"4.2-4.3":0.02719,"4.4":0,"4.4.3-4.4.4":0.17187},P:{"4":0.14308,"5.0-5.4":0,"6.2-6.4":0.02044,"7.2-7.4":0.03066,"8.2":0.01022,"9.2":0.11242,"10.1":0.14308,"11.1-11.2":0.62341,"12.0":3.15794},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01882,"9":0.00471,"10":0.00471,"11":0.22114,"5.5":0},J:{"7":0,"10":0.01125},N:{"10":0,"11":0},L:{"0":66.38375},S:{"2.5":0},R:{_:"0"},M:{"0":0.18563},Q:{"10.4":0},O:{"0":0.045},H:{"0":0.41005}}; diff --git a/node_modules/caniuse-lite/data/regions/RU.js b/node_modules/caniuse-lite/data/regions/RU.js new file mode 100644 index 000000000..b45fd252a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/RU.js @@ -0,0 +1 @@ +module.exports={C:{"2":0.03006,"3":0.02255,"4":0.00752,"5":0,"6":0,"7":0,"8":0.00752,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00752,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00752,"28":0,"29":0,"30":0.00752,"31":0.00752,"32":0.00752,"33":0.00752,"34":0.00752,"35":0.00752,"36":0.00752,"37":0.00752,"38":0.00752,"39":0.00752,"40":0.01503,"41":0.00752,"42":0.01503,"43":0.01503,"44":0.00752,"45":0.07515,"46":0.01503,"47":0.03006,"48":0.03758,"49":0.02255,"50":0.04509,"51":0.03758,"52":0.22545,"53":0.05261,"54":0.03758,"55":0.03006,"56":0.06764,"57":0.02255,"58":0.01503,"59":0.01503,"60":0.03006,"61":0.01503,"62":0.01503,"63":0.07515,"64":0.06764,"65":0.05261,"66":0.04509,"67":0.01503,"68":0.18788,"69":0.01503,"70":0.02255,"71":0.01503,"72":0.05261,"73":0.01503,"74":0.03758,"75":0.03006,"76":0.06012,"77":0.59369,"78":1.89378,"79":0.0977,"80":0.00752,"81":0,"3.5":0.01503,"3.6":0.03006},D:{"4":0.01503,"5":0.00752,"6":0.00752,"7":0,"8":0,"9":0,"10":0.00752,"11":0.00752,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00752,"18":0,"19":0,"20":0,"21":0,"22":0.00752,"23":0,"24":0.00752,"25":0,"26":0.00752,"27":0,"28":0.00752,"29":0,"30":0,"31":0.00752,"32":0,"33":0.00752,"34":0.00752,"35":0.00752,"36":0.00752,"37":0.00752,"38":0.00752,"39":0.00752,"40":0.00752,"41":0.01503,"42":0.00752,"43":0.00752,"44":0,"45":0.00752,"46":0.01503,"47":0.02255,"48":0.03758,"49":0.41333,"50":0.00752,"51":0.12024,"52":0.00752,"53":0.01503,"54":0.00752,"55":0.01503,"56":0.02255,"57":0.03006,"58":0.02255,"59":0.05261,"60":0.03006,"61":0.13527,"62":0.03006,"63":0.03758,"64":0.03758,"65":0.03758,"66":0.03758,"67":0.06012,"68":0.05261,"69":0.06012,"70":0.38327,"71":0.50351,"72":0.42084,"73":0.26303,"74":0.12776,"75":0.11273,"76":0.13527,"77":0.10521,"78":0.17285,"79":0.33066,"80":0.48096,"81":0.48096,"83":16.05204,"84":9.93483,"85":0.03006,"86":0.02255,"87":0},F:{"9":0,"11":0.00752,"12":0.00752,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.05261,"37":0.00752,"38":0,"39":0,"40":0,"41":0,"42":0.00752,"43":0,"44":0,"45":0,"46":0.00752,"47":0.00752,"48":0,"49":0,"50":0.03006,"51":0,"52":0,"53":0.00752,"54":0.00752,"55":0,"56":0.03006,"57":0.04509,"58":0.03006,"60":0.01503,"62":0.00752,"63":0.00752,"64":0,"65":0.00752,"66":0.00752,"67":0.03006,"68":2.57013,"69":1.36773,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.12024},G:{"8":0,"3.2":0.00247,"4.0-4.1":0.00247,"4.2-4.3":0.00247,"5.0-5.1":0.00742,"6.0-6.1":0.00247,"7.0-7.1":0.00989,"8.1-8.4":0.01483,"9.0-9.2":0.01978,"9.3":0.16316,"10.0-10.2":0.04203,"10.3":0.19777,"11.0-11.2":0.14586,"11.3-11.4":0.22991,"12.0-12.1":0.31149,"12.2-12.4":1.89616,"13.0-13.1":0.35352,"13.2":0.17305,"13.3":1.72805,"13.4-13.5":4.17797,_:"14.0"},E:{"4":0.02255,"5":0.01503,"6":0,"7":0.00752,"8":0.00752,"9":0.00752,"10":0.00752,"11":0.01503,"12":0.06764,"13":0.4509,"14":0.02255,_:"0","3.1":0.00752,"3.2":0.00752,"5.1":1.04459,"6.1":0.00752,"7.1":0,"9.1":0.00752,"10.1":0.02255,"11.1":0.06764,"12.1":0.16533,"13.1":1.84869},B:{"12":0.00752,"13":0.03006,"14":0.01503,"15":0.00752,"16":0.01503,"17":0.06012,"18":0.62375,"79":0,"80":0,"81":0.00752,"83":0.17285,"84":0.10521},I:{"3":0,"4":0.01318,_:"81","2.1":0,"2.2":0,"2.3":0.00132,"4.1":0.02241,"4.2-4.3":0.0369,"4.4":0,"4.4.3-4.4.4":0.23329},P:{"4":0.1104,"5.0-5.4":0.01004,"6.2-6.4":0.01004,"7.2-7.4":0.04015,"8.2":0.01004,"9.2":0.04015,"10.1":0.05018,"11.1-11.2":0.19069,"12.0":0.57208},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.00818,"7":0.00818,"8":0.12269,"9":0.0409,"10":0.0409,"11":0.97337,"5.5":0},J:{"7":0,"10":0.00249},N:{"10":0.00994,"11":0.01988},L:{"0":27.22687},S:{"2.5":0},R:{_:"0"},M:{"0":0.1665},Q:{"10.4":0.02982},O:{"0":0.34293},H:{"0":0.42112}}; diff --git a/node_modules/caniuse-lite/data/regions/RW.js b/node_modules/caniuse-lite/data/regions/RW.js new file mode 100644 index 000000000..8b22b2508 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/RW.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.0095,"18":0.00475,"19":0,"20":0,"21":0.00475,"22":0,"23":0,"24":0,"25":0.00475,"26":0,"27":0.00475,"28":0,"29":0,"30":0,"31":0.00475,"32":0,"33":0,"34":0.00475,"35":0,"36":0,"37":0.00475,"38":0,"39":0,"40":0.00475,"41":0,"42":0,"43":0.01425,"44":0.00475,"45":0,"46":0,"47":0.01425,"48":0.0095,"49":0,"50":0.0095,"51":0,"52":0.00475,"53":0,"54":0.00475,"55":0,"56":0.0095,"57":0.00475,"58":0.00475,"59":0.00475,"60":0.00475,"61":0.00475,"62":0.00475,"63":0,"64":0.00475,"65":0.00475,"66":0.01425,"67":0.00475,"68":0.11875,"69":0,"70":0.00475,"71":0.00475,"72":0.0285,"73":0.00475,"74":0.0095,"75":0.019,"76":0.0285,"77":0.53675,"78":2.0235,"79":0.26125,"80":0.0095,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00475,"35":0,"36":0.00475,"37":0.00475,"38":0,"39":0.00475,"40":0.01425,"41":0.0095,"42":0,"43":0.02375,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.038,"50":0.00475,"51":0,"52":0,"53":0.00475,"54":0,"55":0.00475,"56":0.00475,"57":0.00475,"58":0.0095,"59":0,"60":0.0095,"61":0.0095,"62":0.00475,"63":0.06175,"64":0.00475,"65":0.019,"66":0,"67":0.0095,"68":0.00475,"69":0.0285,"70":0.0095,"71":0.0285,"72":0.00475,"73":0.01425,"74":0.0475,"75":0.01425,"76":0.1045,"77":0.038,"78":0.0475,"79":0.1235,"80":0.1805,"81":0.18525,"83":7.83275,"84":5.225,"85":0.02375,"86":0.0095,"87":0},F:{"9":0,"11":0,"12":0.00475,"15":0,"16":0.01425,"17":0,"18":0,"19":0.0095,"20":0.0095,"21":0,"22":0,"23":0.01425,"24":0,"25":0,"26":0,"27":0,"28":0.00475,"29":0,"30":0.00475,"31":0,"32":0.0095,"33":0.00475,"34":0,"35":0,"36":0,"37":0.07125,"38":0.00475,"39":0,"40":0,"41":0,"42":0.00475,"43":0.00475,"44":0,"45":0.00475,"46":0.019,"47":0.019,"48":0,"49":0,"50":0.1425,"51":0,"52":0,"53":0.0095,"54":0.00475,"55":0.02375,"56":0.0095,"57":0.00475,"58":0.00475,"60":0.00475,"62":0,"63":0,"64":0,"65":0.00475,"66":0,"67":0.00475,"68":0.6555,"69":0.361,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0855},G:{"8":0,"3.2":0.00137,"4.0-4.1":0.00137,"4.2-4.3":0.00137,"5.0-5.1":0.00411,"6.0-6.1":0.00137,"7.0-7.1":0.00548,"8.1-8.4":0.00822,"9.0-9.2":0.01096,"9.3":0.09045,"10.0-10.2":0.0233,"10.3":0.10964,"11.0-11.2":0.08086,"11.3-11.4":0.12745,"12.0-12.1":0.17268,"12.2-12.4":1.05113,"13.0-13.1":0.19597,"13.2":0.09593,"13.3":0.95794,"13.4-13.5":2.31604,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.019,"11":0.0095,"12":0.076,"13":0.17575,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.0475,"6.1":0.00475,"7.1":0,"9.1":0.00475,"10.1":0.02375,"11.1":0.076,"12.1":0.095,"13.1":0.59375},B:{"12":0.038,"13":0.08075,"14":0.02375,"15":0.02375,"16":0.02375,"17":0.09025,"18":0.38475,"79":0,"80":0,"81":0.019,"83":0.3325,"84":0.285},I:{"3":0,"4":0.01046,_:"81","2.1":0,"2.2":0,"2.3":0.00105,"4.1":0.01778,"4.2-4.3":0.02929,"4.4":0,"4.4.3-4.4.4":0.18517},P:{"4":0.50665,"5.0-5.4":0.02027,"6.2-6.4":0,"7.2-7.4":0.10133,"8.2":0.02027,"9.2":0.13173,"10.1":0.17226,"11.1-11.2":0.35466,"12.0":0.57758},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01867,"9":0,"10":0,"11":0.34233,"5.5":0},J:{"7":0,"10":0.0315},N:{"10":0,"11":0},L:{"0":43.27375},S:{"2.5":0.16275},R:{_:"0"},M:{"0":0.24675},Q:{"10.4":0.01575},O:{"0":1.155},H:{"0":15.70634}}; diff --git a/node_modules/caniuse-lite/data/regions/SA.js b/node_modules/caniuse-lite/data/regions/SA.js new file mode 100644 index 000000000..875817f3e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00728,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00364,"49":0,"50":0,"51":0,"52":0.00728,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.00364,"66":0,"67":0,"68":0.03641,"69":0,"70":0,"71":0,"72":0.00364,"73":0.00364,"74":0.00364,"75":0.00364,"76":0.01092,"77":0.16749,"78":0.48061,"79":0.02549,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00364,"34":0.00364,"35":0,"36":0,"37":0,"38":0.00364,"39":0,"40":0,"41":0.00364,"42":0,"43":0.00728,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.04733,"50":0,"51":0,"52":0,"53":0.00728,"54":0,"55":0,"56":0.00364,"57":0,"58":0.00728,"59":0,"60":0,"61":0.00364,"62":0.00364,"63":0.01092,"64":0.00364,"65":0.00364,"66":0.00364,"67":0.00728,"68":0.00364,"69":0.01092,"70":0.01092,"71":0.01456,"72":0.01092,"73":0.01821,"74":0.02185,"75":0.01092,"76":0.01456,"77":0.01821,"78":0.04005,"79":0.02913,"80":0.06918,"81":0.09467,"83":5.93119,"84":3.39341,"85":0.01092,"86":0.00364,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00364,"51":0.00364,"52":0.00728,"53":0.00364,"54":0,"55":0,"56":0.00364,"57":0,"58":0,"60":0.00364,"62":0.00364,"63":0.00364,"64":0.00364,"65":0.00728,"66":0.00364,"67":0.00728,"68":0.04369,"69":0.01456,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00868,"4.0-4.1":0.00868,"4.2-4.3":0.00868,"5.0-5.1":0.02603,"6.0-6.1":0.00868,"7.0-7.1":0.03471,"8.1-8.4":0.05207,"9.0-9.2":0.06943,"9.3":0.57276,"10.0-10.2":0.14753,"10.3":0.69426,"11.0-11.2":0.51201,"11.3-11.4":0.80707,"12.0-12.1":1.09345,"12.2-12.4":6.65618,"13.0-13.1":1.24098,"13.2":0.60747,"13.3":6.06606,"13.4-13.5":14.66616,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00364,"11":0.00728,"12":0.02549,"13":0.17841,"14":0.00364,_:"0","3.1":0,"3.2":0,"5.1":0.02185,"6.1":0,"7.1":0,"9.1":0.00364,"10.1":0.00728,"11.1":0.03277,"12.1":0.07646,"13.1":0.96487},B:{"12":0.00364,"13":0.00364,"14":0.00364,"15":0.00364,"16":0.00728,"17":0.02185,"18":0.2221,"79":0,"80":0,"81":0.01092,"83":0.26215,"84":0.18569},I:{"3":0,"4":0.00546,_:"81","2.1":0,"2.2":0,"2.3":0.00055,"4.1":0.00929,"4.2-4.3":0.0153,"4.4":0,"4.4.3-4.4.4":0.09669},P:{"4":0.17268,"5.0-5.4":0.02032,"6.2-6.4":0.01016,"7.2-7.4":0.08126,"8.2":0.03047,"9.2":0.18284,"10.1":0.15236,"11.1-11.2":0.57898,"12.0":1.84869},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00397,"9":0,"10":0,"11":0.1708,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":46.13503},S:{"2.5":0},R:{_:"0"},M:{"0":0.10174},Q:{"10.4":0.00636},O:{"0":1.27816},H:{"0":0.11439}}; diff --git a/node_modules/caniuse-lite/data/regions/SB.js b/node_modules/caniuse-lite/data/regions/SB.js new file mode 100644 index 000000000..5c1014b05 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SB.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.01456,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00485,"37":0,"38":0,"39":0,"40":0.0097,"41":0,"42":0,"43":0.00485,"44":0.00485,"45":0,"46":0,"47":0.01941,"48":0.00485,"49":0.0097,"50":0,"51":0,"52":0.00485,"53":0,"54":0,"55":0.0097,"56":0,"57":0,"58":0.01941,"59":0,"60":0.03882,"61":0,"62":0,"63":0.00485,"64":0,"65":0.00485,"66":0.00485,"67":0.00485,"68":0.1213,"69":0.0097,"70":0,"71":0.0097,"72":0.0097,"73":0.0097,"74":0.01941,"75":0,"76":0.0097,"77":0.38331,"78":1.082,"79":0.08248,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00485,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.00485,"33":0.01456,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.0097,"41":0,"42":0,"43":0,"44":0,"45":0.0097,"46":0,"47":0,"48":0,"49":0.14556,"50":0.00485,"51":0,"52":0,"53":0.00485,"54":0,"55":0.01941,"56":0.0097,"57":0,"58":0.0097,"59":0,"60":0.00485,"61":0,"62":0,"63":0.05337,"64":0.00485,"65":0.04367,"66":0.0097,"67":0.00485,"68":0.00485,"69":0.06308,"70":0.01941,"71":0.0097,"72":0,"73":0.00485,"74":0.00485,"75":0.01941,"76":0.01941,"77":0.0097,"78":0.02911,"79":0.08734,"80":0.09219,"81":0.33964,"83":4.1339,"84":4.7307,"85":0.00485,"86":0,"87":0},F:{"9":0,"11":0,"12":0.00485,"15":0,"16":0,"17":0.00485,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.0097,"38":0.0097,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.03396,"46":0,"47":0,"48":0,"49":0,"50":0.02426,"51":0,"52":0,"53":0.00485,"54":0,"55":0.00485,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.09219,"69":0.04367,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01941},G:{"8":0,"3.2":0.00101,"4.0-4.1":0.00101,"4.2-4.3":0.00101,"5.0-5.1":0.00304,"6.0-6.1":0.00101,"7.0-7.1":0.00405,"8.1-8.4":0.00608,"9.0-9.2":0.0081,"9.3":0.06684,"10.0-10.2":0.01722,"10.3":0.08102,"11.0-11.2":0.05975,"11.3-11.4":0.09418,"12.0-12.1":0.1276,"12.2-12.4":0.77675,"13.0-13.1":0.14482,"13.2":0.07089,"13.3":0.70789,"13.4-13.5":1.71148,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.03396,"10":0.01456,"11":0.0097,"12":0,"13":0.2329,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.07278,"11.1":0.35905,"12.1":0.02426,"13.1":0.16982},B:{"12":0.04367,"13":0.1116,"14":0.07763,"15":0.2329,"16":0.21834,"17":0.53372,"18":3.37699,"79":0,"80":0.00485,"81":0.02911,"83":0.36875,"84":0.42698},I:{"3":0,"4":0.0293,_:"81","2.1":0,"2.2":0,"2.3":0.00293,"4.1":0.04982,"4.2-4.3":0.08205,"4.4":0,"4.4.3-4.4.4":0.51868},P:{"4":1.2237,"5.0-5.4":0.04079,"6.2-6.4":0.13257,"7.2-7.4":0.50988,"8.2":0.04079,"9.2":0.56086,"10.1":0.30593,"11.1-11.2":0.58126,"12.0":0.33652},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00485,"9":0.05337,"10":0.00485,"11":1.90684,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":61.36733},S:{"2.5":0},R:{_:"0"},M:{"0":0.21622},Q:{"10.4":0.08237},O:{"0":2.61518},H:{"0":2.18833}}; diff --git a/node_modules/caniuse-lite/data/regions/SC.js b/node_modules/caniuse-lite/data/regions/SC.js new file mode 100644 index 000000000..20cdbe756 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SC.js @@ -0,0 +1 @@ +module.exports={C:{"2":0.00932,"3":0,"4":0.04658,"5":0.02795,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0.05124,"16":0,"17":0.03726,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00466,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00466,"39":0.00932,"40":0,"41":0,"42":0,"43":0.00466,"44":0.00466,"45":0.00932,"46":0.04658,"47":0.01397,"48":0,"49":0.00466,"50":0.00932,"51":0,"52":0.03261,"53":0,"54":0.00466,"55":0.00466,"56":0.00466,"57":0,"58":0,"59":0.06987,"60":0.13974,"61":0.06521,"62":0.06987,"63":0.0885,"64":0.00932,"65":0.00932,"66":0.00932,"67":0.01397,"68":0.64746,"69":0.00466,"70":0.00932,"71":0.00466,"72":0.01397,"73":0.00466,"74":0.00466,"75":0.00466,"76":0.03726,"77":0.26551,"78":1.66291,"79":0.19098,"80":0.00466,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00466,"24":0.04192,"25":0.00932,"26":0,"27":0,"28":0,"29":0.00466,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00466,"44":0,"45":0,"46":0.00932,"47":0,"48":0,"49":0.03726,"50":0,"51":0.00466,"52":0,"53":0,"54":0,"55":0.00466,"56":0,"57":0.02329,"58":0.02329,"59":0,"60":0.06987,"61":0.03726,"62":0,"63":0.01863,"64":0.0885,"65":0.04658,"66":0.01397,"67":0.00932,"68":0.04192,"69":0.11645,"70":0.09316,"71":0.71267,"72":0.13042,"73":0.47046,"74":0.20495,"75":0.01397,"76":0.02329,"77":0.08384,"78":0.08384,"79":0.03726,"80":0.11179,"81":0.15837,"83":5.23093,"84":3.89409,"85":0.00466,"86":0.00466,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00466,"47":0.02329,"48":0,"49":0,"50":0.01397,"51":0,"52":0,"53":0.03726,"54":0.00466,"55":0,"56":0.00466,"57":0.15371,"58":0.00466,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00466,"68":0.13974,"69":0.24222,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00466},G:{"8":0,"3.2":0.00182,"4.0-4.1":0.00182,"4.2-4.3":0.00182,"5.0-5.1":0.00545,"6.0-6.1":0.00182,"7.0-7.1":0.00726,"8.1-8.4":0.01089,"9.0-9.2":0.01452,"9.3":0.11983,"10.0-10.2":0.03086,"10.3":0.14524,"11.0-11.2":0.10712,"11.3-11.4":0.16884,"12.0-12.1":0.22876,"12.2-12.4":1.39251,"13.0-13.1":0.25962,"13.2":0.12709,"13.3":1.26906,"13.4-13.5":3.06825,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00466,"12":0.06987,"13":0.07919,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00466,"11.1":0.1444,"12.1":0.18632,"13.1":0.62417},B:{"12":0.02795,"13":0.03261,"14":0.02329,"15":0.01863,"16":0.03261,"17":0.0885,"18":0.40059,"79":0,"80":0,"81":0.02795,"83":0.41922,"84":0.34935},I:{"3":0,"4":0.02978,_:"81","2.1":0,"2.2":0,"2.3":0.00298,"4.1":0.05063,"4.2-4.3":0.0834,"4.4":0,"4.4.3-4.4.4":0.52718},P:{"4":0.1829,"5.0-5.4":0.02032,"6.2-6.4":0,"7.2-7.4":0.4166,"8.2":0.08129,"9.2":0.24386,"10.1":0.5995,"11.1-11.2":2.38782,"12.0":2.39798},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.10772,"9":0.00937,"10":0.02342,"11":1.57364,"5.5":0},J:{"7":0,"10":0.00534},N:{"10":0,"11":0},L:{"0":53.26909},S:{"2.5":0.00534},R:{_:"0"},M:{"0":0.41133},Q:{"10.4":0.27244},O:{"0":4.08663},H:{"0":0.9508}}; diff --git a/node_modules/caniuse-lite/data/regions/SD.js b/node_modules/caniuse-lite/data/regions/SD.js new file mode 100644 index 000000000..1467f5389 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SD.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00197,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00197,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00986,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00394,"44":0.00197,"45":0,"46":0,"47":0.00789,"48":0.00394,"49":0.00197,"50":0,"51":0,"52":0.0138,"53":0,"54":0.00197,"55":0,"56":0.00197,"57":0.00197,"58":0,"59":0,"60":0.00197,"61":0.00197,"62":0,"63":0,"64":0.00197,"65":0,"66":0.00592,"67":0.00197,"68":0.03352,"69":0.00394,"70":0.00197,"71":0.00197,"72":0.01775,"73":0.00394,"74":0.00592,"75":0.00592,"76":0.01183,"77":0.13212,"78":0.60146,"79":0.02169,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00197,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00197,"28":0,"29":0,"30":0,"31":0.00197,"32":0,"33":0.00592,"34":0,"35":0,"36":0.00197,"37":0,"38":0,"39":0,"40":0.00986,"41":0,"42":0,"43":0.02761,"44":0,"45":0.00197,"46":0.00197,"47":0,"48":0.01972,"49":0.00394,"50":0.00197,"51":0.00197,"52":0,"53":0,"54":0,"55":0.00592,"56":0.00394,"57":0.00394,"58":0.00592,"59":0,"60":0.00197,"61":0,"62":0,"63":0.01183,"64":0.00394,"65":0.00197,"66":0.00197,"67":0.00197,"68":0.00197,"69":0.00789,"70":0.00394,"71":0.00592,"72":0.00197,"73":0.00394,"74":0.00394,"75":0.00592,"76":0.00986,"77":0.00592,"78":0.0355,"79":0.02761,"80":0.05324,"81":0.05719,"83":0.93867,"84":0.58174,"85":0.00197,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0.00197,"16":0,"17":0,"18":0,"19":0,"20":0.00197,"21":0,"22":0,"23":0.00197,"24":0,"25":0,"26":0,"27":0,"28":0.00197,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.00197,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.00197,"43":0,"44":0,"45":0,"46":0.00197,"47":0.00592,"48":0,"49":0,"50":0.00394,"51":0.00197,"52":0,"53":0.01972,"54":0.00789,"55":0.00197,"56":0.00592,"57":0.00197,"58":0.00394,"60":0.00197,"62":0,"63":0,"64":0,"65":0.00197,"66":0,"67":0.00394,"68":0.23467,"69":0.11043,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0.00197,"11.6":0,"12.1":0.00789},G:{"8":0,"3.2":0.0015,"4.0-4.1":0.0015,"4.2-4.3":0.0015,"5.0-5.1":0.0045,"6.0-6.1":0.0015,"7.0-7.1":0.006,"8.1-8.4":0.009,"9.0-9.2":0.012,"9.3":0.09899,"10.0-10.2":0.0255,"10.3":0.11999,"11.0-11.2":0.08849,"11.3-11.4":0.13948,"12.0-12.1":0.18898,"12.2-12.4":1.15036,"13.0-13.1":0.21447,"13.2":0.10499,"13.3":1.04838,"13.4-13.5":2.5347,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00789,"12":0.00592,"13":0.02366,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.02366,"6.1":0,"7.1":0,"9.1":0.00197,"10.1":0.00197,"11.1":0.0138,"12.1":0.03944,"13.1":0.07888},B:{"12":0.00592,"13":0.00197,"14":0.01183,"15":0.01972,"16":0.00789,"17":0.00986,"18":0.05916,"79":0,"80":0,"81":0.00592,"83":0.0631,"84":0.04733},I:{"3":0,"4":0.01167,_:"81","2.1":0,"2.2":0,"2.3":0.00117,"4.1":0.01983,"4.2-4.3":0.03267,"4.4":0,"4.4.3-4.4.4":0.2065},P:{"4":1.53721,"5.0-5.4":0.1018,"6.2-6.4":0.16288,"7.2-7.4":0.39703,"8.2":0.08144,"9.2":0.60063,"10.1":0.45811,"11.1-11.2":0.80423,"12.0":0.64135},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01938,"9":0,"10":0,"11":0.09302,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":70.20398},S:{"2.5":0.00803},R:{_:"0"},M:{"0":0.17662},Q:{"10.4":0.04014},O:{"0":3.155},H:{"0":7.87401}}; diff --git a/node_modules/caniuse-lite/data/regions/SE.js b/node_modules/caniuse-lite/data/regions/SE.js new file mode 100644 index 000000000..a83bc9ef4 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00435,"24":0,"25":0,"26":0.00435,"27":0.02173,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00435,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00869,"49":0,"50":0,"51":0,"52":0.02608,"53":0,"54":0,"55":0,"56":0.00435,"57":0,"58":0,"59":0.00435,"60":0.00435,"61":0,"62":0,"63":0,"64":0.00435,"65":0.00435,"66":0.00435,"67":0,"68":0.17819,"69":0.00435,"70":0.00435,"71":0.00435,"72":0.00869,"73":0.00435,"74":0.00869,"75":0.00869,"76":0.02173,"77":0.30422,"78":0.99523,"79":0.04781,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00435,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00435,"35":0,"36":0,"37":0,"38":0.00869,"39":0,"40":0,"41":0.00435,"42":0,"43":0,"44":0,"45":0,"46":0.00435,"47":0,"48":0,"49":0.07823,"50":0,"51":0,"52":0,"53":0.01304,"54":0,"55":0,"56":0.00435,"57":0,"58":0.00435,"59":0.00435,"60":0.00435,"61":0.00869,"62":0,"63":0.00869,"64":0.00869,"65":0.01304,"66":0.02608,"67":0.02173,"68":0.00435,"69":0.07388,"70":0.03042,"71":0.04781,"72":0.02173,"73":0.02608,"74":0.00869,"75":0.01738,"76":0.02608,"77":0.01738,"78":0.02608,"79":0.06954,"80":0.09127,"81":0.17819,"83":6.64938,"84":3.35077,"85":0.00435,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00435,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0.00869,"65":0,"66":0,"67":0,"68":0.13907,"69":0.07388,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00982,"4.0-4.1":0.00982,"4.2-4.3":0.00982,"5.0-5.1":0.02947,"6.0-6.1":0.00982,"7.0-7.1":0.0393,"8.1-8.4":0.05895,"9.0-9.2":0.0786,"9.3":0.64844,"10.0-10.2":0.16702,"10.3":0.78599,"11.0-11.2":0.57966,"11.3-11.4":0.91371,"12.0-12.1":1.23793,"12.2-12.4":7.53563,"13.0-13.1":1.40495,"13.2":0.68774,"13.3":6.86755,"13.4-13.5":16.60394,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00435,"9":0,"10":0.00435,"11":0.00869,"12":0.02173,"13":0.25207,"14":0.00869,_:"0","3.1":0,"3.2":0,"5.1":0.00435,"6.1":0,"7.1":0,"9.1":0.00869,"10.1":0.03911,"11.1":0.07823,"12.1":0.12603,"13.1":2.13823},B:{"12":0,"13":0.00435,"14":0.00435,"15":0.00435,"16":0.02608,"17":0.05215,"18":0.50848,"79":0,"80":0.00435,"81":0.04346,"83":0.7084,"84":0.58671},I:{"3":0,"4":0.00662,_:"81","2.1":0,"2.2":0,"2.3":0.00066,"4.1":0.01126,"4.2-4.3":0.01855,"4.4":0,"4.4.3-4.4.4":0.11725},P:{"4":0.11566,"5.0-5.4":0.01051,"6.2-6.4":0,"7.2-7.4":0.03154,"8.2":0.01051,"9.2":0.10515,"10.1":0.13669,"11.1-11.2":0.79913,"12.0":4.63703},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0223,"9":0.00892,"10":0,"11":0.6511,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":33.64661},S:{"2.5":0},R:{_:"0"},M:{"0":0.39578},Q:{"10.4":0.00565},O:{"0":0.05089},H:{"0":0.17664}}; diff --git a/node_modules/caniuse-lite/data/regions/SG.js b/node_modules/caniuse-lite/data/regions/SG.js new file mode 100644 index 000000000..f25c322c3 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00442,"27":0.03538,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00442,"49":0,"50":0,"51":0,"52":0.01327,"53":0,"54":0,"55":0.00442,"56":0.00442,"57":0.00442,"58":0,"59":0,"60":0.00442,"61":0.00442,"62":0.00442,"63":0.02654,"64":0.03981,"65":0.03981,"66":0.01769,"67":0.00442,"68":0.13269,"69":0,"70":0,"71":0,"72":0.00885,"73":0,"74":0.00442,"75":0.00442,"76":0.00885,"77":0.16365,"78":0.61037,"79":0.02654,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00442,"23":0,"24":0,"25":0,"26":0.00885,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.04865,"35":0,"36":0,"37":0,"38":0.10615,"39":0,"40":0.00442,"41":0.00442,"42":0,"43":0,"44":0,"45":0.00442,"46":0,"47":0.00885,"48":0.00442,"49":0.19904,"50":0,"51":0.00442,"52":0,"53":0.115,"54":0.00442,"55":0.00885,"56":0.00885,"57":0.00885,"58":0.00442,"59":0.00442,"60":0.00442,"61":0.0575,"62":0.00885,"63":0.01327,"64":0.00885,"65":0.03096,"66":0.00885,"67":0.03538,"68":0.02654,"69":0.02212,"70":0.18134,"71":0.23884,"72":0.20788,"73":0.11942,"74":0.03096,"75":0.03538,"76":0.03538,"77":0.04423,"78":0.0575,"79":0.07961,"80":0.16365,"81":0.24327,"83":7.09892,"84":3.99397,"85":0.00885,"86":0.00442,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00885,"37":0.03096,"38":0,"39":0,"40":0.00442,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00442,"47":0.00442,"48":0,"49":0,"50":0.09288,"51":0,"52":0,"53":0.00442,"54":0.00442,"55":0.00442,"56":0.01327,"57":0.00442,"58":0.02654,"60":0.00442,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.09288,"69":0.05308,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00442},G:{"8":0,"3.2":0.00653,"4.0-4.1":0.00653,"4.2-4.3":0.00653,"5.0-5.1":0.01958,"6.0-6.1":0.00653,"7.0-7.1":0.0261,"8.1-8.4":0.03915,"9.0-9.2":0.0522,"9.3":0.43066,"10.0-10.2":0.11093,"10.3":0.52201,"11.0-11.2":0.38499,"11.3-11.4":0.60684,"12.0-12.1":0.82217,"12.2-12.4":5.00481,"13.0-13.1":0.9331,"13.2":0.45676,"13.3":4.5611,"13.4-13.5":11.02755,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00442,"9":0,"10":0,"11":0.00885,"12":0.03096,"13":0.19904,"14":0.00885,_:"0","3.1":0,"3.2":0,"5.1":0.00885,"6.1":0,"7.1":0,"9.1":0.00442,"10.1":0.01769,"11.1":0.04865,"12.1":0.08404,"13.1":1.70286},B:{"12":0,"13":0,"14":0.00442,"15":0.00442,"16":0.00885,"17":0.03538,"18":0.20788,"79":0,"80":0,"81":0.00885,"83":0.35826,"84":0.27865},I:{"3":0,"4":0.02009,_:"81","2.1":0,"2.2":0,"2.3":0.00201,"4.1":0.03415,"4.2-4.3":0.05625,"4.4":0,"4.4.3-4.4.4":0.35558},P:{"4":0.48145,"5.0-5.4":0,"6.2-6.4":0.01047,"7.2-7.4":0.02093,"8.2":0.01047,"9.2":0.0628,"10.1":0.07326,"11.1-11.2":0.46052,"12.0":3.54806},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.025,"9":0.00625,"10":0.0125,"11":0.53124,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":36.46882},S:{"2.5":0},R:{_:"0"},M:{"0":0.35135},Q:{"10.4":0.11154},O:{"0":1.01501},H:{"0":0.75503}}; diff --git a/node_modules/caniuse-lite/data/regions/SH.js b/node_modules/caniuse-lite/data/regions/SH.js new file mode 100644 index 000000000..0ad065210 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SH.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":9.857,"74":0,"75":5.62835,"76":0,"77":0,"78":2.8191,"79":0,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":11.26655,"80":8.44745,"81":19.714,"83":0,"84":7.0379,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.4":0,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.5":0,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":5.62835,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"79":0,"80":0,"81":0,"83":0,"84":0},I:{"3":0,"4":0,_:"81","2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":2.83955},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/SI.js b/node_modules/caniuse-lite/data/regions/SI.js new file mode 100644 index 000000000..13bf2a798 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SI.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00589,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00589,"46":0,"47":0.00589,"48":0,"49":0,"50":0.01178,"51":0,"52":0.15319,"53":0.00589,"54":0,"55":0,"56":0.00589,"57":0.01178,"58":0,"59":0,"60":0.02946,"61":0,"62":0,"63":0.00589,"64":0.00589,"65":0.00589,"66":0.02357,"67":0.00589,"68":0.38887,"69":0.00589,"70":0.00589,"71":0.00589,"72":0.02357,"73":0.00589,"74":0.01178,"75":0.03535,"76":0.0766,"77":1.35516,"78":4.50149,"79":0.16498,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00589,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.24157,"47":0,"48":0,"49":0.218,"50":0,"51":0,"52":0,"53":0.00589,"54":0,"55":0.00589,"56":0.01178,"57":0,"58":0.02357,"59":0.01178,"60":0,"61":0.05892,"62":0.02946,"63":0.01768,"64":0,"65":0.04124,"66":0.00589,"67":0.04714,"68":0.00589,"69":0.0707,"70":0.0707,"71":0.06481,"72":0.04714,"73":0.12962,"74":0.04124,"75":0.04124,"76":0.02357,"77":0.01768,"78":0.02946,"79":0.04124,"80":0.15319,"81":0.218,"83":12.46747,"84":6.88775,"85":0.00589,"86":0.00589,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00589,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00589,"68":0.47136,"69":0.18854,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00264,"4.0-4.1":0.00264,"4.2-4.3":0.00264,"5.0-5.1":0.00791,"6.0-6.1":0.00264,"7.0-7.1":0.01055,"8.1-8.4":0.01582,"9.0-9.2":0.0211,"9.3":0.17404,"10.0-10.2":0.04483,"10.3":0.21096,"11.0-11.2":0.15558,"11.3-11.4":0.24524,"12.0-12.1":0.33226,"12.2-12.4":2.02256,"13.0-13.1":0.37709,"13.2":0.18459,"13.3":1.84324,"13.4-13.5":4.45648,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00589,"10":0,"11":0.00589,"12":0.03535,"13":0.18265,"14":0.00589,_:"0","3.1":0,"3.2":0,"5.1":0.00589,"6.1":0,"7.1":0,"9.1":0.01178,"10.1":0.03535,"11.1":0.05303,"12.1":0.0766,"13.1":1.16072},B:{"12":0.00589,"13":0.00589,"14":0.01178,"15":0.02357,"16":0.01178,"17":0.03535,"18":0.40655,"79":0.00589,"80":0,"81":0.01768,"83":0.77774,"84":0.61277},I:{"3":0,"4":0.00999,_:"81","2.1":0,"2.2":0,"2.3":0.001,"4.1":0.01699,"4.2-4.3":0.02798,"4.4":0,"4.4.3-4.4.4":0.1769},P:{"4":0.10292,"5.0-5.4":0.01029,"6.2-6.4":0,"7.2-7.4":0.04117,"8.2":0.02058,"9.2":0.11321,"10.1":0.11321,"11.1-11.2":0.69984,"12.0":2.78906},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01792,"9":0.01195,"10":0.00597,"11":1.67865,"5.5":0},J:{"7":0,"10":0.00411},N:{"10":0,"11":0},L:{"0":48.2951},S:{"2.5":0.00411},R:{_:"0"},M:{"0":0.31221},Q:{"10.4":0},O:{"0":0.01643},H:{"0":0.24502}}; diff --git a/node_modules/caniuse-lite/data/regions/SK.js b/node_modules/caniuse-lite/data/regions/SK.js new file mode 100644 index 000000000..106c26667 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SK.js @@ -0,0 +1 @@ +module.exports={C:{"33":0.0346,"39":0.00577,"47":0.02884,"48":0.0173,"49":0.01153,"52":0.25952,"53":0.00577,"56":0.0519,"57":0.01153,"58":0.00577,"59":0.00577,"60":0.01153,"61":0.00577,"63":0.01153,"65":0.01153,"66":0.02884,"68":0.16148,"69":0.01153,"70":0.0173,"71":0.02307,"72":0.04037,"73":0.0173,"74":0.0346,"75":0.02884,"76":0.08074,"77":1.52249,"78":6.07842,"79":0.27682,"80":0.00577,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 40 41 42 43 44 45 46 50 51 54 55 62 64 67 81 3.5 3.6"},D:{"26":0.01153,"33":0.01153,"34":0.01153,"38":0.04614,"41":0.01153,"43":0.02884,"49":0.63437,"53":0.0519,"56":0.00577,"58":0.02307,"60":0.01153,"63":0.08651,"65":0.00577,"66":0.00577,"67":0.06344,"69":0.0519,"70":0.0346,"71":0.17301,"72":0.17301,"73":0.04614,"74":0.02307,"75":0.0346,"76":0.02884,"77":0.02884,"78":0.07497,"79":0.09804,"80":0.21915,"81":0.40369,"83":21.53975,"84":12.32408,"85":0.0173,"86":0.0173,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 35 36 37 39 40 42 44 45 46 47 48 50 51 52 54 55 57 59 61 62 64 68 87"},F:{"36":0.02307,"58":0.02884,"68":2.19146,"69":1.0669,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 60 62 63 64 65 66 67 9.5-9.6 10.5 10.6 11.1 11.5 11.6","10.0-10.1":0,"12.1":0.02884},G:{"8":0,"3.2":0.00175,"4.0-4.1":0.00175,"4.2-4.3":0.00175,"5.0-5.1":0.00525,"6.0-6.1":0.00175,"7.0-7.1":0.007,"8.1-8.4":0.0105,"9.0-9.2":0.01401,"9.3":0.11555,"10.0-10.2":0.02976,"10.3":0.14006,"11.0-11.2":0.10329,"11.3-11.4":0.16281,"12.0-12.1":0.22059,"12.2-12.4":1.34279,"13.0-13.1":0.25035,"13.2":0.12255,"13.3":1.22374,"13.4-13.5":2.95868,_:"14.0"},E:{"4":0,"11":0.01153,"12":0.0692,"13":0.38062,"14":0.02884,_:"0 5 6 7 8 9 10 3.1 3.2 5.1 6.1 7.1 9.1","10.1":0.02884,"11.1":0.0692,"12.1":0.20185,"13.1":2.53748},B:{"14":0.01153,"15":0.0173,"16":0.0173,"17":0.07497,"18":0.66321,"81":0.02884,"83":1.25144,"84":0.87082,_:"12 13 79 80"},I:{"3":0,"4":0.00618,_:"81","2.1":0,"2.2":0,"2.3":0.00062,"4.1":0.0105,"4.2-4.3":0.0173,"4.4":0,"4.4.3-4.4.4":0.10933},P:{"4":0.20122,"5.0-5.4":0,"6.2-6.4":0.01047,"7.2-7.4":0.02093,"8.2":0.01047,"9.2":0.05295,"10.1":0.07413,"11.1-11.2":0.40243,"12.0":2.11807},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.02338,"9":0.01169,"10":0.01169,"11":1.22766,_:"6 7 5.5"},J:{"7":0,"10":0.00423},N:{"10":0,"11":0},L:{"0":32.57354},S:{"2.5":0},R:{_:"0"},M:{"0":0.29631},Q:{"10.4":0.00423},O:{"0":0.04656},H:{"0":0.40877}}; diff --git a/node_modules/caniuse-lite/data/regions/SL.js b/node_modules/caniuse-lite/data/regions/SL.js new file mode 100644 index 000000000..8fb6be569 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SL.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0.0035,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.0035,"26":0,"27":0.01398,"28":0,"29":0,"30":0.01049,"31":0,"32":0,"33":0.0035,"34":0,"35":0,"36":0,"37":0,"38":0.0035,"39":0,"40":0,"41":0,"42":0,"43":0.02097,"44":0.00699,"45":0,"46":0.0035,"47":0.00699,"48":0,"49":0,"50":0,"51":0,"52":0.0035,"53":0,"54":0,"55":0,"56":0,"57":0.0035,"58":0,"59":0,"60":0.0035,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.01748,"68":0.03495,"69":0,"70":0,"71":0,"72":0.00699,"73":0.01049,"74":0,"75":0.0035,"76":0.00699,"77":0.26912,"78":0.85278,"79":0.11184,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.0035,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.0035,"31":0,"32":0,"33":0.03146,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.0035,"41":0,"42":0,"43":0.1433,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00699,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.0035,"56":0,"57":0,"58":0,"59":0,"60":0.0035,"61":0,"62":0,"63":0.03845,"64":0.01049,"65":0.01049,"66":0.0035,"67":0.00699,"68":0,"69":0.04194,"70":0.0035,"71":0.00699,"72":0.0035,"73":0.01748,"74":0.04194,"75":0.02097,"76":0.01398,"77":0.07689,"78":0.01398,"79":0.02796,"80":0.09786,"81":0.06291,"83":2.47796,"84":2.10749,"85":0.0035,"86":0.00699,"87":0},F:{"9":0,"11":0.04544,"12":0,"15":0,"16":0.01398,"17":0,"18":0,"19":0,"20":0.03495,"21":0,"22":0,"23":0.06291,"24":0.03146,"25":0,"26":0.0035,"27":0,"28":0.00699,"29":0,"30":0.0035,"31":0,"32":0.0035,"33":0.0035,"34":0,"35":0,"36":0,"37":0.00699,"38":0.02447,"39":0,"40":0,"41":0,"42":0.0035,"43":0.0035,"44":0,"45":0.0035,"46":0.01049,"47":0.01049,"48":0.00699,"49":0,"50":0.12932,"51":0,"52":0,"53":0.0035,"54":0,"55":0,"56":0.0035,"57":0.0035,"58":0.18174,"60":0,"62":0,"63":0,"64":0.0035,"65":0.0035,"66":0.0035,"67":0.01398,"68":0.63959,"69":0.2831,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0.0035,"12.1":0.43688},G:{"8":0,"3.2":0.00103,"4.0-4.1":0.00103,"4.2-4.3":0.00103,"5.0-5.1":0.00308,"6.0-6.1":0.00103,"7.0-7.1":0.0041,"8.1-8.4":0.00615,"9.0-9.2":0.0082,"9.3":0.06768,"10.0-10.2":0.01743,"10.3":0.08204,"11.0-11.2":0.06051,"11.3-11.4":0.09537,"12.0-12.1":0.12922,"12.2-12.4":0.78657,"13.0-13.1":0.14665,"13.2":0.07179,"13.3":0.71684,"13.4-13.5":1.73313,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0035,"12":0.0035,"13":0.01049,"14":0.01049,_:"0","3.1":0,"3.2":0,"5.1":0.05942,"6.1":0,"7.1":0,"9.1":0.02097,"10.1":0.0035,"11.1":0.01748,"12.1":0.04194,"13.1":0.35649},B:{"12":0.04544,"13":0.01748,"14":0.01398,"15":0.01398,"16":0.01398,"17":0.05243,"18":0.92967,"79":0,"80":0,"81":0.02447,"83":0.25164,"84":0.16077},I:{"3":0,"4":0.01961,_:"81","2.1":0,"2.2":0,"2.3":0.00196,"4.1":0.03334,"4.2-4.3":0.05492,"4.4":0,"4.4.3-4.4.4":0.34716},P:{"4":0.22323,"5.0-5.4":0.04059,"6.2-6.4":0.01015,"7.2-7.4":0.12176,"8.2":0.02029,"9.2":0.11161,"10.1":0.20293,"11.1-11.2":1.04511,"12.0":0.59865},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.03536,"9":0.00884,"10":0.00884,"11":0.24753,"5.5":0},J:{"7":0,"10":0.01952},N:{"10":0,"11":0.02602},L:{"0":46.19468},S:{"2.5":0.00651},R:{_:"0"},M:{"0":0.19515},Q:{"10.4":0.01301},O:{"0":3.59076},H:{"0":21.24071}}; diff --git a/node_modules/caniuse-lite/data/regions/SM.js b/node_modules/caniuse-lite/data/regions/SM.js new file mode 100644 index 000000000..5b89d4c5d --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00815,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0.00815,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.02444,"49":0,"50":0.00815,"51":0,"52":0.04888,"53":0,"54":0,"55":0,"56":0.04888,"57":0,"58":0.00815,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.17923,"67":0.01629,"68":0.06518,"69":0.00815,"70":0,"71":0,"72":0,"73":0.00815,"74":0.01629,"75":0.00815,"76":0.04888,"77":1.3524,"78":4.8882,"79":0.17109,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00815,"37":0,"38":0.02444,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.01629,"48":0,"49":1.66199,"50":0,"51":0,"52":0,"53":0.01629,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0.00815,"62":0,"63":0.00815,"64":0.00815,"65":0.01629,"66":0,"67":0.01629,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0.1385,"75":0.02444,"76":0.05703,"77":0.1385,"78":0.00815,"79":0.03259,"80":0.03259,"81":0.11406,"83":25.28829,"84":13.07594,"85":0.00815,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.14665,"69":0.08962,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00243,"4.0-4.1":0.00243,"4.2-4.3":0.00243,"5.0-5.1":0.0073,"6.0-6.1":0.00243,"7.0-7.1":0.00974,"8.1-8.4":0.01461,"9.0-9.2":0.01948,"9.3":0.16067,"10.0-10.2":0.04139,"10.3":0.19476,"11.0-11.2":0.14363,"11.3-11.4":0.2264,"12.0-12.1":0.30674,"12.2-12.4":1.86723,"13.0-13.1":0.34813,"13.2":0.17041,"13.3":1.70169,"13.4-13.5":4.11424,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.03259,"11":0,"12":1.71902,"13":0.77397,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00815,"10.1":0.40735,"11.1":0.20368,"12.1":0.57029,"13.1":3.97574},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.86358,"79":0,"80":0,"81":0.02444,"83":1.28723,"84":4.27718},I:{"3":0,"4":0.00507,_:"81","2.1":0,"2.2":0,"2.3":0.00051,"4.1":0.00862,"4.2-4.3":0.0142,"4.4":0,"4.4.3-4.4.4":0.08975},P:{"4":0.10298,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.12358,"12.0":1.47264},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.00815,"10":0,"11":1.85752,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":22.57456},S:{"2.5":0},R:{_:"0"},M:{"0":0.04818},Q:{"10.4":0},O:{"0":0.00185},H:{"0":0.02105}}; diff --git a/node_modules/caniuse-lite/data/regions/SN.js b/node_modules/caniuse-lite/data/regions/SN.js new file mode 100644 index 000000000..563fb127a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0033,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.0033,"27":0.00659,"28":0,"29":0,"30":0,"31":0,"32":0.0033,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.0033,"43":0.0033,"44":0,"45":0,"46":0,"47":0.0033,"48":0.00659,"49":0,"50":0,"51":0.0033,"52":0.01318,"53":0,"54":0,"55":0.00989,"56":0.01318,"57":0.0033,"58":0.0033,"59":0.03625,"60":0.00659,"61":0,"62":0,"63":0,"64":0.0033,"65":0.0033,"66":0.0033,"67":0.00659,"68":0.0659,"69":0.0033,"70":0.00659,"71":0.0033,"72":0.01318,"73":0.0033,"74":0.00659,"75":0.00659,"76":0.01318,"77":0.23395,"78":0.83693,"79":0.02636,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.0033,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.0033,"39":0,"40":0.0033,"41":0,"42":0,"43":0.0033,"44":0,"45":0,"46":0,"47":0.02307,"48":0,"49":0.0659,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00659,"57":0.0033,"58":0.0033,"59":0.00659,"60":0.0033,"61":0.0033,"62":0.00659,"63":0.01977,"64":0.01977,"65":0.03954,"66":0.02307,"67":0.01977,"68":0.0033,"69":0.0692,"70":0.01318,"71":0.00989,"72":0.00989,"73":0.00659,"74":0.02966,"75":0.02966,"76":0.02636,"77":0.00989,"78":0.02636,"79":0.02636,"80":0.08238,"81":0.08897,"83":3.75301,"84":2.08244,"85":0.0033,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.0033,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.0033,"64":0,"65":0,"66":0.0033,"67":0.0033,"68":0.24054,"69":0.12521,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00273,"4.0-4.1":0.00273,"4.2-4.3":0.00273,"5.0-5.1":0.00818,"6.0-6.1":0.00273,"7.0-7.1":0.01091,"8.1-8.4":0.01637,"9.0-9.2":0.02182,"9.3":0.18004,"10.0-10.2":0.04637,"10.3":0.21823,"11.0-11.2":0.16094,"11.3-11.4":0.25369,"12.0-12.1":0.34371,"12.2-12.4":2.09226,"13.0-13.1":0.39008,"13.2":0.19095,"13.3":1.90677,"13.4-13.5":4.61007,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.03295,"10":0.01318,"11":0.00989,"12":0.00989,"13":0.05931,"14":0.0033,_:"0","3.1":0,"3.2":0,"5.1":0.00659,"6.1":0,"7.1":0,"9.1":0.00989,"10.1":0.01977,"11.1":0.05272,"12.1":0.07249,"13.1":0.28337},B:{"12":0.01318,"13":0.0033,"14":0.0033,"15":0.01977,"16":0.01648,"17":0.02966,"18":0.16475,"79":0,"80":0,"81":0.00659,"83":0.20429,"84":0.14169},I:{"3":0,"4":0.00942,_:"81","2.1":0,"2.2":0,"2.3":0.00094,"4.1":0.01601,"4.2-4.3":0.02637,"4.4":0,"4.4.3-4.4.4":0.16669},P:{"4":0.39451,"5.0-5.4":0.03035,"6.2-6.4":0.07081,"7.2-7.4":0.41474,"8.2":0.04046,"9.2":0.50578,"10.1":0.38439,"11.1-11.2":1.03179,"12.0":1.80057},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00775,"9":0,"10":0,"11":0.12405,"5.5":0},J:{"7":0,"10":0.02012},N:{"10":0,"11":0.01341},L:{"0":72.01813},S:{"2.5":0},R:{_:"0"},M:{"0":0.18774},Q:{"10.4":0.02012},O:{"0":0.11399},H:{"0":0.42531}}; diff --git a/node_modules/caniuse-lite/data/regions/SO.js b/node_modules/caniuse-lite/data/regions/SO.js new file mode 100644 index 000000000..9a55b4381 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00408,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00408,"42":0,"43":0.00408,"44":0.00815,"45":0,"46":0,"47":0.00408,"48":0.00408,"49":0,"50":0,"51":0,"52":0.00408,"53":0,"54":0,"55":0,"56":0.00408,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.03668,"69":0,"70":0,"71":0,"72":0.00815,"73":0,"74":0,"75":0,"76":0.00815,"77":0.14263,"78":0.5705,"79":0.0652,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.00408,"22":0,"23":0,"24":0,"25":0,"26":0.00815,"27":0,"28":0,"29":0,"30":0,"31":0.00408,"32":0,"33":0.0163,"34":0,"35":0,"36":0,"37":0.08965,"38":0.00408,"39":0,"40":0.00408,"41":0.00408,"42":0,"43":0.07335,"44":0,"45":0.00408,"46":0,"47":0.00815,"48":0,"49":0.0163,"50":0,"51":0.00408,"52":0,"53":0.00815,"54":0,"55":0.00408,"56":0.00408,"57":0.00408,"58":0.00408,"59":0,"60":0.00408,"61":0.00408,"62":0,"63":0.04075,"64":0.00408,"65":0.00408,"66":0.00408,"67":0.00408,"68":0.01223,"69":0.01223,"70":0.00815,"71":0.00815,"72":0.00408,"73":0.00815,"74":0.0326,"75":0.00408,"76":0.03668,"77":0.01223,"78":0.06113,"79":0.03668,"80":0.09373,"81":0.0978,"83":7.42465,"84":4.78813,"85":0.0163,"86":0,"87":0},F:{"9":0,"11":0,"12":0.00815,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00408,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00408,"38":0.00408,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00408,"47":0,"48":0,"49":0,"50":0.0815,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.01223,"62":0,"63":0,"64":0,"65":0.00408,"66":0.00815,"67":0.00408,"68":0.35045,"69":0.17115,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00408},G:{"8":0,"3.2":0.00105,"4.0-4.1":0.00105,"4.2-4.3":0.00105,"5.0-5.1":0.00315,"6.0-6.1":0.00105,"7.0-7.1":0.0042,"8.1-8.4":0.0063,"9.0-9.2":0.0084,"9.3":0.06929,"10.0-10.2":0.01785,"10.3":0.08398,"11.0-11.2":0.06194,"11.3-11.4":0.09763,"12.0-12.1":0.13227,"12.2-12.4":0.80519,"13.0-13.1":0.15012,"13.2":0.07349,"13.3":0.73381,"13.4-13.5":1.77416,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0.00408,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.0326,"14":0.00408,_:"0","3.1":0,"3.2":0,"5.1":0.05298,"6.1":0,"7.1":0,"9.1":0,"10.1":0.05705,"11.1":0.00408,"12.1":0.02038,"13.1":0.2608},B:{"12":0.01223,"13":0.00815,"14":0.49715,"15":0.00408,"16":0.01223,"17":0.01223,"18":0.23228,"79":0,"80":0,"81":0.00815,"83":0.2608,"84":0.21598},I:{"3":0,"4":0.00587,_:"81","2.1":0,"2.2":0,"2.3":0.00059,"4.1":0.00997,"4.2-4.3":0.01642,"4.4":0,"4.4.3-4.4.4":0.10383},P:{"4":0.44674,"5.0-5.4":0.1523,"6.2-6.4":0.11169,"7.2-7.4":0.39598,"8.2":0.08123,"9.2":0.38582,"10.1":0.38582,"11.1-11.2":0.81226,"12.0":1.62452},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01223,"9":0,"10":0,"11":0.0326,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":60.19875},S:{"2.5":0},R:{_:"0"},M:{"0":0.0948},Q:{"10.4":0},O:{"0":4.9533},H:{"0":3.91537}}; diff --git a/node_modules/caniuse-lite/data/regions/SR.js b/node_modules/caniuse-lite/data/regions/SR.js new file mode 100644 index 000000000..9ff78bdf6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.06163,"53":0,"54":0,"55":0.0044,"56":0.0044,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.0044,"65":0.01321,"66":0,"67":0,"68":0.06603,"69":0,"70":0,"71":0,"72":0.0044,"73":0,"74":0.0044,"75":0,"76":0.01321,"77":0.25091,"78":0.86279,"79":0.07483,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.0044,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.0044,"35":0,"36":0.0044,"37":0,"38":0.0044,"39":0,"40":0,"41":0.0044,"42":0.0044,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.19369,"50":0,"51":0.0088,"52":0,"53":0.0088,"54":0.0044,"55":0,"56":0.25972,"57":0,"58":0.0044,"59":0.01761,"60":0,"61":0,"62":0,"63":0.02201,"64":0,"65":0.0088,"66":0.01761,"67":0,"68":0,"69":0.0088,"70":0.04842,"71":0.01761,"72":0.08804,"73":0.0088,"74":0.0044,"75":0.05282,"76":0.01761,"77":0.0044,"78":0.15847,"79":0.10125,"80":0.14527,"81":0.2201,"83":6.95076,"84":4.44162,"85":0.0044,"86":0.0044,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.0044,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.03522,"58":0.15407,"60":0,"62":0,"63":0.0044,"64":0,"65":0,"66":0,"67":0.0044,"68":0.20689,"69":0.10125,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00307,"4.0-4.1":0.00307,"4.2-4.3":0.00307,"5.0-5.1":0.00921,"6.0-6.1":0.00307,"7.0-7.1":0.01228,"8.1-8.4":0.01842,"9.0-9.2":0.02456,"9.3":0.20262,"10.0-10.2":0.05219,"10.3":0.24559,"11.0-11.2":0.18113,"11.3-11.4":0.2855,"12.0-12.1":0.38681,"12.2-12.4":2.35463,"13.0-13.1":0.439,"13.2":0.21489,"13.3":2.14588,"13.4-13.5":5.18818,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.01761,"13":0.05723,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.10125,"6.1":0,"7.1":0,"9.1":0.01761,"10.1":0.01321,"11.1":0.0088,"12.1":0.08804,"13.1":0.60748},B:{"12":0.0044,"13":0.0044,"14":0.0088,"15":0.01321,"16":0.01761,"17":0.06603,"18":0.30374,"79":0,"80":0,"81":0.0088,"83":0.6691,"84":0.4358},I:{"3":0,"4":0.0242,_:"81","2.1":0,"2.2":0,"2.3":0.00242,"4.1":0.04113,"4.2-4.3":0.06775,"4.4":0,"4.4.3-4.4.4":0.42829},P:{"4":0.61417,"5.0-5.4":0.04164,"6.2-6.4":0.1041,"7.2-7.4":0.5413,"8.2":0.03123,"9.2":0.43721,"10.1":0.37475,"11.1-11.2":1.6135,"12.0":5.57958},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01606,"9":0.00535,"10":0.00535,"11":0.5675,"5.5":0},J:{"7":0,"10":0.0056},N:{"10":0,"11":0},L:{"0":54.71023},S:{"2.5":0},R:{_:"0"},M:{"0":0.15115},Q:{"10.4":0.04478},O:{"0":0.49262},H:{"0":0.1484}}; diff --git a/node_modules/caniuse-lite/data/regions/ST.js b/node_modules/caniuse-lite/data/regions/ST.js new file mode 100644 index 000000000..deb56f909 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ST.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00579,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00579,"50":0,"51":0,"52":0.00579,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0.00579,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.03473,"69":0,"70":0.00579,"71":0.00579,"72":0.01736,"73":0.01158,"74":0.02894,"75":0.00579,"76":0.01158,"77":0.25467,"78":1.07657,"79":0.01158,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.03473,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.00579,"33":0.02894,"34":0.01158,"35":0.00579,"36":0.00579,"37":0,"38":0.02315,"39":0,"40":0.00579,"41":0,"42":0,"43":0.47462,"44":0,"45":0,"46":0.05209,"47":0,"48":0,"49":0.03473,"50":0,"51":0.00579,"52":0,"53":0.00579,"54":0.01736,"55":0.02315,"56":0,"57":0,"58":0.11576,"59":0,"60":0,"61":0,"62":0,"63":0.12734,"64":0.0984,"65":0.02315,"66":0,"67":0.00579,"68":0.06946,"69":0.01158,"70":0.00579,"71":0.00579,"72":0.04052,"73":0.00579,"74":0.00579,"75":0.03473,"76":0.02894,"77":0.03473,"78":0.05788,"79":0.0984,"80":0.12734,"81":0.21416,"83":14.01854,"84":7.70383,"85":0.01158,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0.00579,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00579,"47":0,"48":0.01158,"49":0,"50":0.00579,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.00579,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00579,"68":0.45725,"69":0.28361,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.06367},G:{"8":0,"3.2":0.00206,"4.0-4.1":0.00206,"4.2-4.3":0.00206,"5.0-5.1":0.00618,"6.0-6.1":0.00206,"7.0-7.1":0.00824,"8.1-8.4":0.01236,"9.0-9.2":0.01648,"9.3":0.13597,"10.0-10.2":0.03502,"10.3":0.16482,"11.0-11.2":0.12155,"11.3-11.4":0.1916,"12.0-12.1":0.25959,"12.2-12.4":1.58019,"13.0-13.1":0.29461,"13.2":0.14422,"13.3":1.44009,"13.4-13.5":3.48176,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.34149,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00579,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.02894,"13.1":0.41095},B:{"12":0.01158,"13":0.01158,"14":0.02894,"15":0.01736,"16":0.01158,"17":0.01158,"18":0.78138,"79":0,"80":0,"81":0.01158,"83":0.83926,"84":0.34149},I:{"3":0,"4":0.03189,_:"81","2.1":0,"2.2":0,"2.3":0.00319,"4.1":0.05422,"4.2-4.3":0.0893,"4.4":0,"4.4.3-4.4.4":0.56448},P:{"4":0.06902,"5.0-5.4":0,"6.2-6.4":0.00986,"7.2-7.4":0.0493,"8.2":0.00986,"9.2":0.06902,"10.1":0.07888,"11.1-11.2":0.03944,"12.0":0.5423},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.19078,"9":0.0212,"10":0,"11":1.42024,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":50.17364},S:{"2.5":0},R:{_:"0"},M:{"0":0.04633},Q:{"10.4":0.00421},O:{"0":4.1783},H:{"0":0.77759}}; diff --git a/node_modules/caniuse-lite/data/regions/SV.js b/node_modules/caniuse-lite/data/regions/SV.js new file mode 100644 index 000000000..9750cae4e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SV.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.02657,"49":0,"50":0,"51":0,"52":0.02657,"53":0,"54":0,"55":0.00664,"56":0,"57":0,"58":0,"59":0,"60":0.01328,"61":0,"62":0,"63":0.03321,"64":0.00664,"65":0.00664,"66":0.2059,"67":0,"68":0.09963,"69":0.00664,"70":0.00664,"71":0,"72":0.01328,"73":0.03321,"74":0.01328,"75":0.00664,"76":0.01328,"77":0.47822,"78":2.06566,"79":0.1262,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00664,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01328,"39":0,"40":0.00664,"41":0,"42":0.00664,"43":0.00664,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.15277,"50":0,"51":0,"52":0,"53":0.01993,"54":0,"55":0.00664,"56":0.00664,"57":0,"58":0.00664,"59":0,"60":0,"61":0,"62":0.00664,"63":0.02657,"64":0,"65":0.03985,"66":0.00664,"67":0.05978,"68":0.01993,"69":0.08635,"70":0.14612,"71":0.2059,"72":0.19926,"73":0.07306,"74":0.04649,"75":0.09963,"76":0.04649,"77":0.07306,"78":0.05978,"79":0.11956,"80":0.36531,"81":0.23247,"83":17.90019,"84":12.93862,"85":0.01328,"86":0.00664,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00664,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.02657,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00664,"68":0.75055,"69":0.37859,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00143,"4.0-4.1":0.00143,"4.2-4.3":0.00143,"5.0-5.1":0.00428,"6.0-6.1":0.00143,"7.0-7.1":0.0057,"8.1-8.4":0.00855,"9.0-9.2":0.0114,"9.3":0.09406,"10.0-10.2":0.02423,"10.3":0.11401,"11.0-11.2":0.08408,"11.3-11.4":0.13253,"12.0-12.1":0.17956,"12.2-12.4":1.09306,"13.0-13.1":0.20379,"13.2":0.09976,"13.3":0.99615,"13.4-13.5":2.40843,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00664,"12":0.06642,"13":0.18598,"14":0.00664,_:"0","3.1":0,"3.2":0,"5.1":0.63763,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01993,"11.1":0.09963,"12.1":0.18598,"13.1":1.59408},B:{"12":0,"13":0.00664,"14":0.00664,"15":0.01328,"16":0.00664,"17":0.03985,"18":0.16605,"79":0,"80":0,"81":0.00664,"83":0.69741,"84":0.55793},I:{"3":0,"4":0.01344,_:"81","2.1":0,"2.2":0,"2.3":0.00134,"4.1":0.02285,"4.2-4.3":0.03764,"4.4":0,"4.4.3-4.4.4":0.23793},P:{"4":0.21032,"5.0-5.4":0.02003,"6.2-6.4":0.02003,"7.2-7.4":0.12018,"8.2":0.01002,"9.2":0.14021,"10.1":0.14021,"11.1-11.2":0.37057,"12.0":1.26193},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.06642,"9":0,"10":0,"11":0.11291,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":47.19444},S:{"2.5":0},R:{_:"0"},M:{"0":0.32573},Q:{"10.4":0},O:{"0":0.16118},H:{"0":0.12399}}; diff --git a/node_modules/caniuse-lite/data/regions/SY.js b/node_modules/caniuse-lite/data/regions/SY.js new file mode 100644 index 000000000..6222ba56e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SY.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00369,"42":0,"43":0.01108,"44":0,"45":0,"46":0,"47":0.00739,"48":0.00739,"49":0,"50":0,"51":0,"52":0.04433,"53":0.00369,"54":0,"55":0,"56":0.00739,"57":0.00369,"58":0.00739,"59":0.00369,"60":0.00369,"61":0,"62":0.00739,"63":0,"64":0.00369,"65":0,"66":0.00369,"67":0.00369,"68":0.0591,"69":0.01478,"70":0.00369,"71":0.00369,"72":0.02955,"73":0.00369,"74":0.01847,"75":0.01108,"76":0.02586,"77":0.45067,"78":1.32984,"79":0.05541,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00369,"32":0,"33":0,"34":0,"35":0,"36":0.00369,"37":0,"38":0.00369,"39":0.00369,"40":0.00739,"41":0,"42":0,"43":0.01478,"44":0,"45":0,"46":0.00369,"47":0,"48":0,"49":0.04063,"50":0,"51":0,"52":0,"53":0.00739,"54":0,"55":0.01478,"56":0.00369,"57":0,"58":0.00739,"59":0,"60":0.00739,"61":0.00739,"62":0,"63":0.05541,"64":0.00369,"65":0.01478,"66":0.00369,"67":0.00739,"68":0.01108,"69":0.01847,"70":0.10713,"71":0.04063,"72":0.02955,"73":0.02955,"74":0.04433,"75":0.02955,"76":0.04433,"77":0.03325,"78":0.08496,"79":0.07757,"80":0.16254,"81":0.17731,"83":5.1088,"84":3.46867,"85":0.00369,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00369,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.03325,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0.00369,"67":0.00369,"68":0.36571,"69":0.15515,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00369},G:{"8":0,"3.2":0.00084,"4.0-4.1":0.00084,"4.2-4.3":0.00084,"5.0-5.1":0.00252,"6.0-6.1":0.00084,"7.0-7.1":0.00336,"8.1-8.4":0.00504,"9.0-9.2":0.00672,"9.3":0.05542,"10.0-10.2":0.01427,"10.3":0.06717,"11.0-11.2":0.04954,"11.3-11.4":0.07809,"12.0-12.1":0.10579,"12.2-12.4":0.644,"13.0-13.1":0.12007,"13.2":0.05877,"13.3":0.58691,"13.4-13.5":1.41899,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00369,"12":0.00369,"13":0.02586,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.27336,"6.1":0,"7.1":0,"9.1":0.00369,"10.1":0.00369,"11.1":0.00369,"12.1":0.01847,"13.1":0.12929},B:{"12":0.00369,"13":0,"14":0.00369,"15":0.00369,"16":0.00369,"17":0.03325,"18":0.09974,"79":0,"80":0,"81":0.00369,"83":0.20686,"84":0.15884},I:{"3":0,"4":0.02,_:"81","2.1":0,"2.2":0,"2.3":0.002,"4.1":0.034,"4.2-4.3":0.05601,"4.4":0,"4.4.3-4.4.4":0.35403},P:{"4":1.19559,"5.0-5.4":0.06079,"6.2-6.4":0.12159,"7.2-7.4":0.40528,"8.2":0.09119,"9.2":0.52687,"10.1":0.63832,"11.1-11.2":1.65153,"12.0":1.62114},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01478,"9":0.00369,"10":0,"11":0.04433,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":71.16464},S:{"2.5":0},R:{_:"0"},M:{"0":0.11351},Q:{"10.4":0},O:{"0":1.00265},H:{"0":0.88955}}; diff --git a/node_modules/caniuse-lite/data/regions/SZ.js b/node_modules/caniuse-lite/data/regions/SZ.js new file mode 100644 index 000000000..5f9ed82a9 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/SZ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.01468,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00367,"44":0.00367,"45":0,"46":0,"47":0.00367,"48":0,"49":0.00367,"50":0,"51":0,"52":0.00367,"53":0,"54":0,"55":0,"56":0.00734,"57":0.00367,"58":0,"59":0,"60":0.04403,"61":0.00367,"62":0,"63":0,"64":0,"65":0,"66":0.00367,"67":0,"68":0.02935,"69":0.00367,"70":0,"71":0.00367,"72":0.00367,"73":0,"74":0.00367,"75":0.01468,"76":0.00734,"77":0.13575,"78":0.67877,"79":0.06237,"80":0.00734,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00367,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00367,"34":0,"35":0.00367,"36":0,"37":0,"38":0,"39":0,"40":0.01101,"41":0.00367,"42":0,"43":0,"44":0,"45":0,"46":0.00367,"47":0,"48":0,"49":0.01468,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.02201,"57":0.00367,"58":0.00367,"59":0,"60":0.00367,"61":0,"62":0,"63":0.00367,"64":0.00367,"65":0.00734,"66":0.01468,"67":0.01101,"68":0.02201,"69":0.01835,"70":0.01468,"71":0.00367,"72":0.00734,"73":0.00367,"74":0.04036,"75":0.00367,"76":0.00734,"77":0.01468,"78":0.01835,"79":0.02935,"80":0.19079,"81":0.24949,"83":4.02489,"84":3.08196,"85":0.03669,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0.00367,"17":0,"18":0.00734,"19":0.00367,"20":0.00367,"21":0,"22":0,"23":0,"24":0.00367,"25":0.00367,"26":0.01101,"27":0,"28":0.01468,"29":0,"30":0.01101,"31":0,"32":0.00734,"33":0.00734,"34":0.00367,"35":0.02201,"36":0.00367,"37":0.00734,"38":0.00734,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.00734,"46":0.01835,"47":0.01835,"48":0,"49":0,"50":0.14309,"51":0,"52":0,"53":0.00734,"54":0,"55":0,"56":0.00367,"57":0.00367,"58":0.00734,"60":0.00367,"62":0,"63":0,"64":0.00367,"65":0.00367,"66":0.00734,"67":0.01101,"68":0.48798,"69":0.33021,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.33755},G:{"8":0,"3.2":0.00116,"4.0-4.1":0.00116,"4.2-4.3":0.00116,"5.0-5.1":0.00349,"6.0-6.1":0.00116,"7.0-7.1":0.00466,"8.1-8.4":0.00699,"9.0-9.2":0.00932,"9.3":0.07688,"10.0-10.2":0.0198,"10.3":0.09319,"11.0-11.2":0.06873,"11.3-11.4":0.10834,"12.0-12.1":0.14678,"12.2-12.4":0.89349,"13.0-13.1":0.16658,"13.2":0.08154,"13.3":0.81428,"13.4-13.5":1.96871,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00734,"13":0.08439,"14":0.00367,_:"0","3.1":0,"3.2":0,"5.1":0.03302,"6.1":0,"7.1":0.00367,"9.1":0.00367,"10.1":0.00367,"11.1":0.01101,"12.1":0.04036,"13.1":0.22381},B:{"12":0.03669,"13":0.04403,"14":0.01468,"15":0.02935,"16":0.02935,"17":0.07338,"18":0.30086,"79":0,"80":0,"81":0.01101,"83":0.3082,"84":0.23482},I:{"3":0,"4":0.01789,_:"81","2.1":0,"2.2":0,"2.3":0.00179,"4.1":0.03041,"4.2-4.3":0.05008,"4.4":0,"4.4.3-4.4.4":0.31659},P:{"4":0.59961,"5.0-5.4":0,"6.2-6.4":0.03049,"7.2-7.4":0.44717,"8.2":0.01016,"9.2":0.14228,"10.1":0.28456,"11.1-11.2":0.39635,"12.0":1.95128},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01121,"9":0.00374,"10":0.00374,"11":0.37756,"5.5":0},J:{"7":0,"10":0.19626},N:{"10":0,"11":0.02532},L:{"0":53.09358},S:{"2.5":0.17727},R:{_:"0"},M:{"0":0.06331},Q:{"10.4":0.00633},O:{"0":1.24088},H:{"0":15.48793}}; diff --git a/node_modules/caniuse-lite/data/regions/TC.js b/node_modules/caniuse-lite/data/regions/TC.js new file mode 100644 index 000000000..c273ffda9 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TC.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01187,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.08308,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0.37384,"78":1.95229,"79":0.08901,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00593,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.02967,"50":0.00593,"51":0,"52":0,"53":0.10681,"54":0,"55":0,"56":0,"57":0,"58":0.00593,"59":0,"60":0,"61":0,"62":0,"63":0.01187,"64":0,"65":0.02374,"66":0,"67":0,"68":0,"69":0,"70":0.01187,"71":0.00593,"72":0,"73":0,"74":0,"75":0.17209,"76":0.00593,"77":0.07714,"78":0.0178,"79":0.02374,"80":0.08901,"81":0.12461,"83":13.13788,"84":5.82125,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.12461,"69":0.02967,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0062,"4.0-4.1":0.0062,"4.2-4.3":0.0062,"5.0-5.1":0.01861,"6.0-6.1":0.0062,"7.0-7.1":0.02482,"8.1-8.4":0.03723,"9.0-9.2":0.04964,"9.3":0.40951,"10.0-10.2":0.10548,"10.3":0.49637,"11.0-11.2":0.36608,"11.3-11.4":0.57703,"12.0-12.1":0.78179,"12.2-12.4":4.75898,"13.0-13.1":0.88727,"13.2":0.43433,"13.3":4.33707,"13.4-13.5":10.48589,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.04154,"13":0.21362,"14":0.0178,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.07714,"11.1":0.02374,"12.1":0.37978,"13.1":3.53073},B:{"12":0.01187,"13":0.01187,"14":0.00593,"15":0.01187,"16":0.00593,"17":0.10088,"18":0.5934,"79":0,"80":0,"81":0.04154,"83":1.40636,"84":1.29361},I:{"3":0,"4":0.04263,_:"81","2.1":0,"2.2":0,"2.3":0.00426,"4.1":0.07246,"4.2-4.3":0.11935,"4.4":0,"4.4.3-4.4.4":0.75447},P:{"4":0.01061,"5.0-5.4":0,"6.2-6.4":0.01061,"7.2-7.4":0.09552,"8.2":0,"9.2":0.09552,"10.1":0.10614,"11.1-11.2":0.60497,"12.0":4.22418},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":2.51602,"5.5":0},J:{"7":0,"10":0.00407},N:{"10":0,"11":0},L:{"0":33.27691},S:{"2.5":0},R:{_:"0"},M:{"0":0.13011},Q:{"10.4":0},O:{"0":0.0122},H:{"0":0.01155}}; diff --git a/node_modules/caniuse-lite/data/regions/TD.js b/node_modules/caniuse-lite/data/regions/TD.js new file mode 100644 index 000000000..af747b84d --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TD.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.01143,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.00286,"36":0,"37":0,"38":0,"39":0,"40":0.00286,"41":0.00286,"42":0,"43":0.00857,"44":0,"45":0,"46":0,"47":0.00286,"48":0.00286,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00286,"57":0.00571,"58":0,"59":0,"60":0.00571,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.02286,"69":0.00286,"70":0.00857,"71":0.00286,"72":0.00286,"73":0.00571,"74":0.00857,"75":0,"76":0.02,"77":0.28284,"78":0.8971,"79":0.01143,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.15714,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.00286,"33":0.00286,"34":0,"35":0,"36":0,"37":0.00571,"38":0.00286,"39":0,"40":0.00571,"41":0,"42":0,"43":0.00571,"44":0,"45":0.00286,"46":0,"47":0,"48":0.00286,"49":0.02,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.00857,"56":0,"57":0.01143,"58":0,"59":0,"60":0,"61":0.00286,"62":0.00857,"63":0.01429,"64":0.00286,"65":0,"66":0,"67":0.00286,"68":0,"69":0.00286,"70":0.00286,"71":0.00286,"72":0,"73":0.00286,"74":0.00286,"75":0.00571,"76":0.20856,"77":0.00571,"78":0.08857,"79":0.01143,"80":0.04,"81":0.04571,"83":1.48278,"84":0.6314,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0.01714,"20":0,"21":0,"22":0,"23":0.00286,"24":0,"25":0,"26":0,"27":0,"28":0.02,"29":0,"30":0.01429,"31":0.00286,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00571,"38":0.00286,"39":0,"40":0,"41":0,"42":0.00571,"43":0,"44":0,"45":0.00286,"46":0.01143,"47":0.00857,"48":0,"49":0,"50":0.06571,"51":0.00286,"52":0,"53":0.01143,"54":0,"55":0.00286,"56":0.02571,"57":0.00857,"58":0,"60":0.02,"62":0,"63":0,"64":0.00286,"65":0.02,"66":0.00857,"67":0.01143,"68":0.16856,"69":0.01429,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00571},G:{"8":0,"3.2":0.00145,"4.0-4.1":0.00145,"4.2-4.3":0.00145,"5.0-5.1":0.00435,"6.0-6.1":0.00145,"7.0-7.1":0.0058,"8.1-8.4":0.0087,"9.0-9.2":0.0116,"9.3":0.0957,"10.0-10.2":0.02465,"10.3":0.11599,"11.0-11.2":0.08555,"11.3-11.4":0.13484,"12.0-12.1":0.18269,"12.2-12.4":1.1121,"13.0-13.1":0.20734,"13.2":0.1015,"13.3":1.01351,"13.4-13.5":2.45039,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00571,"12":0.00571,"13":0.04857,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00286,"11.1":0.13428,"12.1":0.09142,"13.1":0.09428},B:{"12":0.01714,"13":0.01143,"14":0.00857,"15":0.00286,"16":0.07714,"17":0.05714,"18":0.35998,"79":0,"80":0,"81":0.00286,"83":0.15142,"84":0.08285},I:{"3":0,"4":0.13194,_:"81","2.1":0,"2.2":0,"2.3":0.01319,"4.1":0.22431,"4.2-4.3":0.36944,"4.4":0,"4.4.3-4.4.4":2.33541},P:{"4":0.73276,"5.0-5.4":0.04071,"6.2-6.4":0.05089,"7.2-7.4":0.24425,"8.2":0.01018,"9.2":0.51904,"10.1":0.21372,"11.1-11.2":0.24425,"12.0":0.24425},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.18208,"9":0.02276,"10":0,"11":1.82078,"5.5":0},J:{"7":0,"10":0.01429},N:{"10":0,"11":0},L:{"0":68.25743},S:{"2.5":0.09286},R:{_:"0"},M:{"0":0.02857},Q:{"10.4":2.30005},O:{"0":3.7215},H:{"0":3.15134}}; diff --git a/node_modules/caniuse-lite/data/regions/TG.js b/node_modules/caniuse-lite/data/regions/TG.js new file mode 100644 index 000000000..56b8a80f0 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00644,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.00644,"22":0,"23":0,"24":0,"25":0,"26":0.00644,"27":0,"28":0,"29":0,"30":0.00644,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00644,"39":0,"40":0.01931,"41":0,"42":0.00644,"43":0.01931,"44":0.00644,"45":0.01287,"46":0.00644,"47":0.02575,"48":0.02575,"49":0.02575,"50":0.00644,"51":0,"52":0.1223,"53":0.01287,"54":0,"55":0.01287,"56":0.01931,"57":0.01287,"58":0.01931,"59":0.00644,"60":0.02575,"61":0,"62":0.00644,"63":0,"64":0.00644,"65":0.00644,"66":0.00644,"67":0.03219,"68":0.23173,"69":0.03219,"70":0,"71":0.0515,"72":0.14161,"73":0.01287,"74":0.02575,"75":0.07081,"76":0.05793,"77":1.55775,"78":6.52712,"79":0.44415,"80":0.00644,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.01287,"23":0,"24":0,"25":0,"26":0.02575,"27":0,"28":0,"29":0,"30":0,"31":0.13518,"32":0,"33":0.03862,"34":0,"35":0,"36":0.00644,"37":0.00644,"38":0,"39":0,"40":0,"41":0,"42":0.00644,"43":0.04506,"44":0,"45":0,"46":0.00644,"47":0,"48":0,"49":0.05793,"50":0.00644,"51":0,"52":0,"53":0,"54":0,"55":0.00644,"56":0,"57":0.00644,"58":0.07724,"59":0,"60":0.00644,"61":0.00644,"62":0.35404,"63":0.38622,"64":0.01287,"65":0.05793,"66":0,"67":0.01287,"68":0.01287,"69":0.01931,"70":0.07724,"71":0.01931,"72":0.1738,"73":0.03862,"74":0.14161,"75":0.09012,"76":0.03219,"77":0.03862,"78":0.11587,"79":0.25104,"80":0.84325,"81":0.21886,"83":10.83347,"84":7.33818,"85":0.01931,"86":0.01287,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00644,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00644,"37":0,"38":0.00644,"39":0,"40":0.00644,"41":0,"42":0.00644,"43":0,"44":0,"45":0,"46":0.03219,"47":0.00644,"48":0,"49":0,"50":0.07724,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.00644,"58":0.01931,"60":0,"62":0,"63":0,"64":0.00644,"65":0.00644,"66":0.00644,"67":0.03862,"68":2.24651,"69":1.57063,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.04506},G:{"8":0,"3.2":0.0009,"4.0-4.1":0.0009,"4.2-4.3":0.0009,"5.0-5.1":0.00271,"6.0-6.1":0.0009,"7.0-7.1":0.00361,"8.1-8.4":0.00542,"9.0-9.2":0.00723,"9.3":0.05962,"10.0-10.2":0.01536,"10.3":0.07226,"11.0-11.2":0.05329,"11.3-11.4":0.08401,"12.0-12.1":0.11382,"12.2-12.4":0.69283,"13.0-13.1":0.12917,"13.2":0.06323,"13.3":0.6314,"13.4-13.5":1.52657,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00644,"12":0,"13":0.08368,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.2961,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00644,"11.1":0.02575,"12.1":0.03862,"13.1":0.39909},B:{"12":0.04506,"13":0.01287,"14":0.02575,"15":0.0515,"16":0.01287,"17":0.09012,"18":0.48921,"79":0,"80":0,"81":0.04506,"83":0.97199,"84":0.97199},I:{"3":0,"4":0.01793,_:"81","2.1":0,"2.2":0,"2.3":0.00179,"4.1":0.03048,"4.2-4.3":0.05021,"4.4":0,"4.4.3-4.4.4":0.3174},P:{"4":0.08166,"5.0-5.4":0.01021,"6.2-6.4":0.01021,"7.2-7.4":0.02042,"8.2":0,"9.2":0.30623,"10.1":0.03062,"11.1-11.2":0.2654,"12.0":0.4083},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.01188,"7":0,"8":0.09507,"9":0.01188,"10":0,"11":0.19014,"5.5":0},J:{"7":0,"10":0.03207},N:{"10":0,"11":0.04632},L:{"0":48.00364},S:{"2.5":0.00356},R:{_:"0"},M:{"0":0.14608},Q:{"10.4":0.01069},O:{"0":1.0012},H:{"0":2.49618}}; diff --git a/node_modules/caniuse-lite/data/regions/TH.js b/node_modules/caniuse-lite/data/regions/TH.js new file mode 100644 index 000000000..edb0db475 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TH.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0.0094,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0047,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.0047,"49":0,"50":0,"51":0,"52":0.0188,"53":0,"54":0.0047,"55":0.0188,"56":0.08462,"57":0,"58":0.0047,"59":0,"60":0,"61":0,"62":0,"63":0.0047,"64":0.0047,"65":0,"66":0.0047,"67":0,"68":0.05171,"69":0,"70":0,"71":0,"72":0.0047,"73":0,"74":0,"75":0.0047,"76":0.0094,"77":0.15043,"78":0.69575,"79":0.03761,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.0047,"39":0,"40":0,"41":0.0047,"42":0,"43":0.0094,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.11282,"50":0,"51":0,"52":0,"53":0.0141,"54":0,"55":0,"56":0.0047,"57":0.0047,"58":0.0094,"59":0.0047,"60":0.0047,"61":0.0094,"62":0.0047,"63":0.0141,"64":0.0047,"65":0.0094,"66":0.0094,"67":0.0141,"68":0.0047,"69":0.0141,"70":0.03761,"71":0.03761,"72":0.02821,"73":0.04231,"74":0.04701,"75":0.05171,"76":0.03761,"77":0.04231,"78":0.04231,"79":0.06111,"80":0.08932,"81":0.10342,"83":10.00843,"84":6.21472,"85":0.02351,"86":0.0047,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.03291,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.0047,"57":0.0047,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.11753,"69":0.06111,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00497,"4.0-4.1":0.00497,"4.2-4.3":0.00497,"5.0-5.1":0.01492,"6.0-6.1":0.00497,"7.0-7.1":0.01989,"8.1-8.4":0.02984,"9.0-9.2":0.03979,"9.3":0.32825,"10.0-10.2":0.08455,"10.3":0.39788,"11.0-11.2":0.29344,"11.3-11.4":0.46254,"12.0-12.1":0.62666,"12.2-12.4":3.81467,"13.0-13.1":0.71121,"13.2":0.34814,"13.3":3.47648,"13.4-13.5":8.40521,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0047,"12":0.02351,"13":0.15513,"14":0.0047,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.0047,"10.1":0.0094,"11.1":0.03761,"12.1":0.08462,"13.1":1.11884},B:{"12":0,"13":0,"14":0.0047,"15":0.0047,"16":0.0047,"17":0.0141,"18":0.11282,"79":0,"80":0,"81":0.0094,"83":0.4466,"84":0.36668},I:{"3":0,"4":0.00401,_:"81","2.1":0,"2.2":0,"2.3":0.0004,"4.1":0.00682,"4.2-4.3":0.01124,"4.4":0,"4.4.3-4.4.4":0.07103},P:{"4":0.14384,"5.0-5.4":0.01027,"6.2-6.4":0.02055,"7.2-7.4":0.06164,"8.2":0.0411,"9.2":0.17466,"10.1":0.13356,"11.1-11.2":0.49315,"12.0":1.7774},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00984,"9":0.01476,"10":0.00492,"11":0.18203,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":53.90969},S:{"2.5":0},R:{_:"0"},M:{"0":0.10598},Q:{"10.4":0.0106},O:{"0":0.18017},H:{"0":0.32609}}; diff --git a/node_modules/caniuse-lite/data/regions/TJ.js b/node_modules/caniuse-lite/data/regions/TJ.js new file mode 100644 index 000000000..ad83f5e78 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TJ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00634,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00634,"31":0,"32":0,"33":0,"34":0,"35":0.01268,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00634,"48":0,"49":0,"50":0,"51":0,"52":0.03805,"53":0,"54":0,"55":0,"56":0.01268,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.03171,"65":0.17758,"66":0,"67":0,"68":0.06342,"69":0,"70":0,"71":0.00634,"72":0.01268,"73":0,"74":0.00634,"75":0.00634,"76":0.01268,"77":0.26636,"78":0.84349,"79":0.03805,"80":0.00634,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00634,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.01268,"36":0,"37":0,"38":0.00634,"39":0,"40":0.01903,"41":0,"42":0,"43":0,"44":0.01268,"45":0,"46":0.00634,"47":0.00634,"48":0,"49":0.13952,"50":0,"51":0,"52":0,"53":0.01268,"54":0,"55":0,"56":0.00634,"57":0.00634,"58":0,"59":0.01268,"60":0.01268,"61":0,"62":0.06976,"63":0.03171,"64":0.01903,"65":0,"66":0,"67":0.00634,"68":0.01903,"69":0.08245,"70":0.03171,"71":0.8308,"72":0.33613,"73":0.17123,"74":0.06976,"75":0.04439,"76":0.08245,"77":0.03171,"78":0.12684,"79":0.1205,"80":0.38686,"81":0.1966,"83":12.50008,"84":7.4138,"85":0.00634,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00634,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00634,"29":0,"30":0.00634,"31":0,"32":0,"33":0.00634,"34":0,"35":0,"36":0.01268,"37":0.00634,"38":0,"39":0,"40":0.00634,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00634,"47":0,"48":0,"49":0,"50":0.10147,"51":0.00634,"52":0,"53":0.01268,"54":0.01268,"55":0,"56":0,"57":0.33613,"58":0.00634,"60":0.00634,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.01903,"68":2.1436,"69":1.09082,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0.00634,"12.1":0.02537},G:{"8":0,"3.2":0.00131,"4.0-4.1":0.00131,"4.2-4.3":0.00131,"5.0-5.1":0.00394,"6.0-6.1":0.00131,"7.0-7.1":0.00525,"8.1-8.4":0.00788,"9.0-9.2":0.01051,"9.3":0.0867,"10.0-10.2":0.02233,"10.3":0.10509,"11.0-11.2":0.0775,"11.3-11.4":0.12217,"12.0-12.1":0.16552,"12.2-12.4":1.00756,"13.0-13.1":0.18785,"13.2":0.09195,"13.3":0.91824,"13.4-13.5":2.22006,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00634,"12":0.03805,"13":0.11416,"14":0,_:"0","3.1":0,"3.2":0,"5.1":3.5642,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01903,"11.1":0.00634,"12.1":0.06342,"13.1":0.65957},B:{"12":0,"13":0,"14":0.01268,"15":0.02537,"16":0.00634,"17":0.08245,"18":0.29807,"79":0,"80":0,"81":0,"83":0.06342,"84":0.04439},I:{"3":0,"4":0.02677,_:"81","2.1":0,"2.2":0,"2.3":0.00268,"4.1":0.0455,"4.2-4.3":0.07494,"4.4":0,"4.4.3-4.4.4":0.47375},P:{"4":0.96909,"5.0-5.4":0.10095,"6.2-6.4":0.10095,"7.2-7.4":0.26246,"8.2":0.07066,"9.2":0.35331,"10.1":0.1918,"11.1-11.2":0.64606,"12.0":0.45426},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.36189,"9":0.00696,"10":0,"11":0.41756,"5.5":0},J:{"7":0,"10":0},N:{"10":0.01097,"11":0},L:{"0":40.79947},S:{"2.5":0},R:{_:"0"},M:{"0":0.02926},Q:{"10.4":0.10974},O:{"0":1.5766},H:{"0":3.19649}}; diff --git a/node_modules/caniuse-lite/data/regions/TK.js b/node_modules/caniuse-lite/data/regions/TK.js new file mode 100644 index 000000000..96c478666 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TK.js @@ -0,0 +1 @@ +module.exports={C:{"74":1.39214,"75":0.9257,"77":0.9257,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 76 78 79 80 81 3.5 3.6"},D:{"79":2.31785,"81":18.52126,"83":35.65037,"84":3.70282,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 85 86 87"},F:{_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},G:{"8":0,"3.2":0.00086,"4.0-4.1":0.00086,"4.2-4.3":0.00086,"5.0-5.1":0.00259,"6.0-6.1":0.00086,"7.0-7.1":0.00346,"8.1-8.4":0.00518,"9.0-9.2":0.00691,"9.3":0.05701,"10.0-10.2":0.01468,"10.3":0.0691,"11.0-11.2":0.05096,"11.3-11.4":0.08033,"12.0-12.1":0.10884,"12.2-12.4":0.66254,"13.0-13.1":0.12352,"13.2":0.06047,"13.3":0.6038,"13.4-13.5":1.45983,_:"14.0"},E:{"4":0,_:"0 5 6 7 8 9 10 11 12 13 14 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1"},B:{"14":2.77711,"18":1.85141,"84":0.9257,_:"12 13 15 16 17 79 80 81 83"},I:{"3":0,"4":0,_:"81","2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},P:{"4":0.08166,"5.0-5.4":0.01021,"6.2-6.4":0.01021,"7.2-7.4":0.02042,"8.2":0,"9.2":0.30623,"10.1":1.46095,"11.1-11.2":0.2654,"12.0":2.9219},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},J:{"7":0,"10":0},N:{"10":0,"11":0.04632},L:{"0":21.84073},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/TL.js b/node_modules/caniuse-lite/data/regions/TL.js new file mode 100644 index 000000000..07af573f3 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TL.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.00327,"4":0.00327,"5":0,"6":0.00327,"7":0,"8":0,"9":0.00327,"10":0.00327,"11":0.00327,"12":0.00327,"13":0.00327,"14":0,"15":0.00327,"16":0.00327,"17":0,"18":0.00653,"19":0.00327,"20":0.0098,"21":0.00653,"22":0,"23":0,"24":0.00653,"25":0,"26":0.00327,"27":0.00327,"28":0,"29":0,"30":0.00327,"31":0.01306,"32":0,"33":0,"34":0.00653,"35":0.01306,"36":0.00327,"37":0.02612,"38":0.00327,"39":0.00327,"40":0.0098,"41":0.03592,"42":0.00327,"43":0.03592,"44":0.01633,"45":0.0098,"46":0.00653,"47":0.05224,"48":0.03918,"49":0.00653,"50":0.00327,"51":0,"52":0.01633,"53":0.00327,"54":0,"55":0.00327,"56":0.01306,"57":0.0098,"58":0.00327,"59":0.00327,"60":0,"61":0.0098,"62":0.00653,"63":0.00327,"64":0.00653,"65":0.00327,"66":0.04898,"67":0.03918,"68":0.0653,"69":0.16652,"70":0.00653,"71":0.0098,"72":0.0751,"73":0.03592,"74":0.0751,"75":0.02939,"76":0.02612,"77":0.44731,"78":1.15908,"79":0.27426,"80":0.00327,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00327,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.01959,"26":0.00327,"27":0.00327,"28":0.00327,"29":0.00327,"30":0,"31":0.01306,"32":0,"33":0.00327,"34":0,"35":0,"36":0,"37":0,"38":0.00327,"39":0,"40":0.02612,"41":0,"42":0.09142,"43":0.05877,"44":0,"45":0.00327,"46":0.00327,"47":0,"48":0,"49":0.05551,"50":0,"51":0,"52":0,"53":0.00653,"54":0,"55":0,"56":0.00327,"57":0.00327,"58":0.02286,"59":0.00327,"60":0,"61":0,"62":0.00327,"63":0.02286,"64":0.0098,"65":0.01633,"66":0.01306,"67":0.0098,"68":0.00327,"69":0.0098,"70":0.00653,"71":0.02286,"72":0.00653,"73":0.00653,"74":0.05877,"75":0.0098,"76":0.00327,"77":0.04245,"78":0.00653,"79":0.06204,"80":0.08816,"81":0.04898,"83":2.89279,"84":1.69454,"85":0.00327,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00653,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.00327,"31":0,"32":0,"33":0,"34":0.00653,"35":0,"36":0,"37":0.17958,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00653,"51":0,"52":0,"53":0,"54":0.00327,"55":0.0098,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.00327,"64":0,"65":0.00653,"66":0,"67":0.00327,"68":0.11428,"69":0.05224,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.0098},G:{"8":0,"3.2":0.00116,"4.0-4.1":0.00116,"4.2-4.3":0.00116,"5.0-5.1":0.00348,"6.0-6.1":0.00116,"7.0-7.1":0.00464,"8.1-8.4":0.00695,"9.0-9.2":0.00927,"9.3":0.0765,"10.0-10.2":0.0197,"10.3":0.09272,"11.0-11.2":0.06838,"11.3-11.4":0.10779,"12.0-12.1":0.14604,"12.2-12.4":0.88897,"13.0-13.1":0.16574,"13.2":0.08113,"13.3":0.81016,"13.4-13.5":1.95875,_:"14.0"},E:{"4":0,"5":0,"6":0.00327,"7":0,"8":0.00327,"9":0,"10":0.00327,"11":0.00327,"12":0.0098,"13":0.02612,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00653,"10.1":0.04571,"11.1":0.0098,"12.1":0.04245,"13.1":0.09469},B:{"12":0.03265,"13":0.01306,"14":0.00327,"15":0.01633,"16":0.01959,"17":0.0751,"18":0.11428,"79":0,"80":0,"81":0.01306,"83":0.21223,"84":0.19264},I:{"3":0,"4":0.03576,_:"81","2.1":0,"2.2":0,"2.3":0.00358,"4.1":0.0608,"4.2-4.3":0.10013,"4.4":0,"4.4.3-4.4.4":0.633},P:{"4":1.72938,"5.0-5.4":0.05027,"6.2-6.4":0.08044,"7.2-7.4":0.3318,"8.2":0.06033,"9.2":0.30164,"10.1":0.36196,"11.1-11.2":0.34185,"12.0":0.27147},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01092,"9":0.00364,"10":0.00364,"11":0.2985,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":75.28936},S:{"2.5":0},R:{_:"0"},M:{"0":0.06735},Q:{"10.4":0.02021},O:{"0":0.68697},H:{"0":2.55688}}; diff --git a/node_modules/caniuse-lite/data/regions/TM.js b/node_modules/caniuse-lite/data/regions/TM.js new file mode 100644 index 000000000..c898556d0 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.01134,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00189,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00378,"44":0,"45":0,"46":0,"47":0.00189,"48":0.00378,"49":0,"50":0.01323,"51":0,"52":0.00189,"53":0,"54":0,"55":0.00378,"56":0,"57":0,"58":0,"59":0,"60":0.00189,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.00756,"69":0.00189,"70":0.00378,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0.03969,"78":0.02079,"79":0,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00567,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00378,"19":0,"20":0.00189,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00567,"30":0.00189,"31":0.00378,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00189,"39":0.00756,"40":0.01134,"41":0,"42":0,"43":0.00567,"44":0.00189,"45":0,"46":0.00189,"47":0.00189,"48":0,"49":0.01701,"50":0.00378,"51":0,"52":0.01701,"53":0,"54":0,"55":0.00567,"56":0.00189,"57":0.00189,"58":0,"59":0.00189,"60":0.00567,"61":0.00945,"62":0.00189,"63":0.00189,"64":0,"65":0,"66":0.00189,"67":0.02646,"68":0.00189,"69":0.00378,"70":0.00378,"71":0.01323,"72":0.00189,"73":0.00756,"74":0.0189,"75":0.01701,"76":0.00378,"77":0.00945,"78":0.00945,"79":0.02268,"80":0.02268,"81":0.04536,"83":1.06029,"84":0.85428,"85":0.00189,"86":0.00945,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0.00189,"19":0,"20":0,"21":0.00189,"22":0,"23":0.00189,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00378,"34":0.00189,"35":0,"36":0.00189,"37":0.00189,"38":0,"39":0,"40":0.00756,"41":0,"42":0,"43":0.00567,"44":0,"45":0,"46":0.00378,"47":0,"48":0.00189,"49":0,"50":0.00756,"51":0.00567,"52":0.00189,"53":0.01701,"54":0,"55":0,"56":0.00567,"57":0,"58":0.00189,"60":0.00189,"62":0.00189,"63":0,"64":0.00189,"65":0.01134,"66":0.00189,"67":0,"68":0.00378,"69":0.00189,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00189},G:{"8":0,"3.2":0.00164,"4.0-4.1":0.00164,"4.2-4.3":0.00164,"5.0-5.1":0.00493,"6.0-6.1":0.00164,"7.0-7.1":0.00658,"8.1-8.4":0.00986,"9.0-9.2":0.01315,"9.3":0.1085,"10.0-10.2":0.02795,"10.3":0.13152,"11.0-11.2":0.097,"11.3-11.4":0.15289,"12.0-12.1":0.20714,"12.2-12.4":1.26095,"13.0-13.1":0.23509,"13.2":0.11508,"13.3":1.14916,"13.4-13.5":2.77836,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0.00189,"9.1":0,"10.1":0,"11.1":0,"12.1":0,"13.1":0.03402},B:{"12":0.00189,"13":0.00189,"14":0,"15":0.01701,"16":0,"17":0.00189,"18":0.02268,"79":0,"80":0,"81":0,"83":0.00378,"84":0},I:{"3":0,"4":0.03248,_:"81","2.1":0,"2.2":0,"2.3":0.00325,"4.1":0.05521,"4.2-4.3":0.09094,"4.4":0,"4.4.3-4.4.4":0.57489},P:{"4":11.39739,"5.0-5.4":0.68059,"6.2-6.4":0.37585,"7.2-7.4":1.2596,"8.2":0.09142,"9.2":1.60498,"10.1":0.79233,"11.1-11.2":2.05194,"12.0":2.74269},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01526,"9":0.01336,"10":0,"11":0.17172,"5.5":0},J:{"7":0,"10":0.00811},N:{"10":0,"11":0},L:{"0":60.41825},S:{"2.5":0},R:{_:"0"},M:{"0":0.04055},Q:{"10.4":0.01622},O:{"0":2.70063},H:{"0":0.29176}}; diff --git a/node_modules/caniuse-lite/data/regions/TN.js b/node_modules/caniuse-lite/data/regions/TN.js new file mode 100644 index 000000000..8b5dd2ea8 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00668,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00668,"48":0.02673,"49":0,"50":0.00668,"51":0,"52":0.04677,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.01336,"65":0.01336,"66":0.02005,"67":0,"68":0.08018,"69":0.01336,"70":0,"71":0,"72":0.01336,"73":0.00668,"74":0.00668,"75":0.01336,"76":0.02673,"77":0.36751,"78":1.34976,"79":0.04677,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00668,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0.00668,"40":0.00668,"41":0.00668,"42":0.00668,"43":0.01336,"44":0,"45":0,"46":0,"47":0.00668,"48":0,"49":0.46106,"50":0,"51":0.00668,"52":0.00668,"53":0,"54":0,"55":0,"56":0.00668,"57":0,"58":0.02005,"59":0,"60":0.00668,"61":0.04677,"62":0.01336,"63":0.0735,"64":0.00668,"65":0.08018,"66":0.02005,"67":0.13364,"68":0.01336,"69":0.04677,"70":0.11359,"71":0.14032,"72":0.10691,"73":0.06682,"74":0.10023,"75":0.04677,"76":0.06682,"77":0.08018,"78":0.14032,"79":0.23387,"80":0.39424,"81":0.34746,"83":21.87019,"84":12.15456,"85":0.04677,"86":0.01336,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0.01336,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00668,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.01336,"58":0.01336,"60":0,"62":0,"63":0.00668,"64":0,"65":0,"66":0,"67":0.00668,"68":1.51681,"69":0.58802,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00091,"4.0-4.1":0.00091,"4.2-4.3":0.00091,"5.0-5.1":0.00272,"6.0-6.1":0.00091,"7.0-7.1":0.00363,"8.1-8.4":0.00544,"9.0-9.2":0.00725,"9.3":0.05985,"10.0-10.2":0.01542,"10.3":0.07254,"11.0-11.2":0.0535,"11.3-11.4":0.08433,"12.0-12.1":0.11426,"12.2-12.4":0.69551,"13.0-13.1":0.12967,"13.2":0.06348,"13.3":0.63385,"13.4-13.5":1.53248,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00668,"11":0.01336,"12":0.08687,"13":0.11359,"14":0.00668,_:"0","3.1":0,"3.2":0,"5.1":0.00668,"6.1":0,"7.1":0,"9.1":0.00668,"10.1":0.02005,"11.1":0.06014,"12.1":0.12028,"13.1":0.4076},B:{"12":0,"13":0.00668,"14":0.01336,"15":0.01336,"16":0.00668,"17":0.04009,"18":0.19378,"79":0,"80":0,"81":0.01336,"83":0.46774,"84":0.34746},I:{"3":0,"4":0.01773,_:"81","2.1":0,"2.2":0,"2.3":0.00177,"4.1":0.03014,"4.2-4.3":0.04964,"4.4":0,"4.4.3-4.4.4":0.31381},P:{"4":0.33923,"5.0-5.4":0.01028,"6.2-6.4":0.01028,"7.2-7.4":0.09252,"8.2":0.01028,"9.2":0.13363,"10.1":0.1028,"11.1-11.2":0.4523,"12.0":1.04852},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.028,"9":0,"10":0,"11":0.119,"5.5":0},J:{"7":0,"10":0.00332},N:{"10":0,"11":0},L:{"0":48.01389},S:{"2.5":0},R:{_:"0"},M:{"0":0.06968},Q:{"10.4":0.00332},O:{"0":0.13604},H:{"0":0.1979}}; diff --git a/node_modules/caniuse-lite/data/regions/TO.js b/node_modules/caniuse-lite/data/regions/TO.js new file mode 100644 index 000000000..a9d6ddefb --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TO.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00559,"13":0,"14":0,"15":0,"16":0,"17":0.01676,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00559,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00559,"41":0,"42":0,"43":0,"44":0.00559,"45":0,"46":0,"47":0.01676,"48":0,"49":0,"50":0,"51":0,"52":0.44129,"53":0,"54":0,"55":0,"56":0.02793,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00559,"68":0.05027,"69":0.00559,"70":0,"71":0,"72":0.03352,"73":0.02234,"74":0,"75":0.04469,"76":0.00559,"77":0.17875,"78":2.27909,"79":0.09496,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.02234,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00559,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.01117,"56":0,"57":0,"58":0.06703,"59":0,"60":0,"61":0,"62":0,"63":0.02234,"64":0.01117,"65":0,"66":0.01676,"67":0.04469,"68":0.01117,"69":0,"70":0.02234,"71":0,"72":0.26813,"73":0.00559,"74":0.04469,"75":0.01117,"76":0.01117,"77":0.02793,"78":0,"79":0.05586,"80":0.01676,"81":0.25696,"83":5.97143,"84":3.60856,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.01117,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.01117,"62":0,"63":0.00559,"64":0,"65":0,"66":0,"67":0,"68":0.22344,"69":0.10055,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00199,"4.0-4.1":0.00199,"4.2-4.3":0.00199,"5.0-5.1":0.00598,"6.0-6.1":0.00199,"7.0-7.1":0.00797,"8.1-8.4":0.01195,"9.0-9.2":0.01594,"9.3":0.13149,"10.0-10.2":0.03387,"10.3":0.15938,"11.0-11.2":0.11754,"11.3-11.4":0.18528,"12.0-12.1":0.25103,"12.2-12.4":1.52807,"13.0-13.1":0.28489,"13.2":0.13946,"13.3":1.3926,"13.4-13.5":3.36693,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00559,"10":0.02793,"11":0.01117,"12":0,"13":0.65915,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.02234,"11.1":0.0391,"12.1":0.02234,"13.1":1.02782},B:{"12":0.01117,"13":0.02793,"14":0.00559,"15":0.01117,"16":0.05027,"17":2.18413,"18":0.76528,"79":0,"80":0,"81":0.01676,"83":0.70942,"84":0.39102},I:{"3":0,"4":0.20044,_:"81","2.1":0,"2.2":0,"2.3":0.02004,"4.1":0.34075,"4.2-4.3":0.56123,"4.4":0,"4.4.3-4.4.4":3.54776},P:{"4":0.26238,"5.0-5.4":0,"6.2-6.4":0.10091,"7.2-7.4":0.22201,"8.2":0.02018,"9.2":0.29265,"10.1":0.38348,"11.1-11.2":0.61558,"12.0":0.81741},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.26254,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":60.11142},S:{"2.5":0},R:{_:"0"},M:{"0":0.01324},Q:{"10.4":0.10152},O:{"0":0.34871},H:{"0":1.14919}}; diff --git a/node_modules/caniuse-lite/data/regions/TR.js b/node_modules/caniuse-lite/data/regions/TR.js new file mode 100644 index 000000000..9fffb08c6 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TR.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00451,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00451,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00226,"64":0.00226,"65":0.00226,"66":0,"67":0,"68":0.10152,"69":0,"70":0,"71":0,"72":0.00226,"73":0,"74":0,"75":0,"76":0.00226,"77":0.02933,"78":0.09701,"79":0.00451,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.0203,"23":0,"24":0,"25":0,"26":0.00451,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00677,"35":0,"36":0,"37":0,"38":0.01354,"39":0,"40":0,"41":0,"42":0.00226,"43":0.00226,"44":0,"45":0,"46":0.00226,"47":0.00451,"48":0,"49":0.04963,"50":0,"51":0,"52":0,"53":0.01128,"54":0,"55":0.00226,"56":0.00226,"57":0,"58":0.00226,"59":0.00226,"60":0.00226,"61":0.00226,"62":0.00226,"63":0.00677,"64":0.00226,"65":0.00451,"66":0.00226,"67":0.00226,"68":0.00451,"69":0.00451,"70":0.01805,"71":0.02707,"72":0.01805,"73":0.01354,"74":0.01128,"75":0.01805,"76":0.01354,"77":0.01128,"78":0.01805,"79":0.02482,"80":0.04286,"81":0.05189,"83":2.23795,"84":1.30397,"85":0.00226,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.00226,"32":0.00226,"33":0,"34":0,"35":0,"36":0.00226,"37":0,"38":0,"39":0,"40":0.00451,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00226,"47":0,"48":0,"49":0,"50":0.00226,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00226,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.11731,"69":0.05414,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0.00451,"12.1":0},G:{"8":0,"3.2":0.00328,"4.0-4.1":0.00328,"4.2-4.3":0.00328,"5.0-5.1":0.00983,"6.0-6.1":0.00328,"7.0-7.1":0.01311,"8.1-8.4":0.01967,"9.0-9.2":0.02622,"9.3":0.21632,"10.0-10.2":0.05572,"10.3":0.26221,"11.0-11.2":0.19338,"11.3-11.4":0.30482,"12.0-12.1":0.41298,"12.2-12.4":2.51395,"13.0-13.1":0.4687,"13.2":0.22943,"13.3":2.29107,"13.4-13.5":5.5392,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00226,"13":0.01354,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00677,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00226,"11.1":0.00451,"12.1":0.00902,"13.1":0.0925},B:{"12":0,"13":0.00226,"14":0.00226,"15":0.00226,"16":0.00226,"17":0.00677,"18":0.12408,"79":0,"80":0,"81":0,"83":0.0203,"84":0.01579},I:{"3":0,"4":0.00368,_:"81","2.1":0,"2.2":0,"2.3":0.00037,"4.1":0.00626,"4.2-4.3":0.01031,"4.4":0,"4.4.3-4.4.4":0.06517},P:{"4":0.83076,"5.0-5.4":0.10131,"6.2-6.4":0.07092,"7.2-7.4":0.35459,"8.2":0.07092,"9.2":0.46603,"10.1":0.38498,"11.1-11.2":1.60073,"12.0":4.33614},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00226,"9":0.00226,"10":0,"11":0.10378,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":69.78931},S:{"2.5":0},R:{_:"0"},M:{"0":0.46464},Q:{"10.4":0},O:{"0":0.15488},H:{"0":0.50587}}; diff --git a/node_modules/caniuse-lite/data/regions/TT.js b/node_modules/caniuse-lite/data/regions/TT.js new file mode 100644 index 000000000..4d0fa5fb8 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00502,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.01505,"49":0,"50":0,"51":0,"52":0.02508,"53":0,"54":0,"55":0,"56":0.00502,"57":0,"58":0,"59":0,"60":0.00502,"61":0,"62":0,"63":0,"64":0,"65":0.00502,"66":0,"67":0.00502,"68":0.10534,"69":0.01003,"70":0,"71":0,"72":0,"73":0,"74":0.02006,"75":0.00502,"76":0.01003,"77":0.26083,"78":0.99317,"79":0.04013,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00502,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00502,"35":0,"36":0,"37":0,"38":0.01003,"39":0,"40":0.00502,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00502,"48":0.00502,"49":0.10534,"50":0.00502,"51":0,"52":0,"53":0.01003,"54":0,"55":0,"56":0.00502,"57":0,"58":0.01003,"59":0,"60":0.00502,"61":0.03511,"62":0.01003,"63":0.01003,"64":0.00502,"65":0.04013,"66":0.00502,"67":0.02508,"68":0.00502,"69":0.01505,"70":0.01505,"71":0.02508,"72":0.01003,"73":0.00502,"74":0.02006,"75":0.02006,"76":0.0301,"77":0.02006,"78":0.02508,"79":0.03511,"80":0.07022,"81":0.17556,"83":9.44011,"84":5.45741,"85":0.01505,"86":0,"87":0},F:{"9":0,"11":0,"12":0.08026,"15":0,"16":0,"17":0.00502,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00502,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.00502,"68":0.32102,"69":0.16051,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0032,"4.0-4.1":0.0032,"4.2-4.3":0.0032,"5.0-5.1":0.0096,"6.0-6.1":0.0032,"7.0-7.1":0.0128,"8.1-8.4":0.0192,"9.0-9.2":0.0256,"9.3":0.21119,"10.0-10.2":0.0544,"10.3":0.25598,"11.0-11.2":0.18879,"11.3-11.4":0.29758,"12.0-12.1":0.40317,"12.2-12.4":2.45423,"13.0-13.1":0.45757,"13.2":0.22398,"13.3":2.23664,"13.4-13.5":5.40762,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00502,"9":0,"10":0.00502,"11":0.00502,"12":0.03511,"13":0.21569,"14":0.00502,_:"0","3.1":0,"3.2":0,"5.1":0.05016,"6.1":0,"7.1":0,"9.1":0,"10.1":0.01505,"11.1":0.1555,"12.1":0.09029,"13.1":1.65026},B:{"12":0.00502,"13":0.01003,"14":0.00502,"15":0.00502,"16":0.02006,"17":0.06521,"18":0.50662,"79":0,"80":0,"81":0.01505,"83":0.81761,"84":0.59189},I:{"3":0,"4":0.05724,_:"81","2.1":0,"2.2":0,"2.3":0.00572,"4.1":0.0973,"4.2-4.3":0.16027,"4.4":0,"4.4.3-4.4.4":1.01311},P:{"4":0.1616,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.22624,"8.2":0,"9.2":0.57098,"10.1":0.10773,"11.1-11.2":0.71103,"12.0":4.55708},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0155,"9":0.00517,"10":0.00517,"11":0.31525,"5.5":0},J:{"7":0,"10":0.00997},N:{"10":0,"11":0},L:{"0":52.55534},S:{"2.5":0},R:{_:"0"},M:{"0":0.18939},Q:{"10.4":0.01994},O:{"0":0.17942},H:{"0":0.50016}}; diff --git a/node_modules/caniuse-lite/data/regions/TV.js b/node_modules/caniuse-lite/data/regions/TV.js new file mode 100644 index 000000000..09edf982e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TV.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.26514,"74":0.09722,"75":0,"76":0,"77":0.04861,"78":0.65401,"79":0,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.04861,"56":0.0221,"57":0.0707,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.11931,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0.0221,"70":0,"71":0,"72":0,"73":0,"74":0.19444,"75":0,"76":0,"77":0,"78":0,"79":0.14583,"80":0.0221,"81":0.79984,"83":7.17204,"84":4.0699,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.5347,"69":0.09722,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00065,"4.0-4.1":0.00065,"4.2-4.3":0.00065,"5.0-5.1":0.00196,"6.0-6.1":0.00065,"7.0-7.1":0.00261,"8.1-8.4":0.00392,"9.0-9.2":0.00522,"9.3":0.0431,"10.0-10.2":0.0111,"10.3":0.05224,"11.0-11.2":0.03853,"11.3-11.4":0.06073,"12.0-12.1":0.08228,"12.2-12.4":0.50085,"13.0-13.1":0.09338,"13.2":0.04571,"13.3":0.45644,"13.4-13.5":1.10356,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.26514,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.0221,"11.1":0.26514,"12.1":0.09722,"13.1":0.24305},B:{"12":0,"13":0.0221,"14":0.14583,"15":0.0221,"16":0.36236,"17":0.24305,"18":0.82193,"79":0,"80":0,"81":0.0221,"83":0.34026,"84":0.89706},I:{"3":0,"4":0.01105,_:"81","2.1":0,"2.2":0,"2.3":0.0011,"4.1":0.01878,"4.2-4.3":0.03094,"4.4":0,"4.4.3-4.4.4":0.19557},P:{"4":1.27281,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":11.61695,"8.2":0,"9.2":0.33336,"10.1":0.05051,"11.1-11.2":0,"12.0":0.44447},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.19444,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":58.8074},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/TW.js b/node_modules/caniuse-lite/data/regions/TW.js new file mode 100644 index 000000000..e995d5f47 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TW.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00968,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01937,"53":0,"54":0,"55":0,"56":0.00484,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.00484,"67":0.00484,"68":0.04358,"69":0,"70":0.00484,"71":0,"72":0.00968,"73":0.00484,"74":0.00484,"75":0.00484,"76":0.01453,"77":0.14526,"78":0.57136,"79":0.02905,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00484,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00484,"23":0,"24":0.00484,"25":0,"26":0.00484,"27":0,"28":0,"29":0,"30":0.00484,"31":0,"32":0,"33":0,"34":0.01453,"35":0,"36":0,"37":0,"38":0.06779,"39":0.00484,"40":0,"41":0.00484,"42":0,"43":0,"44":0,"45":0.00484,"46":0.00484,"47":0.00484,"48":0.00484,"49":0.15494,"50":0.00968,"51":0.00484,"52":0,"53":0.1501,"54":0,"55":0.00968,"56":0.00484,"57":0.00484,"58":0.00968,"59":0.00484,"60":0.00484,"61":0.04842,"62":0.00968,"63":0.00968,"64":0.01937,"65":0.01453,"66":0.01453,"67":0.02421,"68":0.01937,"69":0.01937,"70":0.02421,"71":0.03389,"72":0.02421,"73":0.05326,"74":0.03874,"75":0.04358,"76":0.03389,"77":0.03389,"78":0.04358,"79":0.06295,"80":0.1501,"81":0.22273,"83":10.06652,"84":5.94113,"85":0.00968,"86":0.00484,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00484,"37":0.03389,"38":0,"39":0,"40":0.00484,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00484,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.0581,"69":0.02421,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00841,"4.0-4.1":0.00841,"4.2-4.3":0.00841,"5.0-5.1":0.02522,"6.0-6.1":0.00841,"7.0-7.1":0.03363,"8.1-8.4":0.05045,"9.0-9.2":0.06726,"9.3":0.55491,"10.0-10.2":0.14293,"10.3":0.67262,"11.0-11.2":0.49605,"11.3-11.4":0.78192,"12.0-12.1":1.05937,"12.2-12.4":6.4487,"13.0-13.1":1.2023,"13.2":0.58854,"13.3":5.87698,"13.4-13.5":14.20901,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00484,"9":0,"10":0.00484,"11":0.00484,"12":0.01937,"13":0.26147,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00968,"10.1":0.01937,"11.1":0.03389,"12.1":0.08231,"13.1":1.27345},B:{"12":0,"13":0,"14":0.00484,"15":0.00484,"16":0.00484,"17":0.02421,"18":0.28568,"79":0,"80":0,"81":0.02905,"83":0.30989,"84":0.31957},I:{"3":0,"4":0.0068,_:"81","2.1":0,"2.2":0,"2.3":0.00068,"4.1":0.01156,"4.2-4.3":0.01904,"4.4":0,"4.4.3-4.4.4":0.12034},P:{"4":0.42045,"5.0-5.4":0.01078,"6.2-6.4":0.02156,"7.2-7.4":0.07546,"8.2":0.0539,"9.2":0.24796,"10.1":0.20483,"11.1-11.2":0.76543,"12.0":1.78959},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01705,"9":0.00568,"10":0.00568,"11":0.36378,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":38.5506},S:{"2.5":0},R:{_:"0"},M:{"0":0.08769},Q:{"10.4":0.01032},O:{"0":0.08769},H:{"0":0.55669}}; diff --git a/node_modules/caniuse-lite/data/regions/TZ.js b/node_modules/caniuse-lite/data/regions/TZ.js new file mode 100644 index 000000000..fb489ab85 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/TZ.js @@ -0,0 +1 @@ +module.exports={C:{"6":0.00353,"13":0.00706,"18":0.00353,"19":0.00353,"20":0.00353,"21":0.0106,"23":0.0106,"26":0.00353,"28":0.00353,"29":0.0106,"30":0.0106,"31":0.00706,"32":0.0106,"33":0.00706,"34":0.00706,"35":0.00706,"36":0.02119,"37":0.00706,"38":0.01413,"40":0.01766,"41":0.00706,"42":0.0106,"43":0.04238,"44":0.02472,"45":0.0106,"46":0.0106,"47":0.03885,"48":0.04238,"49":0.02119,"51":0.00353,"52":0.03532,"54":0.00353,"55":0.00706,"56":0.01766,"57":0.00353,"58":0.00353,"59":0.0106,"60":0.0106,"61":0.00706,"64":0.0106,"65":0.00706,"66":0.05298,"67":0.00706,"68":0.10243,"69":0.00706,"70":0.00706,"71":0.02119,"72":0.06004,"73":0.0106,"74":0.03532,"75":0.03179,"76":0.05651,"77":1.15143,"78":2.99867,"79":0.43444,"80":0.00706,_:"2 3 4 5 7 8 9 10 11 12 14 15 16 17 22 24 25 27 39 50 53 62 63 81 3.5 3.6"},D:{"21":0.00706,"28":0.00706,"32":0.01413,"33":0.00353,"37":0.00706,"38":0.00706,"43":0.02119,"49":0.08477,"50":0.03885,"53":0.00706,"55":0.0106,"57":0.01413,"58":0.01766,"59":0.00706,"60":0.01413,"61":0.00353,"62":0.00706,"63":0.15894,"64":0.00706,"65":0.03885,"66":0.00706,"67":0.02472,"68":0.0106,"69":0.04945,"70":0.02826,"71":0.02826,"72":0.05651,"73":0.04238,"74":0.16954,"75":0.04238,"76":0.02472,"77":0.03532,"78":0.07064,"79":0.11302,"80":0.24724,"81":0.27196,"83":10.05914,"84":7.06753,"85":0.04592,"86":0.0106,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 22 23 24 25 26 27 29 30 31 34 35 36 39 40 41 42 44 45 46 47 48 51 52 54 56 87"},F:{"42":0.00706,"63":0.0106,"64":0.00706,"65":0.01766,"66":0.00706,"67":0.02472,"68":1.29624,"69":0.74172,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},G:{"8":0,"3.2":0.00119,"4.0-4.1":0.00119,"4.2-4.3":0.00119,"5.0-5.1":0.00358,"6.0-6.1":0.00119,"7.0-7.1":0.00477,"8.1-8.4":0.00716,"9.0-9.2":0.00954,"9.3":0.07874,"10.0-10.2":0.02028,"10.3":0.09545,"11.0-11.2":0.07039,"11.3-11.4":0.11096,"12.0-12.1":0.15033,"12.2-12.4":0.91511,"13.0-13.1":0.17061,"13.2":0.08352,"13.3":0.83398,"13.4-13.5":2.01634,_:"14.0"},E:{"4":0,"7":0.00706,"9":0.26843,"10":0.01413,"11":0.03179,"12":0.11656,"13":0.19779,"14":0.00353,_:"0 5 6 8 3.1 3.2 5.1 6.1 7.1","9.1":0.02826,"10.1":0.06711,"11.1":0.08477,"12.1":0.21545,"13.1":0.86181},B:{"12":0.12715,"13":0.03885,"14":0.03179,"15":0.22252,"16":0.19073,"17":0.09536,"18":0.63929,"81":0.04592,"83":0.61104,"84":0.47329,_:"79 80"},I:{"3":0,"4":0.0086,_:"81","2.1":0,"2.2":0,"2.3":0.00086,"4.1":0.01463,"4.2-4.3":0.02409,"4.4":0,"4.4.3-4.4.4":0.15229},P:{"4":0.43396,"5.0-5.4":0.031,"6.2-6.4":0.02066,"7.2-7.4":0.16532,"8.2":0.031,"9.2":0.3823,"10.1":0.23764,"11.1-11.2":0.68193,"12.0":0.71293},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.13552,"9":0.00645,"10":0.00645,"11":0.3743,_:"6 7 5.5"},J:{"7":0,"10":0.01293},N:{"10":0.01097,"11":0},L:{"0":48.8795},S:{"2.5":0.17461},R:{_:"0"},M:{"0":0.23928},Q:{"10.4":0.01293},O:{"0":2.20525},H:{"0":7.86746}}; diff --git a/node_modules/caniuse-lite/data/regions/UA.js b/node_modules/caniuse-lite/data/regions/UA.js new file mode 100644 index 000000000..6194463b9 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/UA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0.02312,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.03083,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00771,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00771,"39":0,"40":0,"41":0.00771,"42":0,"43":0.00771,"44":0,"45":0.00771,"46":0,"47":0.01542,"48":0.01542,"49":0.00771,"50":0.00771,"51":0.01542,"52":0.20812,"53":0.00771,"54":0.00771,"55":0.00771,"56":0.02312,"57":0.05396,"58":0.00771,"59":0.01542,"60":0.03854,"61":0.00771,"62":0.00771,"63":0.03083,"64":0.04625,"65":0.02312,"66":0.03083,"67":0.00771,"68":0.24666,"69":0.00771,"70":0.01542,"71":0.00771,"72":0.03083,"73":0.01542,"74":0.01542,"75":0.03083,"76":0.04625,"77":0.49331,"78":1.88846,"79":0.12333,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0.00771,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00771,"39":0,"40":0,"41":0.00771,"42":0.00771,"43":0.00771,"44":0,"45":0.00771,"46":0.00771,"47":0.00771,"48":0.00771,"49":0.60122,"50":0.00771,"51":0.01542,"52":0.00771,"53":0.00771,"54":0,"55":0.00771,"56":0.01542,"57":0.01542,"58":0.01542,"59":0.03083,"60":0.01542,"61":0.17728,"62":0.01542,"63":0.03083,"64":0.01542,"65":0.02312,"66":0.02312,"67":0.03854,"68":0.02312,"69":0.05396,"70":0.23895,"71":0.26207,"72":0.20041,"73":0.18499,"74":0.1002,"75":0.11562,"76":0.0925,"77":0.08479,"78":0.12333,"79":0.20041,"80":0.53185,"81":0.46248,"83":22.01405,"84":13.32713,"85":0.03083,"86":0.03083,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0.02312,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.06937,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00771,"48":0.01542,"49":0,"50":0.00771,"51":0,"52":0.00771,"53":0.00771,"54":0.00771,"55":0,"56":0.00771,"57":0.01542,"58":0.03083,"60":0.01542,"62":0.00771,"63":0.00771,"64":0.00771,"65":0.01542,"66":0.01542,"67":0.04625,"68":4.46293,"69":2.48198,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.03083},G:{"8":0,"3.2":0.00173,"4.0-4.1":0.00173,"4.2-4.3":0.00173,"5.0-5.1":0.00519,"6.0-6.1":0.00173,"7.0-7.1":0.00692,"8.1-8.4":0.01038,"9.0-9.2":0.01384,"9.3":0.11417,"10.0-10.2":0.02941,"10.3":0.13839,"11.0-11.2":0.10206,"11.3-11.4":0.16088,"12.0-12.1":0.21796,"12.2-12.4":1.32679,"13.0-13.1":0.24737,"13.2":0.12109,"13.3":1.20917,"13.4-13.5":2.92345,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01542,"12":0.06937,"13":0.33915,"14":0.02312,_:"0","3.1":0,"3.2":0,"5.1":2.12741,"6.1":0,"7.1":0,"9.1":0.00771,"10.1":0.00771,"11.1":0.05396,"12.1":0.16958,"13.1":1.47994},B:{"12":0,"13":0.00771,"14":0.00771,"15":0.01542,"16":0.00771,"17":0.03854,"18":0.1002,"79":0,"80":0,"81":0.00771,"83":0.24666,"84":0.20041},I:{"3":0,"4":0.0068,_:"81","2.1":0,"2.2":0,"2.3":0.00068,"4.1":0.01155,"4.2-4.3":0.01903,"4.4":0,"4.4.3-4.4.4":0.12028},P:{"4":0.07286,"5.0-5.4":0.01041,"6.2-6.4":0,"7.2-7.4":0.01041,"8.2":0.01041,"9.2":0.03123,"10.1":0.04163,"11.1-11.2":0.15613,"12.0":0.55164},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.031,"9":0.0155,"10":0.00775,"11":1.39486,"5.5":0},J:{"7":0,"10":0.00229},N:{"10":0,"11":0},L:{"0":29.09203},S:{"2.5":0},R:{_:"0"},M:{"0":0.09856},Q:{"10.4":0.00917},O:{"0":0.35755},H:{"0":1.34101}}; diff --git a/node_modules/caniuse-lite/data/regions/UG.js b/node_modules/caniuse-lite/data/regions/UG.js new file mode 100644 index 000000000..7caf16bcf --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/UG.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00412,"14":0,"15":0.00412,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.00412,"22":0,"23":0.00412,"24":0,"25":0,"26":0,"27":0.00412,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00412,"34":0,"35":0.00412,"36":0,"37":0,"38":0.00412,"39":0.00412,"40":0.00412,"41":0.00412,"42":0.00412,"43":0.01235,"44":0.00824,"45":0.00824,"46":0.00412,"47":0.01647,"48":0.02883,"49":0.00824,"50":0.00824,"51":0,"52":0.04942,"53":0,"54":0,"55":0.00824,"56":0.00824,"57":0.00412,"58":0.00824,"59":0.00824,"60":0.00824,"61":0.00412,"62":0.00412,"63":0.00412,"64":0.00412,"65":0.00412,"66":0.00824,"67":0.00824,"68":0.11119,"69":0.00824,"70":0.00824,"71":0.02059,"72":0.05353,"73":0.01235,"74":0.01647,"75":0.01647,"76":0.03294,"77":0.49828,"78":1.79545,"79":0.36238,"80":0.01235,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00412,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0.00824,"20":0,"21":0,"22":0,"23":0,"24":0.00412,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00824,"34":0,"35":0,"36":0,"37":0,"38":0.02059,"39":0,"40":0.00824,"41":0,"42":0.00412,"43":0,"44":0.00412,"45":0,"46":0,"47":0.00824,"48":0,"49":0.03294,"50":0.00412,"51":0,"52":0.00412,"53":0,"54":0,"55":0.00412,"56":0.00412,"57":0.00824,"58":0.00824,"59":0,"60":0.00412,"61":0,"62":0.00412,"63":0.04942,"64":0.01647,"65":0.01235,"66":0.00412,"67":0.00412,"68":0.00824,"69":0.01235,"70":0.00824,"71":0.01647,"72":0.02059,"73":0.00824,"74":0.04942,"75":0.02883,"76":0.0453,"77":0.01647,"78":0.05353,"79":0.10707,"80":0.23473,"81":0.13589,"83":5.15985,"84":3.44265,"85":0.01647,"86":0.00412,"87":0},F:{"9":0,"11":0,"12":0.00412,"15":0,"16":0.00412,"17":0,"18":0,"19":0.00412,"20":0.01647,"21":0,"22":0,"23":0.01235,"24":0,"25":0,"26":0,"27":0.00412,"28":0.00412,"29":0,"30":0.00412,"31":0,"32":0.00412,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.01235,"39":0,"40":0,"41":0,"42":0.00824,"43":0.00412,"44":0,"45":0.00824,"46":0.0453,"47":0.07001,"48":0,"49":0,"50":0.26355,"51":0.00412,"52":0,"53":0.02059,"54":0.00412,"55":0,"56":0.02059,"57":0.02883,"58":0.00412,"60":0.01647,"62":0,"63":0.00412,"64":0.00412,"65":0.00412,"66":0.00412,"67":0.00412,"68":0.48592,"69":0.31297,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.07001},G:{"8":0,"3.2":0.00124,"4.0-4.1":0.00124,"4.2-4.3":0.00124,"5.0-5.1":0.00371,"6.0-6.1":0.00124,"7.0-7.1":0.00494,"8.1-8.4":0.00741,"9.0-9.2":0.00988,"9.3":0.08151,"10.0-10.2":0.021,"10.3":0.0988,"11.0-11.2":0.07287,"11.3-11.4":0.11486,"12.0-12.1":0.15562,"12.2-12.4":0.94728,"13.0-13.1":0.17661,"13.2":0.08645,"13.3":0.86329,"13.4-13.5":2.08722,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.01235,"11":0.04118,"12":0.03706,"13":0.05765,"14":0.00412,_:"0","3.1":0,"3.2":0,"5.1":0.02059,"6.1":0,"7.1":0,"9.1":0.02883,"10.1":0.00824,"11.1":0.01235,"12.1":0.07824,"13.1":0.33356},B:{"12":0.02059,"13":0.02059,"14":0.02059,"15":0.02059,"16":0.02883,"17":0.03706,"18":0.21002,"79":0,"80":0,"81":0.01647,"83":0.21414,"84":0.17296},I:{"3":0,"4":0.01537,_:"81","2.1":0,"2.2":0,"2.3":0.00154,"4.1":0.02614,"4.2-4.3":0.04305,"4.4":0,"4.4.3-4.4.4":0.27214},P:{"4":0.296,"5.0-5.4":0.15311,"6.2-6.4":0.02041,"7.2-7.4":0.17352,"8.2":0.01021,"9.2":0.11228,"10.1":0.22455,"11.1-11.2":0.30621,"12.0":0.4389},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02141,"9":0,"10":0.00535,"11":0.2409,"5.5":0},J:{"7":0,"10":0.05882},N:{"10":0,"11":0.01765},L:{"0":54.84975},S:{"2.5":0.15293},R:{_:"0"},M:{"0":0.21175},Q:{"10.4":0.07058},O:{"0":1.48226},H:{"0":12.80244}}; diff --git a/node_modules/caniuse-lite/data/regions/US.js b/node_modules/caniuse-lite/data/regions/US.js new file mode 100644 index 000000000..30b48306c --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/US.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0.01559,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0052,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.0052,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.0052,"27":0.04156,"28":0,"29":0,"30":0.0052,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.0052,"39":0,"40":0,"41":0,"42":0,"43":0.0052,"44":0.01039,"45":0.0052,"46":0,"47":0.0052,"48":0.01039,"49":0,"50":0,"51":0,"52":0.05195,"53":0,"54":0.01039,"55":0.0052,"56":0.0052,"57":0.0052,"58":0.0052,"59":0.0052,"60":0.01039,"61":0.0052,"62":0.0052,"63":0.02078,"64":0.02078,"65":0.02078,"66":0.01039,"67":0.0052,"68":0.19222,"69":0.0052,"70":0.0052,"71":0.0052,"72":0.01559,"73":0.0052,"74":0.01559,"75":0.01039,"76":0.03117,"77":0.37404,"78":1.16888,"79":0.06234,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0052,"28":0,"29":0.0052,"30":0,"31":0,"32":0,"33":0.0052,"34":0.0052,"35":0.0052,"36":0.0052,"37":0.0052,"38":0.0052,"39":0,"40":0.01559,"41":0.03637,"42":0,"43":0.0052,"44":0,"45":0,"46":0.0052,"47":0.0052,"48":0.02598,"49":0.17663,"50":0.0052,"51":0.0052,"52":0.0052,"53":0.01039,"54":0.0052,"55":0.0052,"56":0.04156,"57":0.0052,"58":0.0052,"59":0.0052,"60":0.01039,"61":0.02078,"62":0.0052,"63":0.03117,"64":0.01559,"65":0.02078,"66":0.03117,"67":0.03117,"68":0.01039,"69":0.02078,"70":0.11429,"71":0.14027,"72":0.12988,"73":0.07273,"74":0.03637,"75":0.06754,"76":0.12468,"77":0.05195,"78":0.09351,"79":0.24417,"80":0.24936,"81":0.5195,"83":8.02108,"84":4.23912,"85":0.01039,"86":0.03117,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.0052,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.0052,"57":0.01039,"58":0.01039,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.14546,"69":0.07273,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.0106,"4.0-4.1":0.0106,"4.2-4.3":0.0106,"5.0-5.1":0.0318,"6.0-6.1":0.0106,"7.0-7.1":0.0424,"8.1-8.4":0.0636,"9.0-9.2":0.08479,"9.3":0.69956,"10.0-10.2":0.18019,"10.3":0.84795,"11.0-11.2":0.62536,"11.3-11.4":0.98574,"12.0-12.1":1.33552,"12.2-12.4":8.12971,"13.0-13.1":1.51571,"13.2":0.74196,"13.3":7.40896,"13.4-13.5":17.91293,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.0052,"9":0.0052,"10":0.0052,"11":0.01559,"12":0.03637,"13":0.32209,"14":0.01039,_:"0","3.1":0,"3.2":0,"5.1":0.01039,"6.1":0,"7.1":0,"9.1":0.08312,"10.1":0.05715,"11.1":0.11949,"12.1":0.18183,"13.1":3.17415},B:{"12":0.0052,"13":0.0052,"14":0.01039,"15":0.01039,"16":0.01559,"17":0.05195,"18":0.72211,"79":0,"80":0.0052,"81":0.04156,"83":0.9351,"84":0.85198},I:{"3":0,"4":0.02791,_:"81","2.1":0,"2.2":0,"2.3":0.00279,"4.1":0.04745,"4.2-4.3":0.07816,"4.4":0,"4.4.3-4.4.4":0.49408},P:{"4":0.05302,"5.0-5.4":0.0106,"6.2-6.4":0,"7.2-7.4":0.03181,"8.2":0.0106,"9.2":0.06363,"10.1":0.05302,"11.1-11.2":0.36057,"12.0":1.82404},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0.01087,"8":0.03261,"9":0.53258,"10":0.01087,"11":0.9456,"5.5":0},J:{"7":0,"10":0.00481},N:{"10":0,"11":0},L:{"0":27.02531},S:{"2.5":0.00481},R:{_:"0"},M:{"0":0.36999},Q:{"10.4":0.01922},O:{"0":0.10571},H:{"0":0.17286}}; diff --git a/node_modules/caniuse-lite/data/regions/UY.js b/node_modules/caniuse-lite/data/regions/UY.js new file mode 100644 index 000000000..3ec9fabf8 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/UY.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.00584,"26":0,"27":0.00584,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0.01751,"46":0,"47":0,"48":0.00584,"49":0.00584,"50":0.00584,"51":0.00584,"52":0.09341,"53":0.00584,"54":0.01168,"55":0,"56":0.00584,"57":0.01168,"58":0,"59":0.00584,"60":0.00584,"61":0,"62":0.00584,"63":0,"64":0,"65":0.00584,"66":0.02335,"67":0,"68":0.1693,"69":0,"70":0.01168,"71":0,"72":0.01168,"73":0.02919,"74":0.01168,"75":0.01168,"76":0.01168,"77":0.34444,"78":1.51788,"79":0.08757,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00584,"44":0,"45":0,"46":0.01168,"47":0,"48":0.01751,"49":0.17514,"50":0,"51":0,"52":0,"53":0.00584,"54":0.00584,"55":0.00584,"56":0,"57":0.00584,"58":0.01168,"59":0.00584,"60":0.00584,"61":0,"62":0.02919,"63":0.01751,"64":0.00584,"65":0.01751,"66":0.00584,"67":0.01751,"68":0.01168,"69":0.01751,"70":0.02335,"71":0.03503,"72":0.02919,"73":0.03503,"74":0.05838,"75":0.04087,"76":0.05838,"77":0.05838,"78":0.05254,"79":0.05838,"80":0.74726,"81":0.26271,"83":15.75676,"84":9.62102,"85":0.01168,"86":0.00584,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00584,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.50207,"69":0.22184,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00211,"4.0-4.1":0.00211,"4.2-4.3":0.00211,"5.0-5.1":0.00634,"6.0-6.1":0.00211,"7.0-7.1":0.00845,"8.1-8.4":0.01267,"9.0-9.2":0.01689,"9.3":0.13938,"10.0-10.2":0.0359,"10.3":0.16894,"11.0-11.2":0.1246,"11.3-11.4":0.1964,"12.0-12.1":0.26608,"12.2-12.4":1.61974,"13.0-13.1":0.30198,"13.2":0.14782,"13.3":1.47614,"13.4-13.5":3.56891,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00584,"12":0.01751,"13":0.13427,"14":0.00584,_:"0","3.1":0,"3.2":0,"5.1":0.15763,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00584,"11.1":0.05838,"12.1":0.10508,"13.1":0.9983},B:{"12":0.00584,"13":0,"14":0.00584,"15":0.00584,"16":0.00584,"17":0.01751,"18":0.19265,"79":0,"80":0,"81":0.00584,"83":0.39698,"84":0.33277},I:{"3":0,"4":0.00687,_:"81","2.1":0,"2.2":0,"2.3":0.00069,"4.1":0.01168,"4.2-4.3":0.01923,"4.4":0,"4.4.3-4.4.4":0.12159},P:{"4":0.07173,"5.0-5.4":0,"6.2-6.4":0.01025,"7.2-7.4":0.08197,"8.2":0.01025,"9.2":0.12296,"10.1":0.08197,"11.1-11.2":0.34839,"12.0":1.02468},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0119,"9":0,"10":0,"11":0.29751,"5.5":0},J:{"7":0,"10":0.00416},N:{"10":0,"11":0},L:{"0":54.90662},S:{"2.5":0},R:{_:"0"},M:{"0":0.16648},Q:{"10.4":0},O:{"0":0.04162},H:{"0":0.06699}}; diff --git a/node_modules/caniuse-lite/data/regions/UZ.js b/node_modules/caniuse-lite/data/regions/UZ.js new file mode 100644 index 000000000..2b54aab6c --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/UZ.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00589,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.03533,"53":0,"54":0,"55":0,"56":0.00589,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00589,"64":0,"65":0,"66":0.00589,"67":0,"68":0.08245,"69":0.18256,"70":0.00589,"71":0.00589,"72":0.22378,"73":0,"74":0.00589,"75":0.01178,"76":0.01767,"77":0.19434,"78":0.71257,"79":0.04711,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.00589,"36":0,"37":0,"38":0,"39":0.00589,"40":0.01178,"41":0,"42":0,"43":0.01178,"44":0,"45":0,"46":0,"47":0,"48":0.00589,"49":0.21789,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.00589,"56":0.02945,"57":0,"58":0.01767,"59":0.00589,"60":0,"61":0.01178,"62":0,"63":0.02945,"64":0.00589,"65":0.00589,"66":0.00589,"67":0.01767,"68":0.00589,"69":0.02356,"70":0.08245,"71":0.08245,"72":0.05889,"73":0.02356,"74":0.02356,"75":0.01767,"76":0.04122,"77":0.03533,"78":0.04122,"79":0.09422,"80":0.18256,"81":0.28856,"83":12.50235,"84":8.66272,"85":0.03533,"86":0.01178,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00589,"30":0,"31":0,"32":0.00589,"33":0,"34":0,"35":0,"36":0.01178,"37":0,"38":0,"39":0,"40":0.00589,"41":0,"42":0.00589,"43":0.00589,"44":0,"45":0.01767,"46":0,"47":0.00589,"48":0.01178,"49":0.00589,"50":0.00589,"51":0.02356,"52":0.00589,"53":0.106,"54":0.01767,"55":0.07067,"56":0.01767,"57":0.15311,"58":0.02356,"60":0.07656,"62":0.08834,"63":0.06478,"64":0.05889,"65":0.13545,"66":0.053,"67":0.07067,"68":0.12367,"69":0.053,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.05889},G:{"8":0,"3.2":0.00133,"4.0-4.1":0.00133,"4.2-4.3":0.00133,"5.0-5.1":0.00399,"6.0-6.1":0.00133,"7.0-7.1":0.00532,"8.1-8.4":0.00798,"9.0-9.2":0.01064,"9.3":0.0878,"10.0-10.2":0.02262,"10.3":0.10643,"11.0-11.2":0.07849,"11.3-11.4":0.12372,"12.0-12.1":0.16763,"12.2-12.4":1.02039,"13.0-13.1":0.19024,"13.2":0.09313,"13.3":0.92993,"13.4-13.5":2.24832,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.01178,"12":0.01178,"13":0.04711,"14":0.00589,_:"0","3.1":0,"3.2":0,"5.1":4.09286,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00589,"11.1":0.01178,"12.1":0.06478,"13.1":0.30623},B:{"12":0,"13":0,"14":0.00589,"15":0.00589,"16":0.00589,"17":0.01178,"18":0.24145,"79":0,"80":0,"81":0,"83":0.07067,"84":0.05889},I:{"3":0,"4":0.00984,_:"81","2.1":0,"2.2":0,"2.3":0.00098,"4.1":0.01673,"4.2-4.3":0.02756,"4.4":0,"4.4.3-4.4.4":0.17421},P:{"4":1.06464,"5.0-5.4":0.10044,"6.2-6.4":0.20088,"7.2-7.4":0.35153,"8.2":0.07031,"9.2":0.40175,"10.1":0.27118,"11.1-11.2":0.76333,"12.0":1.10482},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.01151,"9":0.02302,"10":0,"11":0.2187,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0.01233},L:{"0":43.77391},S:{"2.5":0},R:{_:"0"},M:{"0":0.06578},Q:{"10.4":0.02467},O:{"0":5.06064},H:{"0":0.27633}}; diff --git a/node_modules/caniuse-lite/data/regions/VA.js b/node_modules/caniuse-lite/data/regions/VA.js new file mode 100644 index 000000000..f278e1574 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/VA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00975,"39":0.0195,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.0195,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.0195,"56":0.00975,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0.00975,"63":0.02924,"64":0,"65":0,"66":0.00975,"67":0,"68":0,"69":0,"70":0.02924,"71":0,"72":0.07798,"73":0.02924,"74":0,"75":0,"76":0.00975,"77":2.11532,"78":12.8966,"79":0.77984,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.40942,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.70186,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0.00975,"76":0,"77":0.34118,"78":0.0195,"79":1.00404,"80":0.0195,"81":0.11698,"83":31.37881,"84":20.26609,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.21446,"69":0.63362,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00066,"4.0-4.1":0.00066,"4.2-4.3":0.00066,"5.0-5.1":0.00198,"6.0-6.1":0.00066,"7.0-7.1":0.00264,"8.1-8.4":0.00395,"9.0-9.2":0.00527,"9.3":0.0435,"10.0-10.2":0.01121,"10.3":0.05273,"11.0-11.2":0.03889,"11.3-11.4":0.0613,"12.0-12.1":0.08305,"12.2-12.4":0.50555,"13.0-13.1":0.09425,"13.2":0.04614,"13.3":0.46073,"13.4-13.5":1.11392,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00975,"12":0.06824,"13":0.07798,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.25345,"11.1":0.19496,"12.1":0.37042,"13.1":1.4622},B:{"12":0,"13":0,"14":0,"15":0.00975,"16":0.04874,"17":0.09748,"18":3.64575,"79":0,"80":0,"81":0.02924,"83":3.33382,"84":4.78627},I:{"3":0,"4":0.00065,_:"81","2.1":0,"2.2":0,"2.3":0.00006,"4.1":0.0011,"4.2-4.3":0.00181,"4.4":0,"4.4.3-4.4.4":0.01143},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.02989,"12.0":0.09964},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0.0195,"8":0,"9":0,"10":0,"11":8.51,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":3.03507},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/VC.js b/node_modules/caniuse-lite/data/regions/VC.js new file mode 100644 index 000000000..952671c45 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/VC.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00554,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0.01663,"54":0,"55":0,"56":0.00554,"57":0,"58":0.00554,"59":0,"60":0,"61":0,"62":0.00554,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.16632,"69":0,"70":0,"71":0,"72":0,"73":0.00554,"74":0,"75":0.00554,"76":0,"77":0.2772,"78":1.17533,"79":0.04435,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.01109,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.08316,"50":0.00554,"51":0,"52":0.00554,"53":0.00554,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0.00554,"62":0.00554,"63":0.02218,"64":0,"65":0.11642,"66":0.00554,"67":0.01109,"68":0,"69":0.00554,"70":0,"71":0.00554,"72":0.58212,"73":0.03881,"74":0.07207,"75":0.0499,"76":0.02772,"77":0.00554,"78":0.02218,"79":0.03326,"80":0.07762,"81":0.19958,"83":10.35619,"84":5.85446,"85":0.01109,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.00554,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.57103,"69":0.35482,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00252,"4.0-4.1":0.00252,"4.2-4.3":0.00252,"5.0-5.1":0.00756,"6.0-6.1":0.00252,"7.0-7.1":0.01008,"8.1-8.4":0.01512,"9.0-9.2":0.02016,"9.3":0.16631,"10.0-10.2":0.04284,"10.3":0.20158,"11.0-11.2":0.14867,"11.3-11.4":0.23434,"12.0-12.1":0.31749,"12.2-12.4":1.93269,"13.0-13.1":0.36033,"13.2":0.17639,"13.3":1.76134,"13.4-13.5":4.25846,_:"14.0"},E:{"4":0,"5":0,"6":0.00554,"7":0,"8":0.00554,"9":0,"10":0,"11":0,"12":0.00554,"13":0.23285,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.05544,"6.1":0,"7.1":0,"9.1":0.00554,"10.1":0.01109,"11.1":0.03881,"12.1":0.04435,"13.1":1.84615},B:{"12":0.01663,"13":0,"14":0.00554,"15":0.01109,"16":0.00554,"17":0.11642,"18":0.30492,"79":0,"80":0.00554,"81":0.01663,"83":2.04574,"84":1.06999},I:{"3":0,"4":0.08367,_:"81","2.1":0,"2.2":0,"2.3":0.00837,"4.1":0.14223,"4.2-4.3":0.23426,"4.4":0,"4.4.3-4.4.4":1.48089},P:{"4":0.18564,"5.0-5.4":0.02184,"6.2-6.4":0,"7.2-7.4":0.17472,"8.2":0,"9.2":0.0546,"10.1":0.03276,"11.1-11.2":0.3276,"12.0":1.96557},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0.00554,"10":0,"11":0.21622,"5.5":0},J:{"7":0,"10":0.00891},N:{"10":0,"11":0},L:{"0":56.80867},S:{"2.5":0},R:{_:"0"},M:{"0":0.20943},Q:{"10.4":0},O:{"0":0.10249},H:{"0":0.04641}}; diff --git a/node_modules/caniuse-lite/data/regions/VE.js b/node_modules/caniuse-lite/data/regions/VE.js new file mode 100644 index 000000000..0398b1673 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/VE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0.01476,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0.00738,"24":0,"25":0,"26":0,"27":0.05902,"28":0.00738,"29":0.00738,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.01476,"44":0,"45":0.01476,"46":0,"47":0.00738,"48":0.03689,"49":0,"50":0,"51":0,"52":0.30988,"53":0.00738,"54":0.00738,"55":0,"56":0.00738,"57":0.01476,"58":0,"59":0.00738,"60":0.02213,"61":0.00738,"62":0.00738,"63":0.01476,"64":0.00738,"65":0.02951,"66":0.02951,"67":0.00738,"68":0.20658,"69":0.01476,"70":0.01476,"71":0.01476,"72":0.04427,"73":0.01476,"74":0.01476,"75":0.01476,"76":0.05165,"77":0.72304,"78":2.80364,"79":0.18445,"80":0.00738,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0.00738,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00738,"35":0,"36":0,"37":0.01476,"38":0.00738,"39":0,"40":0,"41":0,"42":0.01476,"43":0.00738,"44":0.00738,"45":0.00738,"46":0.00738,"47":0.00738,"48":0.00738,"49":0.72304,"50":0.01476,"51":0.00738,"52":0.00738,"53":0.02951,"54":0,"55":0.00738,"56":0.00738,"57":0.00738,"58":0.02951,"59":0.00738,"60":0.00738,"61":0.00738,"62":0.00738,"63":0.0664,"64":0.01476,"65":0.0664,"66":0.02213,"67":0.07378,"68":0.03689,"69":0.09591,"70":0.12543,"71":0.24347,"72":0.12543,"73":0.12543,"74":0.14018,"75":0.15494,"76":0.16232,"77":0.14756,"78":0.18445,"79":0.27299,"80":0.77469,"81":0.57548,"83":22.10449,"84":14.63795,"85":0.01476,"86":0.01476,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00738,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01476,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00738,"57":0.01476,"58":0,"60":0,"62":0,"63":0.00738,"64":0,"65":0.00738,"66":0,"67":0.00738,"68":1.2395,"69":0.61975,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00738},G:{"8":0,"3.2":0.00105,"4.0-4.1":0.00105,"4.2-4.3":0.00105,"5.0-5.1":0.00314,"6.0-6.1":0.00105,"7.0-7.1":0.00419,"8.1-8.4":0.00628,"9.0-9.2":0.00838,"9.3":0.06913,"10.0-10.2":0.01781,"10.3":0.08379,"11.0-11.2":0.0618,"11.3-11.4":0.09741,"12.0-12.1":0.13197,"12.2-12.4":0.80336,"13.0-13.1":0.14978,"13.2":0.07332,"13.3":0.73214,"13.4-13.5":1.77012,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00738,"11":0.01476,"12":0.02951,"13":0.09591,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.27299,"6.1":0,"7.1":0,"9.1":0,"10.1":0.02213,"11.1":0.08116,"12.1":0.10329,"13.1":0.58286},B:{"12":0.01476,"13":0.00738,"14":0.00738,"15":0.01476,"16":0.00738,"17":0.02951,"18":0.14018,"79":0,"80":0,"81":0.00738,"83":0.58286,"84":0.45006},I:{"3":0,"4":0.03084,_:"81","2.1":0,"2.2":0,"2.3":0.00308,"4.1":0.05243,"4.2-4.3":0.08635,"4.4":0,"4.4.3-4.4.4":0.54588},P:{"4":0.11587,"5.0-5.4":0.01053,"6.2-6.4":0.01053,"7.2-7.4":0.05267,"8.2":0.01053,"9.2":0.04213,"10.1":0.08427,"11.1-11.2":0.25281,"12.0":0.63202},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.10027,"9":0.02314,"10":0.00771,"11":0.37795,"5.5":0},J:{"7":0,"10":0.04457},N:{"10":0,"11":0},L:{"0":40.7598},S:{"2.5":0},R:{_:"0"},M:{"0":0.15994},Q:{"10.4":0.01573},O:{"0":0.07079},H:{"0":0.28795}}; diff --git a/node_modules/caniuse-lite/data/regions/VG.js b/node_modules/caniuse-lite/data/regions/VG.js new file mode 100644 index 000000000..87d52859e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/VG.js @@ -0,0 +1 @@ +module.exports={C:{"58":0.00512,"65":1.60256,"66":0.00512,"68":0.03072,"74":0.02048,"75":0.01024,"76":0.00512,"77":0.65536,"78":4.41344,"79":0.04608,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 64 67 69 70 71 72 73 80 81 3.5 3.6"},D:{"38":0.01024,"49":0.36352,"50":0.02048,"56":0.00512,"71":0.00512,"74":0.00512,"75":0.03584,"76":0.01024,"77":0.02048,"78":0.0512,"79":0.07168,"80":0.19968,"81":0.35328,"83":18.9952,"84":8.98048,"85":0.01536,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 86 87"},F:{"68":0.23552,"69":0.68608,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},G:{"8":0,"3.2":0.00381,"4.0-4.1":0.00381,"4.2-4.3":0.00381,"5.0-5.1":0.01143,"6.0-6.1":0.00381,"7.0-7.1":0.01524,"8.1-8.4":0.02286,"9.0-9.2":0.03048,"9.3":0.25148,"10.0-10.2":0.06477,"10.3":0.30482,"11.0-11.2":0.22481,"11.3-11.4":0.35435,"12.0-12.1":0.48009,"12.2-12.4":2.92247,"13.0-13.1":0.54487,"13.2":0.26672,"13.3":2.66337,"13.4-13.5":6.43934,_:"14.0"},E:{"4":0,"12":0.11264,"13":0.1536,_:"0 5 6 7 8 9 10 11 14 3.1 3.2 6.1 7.1 9.1","5.1":0.40448,"10.1":0.13312,"11.1":0.1024,"12.1":0.14848,"13.1":6.6048},B:{"12":0.01024,"13":0.01024,"14":0.00512,"15":0.128,"16":0.03072,"17":0.07168,"18":1.1264,"81":0.03584,"83":2.54464,"84":1.26464,_:"79 80"},I:{"3":0,"4":0.00524,_:"81","2.1":0,"2.2":0,"2.3":0.00052,"4.1":0.0089,"4.2-4.3":0.01466,"4.4":0,"4.4.3-4.4.4":0.09268},P:{"4":0.12664,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.06332,"8.2":0.01055,"9.2":0.08443,"10.1":0.11609,"11.1-11.2":0.45379,"12.0":7.71446},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"11":0.62976,_:"6 7 8 9 10 5.5"},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":25.10856},S:{"2.5":0},R:{_:"0"},M:{"0":0.0732},Q:{"10.4":0},O:{"0":0.03416},H:{"0":0.22638}}; diff --git a/node_modules/caniuse-lite/data/regions/VI.js b/node_modules/caniuse-lite/data/regions/VI.js new file mode 100644 index 000000000..0e8f8549c --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/VI.js @@ -0,0 +1 @@ +module.exports={C:{"30":0.00489,"33":0.00489,"36":0.00977,"38":0.00489,"40":0.00489,"41":0.00489,"42":0.00977,"43":0.01466,"44":0.01466,"45":0.01954,"47":0.00489,"48":0.00489,"50":0.00489,"52":0.01466,"56":0.01466,"57":0.00977,"58":0.00489,"59":0.00489,"60":0.00977,"61":0.00977,"65":0.00977,"67":0.0342,"68":0.01466,"69":0.00977,"70":0.00489,"72":0.00489,"73":0.00489,"74":0.00489,"75":0.02931,"76":0.0342,"77":0.55201,"78":1.91004,"79":0.07328,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 34 35 37 39 46 49 51 53 54 55 62 63 64 66 71 80 81 3.5 3.6"},D:{"5":0.00489,"26":0.00489,"34":0.00977,"38":0.00977,"46":0.00977,"47":0.00977,"49":0.13678,"51":0.00977,"53":0.00489,"55":0.00489,"56":0.00489,"57":0.00977,"58":0.00489,"59":0.00977,"60":0.00977,"61":0.01466,"62":0.01466,"63":0.01466,"64":0.00977,"65":0.00489,"66":0.01466,"67":0.01466,"68":0.03908,"69":0.00977,"70":0.03908,"71":0.03908,"73":0.00977,"74":0.02443,"75":0.16609,"76":0.0342,"77":0.01954,"78":0.03908,"79":0.03908,"80":0.30776,"81":0.21006,"83":13.83432,"84":7.69876,_:"4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 35 36 37 39 40 41 42 43 44 45 48 50 52 54 72 85 86 87"},F:{"19":0.00489,"68":0.13678,"69":0.15144,_:"9 11 12 15 16 17 18 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 9.5-9.6 10.5 10.6 11.1 11.5 11.6","10.0-10.1":0,"12.1":0.00489},G:{"8":0,"3.2":0.00645,"4.0-4.1":0.00645,"4.2-4.3":0.00645,"5.0-5.1":0.01934,"6.0-6.1":0.00645,"7.0-7.1":0.02579,"8.1-8.4":0.03869,"9.0-9.2":0.05158,"9.3":0.42554,"10.0-10.2":0.10961,"10.3":0.51581,"11.0-11.2":0.38041,"11.3-11.4":0.59962,"12.0-12.1":0.8124,"12.2-12.4":4.94529,"13.0-13.1":0.922,"13.2":0.45133,"13.3":4.50686,"13.4-13.5":10.89641,_:"14.0"},E:{"4":0.00977,"9":0.00977,"10":0.00977,"11":0.00489,"12":0.11724,"13":0.51781,"14":0.00977,_:"0 5 6 7 8 3.1 3.2 5.1 6.1 7.1 9.1","10.1":0.05862,"11.1":0.09282,"12.1":0.35172,"13.1":5.99878},B:{"12":0.00489,"13":0.02931,"14":0.03908,"15":0.02443,"16":0.13678,"17":0.46408,"18":1.68533,"81":0.06351,"83":7.77204,"84":2.48158,_:"79 80"},I:{"3":0,"4":0.00527,_:"81","2.1":0,"2.2":0,"2.3":0.00053,"4.1":0.00895,"4.2-4.3":0.01475,"4.4":0,"4.4.3-4.4.4":0.09324},P:{"4":0.05351,"5.0-5.4":0.0105,"6.2-6.4":0,"7.2-7.4":0.0214,"8.2":0.03211,"9.2":0.04281,"10.1":0.05351,"11.1-11.2":0.9846,"12.0":6.89218},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"9":0.01466,"11":1.76837,_:"6 7 8 10 5.5"},J:{"7":0,"10":0},N:{"10":0.02765,"11":0.02557},L:{"0":17.38974},S:{"2.5":0.00511},R:{_:"0"},M:{"0":0.20456},Q:{"10.4":0},O:{"0":0.08694},H:{"0":0.10652}}; diff --git a/node_modules/caniuse-lite/data/regions/VN.js b/node_modules/caniuse-lite/data/regions/VN.js new file mode 100644 index 000000000..bf4a9c55b --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/VN.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.00793,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00793,"35":0,"36":0.00793,"37":0,"38":0.00793,"39":0,"40":0.00793,"41":0.00793,"42":0.00793,"43":0.00793,"44":0.00793,"45":0.00793,"46":0,"47":0.00793,"48":0.00793,"49":0,"50":0.00793,"51":0.00793,"52":0.13474,"53":0.00793,"54":0.00793,"55":0.00793,"56":0.00793,"57":0.00793,"58":0.00793,"59":0.00793,"60":0.01585,"61":0.00793,"62":0.00793,"63":0.0317,"64":0.0317,"65":0.04756,"66":0.02378,"67":0.00793,"68":0.05548,"69":0.00793,"70":0.00793,"71":0.00793,"72":0.00793,"73":0.00793,"74":0.02378,"75":0.00793,"76":0.03963,"77":0.26948,"78":0.91942,"79":0.06341,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00793,"35":0,"36":0.00793,"37":0,"38":0.00793,"39":0,"40":0,"41":0.01585,"42":0,"43":0.00793,"44":0,"45":0,"46":0.00793,"47":0.00793,"48":0.00793,"49":0.30911,"50":0,"51":0.00793,"52":0.00793,"53":0.00793,"54":0.01585,"55":0.00793,"56":0.01585,"57":0.67371,"58":0.00793,"59":0.00793,"60":0.00793,"61":0.07133,"62":0.01585,"63":0.03963,"64":0.00793,"65":0.02378,"66":0.01585,"67":0.03963,"68":0.0317,"69":0.03963,"70":0.25363,"71":0.38837,"72":0.26156,"73":0.14267,"74":0.06341,"75":0.07133,"76":0.05548,"77":0.07133,"78":0.09511,"79":0.26156,"80":0.38045,"81":0.26156,"83":24.51512,"84":15.43985,"85":0.02378,"86":0.0317,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00793,"37":0.02378,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.30119,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.01585,"57":0.09511,"58":0.01585,"60":0,"62":0,"63":0,"64":0,"65":0.00793,"66":0,"67":0.00793,"68":0.40423,"69":0.214,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00793},G:{"8":0,"3.2":0.00374,"4.0-4.1":0.00374,"4.2-4.3":0.00374,"5.0-5.1":0.01121,"6.0-6.1":0.00374,"7.0-7.1":0.01495,"8.1-8.4":0.02243,"9.0-9.2":0.0299,"9.3":0.24668,"10.0-10.2":0.06354,"10.3":0.29901,"11.0-11.2":0.22052,"11.3-11.4":0.3476,"12.0-12.1":0.47094,"12.2-12.4":2.86675,"13.0-13.1":0.53448,"13.2":0.26163,"13.3":2.61259,"13.4-13.5":6.31656,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.00793,"11":0.00793,"12":0.07133,"13":0.24571,"14":0.01585,_:"0","3.1":0,"3.2":0,"5.1":0.00793,"6.1":0,"7.1":0,"9.1":0.00793,"10.1":0.02378,"11.1":0.05548,"12.1":0.22193,"13.1":1.21268},B:{"12":0,"13":0.00793,"14":0.11889,"15":0.00793,"16":0.00793,"17":0.0317,"18":0.15059,"79":0,"80":0,"81":0.00793,"83":0.87979,"84":0.71334},I:{"3":0,"4":0.01269,_:"81","2.1":0,"2.2":0,"2.3":0.00127,"4.1":0.02158,"4.2-4.3":0.03554,"4.4":0,"4.4.3-4.4.4":0.22469},P:{"4":0.11554,"5.0-5.4":0.0105,"6.2-6.4":0,"7.2-7.4":0.02101,"8.2":0.0105,"9.2":0.05252,"10.1":0.04201,"11.1-11.2":0.17855,"12.0":0.71422},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.05455,"9":0.03637,"10":0.00909,"11":0.20911,"5.5":0},J:{"7":0,"10":0.0083},N:{"10":0.02765,"11":0.01383},L:{"0":18.63238},S:{"2.5":0.00207},R:{_:"0"},M:{"0":0.05392},Q:{"10.4":0.01452},O:{"0":0.3588},H:{"0":0.42216}}; diff --git a/node_modules/caniuse-lite/data/regions/VU.js b/node_modules/caniuse-lite/data/regions/VU.js new file mode 100644 index 000000000..e2facb944 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/VU.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0.00471,"22":0.15543,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.01413,"35":0,"36":0,"37":0,"38":0.03297,"39":0,"40":0.00471,"41":0,"42":0,"43":0,"44":0,"45":0.00471,"46":0,"47":0.00471,"48":0.00471,"49":0,"50":0.00471,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0.00471,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.01884,"69":0.00942,"70":0.00471,"71":0,"72":0.00942,"73":0.00471,"74":0.00471,"75":0.01413,"76":0.00942,"77":0.31557,"78":0.6594,"79":0.03768,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0.00471,"40":0.44274,"41":0.00471,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.05652,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0.09891,"58":0,"59":0.02355,"60":0.00471,"61":0,"62":0,"63":0.01413,"64":0,"65":0.00942,"66":0,"67":0,"68":0.00471,"69":0.09891,"70":0,"71":0,"72":0,"73":0.00942,"74":0.00471,"75":0,"76":0.07065,"77":0.00471,"78":0.00942,"79":0.0471,"80":0.07536,"81":0.20253,"83":7.89867,"84":2.41152,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0.00471,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0.0942,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.13188,"69":0.01884,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00303,"4.0-4.1":0.00303,"4.2-4.3":0.00303,"5.0-5.1":0.00909,"6.0-6.1":0.00303,"7.0-7.1":0.01212,"8.1-8.4":0.01818,"9.0-9.2":0.02424,"9.3":0.19995,"10.0-10.2":0.0515,"10.3":0.24236,"11.0-11.2":0.17874,"11.3-11.4":0.28174,"12.0-12.1":0.38172,"12.2-12.4":2.32363,"13.0-13.1":0.43322,"13.2":0.21207,"13.3":2.11763,"13.4-13.5":5.11987,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.00471,"13":0.18369,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00471,"11.1":0.02826,"12.1":0.01884,"13.1":1.34706},B:{"12":0.00942,"13":0.00942,"14":0.01413,"15":0.02826,"16":0.03768,"17":0.08478,"18":3.6738,"79":0,"80":0,"81":0.00471,"83":0.29673,"84":0.10833},I:{"3":0,"4":0.02359,_:"81","2.1":0,"2.2":0,"2.3":0.00236,"4.1":0.0401,"4.2-4.3":0.06604,"4.4":0,"4.4.3-4.4.4":0.41748},P:{"4":0.29669,"5.0-5.4":0,"6.2-6.4":0.02046,"7.2-7.4":0.21484,"8.2":0.17392,"9.2":0.27623,"10.1":0.11254,"11.1-11.2":0.33761,"12.0":0.73661},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.78657,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":57.8248},S:{"2.5":0},R:{_:"0"},M:{"0":0.03703},Q:{"10.4":0.24863},O:{"0":3.4385},H:{"0":0.49581}}; diff --git a/node_modules/caniuse-lite/data/regions/WF.js b/node_modules/caniuse-lite/data/regions/WF.js new file mode 100644 index 000000000..ca50a796f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/WF.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.02262,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.10858,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.30763,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":2.15342,"69":0,"70":0,"71":0,"72":0,"73":1.23053,"74":0,"75":0,"76":0.15382,"77":0.83694,"78":2.15342,"79":0.02262,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.02262,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.61526,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.02262,"67":0,"68":0,"69":0.02262,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.9229,"79":0,"80":0,"81":0.02262,"83":2.88179,"84":2.46106,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.06786,"69":0.19906,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00251,"4.0-4.1":0.00251,"4.2-4.3":0.00251,"5.0-5.1":0.00752,"6.0-6.1":0.00251,"7.0-7.1":0.01003,"8.1-8.4":0.01505,"9.0-9.2":0.02006,"9.3":0.16552,"10.0-10.2":0.04263,"10.3":0.20063,"11.0-11.2":0.14796,"11.3-11.4":0.23323,"12.0-12.1":0.31599,"12.2-12.4":1.92354,"13.0-13.1":0.35863,"13.2":0.17555,"13.3":1.75301,"13.4-13.5":4.23831,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.02262,"13":3.80468,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.06786,"11.1":0,"12.1":0.02262,"13.1":0.19906},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.10858,"79":0,"80":0,"81":0,"83":0.50669,"84":0.37549},I:{"3":0,"4":0.01887,_:"81","2.1":0,"2.2":0,"2.3":0.00189,"4.1":0.03209,"4.2-4.3":0.05285,"4.4":0,"4.4.3-4.4.4":0.33408},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0.05601,"7.2-7.4":0.05601,"8.2":0,"9.2":0.4257,"10.1":0.22405,"11.1-11.2":0.4369,"12.0":2.2293},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":62.95425},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/WS.js b/node_modules/caniuse-lite/data/regions/WS.js new file mode 100644 index 000000000..34eb45eaf --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/WS.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.02077,"48":0,"49":0,"50":0,"51":0,"52":0.00415,"53":0,"54":0,"55":0,"56":0.00415,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.01246,"67":0,"68":0.02907,"69":0.01246,"70":0,"71":0.02077,"72":0.00415,"73":0.00831,"74":0.10798,"75":0.04568,"76":0.01661,"77":0.29486,"78":0.75585,"79":0.02077,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.02907,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0.03738,"56":0.08721,"57":0,"58":0.01661,"59":0,"60":0.00415,"61":0.00415,"62":0,"63":0.00415,"64":0,"65":0,"66":0.00415,"67":0,"68":0,"69":0.02907,"70":0.01661,"71":0.00415,"72":0.00415,"73":0,"74":0.02077,"75":0,"76":0.00415,"77":0,"78":0.07475,"79":0.02907,"80":0.01661,"81":0.07891,"83":5.09573,"84":3.97027,"85":0.01661,"86":0.00831,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.00415,"48":0,"49":0,"50":0.00831,"51":0,"52":0,"53":0,"54":0,"55":0.00415,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0.00415,"64":0,"65":0,"66":0,"67":0,"68":0.37792,"69":0.12459,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00184,"4.0-4.1":0.00184,"4.2-4.3":0.00184,"5.0-5.1":0.00551,"6.0-6.1":0.00184,"7.0-7.1":0.00734,"8.1-8.4":0.01102,"9.0-9.2":0.01469,"9.3":0.12119,"10.0-10.2":0.03122,"10.3":0.14689,"11.0-11.2":0.10833,"11.3-11.4":0.17076,"12.0-12.1":0.23136,"12.2-12.4":1.40835,"13.0-13.1":0.26257,"13.2":0.12853,"13.3":1.28349,"13.4-13.5":3.10315,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00415,"9":0,"10":0,"11":0,"12":0,"13":0.03738,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.00415,"11.1":0.03738,"12.1":0.00415,"13.1":0.08721},B:{"12":0.02492,"13":0.01661,"14":0.00415,"15":0.02492,"16":0.02492,"17":0.09967,"18":0.3447,"79":0,"80":0,"81":0.04153,"83":0.25749,"84":0.27825},I:{"3":0,"4":0.00807,_:"81","2.1":0,"2.2":0,"2.3":0.00081,"4.1":0.01373,"4.2-4.3":0.02261,"4.4":0,"4.4.3-4.4.4":0.14292},P:{"4":0.22767,"5.0-5.4":0.01035,"6.2-6.4":0.10349,"7.2-7.4":0.75545,"8.2":0.0207,"9.2":0.37255,"10.1":0.87964,"11.1-11.2":1.38672,"12.0":0.92103},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.39869,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":68.68127},S:{"2.5":0},R:{_:"0"},M:{"0":0.02924},Q:{"10.4":0.04093},O:{"0":2.45574},H:{"0":0.36535}}; diff --git a/node_modules/caniuse-lite/data/regions/YE.js b/node_modules/caniuse-lite/data/regions/YE.js new file mode 100644 index 000000000..ad7a6bc46 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/YE.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0.01678,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0.0028,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.0028,"43":0.00559,"44":0.0028,"45":0.0028,"46":0,"47":0.00559,"48":0.0028,"49":0.0028,"50":0.0028,"51":0,"52":0.00839,"53":0,"54":0.0028,"55":0,"56":0.00559,"57":0.00559,"58":0,"59":0.0028,"60":0.0028,"61":0.00559,"62":0.00559,"63":0.0028,"64":0.0028,"65":0,"66":0.00559,"67":0.0028,"68":0.06993,"69":0.00559,"70":0.00559,"71":0.0028,"72":0.01119,"73":0,"74":0.0028,"75":0.00559,"76":0.00839,"77":0.13146,"78":0.42514,"79":0.01399,"80":0.0028,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0.0028,"32":0.00559,"33":0.00839,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.0028,"41":0,"42":0,"43":0.00839,"44":0.0028,"45":0,"46":0.0028,"47":0,"48":0.0028,"49":0.01399,"50":0,"51":0,"52":0,"53":0.0028,"54":0,"55":0.00839,"56":0.0028,"57":0.0028,"58":0.0028,"59":0.0028,"60":0.00559,"61":0.0028,"62":0.0028,"63":0.02517,"64":0.0028,"65":0.0028,"66":0.01119,"67":0.00839,"68":0.02238,"69":0.00839,"70":0.01399,"71":0.02797,"72":0.02238,"73":0.01399,"74":0.02517,"75":0.03356,"76":0.03356,"77":0.03077,"78":0.04196,"79":0.06713,"80":0.10069,"81":0.12587,"83":2.54527,"84":1.35375,"85":0.0028,"86":0.00559,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0.0028,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0.0028,"28":0.0028,"29":0.0028,"30":0.0028,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00559,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0.01119,"51":0,"52":0,"53":0.0028,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.08111,"69":0.02517,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.00839},G:{"8":0,"3.2":0.00065,"4.0-4.1":0.00065,"4.2-4.3":0.00065,"5.0-5.1":0.00195,"6.0-6.1":0.00065,"7.0-7.1":0.00259,"8.1-8.4":0.00389,"9.0-9.2":0.00519,"9.3":0.0428,"10.0-10.2":0.01102,"10.3":0.05188,"11.0-11.2":0.03826,"11.3-11.4":0.06031,"12.0-12.1":0.08171,"12.2-12.4":0.4974,"13.0-13.1":0.09273,"13.2":0.04539,"13.3":0.4533,"13.4-13.5":1.09596,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.0028,"13":0.00559,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.13426,"6.1":0,"7.1":0,"9.1":0.0028,"10.1":0.00559,"11.1":0.0028,"12.1":0.01399,"13.1":0.02517},B:{"12":0.0028,"13":0.0028,"14":0.00839,"15":0,"16":0.01399,"17":0.01399,"18":0.07832,"79":0,"80":0,"81":0.0028,"83":0.05314,"84":0.04475},I:{"3":0,"4":0.06776,_:"81","2.1":0,"2.2":0,"2.3":0.00678,"4.1":0.1152,"4.2-4.3":0.18974,"4.4":0,"4.4.3-4.4.4":1.19941},P:{"4":0.74806,"5.0-5.4":0.14152,"6.2-6.4":0.09098,"7.2-7.4":0.20218,"8.2":0.06065,"9.2":0.4549,"10.1":0.36392,"11.1-11.2":0.81882,"12.0":1.2535},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.0028,"9":0,"10":0,"11":0.02797,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":76.80894},S:{"2.5":0},R:{_:"0"},M:{"0":0.28812},Q:{"10.4":0.0072},O:{"0":3.91123},H:{"0":1.74575}}; diff --git a/node_modules/caniuse-lite/data/regions/YT.js b/node_modules/caniuse-lite/data/regions/YT.js new file mode 100644 index 000000000..dd5710968 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/YT.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0.00565,"25":0,"26":0,"27":0.00565,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00565,"35":0.00565,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01696,"53":0,"54":0.00565,"55":0,"56":0.00565,"57":0.03392,"58":0,"59":0,"60":0.00565,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.01131,"67":0.02261,"68":0.06784,"69":0,"70":0.01696,"71":0.00565,"72":0.01131,"73":0,"74":0,"75":0.03957,"76":0.02827,"77":1.28888,"78":3.53313,"79":0.05653,"80":0.01696,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0.00565,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.00565,"41":0,"42":0,"43":0.01131,"44":0,"45":0,"46":0.01131,"47":0,"48":0,"49":0.01696,"50":0,"51":0.00565,"52":0.00565,"53":0,"54":0.01131,"55":0.01131,"56":0,"57":0,"58":0.01131,"59":0,"60":0.00565,"61":0,"62":0,"63":0.11306,"64":0,"65":0,"66":0,"67":0.07914,"68":0,"69":0,"70":0.01696,"71":0,"72":0.00565,"73":0.00565,"74":0.05653,"75":0.01696,"76":0.00565,"77":0.06218,"78":0.05088,"79":0.58226,"80":0.03392,"81":0.35614,"83":8.64344,"84":6.65358,"85":0.15263,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.00565,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0.00565,"66":0,"67":0,"68":0.55965,"69":0.19786,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00281,"4.0-4.1":0.00281,"4.2-4.3":0.00281,"5.0-5.1":0.00844,"6.0-6.1":0.00281,"7.0-7.1":0.01125,"8.1-8.4":0.01688,"9.0-9.2":0.02251,"9.3":0.18568,"10.0-10.2":0.04783,"10.3":0.22507,"11.0-11.2":0.16599,"11.3-11.4":0.26164,"12.0-12.1":0.35448,"12.2-12.4":2.15782,"13.0-13.1":0.40231,"13.2":0.19693,"13.3":1.96652,"13.4-13.5":4.75452,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0.01696,"11":0.01131,"12":0.04522,"13":0.19786,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0.03392,"11.1":0.04522,"12.1":0.10741,"13.1":2.39122},B:{"12":0.01696,"13":0.00565,"14":0.00565,"15":0.00565,"16":0.02261,"17":0.0961,"18":0.71793,"79":0,"80":0,"81":0.06218,"83":1.66764,"84":0.92709},I:{"3":0,"4":0.01394,_:"81","2.1":0,"2.2":0,"2.3":0.00139,"4.1":0.0237,"4.2-4.3":0.03903,"4.4":0,"4.4.3-4.4.4":0.24675},P:{"4":0.11317,"5.0-5.4":0,"6.2-6.4":0.01029,"7.2-7.4":0.04115,"8.2":0.01029,"9.2":0.10288,"10.1":0.1749,"11.1-11.2":0.2572,"12.0":6.58439},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0.01131,"8":0.00565,"9":0,"10":0,"11":0.16959,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":46.59729},S:{"2.5":0},R:{_:"0"},M:{"0":0.11302},Q:{"10.4":0.00435},O:{"0":0.09563},H:{"0":0.35393}}; diff --git a/node_modules/caniuse-lite/data/regions/ZA.js b/node_modules/caniuse-lite/data/regions/ZA.js new file mode 100644 index 000000000..9888152da --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ZA.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00282,"27":0.01691,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00564,"49":0,"50":0,"51":0,"52":0.00845,"53":0,"54":0,"55":0,"56":0.00282,"57":0,"58":0,"59":0.00282,"60":0.00282,"61":0,"62":0,"63":0.00282,"64":0.00282,"65":0,"66":0.00282,"67":0,"68":0.062,"69":0,"70":0,"71":0.00282,"72":0.00282,"73":0.00282,"74":0.00282,"75":0.00282,"76":0.00564,"77":0.07609,"78":0.33816,"79":0.031,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00564,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00282,"27":0,"28":0.00282,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00282,"39":0,"40":0.00845,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00282,"47":0,"48":0,"49":0.03663,"50":0.00282,"51":0,"52":0,"53":0.00282,"54":0,"55":0.00845,"56":0.00282,"57":0,"58":0.00564,"59":0,"60":0,"61":0,"62":0.00282,"63":0.00564,"64":0.00282,"65":0.00282,"66":0.00845,"67":0.00564,"68":0.00282,"69":0.00564,"70":0.01127,"71":0.01127,"72":0.01409,"73":0.01127,"74":0.01127,"75":0.01409,"76":0.00845,"77":0.00845,"78":0.02254,"79":0.02536,"80":0.05354,"81":0.07609,"83":2.60383,"84":1.83452,"85":0.00845,"86":0.00282,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0.00282,"25":0.00282,"26":0.01691,"27":0,"28":0.01127,"29":0,"30":0.00282,"31":0.00282,"32":0.00845,"33":0.00282,"34":0,"35":0.03945,"36":0,"37":0,"38":0.00564,"39":0,"40":0,"41":0,"42":0.00282,"43":0,"44":0.00282,"45":0.00564,"46":0.02536,"47":0.02818,"48":0,"49":0,"50":0.25362,"51":0.00282,"52":0,"53":0.00564,"54":0.00282,"55":0,"56":0.00282,"57":0.00282,"58":0,"60":0.00282,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.08454,"69":0.05354,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.01127},G:{"8":0,"3.2":0.00329,"4.0-4.1":0.00329,"4.2-4.3":0.00329,"5.0-5.1":0.00988,"6.0-6.1":0.00329,"7.0-7.1":0.01317,"8.1-8.4":0.01975,"9.0-9.2":0.02634,"9.3":0.21726,"10.0-10.2":0.05596,"10.3":0.26335,"11.0-11.2":0.19422,"11.3-11.4":0.30615,"12.0-12.1":0.41478,"12.2-12.4":2.52487,"13.0-13.1":0.47074,"13.2":0.23043,"13.3":2.30103,"13.4-13.5":5.56328,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00282,"12":0.01691,"13":0.05918,"14":0.00282,_:"0","3.1":0,"3.2":0,"5.1":0.00564,"6.1":0,"7.1":0,"9.1":0.00282,"10.1":0.00845,"11.1":0.02254,"12.1":0.03663,"13.1":0.44806},B:{"12":0.00564,"13":0.00564,"14":0.00564,"15":0.00564,"16":0.01127,"17":0.02536,"18":0.16344,"79":0,"80":0,"81":0.00564,"83":0.18599,"84":0.15217},I:{"3":0,"4":0.00631,_:"81","2.1":0,"2.2":0,"2.3":0.00063,"4.1":0.01072,"4.2-4.3":0.01765,"4.4":0,"4.4.3-4.4.4":0.1116},P:{"4":0.81411,"5.0-5.4":0.06106,"6.2-6.4":0.08141,"7.2-7.4":0.56988,"8.2":0.07123,"9.2":0.39688,"10.1":0.44776,"11.1-11.2":1.8114,"12.0":5.36296},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00867,"9":0.00289,"10":0,"11":0.33506,"5.5":0},J:{"7":0,"10":0.02873},N:{"10":0,"11":0},L:{"0":61.39613},S:{"2.5":0.01436},R:{_:"0"},M:{"0":0.29446},Q:{"10.4":0.01436},O:{"0":0.48838},H:{"0":3.65131}}; diff --git a/node_modules/caniuse-lite/data/regions/ZM.js b/node_modules/caniuse-lite/data/regions/ZM.js new file mode 100644 index 000000000..1b31aaf92 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ZM.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.02292,"21":0,"22":0,"23":0,"24":0,"25":0.00327,"26":0.00327,"27":0.00327,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0.00327,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00327,"42":0,"43":0.00327,"44":0,"45":0.00327,"46":0,"47":0.00327,"48":0.00655,"49":0,"50":0,"51":0,"52":0.00655,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00982,"61":0,"62":0,"63":0.00982,"64":0,"65":0,"66":0,"67":0.00327,"68":0.08512,"69":0,"70":0,"71":0,"72":0.00982,"73":0.00327,"74":0.00327,"75":0.00655,"76":0.0131,"77":0.15388,"78":0.60569,"79":0.06548,"80":0.00327,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0.01637,"41":0,"42":0.00327,"43":0.00327,"44":0.00327,"45":0,"46":0.00327,"47":0,"48":0,"49":0.00982,"50":0.00327,"51":0.00655,"52":0,"53":0.00327,"54":0,"55":0.00655,"56":0,"57":0.00982,"58":0.01964,"59":0,"60":0.00655,"61":0.00327,"62":0,"63":0.04256,"64":0.01637,"65":0.00655,"66":0.00327,"67":0.00655,"68":0.00655,"69":0.0131,"70":0.00655,"71":0.0131,"72":0.00655,"73":0.00327,"74":0.01637,"75":0.01964,"76":0.00982,"77":0.00982,"78":0.01964,"79":0.04584,"80":0.12441,"81":0.11132,"83":2.68468,"84":1.68284,"85":0.00327,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0.00327,"17":0,"18":0,"19":0,"20":0.00982,"21":0,"22":0.00327,"23":0.00655,"24":0.00655,"25":0.00327,"26":0.01637,"27":0.01637,"28":0.01637,"29":0.00327,"30":0.02619,"31":0.00327,"32":0.03274,"33":0.02292,"34":0.00655,"35":0.09167,"36":0.00327,"37":0.00327,"38":0.02619,"39":0,"40":0,"41":0.00327,"42":0.03274,"43":0,"44":0.00327,"45":0.03929,"46":0.13751,"47":0.18334,"48":0.00327,"49":0,"50":0.93309,"51":0.00982,"52":0,"53":0.00655,"54":0.00327,"55":0.00327,"56":0.00655,"57":0.00327,"58":0.00982,"60":0.00982,"62":0,"63":0.00327,"64":0.00327,"65":0.00982,"66":0.00327,"67":0.0131,"68":0.52384,"69":0.31103,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.30121},G:{"8":0,"3.2":0.00132,"4.0-4.1":0.00132,"4.2-4.3":0.00132,"5.0-5.1":0.00396,"6.0-6.1":0.00132,"7.0-7.1":0.00528,"8.1-8.4":0.00792,"9.0-9.2":0.01056,"9.3":0.08713,"10.0-10.2":0.02244,"10.3":0.10562,"11.0-11.2":0.07789,"11.3-11.4":0.12278,"12.0-12.1":0.16635,"12.2-12.4":1.01259,"13.0-13.1":0.18879,"13.2":0.09241,"13.3":0.92282,"13.4-13.5":2.23114,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0.00327,"10":0.00327,"11":0.04256,"12":0.01964,"13":0.02619,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0.00982,"6.1":0,"7.1":0,"9.1":0.0131,"10.1":0.00982,"11.1":0.01637,"12.1":0.03274,"13.1":0.19971},B:{"12":0.03601,"13":0.03274,"14":0.02619,"15":0.03601,"16":0.02619,"17":0.05893,"18":0.26192,"79":0,"80":0.00327,"81":0.01637,"83":0.28811,"84":0.17025},I:{"3":0,"4":0.02876,_:"81","2.1":0,"2.2":0,"2.3":0.00288,"4.1":0.04888,"4.2-4.3":0.08052,"4.4":0,"4.4.3-4.4.4":0.50897},P:{"4":0.47463,"5.0-5.4":0.05159,"6.2-6.4":0.03095,"7.2-7.4":0.1135,"8.2":0.03095,"9.2":0.16509,"10.1":0.227,"11.1-11.2":0.66035,"12.0":1.12466},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.06016,"9":0,"10":0.00501,"11":0.25568,"5.5":0},J:{"7":0,"10":0.07399},N:{"10":0.01513,"11":0.0454},L:{"0":50.267},S:{"2.5":0.06726},R:{_:"0"},M:{"0":0.20851},Q:{"10.4":0.14797},O:{"0":3.1814},H:{"0":18.44098}}; diff --git a/node_modules/caniuse-lite/data/regions/ZW.js b/node_modules/caniuse-lite/data/regions/ZW.js new file mode 100644 index 000000000..b9ce140d7 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/ZW.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.05792,"27":0.0158,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0.00527,"44":0.00527,"45":0.00527,"46":0.00527,"47":0.01053,"48":0.02106,"49":0,"50":0,"51":0,"52":0.02106,"53":0,"54":0,"55":0,"56":0.00527,"57":0.0158,"58":0,"59":0,"60":0.01053,"61":0.00527,"62":0,"63":0,"64":0.00527,"65":0.00527,"66":0.00527,"67":0,"68":0.12636,"69":0.00527,"70":0.01053,"71":0.00527,"72":0.03686,"73":0.00527,"74":0.02106,"75":0.01053,"76":0.02633,"77":0.52124,"78":1.99544,"79":0.18954,"80":0.00527,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.00527,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.00527,"37":0,"38":0,"39":0,"40":0.03159,"41":0,"42":0.00527,"43":0.00527,"44":0,"45":0,"46":0.02633,"47":0.01053,"48":0,"49":0.03686,"50":0,"51":0,"52":0.00527,"53":0.00527,"54":0,"55":0.04739,"56":0.00527,"57":0.00527,"58":0.02106,"59":0,"60":0.02106,"61":0.01053,"62":0.00527,"63":0.10004,"64":0.01053,"65":0.02633,"66":0.00527,"67":0.01053,"68":0.01053,"69":0.04212,"70":0.02633,"71":0.01053,"72":0.0158,"73":0.02106,"74":0.05792,"75":0.06318,"76":0.04739,"77":0.04212,"78":0.07898,"79":0.16848,"80":0.27378,"81":0.29484,"83":8.3345,"84":4.81748,"85":0.02106,"86":0.00527,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0.00527,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00527,"27":0,"28":0.02633,"29":0,"30":0.00527,"31":0,"32":0.01053,"33":0,"34":0.00527,"35":0.02106,"36":0.00527,"37":0,"38":0.00527,"39":0,"40":0,"41":0,"42":0.0158,"43":0.00527,"44":0,"45":0.00527,"46":0.0158,"47":0.02633,"48":0,"49":0.00527,"50":0.24746,"51":0,"52":0,"53":0.00527,"54":0.00527,"55":0,"56":0.00527,"57":0.0158,"58":0.00527,"60":0.00527,"62":0,"63":0.00527,"64":0,"65":0.0158,"66":0.01053,"67":0.03686,"68":1.39523,"69":0.74237,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0.43173},G:{"8":0,"3.2":0.00176,"4.0-4.1":0.00176,"4.2-4.3":0.00176,"5.0-5.1":0.00529,"6.0-6.1":0.00176,"7.0-7.1":0.00705,"8.1-8.4":0.01057,"9.0-9.2":0.0141,"9.3":0.11629,"10.0-10.2":0.02995,"10.3":0.14095,"11.0-11.2":0.10395,"11.3-11.4":0.16386,"12.0-12.1":0.222,"12.2-12.4":1.3514,"13.0-13.1":0.25196,"13.2":0.12334,"13.3":1.23159,"13.4-13.5":2.97767,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.0158,"12":0.02106,"13":0.14742,"14":0.00527,_:"0","3.1":0,"3.2":0,"5.1":0.18428,"6.1":0,"7.1":0,"9.1":0.00527,"10.1":0.01053,"11.1":0.03686,"12.1":0.09477,"13.1":0.77922},B:{"12":0.07898,"13":0.05265,"14":0.05265,"15":0.04739,"16":0.04212,"17":0.16848,"18":1.10039,"79":0,"80":0,"81":0.02633,"83":0.82661,"84":0.58968},I:{"3":0,"4":0.02516,_:"81","2.1":0,"2.2":0,"2.3":0.00252,"4.1":0.04278,"4.2-4.3":0.07046,"4.4":0,"4.4.3-4.4.4":0.44541},P:{"4":0.66336,"5.0-5.4":0.01036,"6.2-6.4":0.01036,"7.2-7.4":0.19693,"8.2":0.02073,"9.2":0.1762,"10.1":0.19693,"11.1-11.2":0.5908,"12.0":1.15051},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.02271,"9":0,"10":0.00568,"11":0.3349,"5.5":0},J:{"7":0,"10":0.03788},N:{"10":0,"11":0.03315},L:{"0":46.08352},S:{"2.5":0},R:{_:"0"},M:{"0":0.32198},Q:{"10.4":0.05209},O:{"0":1.65252},H:{"0":8.14075}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-af.js b/node_modules/caniuse-lite/data/regions/alt-af.js new file mode 100644 index 000000000..1ad1a7d8a --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/alt-af.js @@ -0,0 +1 @@ +module.exports={C:{"25":0.0039,"30":0.0039,"43":0.02339,"44":0.0039,"45":0.0078,"47":0.0195,"48":0.02729,"49":0.0078,"50":0.0039,"51":0.0039,"52":0.11307,"55":0.0039,"56":0.0156,"57":0.0078,"59":0.0078,"60":0.0117,"62":0.0039,"63":0.0078,"64":0.0117,"65":0.0117,"66":0.0117,"67":0.0078,"68":0.06628,"69":0.0117,"70":0.0078,"71":0.0117,"72":0.03899,"73":0.0117,"74":0.0156,"75":0.02339,"76":0.04289,"77":0.67063,"78":2.46807,"79":0.19885,"80":0.0039,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 31 32 33 34 35 36 37 38 39 40 41 42 46 53 54 58 61 81 3.5 3.6"},D:{"11":0.0039,"24":0.0039,"26":0.0156,"28":0.0039,"31":0.0039,"32":0.0078,"33":0.0156,"35":0.0039,"37":0.0039,"38":0.0078,"39":0.0039,"40":0.0195,"43":0.13257,"46":0.0039,"47":0.0156,"48":0.0078,"49":0.23004,"50":0.0078,"51":0.0078,"53":0.0117,"54":0.0039,"55":0.0117,"56":0.0195,"57":0.0078,"58":0.0195,"59":0.0039,"60":0.0078,"61":0.03119,"62":0.0156,"63":0.08578,"64":0.0156,"65":0.03509,"66":0.0195,"67":0.03899,"68":0.0156,"69":0.05459,"70":0.07408,"71":0.09358,"72":0.07798,"73":0.06238,"74":0.12087,"75":0.07018,"76":0.08188,"77":0.07798,"78":0.11697,"79":0.16766,"80":0.37041,"81":0.32752,"83":14.39511,"84":8.9755,"85":0.03119,"86":0.0195,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 25 27 29 30 34 36 41 42 44 45 52 87"},F:{"36":0.0078,"56":0.0078,"57":0.0039,"58":0.0078,"62":0.0039,"63":0.0078,"64":0.0078,"65":0.0156,"66":0.0156,"67":0.03899,"68":0.94746,"69":0.51077,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 60 9.5-9.6 10.5 10.6 11.1 11.5 11.6","10.0-10.1":0,"12.1":0.0078},G:{"8":0,"3.2":0.0015,"4.0-4.1":0.0015,"4.2-4.3":0.0015,"5.0-5.1":0.00449,"6.0-6.1":0.0015,"7.0-7.1":0.00599,"8.1-8.4":0.00899,"9.0-9.2":0.01199,"9.3":0.09888,"10.0-10.2":0.02547,"10.3":0.11986,"11.0-11.2":0.08839,"11.3-11.4":0.13933,"12.0-12.1":0.18877,"12.2-12.4":1.14911,"13.0-13.1":0.21424,"13.2":0.10487,"13.3":1.04724,"13.4-13.5":2.53195,_:"14.0"},E:{"4":0,"9":0.0117,"10":0.0078,"11":0.0195,"12":0.05069,"13":0.17546,"14":0.0078,_:"0 5 6 7 8 3.1 3.2 6.1 7.1","5.1":0.30022,"9.1":0.0078,"10.1":0.02339,"11.1":0.07408,"12.1":0.14036,"13.1":0.97865},B:{"12":0.03119,"13":0.0195,"14":0.0195,"15":0.0195,"16":0.04289,"17":0.11307,"18":0.47568,"81":0.02339,"83":0.65893,"84":0.50687,_:"79 80"},I:{"3":0,"4":0.00681,_:"81","2.1":0,"2.2":0,"2.3":0.00068,"4.1":0.01157,"4.2-4.3":0.01906,"4.4":0,"4.4.3-4.4.4":0.1205},P:{"4":0.43886,"5.0-5.4":0.02041,"6.2-6.4":0.03062,"7.2-7.4":0.25515,"8.2":0.03062,"9.2":0.25515,"10.1":0.24495,"11.1-11.2":0.87772,"12.0":2.24534},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.05841,"9":0.01348,"10":0.01348,"11":0.59306,_:"6 7 5.5"},J:{"7":0,"10":0.03051},N:{"10":0,"11":0.03315},L:{"0":44.22858},S:{"2.5":0.0122},R:{_:"0"},M:{"0":0.25014},Q:{"10.4":0.0244},O:{"0":1.06768},H:{"0":6.9659}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-an.js b/node_modules/caniuse-lite/data/regions/alt-an.js new file mode 100644 index 000000000..74e74e64e --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/alt-an.js @@ -0,0 +1 @@ +module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":7.434,"79":0,"80":0,"81":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"83":23.35051,"84":12.46872,"85":0,"86":0,"87":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},G:{"8":0,"3.2":0.00342,"4.0-4.1":0.00342,"4.2-4.3":0.00342,"5.0-5.1":0.01025,"6.0-6.1":0.00342,"7.0-7.1":0.01366,"8.1-8.4":0.02049,"9.0-9.2":0.02732,"9.3":0.2254,"10.0-10.2":0.05806,"10.3":0.27321,"11.0-11.2":0.20149,"11.3-11.4":0.31761,"12.0-12.1":0.43031,"12.2-12.4":2.6194,"13.0-13.1":0.48836,"13.2":0.23906,"13.3":2.38717,"13.4-13.5":5.77155,_:"14.0"},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0.26449,"13":4.77968,"14":0,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.26449,"13.1":0.26449},B:{"12":0,"13":0,"14":2.91881,"15":0,"16":0,"17":0,"18":4.24125,"79":0,"80":0,"81":0,"83":0.26449,"84":0},I:{"3":0,"4":0,_:"81","2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":29.71712,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":0.55589},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"10.4":0},O:{"0":0},H:{"0":0}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-as.js b/node_modules/caniuse-lite/data/regions/alt-as.js new file mode 100644 index 000000000..b2addbf02 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/alt-as.js @@ -0,0 +1 @@ +module.exports={C:{"17":0.00389,"33":0.01555,"36":0.00778,"43":0.08942,"45":0.00389,"47":0.01166,"48":0.01166,"50":0.00389,"51":0.00389,"52":0.09331,"53":0.00389,"54":0.00778,"55":0.00778,"56":0.02333,"57":0.00778,"58":0.00389,"59":0.00389,"60":0.01166,"61":0.00778,"62":0.00389,"63":0.01166,"64":0.01166,"65":0.01944,"66":0.01555,"67":0.00778,"68":0.03888,"69":0.00778,"70":0.00778,"71":0.00778,"72":0.0311,"73":0.00778,"74":0.01166,"75":0.01555,"76":0.0311,"77":0.38102,"78":1.56298,"79":0.13997,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 37 38 39 40 41 42 44 46 49 80 81 3.5 3.6"},D:{"13":0.01555,"22":0.01944,"26":0.00778,"31":0.01944,"33":0.00389,"34":0.01555,"38":0.04277,"40":0.00778,"41":0.00389,"42":0.00778,"43":0.00778,"45":0.00778,"46":0.00389,"47":0.01166,"48":0.02333,"49":0.1944,"50":0.00389,"51":0.00778,"53":0.06221,"54":0.00778,"55":0.02333,"56":0.01166,"57":0.04666,"58":0.02333,"59":0.00778,"60":0.00778,"61":0.0311,"62":0.02722,"63":0.05832,"64":0.01166,"65":0.02722,"66":0.01555,"67":0.04277,"68":0.02333,"69":0.10886,"70":0.10109,"71":0.15163,"72":0.17885,"73":0.09331,"74":0.15941,"75":0.09331,"76":0.07387,"77":0.08165,"78":0.12053,"79":0.1633,"80":0.30715,"81":0.30715,"83":15.78917,"84":9.74722,"85":0.0311,"86":0.01166,_:"4 5 6 7 8 9 10 11 12 14 15 16 17 18 19 20 21 23 24 25 27 28 29 30 32 35 36 37 39 44 52 87"},F:{"36":0.00778,"40":0.00389,"43":0.00778,"57":0.00389,"58":0.00389,"67":0.00389,"68":0.34992,"69":0.20218,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 41 42 44 45 46 47 48 49 50 51 52 53 54 55 56 60 62 63 64 65 66 9.5-9.6 10.5 10.6 11.1 11.5 12.1","10.0-10.1":0,"11.6":0.00389},G:{"8":0,"3.2":0.00219,"4.0-4.1":0.00219,"4.2-4.3":0.00219,"5.0-5.1":0.00656,"6.0-6.1":0.00219,"7.0-7.1":0.00875,"8.1-8.4":0.01312,"9.0-9.2":0.0175,"9.3":0.14435,"10.0-10.2":0.03718,"10.3":0.17496,"11.0-11.2":0.12904,"11.3-11.4":0.2034,"12.0-12.1":0.27557,"12.2-12.4":1.67748,"13.0-13.1":0.31275,"13.2":0.15309,"13.3":1.52876,"13.4-13.5":3.69613,_:"14.0"},E:{"4":0,"6":0.00778,"8":0.00389,"9":0.00389,"10":0.00389,"11":0.01166,"12":0.03499,"13":0.21384,"14":0.00778,_:"0 5 7 3.1 3.2 6.1 7.1","5.1":0.19051,"9.1":0.00778,"10.1":0.01944,"11.1":0.05443,"12.1":0.11664,"13.1":1.25971},B:{"12":0.00778,"13":0.00778,"14":0.00778,"15":0.00778,"16":0.01555,"17":0.04666,"18":0.50544,"81":0.02333,"83":0.52099,"84":0.47045,_:"79 80"},I:{"3":0,"4":0.01049,_:"81","2.1":0,"2.2":0,"2.3":0.00105,"4.1":0.01784,"4.2-4.3":0.02938,"4.4":0,"4.4.3-4.4.4":0.18572},P:{"4":0.46101,"5.0-5.4":0.03073,"6.2-6.4":0.02049,"7.2-7.4":0.14343,"8.2":0.03073,"9.2":0.23563,"10.1":0.20489,"11.1-11.2":0.72738,"12.0":2.10017},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.10383,"9":0.0623,"10":0.02077,"11":1.35665,_:"6 7 5.5"},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":43.90816},S:{"2.5":0.11613},R:{_:"0"},M:{"0":0.19558},Q:{"10.4":0.46451},O:{"0":3.01933},H:{"0":1.13993}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-eu.js b/node_modules/caniuse-lite/data/regions/alt-eu.js new file mode 100644 index 000000000..4ed37f07f --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/alt-eu.js @@ -0,0 +1 @@ +module.exports={C:{"26":0.0103,"38":0.01545,"43":0.00515,"44":0.00515,"45":0.01545,"47":0.0103,"48":0.03089,"49":0.00515,"50":0.0103,"51":0.0103,"52":0.21111,"53":0.00515,"54":0.00515,"55":0.0103,"56":0.02575,"57":0.0103,"58":0.00515,"59":0.01545,"60":0.04119,"61":0.0103,"62":0.0103,"63":0.04119,"64":0.05149,"65":0.05149,"66":0.03604,"67":0.0103,"68":0.30894,"69":0.01545,"70":0.01545,"71":0.0103,"72":0.04119,"73":0.01545,"74":0.03089,"75":0.03604,"76":0.08753,"77":1.15853,"78":4.1398,"79":0.19566,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 46 80 81 3.5 3.6"},D:{"22":0.01545,"34":0.00515,"37":0.00515,"38":0.0206,"40":0.02575,"41":0.0103,"43":0.0103,"46":0.0103,"47":0.0103,"48":0.0206,"49":0.5355,"50":0.00515,"51":0.01545,"52":0.0103,"53":0.02575,"54":0.05149,"55":0.00515,"56":0.0103,"57":0.0103,"58":0.04634,"59":0.01545,"60":0.0206,"61":0.06179,"62":0.01545,"63":0.04119,"64":0.02575,"65":0.07724,"66":0.04634,"67":0.04634,"68":0.02575,"69":0.10813,"70":0.29349,"71":0.37588,"72":0.32954,"73":0.16992,"74":0.05664,"75":0.08238,"76":0.07209,"77":0.06694,"78":0.09268,"79":0.16477,"80":0.39132,"81":0.36043,"83":17.21311,"84":9.61318,"85":0.01545,"86":0.0103,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 31 32 33 35 36 39 42 44 45 87"},F:{"31":0.0103,"36":0.02575,"56":0.0206,"57":0.0206,"58":0.03089,"67":0.0103,"68":1.17397,"69":0.56124,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 60 62 63 64 65 66 9.5-9.6 10.5 10.6 11.1 11.5 11.6","10.0-10.1":0,"12.1":0.01545},G:{"8":0,"3.2":0.00296,"4.0-4.1":0.00296,"4.2-4.3":0.00296,"5.0-5.1":0.00889,"6.0-6.1":0.00296,"7.0-7.1":0.01186,"8.1-8.4":0.01778,"9.0-9.2":0.02371,"9.3":0.19562,"10.0-10.2":0.05039,"10.3":0.23712,"11.0-11.2":0.17487,"11.3-11.4":0.27565,"12.0-12.1":0.37346,"12.2-12.4":2.27335,"13.0-13.1":0.42385,"13.2":0.20748,"13.3":2.0718,"13.4-13.5":5.00908,_:"14.0"},E:{"4":0,"8":0.00515,"9":0.00515,"10":0.0103,"11":0.0206,"12":0.06694,"13":0.46856,"14":0.0206,_:"0 5 6 7 3.1 3.2 6.1 7.1","5.1":0.14932,"9.1":0.01545,"10.1":0.05664,"11.1":0.15447,"12.1":0.23685,"13.1":3.63005},B:{"12":0.0103,"13":0.00515,"14":0.01545,"15":0.0103,"16":0.03089,"17":0.10298,"18":0.98861,"81":0.05664,"83":1.32329,"84":1.02465,_:"79 80"},I:{"3":0,"4":0.00583,_:"81","2.1":0,"2.2":0,"2.3":0.00058,"4.1":0.00991,"4.2-4.3":0.01632,"4.4":0,"4.4.3-4.4.4":0.10318},P:{"4":0.15815,"5.0-5.4":0.01054,"6.2-6.4":0.02049,"7.2-7.4":0.04217,"8.2":0.02109,"9.2":0.11598,"10.1":0.12652,"11.1-11.2":0.64316,"12.0":3.25798},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.022,"7":0.0055,"8":0.066,"9":0.0275,"10":0.022,"11":1.39141,_:"5.5"},J:{"7":0,"10":0.00485},N:{"10":0,"11":0},L:{"0":31.96262},S:{"2.5":0},R:{_:"0"},M:{"0":0.34442},Q:{"10.4":0.0194},O:{"0":0.19889},H:{"0":0.40415}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-na.js b/node_modules/caniuse-lite/data/regions/alt-na.js new file mode 100644 index 000000000..d9b27b880 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/alt-na.js @@ -0,0 +1 @@ +module.exports={C:{"4":0.06133,"11":0.01022,"17":0.00511,"43":0.00511,"44":0.01533,"45":0.01022,"47":0.01022,"48":0.02556,"52":0.08689,"54":0.02044,"55":0.01022,"56":0.01022,"57":0.01022,"58":0.00511,"59":0.00511,"60":0.01533,"61":0.00511,"62":0.00511,"63":0.10733,"64":0.03578,"65":0.03578,"66":0.02556,"67":0.00511,"68":0.09711,"69":0.01022,"70":0.01022,"71":0.01022,"72":0.03067,"73":0.01533,"74":0.02556,"75":0.02556,"76":0.05622,"77":0.71043,"78":2.31017,"79":0.11755,_:"2 3 5 6 7 8 9 10 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 46 49 50 51 53 80 81 3.5 3.6"},D:{"27":0.00511,"29":0.00511,"34":0.00511,"35":0.00511,"36":0.00511,"37":0.00511,"38":0.01022,"40":0.02556,"41":0.05111,"43":0.00511,"47":0.00511,"48":0.04089,"49":0.34755,"51":0.00511,"52":0.01022,"53":0.01533,"54":0.01022,"55":0.00511,"56":0.06133,"57":0.01022,"58":0.01533,"59":0.01022,"60":0.01533,"61":0.04089,"62":0.01533,"63":0.05111,"64":0.02556,"65":0.046,"66":0.046,"67":0.06133,"68":0.046,"69":0.04089,"70":0.27088,"71":0.25044,"72":0.23,"73":0.13289,"74":0.07155,"75":0.11755,"76":0.19933,"77":0.092,"78":0.15844,"79":0.39355,"80":0.44977,"81":0.85354,"83":16.7743,"84":9.33269,"85":0.01533,"86":0.046,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 28 30 31 32 33 39 42 44 45 46 50 87"},F:{"56":0.01022,"57":0.01533,"58":0.01533,"68":0.36799,"69":0.16866,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 60 62 63 64 65 66 67 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},G:{"8":0,"3.2":0.00605,"4.0-4.1":0.00605,"4.2-4.3":0.00605,"5.0-5.1":0.01814,"6.0-6.1":0.00605,"7.0-7.1":0.02419,"8.1-8.4":0.03628,"9.0-9.2":0.04838,"9.3":0.39913,"10.0-10.2":0.10281,"10.3":0.4838,"11.0-11.2":0.3568,"11.3-11.4":0.56241,"12.0-12.1":0.76198,"12.2-12.4":4.63839,"13.0-13.1":0.86478,"13.2":0.42332,"13.3":4.22716,"13.4-13.5":10.22018,_:"14.0"},E:{"4":0,"8":0.01022,"9":0.01022,"10":0.01022,"11":0.02556,"12":0.07667,"13":0.59288,"14":0.02044,_:"0 5 6 7 3.1 3.2 6.1 7.1","5.1":0.06133,"9.1":0.12778,"10.1":0.10222,"11.1":0.22488,"12.1":0.35266,"13.1":5.7141},B:{"12":0.00511,"13":0.00511,"14":0.01533,"15":0.01533,"16":0.03067,"17":0.16355,"18":1.27775,"80":0.01022,"81":0.07667,"83":1.69685,"84":1.51797,_:"79"},I:{"3":0,"4":0.00504,_:"81","2.1":0,"2.2":0,"2.3":0.0005,"4.1":0.00856,"4.2-4.3":0.0141,"4.4":0,"4.4.3-4.4.4":0.08914},P:{"4":0.04388,"5.0-5.4":0.01054,"6.2-6.4":0.02049,"7.2-7.4":0.01097,"8.2":0.02109,"9.2":0.07679,"10.1":0.05485,"11.1-11.2":0.38393,"12.0":2.04032},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.00541,"7":0.01081,"8":0.05946,"9":0.78926,"10":0.01622,"11":1.64879,_:"5.5"},J:{"7":0,"10":0.00489},N:{"10":0,"11":0},L:{"0":22.17403},S:{"2.5":0},R:{_:"0"},M:{"0":0.35201},Q:{"10.4":0.01956},O:{"0":0.12223},H:{"0":0.17126}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-oc.js b/node_modules/caniuse-lite/data/regions/alt-oc.js new file mode 100644 index 000000000..e6872aecf --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/alt-oc.js @@ -0,0 +1 @@ +module.exports={C:{"48":0.01585,"50":0.00528,"52":0.05812,"54":0.00528,"56":0.01057,"57":0.00528,"60":0.01585,"63":0.01057,"64":0.01585,"65":0.01585,"66":0.02114,"67":0.00528,"68":0.08983,"69":0.01057,"71":0.00528,"72":0.0317,"73":0.00528,"74":0.02114,"75":0.02114,"76":0.06869,"77":0.71334,"78":2.19286,"79":0.10568,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 51 53 55 58 59 61 62 70 80 81 3.5 3.6"},D:{"26":0.01057,"34":0.01585,"38":0.04756,"40":0.01585,"46":0.0317,"47":0.00528,"48":0.01057,"49":0.34346,"52":0.01057,"53":0.06341,"54":0.01057,"55":0.02114,"56":0.01585,"57":0.02642,"58":0.0317,"59":0.02114,"60":0.01585,"61":0.02114,"62":0.01585,"63":0.0317,"64":0.02642,"65":0.07398,"66":0.02642,"67":0.06341,"68":0.05284,"69":0.08454,"70":0.13738,"71":0.1638,"72":0.14267,"73":0.22193,"74":0.1638,"75":0.14795,"76":0.13738,"77":0.1321,"78":0.21136,"79":0.26948,"80":0.64993,"81":0.77146,"83":18.48343,"84":10.10301,"85":0.02642,"86":0.01057,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 32 33 35 36 37 39 41 42 43 44 45 50 51 87"},F:{"57":0.00528,"58":0.01057,"68":0.2325,"69":0.11625,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 60 62 63 64 65 66 67 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},G:{"8":0,"3.2":0.00545,"4.0-4.1":0.00545,"4.2-4.3":0.00545,"5.0-5.1":0.01635,"6.0-6.1":0.00545,"7.0-7.1":0.0218,"8.1-8.4":0.03271,"9.0-9.2":0.04361,"9.3":0.35977,"10.0-10.2":0.09267,"10.3":0.43608,"11.0-11.2":0.32161,"11.3-11.4":0.50694,"12.0-12.1":0.68683,"12.2-12.4":4.18092,"13.0-13.1":0.77949,"13.2":0.38157,"13.3":3.81025,"13.4-13.5":9.2122,_:"14.0"},E:{"4":0,"5":0.00528,"8":0.02114,"9":0.01057,"10":0.01585,"11":0.04227,"12":0.09511,"13":0.8243,"14":0.02642,_:"0 6 7 3.1 3.2 6.1 7.1","5.1":0.01057,"9.1":0.03699,"10.1":0.12153,"11.1":0.22193,"12.1":0.38573,"13.1":6.68426},B:{"12":0.00528,"13":0.00528,"14":0.01057,"15":0.01585,"16":0.04227,"17":0.09511,"18":1.33157,"80":0.00528,"81":0.07926,"83":1.321,"84":1.25231,_:"79"},I:{"3":0,"4":0.0083,_:"81","2.1":0,"2.2":0,"2.3":0.00083,"4.1":0.01411,"4.2-4.3":0.02324,"4.4":0,"4.4.3-4.4.4":0.14688},P:{"4":0.17651,"5.0-5.4":0.01054,"6.2-6.4":0.02049,"7.2-7.4":0.02206,"8.2":0.01103,"9.2":0.11032,"10.1":0.11032,"11.1-11.2":0.56262,"12.0":2.74692},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.02593,"9":0.01729,"10":0.00864,"11":1.91907,_:"6 7 5.5"},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":21.34135},S:{"2.5":0},R:{_:"0"},M:{"0":0.35842},Q:{"10.4":0.12733},O:{"0":0.25466},H:{"0":0.25896}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-sa.js b/node_modules/caniuse-lite/data/regions/alt-sa.js new file mode 100644 index 000000000..e30d2d716 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/alt-sa.js @@ -0,0 +1 @@ +module.exports={C:{"48":0.01279,"52":0.05754,"60":0.01279,"63":0.01279,"64":0.01279,"65":0.01279,"66":0.01279,"68":0.06393,"71":0.00639,"72":0.01918,"73":0.00639,"74":0.01279,"75":0.01279,"76":0.03197,"77":0.49865,"78":2.14166,"79":0.12786,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 61 62 67 69 70 80 81 3.5 3.6"},D:{"36":0.00639,"38":0.01918,"49":0.24293,"51":0.00639,"53":0.03197,"56":0.01918,"58":0.01918,"61":0.01279,"62":0.01279,"63":0.03836,"64":0.00639,"65":0.04475,"66":0.01918,"67":0.05114,"68":0.01918,"69":0.03197,"70":0.0895,"71":0.12786,"72":0.10229,"73":0.08311,"74":0.07032,"75":0.07032,"76":0.07672,"77":0.08311,"78":0.13425,"79":0.1854,"80":0.39637,"81":0.39637,"83":30.11742,"84":20.73889,"85":0.03836,"86":0.02557,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 39 40 41 42 43 44 45 46 47 48 50 52 54 55 57 59 60 87"},F:{"68":1.25303,"69":0.52423,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},G:{"8":0,"3.2":0.0009,"4.0-4.1":0.0009,"4.2-4.3":0.0009,"5.0-5.1":0.00271,"6.0-6.1":0.0009,"7.0-7.1":0.00361,"8.1-8.4":0.00542,"9.0-9.2":0.00723,"9.3":0.05962,"10.0-10.2":0.01536,"10.3":0.07227,"11.0-11.2":0.0533,"11.3-11.4":0.08401,"12.0-12.1":0.11382,"12.2-12.4":0.69289,"13.0-13.1":0.12918,"13.2":0.06324,"13.3":0.63146,"13.4-13.5":1.5267,_:"14.0"},E:{"4":0,"11":0.01279,"12":0.04475,"13":0.19179,"14":0.00639,_:"0 5 6 7 8 9 10 3.1 3.2 6.1 7.1 9.1","5.1":0.14065,"10.1":0.03197,"11.1":0.08311,"12.1":0.14704,"13.1":1.48318},B:{"15":0.00639,"16":0.00639,"17":0.03197,"18":0.26851,"81":0.01918,"83":0.97174,"84":0.8183,_:"12 13 14 79 80"},I:{"3":0,"4":0.00201,_:"81","2.1":0,"2.2":0,"2.3":0.0002,"4.1":0.00342,"4.2-4.3":0.00564,"4.4":0,"4.4.3-4.4.4":0.03563},P:{"4":0.14785,"5.0-5.4":0.01054,"6.2-6.4":0.02049,"7.2-7.4":0.09505,"8.2":0.01103,"9.2":0.07393,"10.1":0.07393,"11.1-11.2":0.32739,"12.0":1.30955},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"8":0.03324,"9":0.00665,"11":0.29254,_:"6 7 10 5.5"},J:{"7":0,"10":0},N:{"10":0,"11":0},L:{"0":30.78952},S:{"2.5":0},R:{_:"0"},M:{"0":0.08298},Q:{"10.4":0.00722},O:{"0":0.06134},H:{"0":0.11272}}; diff --git a/node_modules/caniuse-lite/data/regions/alt-ww.js b/node_modules/caniuse-lite/data/regions/alt-ww.js new file mode 100644 index 000000000..5fd36b751 --- /dev/null +++ b/node_modules/caniuse-lite/data/regions/alt-ww.js @@ -0,0 +1 @@ +module.exports={C:{"4":0.01393,"33":0.00928,"38":0.00464,"43":0.04178,"44":0.00464,"45":0.00928,"47":0.00928,"48":0.01857,"50":0.00464,"51":0.00464,"52":0.11605,"54":0.00928,"55":0.00928,"56":0.01857,"57":0.00928,"58":0.00464,"59":0.00928,"60":0.01857,"61":0.00928,"62":0.00928,"63":0.03714,"64":0.02785,"65":0.02785,"66":0.02321,"67":0.00928,"68":0.13926,"69":0.00928,"70":0.00928,"71":0.00928,"72":0.03249,"73":0.00928,"74":0.01857,"75":0.01857,"76":0.05106,"77":0.64524,"78":2.36742,"79":0.14854,_:"2 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 39 40 41 42 46 49 53 80 81 3.5 3.6"},D:{"13":0.00928,"22":0.01393,"31":0.00928,"34":0.00928,"38":0.02785,"40":0.01393,"41":0.03249,"43":0.01393,"45":0.00464,"46":0.00464,"47":0.00928,"48":0.02321,"49":0.31101,"50":0.00464,"51":0.00928,"52":0.00464,"53":0.04178,"54":0.01857,"55":0.01393,"56":0.02785,"57":0.02785,"58":0.02785,"59":0.00928,"60":0.01393,"61":0.03714,"62":0.01857,"63":0.05106,"64":0.01857,"65":0.04642,"66":0.03249,"67":0.04642,"68":0.02785,"69":0.0882,"70":0.18104,"71":0.21817,"72":0.21353,"73":0.12069,"74":0.11141,"75":0.09284,"76":0.10212,"77":0.08356,"78":0.12533,"79":0.21817,"80":0.37136,"81":0.45027,"83":17.34715,"84":10.40736,"85":0.02785,"86":0.01857,_:"4 5 6 7 8 9 10 11 12 14 15 16 17 18 19 20 21 23 24 25 26 27 28 29 30 32 33 35 36 37 39 42 44 87"},F:{"36":0.00928,"56":0.00928,"57":0.00928,"58":0.01393,"67":0.00464,"68":0.64988,"69":0.32494,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 60 62 63 64 65 66 9.5-9.6 10.5 10.6 11.1 11.5 11.6","10.0-10.1":0,"12.1":0.00928},G:{"8":0,"3.2":0.00307,"4.0-4.1":0.00307,"4.2-4.3":0.00307,"5.0-5.1":0.0092,"6.0-6.1":0.00307,"7.0-7.1":0.01226,"8.1-8.4":0.01839,"9.0-9.2":0.02452,"9.3":0.20232,"10.0-10.2":0.05211,"10.3":0.24523,"11.0-11.2":0.18086,"11.3-11.4":0.28508,"12.0-12.1":0.38624,"12.2-12.4":2.35117,"13.0-13.1":0.43835,"13.2":0.21458,"13.3":2.14272,"13.4-13.5":5.18054,_:"14.0"},E:{"4":0,"8":0.00464,"9":0.00464,"10":0.00928,"11":0.01857,"12":0.0557,"13":0.35743,"14":0.01393,_:"0 5 6 7 3.1 3.2 6.1 7.1","5.1":0.14854,"9.1":0.03714,"10.1":0.05106,"11.1":0.11605,"12.1":0.19961,"13.1":2.82698},B:{"12":0.00928,"13":0.00464,"14":0.01393,"15":0.00928,"16":0.02321,"17":0.0882,"18":0.77057,"81":0.04178,"83":0.99803,"84":0.85413,_:"79 80"},I:{"3":0,"4":0.00759,_:"81","2.1":0,"2.2":0,"2.3":0.00076,"4.1":0.0129,"4.2-4.3":0.02124,"4.4":0,"4.4.3-4.4.4":0.13429},P:{"4":0.30047,"5.0-5.4":0.01036,"6.2-6.4":0.01036,"7.2-7.4":0.09325,"8.2":0.02072,"9.2":0.17614,"10.1":0.14505,"11.1-11.2":0.60094,"12.0":2.25869},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.00596,"7":0.00596,"8":0.0715,"9":0.23239,"10":0.01788,"11":1.30494,_:"5.5"},J:{"7":0,"10":0.00536},N:{"10":0,"11":0.03315},L:{"0":35.37889},S:{"2.5":0.05357},R:{_:"0"},M:{"0":0.25714},Q:{"10.4":0.21964},O:{"0":1.47318},H:{"0":0.90783}}; diff --git a/node_modules/caniuse-lite/dist/lib/statuses.js b/node_modules/caniuse-lite/dist/lib/statuses.js new file mode 100644 index 000000000..c346e2b5b --- /dev/null +++ b/node_modules/caniuse-lite/dist/lib/statuses.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = { + 1: "ls", // WHATWG Living Standard + 2: "rec", // W3C Recommendation + 3: "pr", // W3C Proposed Recommendation + 4: "cr", // W3C Candidate Recommendation + 5: "wd", // W3C Working Draft + 6: "other", // Non-W3C, but reputable + 7: "unoff" // Unofficial, Editor's Draft or W3C "Note" +}; diff --git a/node_modules/caniuse-lite/dist/lib/supported.js b/node_modules/caniuse-lite/dist/lib/supported.js new file mode 100644 index 000000000..3523a87d7 --- /dev/null +++ b/node_modules/caniuse-lite/dist/lib/supported.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = { + y: 1 << 0, + n: 1 << 1, + a: 1 << 2, + p: 1 << 3, + u: 1 << 4, + x: 1 << 5, + d: 1 << 6 +}; diff --git a/node_modules/caniuse-lite/dist/unpacker/agents.js b/node_modules/caniuse-lite/dist/unpacker/agents.js new file mode 100644 index 000000000..8dc5d49fc --- /dev/null +++ b/node_modules/caniuse-lite/dist/unpacker/agents.js @@ -0,0 +1,51 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.agents = undefined; + +var _browsers = require('./browsers'); + +var _browserVersions = require('./browserVersions'); + +var agentsData = require('../../data/agents'); + +function unpackBrowserVersions(versionsData) { + return Object.keys(versionsData).reduce(function (usage, version) { + usage[_browserVersions.browserVersions[version]] = versionsData[version]; + return usage; + }, {}); +} + +var agents = exports.agents = Object.keys(agentsData).reduce(function (map, key) { + var versionsData = agentsData[key]; + map[_browsers.browsers[key]] = Object.keys(versionsData).reduce(function (data, entry) { + if (entry === 'A') { + data.usage_global = unpackBrowserVersions(versionsData[entry]); + } else if (entry === 'C') { + data.versions = versionsData[entry].reduce(function (list, version) { + if (version === '') { + list.push(null); + } else { + list.push(_browserVersions.browserVersions[version]); + } + return list; + }, []); + } else if (entry === 'D') { + data.prefix_exceptions = unpackBrowserVersions(versionsData[entry]); + } else if (entry === 'E') { + data.browser = versionsData[entry]; + } else if (entry === 'F') { + data.release_date = Object.keys(versionsData[entry]).reduce(function (map, key) { + map[_browserVersions.browserVersions[key]] = versionsData[entry][key]; + return map; + }, {}); + } else { + // entry is B + data.prefix = versionsData[entry]; + } + return data; + }, {}); + return map; +}, {}); \ No newline at end of file diff --git a/node_modules/caniuse-lite/dist/unpacker/browserVersions.js b/node_modules/caniuse-lite/dist/unpacker/browserVersions.js new file mode 100644 index 000000000..f63d752cd --- /dev/null +++ b/node_modules/caniuse-lite/dist/unpacker/browserVersions.js @@ -0,0 +1,6 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var browserVersions = exports.browserVersions = require('../../data/browserVersions'); \ No newline at end of file diff --git a/node_modules/caniuse-lite/dist/unpacker/browsers.js b/node_modules/caniuse-lite/dist/unpacker/browsers.js new file mode 100644 index 000000000..4ef008219 --- /dev/null +++ b/node_modules/caniuse-lite/dist/unpacker/browsers.js @@ -0,0 +1,6 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var browsers = exports.browsers = require('../../data/browsers'); \ No newline at end of file diff --git a/node_modules/caniuse-lite/dist/unpacker/feature.js b/node_modules/caniuse-lite/dist/unpacker/feature.js new file mode 100644 index 000000000..d484a57fd --- /dev/null +++ b/node_modules/caniuse-lite/dist/unpacker/feature.js @@ -0,0 +1,58 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = unpackFeature; + +var _statuses = require('../lib/statuses'); + +var _statuses2 = _interopRequireDefault(_statuses); + +var _supported = require('../lib/supported'); + +var _supported2 = _interopRequireDefault(_supported); + +var _browsers = require('./browsers'); + +var _browserVersions = require('./browserVersions'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var MATH2LOG = Math.log(2); + +function unpackSupport(cipher) { + // bit flags + var stats = Object.keys(_supported2.default).reduce(function (list, support) { + if (cipher & _supported2.default[support]) list.push(support); + return list; + }, []); + + // notes + var notes = cipher >> 7; + var notesArray = []; + while (notes) { + var note = Math.floor(Math.log(notes) / MATH2LOG) + 1; + notesArray.unshift('#' + note); + notes -= Math.pow(2, note - 1); + } + + return stats.concat(notesArray).join(' '); +} + +function unpackFeature(packed) { + var unpacked = { status: _statuses2.default[packed.B], title: packed.C }; + unpacked.stats = Object.keys(packed.A).reduce(function (browserStats, key) { + var browser = packed.A[key]; + browserStats[_browsers.browsers[key]] = Object.keys(browser).reduce(function (stats, support) { + var packedVersions = browser[support].split(' '); + var unpacked = unpackSupport(support); + packedVersions.forEach(function (v) { + return stats[_browserVersions.browserVersions[v]] = unpacked; + }); + return stats; + }, {}); + return browserStats; + }, {}); + return unpacked; +} \ No newline at end of file diff --git a/node_modules/caniuse-lite/dist/unpacker/features.js b/node_modules/caniuse-lite/dist/unpacker/features.js new file mode 100644 index 000000000..dec36e3e8 --- /dev/null +++ b/node_modules/caniuse-lite/dist/unpacker/features.js @@ -0,0 +1,11 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +/* + * Load this dynamically so that it + * doesn't appear in the rollup bundle. + */ + +var features = exports.features = require('../../data/features'); \ No newline at end of file diff --git a/node_modules/caniuse-lite/dist/unpacker/index.js b/node_modules/caniuse-lite/dist/unpacker/index.js new file mode 100644 index 000000000..2cc2f05b9 --- /dev/null +++ b/node_modules/caniuse-lite/dist/unpacker/index.js @@ -0,0 +1,43 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _agents = require('./agents'); + +Object.defineProperty(exports, 'agents', { + enumerable: true, + get: function get() { + return _agents.agents; + } +}); + +var _feature = require('./feature'); + +Object.defineProperty(exports, 'feature', { + enumerable: true, + get: function get() { + return _interopRequireDefault(_feature).default; + } +}); + +var _features = require('./features'); + +Object.defineProperty(exports, 'features', { + enumerable: true, + get: function get() { + return _features.features; + } +}); + +var _region = require('./region'); + +Object.defineProperty(exports, 'region', { + enumerable: true, + get: function get() { + return _interopRequireDefault(_region).default; + } +}); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } \ No newline at end of file diff --git a/node_modules/caniuse-lite/dist/unpacker/region.js b/node_modules/caniuse-lite/dist/unpacker/region.js new file mode 100644 index 000000000..e09ae3603 --- /dev/null +++ b/node_modules/caniuse-lite/dist/unpacker/region.js @@ -0,0 +1,26 @@ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = unpackRegion; + +var _browsers = require('./browsers'); + +function unpackRegion(packed) { + return Object.keys(packed).reduce(function (list, browser) { + var data = packed[browser]; + list[_browsers.browsers[browser]] = Object.keys(data).reduce(function (memo, key) { + var stats = data[key]; + if (key === '_') { + stats.split(' ').forEach(function (version) { + return memo[version] = null; + }); + } else { + memo[key] = stats; + } + return memo; + }, {}); + return list; + }, {}); +} \ No newline at end of file diff --git a/node_modules/caniuse-lite/package.json b/node_modules/caniuse-lite/package.json new file mode 100644 index 000000000..41f950ed6 --- /dev/null +++ b/node_modules/caniuse-lite/package.json @@ -0,0 +1,59 @@ +{ + "_from": "caniuse-lite@^1.0.30001111", + "_id": "caniuse-lite@1.0.30001117", + "_inBundle": false, + "_integrity": "sha512-4tY0Fatzdx59kYjQs+bNxUwZB03ZEBgVmJ1UkFPz/Q8OLiUUbjct2EdpnXj0fvFTPej2EkbPIG0w8BWsjAyk1Q==", + "_location": "/caniuse-lite", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "caniuse-lite@^1.0.30001111", + "name": "caniuse-lite", + "escapedName": "caniuse-lite", + "rawSpec": "^1.0.30001111", + "saveSpec": null, + "fetchSpec": "^1.0.30001111" + }, + "_requiredBy": [ + "/browserslist" + ], + "_resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001117.tgz", + "_shasum": "69a9fae5d480eaa9589f7641a83842ad396d17c4", + "_spec": "caniuse-lite@^1.0.30001111", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/browserslist", + "author": { + "name": "Ben Briggs", + "email": "beneb.info@gmail.com", + "url": "http://beneb.info" + }, + "bugs": { + "url": "https://github.com/ben-eb/caniuse-lite/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "A smaller version of caniuse-db, with only the essentials!", + "files": [ + "data", + "dist" + ], + "homepage": "https://github.com/ben-eb/caniuse-lite#readme", + "keywords": [ + "support", + "css", + "js", + "html5", + "svg" + ], + "license": "CC-BY-4.0", + "main": "dist/unpacker/index.js", + "name": "caniuse-lite", + "repository": { + "type": "git", + "url": "git+https://github.com/ben-eb/caniuse-lite.git" + }, + "scripts": { + "prepublish": "del-cli dist && babel src/unpacker -d dist/unpacker && mkdir dist/lib && babel src/lib/statuses.js -o dist/lib/statuses.js && babel src/lib/supported.js -o dist/lib/supported.js" + }, + "version": "1.0.30001117" +} diff --git a/node_modules/chalk/index.js b/node_modules/chalk/index.js new file mode 100644 index 000000000..1cc5fa89a --- /dev/null +++ b/node_modules/chalk/index.js @@ -0,0 +1,228 @@ +'use strict'; +const escapeStringRegexp = require('escape-string-regexp'); +const ansiStyles = require('ansi-styles'); +const stdoutColor = require('supports-color').stdout; + +const template = require('./templates.js'); + +const isSimpleWindowsTerm = process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().startsWith('xterm'); + +// `supportsColor.level` → `ansiStyles.color[name]` mapping +const levelMapping = ['ansi', 'ansi', 'ansi256', 'ansi16m']; + +// `color-convert` models to exclude from the Chalk API due to conflicts and such +const skipModels = new Set(['gray']); + +const styles = Object.create(null); + +function applyOptions(obj, options) { + options = options || {}; + + // Detect level if not set manually + const scLevel = stdoutColor ? stdoutColor.level : 0; + obj.level = options.level === undefined ? scLevel : options.level; + obj.enabled = 'enabled' in options ? options.enabled : obj.level > 0; +} + +function Chalk(options) { + // We check for this.template here since calling `chalk.constructor()` + // by itself will have a `this` of a previously constructed chalk object + if (!this || !(this instanceof Chalk) || this.template) { + const chalk = {}; + applyOptions(chalk, options); + + chalk.template = function () { + const args = [].slice.call(arguments); + return chalkTag.apply(null, [chalk.template].concat(args)); + }; + + Object.setPrototypeOf(chalk, Chalk.prototype); + Object.setPrototypeOf(chalk.template, chalk); + + chalk.template.constructor = Chalk; + + return chalk.template; + } + + applyOptions(this, options); +} + +// Use bright blue on Windows as the normal blue color is illegible +if (isSimpleWindowsTerm) { + ansiStyles.blue.open = '\u001B[94m'; +} + +for (const key of Object.keys(ansiStyles)) { + ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g'); + + styles[key] = { + get() { + const codes = ansiStyles[key]; + return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key); + } + }; +} + +styles.visible = { + get() { + return build.call(this, this._styles || [], true, 'visible'); + } +}; + +ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), 'g'); +for (const model of Object.keys(ansiStyles.color.ansi)) { + if (skipModels.has(model)) { + continue; + } + + styles[model] = { + get() { + const level = this.level; + return function () { + const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments); + const codes = { + open, + close: ansiStyles.color.close, + closeRe: ansiStyles.color.closeRe + }; + return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); + }; + } + }; +} + +ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), 'g'); +for (const model of Object.keys(ansiStyles.bgColor.ansi)) { + if (skipModels.has(model)) { + continue; + } + + const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1); + styles[bgModel] = { + get() { + const level = this.level; + return function () { + const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments); + const codes = { + open, + close: ansiStyles.bgColor.close, + closeRe: ansiStyles.bgColor.closeRe + }; + return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model); + }; + } + }; +} + +const proto = Object.defineProperties(() => {}, styles); + +function build(_styles, _empty, key) { + const builder = function () { + return applyStyle.apply(builder, arguments); + }; + + builder._styles = _styles; + builder._empty = _empty; + + const self = this; + + Object.defineProperty(builder, 'level', { + enumerable: true, + get() { + return self.level; + }, + set(level) { + self.level = level; + } + }); + + Object.defineProperty(builder, 'enabled', { + enumerable: true, + get() { + return self.enabled; + }, + set(enabled) { + self.enabled = enabled; + } + }); + + // See below for fix regarding invisible grey/dim combination on Windows + builder.hasGrey = this.hasGrey || key === 'gray' || key === 'grey'; + + // `__proto__` is used because we must return a function, but there is + // no way to create a function with a different prototype + builder.__proto__ = proto; // eslint-disable-line no-proto + + return builder; +} + +function applyStyle() { + // Support varags, but simply cast to string in case there's only one arg + const args = arguments; + const argsLen = args.length; + let str = String(arguments[0]); + + if (argsLen === 0) { + return ''; + } + + if (argsLen > 1) { + // Don't slice `arguments`, it prevents V8 optimizations + for (let a = 1; a < argsLen; a++) { + str += ' ' + args[a]; + } + } + + if (!this.enabled || this.level <= 0 || !str) { + return this._empty ? '' : str; + } + + // Turns out that on Windows dimmed gray text becomes invisible in cmd.exe, + // see https://github.com/chalk/chalk/issues/58 + // If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop. + const originalDim = ansiStyles.dim.open; + if (isSimpleWindowsTerm && this.hasGrey) { + ansiStyles.dim.open = ''; + } + + for (const code of this._styles.slice().reverse()) { + // Replace any instances already present with a re-opening code + // otherwise only the part of the string until said closing code + // will be colored, and the rest will simply be 'plain'. + str = code.open + str.replace(code.closeRe, code.open) + code.close; + + // Close the styling before a linebreak and reopen + // after next line to fix a bleed issue on macOS + // https://github.com/chalk/chalk/pull/92 + str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`); + } + + // Reset the original `dim` if we changed it to work around the Windows dimmed gray issue + ansiStyles.dim.open = originalDim; + + return str; +} + +function chalkTag(chalk, strings) { + if (!Array.isArray(strings)) { + // If chalk() was called by itself or with a string, + // return the string itself as a string. + return [].slice.call(arguments, 1).join(' '); + } + + const args = [].slice.call(arguments, 2); + const parts = [strings.raw[0]]; + + for (let i = 1; i < strings.length; i++) { + parts.push(String(args[i - 1]).replace(/[{}\\]/g, '\\$&')); + parts.push(String(strings.raw[i])); + } + + return template(chalk, parts.join('')); +} + +Object.defineProperties(Chalk.prototype, styles); + +module.exports = Chalk(); // eslint-disable-line new-cap +module.exports.supportsColor = stdoutColor; +module.exports.default = module.exports; // For TypeScript diff --git a/node_modules/chalk/index.js.flow b/node_modules/chalk/index.js.flow new file mode 100644 index 000000000..622caaa2e --- /dev/null +++ b/node_modules/chalk/index.js.flow @@ -0,0 +1,93 @@ +// @flow strict + +type TemplateStringsArray = $ReadOnlyArray; + +export type Level = $Values<{ + None: 0, + Basic: 1, + Ansi256: 2, + TrueColor: 3 +}>; + +export type ChalkOptions = {| + enabled?: boolean, + level?: Level +|}; + +export type ColorSupport = {| + level: Level, + hasBasic: boolean, + has256: boolean, + has16m: boolean +|}; + +export interface Chalk { + (...text: string[]): string, + (text: TemplateStringsArray, ...placeholders: string[]): string, + constructor(options?: ChalkOptions): Chalk, + enabled: boolean, + level: Level, + rgb(r: number, g: number, b: number): Chalk, + hsl(h: number, s: number, l: number): Chalk, + hsv(h: number, s: number, v: number): Chalk, + hwb(h: number, w: number, b: number): Chalk, + bgHex(color: string): Chalk, + bgKeyword(color: string): Chalk, + bgRgb(r: number, g: number, b: number): Chalk, + bgHsl(h: number, s: number, l: number): Chalk, + bgHsv(h: number, s: number, v: number): Chalk, + bgHwb(h: number, w: number, b: number): Chalk, + hex(color: string): Chalk, + keyword(color: string): Chalk, + + +reset: Chalk, + +bold: Chalk, + +dim: Chalk, + +italic: Chalk, + +underline: Chalk, + +inverse: Chalk, + +hidden: Chalk, + +strikethrough: Chalk, + + +visible: Chalk, + + +black: Chalk, + +red: Chalk, + +green: Chalk, + +yellow: Chalk, + +blue: Chalk, + +magenta: Chalk, + +cyan: Chalk, + +white: Chalk, + +gray: Chalk, + +grey: Chalk, + +blackBright: Chalk, + +redBright: Chalk, + +greenBright: Chalk, + +yellowBright: Chalk, + +blueBright: Chalk, + +magentaBright: Chalk, + +cyanBright: Chalk, + +whiteBright: Chalk, + + +bgBlack: Chalk, + +bgRed: Chalk, + +bgGreen: Chalk, + +bgYellow: Chalk, + +bgBlue: Chalk, + +bgMagenta: Chalk, + +bgCyan: Chalk, + +bgWhite: Chalk, + +bgBlackBright: Chalk, + +bgRedBright: Chalk, + +bgGreenBright: Chalk, + +bgYellowBright: Chalk, + +bgBlueBright: Chalk, + +bgMagentaBright: Chalk, + +bgCyanBright: Chalk, + +bgWhiteBrigh: Chalk, + + supportsColor: ColorSupport +}; + +declare module.exports: Chalk; diff --git a/node_modules/chalk/license b/node_modules/chalk/license new file mode 100644 index 000000000..e7af2f771 --- /dev/null +++ b/node_modules/chalk/license @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/chalk/package.json b/node_modules/chalk/package.json new file mode 100644 index 000000000..6cc9b5cd7 --- /dev/null +++ b/node_modules/chalk/package.json @@ -0,0 +1,103 @@ +{ + "_from": "chalk@^2.0.0", + "_id": "chalk@2.4.2", + "_inBundle": false, + "_integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "_location": "/chalk", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "chalk@^2.0.0", + "name": "chalk", + "escapedName": "chalk", + "rawSpec": "^2.0.0", + "saveSpec": null, + "fetchSpec": "^2.0.0" + }, + "_requiredBy": [ + "/@babel/highlight" + ], + "_resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "_shasum": "cd42541677a54333cf541a49108c1432b44c9424", + "_spec": "chalk@^2.0.0", + "_where": "/Users/wongjoey/Desktop/general-assembly/SEI-24/assignments/week4/recipe-keeper/node_modules/@babel/highlight", + "bugs": { + "url": "https://github.com/chalk/chalk/issues" + }, + "bundleDependencies": false, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "deprecated": false, + "description": "Terminal string styling done right", + "devDependencies": { + "ava": "*", + "coveralls": "^3.0.0", + "execa": "^0.9.0", + "flow-bin": "^0.68.0", + "import-fresh": "^2.0.0", + "matcha": "^0.7.0", + "nyc": "^11.0.2", + "resolve-from": "^4.0.0", + "typescript": "^2.5.3", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js", + "templates.js", + "types/index.d.ts", + "index.js.flow" + ], + "homepage": "https://github.com/chalk/chalk#readme", + "keywords": [ + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "str", + "ansi", + "style", + "styles", + "tty", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "chalk", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/chalk.git" + }, + "scripts": { + "bench": "matcha benchmark.js", + "coveralls": "nyc report --reporter=text-lcov | coveralls", + "test": "xo && tsc --project types && flow --max-warnings=0 && nyc ava" + }, + "types": "types/index.d.ts", + "version": "2.4.2", + "xo": { + "envs": [ + "node", + "mocha" + ], + "ignores": [ + "test/_flow.js" + ] + } +} diff --git a/node_modules/chalk/readme.md b/node_modules/chalk/readme.md new file mode 100644 index 000000000..d298e2c48 --- /dev/null +++ b/node_modules/chalk/readme.md @@ -0,0 +1,314 @@ +

+
+
+ Chalk +
+
+
+

+ +> Terminal string styling done right + +[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) [![Mentioned in Awesome Node.js](https://awesome.re/mentioned-badge.svg)](https://github.com/sindresorhus/awesome-nodejs) + +### [See what's new in Chalk 2](https://github.com/chalk/chalk/releases/tag/v2.0.0) + + + + +## Highlights + +- Expressive API +- Highly performant +- Ability to nest styles +- [256/Truecolor color support](#256-and-truecolor-color-support) +- Auto-detects color support +- Doesn't extend `String.prototype` +- Clean and focused +- Actively maintained +- [Used by ~23,000 packages](https://www.npmjs.com/browse/depended/chalk) as of December 31, 2017 + + +## Install + +```console +$ npm install chalk +``` + + + + + + +## Usage + +```js +const chalk = require('chalk'); + +console.log(chalk.blue('Hello world!')); +``` + +Chalk comes with an easy to use composable API where you just chain and nest the styles you want. + +```js +const chalk = require('chalk'); +const log = console.log; + +// Combine styled and normal strings +log(chalk.blue('Hello') + ' World' + chalk.red('!')); + +// Compose multiple styles using the chainable API +log(chalk.blue.bgRed.bold('Hello world!')); + +// Pass in multiple arguments +log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); + +// Nest styles +log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); + +// Nest styles of the same type even (color, underline, background) +log(chalk.green( + 'I am a green line ' + + chalk.blue.underline.bold('with a blue substring') + + ' that becomes green again!' +)); + +// ES2015 template literal +log(` +CPU: ${chalk.red('90%')} +RAM: ${chalk.green('40%')} +DISK: ${chalk.yellow('70%')} +`); + +// ES2015 tagged template literal +log(chalk` +CPU: {red ${cpu.totalPercent}%} +RAM: {green ${ram.used / ram.total * 100}%} +DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} +`); + +// Use RGB colors in terminal emulators that support it. +log(chalk.keyword('orange')('Yay for orange colored text!')); +log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); +log(chalk.hex('#DEADED').bold('Bold gray!')); +``` + +Easily define your own themes: + +```js +const chalk = require('chalk'); + +const error = chalk.bold.red; +const warning = chalk.keyword('orange'); + +console.log(error('Error!')); +console.log(warning('Warning!')); +``` + +Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): + +```js +const name = 'Sindre'; +console.log(chalk.green('Hello %s'), name); +//=> 'Hello Sindre' +``` + + +## API + +### chalk.`