Socket
Socket
Sign inDemoInstall

svg-captcha

Package Overview
Dependencies
2
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.11 to 1.3.12

0

fonts/LICENSE.md
license: free
website: http://www.moorstation.org/typoasis/designers/gemnew/home.htm

@@ -0,0 +0,0 @@ 1.3.11 / 2017-08-23

@@ -0,0 +0,0 @@ /**

module.exports = require('./lib');

@@ -0,0 +0,0 @@ 'use strict';

'use strict';
module.exports = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';

2

lib/index.js

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

.join('');
const start = `<svg xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}">`;
const start = `<svg xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" viewBox="0,0,${width},${height}">`;
const xml = `${start}${bgRect}${paths}</svg>`;

@@ -68,0 +68,0 @@

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ The MIT License (MIT)

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

@@ -38,3 +38,3 @@ "main": "index.js",

"devDependencies": {
"jest": "^20.0.4",
"jest": "^21.1.0",
"jest-environment-node-debug": "^2.0.0",

@@ -41,0 +41,0 @@ "xo": "^0.18.2"

![svg-captcha](media/header.png)
# svg验证码 [![Build Status](https://travis-ci.org/lemonce/svg-captcha.svg?branch=master)](https://travis-ci.org/steambap/svg-captcha)
<div align="center">
在node.js中生成svg格式的验证码
[![Build Status](https://img.shields.io/travis/lemonce/svg-captcha/master.svg?style=flat-square)](https://travis-ci.org/lemonce/svg-captcha)
[![NPM Version](https://img.shields.io/npm/v/svg-captcha.svg?style=flat-square)](https://www.npmjs.com/package/svg-captcha)
[![NPM Downloads](https://img.shields.io/npm/dm/svg-captcha.svg?style=flat-square)](https://www.npmjs.com/package/svg-captcha)
</div>
> 在node.js中生成svg格式的验证码
## Translations

@@ -16,3 +22,5 @@ [English](README.md)

## 安装
> npm install --save svg-captcha
```
npm install --save svg-captcha
```

@@ -19,0 +27,0 @@ ## 使用方法

![svg-captcha](media/header.png)
# svg captcha [![Build Status](https://travis-ci.org/lemonce/svg-captcha.svg?branch=master)](https://travis-ci.org/steambap/svg-captcha)
<div align="center">
generate svg captcha in node.js
[![Build Status](https://img.shields.io/travis/lemonce/svg-captcha/master.svg?style=flat-square)](https://travis-ci.org/lemonce/svg-captcha)
[![NPM Version](https://img.shields.io/npm/v/svg-captcha.svg?style=flat-square)](https://www.npmjs.com/package/svg-captcha)
[![NPM Downloads](https://img.shields.io/npm/dm/svg-captcha.svg?style=flat-square)](https://www.npmjs.com/package/svg-captcha)
</div>
> generate svg captcha in node.js
## Translations

@@ -16,3 +22,5 @@ [中文](README_CN.md)

## install
> npm install --save svg-captcha
```
npm install --save svg-captcha
```

@@ -19,0 +27,0 @@ ## usage

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