Comparing version 1.0.1 to 1.0.2
{ | ||
"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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3347
89