Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c72ad67
3.0.1
niftylettuce Feb 15, 2021
3217b3d
[eslint] clean up ignores
ljharb Sep 20, 2024
edb555a
fix: move util.isArray to Array.isArray (#564)
marco-ippolito Apr 30, 2024
fed0221
fix (npmignore): ignore temporary build files (#532)
jaikanthjay46 Apr 18, 2022
8fdb3bc
[Tests] migrate from travis to GHA
ljharb Sep 21, 2024
f06b0d8
v3.0.2
ljharb Oct 10, 2024
b82f590
Only apps should have lockfiles
ljharb Feb 14, 2025
8261fcb
[Dev Deps] update `@types/node`, `browserify`, `coveralls`, `cross-sp…
ljharb Feb 14, 2025
5a5bafe
[Deps] update `mime-types`
ljharb Feb 14, 2025
7fecefe
[Refactor] use `Object.prototype.hasOwnProperty.call`
ljharb Feb 14, 2025
84ca1d6
[Fix] set `Symbol.toStringTag` when available (#573)
ExE-Boss Feb 13, 2025
e5df7f2
[Dev Deps] pin `request` which via `tough-cookie` ^2.4 depends on `psl`
ljharb Feb 14, 2025
e46f09b
v3.0.3
ljharb Feb 14, 2025
70bbaa0
[Fix] validate boundary type in `setBoundary()` method
Mallikarjun-0 Apr 12, 2025
002b9b0
[Fix] `append`: avoid a crash on nullish values
ljharb May 8, 2025
a14d09e
[Dev Deps] remove unused deps
ljharb Jun 5, 2025
fc42bb9
[meta] remove local commit hooks
ljharb Jun 5, 2025
e8c574c
[Tests] handle predict-v8-randomness failures in node < 17 and node > 23
ljharb Jul 17, 2025
d2eb290
[meta] add `auto-changelog`
ljharb Jul 17, 2025
fc38b48
[meta] fix readme capitalization
ljharb Jul 17, 2025
0150851
[meta] actually ensure the readme backup isn’t published
ljharb Jul 17, 2025
c6ced61
[Fix] Switch to using `crypto` random for boundary values
benweissmann Feb 22, 2025
f5e7eb0
[eslint] update linting config
ljharb Jul 17, 2025
11d9f73
[meta] fix scripts to use prepublishOnly
ljharb Feb 15, 2025
1a78b5d
[Refactor] use `hasown`
ljharb Jul 17, 2025
b22a64e
[Tests] add tests to check the behavior of `getBoundary` with non-str…
Mallikarjun-0 Apr 15, 2025
9c82fcd
v3.0.4
ljharb Jul 17, 2025
ffe6854
generate lib/browser.js by browserifying lib/form_data.js
Jul 16, 2020
655f79a
remove pre and pos tpublish from package json script
Aanal Nov 30, 2023
953eaf0
Updating browser.js
bhavya2306 Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

54 changes: 18 additions & 36 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,43 +1,25 @@
{
"extends": "@ljharb/eslint-config/node/0.4",
"rules": {
"callback-return": "warn",
"camelcase": "warn",
"func-style": "warn",
"eqeqeq": ["error", "always", { "null": "ignore" }],
"id-length": "warn",
"max-lines": "off",
"no-invalid-this": "warn",
"no-param-reassign": "warn",
"no-underscore-dangle": "warn",
"sort-keys": "warn",

"indent": [2, 2, {"SwitchCase": 1}],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"curly": [2, "multi-line"],
"handle-callback-err": [2, "^err"],
"valid-jsdoc": [2, {
"requireReturn": false,
"requireReturnDescription": false,
"prefer": {
"return": "returns"
}
}],
"require-jsdoc": [2, {
"require": {
"FunctionDeclaration": true
}
}],
"no-redeclare": [2, { "builtinGlobals": true }],
"no-shadow": [2, { "builtinGlobals": true, "hoist": "all" }],
"no-use-before-define": [2, "nofunc"],
"no-shadow-restricted-names": 2,
"no-extra-semi": 2,
"no-unused-vars": 2,
"no-undef": 2,
"no-irregular-whitespace": 2,
"no-console": 2,
"key-spacing": 0,
"strict": 0,
"dot-notation": 0,
"eol-last": 0,
"no-new": 0,
"semi-spacing": 0,
"no-multi-spaces": 0,
"eqeqeq": 0,
"no-mixed-requires": 0
},
"env": {
"node": true
}
},
"ignorePatterns": [
"node_modules/*",
"index.d.ts",
"coverage",
],
}
14 changes: 14 additions & 0 deletions .github/workflows/node-aught.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Tests: node.js < 10'

on: [pull_request, push]

permissions:
contents: read

jobs:
tests:
uses: ljharb/actions/.github/workflows/node.yml@main
with:
range: '>= 6 < 10'
type: minors
command: npm run ci-test
10 changes: 10 additions & 0 deletions .github/workflows/node-pretest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 'Tests: pretest/posttest'

on: [pull_request, push]

permissions:
contents: read

jobs:
tests:
uses: ljharb/actions/.github/workflows/pretest.yml@main
14 changes: 14 additions & 0 deletions .github/workflows/node-tens.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Tests: node.js >= 10'

on: [pull_request, push]

permissions:
contents: read

jobs:
tests:
uses: ljharb/actions/.github/workflows/node.yml@main
with:
range: '>= 10'
type: minors
command: npm run ci-test
22 changes: 22 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Automatic Rebase

on: [pull_request_target]

permissions:
contents: read

jobs:
_:
permissions:
contents: write # for ljharb/rebase to push code to rebase
pull-requests: read # for ljharb/rebase to get info about PR

name: "Automatic Rebase"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: ljharb/rebase@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/require-allow-edits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Require “Allow Edits”

on: [pull_request_target]

permissions:
contents: read

jobs:
_:
permissions:
pull-requests: read # for ljharb/require-allow-edits to check 'allow edits' on PR

name: "Require “Allow Edits”"

runs-on: ubuntu-latest

steps:
- uses: ljharb/require-allow-edits@main
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ package-lock.json
coverage/
node_modules/
test/tmp/

# Only apps should have lockfiles
npm-shrinkwrap.json
package-lock.json
yarn.lock
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ sftp-config.json
coverage/
node_modules/
test/

yarn.lock
*.bak
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package-lock=false
allow-same-version=true
message=v%s
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

Loading
Loading