New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-cssjoin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-cssjoin - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

test/expected/path_with_no_option/bar.css

9

Gruntfile.js

@@ -64,8 +64,13 @@ /*

options: {
path : "./test/fixtures/path"
paths : "./test/fixtures/path"
},
files : {
'./tmp/path/bar.css': ['./test/fixtures/default/bar.css']
'./tmp/path/bar.css': ['./test/fixtures/path/htdocs/bar.css']
}
},
pathTestWithNoOption: {
files : {
'./tmp/path_with_no_option/bar.css': ['./test/fixtures/path/htdocs/bar.css']
}
},
sameFileTest : {

@@ -72,0 +77,0 @@ files : grunt.file.expandMapping(["./tmp/sameFileTest/*.css"]),

{
"name": "grunt-cssjoin",
"description": "Extend and join css @import loaded file",
"version": "0.1.1",
"version": "0.2.0",
"homepage": "https://github.com/suisho/grunt-cssjoin",

@@ -42,7 +42,9 @@ "author": {

"keywords": [
"gruntplugin","css", "import"
"gruntplugin",
"css",
"import"
],
"dependencies": {
"cssjoin": "~0.1.0-0"
"cssjoin": "~0.2.0-0"
}
}

@@ -43,3 +43,3 @@ # grunt-cssjoin

#### options.path
#### options.paths
Type: `Array` or `String`

@@ -66,3 +66,3 @@ Css @import resolve include paths()

#### Path Options
In this example, setting cssjoin's path.
In this example, setting cssjoin's paths.

@@ -74,3 +74,3 @@ ```js

options: {
path : ["src/"]
paths : ["src/"]
},

@@ -77,0 +77,0 @@ files: {

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

//this.file.dest = path.normalize(this.file.dest);
grunt.util.async.forEachSeries(this.files, function(f, nextFileObj){

@@ -40,2 +39,3 @@ var destFile = f.dest;

var compiled = [];
grunt.util.async.concatSeries(files, function(file, next) {

@@ -42,0 +42,0 @@ cssjoin(file, options, function(err ,css){

@@ -47,2 +47,13 @@ 'use strict';

},
path_with_no_options: function(test) {
test.expect(1);
var actual = grunt.file.read('tmp/path_with_no_option/bar.css');
var expected = grunt.file.read('test/expected/path_with_no_option/bar.css');
test.equal(actual, expected, 'should describe what the path option(s) behavior is not(but with path).');
test.done();
},
sameFile: function(test) {

@@ -49,0 +60,0 @@ test.expect(2);

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