New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ocrservice

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ocrservice - npm Package Compare versions

Comparing version 0.1.25 to 0.1.26

6

lib/classes/watcher.js

@@ -372,3 +372,3 @@ (function() {

file = path.join(me.pathName, me.files[me.fileIndex]);
debug('fullscann', file);
debug('fullscann', file, 'failpath', failpath);
recognizer = new Recognizer;

@@ -412,4 +412,5 @@ recognizer.setDebug(false);

name = codes.join('.');
if (boxes.length > 0 && codes.length > 0) {
if (boxes.length > 0 && codes.length > 0 && boxes[0].box.length > 0) {
boxes[0].codes = codes;
console.log(path.join(me.pathName, 'good', name + path.extname(file)));
return fs.rename(file, path.join(me.pathName, 'good', name + path.extname(file)), function(err) {

@@ -425,2 +426,3 @@ if (err) {

} else {
console.log(path.join(me.pathName, failpath, name + path.extname(file)));
return fs.rename(file, path.join(me.pathName, failpath, name + path.extname(file)), function(err) {

@@ -427,0 +429,0 @@ if (err) {

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

},
"version": "0.1.25",
"version": "0.1.26",
"engines": {

@@ -12,0 +12,0 @@ "node": ">=0.12.0"

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