@atlaskit/codemod-cli 0.9.3 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/codemod-cli
2
2
 
3
+ ## 0.9.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
8
+
9
+ ## 0.9.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
14
+
15
+ ## 0.9.4
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 0.9.3
4
22
 
5
23
  ### Patch Changes
package/dist/cjs/main.js CHANGED
@@ -387,7 +387,7 @@ function _main() {
387
387
  case 4:
388
388
  _yield$parseArgs = _context5.sent;
389
389
  packages = _yield$parseArgs.packages;
390
- _process$env$_PACKAGE = "0.9.3", _PACKAGE_VERSION_ = _process$env$_PACKAGE === void 0 ? '0.0.0-dev' : _process$env$_PACKAGE;
390
+ _process$env$_PACKAGE = "0.9.6", _PACKAGE_VERSION_ = _process$env$_PACKAGE === void 0 ? '0.0.0-dev' : _process$env$_PACKAGE;
391
391
  logger.log(_chalk.default.bgBlue(_chalk.default.black("\uD83D\uDCDA Atlassian-Frontend codemod library @ ".concat(_PACKAGE_VERSION_, " \uD83D\uDCDA"))));
392
392
 
393
393
  if (packages && packages.length > 0) {
package/dist/cjs/utils.js CHANGED
@@ -57,6 +57,8 @@ var fixLineEnding = function fixLineEnding(source, lineEnding) {
57
57
  if (current && regexLineEnding && regexCurrentLineEnding) {
58
58
  return source.replace(new RegExp(regexCurrentLineEnding, 'g'), regexLineEnding);
59
59
  }
60
+
61
+ return source;
60
62
  };
61
63
 
62
64
  exports.fixLineEnding = fixLineEnding;
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/codemod-cli",
3
- "version": "0.9.3"
3
+ "version": "0.9.6"
4
4
  }
@@ -50,4 +50,6 @@ export const fixLineEnding = (source, lineEnding) => {
50
50
  if (current && regexLineEnding && regexCurrentLineEnding) {
51
51
  return source.replace(new RegExp(regexCurrentLineEnding, 'g'), regexLineEnding);
52
52
  }
53
+
54
+ return source;
53
55
  };
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/codemod-cli",
3
- "version": "0.9.3"
3
+ "version": "0.9.6"
4
4
  }
package/dist/esm/main.js CHANGED
@@ -364,7 +364,7 @@ function _main() {
364
364
  case 4:
365
365
  _yield$parseArgs = _context5.sent;
366
366
  packages = _yield$parseArgs.packages;
367
- _process$env$_PACKAGE = "0.9.3", _PACKAGE_VERSION_ = _process$env$_PACKAGE === void 0 ? '0.0.0-dev' : _process$env$_PACKAGE;
367
+ _process$env$_PACKAGE = "0.9.6", _PACKAGE_VERSION_ = _process$env$_PACKAGE === void 0 ? '0.0.0-dev' : _process$env$_PACKAGE;
368
368
  logger.log(chalk.bgBlue(chalk.black("\uD83D\uDCDA Atlassian-Frontend codemod library @ ".concat(_PACKAGE_VERSION_, " \uD83D\uDCDA"))));
369
369
 
370
370
  if (packages && packages.length > 0) {
package/dist/esm/utils.js CHANGED
@@ -50,4 +50,6 @@ export var fixLineEnding = function fixLineEnding(source, lineEnding) {
50
50
  if (current && regexLineEnding && regexCurrentLineEnding) {
51
51
  return source.replace(new RegExp(regexCurrentLineEnding, 'g'), regexLineEnding);
52
52
  }
53
+
54
+ return source;
53
55
  };
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/codemod-cli",
3
- "version": "0.9.3"
3
+ "version": "0.9.6"
4
4
  }
@@ -1 +1 @@
1
- export declare const fixLineEnding: (source: string, lineEnding: string) => string | undefined;
1
+ export declare const fixLineEnding: (source: string, lineEnding: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/codemod-cli",
3
- "version": "0.9.3",
3
+ "version": "0.9.6",
4
4
  "description": "A cli for distributing codemods for atlassian-frontend components and services",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,7 +24,7 @@
24
24
  "codemod-cli": "./bin/codemod-cli.js"
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/tokens": "^0.8.0",
27
+ "@atlaskit/tokens": "^0.9.0",
28
28
  "@babel/runtime": "^7.0.0",
29
29
  "@types/chalk": "^2.2.0",
30
30
  "@types/jscodeshift": "^0.11.0",
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/docs": "*",
42
42
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
43
43
  "ts-node": "^10.0.0",
44
- "typescript": "3.9.10"
44
+ "typescript": "4.2.4"
45
45
  },
46
46
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
47
47
  }