Socket
Socket
Sign inDemoInstall

gcp_cloud_vision_lines

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "gcp_cloud_vision_lines",
"version": "1.0.6",
"version": "1.0.7",
"description": "This utility breaks down a full text annotation response from the Google cloud vision API into a neatly parsed Array with each element representing a single line of text, with coords and height and width dimensions.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -76,3 +76,3 @@ const arrayFlatten = require("array-flatten");

return elem.symbols.map(symbol => {
if (symbol.property.detectedBreak) {
if (symbol && symbol.property && symbol.property.detectedBreak) {
const word = isWord(symbol.property.detectedBreak.type);

@@ -79,0 +79,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc