Ghost/ghost/security
Daniel Lockyer 1f9d9b1185 Fixed flaky test
- the test wants to assert that the output contains 0-9 a-z characters,
  but it actually asserts the output is a number followed by alphabet
  characters
- this commit updates the regex to allow any combination of letters and
  numbers
2022-07-26 12:51:37 +02:00
..
lib Added secret.create util to security package 2022-05-06 15:15:40 +01:00
test Fixed flaky test 2022-07-26 12:51:37 +02:00
.eslintrc.js Created @tryghost/security package 2020-08-11 13:29:32 +01:00
index.js Added secret.create util to security package 2022-05-06 15:15:40 +01:00
LICENSE 2022 2022-01-06 09:52:35 +00:00
package.json Published new versions 2022-07-22 16:46:56 +01:00
README.md 2022 2022-01-06 09:52:35 +00:00

Security

Install

npm install @tryghost/security --save

or

yarn add @tryghost/security

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.