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

@the-grid/caliper

Package Overview
Dependencies
Maintainers
18
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@the-grid/caliper - npm Package Compare versions

Comparing version 0.5.13 to 0.6.0

components/IsInvalid.coffee

22

component.json

@@ -6,3 +6,3 @@ {

"repo": "the-grid/caliper",
"version": "0.5.13",
"version": "0.6.0",
"keywords": [],

@@ -58,3 +58,9 @@ "dependencies": {

"components/MarkUnsalvageable.coffee",
"components/MeasureMap.coffee"
"components/MeasureMap.coffee",
"graphs/FetchToCanvas.json",
"graphs/GetFaceMeasurement.json",
"graphs/GetHistogramMeasurement.json",
"graphs/GetSaliencyMeasurement.json",
"components/RouteExtra.coffee",
"components/IsInvalid.coffee"
],

@@ -77,3 +83,7 @@ "json": [

"graphs/ExtractMandatory.json",
"graphs/ExtractExtra.json"
"graphs/ExtractExtra.json",
"graphs/FetchToCanvas.json",
"graphs/GetFaceMeasurement.json",
"graphs/GetHistogramMeasurement.json",
"graphs/GetSaliencyMeasurement.json"
],

@@ -89,3 +99,7 @@ "noflo": {

"ExtractSaliency": "graphs/ExtractSaliency.json",
"FetchToCanvas": "graphs/FetchToCanvas.json",
"GetFaceMeasurement": "graphs/GetFaceMeasurement.json",
"GetHistogramMeasurement": "graphs/GetHistogramMeasurement.json",
"GetImageSource": "graphs/GetImageSource.json",
"GetSaliencyMeasurement": "graphs/GetSaliencyMeasurement.json",
"ImageColors": "graphs/ImageColors.json",

@@ -108,2 +122,3 @@ "ImageDimensions": "graphs/ImageDimensions.json",

"HandleMissing": "components/HandleMissing.coffee",
"IsInvalid": "components/IsInvalid.coffee",
"MarkUnsalvageable": "components/MarkUnsalvageable.coffee",

@@ -116,2 +131,3 @@ "MeasureList": "components/MeasureList.coffee",

"PreheatImage": "components/PreheatImage.coffee",
"RouteExtra": "components/RouteExtra.coffee",
"SelectBetween": "components/SelectBetween.coffee",

@@ -118,0 +134,0 @@ "SendIf": "components/SendIf.coffee",

466

graphs/ExtractExtra.json

@@ -14,4 +14,4 @@ {

"metadata": {
"x": 0,
"y": -216,
"x": 72,
"y": -252,
"width": 72,

@@ -50,4 +50,4 @@ "height": 72

"label": "core/Split",
"x": 180,
"y": -216,
"x": 324,
"y": -252,
"width": 72,

@@ -57,42 +57,2 @@ "height": 72

},
"GetCover": {
"component": "objects/GetObjectKey",
"metadata": {
"label": "GetCover",
"x": 360,
"y": 216,
"width": 72,
"height": 72
}
},
"GetResizedURL": {
"component": "objects/GetObjectKey",
"metadata": {
"label": "GetResizedURL",
"x": 504,
"y": 72,
"width": 72,
"height": 72
}
},
"image/UrlToTempFile_znc5i": {
"component": "image/UrlToTempFile",
"metadata": {
"label": "image/UrlToTempFile",
"x": 720,
"y": 72,
"width": 72,
"height": 72
}
},
"image/BufferToCanvas_sop6j": {
"component": "image/BufferToCanvas",
"metadata": {
"label": "image/BufferToCanvas",
"x": 936,
"y": 72,
"width": 72,
"height": 72
}
},
"core/Merge_8gf2b": {

@@ -108,8 +68,8 @@ "component": "core/Merge",

},
"core/Split_oka8p": {
"component": "core/Split",
"caliper/CollectExtra_gjvgw": {
"component": "caliper/CollectExtra",
"metadata": {
"label": "core/Split",
"x": 1152,
"y": 72,
"label": "caliper/CollectExtra",
"x": 1872,
"y": -216,
"width": 72,

@@ -119,8 +79,8 @@ "height": 72

},
"caliper/ImageFaceDetection_ihjbu": {
"component": "caliper/ImageFaceDetection",
"caliper/FetchToCanvas_lw0x1": {
"component": "caliper/FetchToCanvas",
"metadata": {
"label": "caliper/ImageFaceDetection",
"x": 1368,
"y": 72,
"label": "FetchToCanvas",
"x": 432,
"y": -108,
"width": 72,

@@ -130,8 +90,8 @@ "height": 72

},
"ExtrapolateFaces": {
"component": "caliper/ExtrapolateByFactor",
"caliper/GetHistogramMeasurement_2fh79": {
"component": "caliper/GetHistogramMeasurement",
"metadata": {
"label": "ExtrapolateFaces",
"x": 1692,
"y": 0,
"label": "GetHistogramMeasurement",
"x": 1404,
"y": -180,
"width": 72,

@@ -141,8 +101,8 @@ "height": 72

},
"GetFactor": {
"component": "objects/GetObjectKey",
"caliper/GetFaceMeasurement_k5nx9": {
"component": "caliper/GetFaceMeasurement",
"metadata": {
"label": "GetFactor",
"x": 504,
"y": 360,
"label": "GetFaceMeasurement",
"x": 1404,
"y": -36,
"width": 72,

@@ -152,8 +112,8 @@ "height": 72

},
"caliper/ExtractSaliency_xreb0": {
"component": "caliper/ExtractSaliency",
"caliper/GetSaliencyMeasurement_y4cy9": {
"component": "caliper/GetSaliencyMeasurement",
"metadata": {
"label": "caliper/ExtractSaliency",
"x": 1368,
"y": 252,
"label": "GetSaliencyMeasurement",
"x": 1404,
"y": 108,
"width": 72,

@@ -163,41 +123,11 @@ "height": 72

},
"ExtrapolateSaliency": {
"component": "caliper/ExtrapolateByFactor",
"caliper/RouteExtra_8cf0h": {
"component": "caliper/RouteExtra",
"metadata": {
"label": "ExtrapolateSaliency",
"x": 1692,
"y": 180,
"width": 72,
"height": 72
}
},
"core/Split_s3t07": {
"component": "core/Split",
"metadata": {
"label": "core/Split",
"label": "RouteExtra",
"x": 720,
"y": 360,
"y": 72,
"width": 72,
"height": 72
}
},
"caliper/CollectExtra_gjvgw": {
"component": "caliper/CollectExtra",
"metadata": {
"label": "caliper/CollectExtra",
"x": 1872,
"y": -216,
"width": 72,
"height": 72
}
},
"caliper/CalculateHistogram_ci3p6": {
"component": "caliper/CalculateHistogram",
"metadata": {
"label": "caliper/CalculateHistogram",
"x": 1368,
"y": -72,
"width": 72,
"height": 72
}
}

@@ -212,47 +142,7 @@ },

"tgt": {
"process": "GetCover",
"port": "in"
}
},
{
"src": {
"process": "GetCover",
"port": "out"
"process": "caliper/CollectExtra_gjvgw",
"port": "block"
},
"tgt": {
"process": "GetResizedURL",
"port": "in"
}
},
{
"src": {
"process": "GetResizedURL",
"port": "out"
},
"tgt": {
"process": "image/UrlToTempFile_znc5i",
"port": "url"
}
},
{
"src": {
"process": "image/UrlToTempFile_znc5i",
"port": "tempfile"
},
"tgt": {
"process": "image/BufferToCanvas_sop6j",
"port": "buffer"
}
},
{
"src": {
"process": "GetResizedURL",
"port": "missed"
},
"tgt": {
"process": "core/Merge_8gf2b",
"port": "in"
},
"metadata": {
"route": 1
"route": 0
}

@@ -262,16 +152,3 @@ },

"src": {
"process": "GetCover",
"port": "missed"
},
"tgt": {
"process": "core/Merge_8gf2b",
"port": "in"
},
"metadata": {
"route": 1
}
},
{
"src": {
"process": "image/UrlToTempFile_znc5i",
"process": "caliper/CollectExtra_gjvgw",
"port": "error"

@@ -289,21 +166,11 @@ },

"src": {
"process": "image/BufferToCanvas_sop6j",
"port": "canvas"
},
"tgt": {
"process": "core/Split_oka8p",
"port": "in"
}
},
{
"src": {
"process": "core/Split_oka8p",
"process": "core/Split_939sn",
"port": "out"
},
"tgt": {
"process": "caliper/ImageFaceDetection_ihjbu",
"port": "findfaces_in"
"process": "caliper/FetchToCanvas_lw0x1",
"port": "block"
},
"metadata": {
"route": 3
"route": 0
}

@@ -313,3 +180,3 @@ },

"src": {
"process": "caliper/ImageFaceDetection_ihjbu",
"process": "caliper/FetchToCanvas_lw0x1",
"port": "error"

@@ -327,8 +194,8 @@ },

"src": {
"process": "caliper/ImageFaceDetection_ihjbu",
"port": "setpropertyvalue_out"
"process": "caliper/GetHistogramMeasurement_2fh79",
"port": "measurement"
},
"tgt": {
"process": "ExtrapolateFaces",
"port": "measurement"
"process": "caliper/CollectExtra_gjvgw",
"port": "histogram"
},

@@ -341,4 +208,4 @@ "metadata": {

"src": {
"process": "GetFactor",
"port": "missed"
"process": "caliper/GetHistogramMeasurement_2fh79",
"port": "error"
},

@@ -355,11 +222,11 @@ "tgt": {

"src": {
"process": "GetCover",
"port": "out"
"process": "caliper/GetFaceMeasurement_k5nx9",
"port": "measurement"
},
"tgt": {
"process": "GetFactor",
"port": "in"
"process": "caliper/CollectExtra_gjvgw",
"port": "faces"
},
"metadata": {
"route": 0
"route": 4
}

@@ -369,60 +236,11 @@ },

"src": {
"process": "core/Split_oka8p",
"port": "out"
"process": "caliper/GetSaliencyMeasurement_y4cy9",
"port": "measurement"
},
"tgt": {
"process": "caliper/ExtractSaliency_xreb0",
"port": "split_in"
},
"metadata": {
"route": 3
}
},
{
"src": {
"process": "core/Split_s3t07",
"port": "out"
},
"tgt": {
"process": "ExtrapolateFaces",
"port": "factor"
},
"metadata": {
"route": 6
}
},
{
"src": {
"process": "core/Split_s3t07",
"port": "out"
},
"tgt": {
"process": "ExtrapolateSaliency",
"port": "factor"
},
"metadata": {
"route": 6
}
},
{
"src": {
"process": "GetFactor",
"port": "out"
},
"tgt": {
"process": "core/Split_s3t07",
"port": "in"
}
},
{
"src": {
"process": "core/Split_939sn",
"port": "out"
},
"tgt": {
"process": "caliper/CollectExtra_gjvgw",
"port": "block"
"port": "saliency"
},
"metadata": {
"route": 0
"route": 4
}

@@ -432,3 +250,3 @@ },

"src": {
"process": "caliper/CollectExtra_gjvgw",
"process": "caliper/GetFaceMeasurement_k5nx9",
"port": "error"

@@ -446,16 +264,3 @@ },

"src": {
"process": "caliper/ExtractSaliency_xreb0",
"port": "setpropertyvalue_out"
},
"tgt": {
"process": "ExtrapolateSaliency",
"port": "measurement"
},
"metadata": {
"route": 4
}
},
{
"src": {
"process": "caliper/ExtractSaliency_xreb0",
"process": "caliper/GetSaliencyMeasurement_y4cy9",
"port": "error"

@@ -473,11 +278,11 @@ },

"src": {
"process": "core/Split_oka8p",
"process": "core/Split_939sn",
"port": "out"
},
"tgt": {
"process": "caliper/CalculateHistogram_ci3p6",
"port": "gethistogram_canvas"
"process": "caliper/GetFaceMeasurement_k5nx9",
"port": "block"
},
"metadata": {
"route": 3
"route": 0
}

@@ -487,11 +292,11 @@ },

"src": {
"process": "caliper/CalculateHistogram_ci3p6",
"port": "error"
"process": "core/Split_939sn",
"port": "out"
},
"tgt": {
"process": "core/Merge_8gf2b",
"port": "in"
"process": "caliper/GetSaliencyMeasurement_y4cy9",
"port": "block"
},
"metadata": {
"route": 1
"route": 0
}

@@ -501,11 +306,11 @@ },

"src": {
"process": "ExtrapolateSaliency",
"port": "error"
"process": "caliper/FetchToCanvas_lw0x1",
"port": "canvas"
},
"tgt": {
"process": "core/Merge_8gf2b",
"port": "in"
"process": "caliper/RouteExtra_8cf0h",
"port": "canvas"
},
"metadata": {
"route": 1
"route": 3
}

@@ -515,11 +320,11 @@ },

"src": {
"process": "ExtrapolateFaces",
"port": "error"
"process": "caliper/RouteExtra_8cf0h",
"port": "histogram"
},
"tgt": {
"process": "core/Merge_8gf2b",
"port": "in"
"process": "caliper/GetHistogramMeasurement_2fh79",
"port": "canvas"
},
"metadata": {
"route": 1
"route": 3
}

@@ -529,37 +334,11 @@ },

"src": {
"process": "image/BufferToCanvas_sop6j",
"port": "error"
},
"tgt": {
"process": "core/Merge_8gf2b",
"port": "in"
},
"metadata": {
"route": 1
}
},
{
"src": {
"process": "ExtrapolateFaces",
"port": "measurement"
},
"tgt": {
"process": "caliper/CollectExtra_gjvgw",
"process": "caliper/RouteExtra_8cf0h",
"port": "faces"
},
"metadata": {
"route": 4
}
},
{
"src": {
"process": "caliper/CalculateHistogram_ci3p6",
"port": "setpropertyvalue_out"
},
"tgt": {
"process": "caliper/CollectExtra_gjvgw",
"port": "histogram"
"process": "caliper/GetFaceMeasurement_k5nx9",
"port": "canvas"
},
"metadata": {
"route": 4
"route": 3
}

@@ -569,24 +348,11 @@ },

"src": {
"process": "ExtrapolateSaliency",
"port": "measurement"
},
"tgt": {
"process": "caliper/CollectExtra_gjvgw",
"process": "caliper/RouteExtra_8cf0h",
"port": "saliency"
},
"metadata": {
"route": 4
}
},
{
"src": {
"process": "caliper/CalculateHistogram_ci3p6",
"port": "error"
},
"tgt": {
"process": "caliper/CollectExtra_gjvgw",
"port": "histogram"
"process": "caliper/GetSaliencyMeasurement_y4cy9",
"port": "canvas"
},
"metadata": {
"route": 1
"route": 3
}

@@ -596,8 +362,8 @@ },

"src": {
"process": "caliper/ImageFaceDetection_ihjbu",
"process": "caliper/RouteExtra_8cf0h",
"port": "error"
},
"tgt": {
"process": "caliper/CollectExtra_gjvgw",
"port": "faces"
"process": "core/Merge_8gf2b",
"port": "in"
},

@@ -610,56 +376,14 @@ "metadata": {

"src": {
"process": "caliper/ExtractSaliency_xreb0",
"port": "error"
"process": "core/Split_939sn",
"port": "out"
},
"tgt": {
"process": "caliper/CollectExtra_gjvgw",
"port": "saliency"
"process": "caliper/RouteExtra_8cf0h",
"port": "block"
},
"metadata": {
"route": 1
"route": 0
}
},
{
"data": "cover",
"tgt": {
"process": "GetCover",
"port": "key"
}
},
{
"data": "resized",
"tgt": {
"process": "GetResizedURL",
"port": "key"
}
},
{
"data": "factor",
"tgt": {
"process": "GetFactor",
"port": "key"
}
},
{
"data": false,
"tgt": {
"process": "GetCover",
"port": "sendgroup"
}
},
{
"data": false,
"tgt": {
"process": "GetResizedURL",
"port": "sendgroup"
}
},
{
"data": false,
"tgt": {
"process": "GetFactor",
"port": "sendgroup"
}
}
]
}
}
{
"name": "@the-grid/caliper",
"description": "Measurement library",
"version": "0.5.13",
"version": "0.6.0",
"license": "proprietary",

@@ -76,3 +76,7 @@ "author": {

"ExtractSaliency": "graphs/ExtractSaliency.json",
"FetchToCanvas": "graphs/FetchToCanvas.json",
"GetFaceMeasurement": "graphs/GetFaceMeasurement.json",
"GetHistogramMeasurement": "graphs/GetHistogramMeasurement.json",
"GetImageSource": "graphs/GetImageSource.json",
"GetSaliencyMeasurement": "graphs/GetSaliencyMeasurement.json",
"ImageColors": "graphs/ImageColors.json",

@@ -97,2 +101,3 @@ "ImageDimensions": "graphs/ImageDimensions.json",

"HandleMissing": "components/HandleMissing.coffee",
"IsInvalid": "components/IsInvalid.coffee",
"MarkUnsalvageable": "components/MarkUnsalvageable.coffee",

@@ -105,2 +110,3 @@ "MeasureList": "components/MeasureList.coffee",

"PreheatImage": "components/PreheatImage.coffee",
"RouteExtra": "components/RouteExtra.coffee",
"SelectBetween": "components/SelectBetween.coffee",

@@ -107,0 +113,0 @@ "SendIf": "components/SendIf.coffee",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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