@af-utils/virtual-react
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -100,5 +100,4 @@ // src/utils/rangeMappers/index.ts | ||
// src/hooks/useComponentSubscription/index.ts | ||
import { useMemo } from "react"; | ||
import { useMemo, useSyncExternalStore } from "react"; | ||
import { VirtualScrollerEvent as VirtualScrollerEvent2 } from "@af-utils/virtual-core"; | ||
import { useSyncExternalStore } from "use-sync-external-store/shim/index.js"; | ||
function getSingleEventHash(e) { | ||
@@ -105,0 +104,0 @@ switch (e) { |
{ | ||
"name": "@af-utils/virtual-react", | ||
"private": false, | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"description": "React components and hooks for rendering large scrollable data", | ||
@@ -52,7 +52,6 @@ "repository": { | ||
"dependencies": { | ||
"@af-utils/virtual-core": "0.0.24" | ||
"@af-utils/virtual-core": "0.0.25" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17.0.0 || ^18.1.0", | ||
"use-sync-external-store": "^1.2.0" | ||
"react": "^17.0.0 || ^18.1.0" | ||
}, | ||
@@ -66,4 +65,5 @@ "publishConfig": { | ||
"build:types": "tsc && tsc-alias", | ||
"esbuild:build": "node build.mjs prod", | ||
"esbuild:dev": "node build.mjs", | ||
"esbuild:base": "esbuild ./src/index.ts --format=esm --outdir=lib --bundle --platform=neutral --external:react --external:react/jsx-runtime --external:@af-utils/*", | ||
"esbuild:build": "pnpm esbuild:base", | ||
"esbuild:dev": "pnpm esbuild:base --watch", | ||
"api-extractor": "api-extractor run && rm -r lib/types", | ||
@@ -70,0 +70,0 @@ "test": "jest" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15069
2
378
+ Added@af-utils/virtual-core@0.0.25(transitive)
- Removed@af-utils/virtual-core@0.0.24(transitive)
- Removeduse-sync-external-store@1.2.2(transitive)