@lavalogic/scoria 0.21.2 → 0.21.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.
@@ -237,7 +237,8 @@ export class TableContext {
237
237
  if (current !== latest_sortedRowModel || !ori.size) {
238
238
  return;
239
239
  }
240
- Promise.resolve(asyncMap(sd, (item, index) => {
240
+ Promise.resolve()
241
+ .then(() => asyncMap(sd, (item, index) => {
241
242
  const rawKey = this._cachedKey(item);
242
243
  const finish = (key) => {
243
244
  const originalIndex = ori.get(key);
@@ -276,7 +277,8 @@ export class TableContext {
276
277
  $effect(() => {
277
278
  const dataRepo = this.dataRepo;
278
279
  const current = (latest_originalRowIndices = latest_originalRowIndices + 1);
279
- Promise.resolve(asyncMap(dataRepo.data, (item, index) => {
280
+ Promise.resolve()
281
+ .then(() => asyncMap(dataRepo.data, (item, index) => {
280
282
  const raw = this._cachedKey(item);
281
283
  if (raw instanceof Promise) {
282
284
  return raw.then((key) => [key, index]);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lavalogic/scoria",
3
3
  "description": "Svelte components used for the FloWMS Web Frontend",
4
- "version": "0.21.2",
4
+ "version": "0.21.3",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },
@@ -58,7 +58,7 @@
58
58
  "prettier": "^3.8.1",
59
59
  "prettier-plugin-svelte": "^3.5.1",
60
60
  "publint": "^0.3.18",
61
- "sass": "^1.98.0",
61
+ "sass-embedded": "^1.98.0",
62
62
  "storybook": "^10.2.19",
63
63
  "svelte": "^5.53.12",
64
64
  "svelte-check": "^4.4.5",