Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tour-guider

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tour-guider - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

src/hooks/useGuideHook.ts

4

dist/hooks/useCustomHook.d.ts

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

declare const useCustomHook: (initialState: string) => {
declare const useGuideHook: (initialState: string) => {
state: string;
handleChange: (newValue: string) => void;
};
export default useCustomHook;
export default useGuideHook;
import MyComponent from "./components/MyComponent";
import useCustomHook from "./hooks/useCustomHook";
export { MyComponent, useCustomHook };
import useGuideHook from "./hooks/useGuideHook";
export { MyComponent, useGuideHook };

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

"use strict";var e=require("react");exports.MyComponent=({text:t})=>e.createElement("div",{className:"my-component"},t),exports.useCustomHook=t=>{const[s,o]=e.useState(t);return{state:s,handleChange:e=>{o(e)}}};
"use strict";var e=require("react");exports.MyComponent=({text:t})=>e.createElement("div",{className:"my-component"},t),exports.useGuideHook=t=>{const[s,o]=e.useState(t);return{state:s,handleChange:e=>{o(e)}}};
{
"name": "tour-guider",
"version": "1.0.0",
"description": "",
"version": "1.0.1",
"description": "A website onboarding guide library",
"main": "dist/index.js",

@@ -13,5 +13,5 @@ "module": "dist/index.js",

},
"keywords": [],
"author": "",
"license": "ISC",
"keywords": ["react","website","onboarding","tour","guide"],
"author": "Md Asif Momin",
"license": "MIT",
"dependencies": {

@@ -18,0 +18,0 @@ "react": "^18.3.1",

export { default as MyComponent } from './components/MyComponent';
export { default as useCustomHook } from './hooks/useCustomHook';
export { default as useGuideHook } from './hooks/useGuideHook';
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