fjl-error-throwing
Advanced tools
Comparing version 0.7.6 to 0.7.7
@@ -11,8 +11,8 @@ define(['exports'], function (exports) { | ||
* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'. | ||
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time) | ||
* @generated Wed Jan 03 2018 00:51:49 GMT-0500 (Eastern Standard Time) | ||
*/ | ||
let version = exports.version = '0.7.6'; | ||
let version = exports.version = '0.7.7'; | ||
exports.default = version; | ||
}); |
@@ -10,7 +10,7 @@ 'use strict'; | ||
* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'. | ||
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time) | ||
* @generated Wed Jan 03 2018 00:51:49 GMT-0500 (Eastern Standard Time) | ||
*/ | ||
var version = exports.version = '0.7.6'; | ||
var version = exports.version = '0.7.7'; | ||
exports.default = version; |
@@ -7,6 +7,6 @@ import { _isType, curry, curry4, intercalate, isArray, isFunction, isString, isset, length, map, typeOf } from 'fjl'; | ||
* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'. | ||
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time) | ||
* @generated Wed Jan 03 2018 00:51:49 GMT-0500 (Eastern Standard Time) | ||
*/ | ||
let version = '0.7.6'; | ||
let version = '0.7.7'; | ||
@@ -13,0 +13,0 @@ /** |
@@ -9,6 +9,6 @@ this.fjl = this.fjl || {}; | ||
* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'. | ||
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time) | ||
* @generated Wed Jan 03 2018 00:51:49 GMT-0500 (Eastern Standard Time) | ||
*/ | ||
var version = '0.7.6'; | ||
var version = '0.7.7'; | ||
@@ -15,0 +15,0 @@ /** |
@@ -1,1 +0,1 @@ | ||
/**! fjl.errorThrowing.js 0.7.6 | License: BSD | md5checksum: 65b464b4e53921cd3571a5c7f4448899 | Built-on: Tue Jan 02 2018 18:20:19 GMT-0500 (Eastern Standard Time) **/this.fjl=this.fjl||{},this.fjl.errorThrowing=function(e,r){"use strict";var t=function(e){return r.isString(e)||r.isFunction(e)},o=function(e,o){if(!t(o))throw new Error(e+" expects Types to be checked against to be of type `String` or `Function`. Type received `"+r.typeOf(o)+"`. Value `"+o+"`.");return o},n=function(e){return o("getTypeName",e)&&r.isString(e)?e:e.name},f=function(e,t){return r._isType(n(e),t)||r.isFunction(e)&&r.isset(t)&&t instanceof e},u=function(e){return r.length(e)?r.intercalate(", ",r.map(function(e){return"`"+n(e)+"`"},e)):""},a=function(e){var t=e.contextName,o=e.valueName,n=e.value,f=e.expectedTypeName,a=e.foundTypeName,i=e.messageSuffix,p=r.isArray(f),y=p?"of type":"of one of the types",T=p?u(f):f;return(t?"`"+t+".":"`")+o+"` is not "+y+": "+T+". Type received: "+a+". Value: "+n+";"+(i?" "+i+";":"")},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;return function(o,f,u,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,p=n(o),y=r.typeOf(a);if(!t(o,a))throw new Error(e({contextName:f,valueName:u,value:a,expectedTypeName:p,foundTypeName:y,messageSuffix:i}))}},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;return function(o,f,u,a){var i=o.map(n),p=o.some(function(e){return t(e,a)}),y=r.typeOf(a);if(!p)throw new Error(e({contextName:f,valueName:u,value:a,expectedTypeName:i,foundTypeName:y}))}},y=i(a),T=p(a),c=r.curry(f),s=r.curry(y),l=r.curry4(T),N=function(e){return r.curry(i(e))},h=function(e){return r.curry4(p(e))},g={defaultTypeChecker$:f,defaultTypeChecker:c,getTypeName:n,multiTypesToString:u,defaultErrorMessageCall:a,errorIfNotType$:y,errorIfNotType:s,errorIfNotTypes$:T,errorIfNotTypes:l,getErrorIfNotTypeThrower$:i,getErrorIfNotTypeThrower:N,getErrorIfNotTypesThrower$:p,getErrorIfNotTypesThrower:h};return e.isCheckableType=t,e.errorIfNotCheckableType=o,e.getTypeName=n,e.defaultTypeChecker$=f,e.multiTypesToString=u,e.defaultErrorMessageCall=a,e.getErrorIfNotTypeThrower$=i,e.getErrorIfNotTypesThrower$=p,e.errorIfNotType$=y,e.errorIfNotTypes$=T,e.defaultTypeChecker=c,e.errorIfNotType=s,e.errorIfNotTypes=l,e.getErrorIfNotTypeThrower=N,e.getErrorIfNotTypesThrower=h,e.default=g,e.version="0.7.6",e}({},fjl); | ||
/**! fjl.errorThrowing.js 0.7.7 | License: BSD | md5checksum: 2bb890923f4b11eaa7f96f55f051db1e | Built-on: Wed Jan 03 2018 00:51:50 GMT-0500 (Eastern Standard Time) **/this.fjl=this.fjl||{},this.fjl.errorThrowing=function(e,r){"use strict";var t=function(e){return r.isString(e)||r.isFunction(e)},o=function(e,o){if(!t(o))throw new Error(e+" expects Types to be checked against to be of type `String` or `Function`. Type received `"+r.typeOf(o)+"`. Value `"+o+"`.");return o},n=function(e){return o("getTypeName",e)&&r.isString(e)?e:e.name},f=function(e,t){return r._isType(n(e),t)||r.isFunction(e)&&r.isset(t)&&t instanceof e},u=function(e){return r.length(e)?r.intercalate(", ",r.map(function(e){return"`"+n(e)+"`"},e)):""},a=function(e){var t=e.contextName,o=e.valueName,n=e.value,f=e.expectedTypeName,a=e.foundTypeName,i=e.messageSuffix,p=r.isArray(f),y=p?"of type":"of one of the types",T=p?u(f):f;return(t?"`"+t+".":"`")+o+"` is not "+y+": "+T+". Type received: "+a+". Value: "+n+";"+(i?" "+i+";":"")},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;return function(o,f,u,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,p=n(o),y=r.typeOf(a);if(!t(o,a))throw new Error(e({contextName:f,valueName:u,value:a,expectedTypeName:p,foundTypeName:y,messageSuffix:i}))}},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;return function(o,f,u,a){var i=o.map(n),p=o.some(function(e){return t(e,a)}),y=r.typeOf(a);if(!p)throw new Error(e({contextName:f,valueName:u,value:a,expectedTypeName:i,foundTypeName:y}))}},y=i(a),T=p(a),c=r.curry(f),s=r.curry(y),l=r.curry4(T),N=function(e){return r.curry(i(e))},h=function(e){return r.curry4(p(e))},g={defaultTypeChecker$:f,defaultTypeChecker:c,getTypeName:n,multiTypesToString:u,defaultErrorMessageCall:a,errorIfNotType$:y,errorIfNotType:s,errorIfNotTypes$:T,errorIfNotTypes:l,getErrorIfNotTypeThrower$:i,getErrorIfNotTypeThrower:N,getErrorIfNotTypesThrower$:p,getErrorIfNotTypesThrower:h};return e.isCheckableType=t,e.errorIfNotCheckableType=o,e.getTypeName=n,e.defaultTypeChecker$=f,e.multiTypesToString=u,e.defaultErrorMessageCall=a,e.getErrorIfNotTypeThrower$=i,e.getErrorIfNotTypesThrower$=p,e.errorIfNotType$=y,e.errorIfNotTypes$=T,e.defaultTypeChecker=c,e.errorIfNotType=s,e.errorIfNotTypes=l,e.getErrorIfNotTypeThrower=N,e.getErrorIfNotTypesThrower=h,e.default=g,e.version="0.7.7",e}({},fjl); |
@@ -23,8 +23,8 @@ (function (global, factory) { | ||
* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'. | ||
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time) | ||
* @generated Wed Jan 03 2018 00:51:49 GMT-0500 (Eastern Standard Time) | ||
*/ | ||
var version = exports.version = '0.7.6'; | ||
var version = exports.version = '0.7.7'; | ||
exports.default = version; | ||
}); |
{ | ||
"name": "fjl-error-throwing", | ||
"version": "0.7.6", | ||
"version": "0.7.7", | ||
"description": "Error throwing helpers for quickly throwing errors when a value doesn't match a type.", | ||
@@ -51,3 +51,3 @@ "main": "dist/cjs/fjl.errorThrowing.js", | ||
"dependencies": { | ||
"fjl": "^0.17.7" | ||
"fjl": "0.19.0" | ||
}, | ||
@@ -54,0 +54,0 @@ "repository": { |
@@ -5,8 +5,8 @@ /** | ||
* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'. | ||
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time) | ||
* @generated Wed Jan 03 2018 00:51:49 GMT-0500 (Eastern Standard Time) | ||
*/ | ||
export let version = '0.7.6'; | ||
export let version = '0.7.7'; | ||
export default version; | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1342937
57
+ Addedfjl@0.19.0(transitive)
- Removedfjl@0.17.14(transitive)
Updatedfjl@0.19.0