Skip to content

Commit

Permalink
fix(deps): update dependency @adobe/fetch to v4.0.13 (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Jun 12, 2023
1 parent f2f919f commit 2229139
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 22 deletions.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ module.exports = {
'jsdoc/check-param-names': 1,
'jsdoc/check-tag-names': 1,
'jsdoc/check-types': 1,
'jsdoc/newline-after-description': 1,
'jsdoc/no-undefined-types': 1,
'jsdoc/require-description': 0,
'jsdoc/require-description-complete-sentence': 1,
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
.nyc_output

/* Mocha */
junit
junit
.env
51 changes: 35 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"c8": "7.13.0",
"commitizen": "4.3.0",
"cz-conventional-changelog": "3.3.0",
"dotenv": "16.1.4",
"eslint": "8.36.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.27.5",
Expand All @@ -66,7 +67,7 @@
"semantic-release": "21.0.3"
},
"dependencies": {
"@adobe/fetch": "4.0.5",
"@adobe/fetch": "4.0.13",
"form-data": "4.0.0",
"object-hash": "3.0.0"
},
Expand Down
7 changes: 4 additions & 3 deletions test/edgedict.integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,12 @@ describe('#integration edge dictionary updates', () => {
fastly.writeDictItem(version, 'test_wo_dict', 'baz', undefined),
]);
} finally {
// create fresh
// create fresh
// 'update' doesn't seem to work anymore on write-only dictionaries....
const res1 = await fastly.bulkUpdateDictItems(
version,
'test_wo_dict',
{ item_key: 'foo', item_value: 'one', op: 'create' },
// { item_key: 'foo', item_value: 'one', op: 'create' },
{ item_key: 'bar', item_value: 'two', op: 'create' },
{ item_key: 'nope', item_value: 'three', op: 'create' },
{ item_key: 'baz', item_value: 'four', op: 'upsert' },
Expand All @@ -197,7 +198,7 @@ describe('#integration edge dictionary updates', () => {
const res2 = await fastly.bulkUpdateDictItems(
version,
'test_wo_dict',
{ item_key: 'foo', item_value: 'eins', op: 'update' },
// { item_key: 'foo', item_value: 'eins', op: 'update' },
{ item_key: 'bar', item_value: 'zwei', op: 'upsert' },
{ item_key: 'nope', item_value: 'three', op: 'delete' },
{ item_key: 'baz', item_value: 'four', op: 'delete' },
Expand Down
1 change: 1 addition & 0 deletions test/package.integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ describe('#integration compute@edge packages', () => {
authors: ['Lars Trieloff'],
language: 'javascript',
size: 2735861,
files_hash: 'a24353ecf54c2be005f3dea934a50e62916d829b62c16041f991cc1abbf9687a0836ec55b8c97d70b028b48a710b85a78b27c2a930a19cfbe946fb108a2eb657',
hashsum: '22c0a39699a3743001c8de6fc9a9422ac1dac13e9204b80d7f5ec3988a362e7eb3d589cd2a472edded08b712fb9ddf0fffec60642e6361fb5e16e28fc00b2e17',
});
}).timeout(60000);
Expand Down
3 changes: 3 additions & 0 deletions test/setup-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
// eslint-disable-next-line no-console
import { resolve } from 'path';
import { fileURLToPath } from 'url';
import { config } from 'dotenv';

config();

// eslint-disable-next-line no-console
console.log('Forcing HTTP/1.1 for Helix-Fetch');
Expand Down

0 comments on commit 2229139

Please sign in to comment.