stamina-api
Advanced tools
Comparing version 1.1.3-dev to 1.1.4-dev
14
index.js
@@ -5,2 +5,16 @@ module.exports = { | ||
version: require("./package.json").version | ||
} | ||
const UpdateNotifier = require("update-notifier") | ||
var pkg = require("./package.json") | ||
const notifier = UpdateNotifier({ | ||
pkg, | ||
updateCheckInterval: 1000 * 10 | ||
}) | ||
notifier.notify() | ||
if (notifier.update) { | ||
require("./funtions/update").update("The "+pkg.update.version+" version is available ! \nhttps://npmjs.com/packages/stamina-api") | ||
} |
{ | ||
"name": "stamina-api", | ||
"version": "1.1.3-dev", | ||
"description": "Npm module can make jokes generator and other.\nThis module is for Stamina website and game.\n- Only Stamina's developpers: Can manage Stamina's infrastructure.", | ||
"version": "1.1.4-dev", | ||
"description": "Npm module can make jokes generator and other. This module is for Stamina website and game.\n- Only Stamina's developpers: Can manage Stamina's infrastructure.", | ||
"main": "index.js", | ||
@@ -30,4 +30,5 @@ "scripts": { | ||
"fs": "^0.0.1-security", | ||
"stamina-api": "^1.1.31-dev", | ||
"update-notifier": "^5.1.0" | ||
} | ||
} |
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
188388
8
7604
3
+ Addedstamina-api@^1.1.31-dev
+ Addedstamina-api@1.1.31-dev(transitive)