Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@ninetailed/experience.js

Package Overview
Dependencies
Maintainers
3
Versions
413
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ninetailed/experience.js - npm Package Compare versions

Comparing version
7.20.5
to
7.20.6
+2
-7
index.cjs.js

@@ -29,3 +29,3 @@ 'use strict';

***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
/* global Reflect, Promise */

@@ -51,11 +51,6 @@

function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
step((generator = generator.apply(thisArg, [])).next());
});
}
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
const buildClientLocale = () => navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language;

@@ -62,0 +57,0 @@

@@ -28,3 +28,3 @@ import { FEATURES, buildComponentViewEvent, ConsoleLogSink, logger, buildPageEvent, buildTrackEvent, buildIdentifyEvent, unionBy, pipe, buildComponentClickEvent, allowVariableTypeSchema, selectHasVariants, selectExperience, selectVariant as selectVariant$1, selectBaselineWithVariants, OnLogLogSink, OnErrorLogSink, NinetailedApiClient, circularJsonStringify, PageviewProperties, Properties, Traits, isPageViewEvent, isTrackEvent, isIdentifyEvent, isComponentViewEvent, isComponentClickEvent } from '@ninetailed/experience.js-shared';

***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
/* global Reflect, Promise */

@@ -50,11 +50,6 @@

function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
step((generator = generator.apply(thisArg, [])).next());
});
}
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
const buildClientLocale = () => navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language;

@@ -61,0 +56,0 @@

