
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
gulp-sass-unicode-double-escape
Advanced tools
Reverts the conversion of unicode escaped characters and fixes the double escaped unicode characters.
Replaces double slashes introduced by gulp-sass for unicode characters
First install gulp-sass-unicode-double-escape
npm install --save-dev gulp-sass-unicode-double-escape
Then add it to your gulpfile.js
var sass = require('gulp-sass'),
sassUnicodeFix = require('gulp-sass-unicode-double-escape');
gulp.task('build', function() {
return gulp.src(['input.scss'])
.pipe(sass)
.pipe(sassUnicodeFix())
.pipe(gulp.dest('css/'));
});
Using gulp-sass to compile the following SASS will result in the current version of gulp-sass to generate CSS with incorrectly escaped unicode characters:
$open-quote: \00AB;
$close-quote: \00BB;
q{
quotes:"\2018" "\2019" "#{$open-quote}" "#{$close-quote}";
}
q{
quotes:"\2018" "\2019" "\\00AB" "\\00BB";
}
Using this gulp extension the double escaping of gulp-sass will be reverted
FAQs
Reverts the conversion of unicode escaped characters and fixes the double escaped unicode characters.
We found that gulp-sass-unicode-double-escape 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.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.