@evidence-dev/component-utilities
Advanced tools
Comparing version 2.0.0-usql.0 to 2.0.0-usql.1
# @evidence-dev/component-utilities | ||
## 2.0.0-usql.1 | ||
### Patch Changes | ||
- 4053c976: Fix custom formatting sometimes breaking when undefined | ||
## 2.0.0-usql.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@evidence-dev/component-utilities", | ||
"version": "2.0.0-usql.0", | ||
"version": "2.0.0-usql.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,3 +13,3 @@ import ssf from 'ssf'; | ||
export const getCustomFormats = () => { | ||
return getContext(CUSTOM_FORMATTING_SETTINGS_CONTEXT_KEY).getCustomFormats() || []; | ||
return getContext(CUSTOM_FORMATTING_SETTINGS_CONTEXT_KEY)?.getCustomFormats() || []; | ||
}; | ||
@@ -16,0 +16,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
176329
0