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

@statsig/client-core

Package Overview
Dependencies
Maintainers
4
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statsig/client-core - npm Package Compare versions

Comparing version 0.0.1-beta.20 to 0.0.1-beta.21

2

package.json
{
"name": "@statsig/client-core",
"version": "0.0.1-beta.20",
"version": "0.0.1-beta.21",
"dependencies": {},

@@ -5,0 +5,0 @@ "type": "commonjs",

@@ -0,4 +1,5 @@

import { StatsigClientInterface } from "./ClientInterfaces";
export type StatsigGlobal = {
[key: string]: unknown;
instances?: Set<unknown>;
instances?: Record<string, StatsigClientInterface>;
};

@@ -5,0 +6,0 @@ declare global {

"use strict";
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
var _a, _b, _c;

@@ -3,0 +5,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -24,4 +24,4 @@ "use strict";

__STATSIG__ = __STATSIG__ !== null && __STATSIG__ !== void 0 ? __STATSIG__ : {};
const instances = (_c = __STATSIG__.instances) !== null && _c !== void 0 ? _c : new Set();
instances.add(this);
const instances = (_c = __STATSIG__.instances) !== null && _c !== void 0 ? _c : {};
instances[_sdkKey] = this;
__STATSIG__.instances = instances;

@@ -28,0 +28,0 @@ this.dataAdapter = adapter;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StatsigMetadataProvider = void 0;
const SDK_VERSION = '0.0.1-beta.20';
const SDK_VERSION = '0.0.1-beta.21';
let metadata = {

@@ -6,0 +6,0 @@ sdkVersion: SDK_VERSION,

@@ -5,2 +5,6 @@ "use strict";

function getUUID() {
if (typeof crypto !== 'undefined' &&
typeof crypto.randomUUID === 'function') {
return crypto.randomUUID();
}
let d = new Date().getTime();

@@ -7,0 +11,0 @@ let d2 = (typeof performance !== 'undefined' &&

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