Socket
Socket
Sign inDemoInstall

3point

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

3point - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

data.json
{
"data": [
{s
{
"x": 0,

@@ -5,0 +5,0 @@ "y": 0,

@@ -11,2 +11,3 @@ #!/usr/bin/env node

greenColor: 'green',
yellowColor: 'yellow',
redColor: 'red'

@@ -38,5 +39,5 @@ });

var parsed = JSON.parse(data);
console.log(parsed.data[0]);
console.log(parsed.data[1]);
console.log(parsed.data[2]);
console.log(' Point 1: '.yellowColor,parsed.data[0]);
console.log(' Point 2: '.yellowColor,parsed.data[1]);
console.log(' Point 3: '.yellowColor,parsed.data[2]);
var x1 = parseFloat(parsed.data[0].x)

@@ -43,0 +44,0 @@ var x2 = parseFloat(parsed.data[1].x)

@@ -9,3 +9,3 @@ {

"description": "3 point problem calculator",
"version": "1.0.1",
"version": "1.0.2",
"dependencies": {

@@ -12,0 +12,0 @@ "colors": "0.6.2"

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