319 lines
12 KiB
JSON
319 lines
12 KiB
JSON
|
{
|
||
|
"name": "receipt-parser",
|
||
|
"version": "1.0.0",
|
||
|
"lockfileVersion": 3,
|
||
|
"requires": true,
|
||
|
"packages": {
|
||
|
"": {
|
||
|
"name": "receipt-parser",
|
||
|
"version": "1.0.0",
|
||
|
"license": "GPL-3.0",
|
||
|
"dependencies": {
|
||
|
"@anthropic-ai/sdk": "^0.24.3",
|
||
|
"nightink": "^1.0.2",
|
||
|
"p-throttle": "^6.1.0",
|
||
|
"pdf-to-text": "^0.0.7",
|
||
|
"tqdm": "^2.0.3"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/@anthropic-ai/sdk": {
|
||
|
"version": "0.24.3",
|
||
|
"resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.24.3.tgz",
|
||
|
"integrity": "sha512-916wJXO6T6k8R6BAAcLhLPv/pnLGy7YSEBZXZ1XTFbLcTZE8oTy3oDW9WJf9KKZwMvVcePIfoTSvzXHRcGxkQQ==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"@types/node": "^18.11.18",
|
||
|
"@types/node-fetch": "^2.6.4",
|
||
|
"abort-controller": "^3.0.0",
|
||
|
"agentkeepalive": "^4.2.1",
|
||
|
"form-data-encoder": "1.7.2",
|
||
|
"formdata-node": "^4.3.2",
|
||
|
"node-fetch": "^2.6.7",
|
||
|
"web-streams-polyfill": "^3.2.1"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/@types/node": {
|
||
|
"version": "18.19.39",
|
||
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.39.tgz",
|
||
|
"integrity": "sha512-nPwTRDKUctxw3di5b4TfT3I0sWDiWoPQCZjXhvdkINntwr8lcoVCKsTgnXeRubKIlfnV+eN/HYk6Jb40tbcEAQ==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"undici-types": "~5.26.4"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/@types/node-fetch": {
|
||
|
"version": "2.6.11",
|
||
|
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.11.tgz",
|
||
|
"integrity": "sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"@types/node": "*",
|
||
|
"form-data": "^4.0.0"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/abort-controller": {
|
||
|
"version": "3.0.0",
|
||
|
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
|
||
|
"integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"event-target-shim": "^5.0.0"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=6.5"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/agentkeepalive": {
|
||
|
"version": "4.5.0",
|
||
|
"resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz",
|
||
|
"integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"humanize-ms": "^1.2.1"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 8.0.0"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/asynckit": {
|
||
|
"version": "0.4.0",
|
||
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||
|
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
|
||
|
"license": "MIT"
|
||
|
},
|
||
|
"node_modules/combined-stream": {
|
||
|
"version": "1.0.8",
|
||
|
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
||
|
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"delayed-stream": "~1.0.0"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 0.8"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/delayed-stream": {
|
||
|
"version": "1.0.0",
|
||
|
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
||
|
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
|
||
|
"license": "MIT",
|
||
|
"engines": {
|
||
|
"node": ">=0.4.0"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/event-target-shim": {
|
||
|
"version": "5.0.1",
|
||
|
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
|
||
|
"integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
|
||
|
"license": "MIT",
|
||
|
"engines": {
|
||
|
"node": ">=6"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/form-data": {
|
||
|
"version": "4.0.0",
|
||
|
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
|
||
|
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"asynckit": "^0.4.0",
|
||
|
"combined-stream": "^1.0.8",
|
||
|
"mime-types": "^2.1.12"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 6"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/form-data-encoder": {
|
||
|
"version": "1.7.2",
|
||
|
"resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-1.7.2.tgz",
|
||
|
"integrity": "sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==",
|
||
|
"license": "MIT"
|
||
|
},
|
||
|
"node_modules/formdata-node": {
|
||
|
"version": "4.4.1",
|
||
|
"resolved": "https://registry.npmjs.org/formdata-node/-/formdata-node-4.4.1.tgz",
|
||
|
"integrity": "sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"node-domexception": "1.0.0",
|
||
|
"web-streams-polyfill": "4.0.0-beta.3"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 12.20"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/formdata-node/node_modules/web-streams-polyfill": {
|
||
|
"version": "4.0.0-beta.3",
|
||
|
"resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz",
|
||
|
"integrity": "sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==",
|
||
|
"license": "MIT",
|
||
|
"engines": {
|
||
|
"node": ">= 14"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/html-entities": {
|
||
|
"version": "2.5.2",
|
||
|
"resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.5.2.tgz",
|
||
|
"integrity": "sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==",
|
||
|
"funding": [
|
||
|
{
|
||
|
"type": "github",
|
||
|
"url": "https://github.com/sponsors/mdevils"
|
||
|
},
|
||
|
{
|
||
|
"type": "patreon",
|
||
|
"url": "https://patreon.com/mdevils"
|
||
|
}
|
||
|
],
|
||
|
"license": "MIT"
|
||
|
},
|
||
|
"node_modules/humanize-ms": {
|
||
|
"version": "1.2.1",
|
||
|
"resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
|
||
|
"integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"ms": "^2.0.0"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/mime-db": {
|
||
|
"version": "1.52.0",
|
||
|
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
||
|
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
||
|
"license": "MIT",
|
||
|
"engines": {
|
||
|
"node": ">= 0.6"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/mime-types": {
|
||
|
"version": "2.1.35",
|
||
|
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
||
|
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"mime-db": "1.52.0"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 0.6"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/ms": {
|
||
|
"version": "2.1.3",
|
||
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
||
|
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
|
||
|
"license": "MIT"
|
||
|
},
|
||
|
"node_modules/nightink": {
|
||
|
"version": "1.0.2",
|
||
|
"resolved": "https://registry.npmjs.org/nightink/-/nightink-1.0.2.tgz",
|
||
|
"integrity": "sha512-4m/WBimAdO0TkUOF+UFBR9U09UTF+Y/G+PAMWarQmq7wUxclSPkA/hyi9wq4RUxJleV7PvN782YTQ4BgS7Vd/w==",
|
||
|
"license": "MPL-2.0",
|
||
|
"dependencies": {
|
||
|
"html-entities": "^2.3.2"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/node-domexception": {
|
||
|
"version": "1.0.0",
|
||
|
"resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
|
||
|
"integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==",
|
||
|
"funding": [
|
||
|
{
|
||
|
"type": "github",
|
||
|
"url": "https://github.com/sponsors/jimmywarting"
|
||
|
},
|
||
|
{
|
||
|
"type": "github",
|
||
|
"url": "https://paypal.me/jimmywarting"
|
||
|
}
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"engines": {
|
||
|
"node": ">=10.5.0"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/node-fetch": {
|
||
|
"version": "2.7.0",
|
||
|
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
|
||
|
"integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"whatwg-url": "^5.0.0"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": "4.x || >=6.0.0"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"encoding": "^0.1.0"
|
||
|
},
|
||
|
"peerDependenciesMeta": {
|
||
|
"encoding": {
|
||
|
"optional": true
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"node_modules/p-throttle": {
|
||
|
"version": "6.1.0",
|
||
|
"resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.1.0.tgz",
|
||
|
"integrity": "sha512-eQMdGTxk2+047La67wefUtt0tEHh7D+C8Jl7QXoFCuIiNYeQ9zWs2AZiJdIAs72rSXZ06t11me2bgalRNdy3SQ==",
|
||
|
"license": "MIT",
|
||
|
"engines": {
|
||
|
"node": ">=18"
|
||
|
},
|
||
|
"funding": {
|
||
|
"url": "https://github.com/sponsors/sindresorhus"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/pdf-to-text": {
|
||
|
"version": "0.0.7",
|
||
|
"resolved": "https://registry.npmjs.org/pdf-to-text/-/pdf-to-text-0.0.7.tgz",
|
||
|
"integrity": "sha512-NHWB7u/9q+SZ28UtEgJYljamp61j06oldHdvGik1729pzRFLCO4igbZwm0MOUWoIQUz4nla3n+cf3Jh7uiOZwQ==",
|
||
|
"license": "ISC"
|
||
|
},
|
||
|
"node_modules/tqdm": {
|
||
|
"version": "2.0.3",
|
||
|
"resolved": "https://registry.npmjs.org/tqdm/-/tqdm-2.0.3.tgz",
|
||
|
"integrity": "sha512-Ju50G550gspkjd1AiJ/jFBHe2dii9s+KPntEsq0o73BqywqzNWPUM8/FD3zM1rOH7OGLoH7pGSGI90Ct+Yd/5Q==",
|
||
|
"license": "ISC"
|
||
|
},
|
||
|
"node_modules/tr46": {
|
||
|
"version": "0.0.3",
|
||
|
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
||
|
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
|
||
|
"license": "MIT"
|
||
|
},
|
||
|
"node_modules/undici-types": {
|
||
|
"version": "5.26.5",
|
||
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
||
|
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
|
||
|
"license": "MIT"
|
||
|
},
|
||
|
"node_modules/web-streams-polyfill": {
|
||
|
"version": "3.3.3",
|
||
|
"resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz",
|
||
|
"integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==",
|
||
|
"license": "MIT",
|
||
|
"engines": {
|
||
|
"node": ">= 8"
|
||
|
}
|
||
|
},
|
||
|
"node_modules/webidl-conversions": {
|
||
|
"version": "3.0.1",
|
||
|
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
||
|
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
|
||
|
"license": "BSD-2-Clause"
|
||
|
},
|
||
|
"node_modules/whatwg-url": {
|
||
|
"version": "5.0.0",
|
||
|
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
||
|
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
||
|
"license": "MIT",
|
||
|
"dependencies": {
|
||
|
"tr46": "~0.0.3",
|
||
|
"webidl-conversions": "^3.0.0"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|