# gulp-insecurity

> Gulp plugin for detecting insecure URLs that could cause mixed content errors.

Latest version **1.2.0** (published 2016-08-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-insecurity
pnpm add gulp-insecurity
yarn add gulp-insecurity
bun add gulp-insecurity
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2016-08-04 |
| First published | 2016-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Noah Veltman |
| Maintainers | veltman |
| Keywords | ssl, https, mixed, content |

## Links

- npm: https://www.npmjs.com/package/gulp-insecurity
- Repository: https://github.com/veltman/gulp-insecurity
- Homepage: https://github.com/veltman/gulp-insecurity#readme
- Issues: https://github.com/veltman/gulp-insecurity/issues
- npm.io page: https://npm.io/package/gulp-insecurity

## Dependencies (4)

- [through2](https://npm.io/package/through2.md) ^2.0.1
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.7
- [insecurity](https://npm.io/package/insecurity.md) ^3.1.0
- [event-stream](https://npm.io/package/event-stream.md) ^3.3.4

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 1.2.0 (latest) — 2016-08-04
- 1.1.0 — 2016-08-04
- 1.0.0 — 2016-08-03

## README

# gulp-insecurity

[![Build Status](https://travis-ci.org/veltman/gulp-insecurity.svg?branch=master)](https://travis-ci.org/veltman/gulp-insecurity)

Gulp plugin for [insecurity](https://github.com/veltman/insecurity/). Prints warnings when files in the stream contain insecure URLs.

## Installation

```
npm install gulp-insecurity
```

## Usage

```js
var insecurity = require("insecurity");

gulp.task("js", function () {
  gulp.src("src/js/*.js")
    .pipe(insecurity.js())
    .pipe(gulp.dest("public/js"));
});

gulp.task("css", function () {
  gulp.src("src/less/*.less")
    .pipe(less())
    .pipe(insecurity.css())
    .pipe(gulp.dest("public/css"));
});
```

### insecurity.html(options)

Returns a stream that will check HTML files for insecure URLs and print warnings to `stdout`.  Takes the same options as [insecurity.html](https://github.com/veltman/insecurity/#insecurityhtmlcontent-options).

### insecurity.css(options)

Returns a stream that will check CSS files for insecure URLs and print warnings to `stdout`.  Takes the same options as [insecurity.css](https://github.com/veltman/insecurity/#insecuritycsscontent-options).

### insecurity.js(options)

Returns a stream that will check JS files for insecure URLs and print warnings to `stdout`.  Takes the same options as [insecurity.js](https://github.com/veltman/insecurity/#insecurityjscontent-options).

### insecurity.text(options)

Returns a stream that will check text files for insecure URLs and print warnings to `stdout`.  Takes the same options as [insecurity.text](https://github.com/veltman/insecurity/#insecuritytextcontent-options).

---
_Source: https://npm.io/package/gulp-insecurity · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
