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

api-query-parser

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-query-parser - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "api-query-parser",
"version": "0.3.0",
"version": "0.3.1",
"description": "Helper module to parse api queries",

@@ -5,0 +5,0 @@ "main": "./index.coffee",

@@ -38,11 +38,11 @@ # api-query-parser

// returns true for true, 'true', 1, '1', 'yes'
parse.integer('1')
// returns true for true, 'true', 1, '1', 'yes'
parse.boolean('1')
true
> true
parse.integer('0')
parse.boolean('0')
false
> false

@@ -56,3 +56,3 @@

0
> 0

@@ -62,3 +62,3 @@ // Use a default value

10
> 10

@@ -69,3 +69,3 @@

100
> 100

@@ -79,3 +79,3 @@

100
> 100

@@ -82,0 +82,0 @@

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