Changeset e29cc2e for trip-planner-front/node_modules/postcss-svgo
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- Location:
- trip-planner-front/node_modules/postcss-svgo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/postcss-svgo/dist/index.js
r59329aa re29cc2e 16 16 const PLUGIN = 'postcss-svgo'; 17 17 const dataURI = /data:image\/svg\+xml(;((charset=)?utf-8|base64))?,/i; 18 const dataURIBase64 = /data:image\/svg\+xml;base64,/i; 18 const dataURIBase64 = /data:image\/svg\+xml;base64,/i; // the following regex will globally match: 19 // \b([\w-]+) --> a word (a sequence of one or more [alphanumeric|underscore|dash] characters; followed by 20 // \s*=\s* --> an equal sign character (=) between optional whitespaces; followed by 21 // \\"([\S\s]+?)\\" --> any characters (including whitespaces and newlines) between literal escaped quotes (\") 22 23 const escapedQuotes = /\b([\w-]+)\s*=\s*\\"([\S\s]+?)\\"/g; 19 24 /** 20 25 * @param {string} input the SVG string … … 41 46 if (opts.encode !== undefined) { 42 47 isUriEncoded = opts.encode; 43 } 48 } // normalize all escaped quote characters from svg attributes 49 // from <svg attr=\"value\"... /> to <svg attr="value"... /> 50 // see: https://github.com/cssnano/cssnano/issues/1194 44 51 52 53 svg = svg.replace(escapedQuotes, '$1="$2"'); 45 54 const result = (0, _svgo.optimize)(svg, opts); 46 55 -
trip-planner-front/node_modules/postcss-svgo/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "postcss-svgo@5.0.2", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "postcss-svgo@5.0.2", 10 "_id": "postcss-svgo@5.0.2", 2 "_from": "postcss-svgo@^5.0.3", 3 "_id": "postcss-svgo@5.0.3", 11 4 "_inBundle": false, 12 "_integrity": "sha512- YzQuFLZu3U3aheizD+B1joQ94vzPfE6BNUcSYuceNxlVnKKsOtdo6hL9/zyC168Q8EwfLSgaDSalsUGa9f2C0A==",5 "_integrity": "sha512-41XZUA1wNDAZrQ3XgWREL/M2zSw8LJPvb5ZWivljBsUQAGoEKMYm6okHsTjJxKYI4M75RQEH4KYlEM52VwdXVA==", 13 6 "_location": "/postcss-svgo", 14 7 "_phantomChildren": {}, 15 8 "_requested": { 16 "type": " version",9 "type": "range", 17 10 "registry": true, 18 "raw": "postcss-svgo@ 5.0.2",11 "raw": "postcss-svgo@^5.0.3", 19 12 "name": "postcss-svgo", 20 13 "escapedName": "postcss-svgo", 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-svgo/-/postcss-svgo-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-svgo/-/postcss-svgo-5.0.3.tgz", 22 "_shasum": "d945185756e5dfaae07f9edb0d3cae7ff79f9b30", 23 "_spec": "postcss-svgo@^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 "postcss-value-parser": "^4.1.0", 41 "svgo": "^2. 3.0"36 "svgo": "^2.7.0" 42 37 }, 38 "deprecated": false, 43 39 "description": "Optimise inline SVG with PostCSS.", 44 40 "devDependencies": { … … 52 48 "dist" 53 49 ], 54 "gitHead": " 9b3c54fd94f3e2bdb503d1e21f171d7fe02f33ca",50 "gitHead": "2d84646671c7075f8dae35de310351aac3436bc0", 55 51 "homepage": "https://github.com/cssnano/cssnano", 56 52 "keywords": [ … … 75 71 "scripts": { 76 72 "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"73 "prebuild": "rimraf dist", 74 "prepare": "yarn build" 79 75 }, 80 "version": "5.0. 2"76 "version": "5.0.3" 81 77 }
Note:
See TracChangeset
for help on using the changeset viewer.