carlin 1.24.2 → 1.26.0

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/dist/deploy/s3.js CHANGED
@@ -5,8 +5,8 @@ const tslib_1 = require("tslib");
5
5
  /* eslint-disable no-restricted-syntax */
6
6
  /* eslint-disable no-await-in-loop */
7
7
  const aws_sdk_1 = require("aws-sdk");
8
+ const glob_1 = require("glob");
8
9
  const fs_1 = tslib_1.__importDefault(require("fs"));
9
- const glob_1 = tslib_1.__importDefault(require("glob"));
10
10
  const npmlog_1 = tslib_1.__importDefault(require("npmlog"));
11
11
  const mime_types_1 = tslib_1.__importDefault(require("mime-types"));
12
12
  const path_1 = tslib_1.__importDefault(require("path"));
@@ -49,11 +49,7 @@ exports.uploadFileToS3 = uploadFileToS3;
49
49
  * Get all files inside $directory.
50
50
  */
51
51
  const getAllFilesInsideADirectory = async ({ directory, }) => {
52
- const allFilesAndDirectories = await new Promise((resolve, reject) => {
53
- (0, glob_1.default)(`${directory}/**/*`, (err, matches) => {
54
- return err ? reject(err) : resolve(matches);
55
- });
56
- });
52
+ const allFilesAndDirectories = await (0, glob_1.glob)(`${directory}/**/*`);
57
53
  const allFiles = allFilesAndDirectories
58
54
  /**
59
55
  * Remove directories.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carlin",
3
- "version": "1.24.2",
3
+ "version": "1.26.0",
4
4
  "description": "",
5
5
  "license": "GPL-3.0",
6
6
  "author": "Pedro Arantes <arantespp@gmail.com> (https://twitter.com/arantespp)",
@@ -29,17 +29,17 @@
29
29
  "@aws-sdk/client-cloudformation": "^3.279.0",
30
30
  "@octokit/webhooks": "^10.7.0",
31
31
  "@slack/webhook": "^6.1.0",
32
- "@ttoss/cloudformation": "^0.6.2",
32
+ "@ttoss/cloudformation": "^0.6.3",
33
33
  "adm-zip": "^0.5.10",
34
34
  "aws-sdk": "^2.1323.0",
35
35
  "builtin-modules": "^3.3.0",
36
36
  "change-case": "^4.1.2",
37
37
  "deep-equal": "^2.2.0",
38
- "deepmerge": "^4.3.0",
38
+ "deepmerge": "^4.3.1",
39
39
  "dotenv": "^16.0.3",
40
40
  "esbuild": "^0.17.10",
41
41
  "findup-sync": "^5.0.0",
42
- "glob": "^8.1.0",
42
+ "glob": "^9.3.0",
43
43
  "js-yaml": "^4.1.0",
44
44
  "mime-types": "^2.1.35",
45
45
  "npmlog": "^7.0.1",
@@ -51,7 +51,7 @@
51
51
  "yargs": "^17.7.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@ttoss/test-utils": "^1.20.6",
54
+ "@ttoss/test-utils": "^1.20.7",
55
55
  "@types/adm-zip": "^0.5.0",
56
56
  "@types/aws-lambda": "^8.10.111",
57
57
  "@types/deep-equal": "^1.0.1",
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "2f241b7126c460eeaea3eba6445aa139411d4b19"
74
+ "gitHead": "2dc5f62e02ab8c901d6bb603024488b6aa3dda2b"
75
75
  }