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/bytes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/bytes/History.md

    r59329aa re29cc2e  
    1 3.1.0 / 2019-01-22
    2 ==================
    3 
    4   * Add petabyte (`pb`) support
    5 
    613.0.0 / 2017-08-31
    72==================
  • trip-planner-front/node_modules/bytes/Readme.md

    r59329aa re29cc2e  
    8484  * `gb` for gigabytes
    8585  * `tb` for terabytes
    86   * `pb` for petabytes
    8786
    8887The units are in powers of two, not ten. This means 1kb = 1024b according to this parser.
     
    110109
    111110bytes(1024);
    112 // output: 1KB
     111// output: 1024
    113112```
    114113
     
    117116[MIT](LICENSE)
    118117
    119 [coveralls-image]: https://badgen.net/coveralls/c/github/visionmedia/bytes.js/master
     118[downloads-image]: https://img.shields.io/npm/dm/bytes.svg
     119[downloads-url]: https://npmjs.org/package/bytes
     120[npm-image]: https://img.shields.io/npm/v/bytes.svg
     121[npm-url]: https://npmjs.org/package/bytes
     122[travis-image]: https://img.shields.io/travis/visionmedia/bytes.js/master.svg
     123[travis-url]: https://travis-ci.org/visionmedia/bytes.js
     124[coveralls-image]: https://img.shields.io/coveralls/visionmedia/bytes.js/master.svg
    120125[coveralls-url]: https://coveralls.io/r/visionmedia/bytes.js?branch=master
    121 [downloads-image]: https://badgen.net/npm/dm/bytes
    122 [downloads-url]: https://npmjs.org/package/bytes
    123 [npm-image]: https://badgen.net/npm/node/bytes
    124 [npm-url]: https://npmjs.org/package/bytes
    125 [travis-image]: https://badgen.net/travis/visionmedia/bytes.js/master
    126 [travis-url]: https://travis-ci.org/visionmedia/bytes.js
  • trip-planner-front/node_modules/bytes/index.js

    r59329aa re29cc2e  
    3131  mb: 1 << 20,
    3232  gb: 1 << 30,
    33   tb: Math.pow(1024, 4),
    34   pb: Math.pow(1024, 5),
     33  tb: ((1 << 30) * 1024)
    3534};
    3635
    37 var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;
     36var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb)$/i;
    3837
    3938/**
     
    9594
    9695  if (!unit || !map[unit.toLowerCase()]) {
    97     if (mag >= map.pb) {
    98       unit = 'PB';
    99     } else if (mag >= map.tb) {
     96    if (mag >= map.tb) {
    10097      unit = 'TB';
    10198    } else if (mag >= map.gb) {
  • trip-planner-front/node_modules/bytes/package.json

    r59329aa re29cc2e  
    11{
    2   "_args": [
    3     [
    4       "bytes@3.1.0",
    5       "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front"
    6     ]
    7   ],
    8   "_development": true,
    9   "_from": "bytes@3.1.0",
    10   "_id": "bytes@3.1.0",
     2  "_from": "bytes@3.0.0",
     3  "_id": "bytes@3.0.0",
    114  "_inBundle": false,
    12   "_integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==",
     5  "_integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=",
    136  "_location": "/bytes",
    147  "_phantomChildren": {},
     
    169    "type": "version",
    1710    "registry": true,
    18     "raw": "bytes@3.1.0",
     11    "raw": "bytes@3.0.0",
    1912    "name": "bytes",
    2013    "escapedName": "bytes",
    21     "rawSpec": "3.1.0",
     14    "rawSpec": "3.0.0",
    2215    "saveSpec": null,
    23     "fetchSpec": "3.1.0"
     16    "fetchSpec": "3.0.0"
    2417  },
    2518  "_requiredBy": [
    26     "/body-parser",
    27     "/raw-body"
     19    "/compression"
    2820  ],
    29   "_resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
    30   "_spec": "3.1.0",
    31   "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front",
     21  "_resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
     22  "_shasum": "d32815404d689699f85a4ea4fa8755dd13a96048",
     23  "_spec": "bytes@3.0.0",
     24  "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\compression",
    3225  "author": {
    3326    "name": "TJ Holowaychuk",
     
    3831    "url": "https://github.com/visionmedia/bytes.js/issues"
    3932  },
     33  "bundleDependencies": false,
    4034  "contributors": [
    4135    {
     
    4842    }
    4943  ],
     44  "deprecated": false,
    5045  "description": "Utility to parse a string bytes to bytes and vice-versa",
    5146  "devDependencies": {
    52     "eslint": "5.12.1",
    53     "mocha": "5.2.0",
    54     "nyc": "13.1.0"
     47    "mocha": "2.5.3",
     48    "nyc": "10.3.2"
    5549  },
    5650  "engines": {
     
    8074  },
    8175  "scripts": {
    82     "lint": "eslint .",
    8376    "test": "mocha --check-leaks --reporter spec",
    8477    "test-ci": "nyc --reporter=text npm test",
    8578    "test-cov": "nyc --reporter=html --reporter=text npm test"
    8679  },
    87   "version": "3.1.0"
     80  "version": "3.0.0"
    8881}
Note: See TracChangeset for help on using the changeset viewer.