New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uidu/analytics-namespaced-context

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uidu/analytics-namespaced-context - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

13

CHANGELOG.md
# @uidu/analytics-namespaced-context
## 0.2.2
### Patch Changes
- ce58773: Try bump all packages
- Updated dependencies [ce58773]
- @uidu/analytics@0.3.2
## 0.2.1

@@ -7,4 +15,5 @@

- 0c395cf: Tried preconstruct all forms elements
- Updated dependencies [0c395cf]
- e4db094: Tried preconstruct all forms elements
- Updated dependencies [e4db094]
- Updated dependencies [e4db094]
- @uidu/analytics@0.3.1

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

2

dist/package.json
{
"name": "@uidu/analytics-namespaced-context",
"version": "0.2.1"
"version": "0.2.2"
}
import createNamespaceContext from './helper/createNamespaceContext';
export var EDITOR_CONTEXT = 'fabricEditorCtx';
export const EDITOR_CONTEXT = 'fabricEditorCtx';
export var EDITOR_APPEARANCE_CONTEXT;

@@ -11,3 +11,2 @@ (function (EDITOR_APPEARANCE_CONTEXT) {

})(EDITOR_APPEARANCE_CONTEXT || (EDITOR_APPEARANCE_CONTEXT = {}));
export var FabricEditorAnalyticsContext = createNamespaceContext(EDITOR_CONTEXT, 'FabricEditorAnalyticsContext');
//# sourceMappingURL=FabricEditorAnalyticsContext.js.map
export const FabricEditorAnalyticsContext = createNamespaceContext(EDITOR_CONTEXT, 'FabricEditorAnalyticsContext');
import createNamespaceContext from './helper/createNamespaceContext';
export var ELEMENTS_CONTEXT = 'fabricElementsCtx';
export var FabricElementsAnalyticsContext = createNamespaceContext(ELEMENTS_CONTEXT, 'FabricElementsAnalyticsContext');
//# sourceMappingURL=FabricElementsAnalyticsContext.js.map
export const ELEMENTS_CONTEXT = 'fabricElementsCtx';
export const FabricElementsAnalyticsContext = createNamespaceContext(ELEMENTS_CONTEXT, 'FabricElementsAnalyticsContext');
import * as React from 'react';
import { AnalyticsContext } from '@uidu/analytics';
var createNamespaceContext = function (namespace, displayName) {
if (displayName === void 0) { displayName = 'NamespacedContext'; }
var Component = function (props) {
var _a;
var newData = (_a = {},
_a[namespace] = props.data,
_a);
const createNamespaceContext = (namespace, displayName = 'NamespacedContext') => {
const Component = (props) => {
const newData = {
[namespace]: props.data,
};
return (React.createElement(AnalyticsContext, { data: newData }, React.Children.only(props.children)));

@@ -16,2 +14,1 @@ };

export default createNamespaceContext;
//# sourceMappingURL=createNamespaceContext.js.map
export { ELEMENTS_CONTEXT, FabricElementsAnalyticsContext, } from './FabricElementsAnalyticsContext';
export { NAVIGATION_CONTEXT, NavigationAnalyticsContext, } from './NavigationAnalyticsContext';
export { EDITOR_CONTEXT, EDITOR_APPEARANCE_CONTEXT, FabricEditorAnalyticsContext, } from './FabricEditorAnalyticsContext';
//# sourceMappingURL=index.js.map
import createNamespaceContext from './helper/createNamespaceContext';
export var NAVIGATION_CONTEXT = 'navigationCtx';
export var NavigationAnalyticsContext = createNamespaceContext(NAVIGATION_CONTEXT, 'NavigationAnalyticsContext');
//# sourceMappingURL=NavigationAnalyticsContext.js.map
export const NAVIGATION_CONTEXT = 'navigationCtx';
export const NavigationAnalyticsContext = createNamespaceContext(NAVIGATION_CONTEXT, 'NavigationAnalyticsContext');
{
"name": "@uidu/analytics-namespaced-context",
"version": "0.2.1",
"version": "0.2.2",
"description": "Provides a namespace for AnalyticsContext data (@uidu/analytics)",

@@ -10,8 +10,8 @@ "repository": "https://github.com/uidu-org/guidu/tree/master/packages/elements/analytics-namespaced-context",

"dependencies": {
"@uidu/analytics": "^0.3.1",
"@uidu/analytics": "^0.3.2",
"tslib": "^2.0.1"
},
"devDependencies": {
"@uidu/analytics-listeners": "^0.2.1",
"@uidu/docs": "^0.2.2",
"@uidu/analytics-listeners": "^0.2.2",
"@uidu/docs": "^0.2.3",
"react": "^16.13.1"

@@ -18,0 +18,0 @@ },

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