kind-adt 0.2.2 → 0.2.3

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -497,7 +497,7 @@ export const PipeableProto = {
497
497
  },
498
498
  };
499
499
 
500
- export const PipeableFunctionProto = { ...PipeableProto };
500
+ export const PipeableFunctionProto = Object.assign({}, PipeableProto);
501
501
  Object.setPrototypeOf(PipeableFunctionProto, Function.prototype);
502
502
 
503
503
  export const ADTProto = Object.create(PipeableProto);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kind-adt",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "🪴 The kind of ADTs you can count on in TypeScript",
5
5
  "keywords": [
6
6
  "typescript",
@@ -21,6 +21,7 @@
21
21
  },
22
22
  "license": "MPL-2.0",
23
23
  "author": "Ge Gao (Snowflyt) <gaoge011022@gmail.com>",
24
+ "sideEffects": false,
24
25
  "type": "module",
25
26
  "main": "./index.js",
26
27
  "module": "./index.js",