scats 1.4.3 → 1.4.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.
@@ -42,7 +42,7 @@ export class ArrayBackedCollection extends ArrayIterable {
42
42
  return this.fromArray(this.items.concat([item]));
43
43
  }
44
44
  appendedAll(other) {
45
- return this.fromArray(this.items.concat(...other));
45
+ return this.fromArray(this.items.concat([...other]));
46
46
  }
47
47
  prepended(item) {
48
48
  return this.fromArray([item].concat(this.items));
package/dist/index.cjs CHANGED
@@ -419,7 +419,7 @@ class ArrayBackedCollection extends ArrayIterable {
419
419
  return this.fromArray(this.items.concat([item]));
420
420
  }
421
421
  appendedAll(other) {
422
- return this.fromArray(this.items.concat(...other));
422
+ return this.fromArray(this.items.concat([...other]));
423
423
  }
424
424
  prepended(item) {
425
425
  return this.fromArray([item].concat(this.items));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scats",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "Useful scala classes in typescript",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,8 +15,8 @@
15
15
  "build": "npm run compile && npm run rollup"
16
16
  },
17
17
  "exports": {
18
- "import": "dist/index.js",
19
- "require": "dist/index.cjs"
18
+ "import": "./dist/index.js",
19
+ "require": "./dist/index.cjs"
20
20
  },
21
21
  "repository": {
22
22
  "type": "git",