Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

spica

Package Overview
Dependencies
Maintainers
1
Versions
804
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spica - npm Package Compare versions

Comparing version 0.0.763 to 0.0.764

39

ascii.xpack.ts

@@ -286,19 +286,18 @@ import { min } from './alias';

const HUFFMAN_64_CODES = new Uint16Array(128).map((_, i) => {
// 62|0b1111_100
// 63|0b1111_101
// 64|0b1111_1100_000
// 94|0b1111_1111_1100
// 95|0b1111_1111_1101
// 96|0b1111_1111_1110_0000
// 62|0b1111_1000
// 63|0b1111_1001
// 64|0b1111_1010
// 65|0b1111_1011
// 66|0b1111_1100_000
// 95|0b1111_1111_101
// 96|0b1111_1111_1100_000
switch (true) {
case i < 62:
return i;
case i < 64:
return 0b1111_10 << 1 | i - 62;
case i < 94:
return 0b1111_11 << 5 | i - 64;
case i < 66:
return 0b1111_10 << 2 | i - 62;
case i < 96:
return 0b1111_1111_11 << 2 | i - 94;
return 0b1111_11 << 5 | i - 66;
default:
return 0b1111_1111_111 << 5 | i - 95;
return 0b1111_1111_11 << 5 | i - 96;
}

@@ -310,10 +309,8 @@ });

return 6;
case i < 64:
return 7;
case i < 94:
case i < 66:
return 8;
case i < 96:
return 11;
case i < 96:
return 12;
default:
return 16;
return 15;
}

@@ -326,3 +323,3 @@ });

const SYMBOLS_2A = '~#!?$<>\\^`|\t';
const SYMBOLS_1T = `/+= :%-.,;'"{}[]_&*@()\n`;
const SYMBOLS_1T = `+/-_= :%.,;'"{}[]&*@()\n`;
const CONTROLS = [...Array(32)].reduce<string>((acc, _, i) =>

@@ -438,3 +435,3 @@ '\n\t'.includes(String.fromCharCode(i)) ? acc : acc + String.fromCharCode(i), '') + '\x7f';

case Segment.Other:
if (table === ENC_TABLE_64 && (code === 0x2b || code === 0x2d || code === 0x2f || code === 0x3d || code === 0x5f)) return table;
if (table === ENC_TABLE_64 && (code === 0x2b || code === 0x2d || code === 0x2f || code === 0x5f)) return table;
numstate = false;

@@ -499,3 +496,3 @@ switch (segment(base)) {

case Segment.Other:
if (table === DEC_TABLE_64 && (code === 0x2b || code === 0x2d || code === 0x2f || code === 0x3d || code === 0x5f)) return table;
if (table === DEC_TABLE_64 && (code === 0x2b || code === 0x2d || code === 0x2f || code === 0x5f)) return table;
numstate = false;

@@ -502,0 +499,0 @@ switch (segment(base)) {

@@ -34,6 +34,14 @@ import { ceil, log2 } from './alias';

private mark(index: number): void {
this.refs[index >>> DIGIT] |= 1 << (index & MASK);
const i = index >>> DIGIT;
const before = this.refs[i];
const after = before | 1 << (index & MASK);
if (after === before) return;
this.refs[i] = after;
}
private unmark(index: number): void {
this.refs[index >>> DIGIT] &= ~(1 << (index & MASK));
const i = index >>> DIGIT;
const before = this.refs[i];
const after = before & ~(1 << (index & MASK));
if (after === before) return;
this.refs[i] = after;
}

@@ -40,0 +48,0 @@ private initial: 1 | 0 = 1;

{
"name": "spica",
"version": "0.0.763",
"version": "0.0.764",
"description": "Supervisor, Coroutine, Channel, select, AtomicPromise, Cancellation, Cache, List, Queue, Stack, and some utils.",

@@ -5,0 +5,0 @@ "private": false,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc