@netlify/config 17.0.16 → 17.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/env/main.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/config",
3
- "version": "17.0.16",
3
+ "version": "17.0.17",
4
4
  "description": "Netlify config module",
5
5
  "type": "module",
6
6
  "exports": "./src/main.js",
@@ -77,7 +77,7 @@
77
77
  "yargs": "^17.3.1"
78
78
  },
79
79
  "devDependencies": {
80
- "ava": "^3.15.0",
80
+ "ava": "^4.0.0",
81
81
  "del": "^6.0.0",
82
82
  "has-ansi": "^5.0.0",
83
83
  "is-ci": "^3.0.0",
package/src/env/main.js CHANGED
@@ -68,7 +68,7 @@ export const getEnv = async function ({
68
68
  // Environment variables not set by users, but meant to mimic the production
69
69
  // environment.
70
70
  const getGeneralEnv = async function ({
71
- siteInfo: { id, name, url, build_settings: { repo_url: REPOSITORY_URL } = {} },
71
+ siteInfo: { id, name, ssl_url: sslUrl, build_settings: { repo_url: REPOSITORY_URL } = {} },
72
72
  buildDir,
73
73
  branch,
74
74
  deployId,
@@ -81,7 +81,7 @@ const getGeneralEnv = async function ({
81
81
  SITE_NAME: name,
82
82
  DEPLOY_ID: deployId,
83
83
  BUILD_ID: buildId,
84
- URL: url,
84
+ URL: sslUrl,
85
85
  REPOSITORY_URL,
86
86
  CONTEXT: context,
87
87
  NETLIFY_LOCAL: 'true',