@nosferatu500/textract-lite
Advanced tools
Comparing version 7.0.8 to 7.0.9
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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21530
11
326
15