uuid-cbr 0.0.2 → 0.0.3

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +18 -18
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const crypto = require("crypto");
2
- const winEpoch = new Date("01-01-1601 UTC").getTime();
2
+ const winEpoch = new Date(Date.UTC(1601, 0, 1)).getTime();
3
3
 
4
4
  const random = (min, max) => {
5
5
  return Math.floor(Math.random() * (max - min + 1) + min);
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
- {
2
- "name": "uuid-cbr",
3
- "version": "0.0.2",
4
- "description": "Js библиотека для генирации uuid по требованию ЦБ",
5
- "keywords": [
6
- "uuid",
7
- "ЦБ",
8
- "cb",
9
- "cbr"
10
- ],
11
- "main": "index.js",
12
- "author": "kdinisv",
13
- "repository": {
14
- "type": "git",
15
- "url": "https://github.com/kdinisv/uuid-cbr"
16
- },
17
- "license": "MIT"
18
- }
1
+ {
2
+ "name": "uuid-cbr",
3
+ "version": "0.0.3",
4
+ "description": "Js библиотека для генирации uuid по требованию ЦБ",
5
+ "keywords": [
6
+ "uuid",
7
+ "ЦБ",
8
+ "cb",
9
+ "cbr"
10
+ ],
11
+ "main": "index.js",
12
+ "author": "kdinisv",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/kdinisv/uuid-cbr"
16
+ },
17
+ "license": "MIT"
18
+ }