New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@solid-primitives/mouse

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/mouse - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

dist/index.js

@@ -137,3 +137,4 @@ // src/mousePosition.ts

// src/mouseToElement.ts
import { access as access2, objectOmit } from "@solid-primitives/utils";
import { omit } from "@solid-primitives/utils/fp";
import { access as access2 } from "@solid-primitives/utils";
import { batch as batch2, createComputed as createComputed2, createMemo as createMemo2, createSignal as createSignal4, onMount as onMount2 } from "solid-js";

@@ -152,3 +153,3 @@ function createMouseToElement(element, pos, options = {}) {

} else {
const [mouse] = createMousePosition(objectOmit(options, "initialValue"));
const [mouse] = createMousePosition(omit(options, "initialValue"));
pageX = mouse.x;

@@ -155,0 +156,0 @@ pageY = mouse.y;

13

package.json
{
"name": "@solid-primitives/mouse",
"version": "1.0.1",
"version": "1.0.2",
"description": "A collection of Solid Primitives, that capture current mouse cursor position, and help to deal with common related usecases.",

@@ -46,5 +46,4 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>",

"@solid-primitives/raf": "^1.0.5",
"jsdom": "^19.0.0",
"prettier": "^2.4.1",
"solid-register": "^0.0.18",
"solid-register": "0.1.1",
"tslib": "^2.3.1",

@@ -55,11 +54,11 @@ "tsup": "^5.10.0",

"vite": "2.6.14",
"vite-plugin-solid": "2.1.2"
"vite-plugin-solid": "2.2.1"
},
"peerDependencies": {
"solid-js": "^1.2.5"
"solid-js": "^1.3.1"
},
"dependencies": {
"@solid-primitives/event-listener": "^1.3.8",
"@solid-primitives/utils": "0.0.260"
"@solid-primitives/event-listener": "^1.4.1",
"@solid-primitives/utils": "0.1.2"
}
}

@@ -6,3 +6,3 @@ # @solid-primitives/mouse

[![size](https://img.shields.io/npm/v/@solid-primitives/mouse?style=for-the-badge)](https://www.npmjs.com/package/@solid-primitives/mouse)
[![stage](https://img.shields.io/endpoint?style=for-the-badge&url=https%3A%2F%2Fraw.githubusercontent.com%2Fdavedbase%2Fsolid-primitives%2Fstage-badges%2Fassets%2Fbadges%2Fstage-2.json)](https://github.com/davedbase/solid-primitives#contribution-process)
[![stage](https://img.shields.io/endpoint?style=for-the-badge&url=https%3A%2F%2Fraw.githubusercontent.com%2Fdavedbase%2Fsolid-primitives%2Fmain%2Fassets%2Fbadges%2Fstage-2.json)](https://github.com/davedbase/solid-primitives#contribution-process)

@@ -230,2 +230,6 @@ A collection of primitives, capturing current mouse cursor position, and helping to deal with common usecases:

1.0.2
Upgraded to Solid 1.3
</details>

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc