Socket
Socket
Sign inDemoInstall

@fluentui/react-shared-contexts

Package Overview
Dependencies
Maintainers
12
Versions
781
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-shared-contexts - npm Package Compare versions

Comparing version 9.0.0-alpha.9 to 9.0.0-alpha.10

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Wed, 12 May 2021 07:33:00 GMT",
"date": "Thu, 13 May 2021 07:33:37 GMT",
"tag": "@fluentui/react-shared-contexts_v9.0.0-alpha.10",
"version": "9.0.0-alpha.10",
"comments": {
"prerelease": [
{
"comment": "set null as default value for ThemeContext",
"author": "olfedias@microsoft.com",
"commit": "d1d73e5ea7be50ad93077fad7d3b05af4db1cc94",
"package": "@fluentui/react-shared-contexts"
}
]
}
},
{
"date": "Wed, 12 May 2021 07:36:20 GMT",
"tag": "@fluentui/react-shared-contexts_v9.0.0-alpha.9",

@@ -8,0 +23,0 @@ "version": "9.0.0-alpha.9",

# Change Log - @fluentui/react-shared-contexts
This log was last generated on Wed, 12 May 2021 07:33:00 GMT and should not be manually modified.
This log was last generated on Thu, 13 May 2021 07:33:37 GMT and should not be manually modified.
<!-- Start content -->
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
Thu, 13 May 2021 07:33:37 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.9..@fluentui/react-shared-contexts_v9.0.0-alpha.10)
### Changes
- set null as default value for ThemeContext ([PR #18156](https://github.com/microsoft/fluentui/pull/18156) by olfedias@microsoft.com)
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
Wed, 12 May 2021 07:33:00 GMT
Wed, 12 May 2021 07:36:20 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.8..@fluentui/react-shared-contexts_v9.0.0-alpha.9)

@@ -11,0 +20,0 @@

2

lib-amd/ThemeContext/ThemeContext.js

@@ -5,3 +5,3 @@ define(["require", "exports", "react"], function (require, exports, React) {

exports.useTheme = exports.ThemeContext = void 0;
exports.ThemeContext = React.createContext({});
exports.ThemeContext = React.createContext(null);
function useTheme() {

@@ -8,0 +8,0 @@ return React.useContext(exports.ThemeContext);

@@ -5,3 +5,3 @@ "use strict";

var React = require("react");
exports.ThemeContext = React.createContext({});
exports.ThemeContext = React.createContext(null);
function useTheme() {

@@ -8,0 +8,0 @@ return React.useContext(exports.ThemeContext);

import * as React from 'react';
export var ThemeContext = React.createContext({});
export var ThemeContext = React.createContext(null);
export function useTheme() {

@@ -4,0 +4,0 @@ return React.useContext(ThemeContext);

{
"name": "@fluentui/react-shared-contexts",
"version": "9.0.0-alpha.9",
"version": "9.0.0-alpha.10",
"description": "Fluent UI React Contexts shared by multiple components.",

@@ -37,3 +37,3 @@ "main": "lib-commonjs/index.js",

"dependencies": {
"@fluentui/react-theme": "^9.0.0-alpha.10",
"@fluentui/react-theme": "^9.0.0-alpha.11",
"tslib": "^2.1.0"

@@ -40,0 +40,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc