New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cassiopeia

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cassiopeia - npm Package Compare versions

Comparing version 5.4.0 to 5.4.1

26

lib/browser/index.js

@@ -17,4 +17,4 @@ // src/constants.ts

const value = values.get(key);
if (value === void 0) {
cache.set(key, void 0);
if (value === undefined) {
cache.set(key, undefined);
return;

@@ -49,5 +49,5 @@ }

const sourceIndex = findLastIndex(log, (value) => value.type === 1 /* UpdateSource */);
const createVariables = sourceIndex === -1 ? void 0 : log[sourceIndex].createVariables;
const variables = createVariables === void 0 ? void 0 : createVariables();
const hasVariables = variables !== void 0;
const createVariables = sourceIndex === -1 ? undefined : log[sourceIndex].createVariables;
const variables = createVariables === undefined ? undefined : createVariables();
const hasVariables = variables !== undefined;
if (hasVariables) {

@@ -71,3 +71,3 @@ store.cache.clear();

const iterator = iterators.get(name);
if (iterator === void 0) {
if (iterator === undefined) {
continue;

@@ -81,3 +81,3 @@ }

for (const iterator of iterators.values()) {
if (iterator !== void 0) {
if (iterator !== undefined) {
iterator.next(true);

@@ -89,5 +89,5 @@ }

for (const [name, iterator] of iterators.entries()) {
if (iterator !== void 0) {
if (iterator !== undefined) {
const { done, value } = iterator.next(true);
if (done === true && value !== void 0) {
if (done === true && value !== undefined) {
Array.isArray(value) ? accumulator.push(...value.map((value2) => ({ key: 0, ...value2, name }))) : accumulator.push({ key: 0, ...value, name });

@@ -131,3 +131,3 @@ }

const { value } = iteratorResult;
const success = value !== void 0;
const success = value !== undefined;
if (success) {

@@ -140,3 +140,3 @@ store.subscriptions.forEach((subscription) => {

store.state = 1 /* None */;
store.matcher = void 0;
store.matcher = undefined;
return success;

@@ -154,3 +154,3 @@ }

if (store.state === 3 /* Running */) {
store.matcher = void 0;
store.matcher = undefined;
store.state = 1 /* None */;

@@ -194,3 +194,3 @@ }

log: [],
matcher: void 0,
matcher: undefined,
rate,

@@ -197,0 +197,0 @@ state: 0 /* Locked */,

@@ -17,4 +17,4 @@ // src/constants.ts

const value = values.get(key);
if (value === void 0) {
cache.set(key, void 0);
if (value === undefined) {
cache.set(key, undefined);
return;

@@ -49,5 +49,5 @@ }

const sourceIndex = findLastIndex(log, (value) => value.type === 1 /* UpdateSource */);
const createVariables = sourceIndex === -1 ? void 0 : log[sourceIndex].createVariables;
const variables = createVariables === void 0 ? void 0 : createVariables();
const hasVariables = variables !== void 0;
const createVariables = sourceIndex === -1 ? undefined : log[sourceIndex].createVariables;
const variables = createVariables === undefined ? undefined : createVariables();
const hasVariables = variables !== undefined;
if (hasVariables) {

@@ -71,3 +71,3 @@ store.cache.clear();

const iterator = iterators.get(name);
if (iterator === void 0) {
if (iterator === undefined) {
continue;

@@ -81,3 +81,3 @@ }

for (const iterator of iterators.values()) {
if (iterator !== void 0) {
if (iterator !== undefined) {
iterator.next(true);

@@ -89,5 +89,5 @@ }

for (const [name, iterator] of iterators.entries()) {
if (iterator !== void 0) {
if (iterator !== undefined) {
const { done, value } = iterator.next(true);
if (done === true && value !== void 0) {
if (done === true && value !== undefined) {
Array.isArray(value) ? accumulator.push(...value.map((value2) => ({ key: 0, ...value2, name }))) : accumulator.push({ key: 0, ...value, name });

@@ -131,3 +131,3 @@ }

const { value } = iteratorResult;
const success = value !== void 0;
const success = value !== undefined;
if (success) {

@@ -140,3 +140,3 @@ store.subscriptions.forEach((subscription) => {

store.state = 1 /* None */;
store.matcher = void 0;
store.matcher = undefined;
return success;

@@ -154,3 +154,3 @@ }

if (store.state === 3 /* Running */) {
store.matcher = void 0;
store.matcher = undefined;
store.state = 1 /* None */;

@@ -194,3 +194,3 @@ }

log: [],
matcher: void 0,
matcher: undefined,
rate,

@@ -197,0 +197,0 @@ state: 0 /* Locked */,

{
"name": "cassiopeia",
"description": "",
"version": "5.4.0",
"version": "5.4.1",
"author": {

@@ -12,18 +12,18 @@ "name": "escapace",

"@ls-lint/ls-lint": "2.2.3",
"@types/node": "22.10.1",
"@vitest/coverage-v8": "2.1.6",
"eslint": "9.15.0",
"eslint-config-escapace": "5.3.1",
"esroll": "0.3.0",
"jsdom": "25.0.1",
"prettier": "3.4.1",
"@types/node": "22.13.1",
"@vitest/coverage-v8": "3.0.5",
"eslint": "9.19.0",
"eslint-config-escapace": "5.4.2",
"esroll": "0.4.0",
"jsdom": "26.0.0",
"prettier": "3.4.2",
"prettier-config-escapace": "1.2.1",
"syncpack": "13.0.0",
"syncpack": "13.0.2",
"tsx": "4.19.2",
"typescript": "5.7.2",
"vitest": "2.1.6"
"typescript": "5.7.3",
"vitest": "3.0.5"
},
"engines": {
"node": ">=20.15.0",
"pnpm": ">=9.11.0"
"node": ">=22.13.1",
"pnpm": ">=9.15.4"
},

@@ -30,0 +30,0 @@ "exports": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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