@twin.org/core 0.0.1-next.43 → 0.0.1-next.44

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.
@@ -142,7 +142,7 @@ class Is {
142
142
  static stringBase64Url(value) {
143
143
  return (Is.stringValue(value) &&
144
144
  // eslint-disable-next-line unicorn/better-regex
145
- /^(?:[A-Za-z0-9-_]{4})*(?:[A-Za-z0-9-_]{2}==|[A-Za-z0-9-_]{3}=)?$/.test(value));
145
+ /^([A-Za-z0-9-_])*$/.test(value));
146
146
  }
147
147
  /**
148
148
  * Is the value a base58 string.
@@ -140,7 +140,7 @@ class Is {
140
140
  static stringBase64Url(value) {
141
141
  return (Is.stringValue(value) &&
142
142
  // eslint-disable-next-line unicorn/better-regex
143
- /^(?:[A-Za-z0-9-_]{4})*(?:[A-Za-z0-9-_]{2}==|[A-Za-z0-9-_]{3}=)?$/.test(value));
143
+ /^([A-Za-z0-9-_])*$/.test(value));
144
144
  }
145
145
  /**
146
146
  * Is the value a base58 string.
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/core - Changelog
2
2
 
3
- ## 0.0.1-next.43
3
+ ## 0.0.1-next.44
4
4
 
5
5
  - Initial Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/core",
3
- "version": "0.0.1-next.43",
3
+ "version": "0.0.1-next.44",
4
4
  "description": "Helper methods/classes for data type checking/validation/guarding/error handling",
5
5
  "repository": {
6
6
  "type": "git",