UEA-PRODEM

This commit is contained in:
2026-06-10 12:14:46 -03:00
parent f54126b9d8
commit 9947565694
5319 changed files with 148520 additions and 129332 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright 2013 Andrey Sitnik <andrey@sitnik.ru>
Copyright 2013 Andrey Sitnik <andrey@sitnik.es>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
+5 -6
View File
@@ -46,12 +46,11 @@ Twitter account for news and releases: [@autoprefixer].
</a>
[interactive demo]: https://autoprefixer.github.io/
[@autoprefixer]: https://twitter.com/autoprefixer
[Can I Use]: https://caniuse.com/
[cult-img]: https://cultofmartians.com/assets/badges/badge.svg
[PostCSS]: https://github.com/postcss/postcss
[cult]: https://cultofmartians.com/tasks/autoprefixer-grid.html
[@autoprefixer]: https://twitter.com/autoprefixer
[Can I Use]: https://caniuse.com/
[cult-img]: https://cultofmartians.com/assets/badges/badge.svg
[PostCSS]: https://github.com/postcss/postcss
[cult]: https://cultofmartians.com/tasks/autoprefixer-grid.html
## Docs
Read full docs **[here](https://github.com/postcss/autoprefixer#readme)**.
+2
View File
@@ -750,6 +750,8 @@ f(prefixCssMasks, browsers => {
[
'mask',
'mask-position',
'mask-position-x',
'mask-position-y',
'mask-size',
'mask-border',
'mask-border-outset',
+1 -1
View File
@@ -1,5 +1,5 @@
import { Plugin } from 'postcss'
import { Stats } from 'browserslist'
import { Plugin } from 'postcss'
declare function autoprefixer<T extends string[]>(
...args: [...T, autoprefixer.Options]
+6 -3
View File
@@ -4,7 +4,7 @@ let OldValue = require('../old-value')
let utils = require('../utils')
let Value = require('../value')
let IS_DIRECTION = /top|left|right|bottom/gi
const IS_DIRECTION = /top|left|right|bottom/gi
class Gradient extends Value {
/**
@@ -229,7 +229,7 @@ class Gradient extends Value {
nodes[0].value = this.normalizeUnit(nodes[0].value, 1)
} else if (nodes[0].value.includes('deg')) {
let num = parseFloat(nodes[0].value)
num = (num % 360 + 360) % 360
num = ((num % 360) + 360) % 360
nodes[0].value = `${num}deg`
}
@@ -338,6 +338,9 @@ class Gradient extends Value {
) {
return false
}
if (string.includes('var(')) {
return false
}
let params = [[]]
for (let i of nodes) {
@@ -352,7 +355,7 @@ class Gradient extends Value {
node.nodes = []
for (let param of params) {
node.nodes = node.nodes.concat(param)
node.nodes.push(...param)
}
node.nodes.unshift(
+9 -5
View File
@@ -135,13 +135,14 @@ exports.prefixTrackValue = prefixTrackValue
function prefixTrackValue({ gap, value }) {
let result = parser(value).nodes.reduce((nodes, node) => {
if (node.type === 'function' && node.value === 'repeat') {
return nodes.concat({
nodes.push({
type: 'word',
value: transformRepeat(node, { gap })
})
return nodes
}
if (gap && node.type === 'space') {
return nodes.concat(
nodes.push(
{
type: 'space',
value: ' '
@@ -152,8 +153,10 @@ function prefixTrackValue({ gap, value }) {
},
node
)
return nodes
}
return nodes.concat(node)
nodes.push(node)
return nodes
}, [])
return parser.stringify(result)
@@ -161,7 +164,7 @@ function prefixTrackValue({ gap, value }) {
// Parse grid-template-areas
let DOTS = /^\.+$/
const DOTS = /^\.+$/
function track(start, end) {
return { end, span: end - start, start }
@@ -1046,7 +1049,8 @@ function normalizeRowColumn(str) {
if (node.type === 'space') {
return result
}
return result.concat(parser.stringify(node))
result.push(parser.stringify(node))
return result
}, [])
return normalized
+2 -2
View File
@@ -192,7 +192,7 @@ class Prefixes {
return true
}
if (step === +1 && other.prop === unprefixed) {
if (step === 1 && other.prop === unprefixed) {
if (!Browsers.withPrefix(other.value)) {
break
}
@@ -206,7 +206,7 @@ class Prefixes {
return {
down(callback) {
return checker(+1, callback)
return checker(1, callback)
},
up(callback) {
return checker(-1, callback)
+12 -11
View File
@@ -35,6 +35,17 @@ function hasRowsAndColumns(decl) {
return hasRows && hasColumns
}
function insideGrid(decl) {
return decl.parent.nodes.some(node => {
if (node.type !== 'decl') return false
let displayGrid =
node.prop === 'display' && /(inline-)?grid/.test(node.value)
let gridTemplate = node.prop.startsWith('grid-template')
let gridGap = /^grid-([A-z]+-)?gap/.test(node.prop)
return displayGrid || gridTemplate || gridGap
})
}
class Processor {
constructor(prefixes) {
this.prefixes = prefixes
@@ -84,17 +95,6 @@ class Processor {
})
})
function insideGrid(decl) {
return decl.parent.nodes.some(node => {
if (node.type !== 'decl') return false
let displayGrid =
node.prop === 'display' && /(inline-)?grid/.test(node.value)
let gridTemplate = node.prop.startsWith('grid-template')
let gridGap = /^grid-([A-z]+-)?gap/.test(node.prop)
return displayGrid || gridTemplate || gridGap
})
}
let gridPrefixes =
this.gridStatus(css, result) &&
this.prefixes.add['grid-area'] &&
@@ -586,6 +586,7 @@ class Processor {
let parts = decl.raw('before').split('\n')
let prevMin = parts[parts.length - 1].length
/** @type {number|false} */
let diff = false
this.prefixes.group(decl).down(other => {
+2 -2
View File
@@ -314,13 +314,13 @@ class Transition {
if (param[param.length - 1].type !== 'div') {
param.push(this.div(params))
}
nodes = nodes.concat(param)
nodes.push(...param)
}
if (nodes[0].type === 'div') {
nodes = nodes.slice(1)
}
if (nodes[nodes.length - 1].type === 'div') {
nodes = nodes.slice(0, +-2 + 1 || undefined)
nodes = nodes.slice(0, -1)
}
return parser.stringify({ nodes })
}
+20 -20
View File
@@ -1,20 +1,20 @@
{
"name": "autoprefixer",
"version": "10.4.23",
"version": "10.5.0",
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
"engines": {
"node": "^10 || ^12 || >=14"
},
"keywords": [
"autoprefixer",
"css",
"prefix",
"postcss",
"postcss-plugin"
"postcss-plugin",
"prefix"
],
"main": "lib/autoprefixer.js",
"bin": "bin/autoprefixer",
"types": "lib/autoprefixer.d.ts",
"bugs": {
"url": "https://github.com/postcss/autoprefixer/issues"
},
"license": "MIT",
"author": "Andrey Sitnik <andrey@sitnik.es>",
"repository": "postcss/autoprefixer",
"funding": [
{
"type": "opencollective",
@@ -29,20 +29,20 @@
"url": "https://github.com/sponsors/ai"
}
],
"author": "Andrey Sitnik <andrey@sitnik.ru>",
"license": "MIT",
"repository": "postcss/autoprefixer",
"bugs": {
"url": "https://github.com/postcss/autoprefixer/issues"
"bin": "bin/autoprefixer",
"main": "lib/autoprefixer.js",
"types": "lib/autoprefixer.d.ts",
"dependencies": {
"browserslist": "^4.28.2",
"caniuse-lite": "^1.0.30001787",
"fraction.js": "^5.3.4",
"picocolors": "^1.1.1",
"postcss-value-parser": "^4.2.0"
},
"peerDependencies": {
"postcss": "^8.1.0"
},
"dependencies": {
"browserslist": "^4.28.1",
"caniuse-lite": "^1.0.30001760",
"fraction.js": "^5.3.4",
"picocolors": "^1.1.1",
"postcss-value-parser": "^4.2.0"
"engines": {
"node": "^10 || ^12 || >=14"
}
}