@atlaspack/compressor-brotli 2.13.7-canary.16 → 2.13.7-canary.161

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,140 @@
1
1
  # @atlaspack/compressor-brotli
2
2
 
3
+ ## 2.13.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/plugin@2.14.25
9
+
10
+ ## 2.13.26
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies []:
15
+ - @atlaspack/plugin@2.14.24
16
+
17
+ ## 2.13.25
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies []:
22
+ - @atlaspack/plugin@2.14.23
23
+
24
+ ## 2.13.24
25
+
26
+ ### Patch Changes
27
+
28
+ - [#720](https://github.com/atlassian-labs/atlaspack/pull/720) [`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94) Thanks [@alshdavid](https://github.com/alshdavid)! - Migrate to TypeScript
29
+
30
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94)]:
31
+ - @atlaspack/plugin@2.14.22
32
+
33
+ ## 2.13.23
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies []:
38
+ - @atlaspack/plugin@2.14.21
39
+
40
+ ## 2.13.22
41
+
42
+ ### Patch Changes
43
+
44
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa)]:
45
+ - @atlaspack/plugin@2.14.20
46
+
47
+ ## 2.13.21
48
+
49
+ ### Patch Changes
50
+
51
+ - Updated dependencies []:
52
+ - @atlaspack/plugin@2.14.19
53
+
54
+ ## 2.13.20
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies []:
59
+ - @atlaspack/plugin@2.14.18
60
+
61
+ ## 2.13.19
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies []:
66
+ - @atlaspack/plugin@2.14.17
67
+
68
+ ## 2.13.18
69
+
70
+ ### Patch Changes
71
+
72
+ - Updated dependencies []:
73
+ - @atlaspack/plugin@2.14.16
74
+
75
+ ## 2.13.17
76
+
77
+ ### Patch Changes
78
+
79
+ - Updated dependencies []:
80
+ - @atlaspack/plugin@2.14.15
81
+
82
+ ## 2.13.16
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies []:
87
+ - @atlaspack/plugin@2.14.14
88
+
89
+ ## 2.13.15
90
+
91
+ ### Patch Changes
92
+
93
+ - Updated dependencies []:
94
+ - @atlaspack/plugin@2.14.13
95
+
96
+ ## 2.13.14
97
+
98
+ ### Patch Changes
99
+
100
+ - Updated dependencies []:
101
+ - @atlaspack/plugin@2.14.12
102
+
103
+ ## 2.13.13
104
+
105
+ ### Patch Changes
106
+
107
+ - Updated dependencies []:
108
+ - @atlaspack/plugin@2.14.11
109
+
110
+ ## 2.13.12
111
+
112
+ ### Patch Changes
113
+
114
+ - Updated dependencies []:
115
+ - @atlaspack/plugin@2.14.10
116
+
117
+ ## 2.13.11
118
+
119
+ ### Patch Changes
120
+
121
+ - Updated dependencies []:
122
+ - @atlaspack/plugin@2.14.9
123
+
124
+ ## 2.13.10
125
+
126
+ ### Patch Changes
127
+
128
+ - Updated dependencies []:
129
+ - @atlaspack/plugin@2.14.8
130
+
131
+ ## 2.13.9
132
+
133
+ ### Patch Changes
134
+
135
+ - Updated dependencies []:
136
+ - @atlaspack/plugin@2.14.7
137
+
3
138
  ## 2.13.8
4
139
 
5
140
  ### Patch Changes
@@ -0,0 +1,3 @@
1
+ import { Compressor } from '@atlaspack/plugin';
2
+ declare const _default: Compressor;
3
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/compressor-brotli",
3
- "version": "2.13.7-canary.16+4b2b575b9",
3
+ "version": "2.13.7-canary.161+ee040bb64",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "type": "commonjs",
6
6
  "publishConfig": {
@@ -10,13 +10,18 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/atlassian-labs/atlaspack.git"
12
12
  },
13
- "main": "lib/BrotliCompressor.js",
14
- "source": "src/BrotliCompressor.js",
13
+ "main": "./lib/BrotliCompressor.js",
14
+ "source": "./src/BrotliCompressor.ts",
15
+ "types": "./lib/types/BrotliCompressor.d.ts",
15
16
  "engines": {
16
17
  "node": ">= 16.0.0"
17
18
  },
18
19
  "dependencies": {
19
- "@atlaspack/plugin": "2.14.5-canary.16+4b2b575b9"
20
+ "@atlaspack/plugin": "2.14.5-canary.161+ee040bb64"
20
21
  },
21
- "gitHead": "4b2b575b98951f2dcf0c45ed8e94359b23b43815"
22
+ "scripts": {
23
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src",
24
+ "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
25
+ },
26
+ "gitHead": "ee040bb6428f29b57d892ddd8107e29077d08ffd"
22
27
  }
@@ -1,8 +1,7 @@
1
- // @flow strict-local
2
1
  import {Compressor} from '@atlaspack/plugin';
3
2
  import zlib from 'zlib';
4
3
 
5
- export default (new Compressor({
4
+ export default new Compressor({
6
5
  compress({options, stream}) {
7
6
  if (options.mode !== 'production') {
8
7
  return null;
@@ -13,4 +12,4 @@ export default (new Compressor({
13
12
  type: 'br',
14
13
  };
15
14
  },
16
- }): Compressor);
15
+ }) as Compressor;
package/tsconfig.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "../../../tsconfig.json",
3
+ "include": ["src"]
4
+ }