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

nnocr

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

nnocr - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

2

package.json
{
"name": "nnocr",
"version": "0.3.2",
"version": "0.3.3",
"description": "Native Node.js bindings for the Tesseract OCR project.",

@@ -5,0 +5,0 @@ "gypfile": true,

@@ -1,5 +0,5 @@

var fs = require('fs');
const { join } = require('path');
var path = require('path');
var shell = require('shelljs');
const fs = require('fs');
const path = require('path');
const shell = require('shelljs');
const process = require("process");

@@ -21,3 +21,7 @@ const requiredCMakeVersion = '3.15';

if (process.arch === 'arm64') {
const buildForArch = process.env["BUILD_FOR_ARCH"];
shell.echo('buildForArch', buildForArch);
if (buildForArch === 'arm64') {
shell.echo('arm64 build');
commonEnvVariables = {

@@ -27,3 +31,4 @@ ...commonEnvVariables,

}
} else {
} else if (buildForArch === 'x64') {
shell.echo('x64 build');
commonEnvVariables = {

@@ -30,0 +35,0 @@ ...commonEnvVariables,

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