feat: refactoring project

This commit is contained in:
Carlos
2024-11-23 14:56:07 -05:00
parent f0c2a50c18
commit 1c6db5818d
2351 changed files with 39323 additions and 60326 deletions

View File

@@ -226,7 +226,7 @@ var index = helperPluginUtils.declare((api, options) => {
const pureGetters = (_api$assumption2 = api.assumption("pureGetters")) != null ? _api$assumption2 : loose;
return {
name: "transform-optional-chaining",
inherits: api.version[0] === "8" ? undefined : require("@babel/plugin-syntax-optional-chaining").default,
manipulateOptions: (_, parser) => parser.plugins.push("optionalChaining"),
visitor: {
"OptionalCallExpression|OptionalMemberExpression"(path) {
transform(path, {

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "@babel/plugin-transform-optional-chaining",
"version": "7.24.8",
"version": "7.25.9",
"description": "Transform optional chaining operators into a series of nil checks",
"repository": {
"type": "git",
@@ -17,18 +17,17 @@
"babel-plugin"
],
"dependencies": {
"@babel/helper-plugin-utils": "^7.24.8",
"@babel/helper-skip-transparent-expression-wrappers": "^7.24.7",
"@babel/plugin-syntax-optional-chaining": "^7.8.3"
"@babel/helper-plugin-utils": "^7.25.9",
"@babel/helper-skip-transparent-expression-wrappers": "^7.25.9"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0"
},
"devDependencies": {
"@babel/core": "^7.24.8",
"@babel/helper-plugin-test-runner": "^7.24.7",
"@babel/plugin-transform-block-scoping": "^7.24.7",
"@babel/traverse": "^7.24.8"
"@babel/core": "^7.25.9",
"@babel/helper-plugin-test-runner": "^7.25.9",
"@babel/plugin-transform-block-scoping": "^7.25.9",
"@babel/traverse": "^7.25.9"
},
"engines": {
"node": ">=6.9.0"

View File

@@ -1,20 +0,0 @@
/* This file is automatically generated by scripts/generators/tsconfig.js */
{
"extends": [
"../../tsconfig.base.json",
"../../tsconfig.paths.json"
],
"include": [
"../../packages/babel-plugin-transform-optional-chaining/src/**/*.ts",
"../../lib/globals.d.ts",
"../../scripts/repo-utils/*.d.ts"
],
"references": [
{
"path": "../../packages/babel-helper-plugin-utils"
},
{
"path": "../../packages/babel-helper-skip-transparent-expression-wrappers"
}
]
}

File diff suppressed because one or more lines are too long