Socket
Socket
Sign inDemoInstall

jsonschema

Package Overview
Dependencies
3
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

4

lib/helpers.js

@@ -19,4 +19,6 @@ 'use strict';

var CAPITALIZE_REGEXP = /(^|\s)([a-z])/g;
var capitalize = function (input) {
return input.replace(/(^|\s)([a-z])/g, function (m, p1, p2) { return p1 + p2.toUpperCase(); });
return input.replace(CAPITALIZE_REGEXP, function (m, p1, p2) { return p1 + p2.toUpperCase(); });
};

@@ -23,0 +25,0 @@

{
"author": "Tom de Grunt <tom@degrunt.nl>",
"name": "jsonschema",
"version": "0.0.2",
"version": "0.0.3",
"dependencies": {

@@ -6,0 +6,0 @@ "mocha": "~1.3.0",

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