@atlaskit/codemod-utils
Advanced tools
Comparing version
# @atlaskit/codemod-utils | ||
## 3.2.2 | ||
### Patch Changes | ||
- [`dc04275805a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc04275805a) - Update types of API addCommentBefore | ||
## 3.2.1 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@atlaskit/codemod-utils", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/codemod-utils", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/codemod-utils", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"sideEffects": false | ||
} |
@@ -1,2 +0,2 @@ | ||
import core, { ASTPath, CallExpression, ImportDeclaration, ImportDefaultSpecifier, ImportSpecifier, Program, VariableDeclarator } from 'jscodeshift'; | ||
import core, { ASTPath, CallExpression, ImportDeclaration, ImportDefaultSpecifier, ImportSpecifier, JSXElement, Program, VariableDeclarator } from 'jscodeshift'; | ||
import { Collection } from 'jscodeshift/src/Collection'; | ||
@@ -10,3 +10,3 @@ declare function getNamedSpecifier(j: core.JSCodeshift, source: Collection<Node>, specifier: string, importName: string): string | null; | ||
}) => void; | ||
declare function addCommentBefore(j: core.JSCodeshift, target: Collection<Program> | Collection<ImportDeclaration> | Collection<CallExpression> | Collection<VariableDeclarator>, message: string, commentType?: 'block' | 'line', messagePrefix?: string): void; | ||
declare function addCommentBefore(j: core.JSCodeshift, target: Collection<Program> | Collection<ImportDeclaration> | Collection<JSXElement> | Collection<CallExpression> | Collection<VariableDeclarator>, message: string, commentType?: 'block' | 'line', messagePrefix?: string): void; | ||
declare const getDefaultSpecifier: (j: core.JSCodeshift, source: Collection<Node>, specifier: string) => string | null; | ||
@@ -13,0 +13,0 @@ declare const getJSXAttributesByName: any; |
{ | ||
"name": "@atlaskit/codemod-utils", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"author": "Atlassian Pty Ltd", | ||
@@ -32,3 +32,3 @@ "license": "Apache-2.0", | ||
"@types/jscodeshift": "^0.11.0", | ||
"jscodeshift": "^0.11.0", | ||
"jscodeshift": "^0.13.0", | ||
"typescript": "3.9.6" | ||
@@ -35,0 +35,0 @@ }, |
73729
0.27%1406
0.07%