New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@bettergi/create-script

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bettergi/create-script - npm Package Compare versions

Comparing version
0.2.3
to
0.2.4
+2
-2
package.json
{
"name": "@bettergi/create-script",
"version": "0.2.3",
"version": "0.2.4",
"description": "搭建您的第一个 BetterGI 脚本项目",

@@ -39,3 +39,3 @@ "type": "module",

"@types/git-config": "^0.0.32",
"@types/node": "^25.0.6",
"@types/node": "^25.0.9",
"rimraf": "^6.1.2",

@@ -42,0 +42,0 @@ "typescript": "^5.9.3"

@@ -18,4 +18,5 @@ import eslint from "@eslint/js";

rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-floating-promises": ["error", { ignoreIIFE: true }],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unsafe-assignment": "off",

@@ -22,0 +23,0 @@ "@typescript-eslint/no-unsafe-call": "off",

@@ -17,9 +17,9 @@ {

"devDependencies": {
"@bettergi/cli": "^0.2.6",
"@bettergi/cli": "^0.2.9",
"@bettergi/types": "^0.1.10",
"@bettergi/utils": "^0.1.25",
"@bettergi/utils": "^0.1.27",
"@eslint/js": "^9.39.2",
"eslint": "^9.39.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0"
"typescript-eslint": "^8.53.0"
},

@@ -26,0 +26,0 @@ "engines": {

@@ -1,4 +0,4 @@

import { type ExtractSettingsMap, type Settings } from "@bettergi/cli";
import { defineSettings } from "@bettergi/cli";
const settings = [
const settings = defineSettings([
{

@@ -16,11 +16,10 @@ type: "checkbox",

}
] as const satisfies Settings;
]);
export default settings as Settings;
/** 覆写设置类型定义 */
export type SettingsMap = ExtractSettingsMap<typeof settings>;
/** 覆写脚本设置类型定义 */
type GlobalSettings = typeof settings & Record<string, any>;
declare global {
var settings: Record<string, any> & SettingsMap;
var settings: GlobalSettings;
}
export default settings;