Socket
Socket
Sign inDemoInstall

@bottom-sheet/react-hooks

Package Overview
Dependencies
14
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.9 to 1.0.10

11

dist/cjs/index.js

@@ -0,5 +1,5 @@

var $dYZEH$bottomsheetstatemachine = require("@bottom-sheet/state-machine");
var $dYZEH$react = require("react");
var $dYZEH$usesyncexternalstoreshim = require("use-sync-external-store/shim");
var $dYZEH$xstate = require("xstate");
var $dYZEH$usesyncexternalstoreshim = require("use-sync-external-store/shim");
var $dYZEH$bottomsheetstatemachine = require("@bottom-sheet/state-machine");

@@ -40,3 +40,8 @@ function $parcel$export(e, n, v, s) {

console.groupEnd();
} else console.debug("state.changed: false");
} else {
console.groupCollapsed("state.changed: false");
transient = state;
console.log(state.value, state.context);
console.groupEnd();
}
});

@@ -43,0 +48,0 @@ console.debug("service.start");

@@ -0,5 +1,5 @@

import {defaultInitialHeight as $26Zo0$defaultInitialHeight, defaultSnapPoints as $26Zo0$defaultSnapPoints, BottomSheetMachine as $26Zo0$BottomSheetMachine, assignInitialHeight as $26Zo0$assignInitialHeight, assignSnapPoints as $26Zo0$assignSnapPoints} from "@bottom-sheet/state-machine";
import {useState as $26Zo0$useState, useMemo as $26Zo0$useMemo} from "react";
import {useSyncExternalStore as $26Zo0$useSyncExternalStore} from "use-sync-external-store/shim";
import {interpret as $26Zo0$interpret} from "xstate";
import {useSyncExternalStore as $26Zo0$useSyncExternalStore} from "use-sync-external-store/shim";
import {defaultInitialHeight as $26Zo0$defaultInitialHeight, defaultSnapPoints as $26Zo0$defaultSnapPoints, BottomSheetMachine as $26Zo0$BottomSheetMachine, assignInitialHeight as $26Zo0$assignInitialHeight, assignSnapPoints as $26Zo0$assignSnapPoints} from "@bottom-sheet/state-machine";

@@ -35,3 +35,8 @@

console.groupEnd();
} else console.debug("state.changed: false");
} else {
console.groupCollapsed("state.changed: false");
transient = state;
console.log(state.value, state.context);
console.groupEnd();
}
});

@@ -38,0 +43,0 @@ console.debug("service.start");

{
"name": "@bottom-sheet/react-hooks",
"version": "1.0.9",
"version": "1.0.10",
"description": "The hooks that power `@bottom-sheet/react-spring`",

@@ -58,3 +58,3 @@ "keywords": [

"dependencies": {
"@bottom-sheet/state-machine": "^1.0.10",
"@bottom-sheet/state-machine": "^1.0.11",
"@bottom-sheet/types": "^1.0.6",

@@ -89,2 +89,3 @@ "@types/use-sync-external-store": "^0.0.3",

"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^28.1.0",

@@ -91,0 +92,0 @@ "jest-environment-jsdom": "^28.1.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc