squel 5.12.2 → 6.0.2

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/package.json CHANGED
@@ -1,56 +1,76 @@
1
1
  {
2
2
  "name": "squel",
3
+ "version": "6.0.2",
3
4
  "description": "SQL query string builder",
4
- "version": "5.12.2",
5
+ "keywords": [
6
+ "sql",
7
+ "database",
8
+ "rdbms",
9
+ "query-builder",
10
+ "mysql",
11
+ "postgres",
12
+ "mssql"
13
+ ],
5
14
  "author": "Ramesh Nair <ram@hiddentao.com> (http://www.hiddentao.com/)",
6
15
  "contributors": [
7
16
  "Ramesh Nair <ram@hiddentao.com> (http://www.hiddentao.com/)",
8
17
  "Sergej Brjuchanov <serges@seznam.cz>"
9
18
  ],
10
- "dependencies": {},
11
- "devDependencies": {
12
- "babel-preset-env": "^1.6.0",
13
- "benchmark": "^2.1.4",
14
- "chai": "1.5.x",
15
- "coffee-script": "^1.10.0",
16
- "growl": "^1.10.5",
17
- "gulp": "^3.9.1",
18
- "gulp-babel": "^6.1.2",
19
- "gulp-concat": "^2.6.0",
20
- "gulp-insert": "^0.5.0",
21
- "gulp-istanbul": "^1.1.1",
22
- "gulp-mocha": "^2.2.0",
23
- "gulp-replace": "^0.5.4",
24
- "gulp-uglify": "^1.5.3",
25
- "gulp-umd": "^0.2.0",
26
- "knex": "^0.14.6",
27
- "load-grunt-tasks": "~0.1.0",
28
- "mocha": "1.9.x",
29
- "run-sequence": "^1.1.5",
30
- "sinon": "1.6.x",
31
- "time-grunt": "~0.1.1",
32
- "uglify-js": "1.3.x",
33
- "underscore": "1.4.x",
34
- "yargs": "^4.7.1"
35
- },
36
- "keywords": [
37
- "sql",
38
- "database",
39
- "rdbms"
40
- ],
41
- "main": "dist/squel.js",
42
- "types": "dist/squel.d.ts",
43
- "scripts": {
44
- "test": "gulp",
45
- "test-performance": "node performance/select.js",
46
- "build": "gulp",
47
- "prepublish": "npm run build"
48
- },
19
+ "license": "MIT",
49
20
  "repository": {
50
21
  "type": "git",
51
22
  "url": "https://github.com/hiddentao/squel.git"
52
23
  },
24
+ "homepage": "https://github.com/hiddentao/squel",
25
+ "bugs": {
26
+ "url": "https://github.com/hiddentao/squel/issues"
27
+ },
28
+ "type": "module",
29
+ "main": "./dist/cjs/index.js",
30
+ "module": "./dist/esm/index.js",
31
+ "types": "./dist/types/index.d.ts",
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/types/index.d.ts",
35
+ "import": "./dist/esm/index.js",
36
+ "require": "./dist/cjs/index.js"
37
+ },
38
+ "./browser": "./dist/browser/squel.min.js"
39
+ },
40
+ "files": [
41
+ "dist",
42
+ "README.md",
43
+ "LICENSE.md",
44
+ "CHANGELOG.md"
45
+ ],
53
46
  "engines": {
54
- "node": ">= 0.12.0"
47
+ "node": ">=18.0.0"
48
+ },
49
+ "publishConfig": {
50
+ "access": "public",
51
+ "provenance": true
52
+ },
53
+ "scripts": {
54
+ "build": "bun run scripts/build.ts",
55
+ "test": "bun test",
56
+ "test:coverage": "bun test --coverage --coverage-reporter=lcov",
57
+ "test:watch": "bun test --watch",
58
+ "lint": "biome check --write ./src ./tests ./scripts",
59
+ "format": "biome format --write ./src ./tests ./scripts",
60
+ "check": "biome check ./src ./tests ./scripts",
61
+ "typecheck": "tsc --noEmit",
62
+ "prepare": "husky",
63
+ "prepublishOnly": "bun run build && bun run test"
64
+ },
65
+ "dependencies": {},
66
+ "devDependencies": {
67
+ "@biomejs/biome": "^1.9.4",
68
+ "@commitlint/cli": "^19.8.1",
69
+ "@commitlint/config-conventional": "^19.8.1",
70
+ "@types/bun": "latest",
71
+ "@types/node": "^22.0.0",
72
+ "commit-and-tag-version": "^12.6.0",
73
+ "husky": "^9.1.7",
74
+ "typescript": "^5.3.0"
55
75
  }
56
76
  }
package/CONTRIBUTING.md DELETED
@@ -1,28 +0,0 @@
1
- # Contribute to Squel
2
-
3
- This guide guidelines for those wishing to contribute to Squel.
4
-
5
- ## Contributor license agreement
6
-
7
- By submitting code as an individual or as an entity you agree that your code is [licensed the same as Squel](README.md).
8
-
9
- ## Issues and pull requests
10
-
11
- Issues and merge requests should be in English and contain appropriate language for audiences of all ages.
12
-
13
- We will only accept a merge requests which meets the following criteria:
14
-
15
- * Squel.js and squel.min.js have been rebuilt using `npm run build`.
16
- * Includes proper tests and all tests pass (unless it contains a test exposing a bug in existing code)
17
- * Can be merged without problems (if not please use: `git rebase master`)
18
- * Does not break any existing functionality
19
- * Fixes one specific issue or implements one specific feature (do not combine things, send separate merge requests if needed)
20
- * Keeps the Squel code base clean and well structured
21
- * Contains functionality we think other users will benefit from too
22
- * Doesn't add unnessecary configuration options since they complicate future changes
23
- * Update the docs in the `gh-pages` branch and in the master `README.md` if necessary
24
-
25
-
26
- ## Release process (for core contributors)
27
-
28
- See `RELEASE.md`.
package/RELEASE.md DELETED
@@ -1,13 +0,0 @@
1
- ## Creating a new release
2
-
3
- 1. Make final commits
4
- 2. Push to `master` on Github and wait for build to pass
5
- 3. Update `version` field in `package.json`
6
- 4. Update `CHANGELOG.md` with details of release
7
- 5. Run `npm test`
8
- 6. Commit and push to Github
9
- 7. Tag commit as <version>
10
- 8. Push all tags to Github: `git push --tags`
11
- 9. Publish to NPM: `npm publish`
12
- 10. Announce to world!
13
-