GithubHelp home page GithubHelp logo

emailjs-tcp-socket's People

Contributors

andris9 avatar c-f-h avatar felixhammerl avatar greenkeeper[bot] avatar nifgraup avatar warp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

emailjs-tcp-socket's Issues

Chrome legacy socket API obsolete?

Getting this error:

Error in response to runtime.getPlatformInfo: TypeError: Cannot read property 'create' of undefined
    at TCPSocket._createLegacySocket (chrome-extension://jjhfjlndikmcdkjlkkomnfelhlbkefmc/node_modules/tcp-socket/src/tcp-socket.js:455:26)
    at Object.callback (chrome-extension://jjhfjlndikmcdkjlkkomnfelhlbkefmc/node_modules/tcp-socket/src/tcp-socket.js:442:26)
    at new TCPSocket (chrome-extension://jjhfjlndikmcdkjlkkomnfelhlbkefmc/node_modules/tcp-socket/src/tcp-socket.js:418:28)
    at Function.TCPSocket.open (chrome-extension://jjhfjlndikmcdkjlkkomnfelhlbkefmc/node_modules/tcp-socket/src/tcp-socket.js:898:16)
    at chrome-extension://jjhfjlndikmcdkjlkkomnfelhlbkefmc/bin/main.js:5:31
    at chrome-extension://jjhfjlndikmcdkjlkkomnfelhlbkefmc/bin/main.js:13:4

Seems this check in chromeShim() forces obsolete API which is unavailable in recent versions:

                if (platformInfo.os.indexOf("cordova") !== -1) {
                    // chrome.sockets.tcp.secure is not functional on cordova
                    // https://github.com/MobileChromeApps/mobile-chrome-apps/issues/269
                    self._useLegacySocket = false;
                    self._useForgeTls = true;
                } else {
                    self._useLegacySocket = true;
                    self._useForgeTls = false;
                }

platformInfo.os.indexOf("cordova") for "mac" gives -1 which sets self._useLegacySocket = true in else block.

Chrome Version 47.0.2526.106 (64-bit)

Please fix

An in-range update of sinon is breaking the build 🚨

Version 4.1.6 of sinon was just published.

Branch Build failing 🚨
Dependency sinon
Current Version 4.1.5
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

sinon is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 10 commits.

  • 68c37ed Update docs/changelog.md and set new release id in docs/_config.yml
  • cd8ae51 Add release documentation for v4.1.6
  • 29e80be 4.1.6
  • a5c59a5 Update History.md and AUTHORS for new release
  • 0ae60b6 Merge pull request #1653 from mroderick/upgrade-dependencies
  • dcd4191 Upgrade browserify to latest
  • a316f02 Upgrade markdownlint-cli to latest
  • 78ebdb3 Upgrade lint-staged to latest
  • fcf967b Upgrade dependency supports-color
  • 7c3cb4f Enable StaleBot with default configuration (#1649)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of wdio-chromedriver-service is breaking the build 🚨

The devDependency wdio-chromedriver-service was updated from 0.1.4 to 0.1.5.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

wdio-chromedriver-service is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of webdriverio is breaking the build 🚨

The devDependency webdriverio was updated from 4.13.2 to 4.14.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webdriverio is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 16 commits.

There are 16 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of chrome-launcher is breaking the build 🚨

The devDependency chrome-launcher was updated from 0.10.5 to 0.10.6.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

chrome-launcher is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 7 commits.

  • 5cb26ea v0.10.6
  • 55397e0 deps: update yarn.lock from #142
  • 179a3f3 silence grep (#138)
  • d2f6037 fix: move unneeded ts types to devDeps (#142)
  • 984d61c docs(flags): remove a few flags that are gone.
  • 6316362 docs: fix link to chrome-launcher's flags (#128)
  • f1f6d16 Update chrome-flags-for-tools.md

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Unable to build forge.min.js

I am unable to build the forge.min.js. The commands succeed by do not yield anything.
Can you please provide a download link for forge.min.js OR
can I use the forge.js found under node_modules/js folder?

Thanks in advance.

An in-range update of chromedriver is breaking the build 🚨

The devDependency chromedriver was updated from 2.42.0 to 2.42.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

chromedriver is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of webpack is breaking the build 🚨

The devDependency webpack was updated from 4.33.0 to 4.34.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v4.34.0

Features

  • Error message when parsing fails shows used loaders now

Bugfixes

  • importing the namespace object from non-ESM (CJS) modules no longer leads to an warning
  • Error message in HMR logging works for Firefox too now
  • Parser understands block scoping now
Commits

The new version differs by 30 commits.

  • 34c8667 4.34.0
  • 0652114 Merge pull request #9268 from webpack/bugfix/let-scopes
  • e6f9db8 Merge pull request #9261 from webpack/bugfix/ff-errors
  • e04b1a5 handle block scopes correctly
  • 55f18f9 Merge pull request #9260 from webpack/fix-9044
  • a1d4567 fix error message and stack in Firefox
  • 8d5ad83 simplify code
  • df5e118 fix(mjs): remove unused namespace build errors
  • acf2c2d Merge pull request #8615 from felixfbecker/patch-1
  • 44fff70 Merge pull request #9256 from webpack/dependabot/npm_and_yarn/@types/node-10.14.9
  • 74178d4 Update snapshot
  • 7fb14ec Add name property to error thrown on chunk load failure
  • 85b0917 chore(deps-dev): bump @types/node from 10.14.8 to 10.14.9
  • 30882ca Link to JS Foundation Code Of Conduct
  • ff85fae Merge pull request #9241 from webpack/dependabot/npm_and_yarn/prettier-1.18.2

There are 30 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Forge is not defined - require on nwjs 0.13 beta2

Hello,
trying to require wo-smtpclient on nwjs 0.13 beta2 I get this error:

Uncaught /build/node_modules/wo-smtpclient/node_modules/tcp-socket/src/tcp-socket-tls.js:30  
message: "forge is not defined"

I found a workaround setting process.versions.electron = 'fake-electron-app' before to call require('wo-smtpclient')

I'm thinking if this is related to the beta stage of nwjs (which one is under development).

An in-range update of wdio-chromedriver-service is breaking the build 🚨

Version 0.1.2 of wdio-chromedriver-service was just published.

Branch Build failing 🚨
Dependency wdio-chromedriver-service
Current Version 0.1.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

wdio-chromedriver-service is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 3 commits.

  • b5a6dac Merge pull request #8 from atti187/peerDependency
  • bb76e8a Fixed deprecated npm scripts
  • ef7fddd Added Chromedriver as a peer dependency [fixes #7]

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of webpack is breaking the build 🚨

Version 4.17.2 of webpack was just published.

Branch Build failing 🚨
Dependency webpack
Current Version 4.17.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes v4.17.2

Bugfixes

  • fix a spacing issue with the ProgressPlugin on some terminals
  • force-upgrade webpack-sources for performance improvement (was already in semver range)
Commits

The new version differs by 9 commits.

  • dfe6379 4.17.2
  • 80bc330 Merge pull request #7961 from aimergenge/patch-1
  • 3dedc72 Merge pull request #7969 from webpack/deps/upgrade
  • cd9525a Upgrade some dependencies
  • 7996883 solving outputing unnecessary spaces
  • 76c3193 Merge pull request #7952 from webpack/tooling/prettier
  • 1b886ee improve prettier and lint config and performance
  • 6e01fd5 Merge pull request #7942 from webpack/test/performance
  • 2740d4a improve jest startup performance

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of webdriverio is breaking the build 🚨

The devDependency webdriverio was updated from 5.10.1 to 5.10.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webdriverio is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 9 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Support Electron

Electron, which is similar to NW.js, has node.js require() but not define(), so currently is not supported.

If change

    else if (typeof define === 'function' && define.amd && typeof nodeRequire !== 'undefined') {
        // amd under node-webkit
        define([], factory.bind(null, navigator, null, nodeRequire('net'), nodeRequire('tls')));
    }

to

    else if (typeof nodeRequire !== 'undefined') {
        factory(navigator, null, nodeRequire('net'), nodeRequire('tls'));
    }

it works in Electron.

It seems define() is not necessary even in NW.js?

An in-range update of webpack-cli is breaking the build 🚨

The devDependency webpack-cli was updated from 3.3.3 to 3.3.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webpack-cli is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for Webpack CLI v3.3.4

Webpack CLI version 3.3.4 is the last version we are going to support with the old CLI interface before version 4 is released. It comes with a bugfix for errors in a webpack configuration and fixes to infrastructure not related to the core packages. A full changelog is available here

Love, webpack team β™₯️

Commits

The new version differs by 30 commits.

  • 08edf57 Merge pull request #954 from webpack/v.3.3.4
  • 186166f chore: v.3.3.4
  • 8acf08f Merge pull request #952 from pranshuchittora/docs/readme
  • 8b00884 chore: remove unused pkgs
  • 478340d chore: fix prompt
  • 0acd33e Merge pull request #949 from rishabh3112/fix/not-found
  • 23eddcb chore: improved err msg
  • d025bf5 Merge branch 'master' of github.com:webpack/webpack-cli into docs/readme
  • 3857b0d Merge pull request #947 from anikethsaha/docs/init
  • 8ac2b74 docs(readme): removes the docs url for removed packages
  • cd51fba Merge branch 'master' of github.com:webpack/webpack-cli into docs/readme
  • 7f4d100 Merge pull request #951 from anikethsaha/fix/command-mismatching
  • c2a11da docs(readme): fixes toc styling
  • bf0efa5 chore: removed the commented statement
  • a2062f2 fix: module not found error

There are 30 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of sinon is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 4.4.7 of sinon was just published.

Branch Build failing 🚨
Dependency sinon
Current Version 4.4.6
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

sinon is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Commits

The new version differs by 7 commits.

  • e060fe9 Update docs/changelog.md and set new release id in docs/_config.yml
  • e9fce06 Add release documentation for v4.4.7
  • f047838 4.4.7
  • cc91fe6 Update History.md and AUTHORS for new release
  • 9fb8577 Emojify the support message :heart:
  • a87ef85 Use existing mini-lib for coloring
  • 1f33fe5 Reduce noisy NPM output from postinstall script

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Tcp Socket seems to fails when sending (smtpclient) data larger then 16384 bytes

Hi, for first a big thanks to having developed such amazing class system to manage an email client.
I've built a complete email client with your emal.js class (no encryption).
Its' sencha touch + (browserbox, smtpclient, etc) + cordova app for iOS and Android.
It's working well, except that on the Android version it's failing (smtpclient.js client.send(data)) sending more then 16384 bytes, maybe related with this (not fixed): MobileChromeApps/cordova-plugin-chrome-apps-sockets-tcp@990b0ca
I got i timed out error from smtpclient
Any idea?

The ca option is not passed to node-socket instances

CA certificates are not passed to the net.tls.connect() function and the socket can not be upgraded if the server uses a certificate that is not in the mozilla CA Certificate Store.

Use-case: IMAP connection using emailjs-imap-client to internal servers.

Node self-signed cert error is thrown out of band

Connecting without disabling NODE_TLS_REJECT_UNAUTHORIZED causes an error to be thrown, however the error isn't caught by the promise. Would be helpful if it were return in the error handler...

An in-range update of nodemon is breaking the build 🚨

Version 1.12.6 of nodemon was just published.

Branch Build failing 🚨
Dependency nodemon
Current Version 1.12.5
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

nodemon is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v1.12.6

1.12.6 (2017-12-13)

Bug Fixes

  • get tests to pass (cf923a8)
  • only use fork if node>4 (f52615c)
  • restore node 4 min support (6d760f4)
  • travis CI build before-install (3a6b8df)
Commits

The new version differs by 11 commits.

  • f52615c fix: only use fork if node>4
  • 2d4ce03 docs: update faq on issue #1124
  • 62a361c fix: use fork child node processes
  • 0628f26 chore: merge heisian-master
  • 6d760f4 fix: restore node 4 min support
  • 8967c02 test: only use .npmrc if a non-PR
  • cf923a8 fix: get tests to pass
  • 3a6b8df fix: travis CI build before-install
  • f711fb7 test: fork child node processes
  • 183add9 test: fix typo in before_install
  • 57c14a2 test: only add npmrc on master (#1147)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Build with webpack fails

I've installed tcp-socket via npm, and when I add

import TCPSocket from 'tcp-socket';

to my project, my webpack build fails with

ERROR in ./~/tcp-socket/src/tcp-socket.js
Module not found: Error: Cannot resolve module 'tcp-socket-tls' in /home/myuser/myproject/node_modules/tcp-socket/src
 @ ./~/tcp-socket/src/tcp-socket.js 26:8-65

It seems that it's falling into the first if clause in tcp-socket.js:

    if (typeof define === 'function' && define.amd) {
        // amd
        define(['tcp-socket-tls'], factory.bind(null, navigator));
    }

when it seems that the module.exports behavior later on is what we want. Any ideas?

State of Cordova support; Why are we still using forge?

I'm using emailjs on Cordova using the cordova-plugin-chrome-apps-sockets-tcp plugin. By default emailjs is still using forge with Cordova, but after editing the code below to use native TLS everything still works great. Is the fix no longer needed?

chrome.runtime.getPlatformInfo(function(platformInfo) {

    //
    // FIX START
    //

    if (platformInfo.os.indexOf("cordova") !== -1) {
        // chrome.sockets.tcp.secure is not functional on cordova
        // https://github.com/MobileChromeApps/mobile-chrome-apps/issues/269
        self._useLegacySocket = false;
        self._useForgeTls = false;
    } else {
        self._useLegacySocket = true;
        self._useForgeTls = false;
    }

    //
    // FIX END
    //

    // fire up the socket
    if (self._useLegacySocket) {
        self._createLegacySocket();
    } else {
        self._createSocket();
    }
});

An in-range update of webdriverio is breaking the build 🚨

The devDependency webdriverio was updated from 5.10.0 to 5.10.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webdriverio is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 5 commits.

  • 4aa1eb0 v5.10.1
  • 6d2894d webdriverio: change argument type for setValue and addValue commands (#4064)
  • bc9ab62 Types fix for users with noImplicitAny set to true (#4062)
  • dd63394 wdio-mocha-framework: fix pending test test:end (#4056)
  • 19a5e5f update changelog

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.