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

pusher-js

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pusher-js - npm Package Compare versions

Comparing version 8.0.2 to 8.1.0

5

CHANGELOG.md
# Changelog
## 8.1.0
- [CHANGED] Move @types dependencies to devDependencies
- [CHANGED] Upgrade typescript to 5.1.3
## 8.0.2

@@ -4,0 +9,0 @@

12

package.json
{
"name": "pusher-js",
"version": "8.0.2",
"version": "8.1.0",
"description": "Pusher Channels JavaScript library for browsers, React Native, NodeJS and web workers",

@@ -57,3 +57,3 @@ "main": "dist/node/pusher.js",

"ts-loader": "^6.0.4",
"typescript": "^3.9.0",
"typescript": "^5.1.3",
"uglify-js": "^2.6.2",

@@ -64,9 +64,9 @@ "webpack": "^4.46.0",

"webpack-merge": "^5.8.0",
"xmlhttprequest": "^1.8.0"
"xmlhttprequest": "^1.8.0",
"@types/node": "^20.3.0",
"@types/express-serve-static-core": "4.17.28"
},
"dependencies": {
"tweetnacl": "^1.0.3",
"@types/node": "^14.14.31",
"@types/express-serve-static-core": "4.17.28"
"tweetnacl": "^1.0.3"
}
}

@@ -7,3 +7,3 @@ {

"declarationDir": "types",
"target": "es3",
"target": "ES6",
"removeComments": true,

@@ -10,0 +10,0 @@ "moduleResolution": "node",

@@ -10,3 +10,3 @@ export declare enum AuthRequestType {

}
export declare type ChannelAuthorizationCallback = (error: Error | null, authData: ChannelAuthorizationData | null) => void;
export type ChannelAuthorizationCallback = (error: Error | null, authData: ChannelAuthorizationData | null) => void;
export interface ChannelAuthorizationRequestParams {

@@ -23,3 +23,3 @@ socketId: string;

}
export declare type UserAuthenticationCallback = (error: Error | null, authData: UserAuthenticationData | null) => void;
export type UserAuthenticationCallback = (error: Error | null, authData: UserAuthenticationData | null) => void;
export interface UserAuthenticationRequestParams {

@@ -31,3 +31,3 @@ socketId: string;

}
export declare type AuthTransportCallback = ChannelAuthorizationCallback | UserAuthenticationCallback;
export type AuthTransportCallback = ChannelAuthorizationCallback | UserAuthenticationCallback;
export interface AuthOptionsT<AuthHandler> {

@@ -34,0 +34,0 @@ transport: 'ajax' | 'jsonp';

import { Options } from './options';
import { ChannelAuthorizationHandler, UserAuthenticationHandler } from './auth/options';
import * as nacl from 'tweetnacl';
export declare type AuthTransport = 'ajax' | 'jsonp';
export declare type Transport = 'ws' | 'wss' | 'xhr_streaming' | 'xhr_polling' | 'sockjs';
export type AuthTransport = 'ajax' | 'jsonp';
export type Transport = 'ws' | 'wss' | 'xhr_streaming' | 'xhr_polling' | 'sockjs';
export interface Config {

@@ -7,0 +7,0 @@ activityTimeout: number;

@@ -13,7 +13,4 @@ import Strategy from './strategy';

abort: () => void;
forceMinPriority: () => void;
} | {
abort: () => void;
forceMinPriority: (p: any) => void;
};
}

@@ -7,3 +7,3 @@ interface Scheduler {

}
declare type Delay = number;
type Delay = number;
export { Scheduler, Canceller, Delay };

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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