From 8c69c9ca84acc447d7563c7bcc4e61c30f653d75 Mon Sep 17 00:00:00 2001 From: "modesty.zhang" Date: Sun, 30 Apr 2023 12:52:27 -0700 Subject: [PATCH] v2: dependency security upgrade --- package-lock.json | 40 +++++++++++++++++++++++++++++++++++----- package.json | 4 ++-- 2 files changed, 37 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0024257a..12f8d0bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,43 @@ { "name": "pdf2json", - "version": "2.0.0", - "lockfileVersion": 1, + "version": "2.0.2", + "lockfileVersion": 2, "requires": true, + "packages": { + "": { + "name": "pdf2json", + "version": "2.0.2", + "bundleDependencies": [ + "@xmldom/xmldom" + ], + "license": "Apache-2.0", + "dependencies": { + "@xmldom/xmldom": "^0.8.7" + }, + "bin": { + "pdf2json": "bin/pdf2json" + }, + "devDependencies": {}, + "engines": { + "node": ">=14.18.0", + "npm": ">=6.14.15" + } + }, + "node_modules/@xmldom/xmldom": { + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.7.tgz", + "integrity": "sha512-sI1Ly2cODlWStkINzqGrZ8K6n+MTSbAeQnAipGyL+KZCXuHaRlj2gyyy8B/9MvsFFqN7XHryQnB2QwhzvJXovg==", + "inBundle": true, + "engines": { + "node": ">=10.0.0" + } + } + }, "dependencies": { "@xmldom/xmldom": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz", - "integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A==" + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.7.tgz", + "integrity": "sha512-sI1Ly2cODlWStkINzqGrZ8K6n+MTSbAeQnAipGyL+KZCXuHaRlj2gyyy8B/9MvsFFqN7XHryQnB2QwhzvJXovg==" } } } diff --git a/package.json b/package.json index 13fb7f9b..272e95e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdf2json", - "version": "2.0.1", + "version": "2.0.2", "description": "PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js", "keywords": [ "pdf", @@ -48,7 +48,7 @@ "pdf2json": "./bin/pdf2json" }, "dependencies": { - "@xmldom/xmldom": "^0.7.5" + "@xmldom/xmldom": "^0.8.7" }, "devDependencies": {}, "bundledDependencies": [