@elderjs/plugin-random
Advanced tools
Comparing version 0.1.41 to 0.1.42
@@ -10,3 +10,6 @@ const notProduction = process.env.NODE_ENV !== 'production'; | ||
if (plugin.settings.version) { | ||
const [major, minor, patch] = plugin.settings.version.split('.'); | ||
const pv = plugin.settings.version.split('.'); | ||
const major = Number(pv[0]); | ||
const minor = Number(pv[1]); | ||
const patch = Number(pv[2]); | ||
if (major > 1) enabled = true; | ||
@@ -13,0 +16,0 @@ if (major === 1 && minor > 4) enabled = true; |
{ | ||
"name": "@elderjs/plugin-random", | ||
"version": "0.1.41", | ||
"version": "0.1.42", | ||
"description": "Easily preview a random page of a route by visiting a single url. This plugin should be used exclusively for development.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6511
94