Skip to content
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

Added formatResponse option to the ghost content API #264

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .editorconfig
100644 → 100755
Empty file.
Empty file modified .github/CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/---bug-report.md
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/--anything-else.md
100644 → 100755
Empty file.
Empty file modified .github/PULL_REQUEST_TEMPLATE.md
100644 → 100755
Empty file.
Empty file modified .github/SUPPORT.md
100644 → 100755
Empty file.
Empty file modified .github/workflows/test.yml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified SECURITY.md
100644 → 100755
Empty file.
Empty file modified index.js
100644 → 100755
Empty file.
Empty file modified lerna.json
100644 → 100755
Empty file.
Empty file modified package.json
100644 → 100755
Empty file.
Empty file modified packages/.gitkeep
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/README.md
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/package.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/test/hello.test.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/images-upload.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/images.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/pages-add.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/pages-edit.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/pages.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/posts-add.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/posts-edit.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/posts.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/tags-add.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/tags-edit.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api-schema/v2/tags.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api/.eslintignore
100644 → 100755
Empty file.
Empty file modified packages/admin-api/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api/.gitignore
100644 → 100755
Empty file.
Empty file modified packages/admin-api/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/admin-api/README.md
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions packages/admin-api/lib/index.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ module.exports = function GhostAdminAPI(options) {
throw new Error('GhostAdminAPI Config Invalid: @tryghost/admin-api requires a "url" with a protocol like "https://site.com" or "https://site.com/blog"');
}
if (config.url.endsWith('/')) {
throw new Error('GhostAdminAPI Config Invalid: @tryghost/admin-api requires a "url" without a trailing slash like "https://site.com" or "https://site.com/blog"');
throw new Error(`GhostAdminAPI Config Invalid: @tryghost/admin-api requires a "url" without a trailing slash like "https://site.com" or "https://site.com/blog" And not ${config.url}`);
}
if (config.ghostPath.endsWith('/') || config.ghostPath.startsWith('/')) {
throw new Error('GhostAdminAPI Config Invalid: @tryghost/admin-api requires a "ghostPath" without a leading or trailing slash like "ghost"');
throw new Error(`GhostAdminAPI Config Invalid: @tryghost/admin-api requires a "ghostPath" without a leading or trailing slash like "ghost" And not ${config.url}`);
}
if (!config.key) {
throw new Error('GhostAdminAPI Config Invalid: @tryghost/admin-api requires a "key" to be supplied');
Expand Down
Empty file modified packages/admin-api/lib/token.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api/package.json
100644 → 100755
Empty file.
Empty file modified packages/admin-api/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api/test/admin-api.test.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api/test/fixtures/ghost-logo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified packages/admin-api/test/fixtures/theme.zip
100644 → 100755
Empty file.
Empty file modified packages/admin-api/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/admin-api/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/content-api/.eslintignore
100644 → 100755
Empty file.
Empty file modified packages/content-api/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/content-api/.gitignore
100644 → 100755
Empty file.
Empty file modified packages/content-api/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/content-api/README.md
100644 → 100755
Empty file.
29 changes: 24 additions & 5 deletions packages/content-api/lib/index.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios';

const supportedVersions = ['v2', 'v3', 'canary'];

export default function GhostContentAPI({url, host, ghostPath = 'ghost', version, key}) {
export default function GhostContentAPI({url, host, ghostPath = 'ghost', version, key, formatResponse}) {
// host parameter is deprecated
if (host) {
// eslint-disable-next-line
Expand All @@ -13,7 +13,11 @@ export default function GhostContentAPI({url, host, ghostPath = 'ghost', version
}

if (this instanceof GhostContentAPI) {
return GhostContentAPI({url, version, key});
return GhostContentAPI({url, version, key, formatResponse});
}

if (!formatResponse) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel the formatResponse option should not throw an error if it isnt declared or assigned a value...
It should default to true just as mentioned here by the first person who commented on the issue here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look into it

throw new Error('GhostContentAPI Config Missing: @tryghost/content-api requires you select, if you want a "formatted response" returned');
}

if (!version) {
Expand Down Expand Up @@ -90,12 +94,27 @@ export default function GhostContentAPI({url, host, ghostPath = 'ghost', version
headers
}).then((res) => {
if (!Array.isArray(res.data[resourceType])) {
return res.data[resourceType];
if (formatResponse === true){
return res.data[resourceType];
} else {
return res.data;
}

}
if (res.data[resourceType].length === 1 && !res.data.meta) {
return res.data[resourceType][0];
if (formatResponse === true){
return res.data[resourceType][0];
} else {
return res.data;
}

}
if(formatResponse === true ){
return Object.assign(res.dat, {meta: res.data.meta});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be return Object.assign(res.data, {meta: res.data.meta}); and not return Object.assign(res.dat, {meta: res.data.meta});

} else {
return Object.assign(res.data[resourceType], {meta: res.data.meta});
}
return Object.assign(res.data[resourceType], {meta: res.data.meta});

}).catch((err) => {
if (err.response && err.response.data && err.response.data.errors) {
const props = err.response.data.errors[0];
Expand Down
Empty file modified packages/content-api/package.json
100644 → 100755
Empty file.
Empty file modified packages/content-api/rollup.config.js
100644 → 100755
Empty file.
Empty file modified packages/content-api/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/content-api/test/content-api.test.js
100644 → 100755
Empty file.
Empty file modified packages/content-api/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/content-api/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/content-api/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/.gitignore
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/README.md
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/lib/Tags.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/lib/index.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/package.json
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/src/Tags.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/src/index.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/test/hello.test.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/test/tags.test.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/helpers-gatsby/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/.eslintignore
100644 → 100755
Empty file.
Empty file modified packages/helpers/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/.gitignore
100644 → 100755
Empty file.
Empty file modified packages/helpers/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/helpers/README.md
100644 → 100755
Empty file.
Empty file modified packages/helpers/lib/index.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/lib/reading-time.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/lib/tags.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/lib/utils/count-images.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/lib/utils/count-words.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/lib/utils/reading-minutes.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/lib/utils/visibility.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/package.json
100644 → 100755
Empty file.
Empty file modified packages/helpers/rollup.config.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/test/reading-minutes.test.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/test/reading-time.test.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/test/tags.test.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/helpers/test/visibility.test.js
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/README.md
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/index.js
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/lib/converter.js
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/package.json
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/test/converter.test.js
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/html-to-mobiledoc/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/README.md
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/index.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/package.json
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/test/hello.test.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer0/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/README.md
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/index.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/package.json
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/test/hello.test.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer1/yarn.lock
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/README.md
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/index.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/package.json
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/test/hello.test.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/members/layer2/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/members/theme-dropin/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/members/theme-dropin/.gitignore
100644 → 100755
Empty file.
Empty file modified packages/members/theme-dropin/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/members/theme-dropin/README.md
100644 → 100755
Empty file.
Empty file modified packages/members/theme-dropin/nwb.config.js
100644 → 100755
Empty file.
Empty file modified packages/members/theme-dropin/package.json
100644 → 100755
Empty file.
Empty file modified packages/members/theme-dropin/src/index.js
100644 → 100755
Empty file.
Empty file modified packages/members/theme-dropin/yarn.lock
100644 → 100755
Empty file.
Empty file modified packages/schema-org/.eslintignore
100644 → 100755
Empty file.
Empty file modified packages/schema-org/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/schema-org/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/schema-org/README.md
100644 → 100755
Empty file.
Empty file modified packages/schema-org/SchemaGenerator.js
100644 → 100755
Empty file.
Empty file modified packages/schema-org/index.js
100644 → 100755
Empty file.
Empty file modified packages/schema-org/package.json
100644 → 100755
Empty file.
Empty file modified packages/schema-org/partials/image.hbs
100644 → 100755
Empty file.
Empty file modified packages/schema-org/partials/main_entity.hbs
100644 → 100755
Empty file.
Empty file modified packages/schema-org/partials/publisher.hbs
100644 → 100755
Empty file.
Empty file modified packages/schema-org/templates/author.hbs
100644 → 100755
Empty file.
Empty file modified packages/schema-org/templates/home.hbs
100644 → 100755
Empty file.
Empty file modified packages/schema-org/templates/post.hbs
100644 → 100755
Empty file.
Empty file modified packages/schema-org/templates/tag.hbs
100644 → 100755
Empty file.
Empty file modified packages/schema-org/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/schema-org/test/schema-org.test.js
100644 → 100755
Empty file.
Empty file modified packages/schema-org/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/schema-org/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/schema-org/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/social-urls/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/social-urls/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/social-urls/README.md
100644 → 100755
Empty file.
Empty file modified packages/social-urls/lib/index.js
100644 → 100755
Empty file.
Empty file modified packages/social-urls/package.json
100644 → 100755
Empty file.
Empty file modified packages/social-urls/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/social-urls/test/urls.test.js
100644 → 100755
Empty file.
Empty file modified packages/social-urls/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/social-urls/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/social-urls/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/string/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/string/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/string/README.md
100644 → 100755
Empty file.
Empty file modified packages/string/lib/index.js
100644 → 100755
Empty file.
Empty file modified packages/string/lib/slugify.js
100644 → 100755
Empty file.
Empty file modified packages/string/lib/stripInvisibleChars.js
100644 → 100755
Empty file.
Empty file modified packages/string/package.json
100644 → 100755
Empty file.
Empty file modified packages/string/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/string/test/slugify.test.js
100644 → 100755
Empty file.
Empty file modified packages/string/test/stripInvisibleChars.test.js
100644 → 100755
Empty file.
Empty file modified packages/string/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/string/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/string/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/.eslintignore
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/.gitignore
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/README.md
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/lib/index.js
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/package.json
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/rollup.config.js
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/test/hello.test.js
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/timezone-data/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/LICENSE
100644 → 100755
Empty file.
Empty file modified packages/url-utils/README.md
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/index.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/absolute-to-relative.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/deduplicate-double-slashes.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/deduplicate-subdirectory.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/get-api-path.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/get-version-path.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/html-absolute-to-relative.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/html-relative-to-absolute.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/is-ssl.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/markdown-absolute-to-relative.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/markdown-relative-to-absolute.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/mobiledoc-absolute-to-relative.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/mobiledoc-relative-to-absolute.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/relative-to-absolute.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/replace-permalink.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/strip-subdirectory-from-path.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/lib/utils/url-join.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/package.json
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/fixtures/long-markdown-absolute.md
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/fixtures/long-markdown-relative.md
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/unit/url-utils.test.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/unit/utils/absolute-to-relative.test.js
100644 → 100755
Empty file.
Empty file.
Empty file modified packages/url-utils/test/unit/utils/get-api-path.test.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/unit/utils/get-version-path.test.js
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified packages/url-utils/test/unit/utils/is-ssl.test.js
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified packages/url-utils/test/unit/utils/relative-to-absolute.test.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/unit/utils/replace-permalink.test.js
100644 → 100755
Empty file.
Empty file.
Empty file modified packages/url-utils/test/unit/utils/url-join.test.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/utils/index.js
100644 → 100755
Empty file.
Empty file modified packages/url-utils/test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified renovate.json
100644 → 100755
Empty file.
Empty file modified test/.eslintrc.js
100644 → 100755
Empty file.
Empty file modified test/hello.test.js
100644 → 100755
Empty file.
Empty file modified test/utils/assertions.js
100644 → 100755
Empty file.
Empty file modified test/utils/index.js
100644 → 100755
Empty file.
Empty file modified test/utils/overrides.js
100644 → 100755
Empty file.
Empty file modified yarn.lock
100644 → 100755
Empty file.