Skip to content

Commit

Permalink
feat(types): add IConfig
Browse files Browse the repository at this point in the history
closes #21
  • Loading branch information
oljekechoro authored and antongolub committed Jul 5, 2019
1 parent e19eb58 commit 6d5bbaa
Show file tree
Hide file tree
Showing 14 changed files with 194 additions and 17 deletions.
4 changes: 4 additions & 0 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,17 @@
"lib/"
],
"devDependencies": {
"@qiwi/uniconfig": "^3.0.1",
"@types/bluebird": "^3.5.27",
"@types/config": "^0.0.34",
"@types/jest": "^24.0.15",
"@types/lodash": "^4.14.135",
"@types/node": "^12.0.10",
"@types/parsimmon": "^1.10.0",
"@types/underscore": "^1.9.1",
"bluebird": "^3.5.5",
"conf": "^4.1.0",
"config": "^3.1.0",
"dts-generator": "^3.0.0",
"dtslint": "^0.8.0",
"flowgen": "^1.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/main/ICollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export interface ICollection <T> {
add: (index: number | string, item: T) => T
remove: (index: number | string) => T | undefined
clear: () => void
size: () => number
size: number
isEmpty: () => boolean
}
11 changes: 11 additions & 0 deletions packages/types/src/main/IConfig.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export type TConfigKey = string

export interface IConfig<T = any> {
set?: (key: TConfigKey, value: T) => void
get: (key: TConfigKey) => T
has: (key: TConfigKey) => boolean
delete?: (key: TConfigKey) => void
clear?: () => void
size?: number
[key: string]: any
}
1 change: 1 addition & 0 deletions packages/types/src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ export { IStack } from './IStack'
export { ICollection } from './ICollection'
export { TPredicate } from './TPredicate'
export { IConfigurable } from './IConfigurable'
export { IConfig } from './IConfig'
export { IMiddleware, IAsyncMiddleware, IErrorMiddleware, IRequestMiddleware, IRequest, IResponse, INext } from './IMiddleware'
4 changes: 2 additions & 2 deletions packages/types/src/test/ICollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ICollection } from './index';

