Changeset e29cc2e for trip-planner-front/node_modules/postcss-merge-rules
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- Location:
- trip-planner-front/node_modules/postcss-merge-rules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/postcss-merge-rules/dist/lib/ensureCompatibility.js
r59329aa re29cc2e 4 4 value: true 5 5 }); 6 exports.filterPrefixes = filterPrefixes;7 6 exports.sameVendor = sameVendor; 8 7 exports.noVendor = noVendor; … … 13 12 14 13 var _postcssSelectorParser = _interopRequireDefault(require("postcss-selector-parser")); 15 16 var _vendors = _interopRequireDefault(require("vendors"));17 14 18 15 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } … … 26 23 const cssInOutOfRange = 'css-in-out-of-range'; 27 24 const formValidation = 'form-validation'; 28 /** @type {string[]} */ 29 30 const prefixes = _vendors.default.map(v => `-${v}-`); 25 const vendorPrefix = /-(ah|apple|atsc|epub|hp|khtml|moz|ms|o|rim|ro|tc|wap|webkit|xv)-/; 31 26 /** 32 27 * @param {string} selector … … 34 29 */ 35 30 36 37 31 function filterPrefixes(selector) { 38 return prefixes.filter(prefix => selector.indexOf(prefix) !== -1);32 return selector.match(vendorPrefix); 39 33 } // Internet Explorer use :-ms-input-placeholder. 40 34 // Microsoft Edge use ::-ms-input-placeholder. … … 57 51 58 52 function noVendor(selector) { 59 return ! filterPrefixes(selector).length;53 return !vendorPrefix.test(selector); 60 54 } 61 55 -
trip-planner-front/node_modules/postcss-merge-rules/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "postcss-merge-rules@5.0.2", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "postcss-merge-rules@5.0.2", 10 "_id": "postcss-merge-rules@5.0.2", 2 "_from": "postcss-merge-rules@^5.0.3", 3 "_id": "postcss-merge-rules@5.0.3", 11 4 "_inBundle": false, 12 "_integrity": "sha512- 5K+Md7S3GwBewfB4rjDeol6V/RZ8S+v4B66Zk2gChRqLTCC8yjnHQ601omj9TKftS19OPGqZ/XzoqpzNQQLwbg==",5 "_integrity": "sha512-cEKTMEbWazVa5NXd8deLdCnXl+6cYG7m2am+1HzqH0EnTdy8fRysatkaXb2dEnR+fdaDxTvuZ5zoBdv6efF6hg==", 13 6 "_location": "/postcss-merge-rules", 14 7 "_phantomChildren": {}, 15 8 "_requested": { 16 "type": " version",9 "type": "range", 17 10 "registry": true, 18 "raw": "postcss-merge-rules@ 5.0.2",11 "raw": "postcss-merge-rules@^5.0.3", 19 12 "name": "postcss-merge-rules", 20 13 "escapedName": "postcss-merge-rules", 21 "rawSpec": " 5.0.2",14 "rawSpec": "^5.0.3", 22 15 "saveSpec": null, 23 "fetchSpec": " 5.0.2"16 "fetchSpec": "^5.0.3" 24 17 }, 25 18 "_requiredBy": [ 26 19 "/cssnano-preset-default" 27 20 ], 28 "_resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.0.2.tgz", 29 "_spec": "5.0.2", 30 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front", 21 "_resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.0.3.tgz", 22 "_shasum": "b5cae31f53129812a77e3eb1eeee448f8cf1a1db", 23 "_spec": "postcss-merge-rules@^5.0.3", 24 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\cssnano-preset-default", 31 25 "author": { 32 26 "name": "Ben Briggs", … … 37 31 "url": "https://github.com/cssnano/cssnano/issues" 38 32 }, 33 "bundleDependencies": false, 39 34 "dependencies": { 40 35 "browserslist": "^4.16.6", 41 36 "caniuse-api": "^3.0.0", 42 37 "cssnano-utils": "^2.0.1", 43 "postcss-selector-parser": "^6.0.5", 44 "vendors": "^1.0.3" 38 "postcss-selector-parser": "^6.0.5" 45 39 }, 40 "deprecated": false, 46 41 "description": "Merge CSS rules with PostCSS.", 47 42 "devDependencies": { … … 55 50 "dist" 56 51 ], 57 "gitHead": "9b3c54fd94f3e2bdb503d1e21f171d7fe02f33ca",58 52 "homepage": "https://github.com/cssnano/cssnano", 59 53 "keywords": [ … … 75 69 "scripts": { 76 70 "build": "cross-env BABEL_ENV=publish babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\"", 77 "prebuild": " del-clidist",78 "prep ublish": "yarn build"71 "prebuild": "rimraf dist", 72 "prepare": "yarn build" 79 73 }, 80 "version": "5.0. 2"74 "version": "5.0.3" 81 75 }
Note:
See TracChangeset
for help on using the changeset viewer.