diff --git a/package-lock.json b/package-lock.json index 800ba84..df3faa0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,10 +9,10 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@apimatic/core": "^0.6.1", + "@apimatic/core": "^0.10.5", "@apimatic/schema": "^0.6.0", "@babel/preset-env": "^7.13.15", - "axios": "^0.27.2", + "axios": "^1.7.8", "detect-node": "^2.0.4", "form-data": "^3.0.0", "json-bigint": "^1.0.0", @@ -33,31 +33,108 @@ "node": ">=10.4.0" } }, + "node_modules/@apimatic/convert-to-stream": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@apimatic/convert-to-stream/-/convert-to-stream-0.0.2.tgz", + "integrity": "sha512-1DRg17ItExfMYsXwjt6WIjJSCgV5RGg3fHPLgYD44/YmiU+7suWj7YfPKKUqmNcnJ/AvMh4lG1+tHrfOT01zXw==", + "license": "ISC", + "engines": { + "node": ">=10.4.0" + } + }, "node_modules/@apimatic/core": { - "version": "0.6.1", - "license": "SEE LICENSE IN LICENSE.md", - "dependencies": { - "@apimatic/schema": "^0.6.0", - "axios": "^0.21.1", + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/@apimatic/core/-/core-0.10.5.tgz", + "integrity": "sha512-pV5O7AkPdB2+yubQnnVy8b1BR+izr2aNkUWFh2qGfx5jRkvOQzTmfMuQtS/rBSgY718zpfCccDnkcMQ8KjrVmg==", + "license": "MIT", + "dependencies": { + "@apimatic/convert-to-stream": "^0.0.2", + "@apimatic/core-interfaces": "^0.2.0", + "@apimatic/file-wrapper": "^0.3.0", + "@apimatic/http-headers": "^0.3.0", + "@apimatic/http-query": "^0.3.0", + "@apimatic/json-bigint": "^1.2.0", + "@apimatic/schema": "^0.7.0", + "detect-browser": "^5.3.0", "detect-node": "^2.0.4", "form-data": "^3.0.0", - "json-bigint": "^1.0.0", + "json-ptr": "^3.1.0", "lodash.flatmap": "^4.5.0", "tiny-warning": "^1.0.3", "tslib": "^2.1.0" }, "engines": { - "node": ">=10.4.0" + "node": ">=14.15.0 || >=16.0.0" } }, - "node_modules/@apimatic/core/node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "node_modules/@apimatic/core-interfaces": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@apimatic/core-interfaces/-/core-interfaces-0.2.7.tgz", + "integrity": "sha512-ZGvUL9ka1vuyj/zNwShmqaX38nvLS4QcQOtfuPy/WI65HJv+mdMQxWoHTyjvVq/zVs+YRDgN0UXE2MzkqGoDjQ==", + "license": "MIT", "dependencies": { - "follow-redirects": "^1.14.0" + "@apimatic/file-wrapper": "^0.3.3", + "tslib": "^2.1.0" + }, + "engines": { + "node": ">=14.15.0 || >=16.0.0" + } + }, + "node_modules/@apimatic/core/node_modules/@apimatic/schema": { + "version": "0.7.13", + "resolved": "https://registry.npmjs.org/@apimatic/schema/-/schema-0.7.13.tgz", + "integrity": "sha512-nGeOFuCG8EhNgbWkJ2Ij6PvX82Rc5WPOWEewweHsKXBPuGy1MhtQBGQjp0xjQNf64jD644Td1lKttWt78AU4rA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.1.0" + }, + "engines": { + "node": ">=14.15.0 || >=16.0.0" + } + }, + "node_modules/@apimatic/file-wrapper": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@apimatic/file-wrapper/-/file-wrapper-0.3.3.tgz", + "integrity": "sha512-XIyiRb7PtbILJCof5RKJdElLiRakUk9DQRBYqzUjp1H1tM9MjKTnPYvKa9Rkel+o/wJ1RcB/IEwPtYhYWzQtow==", + "license": "MIT", + "dependencies": { + "tslib": "^2.1.0" + }, + "engines": { + "node": ">=14.15.0 || >=16.0.0" + } + }, + "node_modules/@apimatic/http-headers": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@apimatic/http-headers/-/http-headers-0.3.3.tgz", + "integrity": "sha512-xfDipaFoYgazLJnaEPeG72TOZOQj1PqhJ8zQgpo4Tsr1D/ggmFyiJnuD7RwSqZXCfiMgcRWN0Xzi2mrk0unhrQ==", + "license": "MIT", + "dependencies": { + "tslib": "^2.1.0" + }, + "engines": { + "node": ">=14.15.0 || >=16.0.0" + } + }, + "node_modules/@apimatic/http-query": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@apimatic/http-query/-/http-query-0.3.3.tgz", + "integrity": "sha512-omPc56Bv5o/6QL6rcXfCkZfJ/NFl4yD+vVfotfVYeyb4ewGWCD8pc6v6cSOwID2A06pK2wy41ltjiuSkaQ+QIA==", + "license": "MIT", + "dependencies": { + "@apimatic/file-wrapper": "^0.3.3", + "tslib": "^2.1.0" + }, + "engines": { + "node": ">=14.15.0 || >=16.0.0" } }, + "node_modules/@apimatic/json-bigint": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@apimatic/json-bigint/-/json-bigint-1.2.0.tgz", + "integrity": "sha512-+bmVzYMdZu0Ya5L+my4FXFUih54OvQA/qlZsFOYdOoostyUuB27UDrVWQs/WVCmS0ADdo5vTU0eeTrrBkHoySw==", + "license": "MIT" + }, "node_modules/@apimatic/schema": { "version": "0.6.0", "license": "SEE LICENSE IN LICENSE.md", @@ -2469,12 +2546,14 @@ } }, "node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.7.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.8.tgz", + "integrity": "sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==", + "license": "MIT", "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "node_modules/axios/node_modules/form-data": { @@ -3456,6 +3535,12 @@ "node": ">=0.4.0" } }, + "node_modules/detect-browser": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/detect-browser/-/detect-browser-5.3.0.tgz", + "integrity": "sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==", + "license": "MIT" + }, "node_modules/detect-newline": { "version": "3.1.0", "dev": true, @@ -4562,15 +4647,16 @@ "license": "ISC" }, "node_modules/follow-redirects": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", - "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/RubenVerborgh" } ], + "license": "MIT", "engines": { "node": ">=4.0" }, @@ -7257,6 +7343,12 @@ "dev": true, "license": "MIT" }, + "node_modules/json-ptr": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/json-ptr/-/json-ptr-3.1.1.tgz", + "integrity": "sha512-SiSJQ805W1sDUCD1+/t1/1BIrveq2Fe9HJqENxZmMCILmrPI7WhS/pePpIOx85v6/H2z1Vy7AI08GV2TzfXocg==", + "license": "MIT" + }, "node_modules/json-schema": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", @@ -8555,6 +8647,12 @@ "react-is": "^16.8.1" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" + }, "node_modules/psl": { "version": "1.8.0", "dev": true, @@ -11214,29 +11312,81 @@ } }, "dependencies": { + "@apimatic/convert-to-stream": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@apimatic/convert-to-stream/-/convert-to-stream-0.0.2.tgz", + "integrity": "sha512-1DRg17ItExfMYsXwjt6WIjJSCgV5RGg3fHPLgYD44/YmiU+7suWj7YfPKKUqmNcnJ/AvMh4lG1+tHrfOT01zXw==" + }, "@apimatic/core": { - "version": "0.6.1", - "requires": { - "@apimatic/schema": "^0.6.0", - "axios": "^0.21.1", + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/@apimatic/core/-/core-0.10.5.tgz", + "integrity": "sha512-pV5O7AkPdB2+yubQnnVy8b1BR+izr2aNkUWFh2qGfx5jRkvOQzTmfMuQtS/rBSgY718zpfCccDnkcMQ8KjrVmg==", + "requires": { + "@apimatic/convert-to-stream": "^0.0.2", + "@apimatic/core-interfaces": "^0.2.0", + "@apimatic/file-wrapper": "^0.3.0", + "@apimatic/http-headers": "^0.3.0", + "@apimatic/http-query": "^0.3.0", + "@apimatic/json-bigint": "^1.2.0", + "@apimatic/schema": "^0.7.0", + "detect-browser": "^5.3.0", "detect-node": "^2.0.4", "form-data": "^3.0.0", - "json-bigint": "^1.0.0", + "json-ptr": "^3.1.0", "lodash.flatmap": "^4.5.0", "tiny-warning": "^1.0.3", "tslib": "^2.1.0" }, "dependencies": { - "axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "@apimatic/schema": { + "version": "0.7.13", + "resolved": "https://registry.npmjs.org/@apimatic/schema/-/schema-0.7.13.tgz", + "integrity": "sha512-nGeOFuCG8EhNgbWkJ2Ij6PvX82Rc5WPOWEewweHsKXBPuGy1MhtQBGQjp0xjQNf64jD644Td1lKttWt78AU4rA==", "requires": { - "follow-redirects": "^1.14.0" + "tslib": "^2.1.0" } } } }, + "@apimatic/core-interfaces": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@apimatic/core-interfaces/-/core-interfaces-0.2.7.tgz", + "integrity": "sha512-ZGvUL9ka1vuyj/zNwShmqaX38nvLS4QcQOtfuPy/WI65HJv+mdMQxWoHTyjvVq/zVs+YRDgN0UXE2MzkqGoDjQ==", + "requires": { + "@apimatic/file-wrapper": "^0.3.3", + "tslib": "^2.1.0" + } + }, + "@apimatic/file-wrapper": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@apimatic/file-wrapper/-/file-wrapper-0.3.3.tgz", + "integrity": "sha512-XIyiRb7PtbILJCof5RKJdElLiRakUk9DQRBYqzUjp1H1tM9MjKTnPYvKa9Rkel+o/wJ1RcB/IEwPtYhYWzQtow==", + "requires": { + "tslib": "^2.1.0" + } + }, + "@apimatic/http-headers": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@apimatic/http-headers/-/http-headers-0.3.3.tgz", + "integrity": "sha512-xfDipaFoYgazLJnaEPeG72TOZOQj1PqhJ8zQgpo4Tsr1D/ggmFyiJnuD7RwSqZXCfiMgcRWN0Xzi2mrk0unhrQ==", + "requires": { + "tslib": "^2.1.0" + } + }, + "@apimatic/http-query": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@apimatic/http-query/-/http-query-0.3.3.tgz", + "integrity": "sha512-omPc56Bv5o/6QL6rcXfCkZfJ/NFl4yD+vVfotfVYeyb4ewGWCD8pc6v6cSOwID2A06pK2wy41ltjiuSkaQ+QIA==", + "requires": { + "@apimatic/file-wrapper": "^0.3.3", + "tslib": "^2.1.0" + } + }, + "@apimatic/json-bigint": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@apimatic/json-bigint/-/json-bigint-1.2.0.tgz", + "integrity": "sha512-+bmVzYMdZu0Ya5L+my4FXFUih54OvQA/qlZsFOYdOoostyUuB27UDrVWQs/WVCmS0ADdo5vTU0eeTrrBkHoySw==" + }, "@apimatic/schema": { "version": "0.6.0", "requires": { @@ -12872,12 +13022,13 @@ "dev": true }, "axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.7.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.8.tgz", + "integrity": "sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==", "requires": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" }, "dependencies": { "form-data": { @@ -13545,6 +13696,11 @@ "delayed-stream": { "version": "1.0.0" }, + "detect-browser": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/detect-browser/-/detect-browser-5.3.0.tgz", + "integrity": "sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==" + }, "detect-newline": { "version": "3.1.0", "dev": true @@ -14288,9 +14444,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", - "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==" + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==" }, "for-in": { "version": "1.0.2", @@ -16033,6 +16189,11 @@ "version": "2.3.1", "dev": true }, + "json-ptr": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/json-ptr/-/json-ptr-3.1.1.tgz", + "integrity": "sha512-SiSJQ805W1sDUCD1+/t1/1BIrveq2Fe9HJqENxZmMCILmrPI7WhS/pePpIOx85v6/H2z1Vy7AI08GV2TzfXocg==" + }, "json-schema": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", @@ -16889,6 +17050,11 @@ "react-is": "^16.8.1" } }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "psl": { "version": "1.8.0", "dev": true diff --git a/package.json b/package.json index 2b50e27..9ff48d4 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,10 @@ "typescript": "^3.9.7" }, "dependencies": { - "@apimatic/core": "^0.6.1", + "@apimatic/core": "^0.10.5", "@apimatic/schema": "^0.6.0", "@babel/preset-env": "^7.13.15", - "axios": "^0.27.2", + "axios": "^1.7.8", "detect-node": "^2.0.4", "form-data": "^3.0.0", "json-bigint": "^1.0.0",