cafe-utility 26.2.0 → 26.2.1

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 +26 -21
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1496,7 +1496,12 @@ const dateUnits = {
1496
1496
  days: 864e5,
1497
1497
  w: 6048e5,
1498
1498
  week: 6048e5,
1499
- weeks: 6048e5
1499
+ weeks: 6048e5,
1500
+ month: 2592e6,
1501
+ months: 2592e6,
1502
+ y: 31536e6,
1503
+ year: 31536e6,
1504
+ years: 31536e6
1500
1505
  }
1501
1506
  function makeDate(n) {
1502
1507
  const e = parseFloat(n)
@@ -2174,8 +2179,8 @@ function keccakPermutate(n) {
2174
2179
  g = r ^ An,
2175
2180
  Mn = (c << 1) | (f >>> 31),
2176
2181
  On = (f << 1) | (c >>> 31),
2177
- w = o ^ Mn,
2178
- y = i ^ On,
2182
+ y = o ^ Mn,
2183
+ w = i ^ On,
2179
2184
  En = (l << 1) | (a >>> 31),
2180
2185
  Tn = (a << 1) | (l >>> 31),
2181
2186
  x = u ^ En,
@@ -2188,8 +2193,8 @@ function keccakPermutate(n) {
2188
2193
  (n[1] ^= d),
2189
2194
  (n[2] ^= m),
2190
2195
  (n[3] ^= g),
2191
- (n[4] ^= w),
2192
- (n[5] ^= y),
2196
+ (n[4] ^= y),
2197
+ (n[5] ^= w),
2193
2198
  (n[6] ^= x),
2194
2199
  (n[7] ^= b),
2195
2200
  (n[8] ^= $),
@@ -2198,8 +2203,8 @@ function keccakPermutate(n) {
2198
2203
  (n[11] ^= d),
2199
2204
  (n[12] ^= m),
2200
2205
  (n[13] ^= g),
2201
- (n[14] ^= w),
2202
- (n[15] ^= y),
2206
+ (n[14] ^= y),
2207
+ (n[15] ^= w),
2203
2208
  (n[16] ^= x),
2204
2209
  (n[17] ^= b),
2205
2210
  (n[18] ^= $),
@@ -2208,8 +2213,8 @@ function keccakPermutate(n) {
2208
2213
  (n[21] ^= d),
2209
2214
  (n[22] ^= m),
2210
2215
  (n[23] ^= g),
2211
- (n[24] ^= w),
2212
- (n[25] ^= y),
2216
+ (n[24] ^= y),
2217
+ (n[25] ^= w),
2213
2218
  (n[26] ^= x),
2214
2219
  (n[27] ^= b),
2215
2220
  (n[28] ^= $),
@@ -2218,8 +2223,8 @@ function keccakPermutate(n) {
2218
2223
  (n[31] ^= d),
2219
2224
  (n[32] ^= m),
2220
2225
  (n[33] ^= g),
2221
- (n[34] ^= w),
2222
- (n[35] ^= y),
2226
+ (n[34] ^= y),
2227
+ (n[35] ^= w),
2223
2228
  (n[36] ^= x),
2224
2229
  (n[37] ^= b),
2225
2230
  (n[38] ^= $),
@@ -2228,8 +2233,8 @@ function keccakPermutate(n) {
2228
2233
  (n[41] ^= d),
2229
2234
  (n[42] ^= m),
2230
2235
  (n[43] ^= g),
2231
- (n[44] ^= w),
2232
- (n[45] ^= y),
2236
+ (n[44] ^= y),
2237
+ (n[45] ^= w),
2233
2238
  (n[46] ^= x),
2234
2239
  (n[47] ^= b),
2235
2240
  (n[48] ^= $),
@@ -2281,18 +2286,18 @@ function keccakPermutate(n) {
2281
2286
  dn = (n[45] << 29) | (n[44] >>> 3),
2282
2287
  mn = (n[44] << 29) | (n[45] >>> 3),
2283
2288
  gn = (n[47] << 24) | (n[46] >>> 8),
2284
- wn = (n[46] << 24) | (n[47] >>> 8),
2285
- yn = (n[48] << 14) | (n[49] >>> 18),
2289
+ yn = (n[46] << 24) | (n[47] >>> 8),
2290
+ wn = (n[48] << 14) | (n[49] >>> 18),
2286
2291
  xn = (n[49] << 14) | (n[48] >>> 18)
2287
2292
  ;(n[0] = M ^ (~N & K)),
2288
2293
  (n[1] = O ^ (~B & Z)),
2289
2294
  (n[2] = N ^ (~K & un)),
2290
2295
  (n[3] = B ^ (~Z & cn)),
2291
- (n[4] = K ^ (~un & yn)),
2296
+ (n[4] = K ^ (~un & wn)),
2292
2297
  (n[5] = Z ^ (~cn & xn)),
2293
- (n[6] = un ^ (~yn & M)),
2298
+ (n[6] = un ^ (~wn & M)),
2294
2299
  (n[7] = cn ^ (~xn & O)),
2295
- (n[8] = yn ^ (~M & N)),
2300
+ (n[8] = wn ^ (~M & N)),
2296
2301
  (n[9] = xn ^ (~O & B)),
2297
2302
  (n[10] = R ^ (~q & H)),
2298
2303
  (n[11] = S ^ (~W & V)),
@@ -2319,11 +2324,11 @@ function keccakPermutate(n) {
2319
2324
  (n[32] = L ^ (~v & rn)),
2320
2325
  (n[33] = P ^ (~J & on)),
2321
2326
  (n[34] = v ^ (~rn & gn)),
2322
- (n[35] = J ^ (~on & wn)),
2327
+ (n[35] = J ^ (~on & yn)),
2323
2328
  (n[36] = rn ^ (~gn & C)),
2324
- (n[37] = on ^ (~wn & I)),
2329
+ (n[37] = on ^ (~yn & I)),
2325
2330
  (n[38] = gn ^ (~C & L)),
2326
- (n[39] = wn ^ (~I & P)),
2331
+ (n[39] = yn ^ (~I & P)),
2327
2332
  (n[40] = k ^ (~F & G)),
2328
2333
  (n[41] = D ^ (~z & Y)),
2329
2334
  (n[42] = F ^ (~G & X)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cafe-utility",
3
- "version": "26.2.0",
3
+ "version": "26.2.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "exports": {