Socket
Socket
Sign inDemoInstall

solid-devtools

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-devtools - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

6

dist/index.js
"use strict";
// src/index.ts
import { attachDebugger, makeCreateRootListener } from "@solid-devtools/debugger";
import { useExtensionAdapter } from "@solid-devtools/extension-adapter";
import {
Debugger,
attachDebugger,
attachDebugger as attachDebugger2,
registerDebuggerPlugin,

@@ -12,8 +13,9 @@ makeSolidUpdateListener

export * from "@solid-devtools/locator";
makeCreateRootListener((root) => attachDebugger(root));
useExtensionAdapter();
export {
Debugger,
attachDebugger,
attachDebugger2 as attachDebugger,
makeSolidUpdateListener,
registerDebuggerPlugin
};
{
"name": "solid-devtools",
"version": "0.5.0",
"version": "0.6.0",
"description": "Runtime helpers for hooking up SolidJS application with Solid Devtools",

@@ -47,5 +47,5 @@ "license": "MIT",

"@testing-library/jest-dom": "^5.16.4",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"solid-js": "^1.4.4",
"jest": "^28.1.2",
"jest-environment-jsdom": "^28.1.2",
"solid-js": "^1.4.5",
"ts-node": "^10.8.1",

@@ -56,8 +56,8 @@ "tsup": "^6.1.2",

"dependencies": {
"@solid-devtools/debugger": "^0.1.0",
"@solid-devtools/extension-adapter": "^0.5.0",
"@solid-devtools/locator": "^0.5.0"
"@solid-devtools/debugger": "^0.2.0",
"@solid-devtools/extension-adapter": "^0.6.0",
"@solid-devtools/locator": "^0.6.0"
},
"peerDependencies": {
"solid-js": "^1.4.4"
"solid-js": "^1.4.5"
},

@@ -64,0 +64,0 @@ "optionalDependencies": {

@@ -27,18 +27,2 @@ <a href="https://github.com/thetarnav/solid-devtools/tree/main/packages/main#readme" target="_blank">

### Attaching Debugger to your application
Currently you have to manually attach the debugger to the reactive graph of your application logic.
[**Follow this guide of the debugger**](https://github.com/thetarnav/solid-devtools/tree/main/packages/debugger#attaching-debugger-to-your-application)
```tsx
import { attachDebugger } from "solid-devtools"
// simply place the attachDebugger hook in the App component:
function App() {
attachDebugger()
return <>...</>
}
```
### Using the locator package

@@ -45,0 +29,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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