Comparing version 4.5.0 to 4.5.1
@@ -469,3 +469,3 @@ /** | ||
getBase: function (){ | ||
return function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); }; | ||
return function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); }; | ||
} | ||
@@ -472,0 +472,0 @@ }, |
{ | ||
"name": "rttc", | ||
"version": "4.5.0", | ||
"version": "4.5.1", | ||
"description": "Runtime type-checking for JavaScript.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -340,44 +340,44 @@ // Export the array of tests below. | ||
{ example: '->', actual: 'bar', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: '', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: '-1.1', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: 'NaN', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: 'undefined', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: 'null', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: '-Infinity', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: 'Infinity', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: 'true', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: 'false', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: '0', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: '1', result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: 'bar', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: '', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: '-1.1', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: 'NaN', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: 'undefined', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: 'null', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: '-Infinity', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: 'Infinity', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: 'true', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: 'false', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: '0', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: '1', result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: -0, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: +0, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: 0, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: 1, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: -1.1, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: -0, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: +0, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: 0, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: 1, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: -1.1, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: true, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: false, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: true, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: false, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: {}, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: {foo:'bar'}, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: {foo:{bar:{baz:{}}}}, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: {foo:['bar']}, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: {foo:{bar:{baz:[{}]}}}, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: {}, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: {foo:'bar'}, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: {foo:{bar:{baz:{}}}}, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: {foo:['bar']}, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: {foo:{bar:{baz:[{}]}}}, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: [], result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: ['asdf'], result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: [''], result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: [235], result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: [false], result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: [{}], result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: [{foo:'bar'}], result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: [], result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: ['asdf'], result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: [''], result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: [235], result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: [false], result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: [{}], result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: [{foo:'bar'}], result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: undefined, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: undefined, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: NaN, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: Infinity, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: -Infinity, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: null, result: function (inputs, exits) { return exits.error(new Error('Not implemented! (this function was automatically created by `rttc`')); } }, | ||
{ example: '->', actual: NaN, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: Infinity, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: -Infinity, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
{ example: '->', actual: null, result: function () { throw new Error('Not implemented! (this function was automatically created by `rttc`'); } }, | ||
@@ -384,0 +384,0 @@ { example: '->', actual: function (inputs, exits){return exits.success();}, result: function (inputs, exits){return exits.success();} }, |
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
159822