Skip to content

Commit

Permalink
Merge pull request #349 from ryoppippi/renovate/typia-7.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency typia to ^7.6.0
  • Loading branch information
ryoppippi authored Jan 18, 2025
2 parents 193ef74 + b8c838a commit ad26fb0
Show file tree
Hide file tree
Showing 16 changed files with 47 additions and 31 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/bun-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@types/bun": "latest",
"std-env": "^3.8.0",
"typia": "^7.0.1"
"typia": "^7.6.0"
},
"peerDependencies": {
"ts-patch": "^3.2.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"tslib": "^2.8.1",
"type-fest": "^4.30.0",
"typescript": "~5.7.2",
"typia": "^7.0.1"
"typia": "^7.6.0"
},
"overrides": {
"@types/react": "19.0.4",
Expand Down
2 changes: 1 addition & 1 deletion examples/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"ts-patch": "^3.2.1",
"tslib": "^2.8.1",
"typescript": "~5.7.2",
"typia": "^7.0.1",
"typia": "^7.6.0",
"vite": "^6.0.2"
},
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/vite-hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@ryoppippi/unplugin-typia": "workspace:*",
"ts-patch": "^3.2.1",
"typescript": "~5.7.2",
"typia": "^7.0.1",
"typia": "^7.6.0",
"vite": "^6.0.2"
}
}
2 changes: 1 addition & 1 deletion examples/vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@vitejs/plugin-react": "^4.3.4",
"ts-patch": "^3.2.1",
"typescript": "~5.7.2",
"typia": "^7.0.1",
"typia": "^7.6.0",
"vite": "^6.0.2",
"vite-plugin-inspect": "^0.10.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"dependencies": {
"@ryoppippi/unplugin-typia": "workspace:*",
"cross-env": "^7.0.3",
"typia": "^7.0.1"
"typia": "^7.6.0"
}
}
2 changes: 1 addition & 1 deletion packages/unplugin-typia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"pkg-types": "^1.2.1",
"type-fest": "^4.30.0",
"typescript": "~5.6.3",
"typia": "^7.0.1",
"typia": "^7.6.0",
"unplugin": "^1.16.0"
},
"devDependencies": {
Expand Down
8 changes: 5 additions & 3 deletions packages/unplugin-typia/tests/fixtures/__snapshots__/alias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,17 @@ const validate = (() => { const _io0 = (input: any): boolean => "string" === typ
value: input
}))(input, "$input", true);
const success = 0 === errors.length;
return {
return success ? {
success,
data: input
} : {
success,
errors,
data: success ? input : undefined
data: input
} as any;
}
return {
success: true,
errors: [],
data: input
} as any;
}; })();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ const validate = /* @__PURE__ */ (() => {
_report = __typia_transform__validateReport._validateReport(errors);
/* @__PURE__ */ ((input2, _path, _exceptionable = true) => true)(input, "$input", true);
const success = 0 === errors.length;
return {
return success ? {
success,
data: input
} : {
success,
errors,
data: success ? input : void 0
data: input
};
}
return {
success: true,
errors: [],
data: input
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,17 @@ const validate = /* @__PURE__ */ (() => {
value: input2
}))(input, "$input", true);
const success = 0 === errors.length;
return {
return success ? {
success,
data: input
} : {
success,
errors,
data: success ? input : void 0
data: input
};
}
return {
success: true,
errors: [],
data: input
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ const validate = /* @__PURE__ */ (() => {
errors = [];
__typia_transform__validateReport._validateReport(errors);
const success = 0 === errors.length;
return {
return success ? {
success,
data: input
} : {
success,
errors,
data: success ? input : void 0
data: input
};
}
return {
success: true,
errors: [],
data: input
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,17 @@ const validate = /* @__PURE__ */ (() => {
value: input2
}))(input, "$input", true);
const success = 0 === errors.length;
return {
return success ? {
success,
data: input
} : {
success,
errors,
data: success ? input : void 0
data: input
};
}
return {
success: true,
errors: [],
data: input
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,17 @@ const validate = (() => { const _io0 = (input: any): boolean => "string" === typ
value: input
}))(input, "$input", true);
const success = 0 === errors.length;
return {
return success ? {
success,
data: input
} : {
success,
errors,
data: success ? input : undefined
data: input
} as any;
}
return {
success: true,
errors: [],
data: input
} as any;
}; })();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,17 @@ const validate = /* @__PURE__ */ (() => {
value: input2
}))(input, "$input", true);
const success = 0 === errors.length;
return {
return success ? {
success,
data: input
} : {
success,
errors,
data: success ? input : void 0
data: input
};
}
return {
success: true,
errors: [],
data: input
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,17 @@ const validate = /* @__PURE__ */ (() => {
value: input2
}))(input, "$input", true);
const success = 0 === errors.length;
return {
return success ? {
success,
data: input
} : {
success,
errors,
data: success ? input : void 0
data: input
};
}
return {
success: true,
errors: [],
data: input
};
};
Expand Down

0 comments on commit ad26fb0

Please sign in to comment.