Skip to content
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

everything #1

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c1474b4
everything
davidchambers Mar 1, 2019
7d322ca
[email protected]
davidchambers Mar 5, 2019
3145b1b
[email protected]
davidchambers Mar 9, 2019
4c087c8
[email protected]
davidchambers Mar 9, 2019
08e0b5b
[email protected]
davidchambers Mar 21, 2019
b4a89ad
[email protected]
davidchambers Apr 2, 2019
e16d2f5
[email protected]
davidchambers Apr 4, 2019
fbad400
[email protected]
davidchambers Apr 5, 2019
63db317
[email protected]
davidchambers Apr 25, 2019
89c922c
[email protected]
davidchambers Nov 3, 2019
7b221f0
[email protected]
davidchambers Nov 3, 2019
254bd77
add FUNDING.yml
davidchambers Jan 1, 2020
eb27a56
circle: housekeeping
davidchambers Jan 2, 2020
828e36d
[email protected]
davidchambers Jan 3, 2020
0985701
[email protected]
davidchambers Jan 15, 2020
79b0e9d
[email protected]
davidchambers Jan 17, 2020
0cf9726
[email protected]
davidchambers Jan 18, 2020
aa97ae8
[email protected]
davidchambers Jan 19, 2020
58ba764
[email protected]
davidchambers Jan 20, 2020
ca5ad65
[email protected]
davidchambers Aug 10, 2020
1391050
remove ‘inspect’ fallback
davidchambers Aug 29, 2020
3fcecc8
use ES6 syntax
davidchambers Apr 28, 2021
ca95f9e
documentation: use S.show in doctest
davidchambers Apr 28, 2021
b351ccd
[email protected]
davidchambers Apr 28, 2021
9601e97
support Deno.inspect
davidchambers May 13, 2021
8af3f8b
circle: create test matrix without nvm
davidchambers Jun 5, 2021
af4ebcc
[email protected]
davidchambers Aug 8, 2021
b262895
eslint: use "readonly" for globals in place of deprecated value
davidchambers Oct 21, 2021
9221f73
circle: update Node versions
davidchambers Dec 6, 2023
4faa68c
update references to default branch
davidchambers Dec 6, 2023
ea3d022
[email protected]
davidchambers Dec 11, 2023
2eec761
convert test modules to ES modules
davidchambers Jan 8, 2024
bcd5ca1
[email protected]
davidchambers Jan 8, 2024
0ed036c
use `globalThis` and `?.` operator to simplify feature detection
davidchambers Jan 8, 2024
45ce4bd
use `assert.deepStrictEqual`
davidchambers Jan 9, 2024
0ee27cf
use `node:` imports
davidchambers Jan 10, 2024
8b733b7
test `util.inspect` compatibility
davidchambers Jan 13, 2024
f6ba464
[email protected]
davidchambers Jan 17, 2024
0f6c194
[email protected]
davidchambers Jan 17, 2024
e7cd612
use ES modules
davidchambers Jan 17, 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
36 changes: 36 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: 2

jobs:
build:
docker:
- image: circleci/node:6
environment:
NPM_CONFIG_COLOR: false
NPM_CONFIG_LOGLEVEL: warn
NPM_CONFIG_PROGRESS: false
NVM_DIR: /home/circleci/.nvm
parallelism: 3
steps:
- checkout
- restore_cache:
keys:
- nvm-cache-{{ checksum ".circleci/config.yml" }}
- run: curl https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
- save_cache:
key: nvm-cache-{{ checksum ".circleci/config.yml" }}
paths:
- /home/circleci/.nvm
- run:
name: npm install && npm test
command: |
test_with_version() {
source "$NVM_DIR/nvm.sh"
nvm install $1
nvm exec $1 npm install
nvm exec $1 npm test
}
case $CIRCLE_NODE_INDEX in
0) npm install && npm test ;;
1) test_with_version 8 ;;
2) test_with_version 10 ;;
esac
2 changes: 2 additions & 0 deletions .config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
repo-owner = sanctuary-js
repo-name = sanctuary-constant
16 changes: 16 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"root": true,
"extends": ["./node_modules/sanctuary-style/eslint-es3.json"],
"overrides": [
{
"files": ["*.md"],
"globals": {"$": false, "Constant": false, "S": false, "Z": false, "show": false, "type": false}
},
{
"files": ["index.js"],
"rules": {
"no-unused-vars": ["error", {"args": "none", "varsIgnorePattern": "^S$"}]
}
}
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/coverage/
/node_modules/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contributing

Note: __README.md__ is generated from comments in __index.js__. Do not modify
__README.md__ directly.

1. Update local master branch:

$ git checkout master
$ git pull upstream master

2. Create feature branch:

$ git checkout -b feature-x

3. Make one or more atomic commits, and ensure that each commit has a
descriptive commit message. Commit messages should be line wrapped
at 72 characters.

4. Run `npm test`, and address any errors. Preferably, fix commits in place
using `git rebase` or `git commit --amend` to make the changes easier to
review.

5. Push:

$ git push origin feature-x

6. Open a pull request.
24 changes: 24 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
The MIT License (MIT)

Copyright (c) 2019 Sanctuary

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Loading