@visulima/pagination 3.0.9 → 3.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## @visulima/pagination [3.0.11](https://github.com/visulima/visulima/compare/@visulima/pagination@3.0.10...@visulima/pagination@3.0.11) (2024-01-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * updated all deps, updated test based on eslint errors ([909f8f3](https://github.com/visulima/visulima/commit/909f8f384804d7ef140354ab44f867532dbc9847))
7
+
8
+ ## @visulima/pagination [3.0.10](https://github.com/visulima/visulima/compare/@visulima/pagination@3.0.9...@visulima/pagination@3.0.10) (2023-11-30)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * updated dep versions ([ed70375](https://github.com/visulima/visulima/commit/ed7037584477dbda4a8a6405a1104876e8a6c703))
14
+
1
15
  ## @visulima/pagination [3.0.9](https://github.com/visulima/visulima/compare/@visulima/pagination@3.0.8...@visulima/pagination@3.0.9) (2023-11-30)
2
16
 
3
17
 
package/dist/index.d.mts CHANGED
@@ -76,4 +76,4 @@ declare const createPaginationSchemaObject: (name: string, items: OpenAPIV3.Refe
76
76
 
77
77
  declare const paginate: <Result>(page: number, perPage: number, total: number, rows: Result[]) => Paginator$1<Result>;
78
78
 
79
- export { PaginationMeta, PaginationResult, Paginator, Paginator$1 as PaginatorInterface, createPaginationMetaSchemaObject, createPaginationSchemaObject, paginate };
79
+ export { type PaginationMeta, type PaginationResult, Paginator, type Paginator$1 as PaginatorInterface, createPaginationMetaSchemaObject, createPaginationSchemaObject, paginate };
package/dist/index.d.ts CHANGED
@@ -76,4 +76,4 @@ declare const createPaginationSchemaObject: (name: string, items: OpenAPIV3.Refe
76
76
 
77
77
  declare const paginate: <Result>(page: number, perPage: number, total: number, rows: Result[]) => Paginator$1<Result>;
78
78
 
79
- export { PaginationMeta, PaginationResult, Paginator, Paginator$1 as PaginatorInterface, createPaginationMetaSchemaObject, createPaginationSchemaObject, paginate };
79
+ export { type PaginationMeta, type PaginationResult, Paginator, type Paginator$1 as PaginatorInterface, createPaginationMetaSchemaObject, createPaginationSchemaObject, paginate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/pagination",
3
- "version": "3.0.9",
3
+ "version": "3.0.11",
4
4
  "description": "Simple Pagination for Node.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -57,7 +57,6 @@
57
57
  "build": "cross-env NODE_ENV=development tsup",
58
58
  "build:prod": "cross-env NODE_ENV=production tsup",
59
59
  "clean": "rimraf node_modules dist .eslintcache",
60
- "coverage": "vitest run --coverage",
61
60
  "dev": "pnpm run build --watch",
62
61
  "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js",
63
62
  "lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js --fix",
@@ -66,37 +65,40 @@
66
65
  "lint:prettier:fix": "prettier --config=.prettierrc.js --write .",
67
66
  "lint:types": "tsc --noEmit",
68
67
  "test": "vitest run",
68
+ "test:coverage": "vitest run --coverage",
69
+ "test:ui": "vitest --ui --coverage.enabled=true",
69
70
  "test:watch": "vitest"
70
71
  },
71
72
  "dependencies": {
72
73
  "qs": "^6.11.2"
73
74
  },
74
75
  "devDependencies": {
75
- "@anolilab/eslint-config": "^15.0.2",
76
- "@anolilab/prettier-config": "^5.0.13",
77
- "@anolilab/semantic-release-preset": "^8.0.2",
78
- "@babel/core": "^7.23.3",
79
- "@rushstack/eslint-plugin-security": "^0.7.1",
76
+ "@anolilab/eslint-config": "^15.0.3",
77
+ "@anolilab/prettier-config": "^5.0.14",
78
+ "@anolilab/semantic-release-preset": "^8.0.3",
79
+ "@babel/core": "^7.23.7",
80
+ "@rushstack/eslint-plugin-security": "^0.8.0",
80
81
  "@types/micromatch": "^4.0.6",
81
82
  "@types/node": "18.18.8",
82
- "@types/qs": "^6.9.10",
83
- "@vitest/coverage-v8": "^0.34.6",
83
+ "@types/qs": "^6.9.11",
84
+ "@vitest/coverage-v8": "^1.2.1",
85
+ "@vitest/ui": "^1.2.1",
84
86
  "cross-env": "^7.0.3",
85
- "eslint": "^8.54.0",
87
+ "eslint": "^8.56.0",
86
88
  "eslint-plugin-deprecation": "^2.0.0",
87
89
  "eslint-plugin-etc": "^2.0.3",
88
- "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.0",
89
- "eslint-plugin-mdx": "^2.2.0",
90
- "eslint-plugin-vitest": "^0.3.10",
90
+ "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
91
+ "eslint-plugin-mdx": "^3.1.5",
92
+ "eslint-plugin-vitest": "^0.3.20",
91
93
  "eslint-plugin-vitest-globals": "^1.4.0",
92
94
  "openapi-types": "^12.1.3",
93
- "prettier": "^3.1.0",
95
+ "prettier": "^3.2.4",
94
96
  "rimraf": "^5.0.5",
95
- "semantic-release": "^22.0.8",
97
+ "semantic-release": "^23.0.0",
96
98
  "sort-package-json": "^2.6.0",
97
99
  "tsup": "^8.0.1",
98
- "typescript": "^5.3.2",
99
- "vitest": "^0.34.6"
100
+ "typescript": "^5.3.3",
101
+ "vitest": "^1.2.1"
100
102
  },
101
103
  "engines": {
102
104
  "node": ">=18.* <=21.*"