bajo-extra 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo-extra",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Extra package for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/plugin/factory.js CHANGED
@@ -328,7 +328,7 @@ async function factory (pkgName) {
328
328
  return crypto.createHash(type, options).update(text).digest(options.digest)
329
329
  }
330
330
 
331
- isBcryptString = (text) => {
331
+ isBcrypt = (text) => {
332
332
  // return /^\$2[ayb]\$.{56}$/.test(text)
333
333
  return /^\$2[aby]?\$\d{1,2}\$[./A-Za-z0-9]{53}$/.test(text)
334
334
  }