Skip to content

Commit 86d2cfb

Browse files
authored
chore: bump version to 0.4.15 (#266)
* chore: bump version to 0.4.15 * update linter conf * fix: run npm audit fix * fix: triggers bug * fix: npm lock * fix: revert
1 parent 42d4a5b commit 86d2cfb

15 files changed

+1888
-8169
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
node_modules
33
.serverless
44
**/rust*/target/
5+
.eslintcache

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.4.15
4+
5+
### Added
6+
7+
- Added support for `nats` event source
8+
39
## 0.4.14
410

511
### Added

deploy/lib/buildAndPushContainers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function findErrorInBuildOutput(buildOutput) {
3131
let errorDetail;
3232
try {
3333
errorDetail = JSON.parse(buildStepLog)["errorDetail"];
34-
} catch (err) {
34+
} catch {
3535
return "";
3636
}
3737

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

81+
// eslint-disable-next-line no-async-promise-executor
8182
return new Promise(async (resolve, reject) => {
8283
const buildStream = await docker.buildImage(tarStream, {
8384
t: imageName,

deploy/lib/createFunctions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Runtime lifecycle doc : https://www.scaleway.com/en/docs/compute/functions/refer
137137

138138
return currentRuntime;
139139

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

151151
return currentRuntime;
152+
}
152153
}
153154
}
154155

eslint.config.mjs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { defineConfig } from "eslint/config";
2+
import js from "@eslint/js";
3+
4+
export default defineConfig([
5+
{
6+
languageOptions: {
7+
globals: {
8+
process: "readonly",
9+
__dirname: "readonly",
10+
module: "readonly",
11+
require: "readonly",
12+
console: "readonly",
13+
jest: "readonly",
14+
setTimeout: "readonly",
15+
},
16+
},
17+
},
18+
{
19+
files: ["**/*.js"],
20+
plugins: { js },
21+
extends: ["js/recommended"],
22+
ignores: ["examples/**/*.js"],
23+
},
24+
{ files: ["tests/**/*.test.js"], rules: { "no-unused-vars": "off" } },
25+
]);

examples/go/package-lock.json

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)