update and pin all deps (#164)

This commit is contained in:
Nolan Lawson 2018-04-18 20:43:13 -07:00 committed by GitHub
parent 2e6e743ff5
commit e431c29efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 2047 additions and 2033 deletions

3800
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -32,61 +32,60 @@
"backup-mastodon-data": "pg_dump -Fc mastodon_development > fixtures/dump.sql && cd mastodon/public/system && tar -czf ../../../fixtures/system.tgz ."
},
"dependencies": {
"@gamestdio/websocket": "^0.2.2",
"a11y-dialog": "^4.0.1",
"cheerio": "^1.0.0-rc.2",
"child-process-promise": "^2.2.1",
"chokidar": "^2.0.0",
"compression": "^1.7.1",
"cross-env": "^5.1.3",
"css-loader": "^0.28.7",
"escape-html": "^1.0.3",
"esm": "^3.0.12",
"events": "^2.0.0",
"express": "^4.16.2",
"fg-loadcss": "^2.0.1",
"file-api": "^0.10.4",
"font-awesome-svg-png": "^1.2.2",
"form-data": "^2.3.2",
"glob": "^7.1.2",
"helmet": "^3.12.0",
"indexeddb-getall-shim": "^1.3.1",
"intersection-observer": "^0.5.0",
"lodash": "^4.17.5",
"lodash-es": "^4.17.8",
"lodash-webpack-plugin": "^0.11.4",
"mini-css-extract-plugin": "^0.4.0",
"mkdirp": "^0.5.1",
"node-fetch": "^2.1.2",
"node-sass": "^4.7.2",
"npm-run-all": "^4.1.2",
"optimize-css-assets-webpack-plugin": "^4.0.0",
"p-any": "^1.1.0",
"performance-now": "^2.1.0",
"pify": "^3.0.0",
"quick-lru": "^1.1.0",
"requestidlecallback": "^0.3.0",
"@gamestdio/websocket": "0.2.5",
"a11y-dialog": "4.0.1",
"cheerio": "1.0.0-rc.2",
"child-process-promise": "2.2.1",
"chokidar": "2.0.3",
"compression": "1.7.2",
"cross-env": "5.1.4",
"css-loader": "0.28.11",
"escape-html": "1.0.3",
"esm": "3.0.19",
"events": "2.0.0",
"express": "4.16.3",
"fg-loadcss": "2.0.1",
"file-api": "0.10.4",
"font-awesome-svg-png": "1.2.2",
"form-data": "2.3.2",
"glob": "7.1.2",
"helmet": "3.12.0",
"indexeddb-getall-shim": "1.3.3",
"intersection-observer": "0.5.0",
"lodash-es": "4.17.8",
"lodash-webpack-plugin": "0.11.5",
"mini-css-extract-plugin": "0.4.0",
"mkdirp": "0.5.1",
"node-fetch": "2.1.2",
"node-sass": "4.7.2",
"npm-run-all": "4.1.2",
"optimize-css-assets-webpack-plugin": "4.0.0",
"p-any": "1.1.0",
"performance-now": "2.1.0",
"pify": "3.0.0",
"quick-lru": "1.1.0",
"requestidlecallback": "0.3.0",
"sapper": "github:nolanlawson/sapper#for-pinafore-3",
"serve-static": "^1.13.1",
"stringz": "^1.0.0",
"style-loader": "^0.21.0",
"svelte": "^1.57.4",
"svelte-extras": "^2.0.0",
"svelte-loader": "^2.3.3",
"svelte-transitions": "^1.1.1",
"svgo": "^1.0.3",
"timeago.js": "^3.0.2",
"tiny-queue": "^0.2.1",
"uglifyjs-webpack-plugin": "^1.2.4",
"web-animations-js": "^2.3.1",
"webpack": "^4.5.0",
"webpack-bundle-analyzer": "^2.11.1",
"yargs": "^11.0.0"
"serve-static": "1.13.2",
"stringz": "1.0.0",
"style-loader": "0.21.0",
"svelte": "1.64.1",
"svelte-extras": "2.0.0",
"svelte-loader": "2.8.1",
"svelte-transitions": "1.1.1",
"svgo": "1.0.5",
"timeago.js": "3.0.2",
"tiny-queue": "0.2.1",
"uglifyjs-webpack-plugin": "1.2.5",
"web-animations-js": "2.3.1",
"webpack": "4.6.0",
"webpack-bundle-analyzer": "2.11.1",
"yargs": "11.0.0"
},
"devDependencies": {
"now": "^11.1.4",
"standard": "^10.0.3",
"testcafe": "^0.19.0"
"now": "11.1.7",
"standard": "11.0.1",
"testcafe": "0.19.1"
},
"engines": {
"node": ">= 8"
@ -151,8 +150,7 @@
},
"greenkeeper": {
"ignore": [
"sapper",
"standard"
"sapper"
]
}
}

View File

@ -1,4 +1,4 @@
import times from 'lodash/times'
import { times } from './utils'
export const homeTimeline = [
{content: 'pinned toot 1'},

View File

@ -2,10 +2,10 @@ import { Selector as $ } from 'testcafe'
import {
composeButton, composeInput, composeLengthIndicator, emojiButton, getComposeSelectionStart, getUrl,
homeNavButton,
notificationsNavButton
notificationsNavButton,
times
} from '../utils'
import { foobarRole } from '../roles'
import times from 'lodash/times'
fixture`012-compose.js`
.page`http://localhost:4002`

View File

@ -290,3 +290,13 @@ export async function clickToNotificationsAndBackHome (t) {
.click(homeNavButton)
.expect(getUrl()).eql('http://localhost:4002/')
}
// like lodash.times but I don't want to try to figure out esm
// just to import lodash-es
export function times (n, cb) {
let arr = []
for (let i = 0; i < n; i++) {
arr.push(cb(i))
}
return arr
}