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

postcss-single-charset

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-single-charset - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

package.json
{
"name": "postcss-single-charset",
"description": "Pop first @charset rule in CSS file.",
"version": "0.2.1",
"version": "0.2.2",
"author": "Kyo Nagashima <hail2u@gmail.com> (https://kyonagashima.com/)",

@@ -6,0 +6,0 @@ "bugs": {

@@ -8,3 +8,2 @@ 'use strict';

grunt.registerMultiTask(pkg.name, pkg.description, function () {
var fs = require('fs');
var postcss = require('postcss');

@@ -22,3 +21,3 @@

if (!fs.existsSync(src)) {
if (!grunt.file.exists(src)) {
grunt.log.warn('Source file "' + src + '" not found.');

@@ -37,6 +36,5 @@

).process(
fs.readFileSync(src, 'utf8'), options
grunt.file.read(src), options
);
fs.writeFileSync(dest, processed.css);
grunt.file.write(dest, processed.css);
grunt.log.writeln('File "' + dest + '" created.');

@@ -46,3 +44,3 @@

var map = dest + '.map';
fs.writeFileSync(map, processed.map);
grunt.file.write(map, processed.map);
grunt.log.writeln('File "' + map + '" created.');

@@ -49,0 +47,0 @@ }

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