-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postinstall seems to ignore strict-ssl=false #211
Comments
Thanks for the report. I've pushed up a small change now, we'll get this out in the next release. |
Nice, thanks very much @mefellows. How can I find out when the next release will be coming out ? (This is blocking us from using Pact, unfortunately). |
No worries. I just need another maintainer to review and sign off, and then we'll release. Usually, just a few days (so mid next week I'd say). |
Great news @mefellows . I also noticed that I have to specify the version ${PACT_STANDALONE_VERSION} as part of the pact_binary_location:
where as this could be done by the function createConfig() in install.ts. Then the binary location would not have to be updated when new version are available. Would you like me to create a separate issue/request for this ? |
A separate issue would be great, thanks. This is a fairly straightforward thing - we need to honour a standard npm setting. In the other case, I think we'll need to discuss the pros/cons and interface for it. |
…-in-install fix: set strictSSL on custom downloads from NPM config. Fixes #211
We are using pact behind a corporate firewall. In view of #88 we have the following pact-related entries in our package.json:
Our .npmrc contains
which works for all packages - except for pact-foundation. We get:
We can curl https://artifactory.ourcompany.com.au/artifactory/pact-github-repo/download/v1.81.0/pact-1.73.0-osx.tar.gz, so we know the URL is correct.
It appears that the postinstall script https://github.com/pact-foundation/pact-node/blob/master/standalone/install.ts does not use the strict-ssl=false setting.
The text was updated successfully, but these errors were encountered: