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/@babel/preset-modules
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/@babel/preset-modules/README.md

    r59329aa re29cc2e  
    140140```js
    141141terser.minify({
    142   ecma: 8,
     142  ecma: 2017,
    143143  safari10: true
    144144})
     
    148148
    149149```sh
    150 terser --ecma 8 --safari10 ...
     150terser --ecma 2017 --safari10 ...
    151151```
    152152
     
    159159      new TerserPlugin({
    160160        terserOptions: {
    161           ecma: 8,
     161          ecma: 2017,
    162162          safari10: true
    163163        }
  • trip-planner-front/node_modules/@babel/preset-modules/lib/plugins/transform-tagged-template-caching/index.js

    r59329aa re29cc2e  
    3232
    3333      if (!processed) {
    34         processed = new Map();
     34        processed = new WeakSet();
    3535        state.set("processed", processed);
    3636      }
     
    5555
    5656
    57       const template = t.taggedTemplateExpression(identity, t.templateLiteral(path.node.quasi.quasis, expressions.map(() => t.numericLiteral(0))));
    58       processed.set(template, true); // Install an inline cache at the callsite using the global variable:
     57      const template = t.taggedTemplateExpression(t.cloneNode(identity), t.templateLiteral(path.node.quasi.quasis, expressions.map(() => t.numericLiteral(0))));
     58      processed.add(template); // Install an inline cache at the callsite using the global variable:
    5959      //   _t || (_t = identity`a${0}`)
    6060
    6161      const ident = path.scope.getProgramParent().generateDeclaredUidIdentifier("t");
    6262      path.scope.getBinding(ident.name).path.parent.kind = "let";
    63       const inlineCache = t.logicalExpression("||", ident, t.assignmentExpression("=", ident, template)); // The original tag function becomes a plain function call.
     63      const inlineCache = t.logicalExpression("||", ident, t.assignmentExpression("=", t.cloneNode(ident), template)); // The original tag function becomes a plain function call.
    6464      // The expressions omitted from the cached Strings tag are directly applied as arguments.
    6565      //   tag(_t || (_t = Object`a${0}`), 'hello')
  • trip-planner-front/node_modules/@babel/preset-modules/package.json

    r59329aa re29cc2e  
    11{
    2   "_args": [
    3     [
    4       "@babel/preset-modules@0.1.4",
    5       "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front"
    6     ]
    7   ],
    8   "_development": true,
    9   "_from": "@babel/preset-modules@0.1.4",
    10   "_id": "@babel/preset-modules@0.1.4",
     2  "_from": "@babel/preset-modules@^0.1.4",
     3  "_id": "@babel/preset-modules@0.1.5",
    114  "_inBundle": false,
    12   "_integrity": "sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==",
     5  "_integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==",
    136  "_location": "/@babel/preset-modules",
    147  "_phantomChildren": {},
    158  "_requested": {
    16     "type": "version",
     9    "type": "range",
    1710    "registry": true,
    18     "raw": "@babel/preset-modules@0.1.4",
     11    "raw": "@babel/preset-modules@^0.1.4",
    1912    "name": "@babel/preset-modules",
    2013    "escapedName": "@babel%2fpreset-modules",
    2114    "scope": "@babel",
    22     "rawSpec": "0.1.4",
     15    "rawSpec": "^0.1.4",
    2316    "saveSpec": null,
    24     "fetchSpec": "0.1.4"
     17    "fetchSpec": "^0.1.4"
    2518  },
    2619  "_requiredBy": [
    2720    "/@babel/preset-env"
    2821  ],
    29   "_resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz",
    30   "_spec": "0.1.4",
    31   "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front",
     22  "_resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz",
     23  "_shasum": "ef939d6e7f268827e1841638dc6ff95515e115d9",
     24  "_spec": "@babel/preset-modules@^0.1.4",
     25  "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\@babel\\preset-env",
    3226  "authors": [
    3327    "Jason Miller <jason@developit.ca>"
    3428  ],
     29  "bugs": {
     30    "url": "https://github.com/babel/preset-modules/issues"
     31  },
     32  "bundleDependencies": false,
    3533  "dependencies": {
    3634    "@babel/helper-plugin-utils": "^7.0.0",
     
    4038    "esutils": "^2.0.2"
    4139  },
     40  "deprecated": false,
    4241  "description": "A Babel preset that targets modern browsers by fixing engine bugs.",
    4342  "devDependencies": {
     
    4544    "@babel/core": "^7.7.2",
    4645    "@babel/helper-fixtures": "^7.6.3",
    47     "@babel/helper-plugin-test-runner": "^7.1.0",
     46    "@babel/helper-plugin-test-runner": "^7.14.5",
    4847    "@babel/plugin-transform-modules-commonjs": "^7.5.0",
    4948    "@babel/plugin-transform-react-jsx": "^7.7.0",
     
    8685    "lib"
    8786  ],
     87  "homepage": "https://github.com/babel/preset-modules#readme",
    8888  "husky": {
    8989    "hooks": {
     
    118118    "@babel/core": "^7.0.0-0"
    119119  },
     120  "repository": {
     121    "type": "git",
     122    "url": "git+https://github.com/babel/preset-modules.git"
     123  },
    120124  "scripts": {
    121125    "build": "babel src -d lib --ignore '**/*.test.js'",
     
    129133    "watch:test": "jest --watch"
    130134  },
    131   "version": "0.1.4"
     135  "version": "0.1.5"
    132136}
  • trip-planner-front/node_modules/@babel/preset-modules/src/plugins/transform-tagged-template-caching/index.js

    r59329aa re29cc2e  
    2424      let processed = state.get("processed");
    2525      if (!processed) {
    26         processed = new Map();
     26        processed = new WeakSet();
    2727        state.set("processed", processed);
    2828      }
     
    5656      //   identity`a${0}`
    5757      const template = t.taggedTemplateExpression(
    58         identity,
     58        t.cloneNode(identity),
    5959        t.templateLiteral(
    6060          path.node.quasi.quasis,
     
    6262        )
    6363      );
    64       processed.set(template, true);
     64      processed.add(template);
    6565
    6666      // Install an inline cache at the callsite using the global variable:
     
    7373        "||",
    7474        ident,
    75         t.assignmentExpression("=", ident, template)
     75        t.assignmentExpression("=", t.cloneNode(ident), template)
    7676      );
    7777
Note: See TracChangeset for help on using the changeset viewer.