Skip to content

[pull] main from es-shims:main #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
65c1786
[actions] update workflows
ljharb Feb 20, 2021
d313ad5
[Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `function…
ljharb Feb 20, 2021
d769b93
[Deps] update `call-bind`, `es-abstract`, `get-intrinsic`
ljharb Feb 20, 2021
c24283f
[meta] do not publish github action workflow files
ljharb Feb 20, 2021
c5b970f
[Tests] increase coverage
ljharb Feb 20, 2021
96c8dc6
v3.1.3
ljharb Feb 20, 2021
300f151
[meta] use `prepublishOnly` script for npm 7+
ljharb Apr 13, 2021
757a64f
[actions] use `node/install` instead of `node/run`; use `codecov` action
ljharb Apr 13, 2021
e1fcde5
[Dev Deps] update `eslint`, `tape`
ljharb Apr 13, 2021
4d5f479
[Deps] update `es-abstract`
ljharb Apr 13, 2021
31f2128
[readme] fix repo URLs; remove travis badge
ljharb Apr 13, 2021
f2a2d8b
[actions] update workflows
ljharb Oct 5, 2021
148d014
[Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`,…
ljharb Oct 5, 2021
71cab2f
[Deps] update `es-abstract`, `is-string`
ljharb Oct 5, 2021
46e91f1
[Robustness] avoid a runtime `Math.max` call
ljharb Oct 5, 2021
9c00fbe
[readme] add github actions/codecov badges
ljharb Oct 5, 2021
e3a7b0a
v3.1.4
ljharb Oct 5, 2021
1951ec5
[actions] update codecov uploader
ljharb Oct 13, 2021
b3c04b2
[Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`,…
ljharb Dec 15, 2021
b3e698d
[actions] reuse common workflows
ljharb Dec 15, 2021
47655a1
[Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `function…
ljharb May 3, 2022
beeca7b
[Deps] update `define-properties`, `es-abstract`
ljharb May 3, 2022
c1ec3b6
[Fix] install polyfill on FF 99+
ljharb May 3, 2022
6c7dd59
v3.1.5
ljharb May 3, 2022
0a0c758
[readme] note that FF 102+ no longer needs this package
ljharb Jul 8, 2022
6e241d5
[actions] update rebase action to use reusable workflow
ljharb Nov 7, 2022
9b2a931
[Dev Deps] update `aud`, `tape`
ljharb Nov 7, 2022
dbd6dc8
[meta] use `npmignore` to autogenerate an npmignore file
ljharb Nov 7, 2022
b819e3b
[Deps] update `es-abstract`, `get-intrinsic`
ljharb Nov 7, 2022
c5fbe72
[meta] add `auto-changelog`
ljharb Nov 7, 2022
4b1922e
v3.1.6
ljharb Nov 8, 2022
93465c3
[Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `t…
ljharb Sep 1, 2023
e217b1e
[Deps] update `define-properties`, `es-abstract`, `get-intrinsic`
ljharb Sep 1, 2023
11c6a1d
v3.1.7
ljharb Sep 3, 2023
fa1111d
[actions] remove redundant finisher
ljharb Mar 20, 2024
3dbe456
[Tests] use `call-bind` instead of `function-bind`
ljharb Mar 20, 2024
499e7e9
[Dev Deps] update `aud`, `npmignore`, `tape`
ljharb Mar 20, 2024
e4bd17f
[Refactor] use `es-object-atoms` where possible
ljharb Mar 20, 2024
b105f3a
[Deps] update `call-bind`, `define-properties`, `es-abstract`, `get-i…
ljharb Mar 20, 2024
946a33a
v3.1.8
ljharb Mar 20, 2024
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
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

13 changes: 10 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@
"extends": "@ljharb",

"rules": {
"complexity": 0,
"id-length": [2, { "min": 1, "max": 26 }],
"max-statements": [2, 14],
"new-cap": [2, { capIsNewExceptions: ["GetIntrinsic", "ToObject", "ToInteger", "ToLength", "SameValueZero", "RequireObjectCoercible"] }],
"new-cap": [2, {
"capIsNewExceptions": [
"GetIntrinsic",
"ToObject",
"ToIntegerOrInfinity",
"ToLength",
"SameValueZero",
"RequireObjectCoercible",
],
}],
},

"overrides": [
Expand Down
54 changes: 0 additions & 54 deletions .github/workflows/node-4+.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/node-aught.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Tests: node.js < 10'

on: [pull_request, push]

jobs:
tests:
uses: ljharb/actions/.github/workflows/node.yml@main
with:
range: '< 10'
type: minors
command: npm run tests-only
58 changes: 0 additions & 58 deletions .github/workflows/node-iojs.yml

This file was deleted.

23 changes: 2 additions & 21 deletions .github/workflows/node-pretest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,5 @@ name: 'Tests: pretest/posttest'
on: [pull_request, push]

jobs:
pretest:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/run@main
name: 'npm install && npm run pretest'
with:
node-version: 'lts/*'
command: 'pretest'

posttest:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/run@main
name: 'npm install && npm run posttest'
with:
node-version: 'lts/*'
command: 'posttest'
tests:
uses: ljharb/actions/.github/workflows/pretest.yml@main
11 changes: 11 additions & 0 deletions .github/workflows/node-tens.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Tests: node.js >= 10'

on: [pull_request, push]

jobs:
tests:
uses: ljharb/actions/.github/workflows/node.yml@main
with:
range: '>= 10'
type: minors
command: npm run tests-only
58 changes: 0 additions & 58 deletions .github/workflows/node-zero.yml

This file was deleted.

12 changes: 3 additions & 9 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ on: [pull_request_target]

jobs:
_:
name: "Automatic Rebase"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: ljharb/rebase@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ljharb/actions/.github/workflows/rebase.yml@main
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions .github/workflows/require-allow-edits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: ljharb/require-allow-edits@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: ljharb/require-allow-edits@main
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ yarn.lock
# coverage
coverage/
.nyc_output/

.npmignore
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
package-lock=false
allow-same-version=true
message=v%s
4 changes: 0 additions & 4 deletions .nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"all": true,
"check-coverage": false,
"reporter": ["text-summary", "text", "html", "json"],
"lines": 86,
"statements": 85.93,
"functions": 82.43,
"branches": 76.06,
"exclude": [
"coverage",
"test"
Expand Down
65 changes: 65 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,68 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v3.1.8](https://github.com/es-shims/array-includes/compare/v3.1.7...v3.1.8) - 2024-03-20

### Commits

- [Deps] update `call-bind`, `define-properties`, `es-abstract`, `get-intrinsic` [`b105f3a`](https://github.com/es-shims/array-includes/commit/b105f3a0ad1801aabf47bafd788482d8866ef0c9)
- [actions] remove redundant finisher [`fa1111d`](https://github.com/es-shims/array-includes/commit/fa1111d6d41381e4bd484e8f6d5896172874d6e7)
- [Dev Deps] update `aud`, `npmignore`, `tape` [`499e7e9`](https://github.com/es-shims/array-includes/commit/499e7e9e952faab35740dfbe0b355183100e40b7)
- [Refactor] use `es-object-atoms` where possible [`e4bd17f`](https://github.com/es-shims/array-includes/commit/e4bd17f980b557fdf2b39eb552bafedd8a8f6bfb)
- [Tests] use `call-bind` instead of `function-bind` [`3dbe456`](https://github.com/es-shims/array-includes/commit/3dbe456f14c94a5d119b35ac41712c7faea93afd)

## [v3.1.7](https://github.com/es-shims/array-includes/compare/v3.1.6...v3.1.7) - 2023-09-03

### Commits

- [Deps] update `define-properties`, `es-abstract`, `get-intrinsic` [`e217b1e`](https://github.com/es-shims/array-includes/commit/e217b1ebfe90a7425654f0fa72c59f59930d4dd8)
- [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `tape` [`93465c3`](https://github.com/es-shims/array-includes/commit/93465c3da3bd6ea0670a0bd12dc9adc9085e8130)

## [v3.1.6](https://github.com/es-shims/array-includes/compare/v3.1.5...v3.1.6) - 2022-11-07

### Commits

- [meta] add `auto-changelog` [`c5fbe72`](https://github.com/es-shims/array-includes/commit/c5fbe728395deff641d756cc9d398a949076c180)
- [meta] use `npmignore` to autogenerate an npmignore file [`dbd6dc8`](https://github.com/es-shims/array-includes/commit/dbd6dc8f8906cca6b0b493e308686c4fd05bea15)
- [Deps] update `es-abstract`, `get-intrinsic` [`b819e3b`](https://github.com/es-shims/array-includes/commit/b819e3b3dd1adce0b3359529b0276a416efce351)
- [actions] update rebase action to use reusable workflow [`6e241d5`](https://github.com/es-shims/array-includes/commit/6e241d5177513cfb0261d0fbe0c8c98daf5c5eab)
- [Dev Deps] update `aud`, `tape` [`9b2a931`](https://github.com/es-shims/array-includes/commit/9b2a931aee6fc8195a349c6fe7894445a911223f)
- [readme] note that FF 102+ no longer needs this package [`0a0c758`](https://github.com/es-shims/array-includes/commit/0a0c758ed52808428314ffe53ea8278297170c84)

<!-- auto-changelog-above -->

3.1.5 / 2022-05-03
=================
* [Fix] install polyfill on FF 99+
* [Deps] update `define-properties`, `es-abstract`
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `functions-have-names`, `safe-publish-latest`, `tape`
* [actions] reuse common workflows
* [actions] update codecov uploader

3.1.4 / 2021-10-04
=================
* [Robustness] avoid a runtime `Math.max` call
* [readme] add github actions/codecov badges
* [readme] fix repo URLs; remove travis badge
* [Deps] update `es-abstract`, `is-string`
* [meta] use `prepublishOnly` script for npm 7+
* [actions] update workflows
* [actions] use `node/install` instead of `node/run`; use `codecov` action
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `tape`

3.1.3 / 2021-02-20
=================
* [Deps] update `call-bind`, `es-abstract`, `get-intrinsic`
* [meta] do not publish github action workflow files
* [meta] gitignore coverage output
* [actions] update workflows
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `functions-have-names`, `has-strict-mode`, `tape`
* [Tests] increase coverage

3.1.2 / 2020-11-24
=================
* [Robustness] remove dependency on `.apply`
Expand Down
Loading