cdktn 0.23.1 → 0.23.2
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/.jsii +1560 -1559
- package/.spec.swcrc +22 -0
- package/jest.config.js +18 -15
- package/lib/_tokens.js +1 -1
- package/lib/annotations.js +2 -2
- package/lib/app.js +2 -2
- package/lib/aspect.js +2 -2
- package/lib/backends/azurerm-backend.js +3 -3
- package/lib/backends/cloud-backend.js +5 -5
- package/lib/backends/consul-backend.js +3 -3
- package/lib/backends/cos-backend.js +3 -3
- package/lib/backends/gcs-backend.js +3 -3
- package/lib/backends/http-backend.js +3 -3
- package/lib/backends/index.js +1 -1
- package/lib/backends/local-backend.js +3 -3
- package/lib/backends/oss-backend.js +3 -3
- package/lib/backends/pg-backend.js +3 -3
- package/lib/backends/remote-backend.js +5 -5
- package/lib/backends/s3-backend.js +3 -3
- package/lib/backends/swift-backend.js +3 -3
- package/lib/complex-computed-list.js +24 -24
- package/lib/errors.js +1 -1
- package/lib/features.js +1 -1
- package/lib/functions/helpers.js +1 -1
- package/lib/functions/terraform-functions.generated.js +2 -2
- package/lib/hcl/render.js +1 -1
- package/lib/importable-resource.js +2 -2
- package/lib/index.js +1 -1
- package/lib/manifest.js +2 -2
- package/lib/private/fs.d.ts +20 -5
- package/lib/private/fs.js +43 -69
- package/lib/private/unique.js +1 -1
- package/lib/resource.js +2 -2
- package/lib/runtime.js +1 -1
- package/lib/synthesize/index.js +1 -1
- package/lib/synthesize/synthesizer.js +1 -1
- package/lib/synthesize/types.js +1 -1
- package/lib/terraform-addressable.js +1 -1
- package/lib/terraform-asset.js +2 -2
- package/lib/terraform-backend.js +2 -2
- package/lib/terraform-conditions.js +1 -1
- package/lib/terraform-count.js +2 -2
- package/lib/terraform-data-resource.js +2 -2
- package/lib/terraform-data-source.js +2 -2
- package/lib/terraform-dependable.js +1 -1
- package/lib/terraform-dynamic-block.js +1 -1
- package/lib/terraform-dynamic-expression.js +1 -1
- package/lib/terraform-element.js +2 -2
- package/lib/terraform-functions.js +2 -2
- package/lib/terraform-hcl-module.js +2 -2
- package/lib/terraform-iterator.js +6 -6
- package/lib/terraform-local.js +2 -2
- package/lib/terraform-module-asset.js +1 -1
- package/lib/terraform-module.js +2 -2
- package/lib/terraform-operators.js +2 -2
- package/lib/terraform-output.js +2 -2
- package/lib/terraform-provider.js +2 -2
- package/lib/terraform-provisioner.js +2 -2
- package/lib/terraform-remote-state.js +2 -2
- package/lib/terraform-resource-targets.js +2 -2
- package/lib/terraform-resource.js +2 -2
- package/lib/terraform-stack.js +2 -2
- package/lib/terraform-variable.js +3 -3
- package/lib/testing/adapters/jest.js +1 -1
- package/lib/testing/index.js +2 -2
- package/lib/testing/matchers.js +2 -2
- package/lib/tfExpression.js +1 -1
- package/lib/tokens/index.js +1 -1
- package/lib/tokens/lazy.js +3 -3
- package/lib/tokens/private/dependency.js +1 -1
- package/lib/tokens/private/encoding.js +1 -1
- package/lib/tokens/private/intrinsic.js +1 -1
- package/lib/tokens/private/resolve.js +1 -1
- package/lib/tokens/private/stack-trace.js +1 -1
- package/lib/tokens/private/token-map.js +1 -1
- package/lib/tokens/private/uniqueid.js +1 -1
- package/lib/tokens/resolvable.js +3 -3
- package/lib/tokens/string-fragments.js +2 -2
- package/lib/tokens/token.js +3 -3
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib/upgrade-id-aspect.js +2 -2
- package/lib/util.js +1 -1
- package/lib/validateEnvironment.js +1 -1
- package/lib/validations/index.js +1 -1
- package/lib/validations/validate-binary-version.js +1 -1
- package/lib/validations/validate-provider-presence.js +1 -1
- package/lib/validations/validate-terraform-version.js +1 -1
- package/node_modules/fflate/CHANGELOG.md +115 -0
- package/node_modules/{yazl → fflate}/LICENSE +3 -3
- package/node_modules/fflate/README.md +558 -0
- package/node_modules/fflate/esm/browser.d.ts +1501 -0
- package/node_modules/fflate/esm/browser.js +2665 -0
- package/node_modules/fflate/esm/index.d.mts +1501 -0
- package/node_modules/fflate/esm/index.mjs +2679 -0
- package/node_modules/fflate/lib/browser.cjs +2688 -0
- package/node_modules/fflate/lib/browser.d.cts +1501 -0
- package/node_modules/fflate/lib/index.cjs +2668 -0
- package/node_modules/fflate/lib/index.d.ts +1501 -0
- package/node_modules/fflate/lib/node-worker.cjs +32 -0
- package/node_modules/fflate/lib/node.cjs +2700 -0
- package/node_modules/fflate/lib/node.d.cts +1501 -0
- package/node_modules/fflate/lib/worker.cjs +20 -0
- package/node_modules/fflate/package.json +127 -0
- package/node_modules/fflate/umd/index.js +1 -0
- package/package.json +17 -10
- package/tsconfig.json +6 -3
- package/tsconfig.test.json +12 -0
- package/lib/testing/__tests__/matchers.test.d.ts +0 -1
- package/lib/testing/__tests__/matchers.test.js +0 -205
- package/lib/testing/adapters/__tests__/index.test.d.ts +0 -1
- package/lib/testing/adapters/__tests__/index.test.js +0 -67
- package/lib/testing/adapters/__tests__/jest.test.d.ts +0 -1
- package/lib/testing/adapters/__tests__/jest.test.js +0 -41
- package/node_modules/buffer-crc32/LICENSE +0 -19
- package/node_modules/buffer-crc32/README.md +0 -55
- package/node_modules/buffer-crc32/dist/index.cjs +0 -306
- package/node_modules/buffer-crc32/dist/index.d.cts +0 -35
- package/node_modules/buffer-crc32/dist/index.d.mts +0 -35
- package/node_modules/buffer-crc32/dist/index.mjs +0 -304
- package/node_modules/buffer-crc32/index.d.ts +0 -35
- package/node_modules/buffer-crc32/package.json +0 -54
- package/node_modules/yazl/README.md +0 -457
- package/node_modules/yazl/index.js +0 -826
- package/node_modules/yazl/package.json +0 -34
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
## 0.8.2
|
|
2
|
+
- Fixed broken UMD build
|
|
3
|
+
- Fixed edge-case causing skipped data during streaming compression
|
|
4
|
+
- Fixed bug in GZIP streaming on member boundary
|
|
5
|
+
- Improved streaming performance on inconsistent chunk sizes
|
|
6
|
+
- Improved `unzip` performance on undercompressed archives
|
|
7
|
+
- Added flushing support into streaming API
|
|
8
|
+
- Added backpressure support into async streaming API
|
|
9
|
+
- Use new `ondrain` handler and `queuedSize`
|
|
10
|
+
## 0.8.1
|
|
11
|
+
- Fixed reallocating on pre-supplied buffer in `inflateSync` and `unzlibSync`
|
|
12
|
+
- Minor documentation fixes
|
|
13
|
+
## 0.8.0
|
|
14
|
+
- BREAKING: synchronous decompression functions now take an options object rather than an output buffer as a second parameter
|
|
15
|
+
- `inflateSync(compressed, outBuf)` is now `inflateSync(compressed, { out: outBuf })`
|
|
16
|
+
- Support dictionaries in compression and decompression
|
|
17
|
+
- Support multi-member files in GZIP streaming decompression
|
|
18
|
+
- Dramatically improved streaming performance
|
|
19
|
+
- Fixed missing error on certain malformed GZIP files
|
|
20
|
+
## 0.7.3
|
|
21
|
+
- Fix folder creation for certain operating system
|
|
22
|
+
- Create 0-length "files" for each directory specified with "object" syntax"
|
|
23
|
+
- Support empty folders
|
|
24
|
+
- Add options for folders
|
|
25
|
+
- Fix minification in SWC
|
|
26
|
+
- Remove instanceof, no-whitespace assumptions in async functions
|
|
27
|
+
## 0.7.2
|
|
28
|
+
- Fixed TypeScript typing for errors when using `strictNullChecks`
|
|
29
|
+
- Fixed failure to compress files above 64kB with `{ level: 0 }`
|
|
30
|
+
- Fixed AMD module definition in UMD build
|
|
31
|
+
## 0.7.1
|
|
32
|
+
- Removed requirement for `setTimeout`
|
|
33
|
+
- Added support for unzip file filters (thanks to [@manucorporat](https://github.com/manucorporat): #67)
|
|
34
|
+
- Fixed streaming gunzip and unzlib bug causing corruption
|
|
35
|
+
## 0.7.0
|
|
36
|
+
- Improved errors
|
|
37
|
+
- Now errors are error objects instead of strings
|
|
38
|
+
- Check the error code to apply custom logic based on error type
|
|
39
|
+
- Made async operations always call callbacks asynchronously
|
|
40
|
+
- Fixed bug that caused errors to not appear in asynchronous operations in browsers
|
|
41
|
+
## 0.6.10
|
|
42
|
+
- Fixed async operations on Node.js with native ESM
|
|
43
|
+
## 0.6.5
|
|
44
|
+
- Fixed streams not recognizing final chunk
|
|
45
|
+
- Fixed streaming UTF-8 decoder bug
|
|
46
|
+
## 0.6.4
|
|
47
|
+
- Made streaming inflate consume all data possible
|
|
48
|
+
- Optimized use of values near 32-bit boundary
|
|
49
|
+
## 0.6.3
|
|
50
|
+
- Patch exports of async functions
|
|
51
|
+
- Fix streaming unzip
|
|
52
|
+
## 0.6.2
|
|
53
|
+
- Replace Adler-32 implementation (used in Zlib compression) with one more optimized for V8
|
|
54
|
+
- Advice from @SheetJSDev
|
|
55
|
+
- Add support for extra fields, file comments in ZIP files
|
|
56
|
+
- Work on Rust version
|
|
57
|
+
## 0.6.0
|
|
58
|
+
- Revamped streaming unzip for compatibility and performance improvements
|
|
59
|
+
- Fixed streaming data bugs
|
|
60
|
+
- Fixed inflation errors
|
|
61
|
+
- Planned new tests
|
|
62
|
+
## 0.5.2
|
|
63
|
+
- General bugfixes
|
|
64
|
+
## 0.5.0
|
|
65
|
+
- Add streaming zip, unzip
|
|
66
|
+
- Fix import issues with certain environments
|
|
67
|
+
- If you had problems with `worker_threads` being included in your bundle, try updating!
|
|
68
|
+
## 0.4.8
|
|
69
|
+
- Support strict Content Security Policy
|
|
70
|
+
- Remove `new Function`
|
|
71
|
+
## 0.4.7
|
|
72
|
+
- Fix data streaming bugs
|
|
73
|
+
## 0.4.5
|
|
74
|
+
- Zip64 support
|
|
75
|
+
- Still not possible to have above 4GB files
|
|
76
|
+
## 0.4.4
|
|
77
|
+
- Files up to 4GB supported
|
|
78
|
+
- Hey, that's better than even Node.js `zlib`!
|
|
79
|
+
## 0.4.1
|
|
80
|
+
- Fix ZIP failure bug
|
|
81
|
+
- Make ZIP options work better
|
|
82
|
+
- Improve docs
|
|
83
|
+
- Fix async inflate failure
|
|
84
|
+
- Work on Rust version
|
|
85
|
+
## 0.3.11
|
|
86
|
+
- Fix docs
|
|
87
|
+
## 0.3.9
|
|
88
|
+
- Fixed issue with unzipping
|
|
89
|
+
## 0.3.7
|
|
90
|
+
- Patched streaming compression bugs
|
|
91
|
+
- Added demo page
|
|
92
|
+
## 0.3.6
|
|
93
|
+
- Allowed true ESM imports
|
|
94
|
+
## 0.3.4
|
|
95
|
+
- Fixed rare overflow bug causing corruption
|
|
96
|
+
- Added async stream termination
|
|
97
|
+
- Added UMD bundle
|
|
98
|
+
## 0.3.0
|
|
99
|
+
- Added support for asynchronous and synchronous streaming
|
|
100
|
+
- Reduced bundle size by autogenerating worker code, even in minified environments
|
|
101
|
+
- Error detection rather than hanging
|
|
102
|
+
- Improved performance
|
|
103
|
+
## 0.2.3
|
|
104
|
+
- Improved Zlib autodetection
|
|
105
|
+
## 0.2.2
|
|
106
|
+
- Fixed Node Worker
|
|
107
|
+
## 0.2.1
|
|
108
|
+
- Fixed ZIP bug
|
|
109
|
+
## 0.2.0
|
|
110
|
+
- Added support for ZIP files (parallelized)
|
|
111
|
+
- Added ability to terminate running asynchronous operations
|
|
112
|
+
## 0.1.0
|
|
113
|
+
- Rewrote API: added support for asynchronous (Worker) compression/decompression, fixed critical bug involving fixed Huffman trees
|
|
114
|
+
## 0.0.1
|
|
115
|
+
- Created, works on basic input
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2023 Arjun Barrett
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|