update npmextra name
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -12,7 +12,7 @@ const plugins = require("./smartupdate.plugins"); | |||||||
| const smarttime_1 = require("smarttime"); | const smarttime_1 = require("smarttime"); | ||||||
| class SmartUpdate { | class SmartUpdate { | ||||||
|     constructor() { |     constructor() { | ||||||
|         this.kvStore = new plugins.npmextra.KeyValueStore('custom', 'global:smartupdate'); |         this.kvStore = new plugins.npmextra.KeyValueStore('custom', 'global_smartupdate'); | ||||||
|     } |     } | ||||||
|     check(npmnameArg, compareVersion, changelogUrlArg) { |     check(npmnameArg, compareVersion, changelogUrlArg) { | ||||||
|         return __awaiter(this, void 0, void 0, function* () { |         return __awaiter(this, void 0, void 0, function* () { | ||||||
|   | |||||||
| @@ -11,7 +11,7 @@ interface ICacheStatus { | |||||||
| import { KeyValueStore } from 'npmextra' | import { KeyValueStore } from 'npmextra' | ||||||
|  |  | ||||||
| export class SmartUpdate { | export class SmartUpdate { | ||||||
|   kvStore = new plugins.npmextra.KeyValueStore('custom', 'global:smartupdate') |   kvStore = new plugins.npmextra.KeyValueStore('custom', 'global_smartupdate') | ||||||
|  |  | ||||||
|   async check (npmnameArg: string, compareVersion: string, changelogUrlArg?: string) { |   async check (npmnameArg: string, compareVersion: string, changelogUrlArg?: string) { | ||||||
|     // the newData to write |     // the newData to write | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user