Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

css-combo

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-combo - npm Package Compare versions

Comparing version
0.2.3
to
0.2.4
bin/csscombo

Sorry, the diff of this file is not supported yet

+1
-1

@@ -450,3 +450,3 @@ /**

// restore preserved comments and strings
for (i = 0, max = preservedTokens.length; i < max; i = i + 1) {
for (var i = 0, max = preservedTokens.length; i < max; i = i + 1) {
css = css.replace("___YUICSSMIN_PRESERVE_CANDIDATE_COMMENT_" + i + "___", preservedTokens[i]);

@@ -453,0 +453,0 @@ }

@@ -29,2 +29,4 @@ var fs = require('fs'),

cfg.silent = !!cfg.silent;
cfg.output = path.resolve(path.normalize(cfg.output));

@@ -163,3 +165,4 @@

config = self.config,
file = config.target;
file = config.target,
report = {};

@@ -193,3 +196,7 @@ utils.log('start analyze file : ' + file, 'debug');

self.generateOutput(data);
callback && callback();
report.imports = self.imports;
report.target = self.config.target;
report.output = self.config.output;
callback && callback(null, report);
});

@@ -196,0 +203,0 @@ });

{
"name":"css-combo",
"version":"0.2.3",
"version":"0.2.4",
"description":"css module combo tool",

@@ -5,0 +5,0 @@ "author":"Dorange <daxingplay@gmail.com>",

@@ -13,3 +13,3 @@ var CssCombo = require('../lib/index'),

compress: 0
}, function(e){
}, function(e, report){
if(e){

@@ -19,3 +19,14 @@ console.dir(e);

console.log('success');
console.log('report');
console.log(report);
if (report.target !== path.resolve(__dirname, 'css/test.source.css')) {
throw new Error('report.target Error');
}
if (report.output !== path.resolve(__dirname, 'css/test.combo.css')) {
throw new Error('report.output Error');
}
if (report.imports.length !== 5) {
throw new Error('report.imports Error');
}
}
});

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

/*ucool filePath=http://10.249.196.92:80/tbsp/tbsp.source.css*/
/*! Taobao Style Platform Copyright(c) 2008-2100, Taobao.com Inc. Some rights reserved. */

@@ -47,11 +46,11 @@

