Skip to content

Commit 8fc1108

Browse files
authored
Merge pull request #316 from contentful/fix/lock-fast-copy-dependency
fix: lock fast-copy dependency [NONE]
2 parents 0cd2fb1 + 226453a commit 8fc1108

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist
22
coverage
3+
test/.eslintrc.js

.github/dependabot.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ updates:
99
timezone: UTC
1010
open-pull-requests-limit: 10
1111
ignore:
12-
- dependency-name: husky
13-
versions:
14-
- ">=5.0.0"
12+
- dependency-name: husky
13+
versions:
14+
- ">=5.0.0"
15+
- dependency-name: "fast-copy"
16+
versions:
17+
- ">=3.0.0"
1518
commit-message:
1619
prefix: build
1720
include: scope

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"node": ">=12"
4545
},
4646
"dependencies": {
47-
"fast-copy": "^3.0.0",
47+
"fast-copy": "^2.1.7",
4848
"lodash.isplainobject": "^4.0.6",
4949
"lodash.isstring": "^4.0.1",
5050
"p-throttle": "^4.1.1",
@@ -77,9 +77,9 @@
7777
"chai": "^4.3.4",
7878
"core-js": "^3.8.0",
7979
"cz-conventional-changelog": "^3.1.0",
80-
"eslint": "^7.2.0",
81-
"eslint-config-prettier": "^8.0.0",
82-
"eslint-config-standard": "^16.0.0",
80+
"eslint": "^8.26.0",
81+
"eslint-config-prettier": "^8.5.0",
82+
"eslint-config-standard": "^17.0.0",
8383
"eslint-plugin-babel": "^5.1.0",
8484
"eslint-plugin-import": "^2.13.0",
8585
"eslint-plugin-node": "^11.1.0",

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
2-
32
import { AxiosRequestHeaders } from 'axios'
3+
44
import type {
55
AxiosInstance as OriginalAxiosInstance,
66
AxiosRequestConfig,

test/unit/to-plain-object.spec.js renamed to test/unit/to-plain-object.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import toPlainObject from '../../src/to-plain-object'
22

33
it('toPlainObject', () => {
44
class TestClassObject {
5-
constructor(name) {
5+
private name: string
6+
private nestedProp: any
7+
constructor(name: string) {
68
this.name = name
79
this.nestedProp = {
810
int: 42,

0 commit comments

Comments
 (0)