Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hmp-primer

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hmp-primer - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "hmp-primer",
"version": "0.0.3",
"version": "0.0.4",
"description": "Code for HMP",

@@ -5,0 +5,0 @@ "scripts": {

@@ -16,2 +16,3 @@ import interact from 'interactjs'

setPlantPositions(baseline, delta);
setParentWidth();
setDrag(restriction, className);

@@ -22,3 +23,2 @@

const generateGates = () => {

@@ -45,2 +45,11 @@ const base = [];

const setParentWidth = () => {
plants.forEach((plant) => {
const parent = plant.node.parentNode;
const width = plant.node.offsetWidth;
parent.style.width = width + 'px';
});
};
const setDrag = (restriction, className) => {

@@ -47,0 +56,0 @@ const plant = interact(className).styleCursor(false);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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