Comparing version 1.3.10 to 1.3.11
@@ -22,3 +22,3 @@ CSSO changelog | ||
10.10.2012, Version 1.3.4 | ||
10.10.2012, Version 1.3.4 | ||
------------------------- | ||
@@ -28,3 +28,3 @@ | ||
09.10.2012, Version 1.3.3 | ||
09.10.2012, Version 1.3.3 | ||
------------------------- | ||
@@ -34,3 +34,3 @@ | ||
08.10.2012, Version 1.3.2 | ||
08.10.2012, Version 1.3.2 | ||
------------------------- | ||
@@ -45,5 +45,5 @@ | ||
04.10.2012, Version 1.3.0 | ||
04.10.2012, Version 1.3.0 | ||
------------------------- | ||
- PeCode CSS parser replaced by Gonzales CSS parser |
@@ -8,3 +8,3 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
@@ -16,2 +16,2 @@ "categories":[{"name": "Optimizers/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"order": "10" | ||
} | ||
} |
@@ -8,5 +8,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Optimizers/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Optimizers/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": ["ishimoto-koji"], | ||
@@ -16,2 +16,2 @@ "url": "/docs/description/", | ||
"order": "10" | ||
} | ||
} |
@@ -650,3 +650,3 @@ CSSO (CSS Optimizer) является минимизатором CSS, выполняющим как минимизацию без изменения структуры, так и структурную минимизацию с целью получить как можно меньший текст. | ||
В общем случае (исключения описаны ниже) минимизация удалением перекрываемого селектора не происходит, если группа селекторов включает псевдокласс или псевдоэлемент. | ||
В общем случае (исключения описаны ниже) минимизация удалением перекрываемого селектора не происходит, если группа селекторов включает псевдокласс или псевдоэлемент. | ||
@@ -669,3 +669,3 @@ * Было: | ||
} | ||
a, x:-vendor-class { | ||
@@ -672,0 +672,0 @@ property: value1 |
@@ -8,5 +8,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Оптимизаторы/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Оптимизаторы/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": [], | ||
@@ -16,2 +16,2 @@ "url": "/docs/description/", | ||
"order": "10" | ||
} | ||
} |
@@ -36,2 +36,3 @@ CSSO (CSS Optimizer) is a CSS minimizer unlike others. In addition to usual minification techniques it can perform structural optimization of CSS files, resulting in smaller file size compared to other minifiers. | ||
* japanese translation — Koji Ishimoto (<ijok.ijok@gmail.com>) | ||
* korean translation — Wankyu Kim (<wankyu19@gmail.com>) | ||
@@ -38,0 +39,0 @@ # Feedback |
@@ -7,5 +7,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Optimizers/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Optimizers/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": ["khachaturov-leonid"], | ||
@@ -15,2 +15,2 @@ "url": "/docs/index/", | ||
"root" : "true" | ||
} | ||
} |
@@ -36,2 +36,3 @@ CSSO (CSSオプティマイザー)は、他とは違ったCSS縮小化ツールです。 一般的な縮小化テクニックに加えてCSSファイルの構造的な最適化も行うので、 他の縮小化ツールと比べてより軽量にすることが可能です。 | ||
* 日本語翻訳 — Koji Ishimoto (<ijok.ijok@gmail.com>) | ||
* 韓国語翻訳 — Wankyu Kim (<wankyu19@gmail.com>) | ||
@@ -38,0 +39,0 @@ # フィードバック |
@@ -7,5 +7,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Optimizers/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Optimizers/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": ["ishimoto-koji"], | ||
@@ -15,2 +15,2 @@ "url": "/docs/index/", | ||
"root" : "true" | ||
} | ||
} |
@@ -35,2 +35,3 @@ CSSO (CSS Optimizer) является минимизатором CSS, выполняющим как минимизацию без изменения структуры, так и структурную минимизацию с целью получить как можно меньший текст. | ||
* перевод на английский язык — Leonid Khachaturov (<leonidkhachaturov@gmail.com>) | ||
* перевод на корейский язык — Wankyu Kim (<wankyu19@gmail.com>) | ||
@@ -37,0 +38,0 @@ # Обратная связь |
@@ -7,5 +7,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Оптимизаторы/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Оптимизаторы/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": [], | ||
@@ -15,2 +15,2 @@ "url": "/docs/index/", | ||
"root" : "true" | ||
} | ||
} |
@@ -8,5 +8,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Optimizers/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Optimizers/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": ["khachaturov-leonid"], | ||
@@ -16,2 +16,2 @@ "url": "/docs/install/", | ||
"order": "20" | ||
} | ||
} |
@@ -8,5 +8,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Optimizers/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Optimizers/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": ["ishimoto-koji"], | ||
@@ -16,2 +16,2 @@ "url": "/docs/install/", | ||
"order": "20" | ||
} | ||
} |
@@ -8,5 +8,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Оптимизаторы/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Оптимизаторы/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": [], | ||
@@ -16,2 +16,2 @@ "url": "/docs/install/", | ||
"order": "20" | ||
} | ||
} |
@@ -8,5 +8,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Optimizers/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Optimizers/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": ["khachaturov-leonid"], | ||
@@ -16,2 +16,2 @@ "url": "/docs/usage/", | ||
"order": "30" | ||
} | ||
} |
@@ -11,3 +11,3 @@ # ブラウザーから | ||
npmからインストールした場合 `csso` | ||
npmからインストールした場合 `csso` | ||
@@ -14,0 +14,0 @@ 使用方法: |
@@ -8,5 +8,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Optimizers/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Optimizers/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": ["ishimoto-koji"], | ||
@@ -16,2 +16,2 @@ "url": "/docs/usage/", | ||
"order": "30" | ||
} | ||
} |
@@ -8,5 +8,5 @@ { | ||
"thumbnail": "", | ||
"authors": ["harisov-vitaly"], | ||
"authors": ["kryzhanovsky-sergey"], | ||
"tags": ["tools", "css"], | ||
"categories": [{"name": "Оптимизаторы/СSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"categories": [{"name": "Оптимизаторы/CSSO", "url": "optimizers/csso", "order": "20/20"}], | ||
"translators": [], | ||
@@ -16,2 +16,2 @@ "url": "/docs/usage/", | ||
"order": "30" | ||
} | ||
} |
@@ -708,3 +708,3 @@ function TRBL(name, imp) { | ||
else { | ||
if (!(container[1] === 'atrulerq' && !pr) && !this.issue16(container, i)) { | ||
if (!(container[1] === 'atrulerq' && !pr) && !this.issue16(container, i) && !this.issue165(container, pr, nr)) { | ||
if (nr !== null && pr !== null) { | ||
@@ -726,2 +726,7 @@ if (this._cleanWhitespace(nr, false) || this._cleanWhitespace(pr, true)) return null; | ||
//See https://github.com/css/csso/issues/165 | ||
CSSOCompressor.prototype.issue165 = function(container, pr, nr) { | ||
return container[1] === 'atrulerq' && pr === 'braces' && nr === 'ident'; | ||
}; | ||
CSSOCompressor.prototype._cleanWhitespace = function(r, left) { | ||
@@ -858,3 +863,3 @@ switch(r) { | ||
if (h.length === 6) { | ||
var vhash = this._compressHashColor(h, {}); | ||
var vhash = this._compressHashColor(h, {}); | ||
if (appendSpace) { | ||
@@ -866,3 +871,3 @@ // che: I guess this is not right: modify color token with | ||
return vhash; | ||
return vhash; | ||
} | ||
@@ -1182,3 +1187,3 @@ } | ||
if ((i = string.indexOf('-', 2)) !== -1) return string.substr(0, i + 1); | ||
} | ||
} | ||
return ''; | ||
@@ -1185,0 +1190,0 @@ }; |
{ | ||
"name": "csso", | ||
"description": "CSSO — CSS optimizer", | ||
"version": "1.3.10", | ||
"version": "1.3.11", | ||
"homepage": "https://github.com/css/csso", | ||
"author": "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (http://github.com/afelix)", | ||
"author": "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (https://github.com/afelix)", | ||
"license": "MIT", | ||
"repository": { | ||
@@ -11,18 +12,18 @@ "type": "git", | ||
}, | ||
"bin": "./bin/csso", | ||
"bugs": { | ||
"url": "https://github.com/css/csso/issues" | ||
}, | ||
"bin": { | ||
"csso": "./bin/csso" | ||
}, | ||
"main": "./lib/cssoapi", | ||
"engines": { | ||
"node": ">=0.8.0" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT" | ||
} | ||
], | ||
"scripts": { | ||
"test": "./node_modules/mocha/bin/mocha ./test/test.js" | ||
"test": "mocha ./test/test.js" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.13.0" | ||
"mocha": "~1.16.2" | ||
}, | ||
"engines": { | ||
"node": ">=0.8.0" | ||
} | ||
} |
[![Build Status](https://travis-ci.org/css/csso.png?branch=master)](https://travis-ci.org/css/csso) | ||
[![devDependency Status](https://david-dm.org/css/csso/dev-status.png?theme=shields.io)](https://david-dm.org/css/csso#info=devDependencies) | ||
@@ -9,2 +10,8 @@ # English | ||
# 中文 | ||
CSSO (CSS 优化器) 是一个与众不同的CSS代码压缩器。相比其他压缩器,除了常用的压缩技术外,它还会通过重建CSS代码结构信息的优化技术从而使文件压缩到更小的尺寸。 | ||
访问[bem.info/tools/csso](http://bem.info/tools/csso/)获取更详细的信息。 | ||
# 日本語 | ||
@@ -22,4 +29,10 @@ | ||
# 한국어 | ||
CSSO (CSS Optimizer)는 다른 CSS압축툴과는 다릅니다. 일반적인 압축 기법에 더불어 CSS파일의 구조를 최적화하여 다른 툴에 비해 더 작은 파일로 만들 수 있습니다. | ||
상세한 정보는 [bem.info/tools/csso](http://bem.info/tools/csso/)를 참고바랍니다. | ||
<!-- Yandex.Metrika counter --> | ||
<img src="https://mc.yandex.ru/watch/12831025" style="position:absolute; left:-9999px;" alt="" /> | ||
<!-- /Yandex.Metrika counter --> |
@@ -997,3 +997,3 @@ | ||
if ((i = string.indexOf('-', 2)) !== -1) return string.substr(0, i + 1); | ||
} | ||
} | ||
return ''; | ||
@@ -1000,0 +1000,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
543731
1367
11382
0
37