Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "no-swears", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Filter swearwords out of your strings automagically", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -14,3 +14,3 @@ no-swears | ||
const noswear = require('no-swear') | ||
const noswears = require('no-swears') | ||
``` | ||
@@ -26,3 +26,3 @@ | ||
noswear.filter(badString, goodString => { | ||
noswears.filter(badString, goodString => { | ||
console.log(goodString) | ||
@@ -29,0 +29,0 @@ }) |
'use strict' | ||
const noswear = require('./index') | ||
const noswears = require('./index') | ||
let badString = "hell brainfuck is weird" | ||
noswear.filter(badString, goodString => { | ||
noswears.filter(badString, goodString => { | ||
console.log("Want string \"**** brain**** is weird\", got", goodString) | ||
@@ -9,0 +9,0 @@ if (goodString == "**** brain**** is weird") { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4649