0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Updated @tryghost/members-{api,csv} for importer

no-issue

- Updates members-api to throw errors when attempting to link to
  stripe customers if it is not configured, which allows us to include
  the errors in the CSV

- Updates members-csv to handle the header mappings as well as parsing
  the values so that we can read a CSV file and get back valid member
  objects
This commit is contained in:
Fabien O'Carroll 2020-12-09 16:13:31 +00:00 committed by Fabien 'egg' O'Carroll
parent cfad396652
commit ff12d7a89a
2 changed files with 10 additions and 10 deletions

View file

@ -56,8 +56,8 @@
"@tryghost/kg-markdown-html-renderer": "2.0.4",
"@tryghost/kg-mobiledoc-html-renderer": "3.0.1",
"@tryghost/magic-link": "0.6.2",
"@tryghost/members-api": "0.35.0",
"@tryghost/members-csv": "0.3.3",
"@tryghost/members-api": "0.36.0",
"@tryghost/members-csv": "0.4.1",
"@tryghost/members-ssr": "0.8.6",
"@tryghost/mw-session-from-token": "0.1.11",
"@tryghost/promise": "0.1.2",

View file

@ -520,10 +520,10 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@0.35.0":
version "0.35.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-0.35.0.tgz#413de8614ba431aaaa683425ab633084eefc010f"
integrity sha512-8N9npMF01B5463NCcKlN9Rli+8nfde2OS2/vw4VJqDdNqgMnoZTyJh43iRqTZbDNH4/47tFAm0fHwyfRdsJ3nA==
"@tryghost/members-api@0.36.0":
version "0.36.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-0.36.0.tgz#b085de5a6b13663dbe05e8dae8daa9a8fb2f17ed"
integrity sha512-GrrVsrMdBU2Emq/KVxSOdGIki0sKUvrtSrwT95LoKa809Tnim9Doc1CNKkF48wkdMtv9Byq3rUEf8aoHjthQiA==
dependencies:
"@tryghost/magic-link" "^0.6.2"
bluebird "^3.5.4"
@ -538,10 +538,10 @@
node-jose "^1.1.3"
stripe "^7.4.0"
"@tryghost/members-csv@0.3.3":
version "0.3.3"
resolved "https://registry.yarnpkg.com/@tryghost/members-csv/-/members-csv-0.3.3.tgz#cb29ad3d9c8f6efa3d8d9bce5934abdc6e21367b"
integrity sha512-ZOvAWpC8cNoIxC/phcytdb7V3JN/eCnUe6JfVQlgwe0rwtrlD8yN+ysqTmv7eBLjvh1B9K2tToKbMg5ARas8tw==
"@tryghost/members-csv@0.4.1":
version "0.4.1"
resolved "https://registry.yarnpkg.com/@tryghost/members-csv/-/members-csv-0.4.1.tgz#489c3943168956754752ca9fe118011fa75f2923"
integrity sha512-oLp7mMJzfche8dxUtUYu3nvKVpq44iu20EiRiSSx5Q+V6rAkdMl2I/E6beB2gcm6utDkqZRWYwAsxo8qQr6DRg==
dependencies:
papaparse "5.3.0"