const brokenCollection: ICollection<number> = {
isEmpty: () => 123, // $ExpectError
size: () => 'baz', // $ExpectError
size: 'baz', // $ExpectError
remove: index => 'foo', // $ExpectError
add: (index: string, item: string) => ({}), // $ExpectError
get: (item: boolean) => item, // $ExpectError
Expand All @@ -11,7 +11,7 @@ const brokenCollection: ICollection<number> = {

const collection: ICollection<number> = {
isEmpty: () => true,
size: () => 123,
size: 123,
remove: (index: number | string) => +index,
add: (index: number | string, item) => +index + item,
get: (index: number | string) => +index,
Expand Down
14 changes: 14 additions & 0 deletions packages/types/src/test/IConfig.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import * as Conf from 'conf';
import * as NodeConfig from 'config';
import * as Uniconfig from '@qiwi/uniconfig-core';
import { IConfig } from './index';

const conf: IConfig = new Conf();

const numberConf: IConfig<number> = new Conf<number>();

const stringConf: IConfig<string> = new Conf<string>();

const nodeConf: IConfig = NodeConfig;

const uniConf: IConfig = new Uniconfig.Config({});
3 changes: 2 additions & 1 deletion packages/types/src/test/IPromise.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { IPromise, IPromiseConstructor, BluebirdPromise } from './index';
import * as BluebirdPromise from 'bluebird';
import { IPromise, IPromiseConstructor } from './index';

const executor = (resolve: (value: number) => void, reject: (value: number) => void) => {
const value = Math.random();
Expand Down
4 changes: 2 additions & 2 deletions packages/types/src/test/IStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const brokenStack: IStack<number> = {
first: (item: string) => '123', // $ExpectError
last: (item: string) => '321', // $ExpectError
isEmpty: () => 123, // $ExpectError
size: () => 'baz', // $ExpectError
size: 'baz', // $ExpectError
remove: (item) => 'foo', // $ExpectError
add: (index: string, item: string) => ({}), // $ExpectError
get: (index: boolean) => index, // $ExpectError
Expand All @@ -25,7 +25,7 @@ const stack: IStack<number> = {
first: () => 123,
last: () => 123,
isEmpty: () => true,
size: () => 123,
size: 123,
remove: (index: number | string) => +index,
add: (index: number | string, item) => +index + item,
get: (item: number | string) => +item,
Expand Down
4 changes: 3 additions & 1 deletion packages/types/src/test/IUtilEach.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { TUtilEach, lodashEach, underscoreEach } from './index';
import { forEach as lodashEach } from 'lodash';
import { each as underscoreEach } from 'underscore';
import { TUtilEach } from './index';

const brokenUtilEach: TUtilEach = (collection: object, handler: (value: string, key: boolean, collection: object) => void) => { handler || collection; }; // $ExpectError
const utilEach: TUtilEach = (collection: object, handler: (value: string, key: number, collection: object) => void): object => {
Expand Down
3 changes: 2 additions & 1 deletion packages/types/src/test/IUtilGet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { TUtilGet, lodashGet } from './index';
import { get as lodashGet } from 'lodash';
import { TUtilGet } from './index';

const brokenUtilGet: TUtilGet = (obj: object, path: any[], defaultValue?: any) => { obj || path || defaultValue; }; // $ExpectError
const utilGet: TUtilGet = (obj: object, path: Array<string | number> | string, defaultValue?: any) => {
Expand Down
4 changes: 3 additions & 1 deletion packages/types/src/test/IUtilMap.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { TUtilMap, lodashMap, underscoreMap } from './index';
import { map as lodashMap } from 'lodash';
import { map as underscoreMap } from 'underscore';
import { TUtilMap } from './index';

const brokenUtilMap: TUtilMap = (collection: object, handler: (value: string, key: boolean, collection: object) => object): any[] => [handler(JSON.stringify(collection), false, collection)]; // $ExpectError
const utilMap: TUtilMap = (collection: object, handler: (value: string, key: string, collection: object) => object): any[] => [handler(JSON.stringify(collection), 'key', collection)];
Expand Down
3 changes: 2 additions & 1 deletion packages/types/src/test/IUtilSet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { TUtilSet, lodashSet } from './index';
import { get as lodashSet } from 'lodash';
import { TUtilSet } from './index';

const brokenUtilSet: TUtilSet = (obj: object, path: any[], value: boolean) => { obj || path || value; }; // $ExpectError
const utilSet: TUtilSet = (obj: object, path: Array<string | number> | string, value: boolean) => { obj || path || value; };
Expand Down
5 changes: 0 additions & 5 deletions packages/types/src/test/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
import * as BluebirdPromise from 'bluebird';

export { forEach as lodashEach, map as lodashMap, set as lodashSet, get as lodashGet } from 'lodash';
export { each as underscoreEach, map as underscoreMap } from 'underscore';
export * from '@qiwi/substrate-types';
export { BluebirdPromise };
149 changes: 147 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,68 @@
universal-user-agent "^2.0.0"
url-template "^2.0.8"

"@qiwi/uniconfig-core@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@qiwi/uniconfig-core/-/uniconfig-core-3.0.0.tgz#d09e4f5e4ad355d4a838031d518eb77f996237d0"
integrity sha512-3MeNSQXH0dw+TdIIpNHadHk82vndbRRYgG3J4Cp0mwEbM4YzvqaKIw7r/KRD+Zj3yo0ROjkH1V5lf6X9JT+LJg==
dependencies:
lodash "^4.17.11"
tslib "^1.10.0"

"@qiwi/uniconfig-plugin-api-file@^3.0.0":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@qiwi/uniconfig-plugin-api-file/-/uniconfig-plugin-api-file-3.0.1.tgz#6e127e39abd69353c992462df95daf6d748769d6"
integrity sha512-mksnfJdmooPaHLnfLgknDgiUSOibse1Uump/73knID1F3N+/a+kvfQ+B7JtfDH/2aRtsSFHU9pSVrVl/tuk1CQ==
dependencies:
"@qiwi/uniconfig-core" "^3.0.0"
tslib "^1.10.0"

"@qiwi/uniconfig-plugin-datatree@^3.0.0":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@qiwi/uniconfig-plugin-datatree/-/uniconfig-plugin-datatree-3.0.1.tgz#d1e78d462230313ecdfbf333228c9ab8b4db6e29"
integrity sha512-GyjTHf+EgfdphjAX8t1JyCj52zb0jrgqYxbLlmmhcV4bKpfgowBeIjqJk75fqBzOCzxIAja9cztTFOrDFXCRXA==
dependencies:
"@qiwi/uniconfig-core" "^3.0.0"
lodash "^4.17.11"
tslib "^1.10.0"

"@qiwi/uniconfig-plugin-json@^3.0.0":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@qiwi/uniconfig-plugin-json/-/uniconfig-plugin-json-3.0.1.tgz#183a697bfa2b4872eb6de1fb1adca35b1f4869c0"
integrity sha512-gSY8vNj0sNL916XKtxH7JP/Ah5rtHKKu2ljdGIkd7ppqRbuzyvFrdvaGKoHiwEzvdTyevR+7jlihKTUONJ83CQ==
dependencies:
"@qiwi/uniconfig-core" "^3.0.0"
tslib "^1.10.0"

"@qiwi/uniconfig-plugin-path@^3.0.0":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@qiwi/uniconfig-plugin-path/-/uniconfig-plugin-path-3.0.1.tgz#21fe08f04508c8cc77aa4dccd1bef79900e63046"
integrity sha512-Gj/TmjdSGzvOhQ1yDJUe49TpLDIb4zdnh3LpJ0+rLpo2+4zEAiprCdR2ciAKtGJAe+C5kwlTxUdp+t81K+2o5g==
dependencies:
"@qiwi/uniconfig-core" "^3.0.0"
"@qiwi/uniconfig-plugin-root" "^3.0.0"
tslib "^1.10.0"

"@qiwi/uniconfig-plugin-root@^3.0.0":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@qiwi/uniconfig-plugin-root/-/uniconfig-plugin-root-3.0.1.tgz#18f6e32df556081dbfe70b480f39a9d13de4d532"
integrity sha512-EwiPu79DDEsTPu2KucAHQo4H9L+Aj04inm4imtEKrnarcb+BRkC8ZsB4JY10e/Q2VVax6lAfigU0vZjSARkCxg==
dependencies:
"@qiwi/uniconfig-core" "^3.0.0"
app-root-path "^2.2.1"
tslib "^1.10.0"

"@qiwi/uniconfig@^3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@qiwi/uniconfig/-/uniconfig-3.0.1.tgz#c58f07df4a04e14b5e24e1f7c118f2b1ad79588a"
integrity sha512-qjqFSJ4CjDIk4Kizz7C/fDMN0kEyPghHGWKhhQcT/u8PDKseWY7o7JeHUndg9VXTZlmduKN2Edft9++bpApqXg==
dependencies:
"@qiwi/uniconfig-core" "^3.0.0"
"@qiwi/uniconfig-plugin-api-file" "^3.0.0"
"@qiwi/uniconfig-plugin-datatree" "^3.0.0"
"@qiwi/uniconfig-plugin-json" "^3.0.0"
"@qiwi/uniconfig-plugin-path" "^3.0.0"

"@octokit/rest@^16.27.0":
version "16.28.2"
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.28.2.tgz#3fc3b8700046ab29ab1e2a4bdf49f89e94f7ba27"
Expand Down Expand Up @@ -1324,6 +1386,11 @@
resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.27.tgz#61eb4d75dc6bfbce51cf49ee9bbebe941b2cb5d0"
integrity sha512-6BmYWSBea18+tSjjSC3QIyV93ZKAeNWGM7R6aYt1ryTZXrlHF+QLV0G2yV0viEGVyRkyQsWfMoJ0k/YghBX5sQ==

"@types/config@^0.0.34":
version "0.0.34"
resolved "https://registry.yarnpkg.com/@types/config/-/config-0.0.34.tgz#123f91bdb5afdd702294b9de9ca04d9ea11137b0"
integrity sha512-jWi9DXx77hnzN4kHCNEvP/kab+nchRLTg9yjXYxjTcMBkuc5iBb3QuwJ4sPrb+nzy1GQjrfyfMqZOdR4i7opRQ==

"@types/events@*":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7"
Expand Down Expand Up @@ -1528,7 +1595,7 @@ aggregate-error@^3.0.0:
clean-stack "^2.0.0"
indent-string "^3.2.0"

ajv@^6.5.5:
ajv@^6.10.0, ajv@^6.5.5:
version "6.10.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.0.tgz#90d0d54439da587cd7e843bfb7045f50bd22bdf1"
integrity sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==
Expand Down Expand Up @@ -2337,6 +2404,19 @@ concat-stream@^2.0.0:
readable-stream "^3.0.2"
typedarray "^0.0.6"

conf@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/conf/-/conf-4.1.0.tgz#c7029f629d7158eaf03ae118484d100f878c28b2"
integrity sha512-/G++SsVVt4MkKYZ1E+XdNEyCYghM7e7SSgx4PA55lQrmJjUY1APGGfz42YX9YpRkhLFvlhkJ5S341FWsufZZ5w==
dependencies:
ajv "^6.10.0"
dot-prop "^5.0.0"
env-paths "^2.2.0"
json-schema-typed "^7.0.0"
make-dir "^3.0.0"
pkg-up "^3.0.1"
write-file-atomic "^3.0.0"

config-chain@^1.1.11, config-chain@^1.1.12:
version "1.1.12"
resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa"
Expand All @@ -2345,6 +2425,13 @@ config-chain@^1.1.11, config-chain@^1.1.12:
ini "^1.3.4"
proto-list "~1.2.1"

config@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/config/-/config-3.1.0.tgz#c7d49c4171e8f6cb61c1d69e22647ffd60492548"
integrity sha512-t6oDeNQbsIWa+D/KF4959TANzjSHLv1BA/hvL8tHEA3OUSWgBXELKaONSI6nr9oanbKs0DXonjOWLcrtZ3yTAA==
dependencies:
json5 "^1.0.1"

configstore@^3.0.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f"
Expand Down Expand Up @@ -2836,6 +2923,13 @@ dot-prop@^4.1.0, dot-prop@^4.2.0:
dependencies:
is-obj "^1.0.0"

dot-prop@^5.0.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.1.0.tgz#bdd8c986a77b83e3fca524e53786df916cabbd8a"
integrity sha512-n1oC6NBF+KM9oVXtjmen4Yo7HyAVWV2UUl50dCYJdw2924K6dX9bf9TTTWaKtYlRn0FEtxG27KS80ayVLixxJA==
dependencies:
is-obj "^2.0.0"

dotenv@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-5.0.1.tgz#a5317459bd3d79ab88cff6e44057a6a3fbb1fcef"
Expand Down Expand Up @@ -2957,6 +3051,11 @@ env-ci@^4.0.0:
execa "^1.0.0"
java-properties "^1.0.0"

env-paths@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43"
integrity sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA==

err-code@^1.0.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960"
Expand Down Expand Up @@ -4235,6 +4334,11 @@ is-obj@^1.0.0:
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f"
integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8=

is-obj@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982"
integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==

is-path-inside@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036"
Expand Down Expand Up @@ -4321,7 +4425,7 @@ is-text-path@^2.0.0:
dependencies:
text-extensions "^2.0.0"

is-typedarray@~1.0.0:
is-typedarray@^1.0.0, is-typedarray@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
Expand Down Expand Up @@ -4872,6 +4976,11 @@ json-schema-traverse@^0.4.1:
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==

json-schema-typed@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/json-schema-typed/-/json-schema-typed-7.0.0.tgz#714f3bb539637644b8cb9c99a097c4ee8f8e8c8f"
integrity sha512-ikVqF4dlAgRvAb3MDAgDQRtB/GIC8+iq+z5bczPh9bUT7bAZCdGfGCypJHBquzZNoxebql1UgPxWbImnvkSuJg==

json-schema@0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
Expand Down Expand Up @@ -5394,6 +5503,13 @@ make-dir@^2.1.0:
pify "^4.0.1"
semver "^5.6.0"

make-dir@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.0.0.tgz#1b5f39f6b9270ed33f9f054c5c0f84304989f801"
integrity sha512-grNJDhb8b1Jm1qeqW5R/O63wUo4UXo2v2HMic6YT9i/HBlF93S8jkMgH7yugvY9ABDShH4VZMn8I+U8+fCNegw==
dependencies:
semver "^6.0.0"

make-error@1.x, make-error@^1.1.1:
version "1.3.5"
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8"
Expand Down Expand Up @@ -6679,6 +6795,13 @@ pkg-up@^2.0.0:
dependencies:
find-up "^2.1.0"

pkg-up@^3.0.1:
version "3.1.0"
resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-3.1.0.tgz#100ec235cc150e4fd42519412596a28512a0def5"
integrity sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==
dependencies:
find-up "^3.0.0"

pn@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
Expand Down Expand Up @@ -8192,6 +8315,11 @@ tslib@1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.0.tgz#e37a86fda8cbbaf23a057f473c9f4dc64e5fc2e8"
integrity sha512-f/qGG2tUkrISBlQZEjEqoZ3B2+npJjIf04H1wuAv9iA8i04Icp+61KRXxFdha22670NJopsZCIjhC3SnjPRKrQ==

tslib@^1.10.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==

tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
version "1.9.3"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
Expand Down Expand Up @@ -8289,6 +8417,13 @@ type-fest@^0.4.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8"
integrity sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==

typedarray-to-buffer@^3.1.5:
version "3.1.5"
resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==
dependencies:
is-typedarray "^1.0.0"

type-fest@^0.5.0:
version "0.5.2"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.5.2.tgz#d6ef42a0356c6cd45f49485c3b6281fc148e48a2"
Expand Down Expand Up @@ -8679,6 +8814,16 @@ write-file-atomic@^2.0.0, write-file-atomic@^2.3.0, write-file-atomic@^2.4.2:
imurmurhash "^0.1.4"
signal-exit "^3.0.2"

write-file-atomic@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.0.tgz#1b64dbbf77cb58fd09056963d63e62667ab4fb21"
integrity sha512-EIgkf60l2oWsffja2Sf2AL384dx328c0B+cIYPTQq5q2rOYuDV00/iPFBOUiDKKwKMOhkymH8AidPaRvzfxY+Q==
dependencies:
imurmurhash "^0.1.4"
is-typedarray "^1.0.0"
signal-exit "^3.0.2"
typedarray-to-buffer "^3.1.5"

write-json-file@^2.2.0, write-json-file@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-2.3.0.tgz#2b64c8a33004d54b8698c76d585a77ceb61da32f"
Expand Down

0 comments on commit 6d5bbaa

Please sign in to comment.