This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

View File

@@ -1,5 +1,17 @@
# Changelog
### `v5.4.3`
- Reverts breaking dependency upgrades from `v5.4.2` as some dependencies has removed Node 6 which is a breaking change.
### `v5.4.2`
- Updates dependencies
### `v5.4.1`
- Reverts changes to default timeout as they are causing some issues. See [#271](https://github.com/mikaelbr/node-notifier/pull/271)
### `v5.4.0`
- Prevent Spotlight from indexing terminal-notifier.app ([#238](https://github.com/mikaelbr/node-notifier/pull/238))

View File

@@ -71,7 +71,7 @@ notifier.notify(
}
);
notifier.on('click', function(notifierObject, options) {
notifier.on('click', function(notifierObject, options, event) {
// Triggers if `wait: true` and user clicks notification
});

View File

@@ -210,10 +210,6 @@ module.exports.mapToMac = function(options) {
delete options.wait;
}
if (!options.wait && !options.timeout) {
options.timeout = 10;
}
options.json = true;
return options;
};

View File

@@ -398,14 +398,15 @@ range, use the `satisfies(version, range)` function.
* `coerce(version)`: Coerces a string to semver if possible
This aims to provide a very forgiving translation of a non-semver
string to semver. It looks for the first digit in a string, and
consumes all remaining characters which satisfy at least a partial semver
(e.g., `1`, `1.2`, `1.2.3`) up to the max permitted length (256 characters).
Longer versions are simply truncated (`4.6.3.9.2-alpha2` becomes `4.6.3`).
All surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes `3.4.0`).
Only text which lacks digits will fail coercion (`version one` is not valid).
The maximum length for any semver component considered for coercion is 16 characters;
longer components will be ignored (`10000000000000000.4.7.4` becomes `4.7.4`).
The maximum value for any semver component is `Integer.MAX_SAFE_INTEGER || (2**53 - 1)`;
higher value components are invalid (`9999999999999999.4.7.4` is likely invalid).
This aims to provide a very forgiving translation of a non-semver string to
semver. It looks for the first digit in a string, and consumes all
remaining characters which satisfy at least a partial semver (e.g., `1`,
`1.2`, `1.2.3`) up to the max permitted length (256 characters). Longer
versions are simply truncated (`4.6.3.9.2-alpha2` becomes `4.6.3`). All
surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes
`3.4.0`). Only text which lacks digits will fail coercion (`version one`
is not valid). The maximum length for any semver component considered for
coercion is 16 characters; longer components will be ignored
(`10000000000000000.4.7.4` becomes `4.7.4`). The maximum value for any
semver component is `Number.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value
components are invalid (`9999999999999999.4.7.4` is likely invalid).

View File

@@ -1,39 +1,35 @@
{
"_args": [
[
"semver@5.7.0",
"/Users/pjquirk/Source/GitHub/actions/labeler"
]
],
"_development": true,
"_from": "semver@5.7.0",
"_id": "semver@5.7.0",
"_from": "semver@^5.5.0",
"_id": "semver@5.7.1",
"_inBundle": false,
"_integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",
"_integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
"_location": "/node-notifier/semver",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "semver@5.7.0",
"raw": "semver@^5.5.0",
"name": "semver",
"escapedName": "semver",
"rawSpec": "5.7.0",
"rawSpec": "^5.5.0",
"saveSpec": null,
"fetchSpec": "5.7.0"
"fetchSpec": "^5.5.0"
},
"_requiredBy": [
"/node-notifier"
],
"_resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
"_spec": "5.7.0",
"_where": "/Users/pjquirk/Source/GitHub/actions/labeler",
"_resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"_shasum": "a954f931aeba508d307bbf069eff0c01c96116f7",
"_spec": "semver@^5.5.0",
"_where": "/Users/dakale/dev/GitHub/actions/labeler/node_modules/node-notifier",
"bin": {
"semver": "./bin/semver"
},
"bugs": {
"url": "https://github.com/npm/node-semver/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "The semantic version parser used by npm.",
"devDependencies": {
"tap": "^13.0.0-rc.18"
@@ -60,5 +56,5 @@
"tap": {
"check-coverage": true
},
"version": "5.7.0"
"version": "5.7.1"
}

View File

@@ -1,39 +1,34 @@
{
"_args": [
[
"node-notifier@5.4.0",
"/Users/pjquirk/Source/GitHub/actions/labeler"
]
],
"_development": true,
"_from": "node-notifier@5.4.0",
"_id": "node-notifier@5.4.0",
"_from": "node-notifier@^5.4.2",
"_id": "node-notifier@5.4.3",
"_inBundle": false,
"_integrity": "sha512-SUDEb+o71XR5lXSTyivXd9J7fCloE3SyP4lSgt3lU2oSANiox+SxlNRGPjDKrwU1YN3ix2KN/VGGCg0t01rttQ==",
"_integrity": "sha512-M4UBGcs4jeOK9CjTsYwkvH6/MzuUmGCyTW+kCY7uO+1ZVr0+FHGdPdIf5CCLqAaxnRrWidyoQlNkMIIVwbKB8Q==",
"_location": "/node-notifier",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "node-notifier@5.4.0",
"raw": "node-notifier@^5.4.2",
"name": "node-notifier",
"escapedName": "node-notifier",
"rawSpec": "5.4.0",
"rawSpec": "^5.4.2",
"saveSpec": null,
"fetchSpec": "5.4.0"
"fetchSpec": "^5.4.2"
},
"_requiredBy": [
"/@jest/reporters"
],
"_resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.0.tgz",
"_spec": "5.4.0",
"_where": "/Users/pjquirk/Source/GitHub/actions/labeler",
"_resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.3.tgz",
"_shasum": "cb72daf94c93904098e28b9c590fd866e464bd50",
"_spec": "node-notifier@^5.4.2",
"_where": "/Users/dakale/dev/GitHub/actions/labeler/node_modules/@jest/reporters",
"author": {
"name": "Mikael Brevik"
},
"bugs": {
"url": "https://github.com/mikaelbr/node-notifier/issues"
},
"bundleDependencies": false,
"dependencies": {
"growly": "^1.3.0",
"is-wsl": "^1.1.0",
@@ -41,6 +36,7 @@
"shellwords": "^0.1.1",
"which": "^1.3.0"
},
"deprecated": false,
"description": "A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)",
"devDependencies": {
"eslint": "^5.12.1",
@@ -99,5 +95,5 @@
"pretest": "npm run lint",
"test": "jest"
},
"version": "5.4.0"
"version": "5.4.3"
}