Skip to content

Commit 10adb29

Browse files
committed
fix(base): remove unnecessary proxy polyfill
1 parent becf5d4 commit 10adb29

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

packages/base/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"**/third-party/*",
1818
"./polyfill/*",
1919
"core-js/**/*",
20-
"intersection-observer",
21-
"proxy-polyfill/*"
20+
"intersection-observer"
2221
],
2322
"scripts": {
2423
"clean": "rimraf cjs Device hooks lib polyfill styling types utils index.esm.js index.d.ts",
@@ -30,7 +29,6 @@
3029
"@babel/runtime": "7.10.2",
3130
"core-js": "3.6.5",
3231
"intersection-observer": "0.8.0",
33-
"proxy-polyfill": "0.3.1",
3432
"resize-observer-polyfill": "1.5.1",
3533
"smoothscroll-polyfill": "0.4.4"
3634
},

packages/base/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { ThemingParameters } from './lib/ThemingParameters';
1111
import { useConsolidatedRef } from './lib/useConsolidatedRef';
1212
import { usePassThroughHtmlProps } from './lib/usePassThroughHtmlProps';
1313
import { deprecationNotice, enrichEventWithDetails, getScrollBarWidth } from './lib/Utils';
14+
import * as hooks from './lib/hooks';
1415

1516
export {
1617
createComponentStyles,
@@ -27,5 +28,6 @@ export {
2728
CssSizeVariables,
2829
cssVariablesStyles,
2930
ThemingParameters,
30-
enrichEventWithDetails
31+
enrichEventWithDetails,
32+
hooks
3133
};

packages/base/src/polyfill/IE11.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import 'core-js/modules/es.array.from';
55
import ResizeObserver from 'resize-observer-polyfill';
66
import 'intersection-observer';
77
import { polyfill as scrollToPolyfill } from 'smoothscroll-polyfill';
8-
import 'proxy-polyfill/proxy.min.js';
98

109
// @ts-ignore
1110
window.ResizeObserver = ResizeObserver;

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15758,11 +15758,6 @@ proxy-from-env@^1.0.0:
1575815758
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
1575915759
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
1576015760

15761-
15762-
version "0.3.1"
15763-
resolved "https://registry.yarnpkg.com/proxy-polyfill/-/proxy-polyfill-0.3.1.tgz#163d5283cf928dd8ddb5c5e88528e4ccd233496f"
15764-
integrity sha512-jywE1NIksgIGqZc4uF0QLbXGz2RcHQobsCkAW+8F0nr/6agap+TWksEAKyLnIBafPD88HT9qZR2ec0oomHdjcQ==
15765-
1576615761
prr@~1.0.1:
1576715762
version "1.0.1"
1576815763
resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"

0 commit comments

Comments
 (0)