@instructure/ui-i18n
Advanced tools
Comparing version 5.0.0 to 5.0.1-dev.1
@@ -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 ` + |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
78570
1622
1