Skip to content

Commit

Permalink
Merge pull request #158 from rudderlabs/release/2.1.1
Browse files Browse the repository at this point in the history
chore(release): pulling release/2.1.1 into master
  • Loading branch information
saikumarrs authored Nov 6, 2024
2 parents 4e57e39 + f00090f commit f5fde86
Show file tree
Hide file tree
Showing 19 changed files with 20,200 additions and 26,729 deletions.
5 changes: 2 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"presets": ["env"],
"plugins": ["transform-es2015-spread", "transform-object-rest-spread"]
}
"presets": ["@babel/env"]
}
6 changes: 3 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.husky/
lib/
node_modules/
reports/
stats/
*.json
*.md
*.d.ts
.nyc_output
examples/
examples/
dist/
coverage/
76 changes: 41 additions & 35 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,47 @@
{
"env": {
"browser": true,
"node": true,
"es2020": true,
"jest": true
},
"extends": ["airbnb-base", "plugin:sonarjs/recommended", "prettier", "plugin:compat/recommended"],
"plugins": ["unicorn", "compat"],
"parser": "@babel/eslint-parser",
"globals": {},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {
"import/prefer-default-export": "off",
"unicorn/filename-case": [
"error",
{ "cases": { "camelCase": true, "pascalCase": true, "kebabCase": true } }
],
"unicorn/no-instanceof-array": "error",
"unicorn/no-static-only-class": "error",
"unicorn/consistent-destructuring": "error",
"unicorn/better-regex": "error",
"unicorn/no-for-loop": "error",
"unicorn/prefer-array-some": "error",
"unicorn/explicit-length-check": "error",
"unicorn/prefer-array-find": "error",
"unicorn/no-lonely-if": "error",
"unicorn/prefer-includes": "error",
"unicorn/prefer-array-flat-map": "error",
"unicorn/no-useless-spread": "error",
"unicorn/no-useless-length-check": "error",
"unicorn/prefer-export-from": "error",
"sonarjs/prefer-immediate-return": "off",
"sonarjs/no-nested-template-literals": "off",
"sonarjs/max-switch-cases": "off",
"sonarjs/cognitive-complexity": ["error", 40],
"compat/compat": "warn"
}
"overrides": [
{
"files": ["*.js", "*.ts"],
"extends": [
"airbnb-base",
"plugin:sonarjs/recommended-legacy",
"prettier",
"plugin:compat/recommended"
],
"plugins": ["unicorn", "compat"],
"parser": "@babel/eslint-parser",
"globals": {},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {
"import/prefer-default-export": "off",
"unicorn/filename-case": [
"error",
{ "cases": { "camelCase": true, "pascalCase": true, "kebabCase": true } }
],
"unicorn/no-instanceof-array": "error",
"unicorn/no-static-only-class": "error",
"unicorn/consistent-destructuring": "error",
"unicorn/better-regex": "error",
"unicorn/no-for-loop": "error",
"unicorn/prefer-array-some": "error",
"unicorn/explicit-length-check": "error",
"unicorn/prefer-array-find": "error",
"unicorn/no-lonely-if": "error",
"unicorn/prefer-includes": "error",
"unicorn/prefer-array-flat-map": "error",
"unicorn/no-useless-spread": "error",
"unicorn/no-useless-length-check": "error",
"unicorn/prefer-export-from": "error",
"compat/compat": "warn"
}
}
]
}
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Bug report
about: Create a report to help us improve
title: "BUG : <Title>"
title: 'BUG : <Title>'
labels: bug, open source
assignees: MoumitaM
---
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-and-quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ jobs:
- name: Generate build
run: |
npm run build
npm run build:cjs
npm run build:esm
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run commit-msg
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run pre-commit
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.1
22.11.0
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.

### [2.1.1](https://github.com/rudderlabs/rudder-sdk-node/compare/v2.1.0...v2.1.1) (2024-11-06)


### Bug Fixes

* vulnerabilities in dependencies ([#157](https://github.com/rudderlabs/rudder-sdk-node/issues/157)) ([c4e472c](https://github.com/rudderlabs/rudder-sdk-node/commit/c4e472ca195f404f90d7ac3fda5d8911900641be))

## [2.1.0](https://github.com/rudderlabs/rudder-sdk-node/compare/v2.0.10...v2.1.0) (2024-11-04)


Expand Down
10 changes: 5 additions & 5 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ We will triage the issue, contact you for further instructions and make sure to

We will fix any security bugs for the latest major.minor version published in the [Docker Hub](https://hub.docker.com/r/rudderlabs/rudder-server).

| Version | Supported |
| :-------| :---------|
| Latest 1.x ||
| Older 1.x ||
| < 1.0 ||
| Version | Supported |
| :--------- | :-------- |
| Latest 1.x | |
| Older 1.x | |
| < 1.0 | |

We may fix the vulnerabilities in the older versions depending on the severity of the issue and the age of the release, but we are only committing to the latest version released.
Loading

0 comments on commit f5fde86

Please sign in to comment.