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

shepherd.js

Package Overview
Dependencies
Maintainers
2
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shepherd.js - npm Package Compare versions

Comparing version

to
12.0.0-alpha.2

dist/evented.js

2

dist/utils/floating-ui.d.ts

@@ -18,3 +18,3 @@ import { type ComputePositionConfig } from '@floating-ui/dom';

export declare function mergeTooltipConfig(tourOptions: StepOptions, options: StepOptions): {
floatingUIOptions: unknown;
floatingUIOptions: object;
};

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

{
"name": "shepherd.js",
"version": "12.0.0-alpha.1",
"version": "12.0.0-alpha.2",
"description": "Guide your users through a tour of your app.",

@@ -23,7 +23,5 @@ "keywords": [

".": {
"import": "./dist/shepherd.esm.js",
"default": "./dist/shepherd.js"
},
"./*": {
"import": "./dist/*.esm.js",
"types": "./dist/*.d.ts",

@@ -41,13 +39,6 @@ "default": "./dist/*.js"

"scripts": {
"build": "pnpm clean && rollup -c && pnpm postbuild",
"postbuild": "pnpm build:landing",
"build:landing": "pnpm -F landing build",
"build": "pnpm clean && rollup -c",
"clean": "rimraf ./dist",
"dev": "pnpm watch",
"docs": "node_modules/.bin/jsdoc -c .jsdoc.js --verbose",
"esdoc": "esdoc",
"lint:js": "eslint . --ext js",
"rewrite-paths": "replace 'SF:.*src' 'SF:src' coverage/lcov.info",
"start": "pnpm watch",
"test": "pnpm lint:js && pnpm test:ci",
"types:check": "pnpm tsc",

@@ -58,3 +49,3 @@ "watch": "pnpm clean && rollup -c --environment DEVELOPMENT --watch"

"@floating-ui/dom": "^1.5.3",
"deepmerge": "^4.3.1"
"deepmerge-ts": "^5.1.0"
},

@@ -89,3 +80,2 @@ "devDependencies": {

"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-filesize": "^10.0.0",

@@ -92,0 +82,0 @@ "rollup-plugin-license": "^3.2.0",

@@ -1,2 +0,2 @@

import merge from 'deepmerge';
import { deepmerge } from 'deepmerge-ts';
import { Evented } from './evented';

@@ -517,3 +517,3 @@ import autoBind from './utils/auto-bind';

tourOptions = merge({}, tourOptions || {});
tourOptions = deepmerge({}, tourOptions || {});

@@ -520,0 +520,0 @@ this.options = Object.assign(

@@ -1,2 +0,2 @@

import merge from 'deepmerge';
import { deepmerge } from 'deepmerge-ts';
import { shouldCenterStep } from './general';

@@ -68,3 +68,3 @@ import {

return {
floatingUIOptions: merge(
floatingUIOptions: deepmerge(
tourOptions.floatingUIOptions || {},

@@ -201,3 +201,3 @@ options.floatingUIOptions || {}

return merge(step.options.floatingUIOptions || {}, options);
return deepmerge(step.options.floatingUIOptions || {}, options);
}

@@ -204,0 +204,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet