Comparing version 0.0.6 to 0.1.0
{ | ||
"name": "winchan", | ||
"version": "0.0.6", | ||
"version": "0.1.0", | ||
"devDependencies": { | ||
"express": "~2.5.11", | ||
"postprocess": "~0.2.4" | ||
"mocha": "^1.20.1", | ||
"postprocess": "~0.2.4", | ||
"selenium-webdriver": "^2.42.1", | ||
"webdriver-manager": "0.0.6" | ||
}, | ||
"main": "./winchan.js" | ||
"scripts": { | ||
"postinstall": "webdriver-manager update --chrome --standalone", | ||
"integration": "mocha scenario" | ||
}, | ||
"main": "./winchan.js", | ||
"dependencies": { | ||
"express": "^3.13.0" | ||
} | ||
} |
@@ -73,3 +73,3 @@ ## An abstraction for opening browser windows cross domain | ||
$ scripts/setup_dev_deps.sh | ||
$ npm i | ||
$ scripts/run_example.js | ||
@@ -84,3 +84,3 @@ | ||
$ scripts/setup_dev_deps.sh | ||
$ npm i | ||
$ scripts/run_example.js | ||
@@ -97,3 +97,3 @@ | ||
$ scripts/setup_dev_deps.sh | ||
$ npm i | ||
$ IP_ADDRESS=<my external IP> scripts/run_example.js | ||
@@ -105,20 +105,1 @@ | ||
## LICENSE | ||
Copyright (c) 2012 Lloyd Hilaiel | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the | ||
Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | ||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE | ||
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@@ -9,4 +9,4 @@ #!/usr/bin/env node | ||
var client = express.createServer(), | ||
server = express.createServer(); | ||
var client = express(), | ||
server = express(); | ||
@@ -30,4 +30,6 @@ var subMiddleware = postprocess(function(req, buf) { | ||
module.exports = {client: client, server: server}; | ||
console.log("An example: http://" + IP_ADDRESS + ":8100/example"); | ||
console.log("A more complicated example: http://" + IP_ADDRESS + ":8100/complex_example"); | ||
console.log("Unit tests: http://" + IP_ADDRESS + ":8100/test"); |
@@ -137,3 +137,6 @@ var WinChan = (function() { | ||
var w = window.open(opts.url, opts.window_name, opts.window_features); | ||
var w = opts.popup || window.open(opts.url, opts.window_name, opts.window_features); | ||
if (opts.popup) { | ||
w.location.href = opts.url; | ||
} | ||
@@ -140,0 +143,0 @@ if (!messageTarget) messageTarget = w; |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
607914
36
0
10456
1
4
102
1
4
+ Addedexpress@^3.13.0
+ Addedaccepts@1.2.131.3.8(transitive)
+ Addedbase64-url@1.2.1(transitive)
+ Addedbasic-auth@1.0.4(transitive)
+ Addedbasic-auth-connect@1.0.0(transitive)
+ Addedbatch@0.5.3(transitive)
+ Addedbody-parser@1.13.3(transitive)
+ Addedbytes@2.1.02.4.0(transitive)
+ Addedcommander@2.6.0(transitive)
+ Addedcompressible@2.0.18(transitive)
+ Addedcompression@1.5.2(transitive)
+ Addedconnect@2.30.2(transitive)
+ Addedconnect-timeout@1.6.2(transitive)
+ Addedcontent-disposition@0.5.0(transitive)
+ Addedcontent-type@1.0.5(transitive)
+ Addedcookie@0.1.3(transitive)
+ Addedcookie-parser@1.3.5(transitive)
+ Addedcookie-signature@1.0.6(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedcrc@3.3.0(transitive)
+ Addedcsrf@3.0.6(transitive)
+ Addedcsurf@1.8.3(transitive)
+ Addeddebug@2.2.02.6.9(transitive)
+ Addeddepd@1.0.11.1.2(transitive)
+ Addeddestroy@1.0.31.0.4(transitive)
+ Addedee-first@1.1.1(transitive)
+ Addederrorhandler@1.4.3(transitive)
+ Addedescape-html@1.0.21.0.3(transitive)
+ Addedetag@1.7.0(transitive)
+ Addedexpress@3.21.2(transitive)
+ Addedexpress-session@1.11.3(transitive)
+ Addedfinalhandler@0.4.0(transitive)
+ Addedforwarded@0.1.2(transitive)
+ Addedfresh@0.3.0(transitive)
+ Addedhttp-errors@1.3.1(transitive)
+ Addediconv-lite@0.4.110.4.13(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedipaddr.js@1.0.5(transitive)
+ Addedisarray@0.0.1(transitive)
+ Addedmedia-typer@0.3.0(transitive)
+ Addedmerge-descriptors@1.0.0(transitive)
+ Addedmethod-override@2.3.10(transitive)
+ Addedmethods@1.1.2(transitive)
+ Addedmime@1.3.4(transitive)
+ Addedmime-db@1.52.01.53.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedminimist@0.0.8(transitive)
+ Addedmkdirp@0.5.1(transitive)
+ Addedmorgan@1.6.1(transitive)
+ Addedms@0.7.10.7.22.0.0(transitive)
+ Addedmultiparty@3.3.2(transitive)
+ Addednegotiator@0.5.30.6.3(transitive)
+ Addedon-finished@2.3.0(transitive)
+ Addedon-headers@1.0.2(transitive)
+ Addedparseurl@1.3.3(transitive)
+ Addedpause@0.1.0(transitive)
+ Addedproxy-addr@1.0.10(transitive)
+ Addedqs@4.0.0(transitive)
+ Addedrandom-bytes@1.0.0(transitive)
+ Addedrange-parser@1.0.3(transitive)
+ Addedraw-body@2.1.7(transitive)
+ Addedreadable-stream@1.1.14(transitive)
+ Addedresponse-time@2.3.2(transitive)
+ Addedrndm@1.2.0(transitive)
+ Addedsend@0.13.00.13.2(transitive)
+ Addedserve-favicon@2.3.2(transitive)
+ Addedserve-index@1.7.3(transitive)
+ Addedserve-static@1.10.3(transitive)
+ Addedstatuses@1.2.11.5.0(transitive)
+ Addedstream-counter@0.2.0(transitive)
+ Addedstring_decoder@0.10.31(transitive)
+ Addedtsscmp@1.0.5(transitive)
+ Addedtype-is@1.6.18(transitive)
+ Addeduid-safe@2.0.02.1.4(transitive)
+ Addedunpipe@1.0.0(transitive)
+ Addedutils-merge@1.0.0(transitive)
+ Addedvary@1.0.11.1.2(transitive)
+ Addedvhost@3.0.2(transitive)