Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): pull hotfix-release/v1.44.2 into main #2700

Merged
merged 2 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

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.

### [1.44.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.1...v1.44.2) (2023-10-09)


### Bug Fixes

* create instance of transformedObj ([37495e3](https://github.com/rudderlabs/rudder-transformer/commit/37495e3e4a90dc9c5abbf74e7d58152a9af10daf))

### [1.44.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.0...v1.44.1) (2023-10-06)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rudder-transformer",
"version": "1.44.1",
"version": "1.44.2",
"description": "",
"homepage": "https://github.com/rudderlabs/rudder-transformer#readme",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/eventTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class EventTestController {
};
ctx.status = 400;
}
ctx.set('apiVersion', this.API_VERSION);
ctx.set('apiVersion', EventTestController.API_VERSION);
}

public static status(ctx: Context) {
Expand Down
4 changes: 2 additions & 2 deletions src/services/eventTest/eventTester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class EventTesterService {
function capitalize(s) {
return s === 'id' ? s.toUpperCase() : s.charAt(0).toUpperCase() + s.slice(1);
}
let transformedObj: FixMe;
const transformedObj: FixMe = {};
const { destinationDefinition } = dest;
Object.keys(dest).forEach((key) => {
transformedObj[capitalize(key)] = dest[key];
Expand Down Expand Up @@ -54,7 +54,7 @@ export default class EventTesterService {
libraries,
};

let response: FixMe;
let response: FixMe = {};
let errorFound = false;

if (stage.user_transform) {
Expand Down
Loading