shepherd.js
Advanced tools
Comparing version 12.0.0-alpha.1 to 12.0.0-alpha.2
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
37
80
3
2
1018065
7147
+ Addeddeepmerge-ts@^5.1.0
+ Addeddeepmerge-ts@5.1.0(transitive)
- Removeddeepmerge@^4.3.1
- Removeddeepmerge@4.3.1(transitive)