Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

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  
    1616const PLUGIN = 'postcss-svgo';
    1717const dataURI = /data:image\/svg\+xml(;((charset=)?utf-8|base64))?,/i;
    18 const dataURIBase64 = /data:image\/svg\+xml;base64,/i;
     18const 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
     23const escapedQuotes = /\b([\w-]+)\s*=\s*\\"([\S\s]+?)\\"/g;
    1924/**
    2025 * @param {string} input the SVG string
     
    4146  if (opts.encode !== undefined) {
    4247    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
    4451
     52
     53  svg = svg.replace(escapedQuotes, '$1="$2"');
    4554  const result = (0, _svgo.optimize)(svg, opts);
    4655
  • trip-planner-front/node_modules/postcss-svgo/package.json

    r59329aa re29cc2e  
    11{
    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",
    114  "_inBundle": false,
    12   "_integrity": "sha512-YzQuFLZu3U3aheizD+B1joQ94vzPfE6BNUcSYuceNxlVnKKsOtdo6hL9/zyC168Q8EwfLSgaDSalsUGa9f2C0A==",
     5  "_integrity": "sha512-41XZUA1wNDAZrQ3XgWREL/M2zSw8LJPvb5ZWivljBsUQAGoEKMYm6okHsTjJxKYI4M75RQEH4KYlEM52VwdXVA==",
    136  "_location": "/postcss-svgo",
    147  "_phantomChildren": {},
    158  "_requested": {
    16     "type": "version",
     9    "type": "range",
    1710    "registry": true,
    18     "raw": "postcss-svgo@5.0.2",
     11    "raw": "postcss-svgo@^5.0.3",
    1912    "name": "postcss-svgo",
    2013    "escapedName": "postcss-svgo",
    21     "rawSpec": "5.0.2",
     14    "rawSpec": "^5.0.3",
    2215    "saveSpec": null,
    23     "fetchSpec": "5.0.2"
     16    "fetchSpec": "^5.0.3"
    2417  },
    2518  "_requiredBy": [
    2619    "/cssnano-preset-default"
    2720  ],
    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",
    3125  "author": {
    3226    "name": "Ben Briggs",
     
    3731    "url": "https://github.com/cssnano/cssnano/issues"
    3832  },
     33  "bundleDependencies": false,
    3934  "dependencies": {
    4035    "postcss-value-parser": "^4.1.0",
    41     "svgo": "^2.3.0"
     36    "svgo": "^2.7.0"
    4237  },
     38  "deprecated": false,
    4339  "description": "Optimise inline SVG with PostCSS.",
    4440  "devDependencies": {
     
    5248    "dist"
    5349  ],
    54   "gitHead": "9b3c54fd94f3e2bdb503d1e21f171d7fe02f33ca",
     50  "gitHead": "2d84646671c7075f8dae35de310351aac3436bc0",
    5551  "homepage": "https://github.com/cssnano/cssnano",
    5652  "keywords": [
     
    7571  "scripts": {
    7672    "build": "cross-env BABEL_ENV=publish babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\"",
    77     "prebuild": "del-cli dist",
    78     "prepublish": "yarn build"
     73    "prebuild": "rimraf dist",
     74    "prepare": "yarn build"
    7975  },
    80   "version": "5.0.2"
     76  "version": "5.0.3"
    8177}
Note: See TracChangeset for help on using the changeset viewer.