Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/fastify/avvio into next
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Mar 26, 2024
2 parents 9f7e970 + 7207f16 commit b6ff57b
Show file tree
Hide file tree
Showing 30 changed files with 707 additions and 230 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Set default behavior to automatically convert line endings
* text=auto eol=lf
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,6 @@ yarn.lock
# editor files
.vscode
.idea

#tap files
.tap/
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
MIT License

Copyright (c) 2020-2023 The Fastify Team
Copyright (c) 2016-2020 Matteo Collina

The Fastify team members are listed at https://github.com/fastify/fastify#team.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ It allows the creation of an inheritance chain for the server instances.
The first parameter is the server instance and the second is the plugin function while the third is the options object that you give to use.

```js
const assert = require('assert')
const assert = require('node:assert')
const server = { count: 0 }
const app = require('avvio')(server)

Expand Down Expand Up @@ -597,11 +597,11 @@ avvio.on('preReady', () => {
The output is like this:
```json
{
"label": "bound root",
"label": "root",
"start": 1550245184665,
"nodes": [
{
"parent": "bound root",
"parent": "root",
"start": 1550245184665,
"label": "first",
"nodes": [
Expand All @@ -618,7 +618,7 @@ The output is like this:
"diff": 44
},
{
"parent": "bound root",
"parent": "root",
"start": 1550245184709,
"label": "third",
"nodes": [],
Expand Down Expand Up @@ -666,4 +666,4 @@ This project was kindly sponsored by [nearForm](https://nearform.com).
Copyright Matteo Collina 2016-2020, Licensed under [MIT][].

[MIT]: ./LICENSE
[example]: ./example.js
[example]: ./examples/example.js
Loading

0 comments on commit b6ff57b

Please sign in to comment.