Spaces:
Build error
Build error
fix: removing core-js pollution
Browse files- package-lock.json +0 -11
- package.json +0 -1
- src/services/pdf-extract.ts +0 -1
package-lock.json
CHANGED
|
@@ -18,7 +18,6 @@
|
|
| 18 |
"bcrypt": "^5.1.0",
|
| 19 |
"busboy": "^1.6.0",
|
| 20 |
"civkit": "^0.9.0-2570394",
|
| 21 |
-
"core-js": "^3.37.1",
|
| 22 |
"cors": "^2.8.5",
|
| 23 |
"dayjs": "^1.11.9",
|
| 24 |
"express": "^4.19.2",
|
|
@@ -4265,16 +4264,6 @@
|
|
| 4265 |
"integrity": "sha512-3DdaFaU/Zf1AnpLiFDeNCD4TOWe3Zl2RZaTzUvWiIk5ERzcCodOE20Vqq4fzCbNoHURFHT4/us/Lfq+S2zyY4w==",
|
| 4266 |
"optional": true
|
| 4267 |
},
|
| 4268 |
-
"node_modules/core-js": {
|
| 4269 |
-
"version": "3.37.1",
|
| 4270 |
-
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.37.1.tgz",
|
| 4271 |
-
"integrity": "sha512-Xn6qmxrQZyB0FFY8E3bgRXei3lWDJHhvI+u0q9TKIYM49G8pAr0FgnnrFRAmsbptZL1yxRADVXn+x5AGsbBfyw==",
|
| 4272 |
-
"hasInstallScript": true,
|
| 4273 |
-
"funding": {
|
| 4274 |
-
"type": "opencollective",
|
| 4275 |
-
"url": "https://opencollective.com/core-js"
|
| 4276 |
-
}
|
| 4277 |
-
},
|
| 4278 |
"node_modules/core-util-is": {
|
| 4279 |
"version": "1.0.3",
|
| 4280 |
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
|
|
|
|
| 18 |
"bcrypt": "^5.1.0",
|
| 19 |
"busboy": "^1.6.0",
|
| 20 |
"civkit": "^0.9.0-2570394",
|
|
|
|
| 21 |
"cors": "^2.8.5",
|
| 22 |
"dayjs": "^1.11.9",
|
| 23 |
"express": "^4.19.2",
|
|
|
|
| 4264 |
"integrity": "sha512-3DdaFaU/Zf1AnpLiFDeNCD4TOWe3Zl2RZaTzUvWiIk5ERzcCodOE20Vqq4fzCbNoHURFHT4/us/Lfq+S2zyY4w==",
|
| 4265 |
"optional": true
|
| 4266 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4267 |
"node_modules/core-util-is": {
|
| 4268 |
"version": "1.0.3",
|
| 4269 |
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
|
package.json
CHANGED
|
@@ -27,7 +27,6 @@
|
|
| 27 |
"bcrypt": "^5.1.0",
|
| 28 |
"busboy": "^1.6.0",
|
| 29 |
"civkit": "^0.9.0-2570394",
|
| 30 |
-
"core-js": "^3.37.1",
|
| 31 |
"cors": "^2.8.5",
|
| 32 |
"dayjs": "^1.11.9",
|
| 33 |
"express": "^4.19.2",
|
|
|
|
| 27 |
"bcrypt": "^5.1.0",
|
| 28 |
"busboy": "^1.6.0",
|
| 29 |
"civkit": "^0.9.0-2570394",
|
|
|
|
| 30 |
"cors": "^2.8.5",
|
| 31 |
"dayjs": "^1.11.9",
|
| 32 |
"express": "^4.19.2",
|
src/services/pdf-extract.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
import 'core-js/actual/promise/with-resolvers';
|
| 2 |
import { singleton } from 'tsyringe';
|
| 3 |
import _ from 'lodash';
|
| 4 |
import { TextItem } from 'pdfjs-dist/types/src/display/api';
|
|
|
|
|
|
|
| 1 |
import { singleton } from 'tsyringe';
|
| 2 |
import _ from 'lodash';
|
| 3 |
import { TextItem } from 'pdfjs-dist/types/src/display/api';
|