Update dependencies including bcd@4.0.6 (#1178)
* Update dependencies including bcd@4.0.6 * Use Node.js 16 * Remove npmrc I don't think we use it here.
This commit is contained in:
Родитель
39c685be9b
Коммит
95f05e6b4a
|
@ -9,7 +9,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "15"
|
||||
node-version: "16"
|
||||
cache: npm
|
||||
|
||||
- run: npm ci
|
||||
|
|
|
@ -10,7 +10,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "15"
|
||||
node-version: "16"
|
||||
cache: npm
|
||||
|
||||
- run: npm ci
|
||||
|
@ -31,7 +31,7 @@ jobs:
|
|||
npm i
|
||||
gulp runtests-parallel || true
|
||||
gulp baseline-accept
|
||||
git checkout package-lock.json
|
||||
git restore package-lock.json
|
||||
|
||||
- uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "15"
|
||||
node-version: "16"
|
||||
cache: npm
|
||||
|
||||
- name: Run TypeScript Compiler Tests with new dom.d.ts
|
||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "15"
|
||||
node-version: "16"
|
||||
cache: npm
|
||||
|
||||
# Use ncu to detect major version changes
|
||||
|
|
1
.npmrc
1
.npmrc
|
@ -1 +0,0 @@
|
|||
message="chore(package): bump version number to v%s"
|
|
@ -8662,6 +8662,14 @@ interface InnerHTML {
|
|||
innerHTML: string;
|
||||
}
|
||||
|
||||
interface InputDeviceInfo extends MediaDeviceInfo {
|
||||
}
|
||||
|
||||
declare var InputDeviceInfo: {
|
||||
prototype: InputDeviceInfo;
|
||||
new(): InputDeviceInfo;
|
||||
};
|
||||
|
||||
interface InputEvent extends UIEvent {
|
||||
readonly data: string | null;
|
||||
readonly dataTransfer: DataTransfer | null;
|
||||
|
@ -13053,11 +13061,20 @@ declare var ServiceWorkerRegistration: {
|
|||
new(): ServiceWorkerRegistration;
|
||||
};
|
||||
|
||||
interface ShadowRootEventMap {
|
||||
"slotchange": Event;
|
||||
}
|
||||
|
||||
interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
|
||||
readonly delegatesFocus: boolean;
|
||||
readonly host: Element;
|
||||
readonly mode: ShadowRootMode;
|
||||
onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
|
||||
/** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
|
||||
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
||||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
||||
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
||||
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
||||
}
|
||||
|
||||
declare var ShadowRoot: {
|
||||
|
@ -16282,6 +16299,7 @@ interface WindowOrWorkerGlobalScope {
|
|||
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||
queueMicrotask(callback: VoidFunction): void;
|
||||
reportError(e: any): void;
|
||||
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
}
|
||||
|
@ -17556,6 +17574,7 @@ declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitm
|
|||
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||
declare function queueMicrotask(callback: VoidFunction): void;
|
||||
declare function reportError(e: any): void;
|
||||
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
declare var sessionStorage: Storage;
|
||||
|
|
|
@ -5007,6 +5007,7 @@ interface WindowOrWorkerGlobalScope {
|
|||
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||
queueMicrotask(callback: VoidFunction): void;
|
||||
reportError(e: any): void;
|
||||
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
}
|
||||
|
@ -5371,6 +5372,7 @@ declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitm
|
|||
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||
declare function queueMicrotask(callback: VoidFunction): void;
|
||||
declare function reportError(e: any): void;
|
||||
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
declare function addEventListener<K extends keyof ServiceWorkerGlobalScopeEventMap>(type: K, listener: (this: ServiceWorkerGlobalScope, ev: ServiceWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
||||
|
|
|
@ -4862,6 +4862,7 @@ interface WindowOrWorkerGlobalScope {
|
|||
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||
queueMicrotask(callback: VoidFunction): void;
|
||||
reportError(e: any): void;
|
||||
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
}
|
||||
|
@ -5388,6 +5389,7 @@ declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitm
|
|||
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||
declare function queueMicrotask(callback: VoidFunction): void;
|
||||
declare function reportError(e: any): void;
|
||||
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
declare function addEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
||||
|
|
|
@ -5082,6 +5082,7 @@ interface WindowOrWorkerGlobalScope {
|
|||
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||
queueMicrotask(callback: VoidFunction): void;
|
||||
reportError(e: any): void;
|
||||
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
}
|
||||
|
@ -5616,6 +5617,7 @@ declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitm
|
|||
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
||||
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
||||
declare function queueMicrotask(callback: VoidFunction): void;
|
||||
declare function reportError(e: any): void;
|
||||
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
||||
declare function cancelAnimationFrame(handle: number): void;
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
20
package.json
20
package.json
|
@ -39,30 +39,30 @@
|
|||
"license": "Apache-2.0",
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@mdn/browser-compat-data": "^4.0.4",
|
||||
"@octokit/rest": "^18.11.4",
|
||||
"@mdn/browser-compat-data": "^4.0.6",
|
||||
"@octokit/rest": "^18.12.0",
|
||||
"@types/jsdom": "^16.2.13",
|
||||
"@types/node": "^16.10.2",
|
||||
"@types/node": "^16.10.5",
|
||||
"@types/node-fetch": "^3.0.2",
|
||||
"@types/webidl2": "^23.13.6",
|
||||
"@typescript-eslint/eslint-plugin": "^4.32.0",
|
||||
"@typescript-eslint/parser": "^4.32.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
"@typescript-eslint/parser": "^5.0.0",
|
||||
"@webref/css": "^2.1.0",
|
||||
"@webref/elements": "^1.0.2",
|
||||
"@webref/idl": "^2.6.0",
|
||||
"@webref/idl": "^2.6.1",
|
||||
"bcd-idl-mapper": "^1.3.1",
|
||||
"cpx2": "^4.0.0",
|
||||
"danger": "^10.6.6",
|
||||
"eslint": "^7.32.0",
|
||||
"danger": "^10.7.0",
|
||||
"eslint": "^8.0.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"jsdom": "^17.0.0",
|
||||
"jsdom": "^18.0.0",
|
||||
"jsonc-parser": "^3.0.0",
|
||||
"node-fetch": "^3.0.0",
|
||||
"prettier": "^2.4.1",
|
||||
"print-diff": "^1.0.0",
|
||||
"styleless-innertext": "^1.1.3",
|
||||
"typescript": "^4.4.3",
|
||||
"typescript": "^4.4.4",
|
||||
"webidl2": "^24.1.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,6 @@ export const forceKeepAlive: Record<string, string[]> = {
|
|||
],
|
||||
KeyframeEffect: ["iterationComposite"],
|
||||
MediaCapabilities: ["encodingInfo"],
|
||||
Request: ["keepalive"],
|
||||
RTCDtlsTransport: ["onstatechange", "state"],
|
||||
RTCPeerConnection: ["canTrickleIceCandidates"],
|
||||
WebGLRenderingContextBase: ["lineWidth"],
|
||||
|
|
Загрузка…
Ссылка в новой задаче