Socket
Socket
Sign inDemoInstall

@babel/traverse

Package Overview
Dependencies
Maintainers
4
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/traverse - npm Package Compare versions

Comparing version 7.22.11 to 7.22.15

4

lib/context.js

@@ -7,3 +7,3 @@ "use strict";

exports.default = void 0;
var _path = require("./path");
var _index = require("./path/index.js");
var _t = require("@babel/types");

@@ -36,3 +36,3 @@ const {

create(node, container, key, listKey) {
return _path.default.get({
return _index.default.get({
parentPath: this.parentPath,

@@ -39,0 +39,0 @@ parent: node,

@@ -15,3 +15,3 @@ "use strict";

get: function () {
return _path.default;
return _index.default;
}

@@ -22,14 +22,14 @@ });

get: function () {
return _scope.default;
return _index2.default;
}
});
exports.visitors = exports.default = void 0;
var visitors = require("./visitors");
var visitors = require("./visitors.js");
exports.visitors = visitors;
var _t = require("@babel/types");
var cache = require("./cache");
var _traverseNode = require("./traverse-node");
var _path = require("./path");
var _scope = require("./scope");
var _hub = require("./hub");
var cache = require("./cache.js");
var _traverseNode = require("./traverse-node.js");
var _index = require("./path/index.js");
var _index2 = require("./scope/index.js");
var _hub = require("./hub.js");
const {

@@ -36,0 +36,0 @@ VISITOR_KEYS,

@@ -26,4 +26,4 @@ "use strict";

exports.visit = visit;
var _traverseNode = require("../traverse-node");
var _index = require("./index");
var _traverseNode = require("../traverse-node.js");
var _index = require("./index.js");
function call(key) {

@@ -30,0 +30,0 @@ const opts = this.opts;

@@ -13,3 +13,3 @@ "use strict";

var _helperFunctionName = require("@babel/helper-function-name");
var _visitors = require("../visitors");
var _visitors = require("../visitors.js");
const {

@@ -16,0 +16,0 @@ arrowFunctionExpression,

@@ -20,3 +20,3 @@ "use strict";

exports.getSibling = getSibling;
var _index = require("./index");
var _index = require("./index.js");
var _t = require("@babel/types");

@@ -23,0 +23,0 @@ const {

@@ -7,22 +7,22 @@ "use strict";

exports.default = exports.SHOULD_STOP = exports.SHOULD_SKIP = exports.REMOVED = void 0;
var virtualTypes = require("./lib/virtual-types");
var virtualTypes = require("./lib/virtual-types.js");
var _debug = require("debug");
var _index = require("../index");
var _scope = require("../scope");
var _index = require("../index.js");
var _index2 = require("../scope/index.js");
var _t = require("@babel/types");
var t = _t;
var cache = require("../cache");
var cache = require("../cache.js");
var _generator = require("@babel/generator");
var NodePath_ancestry = require("./ancestry");
var NodePath_inference = require("./inference");
var NodePath_replacement = require("./replacement");
var NodePath_evaluation = require("./evaluation");
var NodePath_conversion = require("./conversion");
var NodePath_introspection = require("./introspection");
var NodePath_context = require("./context");
var NodePath_removal = require("./removal");
var NodePath_modification = require("./modification");
var NodePath_family = require("./family");
var NodePath_comments = require("./comments");
var NodePath_virtual_types_validator = require("./lib/virtual-types-validator");
var NodePath_ancestry = require("./ancestry.js");
var NodePath_inference = require("./inference/index.js");
var NodePath_replacement = require("./replacement.js");
var NodePath_evaluation = require("./evaluation.js");
var NodePath_conversion = require("./conversion.js");
var NodePath_introspection = require("./introspection.js");
var NodePath_context = require("./context.js");
var NodePath_removal = require("./removal.js");
var NodePath_modification = require("./modification.js");
var NodePath_family = require("./family.js");
var NodePath_comments = require("./comments.js");
var NodePath_virtual_types_validator = require("./lib/virtual-types-validator.js");
const {

@@ -82,3 +82,3 @@ validate

getScope(scope) {
return this.isScope() ? new _scope.default(this) : scope;
return this.isScope() ? new _index2.default(this) : scope;
}

@@ -85,0 +85,0 @@ setData(key, val) {

@@ -12,3 +12,3 @@ "use strict";

exports.isGenericType = isGenericType;
var inferers = require("./inferers");
var inferers = require("./inferers.js");
var _t = require("@babel/types");

@@ -15,0 +15,0 @@ const {

@@ -8,3 +8,3 @@ "use strict";

var _t = require("@babel/types");
var _util = require("./util");
var _util = require("./util.js");
const {

@@ -11,0 +11,0 @@ BOOLEAN_NUMBER_BINARY_OPERATORS,

@@ -38,4 +38,4 @@ "use strict";

var _t = require("@babel/types");
var _infererReference = require("./inferer-reference");
var _util = require("./util");
var _infererReference = require("./inferer-reference.js");
var _util = require("./util.js");
const {

@@ -42,0 +42,0 @@ BOOLEAN_BINARY_OPERATORS,

@@ -16,5 +16,5 @@ "use strict";

exports.updateSiblingKeys = updateSiblingKeys;
var _cache = require("../cache");
var _hoister = require("./lib/hoister");
var _index = require("./index");
var _cache = require("../cache.js");
var _hoister = require("./lib/hoister.js");
var _index = require("./index.js");
var _t = require("@babel/types");

@@ -21,0 +21,0 @@ const {

@@ -12,5 +12,5 @@ "use strict";

exports.remove = remove;
var _removalHooks = require("./lib/removal-hooks");
var _cache = require("../cache");
var _index = require("./index");
var _removalHooks = require("./lib/removal-hooks.js");
var _cache = require("../cache.js");
var _index = require("./index.js");
function remove() {

@@ -17,0 +17,0 @@ var _this$opts;

@@ -13,5 +13,5 @@ "use strict";

var _codeFrame = require("@babel/code-frame");
var _index = require("../index");
var _index2 = require("./index");
var _cache = require("../cache");
var _index = require("../index.js");
var _index2 = require("./index.js");
var _cache = require("../cache.js");
var _parser = require("@babel/parser");

@@ -18,0 +18,0 @@ var _t = require("@babel/types");

@@ -7,10 +7,10 @@ "use strict";

exports.default = void 0;
var _renamer = require("./lib/renamer");
var _index = require("../index");
var _binding = require("./binding");
var _renamer = require("./lib/renamer.js");
var _index = require("../index.js");
var _binding = require("./binding.js");
var _globals = require("globals");
var _t = require("@babel/types");
var t = _t;
var _cache = require("../cache");
var _visitors = require("../visitors");
var _cache = require("../cache.js");
var _visitors = require("../visitors.js");
const {

@@ -17,0 +17,0 @@ NOT_LOCAL_BINDING,

@@ -10,4 +10,4 @@ "use strict";

var _helperEnvironmentVisitor = require("@babel/helper-environment-visitor");
var _traverseNode = require("../../traverse-node");
var _visitors = require("../../visitors");
var _traverseNode = require("../../traverse-node.js");
var _visitors = require("../../visitors.js");
const renameVisitor = {

@@ -14,0 +14,0 @@ ReferencedIdentifier({

@@ -7,3 +7,3 @@ "use strict";

exports.traverseNode = traverseNode;
var _context = require("./context");
var _context = require("./context.js");
var _t = require("@babel/types");

@@ -10,0 +10,0 @@ const {

@@ -10,3 +10,3 @@ "use strict";

exports.verify = verify;
var virtualTypes = require("./path/lib/virtual-types");
var virtualTypes = require("./path/lib/virtual-types.js");
var _t = require("@babel/types");

@@ -13,0 +13,0 @@ const {

{
"name": "@babel/traverse",
"version": "7.22.11",
"version": "7.22.15",
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes",

@@ -19,4 +19,4 @@ "author": "The Babel Team (https://babel.dev/team)",

"dependencies": {
"@babel/code-frame": "^7.22.10",
"@babel/generator": "^7.22.10",
"@babel/code-frame": "^7.22.13",
"@babel/generator": "^7.22.15",
"@babel/helper-environment-visitor": "^7.22.5",

@@ -26,4 +26,4 @@ "@babel/helper-function-name": "^7.22.5",

"@babel/helper-split-export-declaration": "^7.22.6",
"@babel/parser": "^7.22.11",
"@babel/types": "^7.22.11",
"@babel/parser": "^7.22.15",
"@babel/types": "^7.22.15",
"debug": "^4.1.0",

@@ -33,3 +33,3 @@ "globals": "^11.1.0"

"devDependencies": {
"@babel/core": "^7.22.11",
"@babel/core": "^7.22.15",
"@babel/helper-plugin-test-runner": "^7.22.5"

@@ -36,0 +36,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc