...
 
Commits (3)
# Change log
## 0.2.3
### Bug fixes
* data: match new monorepo name (a14fcc7)
### Other changes
* package: update dependencies (49acd50)
## 0.2.2
### Other changes
......
......@@ -8,7 +8,7 @@ const pkg = require('./package.json')
const DEFAULT_RATE = 1000 * 60 * 60
const MINIMUM_RATE = DEFAULT_RATE / 2
const DEFAULT_USER_AGENT = `FxHey/${pkg.version} (https://gitlab.com/philbooth/fxhey)`
const REPO_MATCH = /mozilla\/fxa(?:-[a-z]+){2}(?:-private)?/
const REPO_MATCH = /mozilla\/fxa(?:-private)?/
const SERVERS = [
{ name: 'content', url: 'https://accounts.firefox.com/ver.json' },
{ name: 'auth', url: 'https://api.accounts.firefox.com/__version__' },
......
This diff is collapsed.
{
"name": "fxhey",
"version": "0.2.2",
"version": "0.2.3",
"license": "MIT",
"description": "FxHey! Live train announcements for Firefox Accounts.",
"keywords": [
......@@ -32,15 +32,15 @@
"url": "https://gitlab.com/philbooth/FxHey/issues"
},
"dependencies": {
"check-types": "^7.1.5",
"got": "^6.7.1"
"check-types": "^8.0.2",
"got": "^9.6.0"
},
"devDependencies": {
"chai": "^4.1.2",
"eslint": "^3.19.0",
"mocha": "^5.2.0",
"please-release-me": "^2.0.2",
"proxyquire": "^2.0.1",
"sinon": "^6.0.0"
"chai": "^4.2.0",
"eslint": "^5.16.0",
"mocha": "^6.1.2",
"please-release-me": "^2.1.2",
"proxyquire": "^2.1.0",
"sinon": "^7.3.2"
}
}
......@@ -11,7 +11,7 @@ suite('unit tests:', () => {
const interval = 'foo'
const version = {
commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e',
source: 'git://github.com/mozilla/fxa-content-server.git'
source: 'git://github.com/mozilla/fxa.git'
}
let timers, got, fxhey
......@@ -233,10 +233,10 @@ suite('unit tests:', () => {
{ name: 'oauth', train: 81, patch: 5 }
],
versions: [
{ name: 'content', train: 81, patch: 5, tag: 'v0.81.5', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'auth', train: 81, patch: 5, tag: 'v0.81.5', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'profile', train: 81, patch: 5, tag: 'v0.81.5', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'oauth', train: 81, patch: 5, tag: 'v0.81.5', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now }
{ name: 'content', train: 81, patch: 5, tag: 'v0.81.5', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'auth', train: 81, patch: 5, tag: 'v0.81.5', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'profile', train: 81, patch: 5, tag: 'v0.81.5', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'oauth', train: 81, patch: 5, tag: 'v0.81.5', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now }
]
})
})
......@@ -299,10 +299,10 @@ suite('unit tests:', () => {
{ name: 'oauth', train: 81, patch: 6 }
],
versions: [
{ name: 'content', train: 81, patch: 6, tag: 'v0.81.6', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'auth', train: 81, patch: 6, tag: 'v0.81.6', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'profile', train: 81, patch: 6, tag: 'v0.81.6', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'oauth', train: 81, patch: 6, tag: 'v0.81.6', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now }
{ name: 'content', train: 81, patch: 6, tag: 'v0.81.6', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'auth', train: 81, patch: 6, tag: 'v0.81.6', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'profile', train: 81, patch: 6, tag: 'v0.81.6', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'oauth', train: 81, patch: 6, tag: 'v0.81.6', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now }
]
})
})
......@@ -361,10 +361,10 @@ suite('unit tests:', () => {
],
patches: [],
versions: [
{ name: 'content', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'auth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'profile', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'oauth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now }
{ name: 'content', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'auth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'profile', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'oauth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now }
]
})
})
......@@ -406,10 +406,10 @@ suite('unit tests:', () => {
],
patches: [],
versions: [
{ name: 'content', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now - 1 },
{ name: 'auth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now - 1 },
{ name: 'profile', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now - 1 },
{ name: 'oauth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now }
{ name: 'content', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now - 1 },
{ name: 'auth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now - 1 },
{ name: 'profile', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now - 1 },
{ name: 'oauth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now }
]
})
})
......@@ -489,10 +489,10 @@ suite('unit tests:', () => {
],
patches: [],
versions: [
{ name: 'content', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'auth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'profile', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now },
{ name: 'oauth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa-content-server', time: now }
{ name: 'content', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'auth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'profile', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now },
{ name: 'oauth', train: 82, patch: 0, tag: 'v1.82.0', commit: '75ca755f94be44c06c55fab8e3fccfedb0e4b59e', repo: 'mozilla/fxa', time: now }
]
})
})
......