@eik/sink-gcs 1.1.39 → 1.2.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/lib/main.js +6 -8
  3. package/package.json +13 -15
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ # [1.2.0](https://github.com/eik-lib/sink-gcs/compare/v1.1.42...v1.2.0) (2022-01-07)
2
+
3
+
4
+ ### Features
5
+
6
+ * Convert to ESM ([07a2ffc](https://github.com/eik-lib/sink-gcs/commit/07a2ffc50d9bb88dab27dd9c61d28a34ef22f4e4))
7
+
8
+ ## [1.1.42](https://github.com/eik-lib/sink-gcs/compare/v1.1.41...v1.1.42) (2021-12-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update dependency @google-cloud/storage to v5.16.1 ([bc26632](https://github.com/eik-lib/sink-gcs/commit/bc266323ee974b58691d5607ba9199532705e44f))
14
+
15
+ ## [1.1.41](https://github.com/eik-lib/sink-gcs/compare/v1.1.40...v1.1.41) (2021-11-10)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** update dependency @google-cloud/storage to v5.16.0 ([f4de81c](https://github.com/eik-lib/sink-gcs/commit/f4de81cc4d96e76e09064d170de990096637702a))
21
+
22
+ ## [1.1.40](https://github.com/eik-lib/sink-gcs/compare/v1.1.39...v1.1.40) (2021-11-04)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **deps:** update dependency @google-cloud/storage to v5.15.5 ([e774e9a](https://github.com/eik-lib/sink-gcs/commit/e774e9a1818982eb5515ce63aa37d20b0ab399d1))
28
+
1
29
  ## [1.1.39](https://github.com/eik-lib/sink-gcs/compare/v1.1.38...v1.1.39) (2021-11-01)
2
30
 
3
31
 
package/lib/main.js CHANGED
@@ -1,10 +1,8 @@
1
- 'use strict';
2
-
3
- const { Storage } = require('@google-cloud/storage');
4
- const { ReadFile } = require('@eik/common');
5
- const Metrics = require('@metrics/client');
6
- const Sink = require('@eik/sink');
7
- const path = require('path');
1
+ import { Storage } from '@google-cloud/storage';
2
+ import { ReadFile } from '@eik/common';
3
+ import Metrics from '@metrics/client';
4
+ import Sink from '@eik/sink';
5
+ import path from 'node:path';
8
6
 
9
7
  const DEFAULT_ROOT_PATH = 'eik';
10
8
  const DEFAULT_BUCKET = 'eik_files';
@@ -215,4 +213,4 @@ const SinkGCS = class SinkGCS extends Sink {
215
213
  return 'SinkGCS';
216
214
  }
217
215
  };
218
- module.exports = SinkGCS;
216
+ export default SinkGCS;
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@eik/sink-gcs",
3
- "version": "1.1.39",
3
+ "version": "1.2.0",
4
4
  "description": "Sink for Google Cloud Storage",
5
5
  "main": "lib/main",
6
+ "type": "module",
6
7
  "files": [
7
8
  "CHANGELOG.md",
8
9
  "package.json",
@@ -28,24 +29,21 @@
28
29
  "dependencies": {
29
30
  "@eik/common": "3.0.0",
30
31
  "@eik/sink": "1.1.0",
31
- "@google-cloud/storage": "5.15.4",
32
+ "@google-cloud/storage": "5.16.1",
32
33
  "@metrics/client": "^2.5.0"
33
34
  },
34
35
  "devDependencies": {
35
- "@semantic-release/changelog": "5.0.1",
36
- "@semantic-release/commit-analyzer": "8.0.1",
37
- "@semantic-release/git": "9.0.1",
38
- "@semantic-release/github": "7.2.3",
39
- "@semantic-release/npm": "7.1.3",
40
- "@semantic-release/release-notes-generator": "9.0.3",
41
- "eslint": "7.32.0",
42
- "eslint-config-airbnb-base": "14.2.1",
36
+ "@babel/eslint-parser": "7.16.5",
37
+ "@semantic-release/changelog": "6.0.1",
38
+ "@semantic-release/git": "10.0.1",
39
+ "eslint": "8.6.0",
40
+ "eslint-config-airbnb-base": "15.0.0",
43
41
  "eslint-config-prettier": "8.3.0",
44
- "eslint-plugin-import": "2.25.2",
45
- "eslint-plugin-prettier": "3.4.1",
46
- "prettier": "2.4.1",
47
- "semantic-release": "17.4.7",
48
- "tap": "15.0.10",
42
+ "eslint-plugin-import": "2.25.4",
43
+ "eslint-plugin-prettier": "4.0.0",
44
+ "prettier": "2.5.1",
45
+ "semantic-release": "18.0.1",
46
+ "tap": "15.1.5",
49
47
  "unique-slug": "2.0.2"
50
48
  }
51
49
  }