autoprefixer-rails 8.3.0 → 8.3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/autoprefixer-rails/version.rb +1 -1
- data/vendor/autoprefixer.js +43 -38
- 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: a0af0b07a7dcc70cbb59514a61ddda8d8f9caa24ff7e1a53ab8222f914845346
|
4
|
+
data.tar.gz: 4668b6ce6fe1f58986e40207147838e894b3f1d420207c71d93dad01ca967aab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88aed4d3920fba7d9bcdbabc4434aba8f965b56eb7cae9e86ab80784b9e2be3a3cc95893aa172e553b9a40544eb94f3878f4107d23c7d3a248280135e5dde204
|
7
|
+
data.tar.gz: 57a91da45ffe07756ce282897fdd6a05dc6d3457ade09848c317a3ba7fb9c4aecb1e9d1d93c8cdd69da2894528bbaf0f7e061e6e7744febd25140a79b13acab6
|
data/CHANGELOG.md
CHANGED
data/vendor/autoprefixer.js
CHANGED
@@ -9138,51 +9138,64 @@ for (var i = 0, len = code.length; i < len; ++i) {
|
|
9138
9138
|
revLookup['-'.charCodeAt(0)] = 62;
|
9139
9139
|
revLookup['_'.charCodeAt(0)] = 63;
|
9140
9140
|
|
9141
|
-
function
|
9141
|
+
function getLens(b64) {
|
9142
9142
|
var len = b64.length;
|
9143
|
+
|
9143
9144
|
if (len % 4 > 0) {
|
9144
9145
|
throw new Error('Invalid string. Length must be a multiple of 4');
|
9145
9146
|
}
|
9146
9147
|
|
9147
|
-
//
|
9148
|
-
//
|
9149
|
-
|
9150
|
-
|
9151
|
-
|
9152
|
-
|
9148
|
+
// Trim off extra bytes after placeholder bytes are found
|
9149
|
+
// See: https://github.com/beatgammit/base64-js/issues/42
|
9150
|
+
var validLen = b64.indexOf('=');
|
9151
|
+
if (validLen === -1) validLen = len;
|
9152
|
+
|
9153
|
+
var placeHoldersLen = validLen === len ? 0 : 4 - validLen % 4;
|
9154
|
+
|
9155
|
+
return [validLen, placeHoldersLen];
|
9153
9156
|
}
|
9154
9157
|
|
9158
|
+
// base64 is 4/3 + up to two characters of the original data
|
9155
9159
|
function byteLength(b64) {
|
9156
|
-
|
9157
|
-
|
9160
|
+
var lens = getLens(b64);
|
9161
|
+
var validLen = lens[0];
|
9162
|
+
var placeHoldersLen = lens[1];
|
9163
|
+
return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
|
9164
|
+
}
|
9165
|
+
|
9166
|
+
function _byteLength(b64, validLen, placeHoldersLen) {
|
9167
|
+
return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
|
9158
9168
|
}
|
9159
9169
|
|
9160
9170
|
function toByteArray(b64) {
|
9161
|
-
var
|
9162
|
-
var
|
9163
|
-
|
9171
|
+
var tmp;
|
9172
|
+
var lens = getLens(b64);
|
9173
|
+
var validLen = lens[0];
|
9174
|
+
var placeHoldersLen = lens[1];
|
9164
9175
|
|
9165
|
-
arr = new Arr(
|
9176
|
+
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));
|
9166
9177
|
|
9167
|
-
|
9168
|
-
l = placeHolders > 0 ? len - 4 : len;
|
9178
|
+
var curByte = 0;
|
9169
9179
|
|
9170
|
-
|
9180
|
+
// if there are placeholders, only get up to the last complete 4 chars
|
9181
|
+
var len = placeHoldersLen > 0 ? validLen - 4 : validLen;
|
9171
9182
|
|
9172
|
-
for (i = 0; i <
|
9183
|
+
for (var i = 0; i < len; i += 4) {
|
9173
9184
|
tmp = revLookup[b64.charCodeAt(i)] << 18 | revLookup[b64.charCodeAt(i + 1)] << 12 | revLookup[b64.charCodeAt(i + 2)] << 6 | revLookup[b64.charCodeAt(i + 3)];
|
9174
|
-
arr[
|
9175
|
-
arr[
|
9176
|
-
arr[
|
9185
|
+
arr[curByte++] = tmp >> 16 & 0xFF;
|
9186
|
+
arr[curByte++] = tmp >> 8 & 0xFF;
|
9187
|
+
arr[curByte++] = tmp & 0xFF;
|
9177
9188
|
}
|
9178
9189
|
|
9179
|
-
if (
|
9190
|
+
if (placeHoldersLen === 2) {
|
9180
9191
|
tmp = revLookup[b64.charCodeAt(i)] << 2 | revLookup[b64.charCodeAt(i + 1)] >> 4;
|
9181
|
-
arr[
|
9182
|
-
}
|
9192
|
+
arr[curByte++] = tmp & 0xFF;
|
9193
|
+
}
|
9194
|
+
|
9195
|
+
if (placeHoldersLen === 1) {
|
9183
9196
|
tmp = revLookup[b64.charCodeAt(i)] << 10 | revLookup[b64.charCodeAt(i + 1)] << 4 | revLookup[b64.charCodeAt(i + 2)] >> 2;
|
9184
|
-
arr[
|
9185
|
-
arr[
|
9197
|
+
arr[curByte++] = tmp >> 8 & 0xFF;
|
9198
|
+
arr[curByte++] = tmp & 0xFF;
|
9186
9199
|
}
|
9187
9200
|
|
9188
9201
|
return arr;
|
@@ -9206,7 +9219,6 @@ function fromByteArray(uint8) {
|
|
9206
9219
|
var tmp;
|
9207
9220
|
var len = uint8.length;
|
9208
9221
|
var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes
|
9209
|
-
var output = '';
|
9210
9222
|
var parts = [];
|
9211
9223
|
var maxChunkLength = 16383; // must be multiple of 3
|
9212
9224
|
|
@@ -9218,19 +9230,12 @@ function fromByteArray(uint8) {
|
|
9218
9230
|
// pad the end with zeros, but make sure to not forget the extra bytes
|
9219
9231
|
if (extraBytes === 1) {
|
9220
9232
|
tmp = uint8[len - 1];
|
9221
|
-
|
9222
|
-
output += lookup[tmp << 4 & 0x3F];
|
9223
|
-
output += '==';
|
9233
|
+
parts.push(lookup[tmp >> 2] + lookup[tmp << 4 & 0x3F] + '==');
|
9224
9234
|
} else if (extraBytes === 2) {
|
9225
9235
|
tmp = (uint8[len - 2] << 8) + uint8[len - 1];
|
9226
|
-
|
9227
|
-
output += lookup[tmp >> 4 & 0x3F];
|
9228
|
-
output += lookup[tmp << 2 & 0x3F];
|
9229
|
-
output += '=';
|
9236
|
+
parts.push(lookup[tmp >> 10] + lookup[tmp >> 4 & 0x3F] + lookup[tmp << 2 & 0x3F] + '=');
|
9230
9237
|
}
|
9231
9238
|
|
9232
|
-
parts.push(output);
|
9233
|
-
|
9234
9239
|
return parts.join('');
|
9235
9240
|
}
|
9236
9241
|
|
@@ -9433,7 +9438,7 @@ function resolve(queries, context) {
|
|
9433
9438
|
var array = type.select.apply(browserslist, args);
|
9434
9439
|
if (isExclude) {
|
9435
9440
|
array = array.concat(array.map(function (j) {
|
9436
|
-
return j.replace(/\s
|
9441
|
+
return j.replace(/\s[^\s]+/, ' 0');
|
9437
9442
|
}));
|
9438
9443
|
return result.filter(function (j) {
|
9439
9444
|
return array.indexOf(j) === -1;
|
@@ -9617,7 +9622,7 @@ browserslist.coverage = function (browsers, stats) {
|
|
9617
9622
|
return browsers.reduce(function (all, i) {
|
9618
9623
|
var usage = data[i];
|
9619
9624
|
if (usage === undefined) {
|
9620
|
-
usage = data[i.replace(/ [
|
9625
|
+
usage = data[i.replace(/ [^\s]+$/, ' 0')];
|
9621
9626
|
}
|
9622
9627
|
return all + (usage || 0);
|
9623
9628
|
}, 0);
|
@@ -9961,7 +9966,7 @@ var QUERIES = [{
|
|
9961
9966
|
}, {
|
9962
9967
|
regexp: /^dead$/i,
|
9963
9968
|
select: function select() {
|
9964
|
-
return ['ie 10', 'ie_mob 10', 'bb 10', 'bb 7'];
|
9969
|
+
return ['ie 10', 'ie_mob 10', 'bb 10', 'bb 7', 'op_mob 12.1'];
|
9965
9970
|
}
|
9966
9971
|
}, {
|
9967
9972
|
regexp: /^(\w+)$/i,
|
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: 8.3.0
|
4
|
+
version: 8.3.0.1
|
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-04-
|
11
|
+
date: 2018-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|