redux-form
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -374,6 +374,6 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); | ||
exports['default'] = reduxForm; | ||
@@ -422,2 +422,10 @@ | ||
} | ||
function runValidation(form) { | ||
var syncErrors = validate(form.data); | ||
var asyncErrors = _extends({}, form.asyncErrors); | ||
var valid = !!(syncErrors.valid && asyncErrors.valid); // !! to convert falsy to boolean | ||
return _extends({}, syncErrors, asyncErrors, { | ||
valid: valid | ||
}); | ||
} | ||
return function (DecoratedComponent) { | ||
@@ -459,4 +467,9 @@ return (function (_Component) { | ||
var pristine = _util.isPristine(form.initial, form.data); | ||
var errors = _extends({}, validate(form.data), form.asyncErrors); | ||
var valid = !!errors.valid; | ||
var _runValidation = runValidation(form); | ||
var valid = _runValidation.valid; | ||
var errors = _objectWithoutProperties(_runValidation, ['valid']); | ||
return _react2['default'].createElement(DecoratedComponent, _extends({ | ||
@@ -533,3 +546,2 @@ asyncValidating: form.asyncValidating, | ||
module.exports = exports['default']; | ||
// eslint-disable-line no-dupe-keys | ||
@@ -536,0 +548,0 @@ /***/ }, |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return t[n].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var a=r(3),u=n(a),o=r(4),i=n(o),c=r(2);e.default=i.default,e.blur=c.blur,e.change=c.change,e.createFormReducer=u.default,e.initialize=c.initialize,e.reset=c.reset,e.startAsyncValidation=c.startAsyncValidation,e.stopAsyncValidation=c.stopAsyncValidation,e.touch=c.touch,e.touchAll=c.touchAll,e.untouch=c.untouch,e.untouchAll=c.untouchAll},function(t,e){"use strict";e.__esModule=!0;var r="redux-form/BLUR";e.BLUR=r;var n="redux-form/CHANGE";e.CHANGE=n;var a="redux-form/INITIALIZE";e.INITIALIZE=a;var u="redux-form/RESET";e.RESET=u;var o="redux-form/START_ASYNC_VALIDATION";e.START_ASYNC_VALIDATION=o;var i="redux-form/STOP_ASYNC_VALIDATION";e.STOP_ASYNC_VALIDATION=i;var c="redux-form/TOUCH";e.TOUCH=c;var s="redux-form/TOUCH_ALL";e.TOUCH_ALL=s;var l="redux-form/UNTOUCH";e.UNTOUCH=l;var f="redux-form/UNTOUCH_ALL";e.UNTOUCH_ALL=f},function(t,e,r){"use strict";function n(t,e,r){return{type:p.BLUR,form:t,field:e,value:r}}function a(t,e,r){return{type:p.CHANGE,form:t,field:e,value:r}}function u(t,e){return{type:p.INITIALIZE,form:t,data:e}}function o(t){return{type:p.RESET,form:t}}function i(t){return{type:p.START_ASYNC_VALIDATION,form:t}}function c(t,e){return{type:p.STOP_ASYNC_VALIDATION,form:t,errors:e}}function s(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return{type:p.TOUCH,form:t,fields:r}}function l(t){return{type:p.TOUCH_ALL,form:t}}function f(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return{type:p.UNTOUCH,form:t,fields:r}}function d(t){return{type:p.UNTOUCH_ALL,form:t}}e.__esModule=!0,e.blur=n,e.change=a,e.initialize=u,e.reset=o,e.startAsyncValidation=i,e.stopAsyncValidation=c,e.touch=s,e.touchAll=l,e.untouch=f,e.untouchAll=d;var p=r(1)},function(t,e,r){"use strict";function n(t,e){var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],n=r.touchOnBlur,o=void 0===n?!0:n,i=r.touchOnChange,c=void 0===i?!1:i;return function(){var r,n,i=arguments.length<=0||void 0===arguments[0]?{initial:{},data:{},touched:{},asyncValidating:!1,asyncErrors:{}}:arguments[0],s=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(s.form!==t)return i;switch(s.type){case u.BLUR:var l={data:a({},i.data,(r={},r[s.field]=s.value,r))};if(o){var f;l.touched=a({},i.touched,(f={},f[s.field]=!0,f))}return a({},i,l);case u.CHANGE:var d={data:a({},i.data,(n={},n[s.field]=s.value,n))};if(c){var p;d.touched=a({},i.touched,(p={},p[s.field]=!0,p))}return a({},i,d);case u.INITIALIZE:return{initial:s.data,data:s.data,asyncValidating:!1,asyncErrors:{},touched:{}};case u.RESET:return{initial:i.initial,data:i.initial,touched:{},asyncValidating:!1,asyncErrors:{}};case u.START_ASYNC_VALIDATION:return a({},i,{asyncValidating:!0});case u.STOP_ASYNC_VALIDATION:return a({},i,{asyncValidating:!1,asyncErrors:s.errors});case u.TOUCH:var h={};return s.fields.forEach(function(t){if("string"!=typeof t)throw new Error("fields passed to touch() must be strings");h[t]=!0}),a({},i,{touched:a({},i.touched,h)});case u.TOUCH_ALL:var m={};return e.forEach(function(t){return m[t]=!0}),a({},i,{touched:m});case u.UNTOUCH:var y={};return s.fields.forEach(function(t){if("string"!=typeof t)throw new Error("fields passed to untouch() must be strings");y[t]=!1}),a({},i,{touched:a({},i.touched,y)});case u.UNTOUCH_ALL:return a({},i,{touched:{}});default:return i}}}e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=n;var u=r(1);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function a(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];var i=function(){return{}},h=void 0;return"function"==typeof r[0]&&(i=r.shift()),"object"==typeof r[0]&&(h=r[0]),function(e){return function(r){function n(){u(this,n),r.apply(this,arguments)}return o(n,r),n.prototype.render=function(){var t=this.props,r=t.form,n=t.sliceName,u=t.dispatch,o=a(t,["form","sliceName","dispatch"]),s=function(t,e){return function(a){u(d.blur(n,t,e||a.target.value)),h&&h.validate&&h.fields&&~h.fields.indexOf(t)&&(u(d.startAsyncValidation(n)),h.validate(r.data).then(function(t){return u(d.stopAsyncValidation(n,t))}))}},l=function(t,e){return function(r){return u(d.change(n,t,e||r.target.value))}},m=p.isPristine(r.initial,r.data),y=c({},i(r.data),r.asyncErrors),v=!!y.valid;return f.default.createElement(e,c({asyncValidating:r.asyncValidating,data:r.data,dirty:!m,dispatch:u,errors:y,handleBlur:s,handleChange:l,initializeForm:function(t){return u(d.initialize(n,t))},invalid:!v,pristine:m,resetForm:function(){return u(d.reset(n))},touch:function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return u(d.touch.apply(void 0,[n].concat(e)))},touched:r.touched,touchAll:function(){return u(d.touchAll(n))},untouch:function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return u(d.untouch.apply(void 0,[n].concat(e)))},untouchAll:function(){return u(d.untouchAll(n))},valid:v},o))},s(n,null,[{key:"displayName",value:"ReduxForm("+p.getDisplayName(e)+")",enumerable:!0},{key:"DecoratedComponent",value:e,enumerable:!0},{key:"propTypes",value:{sliceName:l.PropTypes.string,form:l.PropTypes.object.isRequired,dispatch:l.PropTypes.func.isRequired},enumerable:!0},{key:"defaultProps",value:{sliceName:t},enumerable:!0}]),n}(l.Component)}}e.__esModule=!0;var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();e.default=i;var l=r(6),f=n(l),d=r(2),p=r(5);t.exports=e.default},function(t,e){"use strict";function r(t){return t.displayName||t.name||"Component"}function n(t,e){if(t===e)return!0;for(var r=Object.keys(e),n=0;n<r.length;n++){var a=r[n],u=e[a],o=t[a];if((u||o)&&u!==o)return!1}return!0}e.__esModule=!0,e.getDisplayName=r,e.isPristine=n},function(e,r){e.exports=t}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReduxForm=e(require("react")):t.ReduxForm=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return t[n].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var a=r(3),u=n(a),o=r(4),i=n(o),c=r(2);e.default=i.default,e.blur=c.blur,e.change=c.change,e.createFormReducer=u.default,e.initialize=c.initialize,e.reset=c.reset,e.startAsyncValidation=c.startAsyncValidation,e.stopAsyncValidation=c.stopAsyncValidation,e.touch=c.touch,e.touchAll=c.touchAll,e.untouch=c.untouch,e.untouchAll=c.untouchAll},function(t,e){"use strict";e.__esModule=!0;var r="redux-form/BLUR";e.BLUR=r;var n="redux-form/CHANGE";e.CHANGE=n;var a="redux-form/INITIALIZE";e.INITIALIZE=a;var u="redux-form/RESET";e.RESET=u;var o="redux-form/START_ASYNC_VALIDATION";e.START_ASYNC_VALIDATION=o;var i="redux-form/STOP_ASYNC_VALIDATION";e.STOP_ASYNC_VALIDATION=i;var c="redux-form/TOUCH";e.TOUCH=c;var s="redux-form/TOUCH_ALL";e.TOUCH_ALL=s;var l="redux-form/UNTOUCH";e.UNTOUCH=l;var f="redux-form/UNTOUCH_ALL";e.UNTOUCH_ALL=f},function(t,e,r){"use strict";function n(t,e,r){return{type:p.BLUR,form:t,field:e,value:r}}function a(t,e,r){return{type:p.CHANGE,form:t,field:e,value:r}}function u(t,e){return{type:p.INITIALIZE,form:t,data:e}}function o(t){return{type:p.RESET,form:t}}function i(t){return{type:p.START_ASYNC_VALIDATION,form:t}}function c(t,e){return{type:p.STOP_ASYNC_VALIDATION,form:t,errors:e}}function s(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return{type:p.TOUCH,form:t,fields:r}}function l(t){return{type:p.TOUCH_ALL,form:t}}function f(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;e>n;n++)r[n-1]=arguments[n];return{type:p.UNTOUCH,form:t,fields:r}}function d(t){return{type:p.UNTOUCH_ALL,form:t}}e.__esModule=!0,e.blur=n,e.change=a,e.initialize=u,e.reset=o,e.startAsyncValidation=i,e.stopAsyncValidation=c,e.touch=s,e.touchAll=l,e.untouch=f,e.untouchAll=d;var p=r(1)},function(t,e,r){"use strict";function n(t,e){var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],n=r.touchOnBlur,o=void 0===n?!0:n,i=r.touchOnChange,c=void 0===i?!1:i;return function(){var r,n,i=arguments.length<=0||void 0===arguments[0]?{initial:{},data:{},touched:{},asyncValidating:!1,asyncErrors:{}}:arguments[0],s=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(s.form!==t)return i;switch(s.type){case u.BLUR:var l={data:a({},i.data,(r={},r[s.field]=s.value,r))};if(o){var f;l.touched=a({},i.touched,(f={},f[s.field]=!0,f))}return a({},i,l);case u.CHANGE:var d={data:a({},i.data,(n={},n[s.field]=s.value,n))};if(c){var p;d.touched=a({},i.touched,(p={},p[s.field]=!0,p))}return a({},i,d);case u.INITIALIZE:return{initial:s.data,data:s.data,asyncValidating:!1,asyncErrors:{},touched:{}};case u.RESET:return{initial:i.initial,data:i.initial,touched:{},asyncValidating:!1,asyncErrors:{}};case u.START_ASYNC_VALIDATION:return a({},i,{asyncValidating:!0});case u.STOP_ASYNC_VALIDATION:return a({},i,{asyncValidating:!1,asyncErrors:s.errors});case u.TOUCH:var h={};return s.fields.forEach(function(t){if("string"!=typeof t)throw new Error("fields passed to touch() must be strings");h[t]=!0}),a({},i,{touched:a({},i.touched,h)});case u.TOUCH_ALL:var m={};return e.forEach(function(t){return m[t]=!0}),a({},i,{touched:m});case u.UNTOUCH:var y={};return s.fields.forEach(function(t){if("string"!=typeof t)throw new Error("fields passed to untouch() must be strings");y[t]=!1}),a({},i,{touched:a({},i.touched,y)});case u.UNTOUCH_ALL:return a({},i,{touched:{}});default:return i}}}e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=n;var u=r(1);t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function a(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t){function e(t){var e=h(t.data),r=s({},t.asyncErrors),n=!(!e.valid||!r.valid);return s({},e,r,{valid:n})}for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;r>i;i++)n[i-1]=arguments[i];var h=function(){return{}},m=void 0;return"function"==typeof n[0]&&(h=n.shift()),"object"==typeof n[0]&&(m=n[0]),function(r){return function(n){function i(){u(this,i),n.apply(this,arguments)}return o(i,n),i.prototype.render=function(){var t=this.props,n=t.form,u=t.sliceName,o=t.dispatch,i=a(t,["form","sliceName","dispatch"]),c=function(t,e){return function(r){o(d.blur(u,t,e||r.target.value)),m&&m.validate&&m.fields&&~m.fields.indexOf(t)&&(o(d.startAsyncValidation(u)),m.validate(n.data).then(function(t){return o(d.stopAsyncValidation(u,t))}))}},l=function(t,e){return function(r){return o(d.change(u,t,e||r.target.value))}},h=p.isPristine(n.initial,n.data),y=e(n),v=y.valid,A=a(y,["valid"]);return f.default.createElement(r,s({asyncValidating:n.asyncValidating,data:n.data,dirty:!h,dispatch:o,errors:A,handleBlur:c,handleChange:l,initializeForm:function(t){return o(d.initialize(u,t))},invalid:!v,pristine:h,resetForm:function(){return o(d.reset(u))},touch:function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return o(d.touch.apply(void 0,[u].concat(e)))},touched:n.touched,touchAll:function(){return o(d.touchAll(u))},untouch:function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return o(d.untouch.apply(void 0,[u].concat(e)))},untouchAll:function(){return o(d.untouchAll(u))},valid:v},i))},c(i,null,[{key:"displayName",value:"ReduxForm("+p.getDisplayName(r)+")",enumerable:!0},{key:"DecoratedComponent",value:r,enumerable:!0},{key:"propTypes",value:{sliceName:l.PropTypes.string,form:l.PropTypes.object.isRequired,dispatch:l.PropTypes.func.isRequired},enumerable:!0},{key:"defaultProps",value:{sliceName:t},enumerable:!0}]),i}(l.Component)}}e.__esModule=!0;var c=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=i;var l=r(6),f=n(l),d=r(2),p=r(5);t.exports=e.default},function(t,e){"use strict";function r(t){return t.displayName||t.name||"Component"}function n(t,e){if(t===e)return!0;for(var r=Object.keys(e),n=0;n<r.length;n++){var a=r[n],u=e[a],o=t[a];if((u||o)&&u!==o)return!1}return!0}e.__esModule=!0,e.getDisplayName=r,e.isPristine=n},function(e,r){e.exports=t}])}); |
@@ -5,6 +5,6 @@ 'use strict'; | ||
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); | ||
exports['default'] = reduxForm; | ||
@@ -53,2 +53,10 @@ | ||
} | ||
function runValidation(form) { | ||
var syncErrors = validate(form.data); | ||
var asyncErrors = _extends({}, form.asyncErrors); | ||
var valid = !!(syncErrors.valid && asyncErrors.valid); // !! to convert falsy to boolean | ||
return _extends({}, syncErrors, asyncErrors, { | ||
valid: valid | ||
}); | ||
} | ||
return function (DecoratedComponent) { | ||
@@ -90,4 +98,9 @@ return (function (_Component) { | ||
var pristine = _util.isPristine(form.initial, form.data); | ||
var errors = _extends({}, validate(form.data), form.asyncErrors); | ||
var valid = !!errors.valid; | ||
var _runValidation = runValidation(form); | ||
var valid = _runValidation.valid; | ||
var errors = _objectWithoutProperties(_runValidation, ['valid']); | ||
return _react2['default'].createElement(DecoratedComponent, _extends({ | ||
@@ -163,3 +176,2 @@ asyncValidating: form.asyncValidating, | ||
module.exports = exports['default']; | ||
// eslint-disable-line no-dupe-keys | ||
module.exports = exports['default']; |
{ | ||
"name": "redux-form", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A higher order component generator for forms using Redux and React", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
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
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
113822
1428