File tree 4 files changed +2
-13
lines changed
4 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -537,10 +537,6 @@ License: [MIT](https://github.com/facebook/react/blob/master/LICENSE)
537
537
Copyright © ; Facebook, Inc. and its affiliates.
538
538
License: [ MIT] ( https://github.com/facebook/react/blob/master/LICENSE )
539
539
540
- [ ** utility-types** ] ( https://github.com/piotrwitek/utility-types )
541
- Copyright
© ; 2016 Piotr Witek <
[email protected] >
542
- License: [ MIT] ( https://github.com/piotrwitek/utility-types/blob/master/LICENSE )
543
-
544
540
[ ** node-uuid** ] ( https://github.com/kelektiv/node-uuid )
545
541
Copyright © ; 2010-2016 Robert Kieffer and other contributors
546
542
License: [ MIT] ( https://github.com/kelektiv/node-uuid/blob/master/LICENSE.md )
Original file line number Diff line number Diff line change 42
42
},
43
43
"dependencies" : {
44
44
"@optimizely/optimizely-sdk" : " ^5.3.4" ,
45
- "hoist-non-react-statics" : " ^3.3.2" ,
46
- "utility-types" : " ^2.1.0 || ^3.0.0"
45
+ "hoist-non-react-statics" : " ^3.3.2"
47
46
},
48
47
"peerDependencies" : {
49
48
"react" : " >=16.8.0"
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
import * as React from 'react' ;
17
- import { Subtract } from 'utility-types' ;
18
17
19
18
import { OptimizelyContextConsumer , OptimizelyContextInterface } from './Context' ;
20
19
import { ReactSDKClient } from './client' ;
@@ -26,7 +25,7 @@ export interface WithOptimizelyProps {
26
25
isServerSide : boolean ;
27
26
}
28
27
29
- export type WithoutOptimizelyProps < P extends WithOptimizelyProps > = Subtract < P , WithOptimizelyProps > ;
28
+ export type WithoutOptimizelyProps < P extends WithOptimizelyProps > = Omit < P , keyof WithOptimizelyProps > ;
30
29
31
30
export function withOptimizely < P extends WithOptimizelyProps , R > (
32
31
Component : React . ComponentType < P >
Original file line number Diff line number Diff line change @@ -4800,11 +4800,6 @@ url-parse@^1.5.3:
4800
4800
querystringify "^2.1.1"
4801
4801
requires-port "^1.0.0"
4802
4802
4803
- " utility-types@^2.1.0 || ^3.0.0 " :
4804
- version "3.11.0"
4805
- resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.11.0.tgz#607c40edb4f258915e901ea7995607fdf319424c"
4806
- integrity sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==
4807
-
4808
4803
uuid@^9.0.1 :
4809
4804
version "9.0.1"
4810
4805
resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30"
You can’t perform that action at this time.
0 commit comments