Update dependencies

This commit is contained in:
Tom Z?hner
2020-09-06 17:52:12 +02:00
parent 52fe8bdf7c
commit 2f5c90534e
28 changed files with 3049 additions and 3008 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
language: node_js
node_js:
- "8"
- "12"
install:
- npm i -g npm@5.8.0
- npm ci
script:
- bash travis-verify-build.sh
Generated Vendored
+5 -5
View File
@@ -717,7 +717,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -1829,7 +1829,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -2281,7 +2281,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -2540,7 +2540,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -2754,7 +2754,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+9 -9
View File
@@ -315,7 +315,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -8331,7 +8331,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -8636,7 +8636,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -8794,7 +8794,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -9090,7 +9090,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -9441,7 +9441,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -9627,7 +9627,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -9786,7 +9786,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -10047,7 +10047,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+4 -4
View File
@@ -782,7 +782,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -1915,7 +1915,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -2375,7 +2375,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
@@ -2695,7 +2695,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2989 -2947
View File
File diff suppressed because it is too large Load Diff
+14 -14
View File
@@ -35,22 +35,22 @@
"devDependencies": {
"chai": "^4.2.0",
"chai-html": "^1.3.0",
"copy-webpack-plugin": "^5.1.1",
"coverage-istanbul-loader": "^2.0.3",
"coveralls": "^3.0.9",
"jsdom": "^15.2.1",
"mocha": "^6.2.2",
"nyc": "^15.0.0",
"rimraf": "^3.0.0",
"ts-loader": "^6.2.1",
"tslint": "^5.20.1",
"typescript": "^3.7.4",
"copy-webpack-plugin": "^6.1.0",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"coveralls": "^3.1.0",
"jsdom": "^16.4.0",
"mocha": "^8.1.3",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"ts-loader": "^8.0.3",
"tslint": "^6.1.3",
"typescript": "^4.0.2",
"typewiz-core": "^1.2.4",
"typewiz-webpack": "^1.2.4",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.3",
"webpack-merge": "^4.2.2"
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^5.1.3"
},
"dependencies": {
"codepage": "^1.14.0"
+1 -1
View File
@@ -123,7 +123,7 @@ export class EmfHeader {
}
export class EMFRecords {
private _records: Array<(gdi: GDIContext) => void>;
private _records: ((gdi: GDIContext) => void)[];
private _header: EmfHeader;
constructor(reader: Blob, first: number) {
+1 -1
View File
@@ -338,7 +338,7 @@ export function CreateSimpleRegion(left: number, top: number, right: number, bot
export class Scan {
public top: number;
public bottom: number;
public scanlines: Array<{left: number, right: number}>;
public scanlines: {left: number, right: number}[];
constructor(r: RectL, copy?: Scan) {
if (r != null) {
+2 -2
View File
@@ -36,8 +36,8 @@ export class Document {
public _fonts: FonttblDestinationSub[];
public _colors: IColor[];
public _autoColor: number;
public _stylesheets: Array<{index: number, name: string}>;
public _ins: Array<string | ((renderer: Renderer) => void)>;
public _stylesheets: {index: number, name: string}[];
public _ins: (string | ((renderer: Renderer) => void))[];
constructor(settings: ISettings) {
this._settings = settings || {};
+2 -2
View File
@@ -206,9 +206,9 @@ export class GlobalState {
public column: number;
public state: State;
public version: number;
public text: Array<PlainText | HexText>;
public text: (PlainText | HexText)[];
public codepage: number;
public _asyncTasks: Array<Promise<any>>;
public _asyncTasks: Promise<any>[];
public renderer: Renderer;
constructor(blob: ArrayBuffer, renderer: Renderer) {
+1 -1
View File
@@ -119,7 +119,7 @@ export class Parser {
}
}
private summarizeText(text: Array<PlainText | HexText>) {
private summarizeText(text: (PlainText | HexText)[]) {
let result = "";
for (let i = 0; i < text.length; i++) {
const value = text[i];
@@ -87,7 +87,7 @@ export class DestinationTextBase implements IDestination {
export abstract class DestinationFormattedTextBase implements IDestination {
public _name: string;
protected parser: GlobalState;
private _records: Array<(rtf: RtfDestination) => void>;
private _records: ((rtf: RtfDestination) => void)[];
constructor(parser: GlobalState, name: string) {
this.parser = parser;
@@ -94,7 +94,7 @@ export class StylesheetDestinationSub extends DestinationBase {
}
export class StylesheetDestination extends DestinationBase {
private _stylesheets: Array<{ index: number, name: string }>;
private _stylesheets: { index: number, name: string }[];
private inst: Document;
constructor(parser: GlobalState, inst: Document) {
+2 -2
View File
@@ -332,10 +332,10 @@ export function CreateSimpleRegion(left: number, top: number, right: number, bot
export class Scan {
public top: number;
public bottom: number;
public scanlines: Array<{left: number, right: number}>;
public scanlines: {left: number, right: number}[];
constructor(reader: Blob, copy?: Scan, top?: number, bottom?: number,
scanlines?: Array<{left: number, right: number}>) {
scanlines?: {left: number, right: number}[]) {
if (reader != null) {
const cnt = reader.readUint16();
this.top = reader.readUint16();
+1 -1
View File
@@ -33,7 +33,7 @@ import { Region } from "./Region";
import { Brush, ColorRef, Font, Palette, Pen } from "./Style";
export class WMFRecords {
private _records: Array<(gdi: GDIContext) => void>;
private _records: ((gdi: GDIContext) => void)[];
constructor(reader: Blob, first: number) {
this._records = [];
+2 -2
View File
@@ -1,5 +1,5 @@
const path = require('path');
const merge = require('webpack-merge');
const {merge} = require('webpack-merge');
const baseConfig = require('./base.config.js');
module.exports = merge(baseConfig, {
@@ -9,7 +9,7 @@ module.exports = merge(baseConfig, {
test: /\.ts?$/,
use: [
{
loader: "coverage-istanbul-loader",
loader: "@jsdevtools/coverage-istanbul-loader",
options: {
esModules: true
}
+1 -1
View File
@@ -1,5 +1,5 @@
const path = require('path');
const merge = require('webpack-merge');
const {merge} = require('webpack-merge');
const baseConfig = require('./base.config.js');
module.exports = merge(baseConfig, {
+1 -1
View File
@@ -1,5 +1,5 @@
const path = require('path');
const merge = require('webpack-merge');
const {merge} = require('webpack-merge');
const baseConfig = require('./base.config.js');
module.exports = merge(baseConfig, {
+2 -2
View File
@@ -1,5 +1,5 @@
const path = require('path');
const merge = require('webpack-merge');
const {merge} = require('webpack-merge');
const baseConfig = require('./base.config.js');
module.exports = merge(baseConfig, {
@@ -7,7 +7,7 @@ module.exports = merge(baseConfig, {
rules: [
{
test: /\.ts?$/,
use: [ {
use: [{
loader: 'ts-loader',
options: {
transpileOnly: true