@bymax-one/nest-storage 1.0.4 → 1.0.5

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
@@ -8,6 +8,20 @@ The format follows [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [1.0.5] - 2026-08-06
12
+
13
+ **Published-artifact change, not a behavioural one.** `dist/` differs from `1.0.4` — this
14
+ bundler preserves comments and the source gained mutation-suppression notes — but no runtime
15
+ path changed. Measured by building both revisions and diffing the output.
16
+
17
+ ### Tests
18
+
19
+ - `configurable: false` on the withheld credentials accessor had nothing asserting it. That flag
20
+ is the guarantee behind every serialization assertion already in the suite: a configurable
21
+ accessor can be redefined back into a plain enumerable value by anything holding the object.
22
+ It is load-bearing in this package specifically — the sibling cache and queue packages freeze
23
+ their resolved options, which makes every property non-configurable anyway; this one does not.
24
+
11
25
  ## [1.0.4] - 2026-08-04
12
26
 
13
27
  ### Security
@@ -207,5 +221,6 @@ have regressed from. They are kept because the reasoning is worth having.
207
221
  [1.0.1]: https://github.com/bymaxone/nest-storage/compare/v1.0.0...v1.0.1
208
222
  [1.0.2]: https://github.com/bymaxone/nest-storage/compare/v1.0.1...v1.0.2
209
223
  [1.0.3]: https://github.com/bymaxone/nest-storage/compare/v1.0.2...v1.0.3
224
+ [1.0.5]: https://github.com/bymaxone/nest-storage/compare/v1.0.4...v1.0.5
210
225
  [1.0.4]: https://github.com/bymaxone/nest-storage/compare/v1.0.3...v1.0.4
211
226
  [Unreleased]: https://github.com/bymaxone/nest-storage/compare/v1.0.4...HEAD
@@ -153,7 +153,7 @@ function validateOptions(options) {
153
153
  var SLASH = "/";
154
154
  function trimTrailingSlashes(value) {
155
155
  let end = value.length;
156
- while (end > 0 && value[end - 1] === SLASH) {
156
+ while (value[end - 1] === SLASH) {
157
157
  end -= 1;
158
158
  }
159
159
  return end === value.length ? value : value.slice(0, end);
@@ -151,7 +151,7 @@ function validateOptions(options) {
151
151
  var SLASH = "/";
152
152
  function trimTrailingSlashes(value) {
153
153
  let end = value.length;
154
- while (end > 0 && value[end - 1] === SLASH) {
154
+ while (value[end - 1] === SLASH) {
155
155
  end -= 1;
156
156
  }
157
157
  return end === value.length ? value : value.slice(0, end);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bymax-one/nest-storage",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Provider-agnostic S3-compatible object storage for NestJS. Works with AWS S3, DigitalOcean Spaces, Cloudflare R2, Backblaze B2, MinIO, Wasabi.",
5
5
  "author": "Bymax One <support@bymax.one>",
6
6
  "license": "MIT",
@@ -125,20 +125,6 @@
125
125
  "typescript": "^5.9.3",
126
126
  "typescript-eslint": "^8.65.0"
127
127
  },
128
- "pnpm": {
129
- "overrides": {
130
- "brace-expansion@1": "^1.1.17",
131
- "brace-expansion@2": "^2.1.3",
132
- "brace-expansion@5": "^5.0.8",
133
- "esbuild": "0.28.1",
134
- "fast-uri": "^3.1.4",
135
- "multer": "2.2.0",
136
- "protobufjs": "^7.6.5",
137
- "qs": "6.15.2",
138
- "undici": "^8.9.0",
139
- "uuid": "11.1.1"
140
- }
141
- },
142
128
  "keywords": [
143
129
  "nestjs",
144
130
  "storage",
@@ -153,7 +139,7 @@
153
139
  "presigned-url",
154
140
  "multipart-upload"
155
141
  ],
156
- "packageManager": "pnpm@10.8.1",
142
+ "packageManager": "pnpm@11.20.0",
157
143
  "engines": {
158
144
  "node": ">=24.0.0"
159
145
  },