Skip to content

Commit

Permalink
Implement Dependabot updates and bump version (#136)
Browse files Browse the repository at this point in the history
* bump common version

* linter fixes

* update test to have valid batch size

* remove now unused import

* feedback from PR

* Bump webpack-cli from 4.10.0 to 6.0.1 (#134)

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.10.0 to 6.0.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/[email protected]@6.0.1)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bump versions

* fix new prettier errors

* bump version to non-alpha

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
aarsilv and dependabot[bot] authored Jan 2, 2025
1 parent e4ce319 commit 63c8b11
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 178 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eppo/js-client-sdk",
"version": "3.8.3",
"version": "3.9.1",
"description": "Eppo SDK for client-side JavaScript applications",
"main": "dist/index.js",
"files": [
Expand All @@ -10,9 +10,9 @@
],
"types": "dist/index.d.ts",
"scripts": {
"lint": "eslint '**/*.{ts,tsx}' '**/*.d.{ts,tsx}' --cache",
"lint:fix": "eslint --fix '**/*.{ts,tsx}' --cache",
"lint:fix-pre-commit": "eslint -c .eslintrc.pre-commit.js --fix '**/*.{ts,tsx}' --no-eslintrc --cache",
"lint": "eslint '**/*.ts' --cache",
"lint:fix": "eslint --fix '**/*.ts' --cache",
"lint:fix-pre-commit": "eslint -c .eslintrc.pre-commit.js --fix '**/*.ts' --no-eslintrc --cache",
"prepare": "make prepare",
"pre-commit": "lint-staged && tsc && yarn docs",
"typecheck": "tsc",
Expand All @@ -32,8 +32,8 @@
},
"homepage": "https://github.com/Eppo-exp/js-client-sdk#readme",
"devDependencies": {
"@microsoft/api-documenter": "^7.23.9",
"@microsoft/api-extractor": "^7.38.0",
"@microsoft/api-documenter": "^7.26.3",
"@microsoft/api-extractor": "^7.48.1",
"@types/chrome": "^0.0.268",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^5.13.0",
Expand All @@ -42,15 +42,15 @@
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.2.1",
"husky": "^8.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^12.3.5",
"prettier": "^2.7.1",
"prettier": "^3.4.2",
"terser-webpack-plugin": "^5.3.3",
"testdouble": "^3.16.6",
"testdouble": "^3.20.2",
"ts-jest": "^29.1.1",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.2",
Expand Down
5 changes: 4 additions & 1 deletion src/chrome-storage-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export class ChromeStorageEngine implements IStringStorageEngine {
private readonly contentsKey;
private readonly metaKey;

public constructor(private storageMap: ChromeStorageAsyncMap<string>, storageKeySuffix: string) {
public constructor(
private storageMap: ChromeStorageAsyncMap<string>,
storageKeySuffix: string,
) {
const keySuffix = storageKeySuffix ? `-${storageKeySuffix}` : '';
this.contentsKey = CONFIGURATION_KEY + keySuffix;
this.metaKey = META_KEY + keySuffix;
Expand Down
5 changes: 4 additions & 1 deletion src/local-storage-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ export class LocalStorageEngine implements IStringStorageEngine {
private readonly contentsKey;
private readonly metaKey;

public constructor(private localStorage: Storage, storageKeySuffix: string) {
public constructor(
private localStorage: Storage,
storageKeySuffix: string,
) {
const keySuffix = storageKeySuffix ? `-${storageKeySuffix}` : '';
this.contentsKey = CONFIGURATION_KEY + keySuffix;
this.metaKey = META_KEY + keySuffix;
Expand Down
5 changes: 4 additions & 1 deletion src/string-valued.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export interface IStringStorageEngine {
export class StringValuedAsyncStore<T> implements IAsyncStore<T> {
private initialized = false;

public constructor(private storageEngine: IStringStorageEngine, private cooldownSeconds = 0) {}
public constructor(
private storageEngine: IStringStorageEngine,
private cooldownSeconds = 0,
) {}

public isInitialized(): boolean {
return this.initialized;
Expand Down
Loading

0 comments on commit 63c8b11

Please sign in to comment.