feat: init
This commit is contained in:
4
node_modules/nuxt/dist/app/plugins/utils.js
generated
vendored
Normal file
4
node_modules/nuxt/dist/app/plugins/utils.js
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
const VALID_ISLAND_KEY_RE = /^[a-z][a-z\d-]*_[a-z\d]+$/i;
|
||||
export function isValidIslandKey(key) {
|
||||
return typeof key === "string" && VALID_ISLAND_KEY_RE.test(key) && key.length <= 100;
|
||||
}
|
||||
Reference in New Issue
Block a user