diff --git a/package.json b/package.json index d173e15..1a3e081 100644 --- a/package.json +++ b/package.json @@ -10,15 +10,15 @@ "chalk": "4.1.2", "commander": "12.1.0", "ora": "5.4.1", - "tslib": "2.7.0" + "tslib": "2.8.1" }, "description": "🌱 A delightful way to seed test data into your database.", "devDependencies": { "@biomejs/biome": "1.9.3", - "@faker-js/faker": "9.0.3", + "@faker-js/faker": "9.2.0", "@jorgebodega/typeorm-factory": "2.1.0", "@types/jest": "29.5.13", - "@types/node": "20.16.10", + "@types/node": "20.17.6", "jest": "29.7.0", "rimraf": "6.0.1", "sqlite3": "5.1.7", @@ -39,7 +39,7 @@ "license": "MIT", "main": "dist/index.js", "name": "@jorgebodega/typeorm-seeding", - "packageManager": "pnpm@9.11.0", + "packageManager": "pnpm@9.14.1", "peerDependencies": { "typeorm": "^0.3.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7b8ba50..e95128e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,27 +18,27 @@ importers: specifier: 5.4.1 version: 5.4.1 tslib: - specifier: 2.7.0 - version: 2.7.0 + specifier: 2.8.1 + version: 2.8.1 devDependencies: '@biomejs/biome': specifier: 1.9.3 version: 1.9.3 '@faker-js/faker': - specifier: 9.0.3 - version: 9.0.3 + specifier: 9.2.0 + version: 9.2.0 '@jorgebodega/typeorm-factory': specifier: 2.1.0 - version: 2.1.0(typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2))) + version: 2.1.0(typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2))) '@types/jest': specifier: 29.5.13 version: 29.5.13 '@types/node': - specifier: 20.16.10 - version: 20.16.10 + specifier: 20.17.6 + version: 20.17.6 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + version: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) rimraf: specifier: 6.0.1 version: 6.0.1 @@ -47,13 +47,13 @@ importers: version: 5.1.7 ts-jest: specifier: 29.2.5 - version: 29.2.5(@babel/core@7.18.10)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.18.10))(jest@29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)))(typescript@5.6.2) + version: 29.2.5(@babel/core@7.18.10)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.18.10))(jest@29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)))(typescript@5.6.2) ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.16.10)(typescript@5.6.2) + version: 10.9.2(@types/node@20.17.6)(typescript@5.6.2) typeorm: specifier: 0.3.20 - version: 0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + version: 0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) typescript: specifier: 5.6.2 version: 5.6.2 @@ -288,8 +288,8 @@ packages: resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} - '@faker-js/faker@9.0.3': - resolution: {integrity: sha512-lWrrK4QNlFSU+13PL9jMbMKLJYXDFu3tQfayBsMXX7KL/GiQeqfB1CzHkqD5UHBUtPAuPo6XwGbMFNdVMZObRA==} + '@faker-js/faker@9.2.0': + resolution: {integrity: sha512-ulqQu4KMr1/sTFIYvqSdegHT8NIkt66tFAkugGnHA+1WAfEn6hMzNR+svjXGFRVLnapxvej67Z/LwchFrnLBUg==} engines: {node: '>=18.0.0', npm: '>=9.0.0'} '@gar/promisify@1.1.3': @@ -471,8 +471,8 @@ packages: '@types/jest@29.5.13': resolution: {integrity: sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==} - '@types/node@20.16.10': - resolution: {integrity: sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA==} + '@types/node@20.17.6': + resolution: {integrity: sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==} '@types/stack-utils@2.0.1': resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} @@ -1844,6 +1844,9 @@ packages: tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + tunnel-agent@0.6.0: resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} @@ -2254,7 +2257,7 @@ snapshots: dependencies: '@jridgewell/trace-mapping': 0.3.9 - '@faker-js/faker@9.0.3': {} + '@faker-js/faker@9.2.0': {} '@gar/promisify@1.1.3': optional: true @@ -2281,27 +2284,27 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2))': + '@jest/core@29.7.0(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.3.2 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + jest-config: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -2326,7 +2329,7 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -2344,7 +2347,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.0.2 - '@types/node': 20.16.10 + '@types/node': 20.17.6 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -2366,7 +2369,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.18 - '@types/node': 20.16.10 + '@types/node': 20.17.6 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -2436,14 +2439,14 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.16.10 + '@types/node': 20.17.6 '@types/yargs': 17.0.11 chalk: 4.1.2 - '@jorgebodega/typeorm-factory@2.1.0(typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)))': + '@jorgebodega/typeorm-factory@2.1.0(typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)))': dependencies: tslib: 2.7.0 - typeorm: 0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + typeorm: 0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) '@jridgewell/gen-mapping@0.1.1': dependencies: @@ -2533,7 +2536,7 @@ snapshots: '@types/graceful-fs@4.1.5': dependencies: - '@types/node': 20.16.10 + '@types/node': 20.17.6 '@types/istanbul-lib-coverage@2.0.4': {} @@ -2550,7 +2553,7 @@ snapshots: expect: 29.7.0 pretty-format: 29.7.0 - '@types/node@20.16.10': + '@types/node@20.17.6': dependencies: undici-types: 6.19.8 @@ -2860,13 +2863,13 @@ snapshots: convert-source-map@2.0.0: {} - create-jest@29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)): + create-jest@29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.10 - jest-config: 29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + jest-config: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3243,7 +3246,7 @@ snapshots: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 chalk: 4.1.2 co: 4.6.0 dedent: 1.3.0 @@ -3263,16 +3266,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)): + jest-cli@29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + create-jest: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + jest-config: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.1 @@ -3282,7 +3285,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)): + jest-config@29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)): dependencies: '@babel/core': 7.18.10 '@jest/test-sequencer': 29.7.0 @@ -3307,8 +3310,8 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.16.10 - ts-node: 10.9.2(@types/node@20.16.10)(typescript@5.6.2) + '@types/node': 20.17.6 + ts-node: 10.9.2(@types/node@20.17.6)(typescript@5.6.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -3337,7 +3340,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -3347,7 +3350,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.5 - '@types/node': 20.16.10 + '@types/node': 20.17.6 anymatch: 3.1.2 fb-watchman: 2.0.1 graceful-fs: 4.2.10 @@ -3386,7 +3389,7 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 jest-util: 29.7.0 jest-pnp-resolver@1.2.2(jest-resolve@29.7.0): @@ -3421,7 +3424,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.10 @@ -3449,7 +3452,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 chalk: 4.1.2 cjs-module-lexer: 1.2.2 collect-v8-coverage: 1.0.1 @@ -3495,7 +3498,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 chalk: 4.1.2 ci-info: 3.3.2 graceful-fs: 4.2.10 @@ -3514,7 +3517,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -3523,17 +3526,17 @@ snapshots: jest-worker@29.7.0: dependencies: - '@types/node': 20.16.10 + '@types/node': 20.17.6 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)): + jest@29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + jest-cli: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -4118,12 +4121,12 @@ snapshots: dependencies: is-number: 7.0.0 - ts-jest@29.2.5(@babel/core@7.18.10)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.18.10))(jest@29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)))(typescript@5.6.2): + ts-jest@29.2.5(@babel/core@7.18.10)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.18.10))(jest@29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)))(typescript@5.6.2): dependencies: bs-logger: 0.2.6 ejs: 3.1.10 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@20.16.10)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)) + jest: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -4137,14 +4140,14 @@ snapshots: '@jest/types': 29.6.3 babel-jest: 29.7.0(@babel/core@7.18.10) - ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2): + ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.3 - '@types/node': 20.16.10 + '@types/node': 20.17.6 acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.3 @@ -4157,6 +4160,8 @@ snapshots: tslib@2.7.0: {} + tslib@2.8.1: {} + tunnel-agent@0.6.0: dependencies: safe-buffer: 5.2.1 @@ -4165,7 +4170,7 @@ snapshots: type-fest@0.21.3: {} - typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.16.10)(typescript@5.6.2)): + typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@20.17.6)(typescript@5.6.2)): dependencies: '@sqltools/formatter': 1.2.5 app-root-path: 3.1.0 @@ -4179,12 +4184,12 @@ snapshots: mkdirp: 2.1.6 reflect-metadata: 0.2.1 sha.js: 2.4.11 - tslib: 2.7.0 + tslib: 2.8.1 uuid: 9.0.0 yargs: 17.7.1 optionalDependencies: sqlite3: 5.1.7 - ts-node: 10.9.2(@types/node@20.16.10)(typescript@5.6.2) + ts-node: 10.9.2(@types/node@20.17.6)(typescript@5.6.2) transitivePeerDependencies: - supports-color