webcrack
Version:
Deobfuscate, unminify and unpack bundled javascript
27 lines • 705 B
TypeScript
import type { NodePath } from '@babel/traverse';
import * as t from '@babel/types';
/**
* Merges object assignments into the object expression.
* Example:
* ```js
* const obj = {};
* obj.foo = 'bar';
* ```
* ->
* ```js
* const obj = { foo: 'bar' };
* ```
*/
declare const _default: {
name: string;
tags: "safe"[];
scope: true;
visitor: () => {
Program(this: import("../ast-utils").TransformState, path: NodePath<t.Program>): void;
VariableDeclaration: {
exit(this: import("../ast-utils").TransformState, path: NodePath<t.VariableDeclaration>): void;
};
};
};
export default _default;
//# sourceMappingURL=merge-object-assignments.d.ts.map