
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
gulp-revert-path
Advanced tools
Revert the previous
file.pathchange
Many plugins change the file.path somehow. Most commenly the file extension. For example gulp-babel changes .jsx extensions to .js since it compiles JSX. Sometimes that's undesirable though. This plugin makes it easy to revert the path change.
$ npm install --save-dev gulp-revert-path
var gulp = require('gulp');
var babel = require('gulp-babel');
var revertPath = require('gulp-revert-path');
gulp.task('default', function () {
return gulp.src('src/app.jsx')
.pipe(babel()) // file.path => src/app.js
.pipe(revertPath()) // file.path => src/app.jsx
.pipe(gulp.dest('dist'));
});
MIT © Sindre Sorhus
FAQs
Revert the previous `file.path` change
The npm package gulp-revert-path receives a total of 2,043 weekly downloads. As such, gulp-revert-path popularity was classified as popular.
We found that gulp-revert-path demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.