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.8 to 7.0.9

eslint.config.mjs

2

dist/extractors/docx.js
import xpath from "xpath";
import { DOMParser } from "@xmldom/xmldom";
import yauzl from "yauzl";
import { yauzlError, getTextFromZipFile, cleanseText } from "../utils";
import { yauzlError, getTextFromZipFile, cleanseText } from "../utils.js";
const includeRegex = /.xml$/;

@@ -6,0 +6,0 @@ const excludeRegex = /^(word\/media\/|word\/_rels\/)/;

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

import jschardet from "jschardet";
import { cleanseText } from "../utils";
import { cleanseText } from "../utils.js";
function extractText(filePath, options) {

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

{
"name": "@nosferatu500/textract-lite",
"version": "7.0.8",
"version": "7.0.9",
"type": "module",

@@ -24,3 +24,3 @@ "homepage": "https://github.com/nosferatu500/textract-lite",

"scripts": {
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx --cache",
"lint": "eslint src/ --cache",
"test": "mocha",

@@ -42,11 +42,14 @@ "clean": "rimraf dist build package",

"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@types/chai": "^4.3.17",
"@types/mocha": "^10.0.7",
"@types/node": "~20.16.0",
"@types/node": "~20.16.1",
"@types/yauzl": "^2.10.3",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"chai": "^5.1.1",
"eslint": "^8.57.0",
"eslint": "^9.9.1",
"mocha": "^10.7.3",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",

@@ -53,0 +56,0 @@ "typedoc": "^0.26.6",

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