Skip to content

Commit

Permalink
chore(antd/next): update resize-observer-polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed May 20, 2021
1 parent c849814 commit 71542b0
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
"node": "8.x || 9.x || 10.x || 11.x"
},
"workspaces": [
"packages/*",
"designable/*",
"devtools/*"
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "lerna clean",
"build": "rimraf -rf packages/*/lib packages/*/esm && lerna run build",
"build": "rimraf -rf packages/*/{lib,esm} && lerna run build",
"build:docs": "dumi build",
"start": "dumi dev",
"test": "jest --coverage",
Expand Down Expand Up @@ -105,7 +103,7 @@
"jest-styled-components": "6.3.3",
"jest-watch-lerna-packages": "^1.1.0",
"lerna": "^4.0.0",
"lerna-changelog":"^1.0.1",
"lerna-changelog": "^1.0.1",
"less": "^4.1.1",
"less-plugin-npm-import": "^2.1.0",
"postcss": "^8.0.0",
Expand Down Expand Up @@ -157,10 +155,10 @@
"bugfix": ":beetle: Bug Fix",
"doc": ":memo: Documentation",
"refactor": ":rose: Some Code Change",
"test":":construction: Update Test Cases",
"perf":":rocket: Improve Performace",
"build":":hammer_and_wrench: Update Workflow Scripts",
"chore":":blush: Improve Some Code"
"test": ":construction: Update Test Cases",
"perf": ":rocket: Improve Performace",
"build": ":hammer_and_wrench: Update Workflow Scripts",
"chore": ":blush: Improve Some Code"
},
"cacheDir": ".changelog"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"classnames": "^2.2.6",
"react-sortable-hoc": "^1.11.0",
"react-sticky-box": "^0.9.3",
"resize-observer-polyfill": "^1.5.1"
"@juggle/resize-observer": "^3.3.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/antd/src/form-grid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useLayoutEffect, useRef, useState, useContext } from 'react'
import { usePrefixCls } from '../__builtins__'
import cls from 'classnames'
import { isValid, isNum, isBool, isEqual } from '@formily/shared'
import ResizeObserver from 'resize-observer-polyfill'
import { ResizeObserver } from '@juggle/resize-observer'
import { FormGridContext } from './context'

interface ILayout {
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"classnames": "^2.2.6",
"react-sortable-hoc": "^1.11.0",
"react-sticky-box": "^0.9.3",
"resize-observer-polyfill": "^1.5.1"
"@juggle/resize-observer": "^3.3.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/form-grid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useLayoutEffect, useRef, useState, useContext } from 'react'
import { usePrefixCls } from '../__builtins__'
import cls from 'classnames'
import { isValid, isNum, isBool, isEqual } from '@formily/shared'
import ResizeObserver from 'resize-observer-polyfill'
import { ResizeObserver } from '@juggle/resize-observer'
import { FormGridContext } from './context'

interface ILayout {
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,11 @@
"@types/yargs" "^15.0.0"
chalk "^4.0.0"

"@juggle/resize-observer@^3.3.1":
version "3.3.1"
resolved "https://registry.yarnpkg.com/@juggle/resize-observer/-/resize-observer-3.3.1.tgz#b50a781709c81e10701004214340f25475a171a0"
integrity sha512-zMM9Ds+SawiUkakS7y94Ymqx+S0ORzpG3frZirN3l+UlXUmSUR7hF4wxCVqW+ei94JzV5kt0uXBcoOEAuiydrw==

"@lerna/add@4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@lerna/add/-/add-4.0.0.tgz#c36f57d132502a57b9e7058d1548b7a565ef183f"
Expand Down

0 comments on commit 71542b0

Please sign in to comment.