generator-razor 14.0.47 → 14.0.49

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/app/index.js CHANGED
@@ -102,11 +102,11 @@ export default class extends Generator {
102
102
  message: 'New database name? A new database, username and password will be created.',
103
103
  default: 'newproject',
104
104
  validate: value => {
105
- if (/^[a-zA-Z0-9_]+$/.test(value)) {
105
+ if (/^[a-zA-Z0-9_-]+$/.test(value)) {
106
106
  return true
107
107
  }
108
108
 
109
- return 'Use only letters, numbers and underscores.'
109
+ return 'Use only letters, numbers, underscores and hyphens.'
110
110
  }
111
111
  }, {
112
112
  type: 'input',
@@ -156,10 +156,6 @@ RewriteRule .* browser-support.html [L]
156
156
 
157
157
  ### Begin: Compression ###
158
158
 
159
- <IfModule http2_module>
160
- Protocols h2 http/1.1
161
- </IfModule>
162
-
163
159
  # Optional: enable pre-compressed asset delivery
164
160
  AddEncoding gzip .gz
165
161
  AddType "text/javascript" .js.gz
@@ -156,10 +156,6 @@ RewriteRule .* browser-support.html [L]
156
156
 
157
157
  ### Begin: Compression ###
158
158
 
159
- <IfModule http2_module>
160
- Protocols h2 http/1.1
161
- </IfModule>
162
-
163
159
  # Optional: enable pre-compressed asset delivery
164
160
  AddEncoding gzip .gz
165
161
  AddType "text/javascript" .js.gz
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-razor",
3
- "version": "14.0.47",
3
+ "version": "14.0.49",
4
4
  "description": "Yeoman generator for razor TYPO3 distribution",
5
5
  "license": "MIT",
6
6
  "main": "app/index.js",