@atlaspack/compressor-brotli 2.13.7-canary.20 → 2.13.7-canary.200

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,179 @@
1
1
  # @atlaspack/compressor-brotli
2
2
 
3
+ ## 2.13.33
4
+
5
+ ### Patch Changes
6
+
7
+ - [#785](https://github.com/atlassian-labs/atlaspack/pull/785) [`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922) Thanks [@matt-koko](https://github.com/matt-koko)! - We need to re-publish every package in Atlaspack with the corrected types field.
8
+
9
+ - Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922)]:
10
+ - @atlaspack/plugin@2.14.31
11
+
12
+ ## 2.13.32
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies []:
17
+ - @atlaspack/plugin@2.14.30
18
+
19
+ ## 2.13.31
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies []:
24
+ - @atlaspack/plugin@2.14.29
25
+
26
+ ## 2.13.30
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies []:
31
+ - @atlaspack/plugin@2.14.28
32
+
33
+ ## 2.13.29
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies []:
38
+ - @atlaspack/plugin@2.14.27
39
+
40
+ ## 2.13.28
41
+
42
+ ### Patch Changes
43
+
44
+ - [#742](https://github.com/atlassian-labs/atlaspack/pull/742) [`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd) Thanks [@yamadapc](https://github.com/yamadapc)! - Internal changes and bug fixes to environmentDeduplication flag
45
+
46
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd)]:
47
+ - @atlaspack/plugin@2.14.26
48
+
49
+ ## 2.13.27
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies []:
54
+ - @atlaspack/plugin@2.14.25
55
+
56
+ ## 2.13.26
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies []:
61
+ - @atlaspack/plugin@2.14.24
62
+
63
+ ## 2.13.25
64
+
65
+ ### Patch Changes
66
+
67
+ - Updated dependencies []:
68
+ - @atlaspack/plugin@2.14.23
69
+
70
+ ## 2.13.24
71
+
72
+ ### Patch Changes
73
+
74
+ - [#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
75
+
76
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94)]:
77
+ - @atlaspack/plugin@2.14.22
78
+
79
+ ## 2.13.23
80
+
81
+ ### Patch Changes
82
+
83
+ - Updated dependencies []:
84
+ - @atlaspack/plugin@2.14.21
85
+
86
+ ## 2.13.22
87
+
88
+ ### Patch Changes
89
+
90
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa)]:
91
+ - @atlaspack/plugin@2.14.20
92
+
93
+ ## 2.13.21
94
+
95
+ ### Patch Changes
96
+
97
+ - Updated dependencies []:
98
+ - @atlaspack/plugin@2.14.19
99
+
100
+ ## 2.13.20
101
+
102
+ ### Patch Changes
103
+
104
+ - Updated dependencies []:
105
+ - @atlaspack/plugin@2.14.18
106
+
107
+ ## 2.13.19
108
+
109
+ ### Patch Changes
110
+
111
+ - Updated dependencies []:
112
+ - @atlaspack/plugin@2.14.17
113
+
114
+ ## 2.13.18
115
+
116
+ ### Patch Changes
117
+
118
+ - Updated dependencies []:
119
+ - @atlaspack/plugin@2.14.16
120
+
121
+ ## 2.13.17
122
+
123
+ ### Patch Changes
124
+
125
+ - Updated dependencies []:
126
+ - @atlaspack/plugin@2.14.15
127
+
128
+ ## 2.13.16
129
+
130
+ ### Patch Changes
131
+
132
+ - Updated dependencies []:
133
+ - @atlaspack/plugin@2.14.14
134
+
135
+ ## 2.13.15
136
+
137
+ ### Patch Changes
138
+
139
+ - Updated dependencies []:
140
+ - @atlaspack/plugin@2.14.13
141
+
142
+ ## 2.13.14
143
+
144
+ ### Patch Changes
145
+
146
+ - Updated dependencies []:
147
+ - @atlaspack/plugin@2.14.12
148
+
149
+ ## 2.13.13
150
+
151
+ ### Patch Changes
152
+
153
+ - Updated dependencies []:
154
+ - @atlaspack/plugin@2.14.11
155
+
156
+ ## 2.13.12
157
+
158
+ ### Patch Changes
159
+
160
+ - Updated dependencies []:
161
+ - @atlaspack/plugin@2.14.10
162
+
163
+ ## 2.13.11
164
+
165
+ ### Patch Changes
166
+
167
+ - Updated dependencies []:
168
+ - @atlaspack/plugin@2.14.9
169
+
170
+ ## 2.13.10
171
+
172
+ ### Patch Changes
173
+
174
+ - Updated dependencies []:
175
+ - @atlaspack/plugin@2.14.8
176
+
3
177
  ## 2.13.9
4
178
 
5
179
  ### 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.20+30f60175b",
3
+ "version": "2.13.7-canary.200+10ee3fa5b",
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.20+30f60175b"
20
+ "@atlaspack/plugin": "2.14.5-canary.200+10ee3fa5b"
20
21
  },
21
- "gitHead": "30f60175ba4d272c5fc193973c63bc298584775b"
22
- }
22
+ "scripts": {
23
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src",
24
+ "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
25
+ },
26
+ "gitHead": "10ee3fa5b75a92acde8973673d9b3c5b6f3958e5"
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
+ }