* Update Log:
* 2009-05-18 yubo ��html��Ĭ�ϱ���ɫ�Ӱ�ɫ�ij�͸��
* 2009-03-26 yubo ��reset.css��base.css�ϲ�Ϊreset.css
* 2009-02-11 yubo ��small����ʽҲreset��
* 2009-05-18 yubo html
* 2009-03-26 yubo reset.cssbase.cssreset.css
* 2009-02-11 yubo smallreset
* 2009-02-10 yubo border: 0 -> border: none
* 2008-12-23 yubo margin: 0; padding: 0 �м��� button. ����Ԫ�������ʽ��Ҳ����button
* 2008-12-23 yubo margin: 0; padding: 0 �� button. button
* 2008-11-12 yubo created initial version
*/
body { font: 12px/1.5 Tahoma,Helvetica,Arial,'����',sans-serif; }
body { font: 12px/1.5 Tahoma,Helvetica,Arial,'',sans-serif; }
html, legend { color: #404040; background: #fff; }

@@ -120,4 +119,4 @@

/**
* Ĭ������£�small���ֺű�Ĭ��С������reset����Ĩƽ����
* ��������Ĭ��Ϊ12pxʱ����smallҲ12px�dz��б�Ҫ��С��12px�������ֺ���ʶ��
* small��reset
* 12pxsmall12px����12px
*/

@@ -156,10 +155,10 @@ small { font-size: 100%; }

***********************************************/
/* �÷�ie�����Ĭ��Ҳ��ʾ��ֱ����������ֹ��������������˸�� */
/* ��ie */
html {
/*min-height: 101%; ����������ã�������Ҫ��Ч�� */
/*min-height: 101%; �� */
overflow-y: scroll; /* ��opera�»�ͬʱ����ˮƽ��������������opera���û�����Ҳ�Ϳ��Ժ����� */
overflow-y: scroll; /* operaopera */
/*overflow: -moz-scrollbars-vertical; �������ֻ���firefox
overflow-x: auto; ����һ�лὫoverflow-x�ɵ�����������������
/*overflow: -moz-scrollbars-vertical; firefox
overflow-x: auto; ��overflow-x
ref: http://developer.mozilla.org/en/docs/Mozilla_CSS_Extensions#overflow */

@@ -175,5 +174,5 @@ }

* Update Log:
* 2009-05-18 yubo ����Chrome��Safari�£�20090211���bugʱ���������һ��bug. ������display: inline-block
* 2009-02-11 yubo ���Chrome��Safari��ѡȡ����ʱ���������򲻶Ե�bug
* 2008-12-23 yubo ����position: relative��Ӱ������
* 2009-05-18 yubo ChromeSafari20090211bugbug. display: inline-block
* 2009-02-11 yubo ChromeSafaribug
* 2008-12-23 yubo position: relative
* 2008-12-18 yubo margin: 0 auto; -> margin-left: auto; margin-right: auto;

@@ -188,3 +187,3 @@ * 2008-11-02 yubo created initial version

/* For liquid layout. You can override it with any favorite percent. */
/*#page2 { width: 100%; } �����ã�Ĭ�Ͼ���100%. */
/*#page2 { width: 100%; } 100%. */
#page3 { width: 750px; } /* 750 is still suitable for 'small, intro' page. */

@@ -375,3 +374,3 @@

***********************************************/
/* bug fix: ������û������ʱ����ff��chrome��������£����ֲ��� */
/* bug fix: ffchrome */
.col-main {

@@ -381,3 +380,3 @@ min-height: 1px;

/* bug fix: ���Chrome��Safari��ѡȡ����ʱ���������򲻶Ե�bug */
/* bug fix: ChromeSafaribug */
body:first-of-type .main-wrap {

@@ -388,9 +387,9 @@ position: relative;

/**
* �ʼ��position: relative�Ǽ�������.col-sub��.col-extra�ϵ�
* ��ʱ������ԭ����position: relative��ʱ�ᵼ��ie6�µ���������
* �����������о���ie6�µ���������ʵ��������Ϊû��hasLayout�����
* ����������ʱ���ǿ�Ѩ���磬��δ��֤
* position: relative.col-sub.col-extra
* position: relativeie6
* ��ie6hasLayout
* ����
*
* ���ɲ��������д�����dz�����СӰ��ԭ��
* ��Ϊֻ��������Щ������Ҫposition: relative��ʵ��
* ����
* ��position: relative
*/

@@ -412,11 +411,11 @@ .grid-c3c .col-extra, .grid-c3b .col-sub,

* Update Log:
* 2009-02-12 yubo 1. ��.pic a����line-height, ����ie�´�ֱ���г�����
2. ��ʾ��Ϣ����helpСͼ��
* 2009-01-08 yubo ������Ϣ��ʾ��css������24�ijߴ磬�Ѿ�ҳ�漶����
* 2009-01-06 yubo 1. ����Բ�ĵĽ��飬����box��hack����Ȩ�طŵ����
2. ����pic��css��display: table-cell �ŵ� .pic a ��
* 2008-12-21 yubo 1. ����box��Ĭ��Ƥ��Ϊskin-gray.
2. �Ż�btn��ϸ΢��ʽ
3. ������ʾ��Ϣ��ʽ
4. ����floatright��floatleft
* 2009-02-12 yubo 1. .pic aline-height, ie��
2. help��
* 2009-01-08 yubo css24����
* 2009-01-06 yubo 1. �boxhack
2. piccssdisplay: table-cell .pic a
* 2008-12-21 yubo 1. boxskin-gray.
2. btn
3.
4. floatrightfloatleft
* 2008-12-18 yubo add .invisible, .pic s300, .small-btn etc.

@@ -611,3 +610,3 @@ * 2008-12-15 yubo add box style

.pic a {
display: table-cell; /*��IE�����������ʶ��Ĵ�ֱ���еķ���*/
display: table-cell; /*IE��*/
vertical-align: middle;

@@ -780,4 +779,4 @@ text-align: center;

.msg .question { background-position: 3px -347px; border-color: #bfbfbf; background-color: #f2f2f2; }
.msg .small-help { background-position: 5px -1095px; border-color: #fff; background-color: #fff; } /* ����ɫ�ͱ߿�Ĭ�ϰ�ɫ */
.msg .help { background-position: 3px -1197px; border-color: #fff; background-color: #fff; } /* ����ɫ�ͱ߿�Ĭ�ϰ�ɫ */
.msg .small-help { background-position: 5px -1095px; border-color: #fff; background-color: #fff; } /* */
.msg .help { background-position: 3px -1197px; border-color: #fff; background-color: #fff; } /* */

@@ -845,3 +844,3 @@

/***************************
* Flow Steps ���̲�����
* Flow Steps
***************************/

@@ -860,3 +859,3 @@ .flow-steps {

background: #e4e4e4 url(http://a.tbcdn.cn/sys/common/img/flow_steps_bg.png) no-repeat 100% 0;
/*list-style: decimal;*/ /* ie6�²��� */
/*list-style: decimal;*/ /* ie6 */
font-size: 14px;

@@ -927,10 +926,10 @@ font-weight: bold;

.pic {
*overflow: hidden; /* ie�£�ijЩ�ߴ��ͼƬ�����ʱ������ƫ��1px */
*overflow: hidden; /* ie��1px */
}
.pic a {
*display: block;
*font-family: Arial; /*��ֹ��utf-8�����hackʧЧ���⣬��gbk����*/
*line-height: 1; /* �����иߵ��´�ֱ�������� */
*font-family: Arial; /*utf-8hack��gbk*/
*line-height: 1; /* �� */
}
/*ԼΪ�߶ȵ�0.873��80*0.873. ������������ */
/*0.87380*0.873. */
.s30 a { *font-size: 26px; }

@@ -949,3 +948,3 @@ .s40 a { *font-size: 35px; }

/* btn */
.btn, .small-btn, .long-btn, .short-btn { *display: inline; } /* �ð�ť��Ϊ������ */
.btn, .small-btn, .long-btn, .short-btn { *display: inline; } /* */

@@ -959,3 +958,2 @@ /* msg */

body {
font-family: "����";
}
font-f