autoprefixer-rails 9.4.1 → 9.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/autoprefixer-rails/version.rb +1 -1
- data/vendor/autoprefixer.js +28 -29
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d185bfe985dab78e724069e845ec0c74f19098b4a603a7068a0df08d73c8e41
|
4
|
+
data.tar.gz: 5bc4c3569da641eb686a3a2ab2a9393a3889bf416c039afbb1a7a111352bba8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcf5b973ac8273252f4002de29aa06efcfedf9abe8d68b793988584078daaf35042de21e7936439712d7adb44a88d6c2543160b38b1a5af84a778e3b329c5711
|
7
|
+
data.tar.gz: f6701770e9265c82d5e15848e74b20613ef993d26e510cbd9e147e4ee9bcac9b0a177804bb8050c8bdc8f6ace6fb885517713866ac26e4269eec0d5b1d16cf34
|
data/CHANGELOG.md
CHANGED
data/vendor/autoprefixer.js
CHANGED
@@ -4950,42 +4950,41 @@ function (_Declaration) {
|
|
4950
4950
|
if (autoflow && !processor.disabled(autoflow, result)) {
|
4951
4951
|
autoflowValue = autoflow.value.trim();
|
4952
4952
|
}
|
4953
|
-
/**
|
4954
|
-
* Show warning if grid-template-rows decl is not found
|
4955
|
-
*/
|
4956
4953
|
|
4954
|
+
if (status === 'autoplace') {
|
4955
|
+
/**
|
4956
|
+
* Show warning if grid-template-rows decl is not found
|
4957
|
+
*/
|
4958
|
+
var rowDecl = parent.nodes.find(function (i) {
|
4959
|
+
return i.prop === 'grid-template-rows';
|
4960
|
+
});
|
4957
4961
|
|
4958
|
-
|
4959
|
-
|
4960
|
-
|
4961
|
-
|
4962
|
-
|
4963
|
-
|
4964
|
-
|
4965
|
-
|
4966
|
-
|
4967
|
-
}
|
4968
|
-
/**
|
4969
|
-
* Show warning if grid-template-columns decl is not found
|
4970
|
-
*/
|
4971
|
-
|
4962
|
+
if (!rowDecl && hasGridTemplate) {
|
4963
|
+
return undefined;
|
4964
|
+
} else if (!rowDecl && !hasGridTemplate) {
|
4965
|
+
decl.warn(result, "Autoplacement does not work without grid-template-rows property");
|
4966
|
+
return undefined;
|
4967
|
+
}
|
4968
|
+
/**
|
4969
|
+
* Show warning if grid-template-columns decl is not found
|
4970
|
+
*/
|
4972
4971
|
|
4973
|
-
var columnDecl = parent.nodes.find(function (i) {
|
4974
|
-
return i.prop === 'grid-template-columns';
|
4975
|
-
});
|
4976
4972
|
|
4977
|
-
|
4978
|
-
|
4979
|
-
|
4980
|
-
/**
|
4981
|
-
* Autoplace grid items
|
4982
|
-
*/
|
4973
|
+
var columnDecl = parent.nodes.find(function (i) {
|
4974
|
+
return i.prop === 'grid-template-columns';
|
4975
|
+
});
|
4983
4976
|
|
4977
|
+
if (!columnDecl && !hasGridTemplate) {
|
4978
|
+
decl.warn(result, "Autoplacement does not work without grid-template-columns property");
|
4979
|
+
}
|
4980
|
+
/**
|
4981
|
+
* Autoplace grid items
|
4982
|
+
*/
|
4984
4983
|
|
4985
|
-
var autoplaceEnabled = status === 'autoplace';
|
4986
4984
|
|
4987
|
-
|
4988
|
-
|
4985
|
+
if (isColumnProp && !hasGridTemplate) {
|
4986
|
+
autoplaceGridItems(decl, result, gap, autoflowValue);
|
4987
|
+
}
|
4989
4988
|
}
|
4990
4989
|
|
4991
4990
|
return undefined;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoprefixer-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.4.
|
4
|
+
version: 9.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Sitnik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|