mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-12 04:23:09 +02:00
fixing build issue, adding package-lock.json
This commit is contained in:
parent
459cc8c867
commit
89f327f051
1
.gitignore
vendored
1
.gitignore
vendored
@ -25,5 +25,4 @@ release/
|
||||
out-tsc/
|
||||
ffmpeg/
|
||||
locale.source.xlf
|
||||
package-lock.json
|
||||
test.*
|
||||
|
@ -45,7 +45,8 @@ export class SQLConnection {
|
||||
VersionEntity
|
||||
];
|
||||
options.synchronize = false;
|
||||
options.logging = 'all';
|
||||
options.logging = 'error';
|
||||
// options.logging = 'all';
|
||||
|
||||
|
||||
this.connection = await this.createConnection(options);
|
||||
|
@ -4,18 +4,13 @@ import {Config} from '../../../common/config/private/Config';
|
||||
import {Logger} from '../../Logger';
|
||||
import * as fs from 'fs';
|
||||
import * as sizeOf from 'image-size';
|
||||
// @ts-ignore
|
||||
import * as ExifReader from 'exifreader';
|
||||
import {ExifParserFactory, OrientationTypes} from 'ts-exif-parser';
|
||||
import {IptcParser} from 'ts-node-iptc';
|
||||
import {FFmpegFactory} from '../FFmpegFactory';
|
||||
import {FfprobeData} from 'fluent-ffmpeg';
|
||||
|
||||
// TODO: fix up different metadata loaders
|
||||
// @ts-ignore
|
||||
global.DataView = require('jdataview');
|
||||
// @ts-ignore
|
||||
global.DOMParser = require('xmldom').DOMParser;
|
||||
// @ts-ignore
|
||||
const ExifReader = require('exifreader');
|
||||
|
||||
const LOG_TAG = '[MetadataLoader]';
|
||||
const ffmpeg = FFmpegFactory.get();
|
||||
@ -176,7 +171,6 @@ export class MetadataLoader {
|
||||
try {
|
||||
|
||||
const ret = ExifReader.load(data);
|
||||
ret.ImageWidth.id
|
||||
const faces: FaceRegion[] = [];
|
||||
if (ret.Regions && ret.Regions.value.RegionList && ret.Regions.value.RegionList.value) {
|
||||
for (let i = 0; i < ret.Regions.value.RegionList.value.length; i++) {
|
||||
|
15871
package-lock.json
generated
Normal file
15871
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
50
package.json
50
package.json
@ -30,7 +30,7 @@
|
||||
"cookie-parser": "1.4.3",
|
||||
"cookie-session": "2.0.0-beta.3",
|
||||
"ejs": "2.6.1",
|
||||
"exifreader": "2.6.0",
|
||||
"exifreader": "2.7.0",
|
||||
"express": "4.16.4",
|
||||
"fluent-ffmpeg": "2.1.2",
|
||||
"image-size": "0.7.1",
|
||||
@ -47,20 +47,20 @@
|
||||
"xmldom": "0.1.27"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "0.12.3",
|
||||
"@angular-devkit/build-optimizer": "0.12.3",
|
||||
"@angular/animations": "7.2.2",
|
||||
"@angular/cli": "7.2.3",
|
||||
"@angular/common": "7.2.2",
|
||||
"@angular/compiler": "7.2.2",
|
||||
"@angular/compiler-cli": "7.2.2",
|
||||
"@angular/core": "7.2.2",
|
||||
"@angular/forms": "7.2.2",
|
||||
"@angular/http": "7.2.2",
|
||||
"@angular/language-service": "7.2.2",
|
||||
"@angular/platform-browser": "7.2.2",
|
||||
"@angular/platform-browser-dynamic": "7.2.2",
|
||||
"@angular/router": "7.2.2",
|
||||
"@angular-devkit/build-angular": "0.13.0",
|
||||
"@angular-devkit/build-optimizer": "0.13.0",
|
||||
"@angular/animations": "7.2.3",
|
||||
"@angular/cli": "7.3.0",
|
||||
"@angular/common": "7.2.3",
|
||||
"@angular/compiler": "7.2.3",
|
||||
"@angular/compiler-cli": "7.2.3",
|
||||
"@angular/core": "7.2.3",
|
||||
"@angular/forms": "7.2.3",
|
||||
"@angular/http": "7.2.3",
|
||||
"@angular/language-service": "7.2.3",
|
||||
"@angular/platform-browser": "7.2.3",
|
||||
"@angular/platform-browser-dynamic": "7.2.3",
|
||||
"@angular/router": "7.2.3",
|
||||
"@ngx-translate/i18n-polyfill": "1.0.0",
|
||||
"@types/bcryptjs": "2.4.2",
|
||||
"@types/chai": "4.1.7",
|
||||
@ -70,11 +70,11 @@
|
||||
"@types/express": "4.16.1",
|
||||
"@types/fluent-ffmpeg": "2.1.9",
|
||||
"@types/gm": "1.18.2",
|
||||
"@types/gulp": "^4.0.5",
|
||||
"@types/gulp-zip": "^4.0.0",
|
||||
"@types/gulp": "4.0.5",
|
||||
"@types/gulp-zip": "4.0.0",
|
||||
"@types/image-size": "0.7.0",
|
||||
"@types/jasmine": "3.3.8",
|
||||
"@types/node": "10.12.18",
|
||||
"@types/node": "10.12.21",
|
||||
"@types/sharp": "0.21.2",
|
||||
"@types/winston": "2.4.4",
|
||||
"@yaga/leaflet-ng2": "1.0.0",
|
||||
@ -91,7 +91,7 @@
|
||||
"intl": "1.2.5",
|
||||
"jasmine-core": "3.3.0",
|
||||
"jasmine-spec-reporter": "4.2.1",
|
||||
"jw-bootstrap-switch-ng2": "2.0.4",
|
||||
"jw-bootstrap-switch-ng2": "2.0.5",
|
||||
"karma": "4.0.0",
|
||||
"karma-chrome-launcher": "2.2.0",
|
||||
"karma-cli": "2.0.0",
|
||||
@ -104,7 +104,7 @@
|
||||
"mocha": "5.2.0",
|
||||
"ng2-cookies": "1.0.12",
|
||||
"ng2-slim-loading-bar": "4.0.0",
|
||||
"ngx-bootstrap": "3.1.3",
|
||||
"ngx-bootstrap": "3.2.0",
|
||||
"ngx-clipboard": "11.1.9",
|
||||
"ngx-toastr": "9.1.1",
|
||||
"open-iconic": "1.1.1",
|
||||
@ -112,15 +112,19 @@
|
||||
"remap-istanbul": "0.13.0",
|
||||
"rimraf": "2.6.3",
|
||||
"run-sequence": "2.2.1",
|
||||
"rxjs": "6.3.3",
|
||||
"rxjs-compat": "^6.3.3",
|
||||
"rxjs": "6.4.0",
|
||||
"rxjs-compat": "6.4.0",
|
||||
"ts-helpers": "1.1.2",
|
||||
"ts-node": "8.0.2",
|
||||
"tslint": "5.12.1",
|
||||
"typescript": "3.2.4",
|
||||
"xlf-google-translate": "1.0.0-beta.13",
|
||||
"zone.js": "0.8.29"
|
||||
"zone.js": "0.8.29",
|
||||
"terser": "3.14.1"
|
||||
},
|
||||
"//": [
|
||||
"TODO: remove terser version lock once webpack is fixed"
|
||||
],
|
||||
"resolutions": {
|
||||
"natives": "1.1.3"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user