Install @woocommerce/woocommerce-rest-api dependency

This commit is contained in:
Rodel 2022-05-20 15:26:19 +08:00
parent 29afe4971e
commit 0429f2abfc
2 changed files with 40 additions and 3 deletions

View File

@ -52,6 +52,7 @@
"@woocommerce/e2e-environment": "workspace:*",
"@woocommerce/e2e-utils": "workspace:*",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/woocommerce-rest-api": "^1.0.1",
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
"@wordpress/babel-preset-default": "3.0.2",
"@wordpress/stylelint-config": "19.1.0",

View File

@ -1193,6 +1193,7 @@ importers:
'@woocommerce/e2e-environment': workspace:*
'@woocommerce/e2e-utils': workspace:*
'@woocommerce/eslint-plugin': workspace:*
'@woocommerce/woocommerce-rest-api': ^1.0.1
'@wordpress/babel-plugin-import-jsx-pragma': 1.1.3
'@wordpress/babel-preset-default': 3.0.2
'@wordpress/stylelint-config': 19.1.0
@ -1233,6 +1234,7 @@ importers:
'@woocommerce/e2e-environment': link:../../packages/js/e2e-environment
'@woocommerce/e2e-utils': link:../../packages/js/e2e-utils
'@woocommerce/eslint-plugin': link:../../packages/js/eslint-plugin
'@woocommerce/woocommerce-rest-api': 1.0.1
'@wordpress/babel-plugin-import-jsx-pragma': 1.1.3_@babel+core@7.12.9
'@wordpress/babel-preset-default': 3.0.2
'@wordpress/stylelint-config': 19.1.0_stylelint@13.13.1
@ -14346,7 +14348,7 @@ packages:
typescript:
optional: true
dependencies:
debug: 4.3.3
debug: 4.3.4
eslint-visitor-keys: 1.3.0
glob: 7.2.0
is-glob: 4.0.3
@ -14390,7 +14392,7 @@ packages:
dependencies:
'@typescript-eslint/types': 3.10.1
'@typescript-eslint/visitor-keys': 3.10.1
debug: 4.3.3
debug: 4.3.4
glob: 7.2.0
is-glob: 4.0.3
lodash: 4.17.21
@ -14948,6 +14950,16 @@ packages:
react: 17.0.2
dev: true
/@woocommerce/woocommerce-rest-api/1.0.1:
resolution: {integrity: sha512-YBk3EEYE0zax/egx6Rhpbu6hcCFyZpYQrjH9JO4NUGU3n3T0W9Edn7oAUbjL/c7Oezcg+UaQluCaKjY/B3zwxg==}
engines: {node: '>=8.0.0'}
dependencies:
axios: 0.19.2
create-hmac: 1.1.7
oauth-1.0a: 2.2.6
url-parse: 1.5.10
dev: true
/@wordpress/a11y/3.4.1:
resolution: {integrity: sha512-SjeLO8x/Y/QAcKBrvyJiu8KVAPckRLNwuFfgX7zCGM8vBfg+Depj94Hp55ARLjq0oXHg7EWKxSdzNkvmTz8AIA==}
engines: {node: '>=12'}
@ -17355,6 +17367,13 @@ packages:
is-buffer: 2.0.5
dev: true
/axios/0.19.2:
resolution: {integrity: sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==}
deprecated: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
dependencies:
follow-redirects: 1.5.10
dev: true
/axios/0.21.4:
resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==}
dependencies:
@ -23584,6 +23603,13 @@ packages:
optional: true
dev: false
/follow-redirects/1.5.10:
resolution: {integrity: sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==}
engines: {node: '>=4.0'}
dependencies:
debug: 3.1.0
dev: true
/for-each/0.3.3:
resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}
dependencies:
@ -30970,7 +30996,6 @@ packages:
/oauth-1.0a/2.2.6:
resolution: {integrity: sha512-6bkxv3N4Gu5lty4viIcIAnq5GbxECviMBeKR3WX/q87SPQ8E8aursPZUtsXDnxCs787af09WPRBLqYrf/lwoYQ==}
dev: false
/oauth-sign/0.9.0:
resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==}
@ -33521,6 +33546,10 @@ packages:
deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
dev: true
/querystringify/2.2.0:
resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==}
dev: true
/queue-microtask/1.2.3:
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
@ -38403,6 +38432,13 @@ packages:
prepend-http: 1.0.4
dev: true
/url-parse/1.5.10:
resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==}
dependencies:
querystringify: 2.2.0
requires-port: 1.0.0
dev: true
/url/0.10.3:
resolution: {integrity: sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=}
dependencies: