New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@speedsters/react

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@speedsters/react - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

package.json
{
"name": "@speedsters/react",
"version": "0.0.2",
"version": "0.0.3",
"description": "A simple way of testing your react application performance",
"main": "./cjs/index.js",
"types": "./types/index.d.ts",
"types": "./types/development/index.d.ts",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -12,3 +12,3 @@ # Speedsters

import ReactDOM from 'react-dom';
import jsnpr from '@speedsters/react';
import sreact from '@speedsters/react';

@@ -18,3 +18,3 @@ const connectionOptions = {

};
jsnpr.connect(connectionOptions);
sreact.connect(connectionOptions);

@@ -27,3 +27,3 @@ ```

import { AppRegistry, Platform} from 'react-native';
import jsnpr from '@speedsters/react';
import sreact from '@speedsters/react';

@@ -49,3 +49,3 @@ const connectionOptions = {

jsnpr.connect(connectionOptions);
sreact.connect(connectionOptions);
```

@@ -59,3 +59,3 @@

import React from 'react';
import jsnpr from '@speedsters/react';
import sreact from '@speedsters/react';

@@ -82,7 +82,7 @@ export default class App extends React.Component<Props, State> {

jsnpr.component(this, options);
sreact.component(this, options);
/*
* Because this method is been bind on the constructor
* it will be measure by the Jsnpr.component.
* it will be measure by the sreact.component.
*

@@ -89,0 +89,0 @@ * NOTE: Arrow function will not be measured.

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

import { CreateSocketOptions, IReact as JsnpReactType, ReactComponentOptions } from '@speedsters/type';
import { ConnectionOptions, IReact as JsnpReactType, ReactComponentOptions } from '@speedsters/type';
export declare const RENDER_COUNT = "renderCount";

@@ -8,3 +8,3 @@ export declare class IReact implements JsnpReactType {

readonly data: any;
connect(options?: CreateSocketOptions): this;
connect(options?: ConnectionOptions): this;
component(_this: any, options?: ReactComponentOptions): any;

@@ -11,0 +11,0 @@ }

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