magicast @0.2.0
MIT
License
No
Install Scripts
3
Dependencies
9
Dev Dependencies
16.7 KB
Package Size
Published
Modify a JS/TS file and write back magically just like JSON!
Maintainers
pi0antfu
Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| recast | ^0.22.0 | auto_approved |
| @babel/types | ^7.21.4 | auto_approved |
| @babel/parser | ^7.21.4 | auto_approved |
Dev Dependencies (9)
| Package | Constraint | Registry Status |
|---|---|---|
| eslint | ^8.37.0 | auto_approved |
| vitest | ^0.29.8 | pending |
| unbuild | ^1.2.0 | pending |
| prettier | ^2.8.7 | auto_approved |
| typescript | ^5.0.3 | auto_approved |
| @types/node | ^18.15.11 | auto_approved |
| changelogen | ^0.5.2 | auto_approved |
| eslint-config-unjs | ^0.1.0 | Not imported |
| @vitest/coverage-c8 | ^0.29.8 | pending |
Transitive Dependency Tree
48 transitive deps
max depth 10
├─
@babel/parser
^7.21.4
→ 7.29.2
├─
@babel/types
^7.21.4
→ 7.29.0
├─
recast
^0.22.0
→ 0.22.0
├─
@babel/helper-string-parser
^7.27.1
→ 7.27.1
├─
@babel/helper-validator-identifier
^7.28.5
→ 7.28.5
├─
@babel/types
^7.29.0
→ 7.29.0
├─
assert
^2.0.0
→ 2.0.0
├─
ast-types
0.15.2
→ 0.15.2
├─
esprima
~4.0.0
→ 4.0.1
├─
source-map
~0.6.1
→ 0.6.1
├─
tslib
^2.0.1
→ 2.8.1
├─
@babel/helper-string-parser
^7.27.1
→ 7.27.1
├─
@babel/helper-validator-identifier
^7.28.5
→ 7.28.5
├─
es6-object-assign
^1.1.0
→ 1.1.0
├─
is-nan
^1.2.1
→ 1.3.2
├─
object-is
^1.0.1
→ 1.1.6
├─
tslib
^2.0.1
→ 2.8.1
├─
util
^0.12.0
→ 0.12.5
├─
call-bind
^1.0.0
→ 1.0.9
├─
call-bind
^1.0.7
→ 1.0.9
├─
define-properties
^1.1.3
→ 1.2.1
├─
define-properties
^1.2.1
→ 1.2.1
├─
inherits
^2.0.3
→ 2.0.4
├─
is-arguments
^1.0.4
├─
is-generator-function
^1.0.7
→ 1.1.2
├─
is-typed-array
^1.1.3
├─
which-typed-array
^1.1.2
→ 1.1.20
├─
available-typed-arrays
^1.0.7
→ 1.0.7
├─
call-bind
^1.0.8
→ 1.0.9
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.4
→ 1.0.4
├─
define-data-property
^1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
for-each
^0.3.5
→ 0.3.5
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
→ 1.0.1
├─
gopd
^1.2.0
├─
has-property-descriptors
^1.0.0
→ 1.0.2
├─
has-tostringtag
^1.0.2
→ 1.0.2
├─
object-keys
^1.1.1
→ 1.1.1
├─
safe-regex-test
^1.1.0
→ 1.1.0
├─
set-function-length
^1.2.2
→ 1.2.2
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.2
→ 1.0.4
├─
define-data-property
^1.1.4
├─
dunder-proto
^1.0.1
→ 1.0.1
├─
es-define-property
^1.0.0
→ 1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.0.0
→ 1.1.1
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
function-bind
^1.1.2
→ 1.1.2
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.2.4
→ 1.3.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
├─
gopd
^1.0.1
├─
gopd
^1.2.0
├─
has-property-descriptors
^1.0.2
→ 1.0.2
├─
has-symbols
^1.0.3
→ 1.1.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
hasown
^2.0.2
→ 2.0.3
├─
is-callable
^1.2.7
→ 1.2.7
├─
is-regex
^1.2.1
→ 1.2.1
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
possible-typed-array-names
^1.0.0
→ 1.1.0
├─
set-function-length
^1.2.2
→ 1.2.2
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
call-bind-apply-helpers
^1.0.1
→ 1.0.2
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
call-bound
^1.0.2
→ 1.0.4
├─
define-data-property
^1.1.4
├─
es-define-property
^1.0.0
→ 1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
function-bind
^1.1.2
→ 1.1.2
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.2.4
→ 1.3.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
├─
gopd
^1.0.1
├─
gopd
^1.2.0
├─
has-property-descriptors
^1.0.2
→ 1.0.2
├─
has-symbols
^1.1.0
→ 1.1.0
├─
has-tostringtag
^1.0.2
→ 1.0.2
├─
hasown
^2.0.2
→ 2.0.3
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
es-define-property
^1.0.0
→ 1.0.1
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
function-bind
^1.1.2
→ 1.1.2
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-intrinsic
^1.3.0
→ 1.3.1
├─
get-proto
^1.0.1
├─
gopd
^1.2.0
├─
has-symbols
^1.0.3
→ 1.1.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
hasown
^2.0.2
→ 2.0.3
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
async-function
^1.0.0
├─
async-generator-function
^1.0.0
→ 1.0.0
├─
call-bind-apply-helpers
^1.0.2
→ 1.0.2
├─
es-define-property
^1.0.1
→ 1.0.1
├─
es-errors
^1.3.0
→ 1.3.0
├─
es-object-atoms
^1.1.1
→ 1.1.1
├─
function-bind
^1.1.2
→ 1.1.2
├─
generator-function
^2.0.0
→ 2.0.1
├─
get-proto
^1.0.1
├─
gopd
^1.2.0
├─
has-symbols
^1.1.0
→ 1.1.0
├─
hasown
^2.0.2
→ 2.0.3
├─
math-intrinsics
^1.1.0
→ 1.1.0
├─
es-errors
^1.3.0
→ 1.3.0
├─
function-bind
^1.1.2
→ 1.1.2
Changes from v0.1.1
Dependency Changes
| Change | Package | Version |
|---|---|---|
| added | @babel/types | ^7.21.4 |
| removed | @types/estree | ^1.0.0 |
| changed | @babel/parser | ^7.20.15 → ^7.21.4 |
Script Changes
+ typecheckFile Changes
6 added
0 removed
5 modified
size delta: +42.4 KB
Commit: 510d4e3af223 Browse source
Published to npm: