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

react-globalize

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-globalize - npm Package Compare versions

Comparing version 0.3.9 to 0.3.10

4

dist/amd/generator.js

@@ -5,3 +5,3 @@ define(['react', 'globalize'], function (React, Globalize) {

const commonProps = ["elements", "locale"];
var commonProps = ["elements", "locale"];

@@ -38,3 +38,3 @@ function capitalizeFirstLetter(string) {

// otherProps = this.props - argArray - commonProps.
const otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) {
var otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) {
memo[propKey] = props[propKey];

@@ -41,0 +41,0 @@ return memo;

@@ -6,3 +6,3 @@ 'use strict';

const commonProps = ["elements", "locale"];
var commonProps = ["elements", "locale"];

@@ -39,3 +39,3 @@ function capitalizeFirstLetter(string) {

// otherProps = this.props - argArray - commonProps.
const otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) {
var otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) {
memo[propKey] = props[propKey];

@@ -42,0 +42,0 @@ return memo;

{
"name": "react-globalize",
"version": "0.3.9",
"version": "0.3.10",
"description": "Bringing the i18n functionality of Globalize, backed by CLDR, to React",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

import React from "react";
import Globalize from "globalize";
const commonProps = ["elements", "locale"];
var commonProps = ["elements", "locale"];

@@ -36,3 +36,3 @@ function capitalizeFirstLetter(string) {

// otherProps = this.props - argArray - commonProps.
const otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) {
var otherProps = Object.keys(props).filter(omit(argArray)).filter(omit(commonProps)).reduce(function(memo, propKey) {
memo[propKey] = props[propKey];

@@ -39,0 +39,0 @@ return memo;

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