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

@aspnet/signalr

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aspnet/signalr - npm Package Compare versions

Comparing version 1.0.0-rc1-final to 1.0.0-rc1-update1

85

package.json
{
"name": "@aspnet/signalr",
"version": "1.0.0-rc1-final",
"_from": "@aspnet/signalr",
"_id": "@aspnet/signalr@1.0.0-rc1-final",
"_inBundle": false,
"_integrity": "sha1-Etuhpjuzyf00iEiJxjan5k/cHc4=",
"_location": "/@aspnet/signalr",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "@aspnet/signalr",
"name": "@aspnet/signalr",
"escapedName": "@aspnet%2fsignalr",
"scope": "@aspnet",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/@aspnet/signalr/-/signalr-1.0.0-rc1-final.tgz",
"_shasum": "12dba1a63bb3c9fd34884889c636a7e64fdc1dce",
"_spec": "@aspnet/signalr",
"_where": "C:\\users\\anurse\\Desktop\\temp",
"author": {
"name": "Microsoft"
},
"bugs": {
"url": "https://github.com/aspnet/SignalR/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "ASP.NET Core SignalR Client",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"typings": "./dist/esm/index.d.ts",
"umd": "./dist/browser/signalr.js",
"umd_name": "signalR",
"devDependencies": {
"es6-promise": "^4.2.2"
},
"directories": {
"test": "spec"
},
"files": [
"dist/**/*",
"src/**/*"
],
"homepage": "https://github.com/aspnet/SignalR#readme",
"license": "Apache-2.0",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"name": "@aspnet/signalr",
"repository": {
"type": "git",
"url": "git+https://github.com/aspnet/SignalR.git"
},
"scripts": {
"clean": "node ../node_modules/rimraf/bin.js ./dist ./.rpt2_cache",
"build": "npm run clean && npm run build:lint && npm run build:esm && npm run build:cjs && npm run build:browser && npm run build:uglify",
"build:browser": "node ../node_modules/rollup/bin/rollup -c",
"build:cjs": "node ../node_modules/typescript/bin/tsc --project ./tsconfig.json --module commonjs --outDir ./dist/cjs --target ES5",
"build:esm": "node ../node_modules/typescript/bin/tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm --target ES5 -d && node ./build/process-dts.js",
"build:lint": "node ../node_modules/tslint/bin/tslint -c ../tslint.json -p ./tsconfig.json",
"build:esm": "node ../node_modules/typescript/bin/tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm --target ES5 -d && node ./build/process-dts.js",
"build:cjs": "node ../node_modules/typescript/bin/tsc --project ./tsconfig.json --module commonjs --outDir ./dist/cjs --target ES5",
"build:browser": "node ../node_modules/rollup/bin/rollup -c",
"build:uglify": "node ../node_modules/uglify-js/bin/uglifyjs --source-map \"url='signalr.min.js.map',content='./dist/browser/signalr.js.map'\" --comments -o ./dist/browser/signalr.min.js ./dist/browser/signalr.js",
"clean": "node ../node_modules/rimraf/bin.js ./dist ./.rpt2_cache",
"pretest": "node ../node_modules/rimraf/bin.js ./spec/obj && node ../node_modules/typescript/bin/tsc --project ./spec/tsconfig.json",
"test": "node ../node_modules/jasmine/bin/jasmine.js ./spec/obj/spec/**/*.spec.js"
},
"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",
"files": [
"dist/**/*",
"src/**/*"
],
"devDependencies": {
"es6-promise": "^4.2.2"
}
"typings": "./dist/esm/index.d.ts",
"umd": "./dist/browser/signalr.js",
"umd_name": "signalR",
"version": "1.0.0-rc1-update1"
}

@@ -11,2 +11,4 @@ JavaScript and TypeScript clients for SignalR for ASP.NET Core

See the [SignalR Documentation](https://docs.microsoft.com/en-us/aspnet/core/signalr) at docs.microsoft.com for documentation on the latest release.
### Browser

@@ -27,5 +29,7 @@

```JavaScript
let connection = new signalR.HubConnection('/chat');
let connection = new signalR.HubConnectionBuilder()
.withUrl("/chat")
.build();
connection.on('send', data => {
connection.on("send", data => {
console.log(data);

@@ -35,3 +39,3 @@ });

connection.start()
.then(() => connection.invoke('send', 'Hello'));
.then(() => connection.invoke("send", "Hello"));
```

@@ -44,5 +48,7 @@

let connection = new signalR.HubConnection('/chat');
let connection = new signalR.HubConnectionBuilder()
.withUrl("/chat")
.build();
connection.on('send', data => {
connection.on("send", data => {
console.log(data);

@@ -52,3 +58,3 @@ });

connection.start()
.then(() => connection.invoke('send', 'Hello'));
.then(() => connection.invoke("send", "Hello"));
```
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