Changeset e29cc2e for trip-planner-front/node_modules/y18n
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- Location:
- trip-planner-front/node_modules/y18n
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/y18n/CHANGELOG.md
r59329aa re29cc2e 3 3 All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. 4 4 5 ### [5.0.8](https://www.github.com/yargs/y18n/compare/v5.0.7...v5.0.8) (2021-04-07) 5 6 ### [4.0.3](https://www.github.com/yargs/y18n/compare/y18n-v4.0.2...y18n-v4.0.3) (2021-04-07) 6 7 7 8 8 9 ### Bug Fixes 9 10 10 * ** deno:** force modern release for Deno ([b1c215a](https://www.github.com/yargs/y18n/commit/b1c215aed714bee5830e76de3e335504dc2c4dab))11 * **release:** 4.x.x should not enforce Node 10 ([#126](https://www.github.com/yargs/y18n/issues/126)) ([1e21a53](https://www.github.com/yargs/y18n/commit/1e21a536e9135d8403a47be88922157a706b7cde)) 11 12 12 ### [5.0.7](https://www.github.com/yargs/y18n/compare/v5.0.6...v5.0.7) (2021-04-07) 13 14 15 ### Bug Fixes 16 17 * **deno:** force release for deno ([#121](https://www.github.com/yargs/y18n/issues/121)) ([d3f2560](https://www.github.com/yargs/y18n/commit/d3f2560e6cedf2bfa2352e9eec044da53f9a06b2)) 18 19 ### [5.0.6](https://www.github.com/yargs/y18n/compare/v5.0.5...v5.0.6) (2021-04-05) 20 21 22 ### Bug Fixes 23 24 * **webpack:** skip readFileSync if not defined ([#117](https://www.github.com/yargs/y18n/issues/117)) ([6966fa9](https://www.github.com/yargs/y18n/commit/6966fa91d2881cc6a6c531e836099e01f4da1616)) 25 26 ### [5.0.5](https://www.github.com/yargs/y18n/compare/v5.0.4...v5.0.5) (2020-10-25) 27 13 ### 4.0.1 (2020-11-30) 28 14 29 15 ### Bug Fixes … … 31 17 * address prototype pollution issue ([#108](https://www.github.com/yargs/y18n/issues/108)) ([a9ac604](https://www.github.com/yargs/y18n/commit/a9ac604abf756dec9687be3843e2c93bfe581f25)) 32 18 33 ### [5.0.4](https://www.github.com/yargs/y18n/compare/v5.0.3...v5.0.4) (2020-10-16) 34 35 36 ### Bug Fixes 37 38 * **exports:** node 13.0 and 13.1 require the dotted object form _with_ a string fallback ([#105](https://www.github.com/yargs/y18n/issues/105)) ([4f85d80](https://www.github.com/yargs/y18n/commit/4f85d80dbaae6d2c7899ae394f7ad97805df4886)) 39 40 ### [5.0.3](https://www.github.com/yargs/y18n/compare/v5.0.2...v5.0.3) (2020-10-16) 41 42 43 ### Bug Fixes 44 45 * **exports:** node 13.0-13.6 require a string fallback ([#103](https://www.github.com/yargs/y18n/issues/103)) ([e39921e](https://www.github.com/yargs/y18n/commit/e39921e1017f88f5d8ea97ddea854ffe92d68e74)) 46 47 ### [5.0.2](https://www.github.com/yargs/y18n/compare/v5.0.1...v5.0.2) (2020-10-01) 48 49 50 ### Bug Fixes 51 52 * **deno:** update types for deno ^1.4.0 ([#100](https://www.github.com/yargs/y18n/issues/100)) ([3834d9a](https://www.github.com/yargs/y18n/commit/3834d9ab1332f2937c935ada5e76623290efae81)) 53 54 ### [5.0.1](https://www.github.com/yargs/y18n/compare/v5.0.0...v5.0.1) (2020-09-05) 55 56 57 ### Bug Fixes 58 59 * main had old index path ([#98](https://www.github.com/yargs/y18n/issues/98)) ([124f7b0](https://www.github.com/yargs/y18n/commit/124f7b047ba9596bdbdf64459988304e77f3de1b)) 60 61 ## [5.0.0](https://www.github.com/yargs/y18n/compare/v4.0.0...v5.0.0) (2020-09-05) 62 63 64 ### ⚠ BREAKING CHANGES 65 66 * exports maps are now used, which modifies import behavior. 67 * drops Node 6 and 4. begin following Node.js LTS schedule (#89) 68 69 ### Features 70 71 * add support for ESM and Deno [#95](https://www.github.com/yargs/y18n/issues/95)) ([4d7ae94](https://www.github.com/yargs/y18n/commit/4d7ae94bcb42e84164e2180366474b1cd321ed94)) 72 73 74 ### Build System 75 76 * drops Node 6 and 4. begin following Node.js LTS schedule ([#89](https://www.github.com/yargs/y18n/issues/89)) ([3cc0c28](https://www.github.com/yargs/y18n/commit/3cc0c287240727b84eaf1927f903612ec80f5e43)) 77 78 ### 4.0.1 (2020-10-25) 79 80 81 ### Bug Fixes 82 83 * address prototype pollution issue ([#108](https://www.github.com/yargs/y18n/issues/108)) ([a9ac604](https://www.github.com/yargs/y18n/commit/7de58ca0d315990cdb38234e97fc66254cdbcd71)) 84 85 ## [4.0.0](https://github.com/yargs/y18n/compare/v3.2.1...v4.0.0) (2017-10-10) 19 <a name="4.0.0"></a> 20 # [4.0.0](https://github.com/yargs/y18n/compare/v3.2.1...v4.0.0) (2017-10-10) 86 21 87 22 -
trip-planner-front/node_modules/y18n/README.md
r59329aa re29cc2e 1 1 # y18n 2 2 3 [![Build Status][travis-image]][travis-url] 4 [![Coverage Status][coveralls-image]][coveralls-url] 3 5 [![NPM version][npm-image]][npm-url] 4 6 [![js-standard-style][standard-image]][standard-url] … … 14 16 15 17 ```js 16 const __ = require('y18n')().__; 18 var __ = require('y18n').__ 17 19 18 console.log(__('my awesome string %s', 'foo')) ;20 console.log(__('my awesome string %s', 'foo')) 19 21 ``` 20 22 … … 26 28 27 29 ```js 28 const __ = require('y18n')().__; 30 var __ = require('y18n').__ 31 var str = 'foo' 29 32 30 const str = 'foo'; 31 32 console.log(__`my awesome string ${str}`); 33 console.log(__`my awesome string ${str}`) 33 34 ``` 34 35 … … 40 41 41 42 ```js 42 const __n = require('y18n')().__n; 43 var __n = require('y18n').__n 43 44 44 console.log(__n('one fish %s', '%d fishes %s', 2, 'foo')) ;45 console.log(__n('one fish %s', '%d fishes %s', 2, 'foo')) 45 46 ``` 46 47 … … 48 49 49 50 `2 fishes foo` 50 51 ## Deno Example52 53 As of `v5` `y18n` supports [Deno](https://github.com/denoland/deno):54 55 ```typescript56 import y18n from "https://deno.land/x/y18n/deno.ts";57 58 const __ = y18n({59 locale: 'pirate',60 directory: './test/locales'61 }).__62 63 console.info(__`Hi, ${'Ben'} ${'Coe'}!`)64 ```65 66 You will need to run with `--allow-read` to load alternative locales.67 51 68 52 ## JSON Language Files … … 112 96 Update the current locale with the key value pairs in `obj`. 113 97 114 ## Supported Node.js Versions115 116 Libraries in this ecosystem make a best effort to track117 [Node.js' release schedule](https://nodejs.org/en/about/releases/). Here's [a118 post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).119 120 98 ## License 121 99 122 100 ISC 123 101 102 [travis-url]: https://travis-ci.org/yargs/y18n 103 [travis-image]: https://img.shields.io/travis/yargs/y18n.svg 104 [coveralls-url]: https://coveralls.io/github/yargs/y18n 105 [coveralls-image]: https://img.shields.io/coveralls/yargs/y18n.svg 124 106 [npm-url]: https://npmjs.org/package/y18n 125 107 [npm-image]: https://img.shields.io/npm/v/y18n.svg -
trip-planner-front/node_modules/y18n/package.json
r59329aa re29cc2e 1 1 { 2 "_args": [ 3 [ 4 "y18n@5.0.8", 5 "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front" 6 ] 7 ], 8 "_development": true, 9 "_from": "y18n@5.0.8", 10 "_id": "y18n@5.0.8", 2 "_from": "y18n@^4.0.0", 3 "_id": "y18n@4.0.3", 11 4 "_inBundle": false, 12 "_integrity": "sha512- 0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",5 "_integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", 13 6 "_location": "/y18n", 14 7 "_phantomChildren": {}, 15 8 "_requested": { 16 "type": " version",9 "type": "range", 17 10 "registry": true, 18 "raw": "y18n@ 5.0.8",11 "raw": "y18n@^4.0.0", 19 12 "name": "y18n", 20 13 "escapedName": "y18n", 21 "rawSpec": " 5.0.8",14 "rawSpec": "^4.0.0", 22 15 "saveSpec": null, 23 "fetchSpec": " 5.0.8"16 "fetchSpec": "^4.0.0" 24 17 }, 25 18 "_requiredBy": [ 26 "/karma/yargs",27 19 "/yargs" 28 20 ], 29 "_resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 30 "_spec": "5.0.8", 31 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front", 21 "_resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", 22 "_shasum": "b5f259c82cd6e336921efd7bfd8bf560de9eeedf", 23 "_spec": "y18n@^4.0.0", 24 "_where": "C:\\Users\\DELL\\Desktop\\bachelor-thesis\\trip-planner-front\\node_modules\\yargs", 32 25 "author": { 33 26 "name": "Ben Coe", 34 "email": "ben coe@gmail.com"27 "email": "ben@npmjs.com" 35 28 }, 36 29 "bugs": { 37 30 "url": "https://github.com/yargs/y18n/issues" 38 31 }, 32 "bundleDependencies": false, 33 "deprecated": false, 39 34 "description": "the bare-bones internationalization library used by yargs", 40 35 "devDependencies": { 41 "@types/node": "^14.6.4",42 "@wessberg/rollup-plugin-ts": "^1.3.1",43 "c8": "^7.3.0",44 36 "chai": "^4.0.1", 45 "cross-env": "^7.0.2", 46 "gts": "^3.0.0", 47 "mocha": "^8.0.0", 48 "rimraf": "^3.0.2", 49 "rollup": "^2.26.10", 50 "standardx": "^7.0.0", 51 "ts-transform-default-export": "^1.0.2", 52 "typescript": "^4.0.0" 53 }, 54 "engines": { 55 "node": ">=10" 56 }, 57 "exports": { 58 ".": [ 59 { 60 "import": "./index.mjs", 61 "require": "./build/index.cjs" 62 }, 63 "./build/index.cjs" 64 ] 37 "coveralls": "^3.0.0", 38 "mocha": "^4.0.1", 39 "nyc": "^11.0.1", 40 "rimraf": "^2.5.0", 41 "standard": "^10.0.0-beta.0", 42 "standard-version": "^4.2.0" 65 43 }, 66 44 "files": [ 67 "build", 68 "index.mjs", 69 "!*.d.ts" 45 "index.js" 70 46 ], 71 47 "homepage": "https://github.com/yargs/y18n", … … 76 52 ], 77 53 "license": "ISC", 78 "main": "./build/index.cjs", 79 "module": "./build/lib/index.js", 54 "main": "index.js", 80 55 "name": "y18n", 81 56 "repository": { 82 57 "type": "git", 83 "url": "git+ https://github.com/yargs/y18n.git"58 "url": "git+ssh://git@github.com/yargs/y18n.git" 84 59 }, 85 60 "scripts": { 86 "build:cjs": "rollup -c", 87 "check": "standardx **/*.ts **/*.cjs **/*.mjs", 88 "compile": "tsc", 89 "coverage": "c8 report --check-coverage", 90 "fix": "standardx --fix **/*.ts **/*.cjs **/*.mjs", 91 "postcompile": "npm run build:cjs", 92 "posttest": "npm run check", 93 "precompile": "rimraf build", 94 "prepare": "npm run compile", 95 "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs", 96 "test": "c8 --reporter=text --reporter=html mocha test/*.cjs", 97 "test:esm": "c8 --reporter=text --reporter=html mocha test/esm/*.mjs" 61 "coverage": "nyc report --reporter=text-lcov | coveralls", 62 "pretest": "standard", 63 "release": "standard-version", 64 "test": "nyc mocha" 98 65 }, 99 "standardx": { 100 "ignore": [ 101 "build" 102 ] 103 }, 104 "type": "module", 105 "version": "5.0.8" 66 "version": "4.0.3" 106 67 }
Note:
See TracChangeset
for help on using the changeset viewer.