New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fjl-error-throwing

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fjl-error-throwing - npm Package Compare versions

Comparing version 0.7.5 to 0.7.6

.travis.yml

4

dist/amd/generated/version.js

@@ -11,8 +11,8 @@ define(['exports'], function (exports) {

* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'.
* @generated Tue Nov 21 2017 11:56:13 GMT-0500 (Eastern Standard Time)
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time)
*/
let version = exports.version = '0.7.5';
let version = exports.version = '0.7.6';
exports.default = version;
});

@@ -10,7 +10,7 @@ 'use strict';

* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'.
* @generated Tue Nov 21 2017 11:56:13 GMT-0500 (Eastern Standard Time)
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time)
*/
var version = exports.version = '0.7.5';
var version = exports.version = '0.7.6';
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 Nov 21 2017 11:56:13 GMT-0500 (Eastern Standard Time)
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time)
*/
let version = '0.7.5';
let version = '0.7.6';

@@ -13,0 +13,0 @@ /**

@@ -9,6 +9,6 @@ this.fjl = this.fjl || {};

* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'.
* @generated Tue Nov 21 2017 11:56:13 GMT-0500 (Eastern Standard Time)
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time)
*/
var version = '0.7.5';
var version = '0.7.6';

@@ -15,0 +15,0 @@ /**

@@ -1,1 +0,1 @@

/**! fjl.errorThrowing.js 0.7.5 | License: ISC | md5checksum: cb119c2167de6a4b3ac1c258577a9cbd | Built-on: Tue Nov 21 2017 11:56:14 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.5",e}({},fjl);
/**! 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);

@@ -23,8 +23,8 @@ (function (global, factory) {

* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'.
* @generated Tue Nov 21 2017 11:56:13 GMT-0500 (Eastern Standard Time)
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time)
*/
var version = exports.version = '0.7.5';
var version = exports.version = '0.7.6';
exports.default = version;
});
{
"name": "fjl-error-throwing",
"version": "0.7.5",
"version": "0.7.6",
"description": "Error throwing helpers for quickly throwing errors when a value doesn't match a type.",

@@ -11,2 +11,3 @@ "main": "dist/cjs/fjl.errorThrowing.js",

"scripts": {
"pre-publish": "npm test && npm run build && npm run build-docs",
"build": "gulp clean && gulp build && npm run test-builds",

@@ -23,3 +24,3 @@ "build-docs": "gulp jsdoc",

"author": "Ely De La Cruz <elycruz@elycruz.com>",
"license": "ISC",
"license": "BSD",
"devDependencies": {

@@ -26,0 +27,0 @@ "babel-plugin-add-module-exports": "^0.2.1",

@@ -5,8 +5,8 @@ /**

* @note Content generated by '{project-root}/node-scripts/VersionNumberReadStream.js'.
* @generated Tue Nov 21 2017 11:56:13 GMT-0500 (Eastern Standard Time)
* @generated Tue Jan 02 2018 18:20:18 GMT-0500 (Eastern Standard Time)
*/
export let version = '0.7.5';
export let version = '0.7.6';
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

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