postcss-normalize-timing-functions 8.0.4 → 9.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +5 -5
- package/src/index.js +5 -6
- package/types/index.d.ts +9 -2
- package/types/index.d.ts.map +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postcss-normalize-timing-functions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "Normalize CSS animation/transition timing functions.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./types/index.d.ts",
|
|
8
8
|
"default": "./src/index.js"
|
|
9
9
|
},
|
|
10
|
-
"./src": "./src/index.js",
|
|
11
|
-
"./src/index": "./src/index.js",
|
|
12
|
-
"./src/index.js": "./src/index.js",
|
|
13
10
|
"./package.json": "./package.json"
|
|
14
11
|
},
|
|
12
|
+
"main": "./src/index.js",
|
|
13
|
+
"types": "./types/index.d.ts",
|
|
15
14
|
"files": [
|
|
16
15
|
"LICENSE-MIT",
|
|
17
16
|
"src",
|
|
@@ -35,7 +34,7 @@
|
|
|
35
34
|
},
|
|
36
35
|
"homepage": "https://github.com/cssnano/cssnano",
|
|
37
36
|
"engines": {
|
|
38
|
-
"node": "^22.
|
|
37
|
+
"node": "^22.22.3 || ^24.15.0 || >=26.0"
|
|
39
38
|
},
|
|
40
39
|
"devDependencies": {
|
|
41
40
|
"postcss": "^8.5.26"
|
|
@@ -43,6 +42,7 @@
|
|
|
43
42
|
"peerDependencies": {
|
|
44
43
|
"postcss": "^8.5.26"
|
|
45
44
|
},
|
|
45
|
+
"type": "module",
|
|
46
46
|
"scripts": {
|
|
47
47
|
"test": "node --test"
|
|
48
48
|
}
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const valueParser = require('postcss-value-parser');
|
|
1
|
+
import valueParser from 'postcss-value-parser';
|
|
3
2
|
|
|
4
3
|
/** @type {(node: valueParser.Node) => number} */
|
|
5
4
|
const getValue = (node) => Number.parseFloat(node.value);
|
|
@@ -151,8 +150,8 @@ function pluginCreator() {
|
|
|
151
150
|
},
|
|
152
151
|
};
|
|
153
152
|
}
|
|
154
|
-
|
|
153
|
+
/** @type {true} */
|
|
155
154
|
pluginCreator.postcss = true;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
155
|
+
const moduleExports = pluginCreator;
|
|
156
|
+
|
|
157
|
+
export { moduleExports as default, moduleExports as 'module.exports' };
|
package/types/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @return {import('postcss').Plugin}
|
|
3
|
+
*/
|
|
4
|
+
declare function pluginCreator(): import('postcss').Plugin;
|
|
5
|
+
declare namespace pluginCreator {
|
|
6
|
+
var postcss: true;
|
|
7
|
+
}
|
|
8
|
+
declare const moduleExports: typeof pluginCreator;
|
|
9
|
+
export { moduleExports as default, moduleExports as 'module.exports' };
|
|
3
10
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AA2HA;;GAEG;AACH,iBAAS,aAAa,IAFV,OAAO,SAAS,EAAE,MAAM,CA2BnC;kBAzBQ,aAAa;iBA0BX,IAAI;;AAEf,QAAA,MAAM,aAAa,sBAAgB,CAAC;AAEpC,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,CAAC"}
|