factory.ts
Advanced tools
Comparing version 0.5.0 to 0.5.1
# Changelog | ||
## [0.5.1] - 2019-12-06 | ||
- fix typing for combine() and 'required keys' | ||
- update TS version and other dependencies | ||
- jest setup fixes for library development | ||
## [0.5.0] - 2019-05-24 | ||
@@ -4,0 +10,0 @@ |
@@ -34,3 +34,3 @@ import { RecPartial, Omit } from "./shared"; | ||
extend(def: RecPartial<Builder<T, K>>): Factory<T, K>; | ||
combine<U, K2 extends keyof U>(other: Factory<U, K2>): Factory<T & U, K & K2>; | ||
combine<U, K2 extends keyof U>(other: Factory<U, K2>): Factory<T & U, K | K2>; | ||
transform<U>(fn: (t: T) => U | Promise<U>): TransformFactory<T, K, U>; | ||
@@ -37,0 +37,0 @@ withDerivation<KOut extends keyof T>(kOut: KOut, f: (v1: T, seq: number) => T[KOut] | Promise<T[KOut]>): Factory<T, K>; |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -190,2 +191,2 @@ }); | ||
exports.makeFactoryFromSync = makeFactoryFromSync; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN5bmMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYXN5bmMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHFDQUFzRTtBQUN0RSwrQkFBK0I7QU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9BQTRCLEVBQzVCLE1BQTJCO0lBRTNCLE9BQU8sSUFBSSxPQUFPLENBQUMsT0FBTyxFQUFFLE1BQU0sQ0FBQyxDQUFDO0FBQ3RDLENBQUM7QUFMRCxrQ0FLQztBQUVELFNBQWdCLHVCQUF1QixDQUNyQyxPQUF3QyxFQUN4QyxNQUEyQjtJQUUzQixPQUFPLElBQUksT0FBTyxDQUFDLE9BQU8sRUFBRSxNQUFNLENBQUMsQ0FBQztBQUN0QyxDQUFDO0FBTEQsMERBS0M7QUFFRCxTQUFnQixtQkFBbUIsQ0FDakMsT0FBMkIsRUFDM0IsTUFBMkI7SUFFM0IsT0FBTyxJQUFJLE9BQU8sQ0FBQyxPQUE4QixFQUFFLE1BQU0sQ0FBQyxDQUFDO0FBQzdELENBQUM7QUFMRCxrREFLQyJ9 |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -25,3 +26,3 @@ }); | ||
: val; | ||
return Object.assign({}, c, v); | ||
return Object.assign(Object.assign({}, c), v); | ||
}))); | ||
@@ -41,3 +42,3 @@ } | ||
newV[key] = val; | ||
return Object.assign({}, c, newV); | ||
return Object.assign(Object.assign({}, c), newV); | ||
}))); | ||
@@ -56,2 +57,2 @@ } | ||
exports.Pipeline = Pipeline; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlwZWxpbmUuanMiLCJzb3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JQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxXQUFXLEVBQUUsVUFBVSxDQUFDLENBQUM7SUFDcEQsQ0FBQztDQUNGO0FBakZELDRCQWlGQyJ9 |
@@ -27,3 +27,3 @@ import { RecPartial, Omit } from "./shared"; | ||
extend(def: RecPartial<Builder<T, K>>): Factory<T, K>; | ||
combine<U, K2 extends keyof U>(other: Factory<U, K2>): Factory<T & U, K & K2>; | ||
combine<U, K2 extends keyof U>(other: Factory<U, K2>): Factory<T & U, K | K2>; | ||
withDerivation<KOut extends keyof T>(kOut: KOut, f: (v1: T, seq: number) => T[KOut]): Factory<T, K>; | ||
@@ -30,0 +30,0 @@ withDerivation1<K1 extends keyof T, KOut extends keyof T>(kInput: [K1], kOut: KOut, f: (v1: T[K1], seq: number) => T[KOut]): Factory<T, K>; |
@@ -135,2 +135,2 @@ "use strict"; | ||
exports.makeFactoryWithRequired = makeFactoryWithRequired; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zeW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEscUNBQXNFO0FBQ3RFLHdDQUF3QztBQU14QyxNQUFhLFNBQVM7SUFDcEIsWUFBcUIsSUFBd0I7UUFBeEIsU0FBSSxHQUFKLElBQUksQ0FBb0I7SUFBRyxDQUFDO0lBQzFDLEtBQUssQ0FBQyxHQUFXO1FBQ3RCLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUN4QixDQUFDO0NBQ0Y7QUFMRCw4QkFLQztBQUNELE1BQWEsT0FBTztJQUNsQixZQUFxQixJQUErQztRQUEvQyxTQUFJLEdBQUosSUFBSSxDQUEyQztJQUFHLENBQUM7SUFDakUsS0FBSyxDQUFDLEtBQWEsRUFBRSxHQUFXO1FBQ3JDLE1B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QUFDO0FBTEQsa0NBS0M7QUFFRCxTQUFnQix1QkFBdUIsQ0FDckMsT0FBd0MsRUFDeEMsTUFBMEI7SUFFMUIsT0FBTyxJQUFJLE9BQU8sQ0FBQyxPQUFPLEVBQUUsTUFBTSxDQUFDLENBQUM7QUFDdEMsQ0FBQztBQUxELDBEQUtDIn0= |
{ | ||
"name": "factory.ts", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"license": "MIT", | ||
@@ -18,3 +18,3 @@ "description": "A Typescript test data factory similar to factory_bot and rosie", | ||
"transform": { | ||
"\\.(js|ts)$": "<rootDir>/node_modules/ts-jest/preprocessor.js" | ||
"\\.(js|ts)$": "ts-jest" | ||
}, | ||
@@ -31,3 +31,5 @@ "testRegex": "./spec/.*\\.spec\\.ts$", | ||
], | ||
"setupTestFrameworkScriptFile": "<rootDir>/jest-setup.ts" | ||
"setupFilesAfterEnv": [ | ||
"<rootDir>/jest-setup.ts" | ||
] | ||
}, | ||
@@ -45,11 +47,11 @@ "repository": "https://github.com/willryan/factory.ts", | ||
"devDependencies": { | ||
"@types/jest": "^20.0.6", | ||
"@types/node": "^7.0.4", | ||
"jest": "^20.0.0", | ||
"@types/jest": "^24.0.23", | ||
"@types/node": "^12.12.14", | ||
"jest": "^24.9.0", | ||
"jest-environment-node-debug": "^2.0.0", | ||
"ts-jest": "^20.0.7", | ||
"ts-loader": "^4.4.2", | ||
"ts-node": "^7.0.0", | ||
"tslint": "^5.11.0", | ||
"typescript": "3.2.1" | ||
"ts-jest": "^24.2.0", | ||
"ts-loader": "^6.2.1", | ||
"ts-node": "^8.5.4", | ||
"tslint": "^5.20.1", | ||
"typescript": "3.7.2" | ||
}, | ||
@@ -56,0 +58,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58388
566