Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 17d08c1

Browse files
committed
reapply 1.x fixes
1 parent ecacf44 commit 17d08c1

File tree

4 files changed

+18
-19
lines changed

4 files changed

+18
-19
lines changed

.size-snapshot.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
"gzipped": 6619
1111
},
1212
"dist/index.esm.js": {
13-
"bundled": 12824,
14-
"minified": 7630,
15-
"gzipped": 2103,
13+
"bundled": 12835,
14+
"minified": 7641,
15+
"gzipped": 2115,
1616
"treeshaked": {
1717
"rollup": {
18-
"code": 3829,
19-
"import_statements": 163
18+
"code": 3840,
19+
"import_statements": 174
2020
},
2121
"webpack": {
22-
"code": 4978
22+
"code": 4989
2323
}
2424
}
2525
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-popper",
3-
"version": "1.3.8",
3+
"version": "1.3.11",
44
"description": "React wrapper around Popper.js",
55
"license": "MIT",
66
"author": "Travis Arnold <[email protected]> (http://souporserious.com)",
@@ -57,11 +57,11 @@
5757
"popover"
5858
],
5959
"peerDependencies": {
60-
"react": "0.14.x || ^15.0.0 || ^16.0.0"
60+
"react": "0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0"
6161
},
6262
"dependencies": {
6363
"@babel/runtime": "^7.1.2",
64-
"create-react-context": "^0.3.0",
64+
"@hypnosphi/create-react-context": "^0.3.1",
6565
"deep-equal": "^1.1.1",
6666
"popper.js": "^1.14.4",
6767
"prop-types": "^15.6.1",

src/Manager.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// @flow
22
import * as React from 'react';
3-
import createContext, { type Context } from 'create-react-context';
4-
3+
import createContext, { type Context } from '@hypnosphi/create-react-context';
54
export const ManagerReferenceNodeContext: Context<?HTMLElement> = createContext();
65
export const ManagerReferenceNodeSetterContext: Context<
76
void | ((?HTMLElement) => void)

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,14 @@
792792
resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-0.8.2.tgz#576ff7fb1230185b619a75d258cbc98f0867a8dc"
793793
integrity sha512-rLu3wcBWH4P5q1CGoSSH/i9hrXs7SlbRLkoq9IGuoPYNGQvDJ3pt/wmOM+XgYjIDRMVIdkUWt0RsfzF50JfnCw==
794794

795+
"@hypnosphi/create-react-context@^0.3.1":
796+
version "0.3.1"
797+
resolved "https://registry.yarnpkg.com/@hypnosphi/create-react-context/-/create-react-context-0.3.1.tgz#f8bfebdc7665f5d426cba3753e0e9c7d3154d7c6"
798+
integrity sha512-V1klUed202XahrWJLLOT3EXNeCpFHCcJntdFGI15ntCwau+jfT386w7OFTMaCqOgXUH1fa0w/I1oZs+i/Rfr0A==
799+
dependencies:
800+
gud "^1.0.0"
801+
warning "^4.0.3"
802+
795803
"@iarna/toml@^2.2.0":
796804
version "2.2.1"
797805
resolved "https://registry.yarnpkg.com/@iarna/toml/-/toml-2.2.1.tgz#82d0993d8882bb05e0645fbb4731d9e939e895b3"
@@ -2331,14 +2339,6 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
23312339
safe-buffer "^5.0.1"
23322340
sha.js "^2.4.8"
23332341

2334-
create-react-context@^0.3.0:
2335-
version "0.3.0"
2336-
resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.3.0.tgz#546dede9dc422def0d3fc2fe03afe0bc0f4f7d8c"
2337-
integrity sha512-dNldIoSuNSvlTJ7slIKC/ZFGKexBMBrrcc+TTe1NdmROnaASuLPvqpwj9v4XS4uXZ8+YPu0sNmShX2rXI5LNsw==
2338-
dependencies:
2339-
gud "^1.0.0"
2340-
warning "^4.0.3"
2341-
23422342
cross-env@^5.1.4:
23432343
version "5.2.0"
23442344
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2"

0 commit comments

Comments
 (0)