autoprefixer-rails 9.6.2 → 9.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c704327af05ff155315f2b46ea26385037bcf823f51f4f2ef3b5be069a4abd7
4
- data.tar.gz: 679bb3d2a52696c1ccbbf71ea6cbefdf4c66ad8a5541171dd66ff46f8fe4e99f
3
+ metadata.gz: cbe1071c77535bdafcc212f4d21b6d4ae530c19c7a4d0024a1027f4047278e0d
4
+ data.tar.gz: 595f25e41817339c68def5fbba7dea1f3050eb3164abb0b798e1bd8f45237987
5
5
  SHA512:
6
- metadata.gz: 6c1ae8f2126f28818509a88ed4d9e68043aa862e8567f756677730b5a7592116807cb057703ed41ebccb627ece4eea1869de8e9e169be499c1fa26f07931f129
7
- data.tar.gz: 437e7b9f3b3facc01148a2bed979ec2ad8bd8a4acb325e97fa865f3842b7c65babbded4667a0c74d2f3ad9a661d03d21acba4174a98acb0817c74d44354be9fa
6
+ metadata.gz: 2cfe7b28345603820b3da65312801fee4122e3c4381c9003c348645f047ac353226b846cf240ba0c5d67081c26849a3d9a76338d07d12aadeac44ceaa311e322
7
+ data.tar.gz: 0af0a42d2aba006ce292c21d1920245d76007d8e65c39c0eaeba7341a66e221e4b4ef8e8a1565a729a98fa1abe35126df32ad85ee1e1e7e373d0a4a9a05972ab
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.6.3
4
+ * Fix `Cannot read property 'startsWith' of undefined` error.
5
+
3
6
  ## 9.6.2
4
7
  * Fix false `Replace fill to stretch` warning.
5
8
 
@@ -1,3 +1,3 @@
1
1
  module AutoprefixerRails
2
- VERSION = "9.6.2".freeze unless defined? AutoprefixerRails::VERSION
2
+ VERSION = "9.6.3".freeze unless defined? AutoprefixerRails::VERSION
3
3
  end
@@ -9331,17 +9331,18 @@ function () {
9331
9331
  });
9332
9332
 
9333
9333
  function insideGrid(decl) {
9334
- return decl.parent.some(function (subDecl) {
9335
- var displayGrid = subDecl.prop === 'display' && /(inline-)?grid/.test(subDecl.value);
9336
- var gridTemplate = subDecl.prop.startsWith('grid-template');
9337
- var gridGap = /^grid-([A-z]+-)?gap/.test(subDecl.prop);
9334
+ return decl.parent.nodes.some(function (node) {
9335
+ // if (node.type !== 'decl') return false
9336
+ var displayGrid = node.prop === 'display' && /(inline-)?grid/.test(node.value);
9337
+ var gridTemplate = node.prop.startsWith('grid-template');
9338
+ var gridGap = /^grid-([A-z]+-)?gap/.test(node.prop);
9338
9339
  return displayGrid || gridTemplate || gridGap;
9339
9340
  });
9340
9341
  }
9341
9342
 
9342
9343
  function insideFlex(decl) {
9343
- return decl.parent.some(function (subDecl) {
9344
- return subDecl.prop === 'display' && /(inline-)?flex/.test(subDecl.value);
9344
+ return decl.parent.some(function (node) {
9345
+ return node.prop === 'display' && /(inline-)?flex/.test(node.value);
9345
9346
  });
9346
9347
  }
9347
9348
 
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.6.2
4
+ version: 9.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-05 00:00:00.000000000 Z
11
+ date: 2019-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs