Skip to content

Commit 29bee40

Browse files
SDK regeneration
1 parent c0e92fc commit 29bee40

File tree

3,581 files changed

+25102
-28165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,581 files changed

+25102
-28165
lines changed

.npmignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ tests
44
.gitignore
55
.github
66
.fernignore
7-
.prettierrc.yml
7+
biome.json
88
tsconfig.json
9-
yarn.lock
9+
yarn.lock
10+
pnpm-lock.yaml

.prettierrc.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

biome.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
3+
"root": true,
4+
"vcs": {
5+
"enabled": false
6+
},
7+
"files": {
8+
"ignoreUnknown": true,
9+
"includes": [
10+
"./**",
11+
"!dist",
12+
"!lib",
13+
"!*.tsbuildinfo",
14+
"!_tmp_*",
15+
"!*.tmp",
16+
"!.tmp/",
17+
"!*.log",
18+
"!.DS_Store",
19+
"!Thumbs.db"
20+
]
21+
},
22+
"formatter": {
23+
"enabled": true,
24+
"indentStyle": "space",
25+
"indentWidth": 4,
26+
"lineWidth": 120
27+
},
28+
"javascript": {
29+
"formatter": {
30+
"quoteStyle": "double"
31+
}
32+
},
33+
"assist": {
34+
"enabled": true,
35+
"actions": {
36+
"source": {
37+
"organizeImports": "on"
38+
}
39+
}
40+
},
41+
"linter": {
42+
"rules": {
43+
"style": {
44+
"useNodejsImportProtocol": "off"
45+
},
46+
"suspicious": {
47+
"noAssignInExpressions": "warn",
48+
"noUselessEscapeInString": {
49+
"level": "warn",
50+
"fix": "none",
51+
"options": {}
52+
},
53+
"noThenProperty": "warn",
54+
"useIterableCallbackReturn": "warn",
55+
"noShadowRestrictedNames": "warn",
56+
"noTsIgnore": {
57+
"level": "warn",
58+
"fix": "none",
59+
"options": {}
60+
},
61+
"noConfusingVoidType": {
62+
"level": "warn",
63+
"fix": "none",
64+
"options": {}
65+
}
66+
}
67+
}
68+
}
69+
}

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
{
22
"name": "square",
3-
"version": "43.1.0",
3+
"version": "43.1.2",
44
"private": false,
55
"repository": "github:square/square-nodejs-sdk",
66
"license": "MIT",
77
"main": "./index.js",
88
"types": "./index.d.ts",
99
"scripts": {
10-
"format": "prettier . --write --ignore-unknown",
10+
"format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
11+
"check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
12+
"check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
1113
"build": "tsc",
1214
"prepack": "cp -rv dist/. .",
13-
"test": "jest --selectProjects unit browser wire",
15+
"test": "jest --selectProjects unit wire",
1416
"test:unit": "jest --selectProjects unit",
15-
"test:browser": "jest --selectProjects browser",
1617
"test:wire": "jest --selectProjects wire",
1718
"test:integration": "jest --selectProjects integration"
1819
},
1920
"dependencies": {
20-
"form-data": "^4.0.0",
21+
"form-data": "^4.0.4",
2122
"formdata-node": "^6.0.3",
2223
"node-fetch": "^2.7.0",
2324
"readable-stream": "^4.5.2",
@@ -34,9 +35,9 @@
3435
"@types/jest": "^29.5.14",
3536
"ts-jest": "^29.3.4",
3637
"jest-environment-jsdom": "^29.7.0",
37-
"msw": "^2.8.4",
38+
"msw": "2.11.2",
3839
"@types/node": "^18.19.70",
39-
"prettier": "^3.4.2",
40+
"@biomejs/biome": "2.2.5",
4041
"typescript": "~5.7.2"
4142
},
4243
"browser": {

0 commit comments

Comments
 (0)