pax_global_header 0000666 0000000 0000000 00000000064 14520230677 0014520 g ustar 00root root 0000000 0000000 52 comment=e40ec3d274ff42bb1dc7762b0698a1a21a12e17e
bevry-domain-browser-87c2629/ 0000775 0000000 0000000 00000000000 14520230677 0016063 5 ustar 00root root 0000000 0000000 bevry-domain-browser-87c2629/.editorconfig 0000664 0000000 0000000 00000000660 14520230677 0020542 0 ustar 00root root 0000000 0000000 # 2023 June 22
# https://github.com/bevry/base
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
indent_style = tab
[{*.mk,*.py}]
indent_style = tab
indent_size = 4
[*.md]
indent_style = space
indent_size = 4
[{*.json,*.lsrules,*.yaml,*.yml,*.bowerrc,*.babelrc,*.code-workspace}]
indent_style = space
indent_size = 2
[{*.json,*.lsrules}]
insert_final_newline = true
bevry-domain-browser-87c2629/.github/ 0000775 0000000 0000000 00000000000 14520230677 0017423 5 ustar 00root root 0000000 0000000 bevry-domain-browser-87c2629/.github/FUNDING.yml 0000664 0000000 0000000 00000000173 14520230677 0021241 0 ustar 00root root 0000000 0000000 github: [balupton]
patreon: bevry
open_collective: bevry
ko_fi: balupton
liberapay: bevry
custom: ['https://bevry.me/fund'] bevry-domain-browser-87c2629/.github/dependabot.yml 0000664 0000000 0000000 00000000167 14520230677 0022257 0 ustar 00root root 0000000 0000000 version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
day: sunday
bevry-domain-browser-87c2629/.github/workflows/ 0000775 0000000 0000000 00000000000 14520230677 0021460 5 ustar 00root root 0000000 0000000 bevry-domain-browser-87c2629/.github/workflows/automerge.yml 0000664 0000000 0000000 00000000423 14520230677 0024172 0 ustar 00root root 0000000 0000000 name: automerge
'on':
- pull_request
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_GITHUB_TOKEN }}
bevry-domain-browser-87c2629/.github/workflows/bevry.yml 0000664 0000000 0000000 00000002576 14520230677 0023344 0 ustar 00root root 0000000 0000000 name: bevry
'on':
- push
- pull_request
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node:
- '10'
- '12'
- '14'
- '16'
- '18'
- '20'
- '21'
runs-on: ${{ matrix.os }}
continue-on-error: ${{ contains('macos-latest windows-latest', matrix.os) }}
steps:
- uses: actions/checkout@v2
- name: Install desired Node.js version
uses: actions/setup-node@v2
with:
node-version: '20'
- run: npm run our:setup
- run: npm run our:compile
- run: npm run our:verify
- name: Install targeted Node.js
if: ${{ matrix.node != 20 }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm test
publish:
if: ${{ github.event_name == 'push' }}
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install desired Node.js version
uses: actions/setup-node@v2
with:
node-version: '20'
- run: npm run our:setup
- run: npm run our:compile
- run: npm run our:meta
- name: publish to npm
uses: bevry-actions/npm@v1.1.0
with:
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }}
npmBranchTag: ':next'
bevry-domain-browser-87c2629/.gitignore 0000664 0000000 0000000 00000001167 14520230677 0020060 0 ustar 00root root 0000000 0000000 # 2020 June 3
# https://github.com/bevry/base
# System Files
**/.DS_Store
# Temp Files
**/.docpad.db
**/*.log
**/*.cpuprofile
**/*.heapsnapshot
# Editor Files
.c9/
.vscode/
# Yarn Files
.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
.pnp/
# Private Files
.env
.idea
.cake_task_cache
# Build Caches
build/
bower_components/
node_modules/
.next/
# -------------------------------------
# CDN Inclusions, Git Exclusions
# Build Outputs
**/out.*
**/*.out.*
**/out/
**/output/
*compiled*
edition*/
coffeejs/
coffee/
es5/
es2015/
esnext/
docs/
# =====================================
# CUSTOM
# None
bevry-domain-browser-87c2629/.npmignore 0000664 0000000 0000000 00000001415 14520230677 0020063 0 ustar 00root root 0000000 0000000 # 2020 May 5
# https://github.com/bevry/base
# System Files
**/.DS_Store
# Temp Files
**/.docpad.db
**/*.log
**/*.cpuprofile
**/*.heapsnapshot
# Editor Files
.c9/
.vscode/
# Private Files
.env
.idea
.cake_task_cache
# Build Caches
build/
components/
bower_components/
node_modules/
.pnp/
.pnp.js
# Ecosystem Files
.dependabout
.github
# -------------------------------------
# CDN Inclusions, Package Exclusions
# Documentation Files
docs/
guides/
BACKERS.md
CONTRIBUTING.md
HISTORY.md
# Development Files
web/
**/example*
**/test*
.babelrc*
.editorconfig
.eslintrc*
.jshintrc
.jscrc
coffeelint*
.travis*
nakefile*
Cakefile
Makefile
# Other Package Definitions
template.js
component.json
bower.json
# =====================================
# CUSTOM MODIFICATIONS
# None
bevry-domain-browser-87c2629/.prettierignore 0000664 0000000 0000000 00000001113 14520230677 0021122 0 ustar 00root root 0000000 0000000 # 2023 March 24
# https://github.com/bevry/base
# VCS Files
.git
.svn
.hg
# System Files
**/.DS_Store
# Temp Files
**/.docpad.db
**/*.log
**/*.cpuprofile
**/*.heapsnapshot
# Yarn Files
.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
.pnp/
# Build Caches
build/
components/
bower_components/
node_modules/
# Build Outputs
**/out.*
**/*.out.*
**/out/
**/output/
*compiled*
edition*/
coffeejs/
coffee/
es5/
es2015/
esnext/
docs/
# Development Files
test/
**/*fixtures*
# Ecosystem Caches
.trunk/*/
# =====================================
# CUSTOM
# None
bevry-domain-browser-87c2629/CONTRIBUTING.md 0000664 0000000 0000000 00000006414 14520230677 0020321 0 ustar 00root root 0000000 0000000
# Before You Post!
## Support
We offer support through our [Official Support Channels](https://bevry.me/support). Do not use GitHub Issues for support, your issue will be closed.
## Contribute
Our [Contributing Guide](https://bevry.me/contribute) contains useful tips and suggestions for how to contribute to this project, it's worth the read.
## Development
### Setup
1. [Install Node.js](https://bevry.me/install/node)
1. Fork the project and clone your fork - [guide](https://help.github.com/articles/fork-a-repo/)
1. Setup the project for development
```bash
npm run our:setup
```
### Developing
1. Compile changes
```bash
npm run our:compile
```
1. Run tests
```bash
npm test
```
### Publishing
Follow these steps in order to implement your changes/improvements into your desired project:
#### Preparation
1. Make sure your changes are on their own branch that is branched off from master.
1. You can do this by: `git checkout master; git checkout -b your-new-branch`
1. And push the changes up by: `git push origin your-new-branch`
1. Ensure all tests pass:
```bash
npm test
```
> If possible, add tests for your change, if you don't know how, mention this in your pull request
1. Ensure the project is ready for publishing:
```
npm run our:release:prepare
```
#### Pull Request
To send your changes for the project owner to merge in:
1. Submit your pull request
1. When submitting, if the original project has a `dev` or `integrate` branch, use that as the target branch for your pull request instead of the default `master`
1. By submitting a pull request you agree for your changes to have the same license as the original plugin
#### Publish
To publish your changes as the project owner:
1. Switch to the master branch:
```bash
git checkout master
```
1. Merge in the changes of the feature branch (if applicable)
1. Increment the version number in the `package.json` file according to the [semantic versioning](http://semver.org) standard, that is:
1. `x.0.0` MAJOR version when you make incompatible API changes (note: DocPad plugins must use v2 as the major version, as v2 corresponds to the current DocPad v6.x releases)
1. `x.y.0` MINOR version when you add functionality in a backwards-compatible manner
1. `x.y.z` PATCH version when you make backwards-compatible bug fixes
1. Add an entry to the changelog following the format of the previous entries, an example of this is:
```markdown
## v6.29.0 2013 April 1
- Progress on [issue #474](https://github.com/docpad/docpad/issues/474)
- DocPad will now set permissions based on the process's ability
- Thanks to [Avi Deitcher](https://github.com/deitch), [Stephan Lough](https://github.com/stephanlough) for [issue #165](https://github.com/docpad/docpad/issues/165)
- Updated dependencies
```
1. Commit the changes with the commit title set to something like `v6.29.0. Bugfix. Improvement.` and commit description set to the changelog entry
1. Ensure the project is ready for publishing:
```
npm run our:release:prepare
```
1. Prepare the release and publish it to npm and git:
```bash
npm run our:release
```
bevry-domain-browser-87c2629/HISTORY.md 0000664 0000000 0000000 00000017662 14520230677 0017562 0 ustar 00root root 0000000 0000000 # History
## v4.23.0 2023 November 1
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
- Updated license from [`MIT`](http://spdx.org/licenses/MIT.html) to [`Artistic-2.0`](http://spdx.org/licenses/Artistic-2.0.html)
## v4.22.0 2021 July 30
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.21.0 2021 July 29
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.20.0 2021 July 28
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.19.0 2020 October 29
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.18.0 2020 September 4
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.17.0 2020 August 18
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.16.0 2020 August 4
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.15.0 2020 July 22
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.14.0 2020 July 22
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.13.0 2020 July 3
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.12.0 2020 July 3
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.11.0 2020 June 25
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.10.0 2020 June 21
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.9.0 2020 June 21
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.8.0 2020 June 20
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.7.0 2020 June 20
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.6.0 2020 June 10
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.5.0 2020 June 10
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.4.0 2020 May 22
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.3.0 2020 May 21
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.2.0 2020 May 12
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.1.0 2020 May 4
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v4.0.0 2020 March 26
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
- Minimum required node version changed from `node: >=8` to `node: >=10` to keep up with mandatory ecosystem changes
## v3.5.0 2019 December 9
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v3.4.0 2019 December 1
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v3.3.0 2019 December 1
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v3.2.0 2019 December 1
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v3.1.0 2019 December 1
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v3.0.0 2019 December 1
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
- Minimum required node version changed from `node: >=0.8` to `node: >=8` to keep up with mandatory ecosystem changes
## v2.0.0 2019 November 18
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
- Minimum required node version changed from `node: >=0.4` to `node: >=0.8` to keep up with mandatory ecosystem changes
## v1.2.0 2018 January 26
- `index.js` is now located at `source/index.js`
- Updated base files
## v1.1.7 2015 December 12
- Revert minimum node version from 0.12 back to 0.4
- Thanks to [Alexander Sorokin](https://github.com/syrnick) for [this comment](https://github.com/bevry/domain-browser/commit/c66ee3445e87955e70d0d60d4515f2d26a81b9c4#commitcomment-14938325)
## v1.1.6 2015 December 12
- Fixed `assert-helpers` sneaking into `dependencies`
- Thanks to [Bogdan Chadkin](https://github.com/TrySound) for [Pull Request #8](https://github.com/bevry/domain-browser/pull/8)
## v1.1.5 2015 December 9
- Updated internal conventions
- Added better jspm support
- Thanks to [Guy Bedford](https://github.com/guybedford) for [Pull Request #7](https://github.com/bevry/domain-browser/pull/7)
## v1.1.4 2015 February 3
- Added
- `domain.enter()`
- `domain.exit()`
- `domain.bind()`
- `domain.intercept()`
## v1.1.3 2014 October 10
- Added
- `domain.add()`
- `domain.remove()`
## v1.1.2 2014 June 8
- Added `domain.createDomain()` alias
- Thanks to [James Halliday](https://github.com/substack) for [Pull Request #1](https://github.com/bevry/domain-browser/pull/1)
## v1.1.1 2013 December 27
- Fixed `domain.create()` not returning anything
## v1.1.0 2013 November 1
- Dropped component.io and bower support, just use ender or browserify
## v1.0.1 2013 September 18
- Now called `domain-browser` everywhere
## v1.0.0 2013 September 18
- Initial release
bevry-domain-browser-87c2629/LICENSE.md 0000664 0000000 0000000 00000021606 14520230677 0017474 0 ustar 00root root 0000000 0000000
License
Unless stated otherwise all works are:
and licensed under:
The Artistic License 2.0
Copyright (c) 2000-2006, The Perl Foundation.
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software.
You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement.
Definitions
"Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package.
"Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures.
"You" and "your" means any person who would like to copy, distribute, or modify the Package.
"Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version.
"Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization.
"Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees.
"Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder.
"Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder.
"Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future.
"Source" form means the source code, documentation source, and configuration files for the Package.
"Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form.
Permission for Use and Modification Without Distribution
(1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version.
Permissions for Redistribution of the Standard Version
(2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package.
(3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License.
Distribution of Modified Versions of the Package as Source
(4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following:
(a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version.
(b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version.
(c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under
(i) the Original License or
(ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed.
Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source
(5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license.
(6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version.
Aggregating or Linking the Package
(7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation.
(8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package.
Items That are Not Considered Part of a Modified Version
(9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license.
General Provisions
(10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license.
(11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license.
(12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder.
(13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed.
(14) Disclaimer of Warranty:
THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bevry-domain-browser-87c2629/README.md 0000664 0000000 0000000 00000022672 14520230677 0017353 0 ustar 00root root 0000000 0000000
domain-browser
Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.
Install
npm
- Install:
npm install --save domain-browser
- Import:
import * as pkg from ('domain-browser')
- Require:
const pkg = require('domain-browser')
jspm
``` html
```
This package is published with the following editions:
domain-browser aliases domain-browser/source/index.js
domain-browser/source/index.js is ES5 source code for web browsers and Node.js with Require for modules
History
Discover the release history by heading on over to the HISTORY.md file.
Backers
Maintainers
These amazing people are maintaining this project:
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
License
Unless stated otherwise all works are:
and licensed under:
bevry-domain-browser-87c2629/package-lock.json 0000664 0000000 0000000 00000054512 14520230677 0021306 0 ustar 00root root 0000000 0000000 {
"name": "domain-browser",
"version": "4.23.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "domain-browser",
"version": "4.23.0",
"license": "Artistic-2.0",
"devDependencies": {
"@bevry/update-contributors": "^1.22.0",
"assert-helpers": "^8.4.0",
"kava": "^5.15.0",
"projectz": "^2.23.0",
"valid-directory": "^4.0.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/ansi": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/@bevry/ansi/-/ansi-3.3.0.tgz",
"integrity": "sha512-xBLQKWKTnfGynlrRj1y/sv6Qe0ahNls9+vATTbhEcXvRh9CrD6/AqQVB3pCdv47cm9waWdI3zArptcaEspfgVA==",
"dev": true,
"dependencies": {
"editions": "^6.5.0"
},
"engines": {
"node": ">=4"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/file": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@bevry/file/-/file-1.2.0.tgz",
"integrity": "sha512-YuGkX6NlbwIXZpLvvNdQpNxk7s2KoTgK1kyGqDUBjsEvPRpm3bVqH+cusCaaSpeIz0VXDv4hSuNRVrkH6HIL+A==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/github-api": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/@bevry/github-api/-/github-api-9.0.0.tgz",
"integrity": "sha512-Vi6wqGSmDQeSeFm6bAcFvICjVr0CRHLde4JXpvRrwtItpa5xCoastQpbHdJTL5LEubsB9taHF9HW/dwdJw3laA==",
"dev": true,
"dependencies": {
"@bevry/wait": "^1.0.0",
"node-fetch": "^2.6.1",
"simplytyped": "^3.3.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/github-contributors": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@bevry/github-contributors/-/github-contributors-3.0.0.tgz",
"integrity": "sha512-Ih+n7w/nHPIvICX8fvxClklyXKFFcySWbGhWv6fiprOgK7Z2WnTrtBko6nH2NegSkwFI5VigCzbXHEGZvDNWMA==",
"dev": true,
"dependencies": {
"@bevry/github-api": "^9.0.0",
"@bevry/github-repos": "^6.1.0",
"fellow": "^6.24.0",
"native-promise-pool": "^3.19.0",
"node-fetch": "^2.6.1",
"simplytyped": "^3.3.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/github-repos": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/@bevry/github-repos/-/github-repos-6.1.0.tgz",
"integrity": "sha512-hzExXsztBWKO6ECld72UoTuYcISjfecwZlZs2ibbfQPcjwB/BAjavsSDcpniG0eNBeCrOsizwh7Dv0QP59nMsg==",
"dev": true,
"dependencies": {
"@bevry/github-api": "^9.0.0",
"@bevry/list": "^1.7.0",
"native-promise-pool": "^3.19.0",
"simplytyped": "^3.3.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/json": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/@bevry/json/-/json-1.4.0.tgz",
"integrity": "sha512-0Z5m7IiXTuA1GiEBlsofvELILycQtiUfWe4arQMjmiXHPALgvg+3UxTRPBKoiJyOHAEio+8k6X7e6BGZz28OlQ==",
"dev": true,
"dependencies": {
"@bevry/file": "^1.1.0",
"errlop": "^4.2.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/list": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/@bevry/list/-/list-1.7.0.tgz",
"integrity": "sha512-8I6xz7pSmRDdSjZRjmpqy5KGopfmhbSKw7wy02bZ1TkkBbieha/nKoHwA7F0acKy0ms6+933AMjTjgpAT0uY4g==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/update-contributors": {
"version": "1.22.0",
"resolved": "https://registry.npmjs.org/@bevry/update-contributors/-/update-contributors-1.22.0.tgz",
"integrity": "sha512-hsoXZXI/ryPhzFmRXrT/JgOW/kyITfGEkTPcIzsBlD3Wde+YUOIt1DzJJIdSkXwZ8s5vNPLN7gpQbwa57GYkGQ==",
"dev": true,
"dependencies": {
"@bevry/github-contributors": "^3.0.0",
"@bevry/json": "^1.4.0"
},
"bin": {
"update-contributors": "bin.cjs"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/valid-filename": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@bevry/valid-filename/-/valid-filename-1.0.0.tgz",
"integrity": "sha512-bPATZBVcNYBeiFPcWX8i/FEFbxyEsFUglOafySHUeCIb/g/75XmkUUBMv/8I3Cp10drIuFriUK/p2DsvV6SDsw==",
"dev": true,
"bin": {
"valid-filename": "bin.cjs"
},
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/@bevry/wait": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@bevry/wait/-/wait-1.0.0.tgz",
"integrity": "sha512-zDf/PcyId6hYL6zXrdZXhzqif9mnYVMNETQ/Q9+Vs5uf1MnXMtYoyjf2Pot1MT3p2uLThLwVc2afW5eFh/BSIQ==",
"dev": true,
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/ambi": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/ambi/-/ambi-3.2.0.tgz",
"integrity": "sha512-nj5sHLPFd7u2OLmHdFs4DHt3gK6edpNw35hTRIKyI/Vd2Th5e4io50rw1lhmCdUNO2Mm4/4FkHmv6shEANAWcw==",
"dev": true,
"dependencies": {
"editions": "^2.1.0",
"typechecker": "^4.3.0"
},
"engines": {
"node": ">=0.8"
}
},
"node_modules/ambi/node_modules/editions": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/editions/-/editions-2.3.1.tgz",
"integrity": "sha512-ptGvkwTvGdGfC0hfhKg0MT+TRLRKGtUiWGBInxOm5pz7ssADezahjCUaYuZ8Dr+C05FW0AECIIPt4WBxVINEhA==",
"dev": true,
"dependencies": {
"errlop": "^2.0.0",
"semver": "^6.3.0"
},
"engines": {
"node": ">=0.8"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/ambi/node_modules/errlop": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/errlop/-/errlop-2.2.0.tgz",
"integrity": "sha512-e64Qj9+4aZzjzzFpZC7p5kmm/ccCrbLhAJplhsDXQFs87XTsXwOpH4s1Io2s90Tau/8r2j9f4l/thhDevRjzxw==",
"dev": true,
"engines": {
"node": ">=0.8"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/ambi/node_modules/typechecker": {
"version": "4.11.0",
"resolved": "https://registry.npmjs.org/typechecker/-/typechecker-4.11.0.tgz",
"integrity": "sha512-lz39Mc/d1UBcF/uQFL5P8L+oWdIn/stvkUgHf0tPRW4aEwGGErewNXo2Nb6We2WslWifn00rhcHbbRWRcTGhuw==",
"dev": true,
"dependencies": {
"editions": "^2.2.0"
},
"engines": {
"node": ">=0.8"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/assert-helpers": {
"version": "8.4.0",
"resolved": "https://registry.npmjs.org/assert-helpers/-/assert-helpers-8.4.0.tgz",
"integrity": "sha512-dSPOQr+QsAPplXkMymUxY+oQJnHcgxm9oKNJ2jC8pPx00HEAmHqvBok1nTfGLUSiuD/RhTjVy2iNl7Wj3YFBCg==",
"dev": true,
"dependencies": {
"@bevry/ansi": "^3.3.0",
"editions": "^6.5.0",
"errlop": "^4.2.0"
},
"engines": {
"node": ">=4"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/badges": {
"version": "4.29.0",
"resolved": "https://registry.npmjs.org/badges/-/badges-4.29.0.tgz",
"integrity": "sha512-fAzm/xvqy8vteLOB9/enostfJnPgNqPp1vxrYZApQlBwJAkGkcGWjqfSersEkLHLuMil6JoU2OqbRhhXeC7ICg==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/caterpillar": {
"version": "6.8.0",
"resolved": "https://registry.npmjs.org/caterpillar/-/caterpillar-6.8.0.tgz",
"integrity": "sha512-221w6wxVE7mIE1u7Tl6o+Koo6UpnO/mg3smEBC8JmqgnsL/m2H6K2I4K2kgEg05LNXcrEpRvnoQ88dfwU3ISrQ==",
"dev": true,
"dependencies": {
"@bevry/ansi": "^3.3.0",
"get-current-line": "^6.5.0",
"rfc-log-levels": "^3.16.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/eachr": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/eachr/-/eachr-4.5.0.tgz",
"integrity": "sha512-9I664RWp6p8jvcHZIwo7bWaiSaUmA1wNSLKwNZEiaYjqiTARq3cGjyRiIunsopZv4QMmX3T5Hs17QoPAzdYxfg==",
"dev": true,
"dependencies": {
"typechecker": "^6.2.0"
},
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/eachr/node_modules/typechecker": {
"version": "6.4.0",
"resolved": "https://registry.npmjs.org/typechecker/-/typechecker-6.4.0.tgz",
"integrity": "sha512-EbOu+9szY13mhl0EsvLXnR+pTCa3gTHQQPLdce72ujcC9fRHXlVFBNXtHeRhgzLxLlKUh4zA9C0tezLDgshf+A==",
"dev": true,
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/editions": {
"version": "6.7.0",
"resolved": "https://registry.npmjs.org/editions/-/editions-6.7.0.tgz",
"integrity": "sha512-c4277FrLdMcqEq/furtDBjXIhN+qPnBxng5IQRtJZEOttf0LTz7m5hm/D0GCwn9RXCBFgpTTc/x5DAuigZdBkw==",
"dev": true,
"dependencies": {
"version-range": "^1.2.0"
},
"engines": {
"node": ">=4"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/errlop": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/errlop/-/errlop-4.5.0.tgz",
"integrity": "sha512-oUGLzMxSQ/wfkq2hTIJv66Y6WAqCXM+10BKdllOrQFvc6bqcSomL2pUcflazdcOtodT7agUJ8tz75XzBtL1o0w==",
"dev": true,
"engines": {
"node": ">=4"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/event-emitter-grouped": {
"version": "4.19.0",
"resolved": "https://registry.npmjs.org/event-emitter-grouped/-/event-emitter-grouped-4.19.0.tgz",
"integrity": "sha512-9wrke2ZJL7r+oa83iQNSM/hCQfhmJTK7es4YeBs/gCaV1HNmxHYoe6Cc2nNjFlD33g0NoaFU0HzP5c506KHgwQ==",
"dev": true,
"dependencies": {
"taskgroup": "^7.18.0",
"unbounded": "^3.14.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/extendr": {
"version": "5.19.0",
"resolved": "https://registry.npmjs.org/extendr/-/extendr-5.19.0.tgz",
"integrity": "sha512-RDfK3UZaTWV02m5ndmqU0/Sn44aSy6Vsd0syD/ozjdX58ePubKJ8PxRrTHFIlXkScqU0rDGnu23KVBDKcaSOpQ==",
"dev": true,
"dependencies": {
"typechecker": "^7.17.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/fdir": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.1.0.tgz",
"integrity": "sha512-274qhz5PxNnA/fybOu6apTCUnM0GnO3QazB6VH+oag/7DQskdYq8lm07ZSm90kEQuWYH5GvjAxGruuHrEr0bcg==",
"dev": true,
"peerDependencies": {
"picomatch": "2.x"
},
"peerDependenciesMeta": {
"picomatch": {
"optional": true
}
}
},
"node_modules/fellow": {
"version": "6.24.0",
"resolved": "https://registry.npmjs.org/fellow/-/fellow-6.24.0.tgz",
"integrity": "sha512-1y/L9xRWlNExWmrOnGgaOYGlbsf25ibqUES/FE+bCOQONhK3d/XPRGZEKOPUiUjGdkDyFIG87B1PkYEcsIkg5g==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/get-cli-arg": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.3.0.tgz",
"integrity": "sha512-4ccIo5TqI0OAvheSsT5SR5KgmcIOysGMCqAacA22kyuji23uBKY1Xd5ow248EIRo4feq/y4c0P0u7Z5RDzV/tg==",
"dev": true,
"dependencies": {
"normalify": "^2.22.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/get-current-line": {
"version": "6.6.0",
"resolved": "https://registry.npmjs.org/get-current-line/-/get-current-line-6.6.0.tgz",
"integrity": "sha512-9q/tqdL4+GMb0P28N/oSFruQE/8Sa1l9ew73AWS4j/KEMY32wD8+5QRB8LSTgt9HUZuLplmi8vc5dFFf5OvROA==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/kava": {
"version": "5.15.0",
"resolved": "https://registry.npmjs.org/kava/-/kava-5.15.0.tgz",
"integrity": "sha512-Y4RYizZyFrIK0H45ljnAUSm1ZPYtAiqSVMzKE+jJeHMdpPqpDZ9piydFzF48OX+xVyQT5nZA4YAmCbunnDcM9Q==",
"dev": true,
"dependencies": {
"event-emitter-grouped": "^4.18.0",
"taskgroup": "^7.18.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/native-promise-pool": {
"version": "3.19.0",
"resolved": "https://registry.npmjs.org/native-promise-pool/-/native-promise-pool-3.19.0.tgz",
"integrity": "sha512-Clf1xJ/qBGZrWeuu1qJ2Ta79L0CC0pANvh5cq2RIwCu4ehcc8W5COA4fwgnaU5a+Cg/QFOBGEuM/5naa9LF+og==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/node-fetch": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
"integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
"dev": true,
"dependencies": {
"whatwg-url": "^5.0.0"
},
"engines": {
"node": "4.x || >=6.0.0"
},
"peerDependencies": {
"encoding": "^0.1.0"
},
"peerDependenciesMeta": {
"encoding": {
"optional": true
}
}
},
"node_modules/normalify": {
"version": "2.24.0",
"resolved": "https://registry.npmjs.org/normalify/-/normalify-2.24.0.tgz",
"integrity": "sha512-zwLnXtcvYq9+IOdmokIWRWVn71myOcAP90a+FiK1p6m8yU+e2sRFaLq4VlnumbtrLhnxLqr5yVerNs/2l/4xhg==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/projectz": {
"version": "2.23.0",
"resolved": "https://registry.npmjs.org/projectz/-/projectz-2.23.0.tgz",
"integrity": "sha512-XgAXkKCdEtdixFkQBCwYJ4n3PWLcvrxBZSRzGV5uQrZYUfcZhxQyLqE5yP15Vy7yk+J0MVQWYHpHlBUloKXn6Q==",
"dev": true,
"dependencies": {
"@bevry/file": "^1.2.0",
"@bevry/json": "^1.4.0",
"badges": "^4.28.0",
"caterpillar": "^6.8.0",
"fellow": "^6.24.0",
"get-cli-arg": "^7.3.0",
"spdx-expression-parse": "^3.0.1",
"spdx-license-list": "^6.6.0",
"typechecker": "^7.18.0"
},
"bin": {
"projectz": "bin.cjs"
},
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/rfc-log-levels": {
"version": "3.17.0",
"resolved": "https://registry.npmjs.org/rfc-log-levels/-/rfc-log-levels-3.17.0.tgz",
"integrity": "sha512-vgSO25fGN2UZYQ82+kd92v/bVzbNBzg+Hmwy/RdsRldAQTSHpO3gPwokpQV5Blt0Pv4FeAJ3obyXOinheqklyQ==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/semver": {
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"dev": true,
"bin": {
"semver": "bin/semver.js"
}
},
"node_modules/simplytyped": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/simplytyped/-/simplytyped-3.3.0.tgz",
"integrity": "sha512-mz4RaNdKTZiaKXgi6P1k/cdsxV3gz+y1Wh2NXHWD40dExktLh4Xx/h6MFakmQWODZHj/2rKe59acacpL74ZhQA==",
"dev": true,
"peerDependencies": {
"typescript": ">=2.8.0"
}
},
"node_modules/spdx-exceptions": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz",
"integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==",
"dev": true
},
"node_modules/spdx-expression-parse": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
"integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
"dev": true,
"dependencies": {
"spdx-exceptions": "^2.1.0",
"spdx-license-ids": "^3.0.0"
}
},
"node_modules/spdx-license-ids": {
"version": "3.0.16",
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz",
"integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==",
"dev": true
},
"node_modules/spdx-license-list": {
"version": "6.8.0",
"resolved": "https://registry.npmjs.org/spdx-license-list/-/spdx-license-list-6.8.0.tgz",
"integrity": "sha512-5UdM7r9yJ1EvsPQZWfa41AZjLQngl9iMMysm9XBW7Lqhq7aF8cllfqjS+rFCHB8FFMGSM0yFWue2LUV9mR0QzQ==",
"dev": true,
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/taskgroup": {
"version": "7.19.0",
"resolved": "https://registry.npmjs.org/taskgroup/-/taskgroup-7.19.0.tgz",
"integrity": "sha512-SWwM8bGfOZF0rwP3Wna5T51vf6JZOK3eSnVBqo27DVVf8UJLih6arif24qiS8DspFbWt2cE9SgOEwIW3rgWQtA==",
"dev": true,
"dependencies": {
"ambi": "3.2.0",
"eachr": "^4.5.0",
"extendr": "^5.19.0",
"unbounded": "^3.14.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/tr46": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
"dev": true
},
"node_modules/typechecker": {
"version": "7.18.0",
"resolved": "https://registry.npmjs.org/typechecker/-/typechecker-7.18.0.tgz",
"integrity": "sha512-GjwqmuBuIQOvy0VsuMyjxur1hop/mLgKby61izt4UpT3Knm/7qzXAxpQHVhLK7bgmZjIj9GtIBmh1FMnyEDVBw==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/typescript": {
"version": "5.2.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
"integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
"dev": true,
"peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"node_modules/unbounded": {
"version": "3.15.0",
"resolved": "https://registry.npmjs.org/unbounded/-/unbounded-3.15.0.tgz",
"integrity": "sha512-XqCeEuYLw2KNSUNyny+eUaJAKvhDc70gcRqyykLGWneD20Oj/olNp5nhfPzG2y74tmXGu240emTFj+Xndynhig==",
"dev": true,
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/valid-directory": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/valid-directory/-/valid-directory-4.0.0.tgz",
"integrity": "sha512-tHJOm8Q2N1H4t57Dkt70K0C51goU+1U60RiEvW/uvp6XzmVhjEahX/ONFyP044+nB3BKyGmuSRotHUnZXPHufg==",
"dev": true,
"dependencies": {
"@bevry/valid-filename": "^1.0.0",
"fdir": "^6.1.0"
},
"bin": {
"valid-directory": "bin.cjs"
},
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/version-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/version-compare/-/version-compare-1.4.0.tgz",
"integrity": "sha512-mhSGH/W+zv2JuoeefqEbtfSCrHbQD4DhvYXplTnzIllJ58VMuMrRt+2zSmoUb0exBCSKVB05sTPirQwxFhUbbQ==",
"dev": true,
"engines": {
"node": ">=4"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/version-range": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/version-range/-/version-range-1.4.0.tgz",
"integrity": "sha512-X5aUE7gsPxMld7+LENKEKolrtSDmF4xUcljaUz4uCZXQMj2D16UoyUkr4dYXhrsJjjgf7pe5SnDZQ1puz59kfw==",
"dev": true,
"dependencies": {
"version-compare": "^1.2.0"
},
"engines": {
"node": ">=4"
},
"funding": {
"url": "https://bevry.me/fund"
}
},
"node_modules/webidl-conversions": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
"dev": true
},
"node_modules/whatwg-url": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
"dev": true,
"dependencies": {
"tr46": "~0.0.3",
"webidl-conversions": "^3.0.0"
}
}
}
}
bevry-domain-browser-87c2629/package.json 0000664 0000000 0000000 00000010754 14520230677 0020360 0 ustar 00root root 0000000 0000000 {
"name": "domain-browser",
"version": "4.23.0",
"description": "Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.",
"homepage": "https://github.com/bevry/domain-browser",
"license": "Artistic-2.0",
"keywords": [
"amd",
"browser",
"catch",
"component",
"component.io",
"domain",
"ender.js",
"es5",
"node",
"node-compat",
"require.js",
"try",
"trycatch",
"umd"
],
"badges": {
"list": [
"githubworkflow",
"npmversion",
"npmdownloads",
"---",
"githubsponsors",
"thanksdev",
"patreon",
"flattr",
"liberapay",
"buymeacoffee",
"opencollective",
"crypto",
"paypal",
"wishlist"
],
"config": {
"githubWorkflow": "bevry",
"githubSponsorsUsername": "balupton",
"thanksdevGithubUsername": "balupton",
"buymeacoffeeUsername": "balupton",
"cryptoURL": "https://bevry.me/crypto",
"flattrUsername": "balupton",
"liberapayUsername": "bevry",
"opencollectiveUsername": "bevry",
"patreonUsername": "bevry",
"paypalURL": "https://bevry.me/paypal",
"wishlistURL": "https://bevry.me/wishlist",
"githubUsername": "bevry",
"githubRepository": "domain-browser",
"githubSlug": "bevry/domain-browser",
"npmPackageName": "domain-browser"
}
},
"funding": "https://bevry.me/fund",
"author": "2013+ Bevry Pty Ltd (http://bevry.me)",
"maintainers": [
"Benjamin Lupton (https://github.com/balupton)"
],
"contributors": [
"Benjamin Lupton (https://github.com/balupton)",
"Bogdan Chadkin (https://github.com/TrySound)",
"Evan Solomon (https://github.com/evansolomon)",
"Guy Bedford (https://github.com/guybedford)",
"James Halliday (https://github.com/substack)",
"Sammy filly (https://github.com/X-oss-byte)"
],
"bugs": {
"url": "https://github.com/bevry/domain-browser/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/bevry/domain-browser.git"
},
"engines": {
"node": ">=10"
},
"editions": [
{
"description": "ES5 source code for web browsers and Node.js with Require for modules",
"directory": "source",
"entry": "index.js",
"tags": [
"source",
"javascript",
"es5",
"require"
],
"engines": {
"node": "10 || 12 || 14 || 16 || 18 || 20 || 21",
"browsers": "defaults"
}
}
],
"type": "commonjs",
"main": "source/index.js",
"browser": "source/index.js",
"jspm": {
"map": {
"source/index.js": {
"node": "@node/domain"
}
}
},
"devDependencies": {
"@bevry/update-contributors": "^1.22.0",
"assert-helpers": "^8.4.0",
"kava": "^5.15.0",
"projectz": "^2.23.0",
"valid-directory": "^4.0.0"
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "printf '%s\n' 'no need for this project'",
"our:deploy": "printf '%s\n' 'no need for this project'",
"our:meta": "npm run our:meta:contributors && npm run our:meta:projectz",
"our:meta:contributors": "update-contributors",
"our:meta:projectz": "projectz compile",
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",
"our:release:check-changelog": "cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)",
"our:release:check-dirty": "git diff --exit-code",
"our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
"our:release:push": "git push origin && git push origin --tags",
"our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"",
"our:setup": "npm run our:setup:install",
"our:setup:install": "npm install",
"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:directory",
"our:verify:directory": "valid-directory",
"test": "node ./source/test.js"
}
} bevry-domain-browser-87c2629/source/ 0000775 0000000 0000000 00000000000 14520230677 0017363 5 ustar 00root root 0000000 0000000 bevry-domain-browser-87c2629/source/index.js 0000664 0000000 0000000 00000002427 14520230677 0021035 0 ustar 00root root 0000000 0000000 // This file should be ES5 compatible
/* eslint prefer-spread:0, no-var:0, prefer-reflect:0, no-magic-numbers:0 */
"use strict";
module.exports = function() {
// Import Events
var events = require("events");
// Export Domain
var domain = {};
domain.createDomain = domain.create = function() {
var d = new events.EventEmitter();
function emitError(e) {
d.emit("error", e);
}
d.add = function(emitter) {
emitter.on("error", emitError);
};
d.remove = function(emitter) {
emitter.removeListener("error", emitError);
};
d.bind = function(fn) {
return function() {
var args = Array.prototype.slice.call(arguments);
try {
fn.apply(null, args);
} catch (err) {
emitError(err);
}
};
};
d.intercept = function(fn) {
return function(err) {
if (err) {
emitError(err);
} else {
var args = Array.prototype.slice.call(arguments, 1);
try {
fn.apply(null, args);
} catch (err) {
emitError(err);
}
}
};
};
d.run = function(fn) {
try {
fn();
} catch (err) {
emitError(err);
}
return this;
};
d.dispose = function() {
this.removeAllListeners();
return this;
};
d.enter = d.exit = function() {
return this;
};
return d;
};
return domain;
}.call(this);
bevry-domain-browser-87c2629/source/test.js 0000664 0000000 0000000 00000005106 14520230677 0020702 0 ustar 00root root 0000000 0000000 /* eslint handle-callback-err:0, no-magic-numbers:0, no-unused-vars:0 */
"use strict";
// Import
var events = require("events");
var equal = require("assert-helpers").equal;
var kava = require("kava");
var domain = require("./index.js");
// =====================================
// Tests
kava.suite("domain-browser", function(suite, test) {
test("should work on throws", function(done) {
var d = domain.create();
d.on("error", function(err) {
equal(err && err.message, "a thrown error", "error message");
done();
});
d.run(function() {
throw new Error("a thrown error");
});
});
test("should be able to add emitters", function(done) {
var d = domain.create();
var emitter = new events.EventEmitter();
d.add(emitter);
d.on("error", function(err) {
equal(err && err.message, "an emitted error", "error message");
done();
});
emitter.emit("error", new Error("an emitted error"));
});
test("should be able to remove emitters", function(done) {
var emitter = new events.EventEmitter();
var d = domain.create();
var domainGotError = false;
d.add(emitter);
d.on("error", function(err) {
domainGotError = true;
});
emitter.on("error", function(err) {
equal(
err && err.message,
"This error should not go to the domain",
"error message"
);
// Make sure nothing race condition-y is happening
setTimeout(function() {
equal(domainGotError, false, "no domain error");
done();
}, 0);
});
d.remove(emitter);
emitter.emit("error", new Error("This error should not go to the domain"));
});
test("bind should work", function(done) {
var d = domain.create();
d.on("error", function(err) {
equal(err && err.message, "a thrown error", "error message");
done();
});
d.bind(function(err, a, b) {
equal(err && err.message, "a passed error", "error message");
equal(a, 2, "value of a");
equal(b, 3, "value of b");
throw new Error("a thrown error");
})(new Error("a passed error"), 2, 3);
});
test("intercept should work", function(done) {
var d = domain.create();
var count = 0;
d.on("error", function(err) {
if (count === 0) {
equal(err && err.message, "a thrown error", "error message");
} else if (count === 1) {
equal(err && err.message, "a passed error", "error message");
done();
}
count++;
});
d.intercept(function(a, b) {
equal(a, 2, "value of a");
equal(b, 3, "value of b");
throw new Error("a thrown error");
})(null, 2, 3);
d.intercept(function(a, b) {
throw new Error("should never reach here");
})(new Error("a passed error"), 2, 3);
});
});