Skip to content

Commit 7854b4f

Browse files
committed
🐛 [tc39-shim] 修复 set-methods 副作用的问题
1 parent 0f6057e commit 7854b4f

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"dependencies": {
5353
"@gaubee/util": "^0.30.2",
5454
"@gaubee/web": "^0.8.0",
55-
"@gaubee/shim": "^0.2.0",
55+
"@gaubee/tc39-shim": "^0.3.2",
5656
"@lit/context": "^1.1.5",
5757
"@lit/react": "^1.0.7",
5858
"@lit/task": "^1.0.2",

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/shim/shared-element.native/shared-element-native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import {set_intersection} from '@gaubee/tc39-shim';
12
import {CssSheetArray} from '@gaubee/web';
23
import {match} from 'ts-pattern';
3-
import {set_intersection} from '../set.polyfill';
44
import {SharedElementBaseImpl, sharedElementLifecycle, sharedElements} from './shared-element-common';
55
import {
66
type SharedElementAnimation,

src/shim/shared-element.ponyfill/shared-element-ponyfill.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import {set_intersection} from '@gaubee/tc39-shim';
12
import {iter_first_not_null} from '@gaubee/util';
23
import {match} from 'ts-pattern';
34
import type {CommonSharedAbleContentsElement, CommonSharedAbleContentsMode, CommonSharedElementSnap} from '../../components/appn-shared-contents/appn-shared-contents-types';
45
import {abort_throw_if_aborted} from '../abort.polyfill';
56
import {promise_with_resolvers} from '../promise-with-resolvers.polyfill';
6-
import {set_intersection} from '../set.polyfill';
77
import {SharedElementBaseImpl, sharedElementLifecycle, sharedElements, type QueryOptions} from '../shared-element.native';
88
import type {
99
SharedElementAnimation,

src/utils/safe-property/range-to-safe-converter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Configuration options for the rangeToSafeConverter function.
33
*/
44

5-
import {decimal, decimal_div, decimal_mul, decimal_round, decimal_toNumber, DecimalRoundingMode} from '@gaubee/shim';
5+
import {decimal, decimal_div, decimal_mul, decimal_round, decimal_toNumber, DecimalRoundingMode} from '@gaubee/tc39-shim';
66
import {match, P} from 'ts-pattern';
77
import type {SafeReflectPropertyConverter} from '../safe-property';
88

tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"noImplicitAny": true,
2323
"noImplicitThis": true,
2424
"verbatimModuleSyntax": true,
25-
"moduleResolution": "node",
25+
"moduleResolution": "bundler",
2626
"allowSyntheticDefaultImports": true,
2727
"experimentalDecorators": false,
2828
"useDefineForClassFields": true,

0 commit comments

Comments
 (0)