Socket
Socket
Sign inDemoInstall

@visx/text

Package Overview
Dependencies
16
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0 to 2.10.0-alpha.0

8

package.json
{
"name": "@visx/text",
"version": "2.3.0",
"version": "2.10.0-alpha.0",
"description": "visx text",

@@ -39,3 +39,3 @@ "sideEffects": false,

"peerDependencies": {
"react": "^16.3.0-0 || ^17.0.0-0"
"react": "^16.3.0-0 || ^17.0.0-0 || ^18.0.0-0"
},

@@ -46,5 +46,5 @@ "publishConfig": {

"devDependencies": {
"@testing-library/react-hooks": "^3.4.2"
"@testing-library/react-hooks": "^8.0.0"
},
"gitHead": "d4ed34896a8e5fc581e8c3f4af39e7ee5a3b3689"
"gitHead": "1b5897b3e4fd44e321d96682af2d6d2406bf55ab"
}

@@ -23,3 +23,4 @@ # @visx/text

import React from 'react';
import { render } from 'react-dom';
// note: react@18 syntax
import { createRoot } from 'react-dom/client';
import { Text } from '@visx/text';

@@ -33,3 +34,5 @@

render(<App />, document.getElementById('root'));
const root = createRoot(document.getElementById('root'));
root.render(<App />);
```

@@ -36,0 +39,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc