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

@nosferatu500/textract-lite

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nosferatu500/textract-lite - npm Package Compare versions

Comparing version 7.0.10 to 7.0.11

4

dist/extract.js
import fs from "fs";
import path from "path";
import { fileURLToPath } from "node:url";
import { fileURLToPath, pathToFileURL } from "node:url";
const __filename = fileURLToPath(import.meta.url);

@@ -26,3 +26,3 @@ const __dirname = path.dirname(__filename);

// discover available extractors
const extractors = await Promise.all(fs.readdirSync(extractorPath).map(async (item) => {
const extractors = await Promise.all(fs.readdirSync(pathToFileURL(extractorPath)).map(async (item) => {
const fullExtractorPath = path.join(extractorPath, item);

@@ -29,0 +29,0 @@ // get the extractor

@@ -6,3 +6,3 @@ import fs from "fs";

import { cleanseText } from "../utils.js";
import { pathToFileURL } from "url";
import { pathToFileURL } from "node:url";
function extractText(filePath, options) {

@@ -9,0 +9,0 @@ return new Promise((resolve, reject) => {

{
"name": "@nosferatu500/textract-lite",
"version": "7.0.10",
"version": "7.0.11",
"type": "module",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/nosferatu500/textract-lite",

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