🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

ast-walker-scope

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ast-walker-scope - npm Package Compare versions

Comparing version
0.8.1
to
0.8.2
+0
-3
dist/index.d.ts

@@ -29,3 +29,2 @@ import { ParseResult, ParserPlugin } from "@babel/parser";

}
//#endregion

@@ -39,3 +38,2 @@ //#region src/utils/babel.d.ts

declare function walkNewIdentifier(node: Node, register: (id: Identifier) => void): void;
//#endregion

@@ -54,4 +52,3 @@ //#region src/index.d.ts

declare function getRootScope(nodes: Node[]): Scope;
//#endregion
export { ParseOptions, Scope, ScopeContext, WalkerContext, WalkerHooks, babelParse, extractIdentifiers, getRootScope, isNewScope, walk, walkAST, walkFunctionParams, walkNewIdentifier, walkVariableDeclaration };
+16
-16
{
"name": "ast-walker-scope",
"version": "0.8.1",
"version": "0.8.2",
"description": "Traverse Babel AST with scope information.",

@@ -31,19 +31,19 @@ "type": "module",

"dependencies": {
"@babel/parser": "^7.27.2",
"ast-kit": "^2.0.0"
"@babel/parser": "^7.28.3",
"ast-kit": "^2.1.2"
},
"devDependencies": {
"@babel/types": "^7.27.1",
"@sxzz/eslint-config": "^7.0.0",
"@sxzz/prettier-config": "^2.2.1",
"@types/node": "^22.15.17",
"bumpp": "^10.1.0",
"eslint": "^9.26.0",
"@babel/types": "^7.28.2",
"@sxzz/eslint-config": "^7.1.2",
"@sxzz/prettier-config": "^2.2.3",
"@types/node": "^24.3.0",
"bumpp": "^10.2.3",
"eslint": "^9.33.0",
"magic-string": "^0.30.17",
"prettier": "^3.5.3",
"tsdown": "^0.11.1",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"vitest": "^3.1.3"
"prettier": "^3.6.2",
"tsdown": "^0.14.1",
"tsx": "^4.20.4",
"typescript": "^5.9.2",
"vite": "^7.1.2",
"vitest": "^3.2.4"
},

@@ -60,4 +60,4 @@ "engines": {

"typecheck": "tsc --noEmit",
"release": "bumpp && pnpm publish"
"release": "bumpp"
}
}

@@ -1,4 +0,6 @@

# ast-walker-scope [![npm](https://img.shields.io/npm/v/ast-walker-scope.svg)](https://npmjs.com/package/ast-walker-scope)
# ast-walker-scope
[![Unit Test](https://github.com/sxzz/ast-walker-scope/actions/workflows/unit-test.yml/badge.svg)](https://github.com/sxzz/ast-walker-scope/actions/workflows/unit-test.yml)
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Unit Test][unit-test-src]][unit-test-href]

@@ -109,1 +111,10 @@ Traverse Babel AST with scope information.

[MIT](./LICENSE) License © 2022-PRESENT [三咲智子](https://github.com/sxzz)
<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/ast-walker-scope.svg
[npm-version-href]: https://npmjs.com/package/ast-walker-scope
[npm-downloads-src]: https://img.shields.io/npm/dm/ast-walker-scope
[npm-downloads-href]: https://www.npmcharts.com/compare/ast-walker-scope?interval=30
[unit-test-src]: https://github.com/sxzz/ast-walker-scope/actions/workflows/unit-test.yml/badge.svg
[unit-test-href]: https://github.com/sxzz/ast-walker-scope/actions/workflows/unit-test.yml