Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rttc

Package Overview
Dependencies
Maintainers
4
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rttc - npm Package Compare versions

Comparing version 4.5.0 to 4.5.1

2

lib/helpers/types.js

@@ -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();} },

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