Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

no-swears

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

no-swears - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

index.js

@@ -12,2 +12,3 @@ /**

const fs = require('fs')
const path = require('path')

@@ -24,3 +25,3 @@ module.exports = {

var finalString = words
fs.readFile('swearwords.txt', 'utf8', (err, data) => {
fs.readFile(path.join(__dirname,'swearwords.txt'), 'utf8', (err, data) => {
if (err) throw err

@@ -27,0 +28,0 @@ // Trim down file input to remove weird encoding/returns

{
"name": "no-swears",
"version": "1.0.0",
"version": "1.0.1",
"description": "Filter swearwords out of your strings automagically",

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

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