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

@solid-primitives/cursor

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/cursor - npm Package Compare versions

Comparing version 0.0.107 to 0.0.108

5

dist/index.js
import { createEffect, onCleanup } from 'solid-js';
import { isServer } from 'solid-js/web';
import { access } from '@solid-primitives/utils';

@@ -6,2 +7,4 @@

function createElementCursor(target, cursor) {
if (isServer)
return;
createEffect(() => {

@@ -18,2 +21,4 @@ const el = access(target);

function createBodyCursor(cursor) {
if (isServer)
return;
createEffect(() => {

@@ -20,0 +25,0 @@ const cursorValue = cursor();

45

package.json
{
"name": "@solid-primitives/cursor",
"version": "0.0.107",
"version": "0.0.108",
"description": "Two simple primitives for setting cursor css property reactively.",

@@ -37,38 +37,7 @@ "author": "Damian Tarnawski <gthetarnav@gmail.com>",

"type": "module",
"main": "./dist/server.cjs",
"module": "./dist/server.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"browser": {
"./dist/server.js": "./dist/index.js",
"./dist/server.cjs": "./dist/index.cjs"
},
"browser": {},
"exports": {
"worker": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/server.js"
},
"require": "./dist/server.cjs"
},
"browser": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": "./dist/index.cjs"
},
"deno": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/server.js"
},
"require": "./dist/server.cjs"
},
"node": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/server.js"
},
"require": "./dist/server.cjs"
},
"import": {

@@ -81,6 +50,6 @@ "types": "./dist/index.d.ts",

"dependencies": {
"@solid-primitives/utils": "^5.4.0"
"@solid-primitives/utils": "^5.5.1"
},
"peerDependencies": {
"solid-js": "^1.6.0"
"solid-js": "^1.6.12"
},

@@ -91,3 +60,3 @@ "typesVersions": {},

"page": "vite build dev",
"build": "jiti ../../scripts/build.ts --ssr",
"build": "jiti ../../scripts/build.ts",
"test": "vitest -c ../../configs/vitest.config.ts",

@@ -94,0 +63,0 @@ "test:ssr": "pnpm run test --mode ssr"

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