{
"name": "@ninetailed/experience.js",
"version": "7.20.5",
"version": "7.20.6",
"description": "Ninetailed SDK for javascript",

@@ -12,4 +12,4 @@ "license": "MIT",

"dependencies": {
"@ninetailed/experience.js-plugin-analytics": "7.20.5",
"@ninetailed/experience.js-shared": "7.20.5",
"@ninetailed/experience.js-plugin-analytics": "7.20.6",
"@ninetailed/experience.js-shared": "7.20.6",
"analytics": "0.8.1",

@@ -16,0 +16,0 @@ "uuid": "9.0.0"

@@ -0,0 +0,0 @@ export * from './lib/constants';

@@ -0,0 +0,0 @@ export declare const COMPONENT = "component";

@@ -0,0 +0,0 @@ export type ElementClickObserverOptions = {

@@ -0,0 +0,0 @@ import type { ObserveOptions } from './types/ObserveOptions';

export declare const decodeExperienceVariantsMap: (encodedExperienceVariantsMap: string) => Record<string, number>;

@@ -0,0 +0,0 @@ export * from './types';

@@ -0,0 +0,0 @@ import { Change } from '@ninetailed/experience.js-shared';

@@ -0,0 +0,0 @@ import { ExperienceConfiguration, Profile, Reference } from '@ninetailed/experience.js-shared';

export type { Reference, Baseline, VariantRef, ExperienceConfiguration, EntryReplacement, InlineVariable, Distribution, ExperienceType, } from '@ninetailed/experience.js-shared';
import { AcceptsCredentials } from '../types/interfaces/AcceptsCredentials';
export declare const acceptsCredentials: (plugin: unknown) => plugin is AcceptsCredentials;

@@ -0,0 +0,0 @@ import { HasChangesModificationMiddleware } from '../types/interfaces/HasChangesModificationMiddleware';

import { Reference } from '@ninetailed/experience.js-shared';
import { HasExperienceSelectionMiddleware } from '../types/interfaces/HasExperienceSelectionMiddleware';
export declare const hasExperienceSelectionMiddleware: <TBaseline extends Reference, TVariant extends Reference>(arg: unknown) => arg is HasExperienceSelectionMiddleware<TBaseline, TVariant>;
import { HasOnChangeEmitter } from '../types/interfaces/HasOnChangeEmitter';
export declare const hasOnChangeEmitter: (arg: unknown) => arg is HasOnChangeEmitter;
import { InterestedInHiddenPage } from '../types/interfaces/InterestedInHiddenPage';
export declare const isInterestedInHiddenPage: (arg: unknown) => arg is InterestedInHiddenPage;
import { InterestedInSeenElements } from '../types/interfaces/InterestedInSeenElements';
export declare const isInterestedInSeenElements: (arg: unknown) => arg is InterestedInSeenElements;
import { RequiresEventBuilder } from '../types/interfaces/RequiresEventBuilder';
export declare const requiresEventBuilder: (plugin: unknown) => plugin is RequiresEventBuilder;

@@ -0,0 +0,0 @@ /// <reference types="analytics" />

@@ -0,0 +0,0 @@ import { HAS_CLICKED_ELEMENT, HAS_SEEN_COMPONENT, HAS_SEEN_ELEMENT, HAS_SEEN_VARIABLE } from '@ninetailed/experience.js-plugin-analytics';

@@ -0,0 +0,0 @@ export declare const LEGACY_ANONYMOUS_ID = "__anon_id";

import { NinetailedRequestContext } from '@ninetailed/experience.js-shared';
export declare const buildClientNinetailedRequestContext: () => NinetailedRequestContext;
export declare const buildClientLocale: () => string;
export * from './build-context';
export * from './NinetailedCorePlugin';
export * from './constants';
export * from './Events';

@@ -0,0 +0,0 @@ import { AnalyticsInstance, DetachListeners } from 'analytics';

@@ -0,0 +0,0 @@ import { NinetailedPlugin } from '@ninetailed/experience.js-plugin-analytics';

@@ -0,0 +0,0 @@ import { Reference } from '@ninetailed/experience.js-shared';

import { NinetailedPlugin } from '@ninetailed/experience.js-plugin-analytics';
import { HasOnChangeEmitter } from '../types/interfaces/HasOnChangeEmitter';
export declare const selectPluginsHavingOnChangeEmitter: (plugins: NinetailedPlugin[]) => HasOnChangeEmitter[];

@@ -0,0 +0,0 @@ import { Variant } from '@ninetailed/experience.js-shared';

export declare function intersect(element: Element, isIntersecting: boolean): void;
export declare function getObserverOf(element: Element): IntersectionObserver;

@@ -0,0 +0,0 @@ import { AnalyticsInstance as _AnalyticsInstance } from 'analytics';

@@ -0,0 +0,0 @@ export type Credentials = {

@@ -0,0 +0,0 @@ import { DetachListeners } from 'analytics';

@@ -0,0 +0,0 @@ import { type Credentials } from '../Credentials';

@@ -0,0 +0,0 @@ import { Change } from '@ninetailed/experience.js-shared';

@@ -0,0 +0,0 @@ import { ExperienceConfiguration, Reference, VariantRef } from '@ninetailed/experience.js-shared';

@@ -0,0 +0,0 @@ import { OnChangeEmitter } from '../../utils/OnChangeEmitter';

@@ -0,0 +0,0 @@ import { EventHandler, ElementClickedPayload, HAS_CLICKED_ELEMENT } from '@ninetailed/experience.js-plugin-analytics';

@@ -0,0 +0,0 @@ import { PAGE_HIDDEN } from '../../constants';

@@ -0,0 +0,0 @@ import { PROFILE_CHANGE } from '@ninetailed/experience.js-shared';

@@ -0,0 +0,0 @@ import { EventHandler, ElementSeenPayload, HAS_SEEN_ELEMENT } from '@ninetailed/experience.js-plugin-analytics';

@@ -0,0 +0,0 @@ import { EventHandler, VariableSeenPayload, HAS_SEEN_VARIABLE } from '@ninetailed/experience.js-plugin-analytics';

@@ -0,0 +0,0 @@ import { EventBuilder } from '../../utils/EventBuilder';

@@ -0,0 +0,0 @@ export type ObserveOptions = {

@@ -0,0 +0,0 @@ import { Profile, ExperienceConfiguration, Reference, VariantRef } from '@ninetailed/experience.js-shared';

@@ -0,0 +0,0 @@ import type { Profile, Change } from '@ninetailed/experience.js-shared';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import { BuildPageEventArgs, BuildTrackEventArgs, IdentifyEventArgs, NinetailedRequestContext, Properties } from '@ninetailed/experience.js-shared';

export declare const noop: () => void;

@@ -0,0 +0,0 @@ export type OnChangeListener = () => void;