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

jeffuscator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jeffuscator - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

6

cli.js

@@ -17,5 +17,5 @@ #!/usr/bin/env node

if(program.outputPath) {
var output = path.join(process.cwd(), program.outputPath)
}
var output = program.outputPath
? path.join(process.cwd(), program.outputPath)
: null

@@ -22,0 +22,0 @@ new Jeffuscator(path.join(process.cwd(), program.inputPath))

{
"name": "jeffuscator",
"version": "1.2.1",
"version": "1.2.2",
"description": "Obfuscate JavaScript by renaming all variables and methods to different variations of 'Jeff'.",

@@ -5,0 +5,0 @@ "main": "src/Jeffuscator.js",

@@ -109,3 +109,3 @@ const mime = require('mime-types');

if(typeof outputDir !== 'undefined') {
if(outputDir) {
filename = filename.replace(

@@ -112,0 +112,0 @@ getLowestCommonDirectory(this.files),

@@ -86,7 +86,9 @@ const { expect } = require('chai')

let jsPaths = [
path.resolve(__dirname, 'fixtures/multipleJsFiles/js1.js'),
path.resolve(__dirname, 'fixtures/multipleJsFiles/js.2.js'),
path.resolve(__dirname, 'fixtures/multipleJsFiles/subDirectory/js3.js')
path.join(__dirname, 'fixtures/multipleJsFiles/js1.js'),
path.join(__dirname, 'fixtures/multipleJsFiles/js.2.js'),
path.join(__dirname, 'fixtures/multipleJsFiles/subDirectory/js3.js')
]
console.log(jsPaths)
console.log(jeff.files)
jsPaths.forEach((jsPath) => {

@@ -293,3 +295,3 @@ expect(jeff.files.indexOf(jsPath)).to.not.equal(-1)

if(file.indexOf('.jeff.js') !== -1) {
fs.unlinkSync(file)
//fs.unlinkSync(file)
}

@@ -296,0 +298,0 @@ })

Sorry, the diff of this file is not supported yet

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