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

react-joyride

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-joyride - npm Package Compare versions

Comparing version

to
2.6.0-1

1

dist/index.d.ts

@@ -300,1 +300,2 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

export { ACTIONS, Actions, AnyObject, BaseProps, BeaconProps, BeaconRenderProps, CallBackProps, Callback, EVENTS, Events, LIFECYCLE, Lifecycle, Locale, OverlayProps, Placement, Props, STATUS, ScopeOptions, State, Status, Step, StepMerged, StepProps, StoreHelpers, StoreOptions, Styles, StylesOptions, TooltipProps, TooltipRenderProps, Joyride as default };
export = Joyride

10

dist/index.js

@@ -288,3 +288,3 @@ "use strict";

function hideBeacon(step) {
return step.disableBeacon ?? step.placement === "center";
return step.disableBeacon || step.placement === "center";
}

@@ -2068,2 +2068,8 @@ function isLegacy() {

});
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map
// fix-cjs-exports
if (module.exports.default) {
Object.assign(module.exports.default, module.exports);
module.exports = module.exports.default;
delete module.exports.default;
}
{
"name": "react-joyride",
"version": "2.6.0-0",
"version": "2.6.0-1",
"description": "Create guided tours for your apps",

@@ -75,2 +75,3 @@ "author": "Gil Barbara <gilbarbara@gmail.com>",

"del-cli": "^5.1.0",
"fix-tsup-cjs": "^1.2.0",
"husky": "^8.0.3",

@@ -94,3 +95,3 @@ "is-ci-cli": "^2.2.0",

"scripts": {
"build": " npm run clean && tsup",
"build": " npm run clean && tsup && fix-tsup-cjs",
"watch": "tsup --watch",

@@ -107,3 +108,3 @@ "clean": "del dist/*",

"format": "prettier \"**/*.{js,jsx,ts,tsx}\" --write",
"validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run build && npm run size",
"validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run e2e && npm run build && npm run size",
"size": "size-limit",

@@ -110,0 +111,0 @@ "prepublishOnly": "npm run validate"

@@ -130,3 +130,3 @@ import { isValidElement, ReactNode } from 'react';

export function hideBeacon(step: Step): boolean {
return step.disableBeacon ?? step.placement === 'center';
return step.disableBeacon || step.placement === 'center';
}

@@ -133,0 +133,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