Update dependencies
This commit is contained in:
1 parent
1b14387aa2
commit
729beba0ed
11 files changed
+2986
-2736
No files matched your search
@@ -2,13 +2,13 @@ import { PermissionSet, Expression } from "../types.ts";
|
|||||||
import { evaluate, or } from "./expression/util.ts";
|
import { evaluate, or } from "./expression/util.ts";
|
||||||
|
|
||||||
export default class Authorizer {
|
export default class Authorizer {
|
||||||
private declare permissionSets: PermissionSet[];
|
declare private permissionSets: PermissionSet[];
|
||||||
private declare validatorCache: WeakMap<
|
declare private validatorCache: WeakMap<
|
||||||
any,
|
any,
|
||||||
(mutationType, mutation, any) => boolean
|
(mutationType, mutation, any) => boolean
|
||||||
>;
|
>;
|
||||||
private declare hasAccessCache: Map<string, boolean>;
|
declare private hasAccessCache: Map<string, boolean>;
|
||||||
private declare getFilterCache: Map<string, Expression>;
|
declare private getFilterCache: Map<string, Expression>;
|
||||||
|
|
||||||
public constructor(permissionSets: PermissionSet[]) {
|
public constructor(permissionSets: PermissionSet[]) {
|
||||||
this.permissionSets = permissionSets;
|
this.permissionSets = permissionSets;
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ const TWO = BI.BigInt(2);
|
|||||||
const NEGATIVE_ONE = BI.BigInt(-1);
|
const NEGATIVE_ONE = BI.BigInt(-1);
|
||||||
|
|
||||||
class Indeterminates {
|
class Indeterminates {
|
||||||
public declare map: Map<string, number>;
|
declare public map: Map<string, number>;
|
||||||
public declare sortedKeys: string[];
|
declare public sortedKeys: string[];
|
||||||
|
|
||||||
public constructor(str?: string) {
|
public constructor(str?: string) {
|
||||||
this.map = new Map();
|
this.map = new Map();
|
||||||
@@ -98,7 +98,7 @@ function findGcd(a: BI.bigint, b: BI.bigint): BI.bigint {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class Polynomial {
|
class Polynomial {
|
||||||
public declare terms: Term[];
|
declare public terms: Term[];
|
||||||
|
|
||||||
public constructor(terms: Term[]) {
|
public constructor(terms: Term[]) {
|
||||||
this.terms = terms;
|
this.terms = terms;
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import Path from "./path.ts";
|
import Path from "./path.ts";
|
||||||
|
|
||||||
export default class PathSet {
|
export default class PathSet {
|
||||||
private declare lengthIndex: Set<Path>[];
|
declare private lengthIndex: Set<Path>[];
|
||||||
private declare fragmentIndex: Map<string, Set<Path>>[];
|
declare private fragmentIndex: Map<string, Set<Path>>[];
|
||||||
private declare stringIndex: Map<string, Path>;
|
declare private stringIndex: Map<string, Path>;
|
||||||
|
|
||||||
public constructor() {
|
public constructor() {
|
||||||
this.lengthIndex = [];
|
this.lengthIndex = [];
|
||||||
|
|||||||
+5
-5
@@ -30,11 +30,11 @@ function legalChar(c: number): boolean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default class Path {
|
export default class Path {
|
||||||
public declare readonly segments: Segments;
|
declare public readonly segments: Segments;
|
||||||
public declare readonly wildcard: number;
|
declare public readonly wildcard: number;
|
||||||
public declare readonly alias: number;
|
declare public readonly alias: number;
|
||||||
protected declare _string: string;
|
declare protected _string: string;
|
||||||
protected declare _stringIndex: number[];
|
declare protected _stringIndex: number[];
|
||||||
|
|
||||||
protected static parseAliasValue(
|
protected static parseAliasValue(
|
||||||
pattern: string,
|
pattern: string,
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ interface Instance {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default class InstanceSet {
|
export default class InstanceSet {
|
||||||
private declare set: Set<Instance>;
|
declare private set: Set<Instance>;
|
||||||
|
|
||||||
public constructor() {
|
public constructor() {
|
||||||
this.set = new Set();
|
this.set = new Set();
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ interface Revisions<V> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default class VersionedMap<K, V> {
|
export default class VersionedMap<K, V> {
|
||||||
private declare _sizeDiff: number[];
|
declare private _sizeDiff: number[];
|
||||||
private declare _revision: number;
|
declare private _revision: number;
|
||||||
private declare map: Map<K, (V | symbol)[]>;
|
declare private map: Map<K, (V | symbol)[]>;
|
||||||
public declare dirty: number;
|
declare public dirty: number;
|
||||||
|
|
||||||
public constructor() {
|
public constructor() {
|
||||||
this._sizeDiff = [0];
|
this._sizeDiff = [0];
|
||||||
|
|||||||
Generated
+2934
-2685
File diff suppressed because it is too large.
Load diff
+22
-22
@@ -26,15 +26,15 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@breejs/later": "^4.2.0",
|
"@breejs/later": "^4.2.0",
|
||||||
"@koa/bodyparser": "^5.1.1",
|
"@koa/bodyparser": "^5.1.2",
|
||||||
"@koa/router": "^13.1.0",
|
"@koa/router": "^13.1.1",
|
||||||
"bson": "^4.7.2",
|
"bson": "^4.7.2",
|
||||||
"espresso-iisojs": "^1.0.8",
|
"espresso-iisojs": "^1.0.8",
|
||||||
"iconv-lite": "^0.6.3",
|
"iconv-lite": "^0.6.3",
|
||||||
"ipaddr.js": "^2.2.0",
|
"ipaddr.js": "^2.3.0",
|
||||||
"jsonwebtoken": "^9.0.2",
|
"jsonwebtoken": "^9.0.3",
|
||||||
"koa": "^2.15.3",
|
"koa": "^2.16.4",
|
||||||
"koa-compress": "^5.1.0",
|
"koa-compress": "^5.2.0",
|
||||||
"koa-jwt": "^4.0.3",
|
"koa-jwt": "^4.0.3",
|
||||||
"koa-send": "^5.0.1",
|
"koa-send": "^5.0.1",
|
||||||
"mongodb": "^4.16.0",
|
"mongodb": "^4.16.0",
|
||||||
@@ -42,25 +42,25 @@
|
|||||||
"seedrandom": "^3.0.5"
|
"seedrandom": "^3.0.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/codemirror": "^5.60.15",
|
"@types/codemirror": "^5.60.17",
|
||||||
"@types/jsonwebtoken": "^9.0.6",
|
"@types/jsonwebtoken": "^9.0.10",
|
||||||
"@types/koa": "^2.15.0",
|
"@types/koa": "^2.15.0",
|
||||||
"@types/koa-compress": "^4.0.6",
|
"@types/koa-compress": "^4.0.7",
|
||||||
"@types/mithril": "^2.2.6",
|
"@types/mithril": "^2.2.7",
|
||||||
"@types/node": "^20.14.2",
|
"@types/node": "^20.19.37",
|
||||||
"@types/parsimmon": "^1.10.9",
|
"@types/parsimmon": "^1.10.9",
|
||||||
"@types/seedrandom": "^3.0.8",
|
"@types/seedrandom": "^3.0.8",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.12.0",
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
||||||
"@typescript-eslint/parser": "^7.12.0",
|
"@typescript-eslint/parser": "^7.18.0",
|
||||||
"codemirror": "^5.65.16",
|
"codemirror": "^5.65.21",
|
||||||
"esbuild": "^0.21.4",
|
"esbuild": "^0.27.4",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.1",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.2",
|
||||||
"mithril": "^2.2.2",
|
"mithril": "^2.3.8",
|
||||||
"prettier": "^3.3.1",
|
"prettier": "^3.8.1",
|
||||||
"sql.js": "^1.10.3",
|
"sql.js": "^1.14.1",
|
||||||
"svgo": "^3.3.2",
|
"svgo": "^3.3.3",
|
||||||
"typescript": "^5.4.5",
|
"typescript": "^5.9.3",
|
||||||
"yaml": "^1.10.2"
|
"yaml": "^1.10.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
+2
-1
@@ -11,7 +11,8 @@
|
|||||||
"strictFunctionTypes": true,
|
"strictFunctionTypes": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"allowImportingTsExtensions": true
|
"allowImportingTsExtensions": true,
|
||||||
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./bin/*.ts",
|
"./bin/*.ts",
|
||||||
|
|||||||
@@ -4,13 +4,13 @@ type AutocompleteCallback = (
|
|||||||
) => void;
|
) => void;
|
||||||
|
|
||||||
export default class Autocomplete {
|
export default class Autocomplete {
|
||||||
private declare callback: AutocompleteCallback;
|
declare private callback: AutocompleteCallback;
|
||||||
private declare element: HTMLInputElement;
|
declare private element: HTMLInputElement;
|
||||||
private declare hideTimeout: NodeJS.Timeout;
|
declare private hideTimeout: NodeJS.Timeout;
|
||||||
private declare visible: boolean;
|
declare private visible: boolean;
|
||||||
private declare default: string;
|
declare private default: string;
|
||||||
private declare selection: number;
|
declare private selection: number;
|
||||||
private declare container: HTMLElement;
|
declare private container: HTMLElement;
|
||||||
|
|
||||||
public constructor(className: string, callback: AutocompleteCallback) {
|
public constructor(className: string, callback: AutocompleteCallback) {
|
||||||
this.callback = callback;
|
this.callback = callback;
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export function structureConfig(config: Config[]): any {
|
|||||||
if (idx >= 0 && idx < MAX_ARRAY_SIZE && String(idx) === key) {
|
if (idx >= 0 && idx < MAX_ARRAY_SIZE && String(idx) === key) {
|
||||||
const pos = Math.floor(idx / MAX_BITS);
|
const pos = Math.floor(idx / MAX_BITS);
|
||||||
if (!indexes[pos]) indexes[pos] = 0;
|
if (!indexes[pos]) indexes[pos] = 0;
|
||||||
indexes[pos] |= 1 << idx % MAX_BITS;
|
indexes[pos] |= 1 << (idx % MAX_BITS);
|
||||||
} else {
|
} else {
|
||||||
indexes = [];
|
indexes = [];
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user