@sapphire/timestamp 1.0.1-next.4c349bf.0 β 1.0.1-next.4e4c8d3.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 +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.global.js +1 -2
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -207,6 +207,13 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
207
207
|
<td align="center"><a href="https://enes.ovh/"><img src="https://avatars.githubusercontent.com/u/61084101?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Enes GenΓ§</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=enxg" title="Code">π»</a></td>
|
|
208
208
|
<td align="center"><a href="https://github.com/muchnameless"><img src="https://avatars.githubusercontent.com/u/12682826?v=4?s=100" width="100px;" alt=""/><br /><sub><b>muchnameless</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=muchnameless" title="Code">π»</a></td>
|
|
209
209
|
<td align="center"><a href="https://github.com/r-priyam"><img src="https://avatars.githubusercontent.com/u/50884372?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Priyam</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=r-priyam" title="Code">π»</a></td>
|
|
210
|
+
<td align="center"><a href="https://github.com/legendhimslef"><img src="https://avatars.githubusercontent.com/u/69213593?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Voxelli</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=legendhimslef" title="Code">π»</a></td>
|
|
211
|
+
<td align="center"><a href="https://github.com/CitTheDev"><img src="https://avatars.githubusercontent.com/u/94020875?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Cit The Dev</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=CitTheDev" title="Code">π»</a></td>
|
|
212
|
+
</tr>
|
|
213
|
+
<tr>
|
|
214
|
+
<td align="center"><a href="https://www.goestav.com/"><img src="https://avatars.githubusercontent.com/u/27970303?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Goestav</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=goestav" title="Code">π»</a></td>
|
|
215
|
+
<td align="center"><a href="https://github.com/didinele"><img src="https://avatars.githubusercontent.com/u/27137376?v=4?s=100" width="100px;" alt=""/><br /><sub><b>DD</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=didinele" title="Code">π»</a></td>
|
|
216
|
+
<td align="center"><a href="https://steamcommunity.com/id/06000208"><img src="https://avatars.githubusercontent.com/u/52764066?v=4?s=100" width="100px;" alt=""/><br /><sub><b>amber</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=06000208" title="Code">π»</a></td>
|
|
210
217
|
</tr>
|
|
211
218
|
</table>
|
|
212
219
|
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const days: string[];
|
|
|
11
11
|
declare const months: string[];
|
|
12
12
|
declare const tokens: Map<string, number>;
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
type TimeResolvable = Date | number | string;
|
|
15
15
|
interface TimestampTemplateEntry {
|
|
16
16
|
type: string;
|
|
17
17
|
content: string | null;
|
package/dist/index.global.js
CHANGED
|
@@ -217,9 +217,8 @@ var SapphireTimestamp = (function (exports) {
|
|
|
217
217
|
exports.months = months;
|
|
218
218
|
exports.tokens = tokens;
|
|
219
219
|
|
|
220
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
221
|
-
|
|
222
220
|
return exports;
|
|
223
221
|
|
|
224
222
|
})({});
|
|
223
|
+
//# sourceMappingURL=out.js.map
|
|
225
224
|
//# sourceMappingURL=index.global.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var __defProp = Object.defineProperty;
|
|
6
4
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
5
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
@@ -217,4 +215,5 @@ exports.Timestamp = Timestamp;
|
|
|
217
215
|
exports.days = days;
|
|
218
216
|
exports.months = months;
|
|
219
217
|
exports.tokens = tokens;
|
|
218
|
+
//# sourceMappingURL=out.js.map
|
|
220
219
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/timestamp",
|
|
3
|
-
"version": "1.0.1-next.
|
|
3
|
+
"version": "1.0.1-next.4e4c8d3.0",
|
|
4
4
|
"description": "A timestamp utility library for JavaScript.",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@favware/cliff-jumper": "^1.
|
|
61
|
-
"@vitest/coverage-c8": "^0.
|
|
62
|
-
"tsup": "^6.
|
|
63
|
-
"typedoc": "^0.23.
|
|
64
|
-
"typedoc-json-parser": "^
|
|
65
|
-
"typescript": "^4.
|
|
66
|
-
"vitest": "^0.
|
|
60
|
+
"@favware/cliff-jumper": "^1.9.0",
|
|
61
|
+
"@vitest/coverage-c8": "^0.25.8",
|
|
62
|
+
"tsup": "^6.5.0",
|
|
63
|
+
"typedoc": "^0.23.23",
|
|
64
|
+
"typedoc-json-parser": "^7.0.2",
|
|
65
|
+
"typescript": "^4.9.4",
|
|
66
|
+
"vitest": "^0.25.8"
|
|
67
67
|
}
|
|
68
68
|
}
|