Skip to content

Commit

Permalink
chore(deps): upgrade all deps and fix vulns
Browse files Browse the repository at this point in the history
  • Loading branch information
tdd committed Jan 21, 2020
1 parent 8354ab2 commit 2fc34b6
Show file tree
Hide file tree
Showing 7 changed files with 2,678 additions and 2,476 deletions.
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Jest Tests",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--inspect-brk",
"${workspaceFolder}/node_modules/.bin/jest",
"--runInBand",
"--watch"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229,
"skipFiles": ["<node_internals>/**"]
}
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"**/.DS_Store": true,
"**/node_modules": true
},
"prettier.eslintIntegration": true,
"prettier.arrowParens": "always",
"prettier.jsxSingleQuote": true,
"prettier.singleQuote": true,
"prettier.trailingComma": "es5",
"prettier.semi": false,
Expand Down
5 changes: 4 additions & 1 deletion examples/mongoose-demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ async function demoInsertions(User) {
console.log('Saved user:', user2.toJSON())
// 3. insertMany
const users = await User.insertMany([attrs, attrs])
console.log('insertMany users:', users.map((u) => u.toJSON()))
console.log(
'insertMany users:',
users.map((u) => u.toJSON())
)
}

async function demoScenario() {
Expand Down
Loading

0 comments on commit 2fc34b6

Please sign in to comment.