Socket
Socket
Sign inDemoInstall

rttc

Package Overview
Dependencies
1
Maintainers
4
Versions
108
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.8.1 to 9.8.2

11

lib/parse-human.js

@@ -15,6 +15,11 @@ /**

/**
* Convert a string that was entered by a human into a value
* of the appropriate type. If optional type schema is provided,
* use it to make a better guess.
* parseHuman()
*
* Convert a string that was entered by a human into a value of the appropriate type.
* If optional type schema is provided, use it to make a better guess.
* Additionally, if type schema is provided, it will be used to coerce the result.
*
* > Non-primitives (like dictionaries & arrays) will not undergo full coercion, so as of
* > rttc@9.8.1, this is still experimental and so should not be relied upon!
*
* @param {String} humanString

@@ -21,0 +26,0 @@ * @param {*} expectedTypeSchema [optional]

{
"name": "rttc",
"version": "9.8.1",
"version": "9.8.2",
"description": "Runtime type-checking for JavaScript.",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc