Commit 23ce013d authored by Jure's avatar Jure

Merge branch 'authsome-dep' into 'master'

Update to async authsome

See merge request !12
parents a4da8983 3d14ed24
Pipeline #2567 passed with stage
in 3 minutes and 46 seconds
image: node:7
image: pubsweet/pubsweet-test-base
before_script:
- npm install -g yarn
- yarn
test:
script:
- npm test
- xvfb-run --server-args "-screen 0 1024x768x24" npm test
coverage: '/^All files\s+\|\s+(\d+.\d+)\s\|.*$/'
variables:
DEBUG: nightmare:*
lint:
script:
......
import 'regenerator-runtime/runtime'
import React from 'react'
import ReactDOM from 'react-dom'
......
import React from 'react'
import config from 'config'
import PropTypes from 'prop-types'
import AuthenticatedComponent from 'pubsweet-client/src/components/AuthenticatedComponent'
import Manage from 'pubsweet-component-manage/Manage'
import Navigation from '../Navigation/Navigation'
export default ({children, ...props}) => (
<AuthenticatedComponent
authsome={config.authsome}
operation='create'
selector={(state) => state.collections[0]}
{...props}
>
<Manage nav={<Navigation />}>
const AuthenticatedManage = ({children, ...props}) => (
<Manage nav={<Navigation />}>
<AuthenticatedComponent
operation='create'
selector={(state) => state.collections[0]}
unauthorized={<p>You are not authorized to view this page.</p>}
{...props}
>
{children}
</Manage>
</AuthenticatedComponent>
</AuthenticatedComponent>
</Manage>
)
AuthenticatedManage.propTypes = {
children: PropTypes.node
}
export default AuthenticatedManage
......@@ -2,7 +2,8 @@ const path = require('path')
module.exports = {
'pubsweet-server': {
dbPath: path.join(__dirname, '..', 'api', 'db', 'test')
dbPath: path.join(__dirname, '..', 'api', 'db', 'test'),
secret: 'test'
},
// prevent logging from swaming test output
logger: {
......
......@@ -10,9 +10,10 @@
],
"dependencies": {
"@pubsweet/logger": "^0.0.1",
"authsome": "0.0.9",
"jest": "^21.1.0",
"pubsweet": "1.0.0-alpha.5",
"pubsweet-client": "^1.0.0-beta.3",
"pubsweet": "1.0.0-alpha.6",
"pubsweet-client": "1.0.0-beta.6",
"pubsweet-component-blog": "^0.3.1",
"pubsweet-component-html": "^0.2.0",
"pubsweet-component-login": "^0.5.1",
......@@ -63,6 +64,7 @@
"node-sass": "^4.5.2",
"pouchdb-adapter-memory": "^6.1.1",
"react-hot-loader": "^3.0.0-beta.6",
"regenerator-runtime": "^0.11.0",
"sass-loader": "^6.0.3",
"script-loader": "^0.7.0",
"standard": "^10.0.1",
......@@ -74,7 +76,7 @@
"webpack-hot-middleware": "^2.18.0"
},
"scripts": {
"lint": "eslint app test webpack",
"lint": "eslint --ext js,jsx app test webpack",
"start": "pubsweet start",
"setupdb": "pubsweet setupdb",
"test": "jest"
......
require('app-module-path').addPath(process.cwd())
const path = require('path')
if (!process.env.NODE_ENV) {
process.env.NODE_ENV = 'development'
}
const dotenvPath = path.join(process.cwd(), `.env.${process.env.NODE_ENV}`)
require('dotenv').config({ path: dotenvPath })
const config = require('config')
const http = require('http')
const express = require('express')
const webpack = require('webpack')
const pubsweet = require('pubsweet-server')
const logger = require('@pubsweet/logger')
const onError = (err) => logger.error(err)
const collect = (val, memo) => memo.push(val) && memo
let program
let server
let serverListening = false
const webpackconfig = require(path.join(
process.cwd(), 'webpack', `webpack.${process.env.NODE_ENV}.config.js`
))
const registerDevtools = (app, compiler, cb) => {
app.use(require(
path.join(process.cwd(), 'node_modules', 'webpack-dev-middleware')
)(compiler, {
noInfo: true,
stats: {
colors: true,
chunks: false
},
publicPath: '/assets/'
}))
app.use(
require(
path.join(process.cwd(), 'node_modules', 'webpack-hot-middleware')
)(compiler)
)
cb()
}
const registerComponents = app => {
config.pubsweet.components.forEach(name => {
const component = require(path.join(process.cwd(), 'node_modules', name))
logger.info('Registered component', name)
// Backwards compatibility, old name was 'backend', new name is 'server'
let serverComponent = component.server || component.backend
if (serverComponent) {
serverComponent()(app)
logger.info('Registered server component', name)
}
})
}
let watcher
const startWatcher = () => {
const chokidar = require('chokidar')
// TODO: use a whitelist instead of a blacklist
watcher = chokidar.watch(process.cwd(), {
ignored: /(node_modules|_build|api\/db|.git|logs|static|webpack|pubsweet.log|app|uploads|.idea)/
})
let update = (msg, reload) => {
logger.info(`Detected filesystem change: ${msg}`)
if (reload) reloadServer()
}
watcher.on('ready', () => {
logger.info('Watching for filesystem changes')
watcher
.on('add', path => update(`File ${path} added`, true))
.on('change', path => update(`File ${path} changed`, true))
.on('unlink', path => update(`File ${path} removed`, true))
.on('addDir', path => update(`Directory ${path} added`, true))
.on('unlinkDir', path => update(`Directory ${path} removed`, true))
.on('error', onError)
})
program.watch.forEach(watcher.add)
}
const compiler = webpack(webpackconfig)
const runapp = (err, stats, cb) => {
if (err) onError(err)
const rawapp = express()
// rawapp.get('*.js', function (req, res, next) {
// if (/\.js$|\.css$|\.html$/.test(req.url)) {
// req.url = req.url + '.gz'
// res.set('Content-Encoding', 'gzip')
// }
// next()
// })
const postcompile = (err, stats) => {
if (err) {
logger.error('Webpack compilation failed:', err)
process.exit(1)
} else if (stats) {
logger.info('Webpack compilation completed:', stats.toString({
hash: false,
chunks: false,
assets: false
}))
}
registerComponents(rawapp)
logger.info(`Registered components`)
const app = pubsweet(rawapp)
logger.info(`Setup app`)
const port = process.env.PORT || 3000
app.set('port', port)
logger.info(`Using port ${port}`)
server = http.createServer(app)
logger.info(`Created HTTP server`)
const onListening = () => {
// logger.info(`PubSweet is listening on port ${server.address().port}`)
logger.info(`PubSweet is listening on port ${port}`)
serverListening = true
if (cb) cb(server) // used to enable testing
if (process.env.NODE_ENV === 'development' && !watcher) startWatcher()
}
server.on('error', onError)
server.on('listening', onListening)
server.listen(port)
}
if (process.env.NODE_ENV === 'development') {
registerDevtools(rawapp, compiler, postcompile)
} else {
compiler.run(postcompile)
}
}
const reloadServer = () => {
if (serverListening) {
logger.info('Restarting app')
serverListening = false
server.close(runapp)
} else {
server.on('listening', () => {
setTimeout(() => server.close(reloadServer), 100)
})
}
}
if (require.main === module) {
// file is being executed
// console.log('start.js FILE IS BEING EXECUTED')
program = require('commander')
program
.option('--watch [path]', 'Watch path for changes', collect, [])
.parse(process.argv)
runapp()
} else {
// file is being required - used to enable testing
// console.log('start.js FILE IS BEING REQUIRED')
module.exports = cb => runapp(null, null, cb)
}
......@@ -2,9 +2,9 @@
# yarn lockfile v1
"@pubsweet/db-manager@git+https://gitlab.coko.foundation/yld/db-manager.git":
version "0.0.2"
resolved "git+https://gitlab.coko.foundation/yld/db-manager.git#4df92e5dfffc4acc319949314ab750a04a618ae9"
"@pubsweet/db-manager@^0.0.4":
version "0.0.4"
resolved "https://registry.yarnpkg.com/@pubsweet/db-manager/-/db-manager-0.0.4.tgz#a0ddaed6c6ad8611b116cf322cc9d545df40bdb5"
dependencies:
"@pubsweet/logger" "0.0.1"
fs-extra "^4.0.2"
......@@ -350,13 +350,9 @@ attempt-x@^1.1.0, attempt-x@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/attempt-x/-/attempt-x-1.1.1.tgz#fba64e96ce03c3e0bd92c92622061c4df387cb76"
authsome@0.0.4:
version "0.0.4"
resolved "https://registry.yarnpkg.com/authsome/-/authsome-0.0.4.tgz#7784887e6c17fdf126949c084cc3f543291dfb19"
authsome@0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/authsome/-/authsome-0.0.6.tgz#505a2555a87e29f47af9a0d511bc553558073d72"
authsome@0.0.9:
version "0.0.9"
resolved "https://registry.yarnpkg.com/authsome/-/authsome-0.0.9.tgz#08b34f1797b3539e6a362f0fb11a01ae0613f928"
autobind-decorator@^1.3.4:
version "1.4.3"
......@@ -1397,11 +1393,7 @@ block-stream@*:
dependencies:
inherits "~2.0.0"
bluebird@^2.10.2:
version "2.11.0"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-2.11.0.tgz#534b9033c022c9579c56ba3b3e5a5caafbb650e1"
bluebird@^3.4.7, bluebird@^3.5.0:
bluebird@^3.4.7, bluebird@^3.5.0, bluebird@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
......@@ -1545,11 +1537,11 @@ browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6:
electron-to-chromium "^1.2.7"
browserslist@^2.1.2:
version "2.4.0"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.4.0.tgz#693ee93d01e66468a6348da5498e011f578f87f8"
version "2.5.1"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.5.1.tgz#68e4bc536bbcc6086d62843a2ffccea8396821c6"
dependencies:
caniuse-lite "^1.0.30000718"
electron-to-chromium "^1.3.18"
caniuse-lite "^1.0.30000744"
electron-to-chromium "^1.3.24"
bser@^2.0.0:
version "2.0.0"
......@@ -1660,12 +1652,12 @@ caniuse-api@^1.5.2:
lodash.uniq "^4.5.0"
caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639:
version "1.0.30000744"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000744.tgz#00758ff7dd5f7138d34a15608dccf71a59656ffe"
version "1.0.30000746"
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000746.tgz#501098c66f5fbbf634c02f25508b05e8809910f4"
caniuse-lite@^1.0.30000718:
version "1.0.30000744"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000744.tgz#860fa5c83ba34fe619397d607f30bb474821671b"
caniuse-lite@^1.0.30000744:
version "1.0.30000746"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000746.tgz#c64f95a3925cfd30207a308ed76c1ae96ea09ea0"
caseless@~0.12.0:
version "0.12.0"
......@@ -2013,16 +2005,16 @@ cookie@0.3.1:
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
copy-webpack-plugin@^4.0.1:
version "4.1.0"
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.1.0.tgz#292a040318fe8ae3b1d7996ef05dfb483eb0b647"
version "4.1.1"
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.1.1.tgz#53ae69e04955ebfa9fda411f54cbb968531d71fd"
dependencies:
bluebird "^2.10.2"
fs-extra "^0.26.4"
glob "^6.0.4"
is-glob "^3.1.0"
bluebird "^3.5.1"
fs-extra "^4.0.2"
glob "^7.1.2"
is-glob "^4.0.0"
loader-utils "^0.2.15"
lodash "^4.3.0"
minimatch "^3.0.0"
minimatch "^3.0.4"
node-dir "^0.1.10"
core-js@^1.0.0:
......@@ -2404,8 +2396,8 @@ dicer@0.2.5:
streamsearch "0.1.2"
diff@^3.2.0:
version "3.3.1"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.1.tgz#aa8567a6eed03c531fc89d3f711cd0e5259dec75"
version "3.4.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c"
diffie-hellman@^5.0.0:
version "5.0.2"
......@@ -2563,9 +2555,9 @@ electron-download@^3.0.1:
semver "^5.3.0"
sumchecker "^1.2.0"
electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.18:
version "1.3.24"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.24.tgz#9b7b88bb05ceb9fa016a177833cc2dde388f21b6"
electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.24:
version "1.3.26"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.26.tgz#996427294861a74d9c7c82b9260ea301e8c02d66"
electron@1.7.6:
version "1.7.6"
......@@ -2692,17 +2684,17 @@ es3ify@^0.2.2:
through "~2.3.4"
es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14:
version "0.10.30"
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.30.tgz#7141a16836697dbabfaaaeee41495ce29f52c939"
version "0.10.31"
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.31.tgz#7bb938c95a7f1b9f728092dc09c41edcc398eefe"
dependencies:
es6-iterator "2"
es6-symbol "~3.1"
es6-iterator "~2.0.1"
es6-symbol "~3.1.1"
es6-error@^4.0.0:
version "4.0.2"
resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.0.2.tgz#eec5c726eacef51b7f6b73c20db6e1b13b069c98"
es6-iterator@2, es6-iterator@^2.0.1, es6-iterator@~2.0.1:
es6-iterator@^2.0.1, es6-iterator@~2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.1.tgz#8e319c9f0453bf575d374940a655920e59ca5512"
dependencies:
......@@ -2735,7 +2727,7 @@ es6-set@~0.1.5:
es6-symbol "3.1.1"
event-emitter "~0.3.5"
es6-symbol@3.1.1, es6-symbol@^3.0.2, es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1, es6-symbol@~3.1.1:
es6-symbol@3.1.1, es6-symbol@^3.0.2, es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
dependencies:
......@@ -3128,8 +3120,8 @@ expect@^21.2.1:
jest-regex-util "^21.2.0"
express@^4.15.3, express@^4.16.1:
version "4.16.1"
resolved "https://registry.yarnpkg.com/express/-/express-4.16.1.tgz#6b33b560183c9b253b7b62144df33a4654ac9ed0"
version "4.16.2"
resolved "https://registry.yarnpkg.com/express/-/express-4.16.2.tgz#e35c6dfe2d64b7dca0a5cd4f21781be3299e076c"
dependencies:
accepts "~1.3.4"
array-flatten "1.1.1"
......@@ -3434,16 +3426,6 @@ fresh@0.5.2:
version "0.5.2"
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
fs-extra@^0.26.4:
version "0.26.7"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.26.7.tgz#9ae1fdd94897798edab76d0918cf42d0c3184fa9"
dependencies:
graceful-fs "^4.1.2"
jsonfile "^2.1.0"
klaw "^1.0.0"
path-is-absolute "^1.0.0"
rimraf "^2.2.8"
fs-extra@^0.30.0:
version "0.30.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0"
......@@ -3454,14 +3436,6 @@ fs-extra@^0.30.0:
path-is-absolute "^1.0.0"
rimraf "^2.2.8"
fs-extra@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291"
dependencies:
graceful-fs "^4.1.2"
jsonfile "^3.0.0"
universalify "^0.1.0"
fs-extra@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b"
......@@ -3641,16 +3615,6 @@ glob@^5.0.15:
once "^1.3.0"
path-is-absolute "^1.0.0"
glob@^6.0.4:
version "6.0.4"
resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22"
dependencies:
inflight "^1.0.4"
inherits "2"
minimatch "2 || 3"
once "^1.3.0"
path-is-absolute "^1.0.0"
global@^4.3.0, global@^4.3.1:
version "4.3.2"
resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f"
......@@ -3866,7 +3830,7 @@ hoek@4.x.x:
version "4.2.0"
resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.0.tgz#72d9d0754f7fe25ca2d01ad8f8f9a9449a89526d"
hoist-non-react-statics@^2.2.1, hoist-non-react-statics@^2.3.0:
hoist-non-react-statics@^2.2.1, hoist-non-react-statics@^2.3.0, hoist-non-react-statics@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.3.1.tgz#343db84c6018c650778898240135a1420ee22ce0"
......@@ -4222,7 +4186,7 @@ is-extglob@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0"
is-extglob@^2.1.0:
is-extglob@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
......@@ -4274,11 +4238,11 @@ is-glob@^2.0.0, is-glob@^2.0.1:
dependencies:
is-extglob "^1.0.0"
is-glob@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a"
is-glob@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0"
dependencies:
is-extglob "^2.1.0"
is-extglob "^2.1.1"
is-index-x@^1.0.0:
version "1.0.0"
......@@ -4766,8 +4730,8 @@ joi@^10.0.6, joi@^10.4.1, joi@^10.6.0:
topo "2.x.x"
joi@^11.0.2:
version "11.1.1"
resolved "https://registry.yarnpkg.com/joi/-/joi-11.1.1.tgz#08194537d3b9c796bac8666deb3a825c1a5d83c1"
version "11.3.4"
resolved "https://registry.yarnpkg.com/joi/-/joi-11.3.4.tgz#c25fc2598c3847865f92c51b5249b519af3e51cb"
dependencies:
hoek "4.x.x"
isemail "3.x.x"
......@@ -4884,12 +4848,6 @@ jsonfile@^2.1.0:
optionalDependencies:
graceful-fs "^4.1.6"
jsonfile@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66"
optionalDependencies:
graceful-fs "^4.1.6"
jsonfile@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
......@@ -5513,8 +5471,8 @@ mkdirp@0.x.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkd
minimist "0.0.8"
moment@2.x.x:
version "2.18.1"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f"
version "2.19.1"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.1.tgz#56da1a2d1cbf01d38b7e1afc31c10bcfa1929167"
morgan@^1.8.2:
version "1.9.0"
......@@ -5895,8 +5853,8 @@ number-is-nan@^1.0.0:
resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
"nwmatcher@>= 1.3.9 < 2.0.0":
version "1.4.2"
resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.2.tgz#c5e545ab40d22a56b0326531c4beaed7a888b3ea"
version "1.4.3"
resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.3.tgz#64348e3b3d80f035b40ac11563d278f8b72db89c"
oauth-sign@~0.8.1, oauth-sign@~0.8.2:
version "0.8.2"
......@@ -6925,7 +6883,7 @@ promise@^7.1.1:
dependencies:
asap "~2.0.3"
prompt@^1.0.0, prompt@flatiron/prompt#1c95d1d8d333b5fbc13fa5f0619f3dcf0d514f87:
prompt@^1.0.0, "prompt@github:flatiron/prompt#1c95d1d8d333b5fbc13fa5f0619f3dcf0d514f87":
version "1.0.0"
resolved "https://codeload.github.com/flatiron/prompt/tar.gz/1c95d1d8d333b5fbc13fa5f0619f3dcf0d514f87"
dependencies:
......@@ -6991,11 +6949,11 @@ public-encrypt@^4.0.0:
parse-asn1 "^5.0.0"
randombytes "^2.0.1"
pubsweet-client@^1.0.0-beta.3:
version "1.0.0-beta.4"
resolved "https://registry.yarnpkg.com/pubsweet-client/-/pubsweet-client-1.0.0-beta.4.tgz#76624e5aa48f764e49778d555a12c9c614cfb860"
pubsweet-client@1.0.0-beta.6:
version "1.0.0-beta.6"
resolved "https://registry.yarnpkg.com/pubsweet-client/-/pubsweet-client-1.0.0-beta.6.tgz#7addbe37325942ed4ff7ae8b7daf77be2656c0ed"
dependencies:
authsome "0.0.4"
authsome "0.0.9"
config "^1.21.0"
event-source-polyfill "^0.0.9"
global "^4.3.1"
......@@ -7138,50 +7096,12 @@ pubsweet-component-users-manager@^0.2.1:
react-redux "^5.0.6"
redux "^3.7.2"
pubsweet-server@^1.0.0-alpha.3, "pubsweet-server@git+https://gitlab.coko.foundation/pubsweet/pubsweet-server.git":
version "1.0.0-alpha.3"
resolved "git+https://gitlab.coko.foundation/pubsweet/pubsweet-server.git#cecdf0454da607b14acad36661097cfeda75e51c"
dependencies:
"@pubsweet/logger" "^0.0.1"
authsome "0.0.6"
bcrypt "^1.0.2"
body-parser "^1.15.2"
colors "^1.1.2"
config "^1.26.2"
cookie-parser "^1.4.3"
express "^4.16.1"
helmet "^3.8.1"
http-status-codes "^1.0.6"
joi "^10.0.6"
jsonwebtoken "^7.1.7"
lodash "^4.0.0"
minimist "^1.2.0"
morgan "^1.8.2"
multer "^1.1.0"
passport "^0.3.2"
passport-anonymous "^1.0.1"
passport-http-bearer "^1.0.1"
passport-local "^1.0.0"
pouchdb-adapter-http "^6.2.0"
pouchdb-adapter-leveldb "^6.1.1"
pouchdb-adapter-memory "^6.1.1"
pouchdb-core "^6.1.1"
pouchdb-find "^0.10.3"
pouchdb-upsert "^2.0.0"
promise-queue "^2.2.3"
prompt "^1.0.0"
pubsweet-sse "^0.1.1"
relational-pouch "^1.4.5"
uuid "^3.0.1"
winston "^2.2.0"
"pubsweet-server@git+https://git@gitlab.coko.foundation/pubsweet/pubsweet-server.git":
version "1.0.0-alpha.3"
uid cecdf0454da607b14acad36661097cfeda75e51c
resolved "git+https://git@gitlab.coko.foundation/pubsweet/pubsweet-server.git#cecdf0454da607b14acad36661097cfeda75e51c"
pubsweet-server@1.0.0-alpha.4, pubsweet-server@^1.0.0-alpha.3, "pubsweet-server@git+https://gitlab.coko.foundation/pubsweet/pubsweet-server.git":
version "1.0.0-alpha.4"
resolved "git+https://gitlab.coko.foundation/pubsweet/pubsweet-server.git#1cda44f458886f6d174d0e36f964efcde19d2ab0"
dependencies:
"@pubsweet/logger" "^0.0.1"
authsome "0.0.6"
authsome "0.0.9"
bcrypt "^1.0.2"
body-parser "^1.15.2"
colors "^1.1.2"
......@@ -7221,11 +7141,11 @@ pubsweet-theme-plugin@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/pubsweet-theme-plugin/-/pubsweet-theme-plugin-0.0.1.tgz#4160bdd53dec4d646952d29337ce36bc3b8dfe9a"
"pubsweet@git+https://git@gitlab.coko.foundation/yld/pubsweet-cli.git#refactor/db-manager":
version "1.0.0-alpha.4"
resolved "git+https://git@gitlab.coko.foundation/yld/pubsweet-cli.git#2b8c852dfc44cf1f87661de6b235567339678dbd"
pubsweet@1.0.0-alpha.6:
version "1.0.0-alpha.6"
resolved "https://registry.yarnpkg.com/pubsweet/-/pubsweet-1.0.0-alpha.6.tgz#7e3a41f0e9bd70110e1f9beb5628b5e615a34a48"
dependencies:
"@pubsweet/db-manager" "git+https://gitlab.coko.foundation/yld/db-manager.git"
"@pubsweet/db-manager" "^0.0.4"
"@pubsweet/logger" "^0.0.1"
bluebird "^3.5.0"
colors "^1.1.2"
......@@ -7233,7 +7153,7 @@ pubsweet-theme-plugin@^0.0.1:
dotenv "^4.0.0"
express "^4.15.3"
forever-monitor "^1.7.0"
fs-extra "^3.0.0"
fs-extra "^4.0.2"
inflection "^1.12.0"
joi "^10.4.1"
prompt flatiron/prompt#1c95d1d8d333b5fbc13fa5f0619f3dcf0d514f87
......@@ -7347,7 +7267,7 @@ react-bootstrap@^0.31.3:
uncontrollable "^4.1.0"
warning "^3.0.0"
react-deep-force-update@^2.0.1:
react-deep-force-update@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-2.1.1.tgz#8ea4263cd6455a050b37445b3f08fd839d86e909"
......@@ -7361,15 +7281,15 @@ react-dom@^15.6.1:
prop-types "^15.5.10"
react-hot-loader@^3.0.0-beta.6:
version "3.0.0-beta.7"
resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-3.0.0-beta.7.tgz#d5847b8165d731c4d5b30d86d5d4716227a0fa83"
version "3.0.0"
resolved "https://registry.yarnpkg.com/react-hot-loader/-/react-hot-loader-3.0.0.tgz#6e28da9d459da8085f5ee8bdd775046ba4b5cd0b"
dependencies:
babel-template "^6.7.0"
global "^4.3.0"
react-deep-force-update "^2.0.1"
react-deep-force-update "^2.1.1"
react-proxy "^3.0.0-alpha.0"
redbox-react "^1.3.6"
source-map "^0.4.4"
source-map "^0.6.1"
react-input-autosize@^2.0.1:
version "2.0.1"
......@@ -7379,8 +7299,8 @@ react-input-autosize@^2.0.1:
prop-types "^15.5.8"
react-overlays@^0.7.0:
version "0.7.1"
resolved "https://registry.yarnpkg.com/react-overlays/-/react-overlays-0.7.1.tgz#0b84708d8007082163c47155a2f60a0858c7a3c7"
version "0.7.2"
resolved "https://registry.yarnpkg.com/react-overlays/-/react-overlays-0.7.2.tgz#03808f80d99dfadd93d67438c619aa55d07b3f80"
dependencies:
classnames "^2.2.5"
dom-helpers "^3.2.1"
......@@ -7642,12 +7562,13 @@ reduce-function-call@^1.0.1:
balanced-match "^0.4.2"
redux-form@^7.0.3:
version "7.0.4"
resolved "https://registry.yarnpkg.com/redux-form/-/redux-form-7.0.4.tgz#2297b6bed40fda8bb58132e261ba0976fb4e530c"
version "7.1.1"
resolved "https://registry.yarnpkg.com/redux-form/-/redux-form-7.1.1.tgz#4d9ab1d9c03beb3a8b5f8e5d0f398cff4209081f"
dependencies:
babel-jest "^21.2.0"
deep-equal "^1.0.1"
es6-error "^4.0.0"
hoist-non-react-statics "^2.2.1"
hoist-non-react-statics "^2.3.1"
invariant "^2.2.2"
is-promise "^2.1.0"
lodash "^4.17.3"
......@@ -8799,8 +8720,8 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
ua-parser-js@^0.7.9:
version "0.7.14"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.14.tgz#110d53fa4c3f326c121292bbeac904d2e03387ca"
version "0.7.17"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.17.tgz#e9ec5f9498b9ec910e7ae3ac626a805c4d09ecac"
uglify-js@3.1.x:
version "3.1.3"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment