diff options
Diffstat (limited to 'node_modules/@babel/plugin-syntax-optional-catch-binding')
4 files changed, 86 insertions, 0 deletions
diff --git a/node_modules/@babel/plugin-syntax-optional-catch-binding/LICENSE b/node_modules/@babel/plugin-syntax-optional-catch-binding/LICENSE new file mode 100644 index 0000000..f31575e --- /dev/null +++ b/node_modules/@babel/plugin-syntax-optional-catch-binding/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/plugin-syntax-optional-catch-binding/README.md b/node_modules/@babel/plugin-syntax-optional-catch-binding/README.md new file mode 100644 index 0000000..9085f91 --- /dev/null +++ b/node_modules/@babel/plugin-syntax-optional-catch-binding/README.md @@ -0,0 +1,19 @@ +# @babel/plugin-syntax-optional-catch-binding + +> Allow parsing of optional catch bindings + +See our website [@babel/plugin-syntax-optional-catch-binding](https://babeljs.io/docs/en/next/babel-plugin-syntax-optional-catch-binding.html) for more information. + +## Install + +Using npm: + +```sh +npm install --save-dev @babel/plugin-syntax-optional-catch-binding +``` + +or using yarn: + +```sh +yarn add @babel/plugin-syntax-optional-catch-binding --dev +``` diff --git a/node_modules/@babel/plugin-syntax-optional-catch-binding/lib/index.js b/node_modules/@babel/plugin-syntax-optional-catch-binding/lib/index.js new file mode 100644 index 0000000..ee0dfd4 --- /dev/null +++ b/node_modules/@babel/plugin-syntax-optional-catch-binding/lib/index.js @@ -0,0 +1,22 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { +  value: true +}); +exports.default = void 0; + +var _helperPluginUtils = require("@babel/helper-plugin-utils"); + +var _default = (0, _helperPluginUtils.declare)(api => { +  api.assertVersion(7); +  return { +    name: "syntax-optional-catch-binding", + +    manipulateOptions(opts, parserOpts) { +      parserOpts.plugins.push("optionalCatchBinding"); +    } + +  }; +}); + +exports.default = _default;
\ No newline at end of file diff --git a/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json b/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json new file mode 100644 index 0000000..5b38a0c --- /dev/null +++ b/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json @@ -0,0 +1,23 @@ +{ +  "name": "@babel/plugin-syntax-optional-catch-binding", +  "version": "7.8.3", +  "description": "Allow parsing of optional catch bindings", +  "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-catch-binding", +  "license": "MIT", +  "publishConfig": { +    "access": "public" +  }, +  "main": "lib/index.js", +  "keywords": [ +    "babel-plugin" +  ], +  "dependencies": { +    "@babel/helper-plugin-utils": "^7.8.0" +  }, +  "peerDependencies": { +    "@babel/core": "^7.0.0-0" +  }, +  "devDependencies": { +    "@babel/core": "^7.8.0" +  } +}  | 
