Collection of handy online tools for developers, with great UX.
TypeScript converterdeveloper-productivitydeveloper-toolsfrontendjavascriptproductivitytooltoolstypescriptvuejswebsite
fix(bcrypt tool): allow salt rounds up to 100 (#987)
sharevb23f82d956a8a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex d5c67208..4dd9ffb7 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -15,7 +15,7 @@ jobs:- run: corepack enable- uses: actions/setup-node@v3with:- node-version: 16+ node-version: 20cache: 'pnpm'- name: Install dependenciesdiff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.ymlindex b5b04096..13b787ef 100644--- a/.github/workflows/e2e-tests.yml+++ b/.github/workflows/e2e-tests.yml@@ -18,7 +18,7 @@ jobs:- uses: actions/setup-node@v3with:- node-version: 16+ node-version: 20cache: 'pnpm'- name: Get Playwright versiondiff --git a/playwright.config.ts b/playwright.config.tsindex 3caa0612..5257c526 100644--- a/playwright.config.ts+++ b/playwright.config.ts@@ -9,7 +9,7 @@ const useWebServer = process.env.NO_WEB_SERVER !== 'true';*/export default defineConfig({testDir: './src',- testMatch: /.*\.e2e\.(spec\.)?ts/,+ testMatch: /\.e2e\.(spec\.)?ts$/,/* Run tests in files in parallel */fullyParallel: true,/* Fail the build on CI if you accidentally left test.only in the source code. */@@ -57,7 +57,7 @@ export default defineConfig({&& {webServer: {command: 'npm run preview',- url: 'http://127.0.0.1:5050',+ url: 'http://localhost:5050',reuseExistingServer: !isCI,},}diff --git a/src/tools/bcrypt/bcrypt.vue b/src/tools/bcrypt/bcrypt.vueindex c28c20bf..d4881299 100644--- a/src/tools/bcrypt/bcrypt.vue+++ b/src/tools/bcrypt/bcrypt.vue@@ -28,7 +28,7 @@ const compareMatch = computed(() => compareSync(compareString.value, compareHashmb-2/><n-form-item label="Salt count: " label-placement="left" label-width="120">- <n-input-number v-model:value="saltCount" placeholder="Salt rounds..." :max="10" :min="0" w-full />+ <n-input-number v-model:value="saltCount" placeholder="Salt rounds..." :max="100" :min="0" w-full /></n-form-item><c-input-text :value="hashed" readonly text-center />