Socket
Socket
Sign inDemoInstall

svg-captcha

Package Overview
Dependencies
2
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.8 to 1.3.9

3

lib/ch-to-path.js

@@ -37,3 +37,4 @@ 'use strict';

const top = opts.y - (opts.descender * fontScale);
const height = (opts.ascender + opts.descender) * fontScale;
const top = opts.y + (height / 2);
const path = glyph.getPath(left, top, fontSize);

@@ -40,0 +41,0 @@ // Randomize path commands

@@ -32,3 +32,3 @@ 'use strict';

let out = '';
let chars = opts.charPreset;
let chars = options.charPreset || opts.charPreset;

@@ -35,0 +35,0 @@ if (ignoreChars) {

{
"name": "svg-captcha",
"version": "1.3.8",
"version": "1.3.9",
"description": "generate svg captcha in node.js or express.js",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc