🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

signia

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

signia - npm Package Compare versions

Comparing version

to
0.0.12

9

dist/capture.js

@@ -29,2 +29,11 @@ "use strict";

var import_helpers = require("./helpers");
const signiaKey = Symbol.for("__signia__");
const global = globalThis;
if (global[signiaKey]) {
console.error(
'Multiple versions of signia detected. This will cause unexpected behavior. Please add "resolutions" (yarn/pnpm) or "overrides" (npm) in your package.json to ensure only one version of signia is loaded.'
);
} else {
global[signiaKey] = true;
}
class CaptureStackFrame {

@@ -31,0 +40,0 @@ constructor(below, child) {

4

package.json

@@ -5,3 +5,3 @@ {

"description": "A tiny little drawing reactive state management library.",
"version": "0.0.11",
"version": "0.0.12",
"author": "tldraw GB Ltd.",

@@ -41,3 +41,3 @@ "license": "MIT",

},
"gitHead": "3875fe6eb82158af8ff01ff62c208be76b54c8fd",
"gitHead": "f4641f847d91af543a10833dd48c7a197ce1e840",
"module": "dist/index.mjs",

@@ -44,0 +44,0 @@ "source": "src/index.ts",

import { attach, detach } from './helpers'
import { Child, Signal } from './types'
const signiaKey = Symbol.for('__signia__')
const global = globalThis as { [signiaKey]?: true }
if (global[signiaKey]) {
console.error(
'Multiple versions of signia detected. This will cause unexpected behavior. Please add "resolutions" (yarn/pnpm) or "overrides" (npm) in your package.json to ensure only one version of signia is loaded.'
)
} else {
global[signiaKey] = true
}
class CaptureStackFrame {

@@ -5,0 +16,0 @@ offset = 0

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet