@aspnet/signalr-client
Advanced tools
Comparing version 1.0.0-alpha2-final to 1.0.0-alpha2-update1
{ | ||
"name": "@aspnet/signalr-client", | ||
"version": "1.0.0-alpha2-final", | ||
"description": "ASP.NET Core SignalR", | ||
"main": "dist/src/index.js", | ||
"typings": "dist/src/index.d.ts", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"version": "1.0.0-alpha2-update1", | ||
"description": "This package has been deprecated. Use '@aspnet/signalr' instead.", | ||
"main": "index.js", | ||
"scripts": { | ||
"gulp": "gulp", | ||
"pretest": "tsc -p Microsoft.AspNetCore.SignalR.Client.TS.Tests", | ||
"test": "jasmine JASMINE_CONFIG_PATH=Microsoft.AspNetCore.SignalR.Client.TS.Tests/jasmine.json" | ||
"install": "echo \"This package has been deprecated. Use '@aspnet/signalr' instead.\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/aspnet/SignalR.git" | ||
}, | ||
"author": "Microsoft", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/aspnet/SignalR/issues" | ||
}, | ||
"homepage": "https://github.com/aspnet/SignalR#readme", | ||
"devDependencies": { | ||
"@types/msgpack5": "^3.4.0", | ||
"babel-minify": "^0.2.0", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babelify": "^7.3.0", | ||
"browserify": "^13.1.1", | ||
"buffer": "^5.0.7", | ||
"del": "^2.2.2", | ||
"gulp": "^3.9.1", | ||
"gulp-babel": "^7.0.0", | ||
"gulp-rename": "^1.2.2", | ||
"gulp-typescript": "^3.1.3", | ||
"jasmine": "^2.5.2", | ||
"lodash": "^4.17.4", | ||
"typescript": "^2.0.10", | ||
"vinyl-buffer": "^1.0.0", | ||
"vinyl-source-stream": "^1.1.0" | ||
}, | ||
"dependencies": { | ||
"msgpack5": "^3.5.0" | ||
} | ||
"license": "Apache-2.0" | ||
} |
@@ -1,34 +0,3 @@ | ||
JavaScript and TypeScript clients for SignalR for ASP.NET Core | ||
# DEPRECATED | ||
## Installation | ||
```bash | ||
npm install @aspnet/signalr-client | ||
``` | ||
## Usage | ||
### Browser | ||
To use the client in a browser, copy `*.js` files from the `dist/browser` folder to your script folder include on your page using the `<script>` tag. | ||
### Node.js | ||
The following polyfills are required to use the client in Node.js applications: | ||
- `XmlHttpRequest` - always | ||
- `WebSockets` - to use the WebSockets transport | ||
- `EventSource` - to use the ServerSentEvents transport | ||
- `btoa/atob` - to use binary protocols (e.g. MessagePack) over text transports (ServerSentEvents) | ||
### Example | ||
```JavaScript | ||
let connection = new signalR.HubConnection('/chat'); | ||
connection.on('send', data => { | ||
console.log(data); | ||
}); | ||
connection.start() | ||
.then(() => connection.invoke('send', 'Hello')); | ||
``` | ||
This package has been deprecated. Use `@aspnet/signalr` instead, and ensure you update your server packages to a version compatible with that client as well. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
0
0
2
1
2
529
2
0
2
3
1
- Removedmsgpack5@^3.5.0
- Removedbl@1.2.3(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@1.0.0(transitive)
- Removedmsgpack5@3.6.1(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)