@sapphire/stopwatch 1.2.3 → 1.2.5-next.f178b6d.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
- [Installation](#installation)
|
|
21
21
|
- [Usage](#usage)
|
|
22
22
|
- [Basic Usage](#basic-usage)
|
|
23
|
-
- [API Documentation](#api-documentation)
|
|
24
23
|
- [Buy us some doughnuts](#buy-us-some-doughnuts)
|
|
25
24
|
- [Contributors ✨](#contributors-%E2%9C%A8)
|
|
26
25
|
|
|
@@ -47,7 +46,7 @@ npm install @sapphire/stopwatch
|
|
|
47
46
|
|
|
48
47
|
### Basic Usage
|
|
49
48
|
|
|
50
|
-
```
|
|
49
|
+
```typescript
|
|
51
50
|
// Import the Stopwatch class
|
|
52
51
|
const { Stopwatch } = require('@sapphire/stopwatch');
|
|
53
52
|
|
|
@@ -62,10 +61,6 @@ console.log(stopwatch.stop().toString());
|
|
|
62
61
|
|
|
63
62
|
---
|
|
64
63
|
|
|
65
|
-
## API Documentation
|
|
66
|
-
|
|
67
|
-
For the full API documentation please refer to the TypeDoc generated [documentation](https://sapphiredev.github.io/utilities/modules/_sapphire_stopwatch.html).
|
|
68
|
-
|
|
69
64
|
## Buy us some doughnuts
|
|
70
65
|
|
|
71
66
|
Sapphire Community is and always will be open source, even if we don't get donations. That being said, we know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!
|
|
@@ -112,6 +107,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
112
107
|
<td align="center"><a href="https://github.com/nandhagk"><img src="https://avatars.githubusercontent.com/u/62976649?v=4?s=100" width="100px;" alt=""/><br /><sub><b>nandhagk</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/issues?q=author%3Anandhagk" title="Bug reports">🐛</a></td>
|
|
113
108
|
<td align="center"><a href="https://megatank58.me/"><img src="https://avatars.githubusercontent.com/u/51410502?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Megatank58</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=Megatank58" title="Code">💻</a></td>
|
|
114
109
|
<td align="center"><a href="https://github.com/UndiedGamer"><img src="https://avatars.githubusercontent.com/u/84702365?v=4?s=100" width="100px;" alt=""/><br /><sub><b>UndiedGamer</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=UndiedGamer" title="Code">💻</a></td>
|
|
110
|
+
<td align="center"><a href="https://github.com/Lioness100"><img src="https://avatars.githubusercontent.com/u/65814829?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Lioness100</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=Lioness100" title="Documentation">📖</a> <a href="https://github.com/sapphiredev/utilities/commits?author=Lioness100" title="Code">💻</a></td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tr>
|
|
113
|
+
<td align="center"><a href="https://gitlab.com/DavidPH/"><img src="https://avatars.githubusercontent.com/u/44669930?v=4?s=100" width="100px;" alt=""/><br /><sub><b>David</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=DavidPHH" title="Code">💻</a></td>
|
|
115
114
|
</tr>
|
|
116
115
|
</table>
|
|
117
116
|
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,qBAAa,SAAS;;IACrB;;OAEG;IACI,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,qBAAa,SAAS;;IACrB;;OAEG;IACI,MAAM,EAAE,MAAM,CAAC;IAYtB;;OAEG;gBACgB,MAAM,SAAI;IAM7B;;OAEG;IACH,IAAW,QAAQ,IAAI,MAAM,CAE5B;IAED;;OAEG;IACH,IAAW,OAAO,IAAI,OAAO,CAE5B;IAED;;OAEG;IACI,OAAO,IAAI,IAAI;IAMtB;;OAEG;IACI,KAAK,IAAI,IAAI;IAMpB;;OAEG;IACI,KAAK,IAAI,IAAI;IASpB;;OAEG;IACI,IAAI,IAAI,IAAI;IAKnB;;OAEG;IACI,QAAQ,IAAI,MAAM;CAMzB"}
|
package/dist/index.js
CHANGED
|
@@ -24,12 +24,10 @@ class Stopwatch {
|
|
|
24
24
|
/**
|
|
25
25
|
* The start time of this stopwatch
|
|
26
26
|
*/
|
|
27
|
-
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
|
|
28
27
|
_Stopwatch_start.set(this, void 0);
|
|
29
28
|
/**
|
|
30
29
|
* The end time of this stopwatch
|
|
31
30
|
*/
|
|
32
|
-
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
|
|
33
31
|
_Stopwatch_end.set(this, void 0);
|
|
34
32
|
this.digits = digits;
|
|
35
33
|
(0, tslib_1.__classPrivateFieldSet)(this, _Stopwatch_start, perf_hooks_1.performance.now(), "f");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,2CAAyC;AAEzC;;GAEG;AACH,MAAa,SAAS;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,2CAAyC;AAEzC;;GAEG;AACH,MAAa,SAAS;IAgBrB;;OAEG;IACH,YAAmB,MAAM,GAAG,CAAC;QAlB7B;;WAEG;QACH;;;;;WAAsB;QAEtB;;WAEG;QACH,mCAAe;QAEf;;WAEG;QACH,iCAAoB;QAMnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,oCAAA,IAAI,oBAAU,wBA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I,IAAI,IAAI,IAAI;YAAE,OAAO,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;QAClE,IAAI,IAAI,IAAI,CAAC;YAAE,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;QACvD,OAAO,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;IAClD,CAAC;CACD;AAtFD,8BAsFC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/stopwatch",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5-next.f178b6d.0",
|
|
4
4
|
"description": "Accurately measure passing time.",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "f178b6dcc93f17b030b4af188ec388fe49e12f48"
|
|
57
57
|
}
|