@atlaspack/compressor-brotli 2.13.7-canary.17 → 2.13.7-canary.171

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,156 @@
1
1
  # @atlaspack/compressor-brotli
2
2
 
3
+ ## 2.13.29
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/plugin@2.14.27
9
+
10
+ ## 2.13.28
11
+
12
+ ### Patch Changes
13
+
14
+ - [#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
15
+
16
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd)]:
17
+ - @atlaspack/plugin@2.14.26
18
+
19
+ ## 2.13.27
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies []:
24
+ - @atlaspack/plugin@2.14.25
25
+
26
+ ## 2.13.26
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies []:
31
+ - @atlaspack/plugin@2.14.24
32
+
33
+ ## 2.13.25
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies []:
38
+ - @atlaspack/plugin@2.14.23
39
+
40
+ ## 2.13.24
41
+
42
+ ### Patch Changes
43
+
44
+ - [#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
45
+
46
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94)]:
47
+ - @atlaspack/plugin@2.14.22
48
+
49
+ ## 2.13.23
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies []:
54
+ - @atlaspack/plugin@2.14.21
55
+
56
+ ## 2.13.22
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa)]:
61
+ - @atlaspack/plugin@2.14.20
62
+
63
+ ## 2.13.21
64
+
65
+ ### Patch Changes
66
+
67
+ - Updated dependencies []:
68
+ - @atlaspack/plugin@2.14.19
69
+
70
+ ## 2.13.20
71
+
72
+ ### Patch Changes
73
+
74
+ - Updated dependencies []:
75
+ - @atlaspack/plugin@2.14.18
76
+
77
+ ## 2.13.19
78
+
79
+ ### Patch Changes
80
+
81
+ - Updated dependencies []:
82
+ - @atlaspack/plugin@2.14.17
83
+
84
+ ## 2.13.18
85
+
86
+ ### Patch Changes
87
+
88
+ - Updated dependencies []:
89
+ - @atlaspack/plugin@2.14.16
90
+
91
+ ## 2.13.17
92
+
93
+ ### Patch Changes
94
+
95
+ - Updated dependencies []:
96
+ - @atlaspack/plugin@2.14.15
97
+
98
+ ## 2.13.16
99
+
100
+ ### Patch Changes
101
+
102
+ - Updated dependencies []:
103
+ - @atlaspack/plugin@2.14.14
104
+
105
+ ## 2.13.15
106
+
107
+ ### Patch Changes
108
+
109
+ - Updated dependencies []:
110
+ - @atlaspack/plugin@2.14.13
111
+
112
+ ## 2.13.14
113
+
114
+ ### Patch Changes
115
+
116
+ - Updated dependencies []:
117
+ - @atlaspack/plugin@2.14.12
118
+
119
+ ## 2.13.13
120
+
121
+ ### Patch Changes
122
+
123
+ - Updated dependencies []:
124
+ - @atlaspack/plugin@2.14.11
125
+
126
+ ## 2.13.12
127
+
128
+ ### Patch Changes
129
+
130
+ - Updated dependencies []:
131
+ - @atlaspack/plugin@2.14.10
132
+
133
+ ## 2.13.11
134
+
135
+ ### Patch Changes
136
+
137
+ - Updated dependencies []:
138
+ - @atlaspack/plugin@2.14.9
139
+
140
+ ## 2.13.10
141
+
142
+ ### Patch Changes
143
+
144
+ - Updated dependencies []:
145
+ - @atlaspack/plugin@2.14.8
146
+
147
+ ## 2.13.9
148
+
149
+ ### Patch Changes
150
+
151
+ - Updated dependencies []:
152
+ - @atlaspack/plugin@2.14.7
153
+
3
154
  ## 2.13.8
4
155
 
5
156
  ### 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.17+a1773d2a6",
3
+ "version": "2.13.7-canary.171+f0349a6b9",
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.17+a1773d2a6"
20
+ "@atlaspack/plugin": "2.14.5-canary.171+f0349a6b9"
20
21
  },
21
- "gitHead": "a1773d2a62d0ef7805ac7524621dcabcc1afe929"
22
+ "scripts": {
23
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src",
24
+ "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
25
+ },
26
+ "gitHead": "f0349a6b9b04755088f121095ca6301a2ada3767"
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
+ }