Socket
Socket
Sign inDemoInstall

anchor

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anchor - npm Package Compare versions

Comparing version 0.10.4 to 0.10.5

node_modules/geojsonhint/.npmignore

9

lib/match/rules.js

@@ -7,6 +7,4 @@ /**

var validator = require('validator');
var GeoJSON = require('gjtk');
var geojsonhint = require('geojsonhint');
/**

@@ -50,3 +48,6 @@ * Type rules

},
'geojson' : GeoJSON.isGeoJSON,
'geojson' : function (value, opt) {
var errors = geojsonhint.hint(value);
return errors.length === 0 || !opt;
},
'mediumtext' : _.isString,

@@ -53,0 +54,0 @@ 'longtext' : _.isString,

{
"name": "anchor",
"version": "0.10.4",
"version": "0.10.5",
"description": "Recursive validation library with support for objects and lists",

@@ -34,6 +34,11 @@ "homepage": "http://sailsjs.org",

"dependencies": {
"validator": "~3.41.2",
"geojsonhint": "^1.1.0",
"lodash": "~3.9.3",
"gjtk": "~1.0.0b"
"validator": "~3.41.2"
},
"bundledDependencies": [
"geojsonhint",
"lodash",
"validator"
],
"devDependencies": {

@@ -40,0 +45,0 @@ "async": "~0.2.10",

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