Skip to content

Commit 4e2fcbf

Browse files
committed
[change] Update inline-style-prefixer
Close #2764
1 parent 9c8f89b commit 4e2fcbf

File tree

4 files changed

+8
-26
lines changed

4 files changed

+8
-26
lines changed

package-lock.json

+5-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"format": "prettier --check --ignore-path ./configs/.prettierignore \"**/*.js\"",
1212
"format:fix": "prettier --write --ignore-path ./configs/.prettierignore \"**/*.js\"",
1313
"lint": "eslint configs packages scripts --config ./configs/.eslintrc",
14-
"lint:fix": "npm run lint --fix",
14+
"lint:fix": "npm run lint -- --fix",
1515
"prerelease": "npm run test && npm run build",
1616
"release": "node ./scripts/releaseReactNativeWebPackages.js",
1717
"release:benchmarks": "git checkout gh-pages && rm -rf ./docs/benchmarks && mv packages/benchmarks/dist ./docs/benchmarks && git add -A && git commit -m \"Deploy benchmarks\" && git push origin gh-pages && git checkout -",
@@ -52,7 +52,6 @@
5252
"gen-flow-files": "^0.4.11",
5353
"glob": "^8.0.3",
5454
"husky": "^8.0.0",
55-
"inline-style-prefixer": "^6.0.0",
5655
"jest": "^29.7.0",
5756
"jest-environment-jsdom": "^29.7.0",
5857
"lint-staged": "^13.0.3",

packages/react-native-web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@babel/runtime": "^7.18.6",
2626
"@react-native/normalize-colors": "^0.74.1",
2727
"fbjs": "^3.0.4",
28-
"inline-style-prefixer": "^6.0.1",
28+
"inline-style-prefixer": "^7.0.1",
2929
"memoize-one": "^6.0.0",
3030
"nullthrows": "^1.1.1",
3131
"postcss-value-parser": "^4.2.0",

packages/react-native-web/src/modules/prefixStyles/static.js

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import backgroundClip from 'inline-style-prefixer/lib/plugins/backgroundClip';
21
import crossFade from 'inline-style-prefixer/lib/plugins/crossFade';
3-
import cursor from 'inline-style-prefixer/lib/plugins/cursor';
4-
import filter from 'inline-style-prefixer/lib/plugins/filter';
52
import imageSet from 'inline-style-prefixer/lib/plugins/imageSet';
63
import logical from 'inline-style-prefixer/lib/plugins/logical';
74
import position from 'inline-style-prefixer/lib/plugins/position';
@@ -14,17 +11,7 @@ const wms = ['Webkit', 'ms'];
1411
const wmms = ['Webkit', 'Moz', 'ms'];
1512

1613
export default {
17-
plugins: [
18-
backgroundClip,
19-
crossFade,
20-
cursor,
21-
filter,
22-
imageSet,
23-
logical,
24-
position,
25-
sizing,
26-
transition
27-
],
14+
plugins: [crossFade, imageSet, logical, position, sizing, transition],
2815
prefixMap: {
2916
appearance: wmms,
3017
userSelect: wm,

0 commit comments

Comments
 (0)