proca 2.2.0 → 2.2.1

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,7 +1,7 @@
1
1
  {
2
2
  "name": "proca",
3
3
  "description": "Access the proca api",
4
- "version": "2.2.0",
4
+ "version": "2.2.1",
5
5
  "author": "Xavier",
6
6
  "bin": {
7
7
  "proca": "proca-cli"
@@ -75,7 +75,7 @@ class ProcaCommand extends Command {
75
75
  }
76
76
 
77
77
  static safeName = (input) => {
78
- const pattern = /^[a-zA-Z0-9\-_]+$/;
78
+ const pattern = /^[a-zA-Z0-9\-_\/]+$/;
79
79
  if (!pattern.test(input)) {
80
80
  throw new Error(`Invalid characters in: ${input}`);
81
81
  }