emailjs-tcp-socket
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "emailjs-tcp-socket", | ||
"version": "1.0.0", | ||
"main": "src/tcp-socket", | ||
"version": "1.0.1", | ||
"main": "src/emailjs-tcp-socket", | ||
"description": "This shim brings the W3C Raw Socket API to node.js and Chromium. Its purpose is to enable apps to use the same api in Firefox OS, Chrome OS, and on the server.", | ||
@@ -11,6 +11,8 @@ "repository": { | ||
"author": "Felix Hammerl", | ||
"maintainers": [{ | ||
"name": "Felix Hammerl", | ||
"email": "felix.hammerl@gmail.com" | ||
}], | ||
"maintainers": [ | ||
{ | ||
"name": "Felix Hammerl", | ||
"email": "felix.hammerl@gmail.com" | ||
} | ||
], | ||
"license": "MIT", | ||
@@ -30,2 +32,3 @@ "scripts": { | ||
"chai": "~1.7.2", | ||
"config": "^1.19.0", | ||
"express": "^4.8.6", | ||
@@ -41,2 +44,4 @@ "grunt": "~0.4.1", | ||
"mocha": "~1.16.2", | ||
"morgan": "^1.6.1", | ||
"npmlog": "^2.0.0", | ||
"requirejs": "~2.1.10", | ||
@@ -43,0 +48,0 @@ "sinon": "1.7.3", |
@@ -10,6 +10,7 @@ tcp-socket | ||
Include `tcp-socket.js` and `forge` in your markup. It will attach itself to the navigator object. | ||
Include the source files and `forge` in your markup. It will attach itself to the navigator object. | ||
<script src="forge.min.js"></script> | ||
<script src="tcp-socket.js"></script> | ||
<script src="emailjs-tcp-socket-tls.js"></script> | ||
<script src="emailjs-tcp-socket.js"></script> | ||
@@ -16,0 +17,0 @@ // creates a TCP socket |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var expect = require('chai').expect, | ||
TcpSocket = require('tcp-socket'); | ||
TcpSocket = require('emailjs-tcp-socket'); | ||
@@ -35,3 +35,3 @@ describe('TcpSocket chrome shim integration tests', function() { | ||
socket.onerror = function() { | ||
// don't do expect(e).to.not.exist because expections | ||
// don't do expect(e).to.not.exist because expections | ||
// thrown in a socket callback silently disappear | ||
@@ -72,3 +72,3 @@ // instead of bubbling up to window | ||
socket.onerror = function() { | ||
// don't do expect(e).to.not.exist because expections | ||
// don't do expect(e).to.not.exist because expections | ||
// thrown in a socket callback silently disappear | ||
@@ -151,2 +151,2 @@ // instead of bubbling up to window | ||
}); | ||
}); | ||
}); |
'use strict'; | ||
var expect = require('chai').expect, | ||
TcpSocket = require('../../src/tcp-socket'), | ||
TcpSocket = require('../../src/emailjs-tcp-socket'), | ||
net = require('net'), | ||
@@ -204,2 +204,2 @@ tls = require('tls'), | ||
return view.buffer; | ||
} | ||
} |
@@ -8,3 +8,3 @@ define(function(require) { | ||
var expect = require('chai').expect, | ||
TcpSocket = require('tcp-socket'); | ||
TcpSocket = require('emailjs-tcp-socket'); | ||
@@ -57,2 +57,2 @@ describe('TcpSocket websocket integration tests', function() { | ||
}); | ||
}); | ||
}); |
@@ -7,3 +7,3 @@ 'use strict'; | ||
sinon = require('sinon'), | ||
TcpSocket = require('tcp-socket'); | ||
TcpSocket = require('emailjs-tcp-socket'); | ||
@@ -265,2 +265,2 @@ describe('TcpSocket chrome unit tests', function() { | ||
}); | ||
}); | ||
}); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
sinon = require('sinon'), | ||
TcpSocket = require('../../src/tcp-socket'); | ||
TcpSocket = require('../../src/emailjs-tcp-socket'); | ||
@@ -61,2 +61,2 @@ describe('TcpSocket unit tests', function() { | ||
}); | ||
}); | ||
}); |
'use strict'; | ||
var expect = require('chai').expect, | ||
TlsClient = require('../../src/tcp-socket-tls').TLS; | ||
TlsClient = require('../../src/emailjs-tcp-socket-tls')['emailjs-tcp-socket-tls']; | ||
@@ -106,2 +106,2 @@ describe('TlsClient unit tests', function() { | ||
}); | ||
}); | ||
}); |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var expect = require('chai').expect, | ||
TcpSocket = require('tcp-socket'); | ||
TcpSocket = require('emailjs-tcp-socket'); | ||
@@ -151,2 +151,2 @@ describe('TcpSocket websocket unit tests', function() { | ||
}); | ||
}); | ||
}); |
@@ -7,3 +7,3 @@ 'use strict'; | ||
sinon = require('sinon'), | ||
TcpSocket = require('tcp-socket'); | ||
TcpSocket = require('emailjs-tcp-socket'); | ||
@@ -77,2 +77,2 @@ describe('TcpSocket websocket unit tests', function() { | ||
}); | ||
}); | ||
}); |
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
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
124854
2612
148
19