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

@maslick/react-radiaslider

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maslick/react-radiaslider - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

demo/app.7bf0dd9e.js

9

index.js
import React from "react";
import PropTypes from 'prop-types';
import { circular as Slider } from "@maslick/radiaslider";
import $ from "jquery";

@@ -41,15 +40,15 @@

this.renderBand(1, 50, -50, 50, 1, "#104b63", v => {
$(`#${this.props.id}_value1`).html(callback(v));
document.getElementById(`${this.props.id}_value1`).innerHTML = callback(v);
});
this.renderBand(2, 90, -100, 100, 5, "#76c7e9", v => {
$(`#${this.props.id}_value2`).html(callback(v));
document.getElementById(`${this.props.id}_value2`).innerHTML = callback(v);
});
this.renderBand(3, 130, 0, 360, 0.1, "#ff9a9a", v => {
$(`#${this.props.id}_value3`).html(callback(v));
document.getElementById(`${this.props.id}_value3`).innerHTML = callback(v);
});
this.renderBand(4, 170, 0, 360, 1, "#fff69f", v => {
$(`#${this.props.id}_value4`).html(callback(v));
document.getElementById(`${this.props.id}_value4`).innerHTML = callback(v);
});

@@ -56,0 +55,0 @@

{
"name": "@maslick/react-radiaslider",
"version": "1.2.0",
"version": "1.2.1",
"description": "React component for radiaslider",

@@ -9,3 +9,3 @@ "repository": {

},
"main": "index.js",
"main": "dist/index.js",
"keywords": [

@@ -21,10 +21,12 @@ "react",

"homepage": "https://github.com/maslick/react-radiaslider#readme",
"peerDependencies": {
"react": "^16.7.0"
},
"dependencies": {
"@maslick/radiaslider": "^1.5.0",
"jquery": "^3.3.1",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"prop-types": "^15.6.2"
},
"devDependencies": {
"react": "^16.7.0",
"react-dom": "^16.7.0",
"parcel": "^1.11.0",

@@ -38,4 +40,5 @@ "babel-core": "^6.26.3",

"start": "parcel index.html -d test",
"build": "rm -fr demo/ && parcel build index.html --public-url ./ --out-dir demo/"
"build": "rm -fr demo/ && parcel build index.html --public-url ./ --out-dir demo/",
"dist": "parcel build index.js --target node -d dist/"
}
}

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