Skip to content

Commit 3cc9ff8

Browse files
gabrielrumirandaGargron
authored andcommitted
Use inert polyfill (mastodon#12209)
* Inserting wicg-inert in project * Import wicg-inert in moda_root component * Update yarn.lock * Solving code style problems * Removing package-lock
1 parent be93318 commit 3cc9ff8

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

app/javascript/mastodon/components/modal_root.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
3+
import 'wicg-inert';
34

45
export default class ModalRoot extends React.PureComponent {
56

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@
168168
"webpack-bundle-analyzer": "^3.6.0",
169169
"webpack-cli": "^3.3.7",
170170
"webpack-merge": "^4.2.1",
171-
"websocket.js": "^0.1.12"
171+
"websocket.js": "^0.1.12",
172+
"wicg-inert": "^3.0.0"
172173
},
173174
"devDependencies": {
174175
"babel-eslint": "^10.0.3",

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10931,6 +10931,11 @@ which@^2.0.1:
1093110931
dependencies:
1093210932
isexe "^2.0.0"
1093310933

10934+
wicg-inert@^3.0.0:
10935+
version "3.0.0"
10936+
resolved "https://registry.yarnpkg.com/wicg-inert/-/wicg-inert-3.0.0.tgz#4f5797172fbf7ff01effd3839b52872e35d3cba2"
10937+
integrity sha512-sZsYZ8pk8y6CgDLkTxivfhLDBvZuDWTWBawU8OuDdO0Id6AOd1Gqjkvt9g9Ni7rgHIS7UbRvbLSv1z7MSJDYCA==
10938+
1093410939
wide-align@^1.1.0:
1093510940
version "1.1.3"
1093610941
resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"

0 commit comments

Comments
 (0)