ctx-core 5.36.0 → 5.36.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.
@@ -30,17 +30,6 @@ export class TextDecoderStream extends TransformStream {
30
30
  controller.enqueue(decoded)
31
31
  }
32
32
  },
33
- flush(controller) {
34
- // If {fatal: false} is in options (the default), then the final call to
35
- // decode() can produce extra output (usually the unicode replacement
36
- // character 0xFFFD). When fatal is true, this call is just used for its
37
- // side-effect of throwing a TypeError exception if the input is
38
- // incomplete.
39
- const output = decoder.decode()
40
- if (output.length > 0) {
41
- controller.enqueue(output)
42
- }
43
- }
44
33
  })
45
34
  this.encoding = encoding
46
35
  this.fatal = fatal
@@ -23,17 +23,6 @@ export class TextEncoderStream extends TransformStream {
23
23
  controller.enqueue(encoded)
24
24
  }
25
25
  },
26
- flush(controller) {
27
- // If {fatal: false} is in options (the default), then the final call to
28
- // decode() can produce extra output (usually the unicode replacement
29
- // character 0xFFFD). When fatal is true, this call is just used for its
30
- // side-effect of throwing a TypeError exception if the input is
31
- // incomplete.
32
- const output = decoder.encode()
33
- if (output.length > 0) {
34
- controller.enqueue(output)
35
- }
36
- }
37
26
  })
38
27
  }
39
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctx-core",
3
- "version": "5.36.0",
3
+ "version": "5.36.2",
4
4
  "description": "ctx-core core library",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -296,7 +296,7 @@
296
296
  "@ctx-core/preprocess": "^0.1.1",
297
297
  "@size-limit/preset-small-lib": "^11.0.2",
298
298
  "@types/jsdom": "^21.1.6",
299
- "@types/node": "^20.11.13",
299
+ "@types/node": "^20.11.14",
300
300
  "@types/sinon": "^17.0.3",
301
301
  "c8": "^9.1.0",
302
302
  "check-dts": "^0.7.2",