New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@solid-primitives/selection

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/selection - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+1
-1
dist/index.js

@@ -15,3 +15,3 @@ import { createEffect, createSignal, onCleanup } from "solid-js";

const getRangePos = (container, offset, texts) => {
const index = texts.indexOf(container);
const index = texts.findIndex(text => text === container || text.parentElement === container);
return index === -1 ? NaN : texts.slice(0, index).reduce(addNodeLength, 0) + offset;

@@ -18,0 +18,0 @@ };

{
"name": "@solid-primitives/selection",
"version": "0.1.0",
"version": "0.1.1",
"description": "selection primitive.",

@@ -5,0 +5,0 @@ "author": "Alex Lohr <alex.lohr@logmein.com>",