Skip to content

chore: bump version to 0.4.15 #266

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

Merged
merged 8 commits into from
May 21, 2025
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
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

7 changes: 0 additions & 7 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
node_modules
.serverless
**/rust*/target/
.eslintcache
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.4.15

### Added

- Added support for `nats` event source

## 0.4.14

### Added
Expand Down
3 changes: 2 additions & 1 deletion deploy/lib/buildAndPushContainers.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function findErrorInBuildOutput(buildOutput) {
let errorDetail;
try {
errorDetail = JSON.parse(buildStepLog)["errorDetail"];
} catch (err) {
} catch {
return "";
}

Expand Down Expand Up @@ -78,6 +78,7 @@ module.exports = {
`Building and pushing container ${container.name} to: ${imageName} ...`
);

// eslint-disable-next-line no-async-promise-executor
return new Promise(async (resolve, reject) => {
const buildStream = await docker.buildImage(tarStream, {
t: imageName,
Expand Down
3 changes: 2 additions & 1 deletion deploy/lib/createFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Runtime lifecycle doc : https://www.scaleway.com/en/docs/compute/functions/refer

return currentRuntime;

default:
default: {
let warnMessage = `WARNING: Runtime ${currentRuntime} is in status ${runtime.status}`;
if (
runtime.statusMessage !== null &&
Expand All @@ -149,6 +149,7 @@ Runtime lifecycle doc : https://www.scaleway.com/en/docs/compute/functions/refer
logger.log(warnMessage);

return currentRuntime;
}
}
}

Expand Down
25 changes: 25 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { defineConfig } from "eslint/config";
import js from "@eslint/js";

export default defineConfig([
{
languageOptions: {
globals: {
process: "readonly",
__dirname: "readonly",
module: "readonly",
require: "readonly",
console: "readonly",
jest: "readonly",
setTimeout: "readonly",
},
},
},
{
files: ["**/*.js"],
plugins: { js },
extends: ["js/recommended"],
ignores: ["examples/**/*.js"],
},
{ files: ["tests/**/*.test.js"], rules: { "no-unused-vars": "off" } },
]);
43 changes: 43 additions & 0 deletions examples/go/package-lock.json

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

Loading
Loading