Skip to content

Commit

Permalink
Meta and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Mar 17, 2021
1 parent 46a07f7 commit ce9fe39
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 24 deletions.
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ function delegate<

return {
destroy(): void {
subscriptions.forEach(subscription => subscription.destroy());
for (const subscription of subscriptions) {
subscription.destroy();
}
}
};
}
Expand Down
22 changes: 5 additions & 17 deletions license
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
The MIT License (MIT)
MIT License

Copyright (c) Federico Brigante <[email protected]> (bfred.it)
Copyright (c) Federico Brigante <[email protected]> (https://fregante.com)

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:
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 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.
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.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
}
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.7.0",
"ava": "^3.12.1",
"jsdom": "^16.4.0",
"@sindresorhus/tsconfig": "^0.9.0",
"ava": "^3.15.0",
"jsdom": "^16.5.1",
"npm-run-all": "^4.1.5",
"sinon": "^9.0.3",
"typescript": "^4.0.2",
"xo": "^0.34.2"
"sinon": "^9.2.4",
"typescript": "^4.2.3",
"xo": "^0.38.2"
}
}

0 comments on commit ce9fe39

Please sign in to comment.