From 3716111bf6abff04fe0e297a6d29a3d9d871420b Mon Sep 17 00:00:00 2001 From: wessberg Date: Fri, 1 Mar 2019 12:44:02 +0100 Subject: [PATCH] fix(custom-elements): adds MutationObserver as dependency of the custom-elements polyfill --- package.json | 26 +++++++++++++------------- src/constant/constant.ts | 2 +- test/server/server.test.ts | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 0315977..88104f1 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ ], "devDependencies": { "@wessberg/di-compiler": "^2.0.2", - "@wessberg/rollup-plugin-ts": "1.1.28", + "@wessberg/rollup-plugin-ts": "1.1.34", "@wessberg/scaffold": "^1.0.17", "@wessberg/ts-config": "^0.0.39", "husky": "^1.3.1", @@ -53,24 +53,24 @@ "pretty-quick": "^1.10.0", "standard-changelog": "^2.0.7", "ts-node": "^8.0.2", - "tslint": "^5.12.1", - "typescript": "^3.3.3", + "tslint": "^5.13.1", + "typescript": "^3.3.3333", "useragent-generator": "^1.1.0" }, "dependencies": { - "@babel/core": "^7.3.3", + "@babel/core": "^7.3.4", "@types/astring": "^1.3.0", "@types/file-type": "^10.6.0", "@types/iltorb": "^2.3.0", "@types/memory-fs": "^0.3.2", "@types/mime": "^2.0.1", - "@types/node": "^11.9.4", + "@types/node": "^11.9.6", "@types/semver": "^5.5.0", "@webcomponents/custom-elements": "^1.2.1", "@webcomponents/shadycss": "^1.9.0", "@webcomponents/shadydom": "^1.5.0", "@webcomponents/template": "^1.4.0", - "@wessberg/browserslist-generator": "1.0.11", + "@wessberg/browserslist-generator": "1.0.12", "@wessberg/di": "^2.0.3", "@wessberg/fileloader": "^1.1.9", "@wessberg/filesaver": "^1.0.8", @@ -83,11 +83,11 @@ "chalk": "^2.4.2", "console-polyfill": "^0.3.0", "construct-style-sheets-polyfill": "^1.0.1", - "core-js": "^3.0.0-beta.15", - "core-js-builder": "^3.0.0-beta.15", + "core-js": "^3.0.0-beta.16", + "core-js-builder": "^3.0.0-beta.16", "devcert": "^1.0.0", "events-polyfill": "^2.1.0", - "file-type": "^10.7.1", + "file-type": "^10.8.0", "http-status-codes": "^1.3.0", "iltorb": "^2.4.1", "intersection-observer": "^0.5.1", @@ -107,11 +107,11 @@ "requestanimationframe": "0.0.23", "requestidlecallback": "^0.3.0", "resize-observer": "^1.0.0", - "rollup": "^1.1.2", - "rollup-plugin-commonjs": "^9.2.0", + "rollup": "^1.4.0", + "rollup-plugin-commonjs": "^9.2.1", "rollup-plugin-multi-entry": "^2.1.0", - "rollup-plugin-node-resolve": "^4.0.0", - "scroll-behavior-polyfill": "^2.0.6", + "rollup-plugin-node-resolve": "^4.0.1", + "scroll-behavior-polyfill": "^2.0.7", "semver": "^5.6.0", "setimmediate": "^1.0.5", "systemjs": "^3.0.0", diff --git a/src/constant/constant.ts b/src/constant/constant.ts index 078a496..0566e34 100644 --- a/src/constant/constant.ts +++ b/src/constant/constant.ts @@ -2770,7 +2770,7 @@ export const constant: IConstant = { relativePaths: ["custom-elements.min.js"], features: ["custom-elementsv1"], version: environment.NPM_PACKAGE_DEPENDENCIES__WEBCOMPONENTS_CUSTOM_ELEMENTS, - dependencies: ["es"], + dependencies: ["es", "mutation-observer"], contexts: WINDOW_CONTEXT }, "shadow-dom": { diff --git a/test/server/server.test.ts b/test/server/server.test.ts index 7fecbaa..4cfddf3 100644 --- a/test/server/server.test.ts +++ b/test/server/server.test.ts @@ -7,7 +7,7 @@ import {sendRequest} from "../../src/util/request-util/request-util"; import {constant} from "../../src/constant/constant"; import {initializeTests} from "./setup"; // @ts-ignore -import {chrome, ie, safari} from "useragent-generator"; +import {chrome, ie} from "useragent-generator"; import {ContentEncodingKind} from "../../src/encoding/content-encoding-kind"; import {getPolyfillRequestFromUrl} from "../../src/util/polyfill/polyfill-util"; import {URL} from "url";