@alifd/field
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -190,12 +190,11 @@ "use strict"; | ||
var warn = function warn() {}; // don't print warning message when in production env or node runtime | ||
var warn = function warn() {}; | ||
if (typeof process !== 'undefined' && process.env && process.env.NODE_ENV !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') { | ||
warn = function warn() { | ||
/* eslint-disable no-console */ | ||
if (typeof console !== 'undefined' && console.warn) { | ||
if (typeof console !== 'undefined' && console.error) { | ||
var _console; | ||
(_console = console).warn.apply(_console, arguments); | ||
(_console = console).error.apply(_console, arguments); | ||
} | ||
@@ -202,0 +201,0 @@ }; |
{ | ||
"name": "@alifd/field", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "Fields can be used to manage data when it comes to form data manipulation and validation. After being associated with a component, the form data can be automatically written back, read, and verified.", | ||
@@ -84,3 +84,3 @@ "files": [ | ||
}, | ||
"homepage": "https://unpkg.com/@alifd/field@1.1.7/build/index.html", | ||
"homepage": "https://unpkg.com/@alifd/field@1.1.8/build/index.html", | ||
"bugs": "https://github.com/alibaba-fusion/field/issues", | ||
@@ -87,0 +87,0 @@ "publishConfig": { |
1537452