Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

format-message

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

format-message - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

4

inferno.js

@@ -6,7 +6,7 @@ 'use strict'

function applyChildren (element, children) {
if (process.env.NODE_ENV !== 'production' && !element.setChildren) {
if (process.env.NODE_ENV !== 'production' && !element.flags) {
throw new Error(JSON.stringify(element) + ' is not a valid element')
}
if (children) {
element.setChildren(children.length === 1 ? children[0] : children)
element.children = children.length === 1 ? children[0] : children
}

@@ -13,0 +13,0 @@ return element

{
"name": "format-message",
"version": "5.1.0",
"version": "5.1.1",
"description": "Internationalize text, numbers, and dates using ICU Message Format",

@@ -5,0 +5,0 @@ "author": "Andy VanWagoner <thetalecrafter@gmail.com> (https://thetalecrafter.com/)",

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