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

@instructure/ui-i18n

Package Overview
Dependencies
Maintainers
29
Versions
1978
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-i18n - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1-dev.1

4

es/utils/I18nPropTypes.js

@@ -27,3 +27,3 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

import DateTime from '@instructure/ui-i18n/lib/DateTime';
import { isValid } from '../DateTime';

@@ -58,3 +58,3 @@ /**

if (!DateTime.isValid(propValue)) {
if (!isValid(propValue)) {
return new Error('Invalid ' + location + ' `' + propName + '` `' + propValue + '` supplied to `' + componentName + '`, expected ' + 'an ISO 8601 formatted string.');

@@ -61,0 +61,0 @@ }

@@ -31,8 +31,4 @@ 'use strict';

var _DateTime = require('@instructure/ui-i18n/lib/DateTime');
var _DateTime = require('../DateTime');
var _DateTime2 = _interopRequireDefault(_DateTime);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**

@@ -66,3 +62,3 @@ * ---

if (!_DateTime2.default.isValid(propValue)) {
if (!(0, _DateTime.isValid)(propValue)) {
return new Error('Invalid ' + location + ' `' + propName + '` `' + propValue + '` supplied to `' + componentName + '`, expected ' + 'an ISO 8601 formatted string.');

@@ -69,0 +65,0 @@ }

{
"name": "@instructure/ui-i18n",
"version": "5.0.0",
"version": "5.0.1-dev.1",
"description": "A UI component library made by Instructure Inc.",

@@ -25,5 +25,4 @@ "author": "Instructure, Inc. Engineering and Product Design",

"devDependencies": {
"@instructure/ui-forms": "^5.0.0",
"@instructure/ui-presets": "^5.0.0",
"@instructure/ui-themes": "^5.0.0",
"@instructure/ui-presets": "^5.0.1-dev.1",
"@instructure/ui-themes": "^5.0.1-dev.1",
"react": "15.6.2",

@@ -37,3 +36,3 @@ "react-dom": "15.6.2"

"dependencies": {
"@instructure/ui-utils": "^5.0.0",
"@instructure/ui-utils": "^5.0.1-dev.1",
"decimal.js": "^9.0.1",

@@ -40,0 +39,0 @@ "moment": "^2.10.6",

@@ -25,3 +25,3 @@ /*

import DateTime from '@instructure/ui-i18n/lib/DateTime'
import { isValid } from '../DateTime'

@@ -59,3 +59,3 @@ /**

if (!DateTime.isValid(propValue)) {
if (!isValid(propValue)) {
return new Error(

@@ -62,0 +62,0 @@ `Invalid ${location} \`${propName}\` \`${propValue}\` supplied to \`${componentName}\`, expected ` +

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