@vue-macros/define-emit
Advanced tools
Comparing version 0.1.16 to 0.2.0
@@ -11,2 +11,2 @@ declare const EMIT_VARIABLE_NAME = "__MACROS_emit"; | ||
export { EMIT_VARIABLE_NAME, Emit, transformDefineEmit }; | ||
export { EMIT_VARIABLE_NAME, type Emit, transformDefineEmit }; |
@@ -12,2 +12,2 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
module.exports = exports.default | ||
module.exports = exports.default; |
@@ -10,2 +10,2 @@ import * as unplugin from 'unplugin'; | ||
export { Options, OptionsResolved, _default as default }; | ||
export { type Options, type OptionsResolved, _default as default }; |
@@ -9,2 +9,2 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
module.exports = exports.default | ||
module.exports = exports.default; |
@@ -12,2 +12,2 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
module.exports = exports.default | ||
module.exports = exports.default; |
@@ -6,4 +6,4 @@ import * as vite from 'vite'; | ||
declare const _default: (options?: Options | undefined) => vite.Plugin; | ||
declare const _default: (options?: Options | undefined) => vite.Plugin<any>; | ||
export = _default; |
@@ -12,2 +12,2 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
module.exports = exports.default | ||
module.exports = exports.default; |
@@ -12,2 +12,2 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
module.exports = exports.default | ||
module.exports = exports.default; |
type MaybeTupleFunction<T, R> = T extends any[] | ||
? (...args: T) => R | ||
: T extends (...args: any) => any | ||
? (...args: Parameters<T>) => R | ||
: T | ||
? (...args: Parameters<T>) => R | ||
: T | ||
@@ -11,3 +11,3 @@ export declare function defineEmit< | ||
emitName?: string, | ||
validator?: MaybeTupleFunction<T, any> | ||
validator?: MaybeTupleFunction<T, any>, | ||
): MaybeTupleFunction<T, void> |
{ | ||
"name": "@vue-macros/define-emit", | ||
"version": "0.1.16", | ||
"packageManager": "pnpm@8.7.4", | ||
"version": "0.2.0", | ||
"packageManager": "pnpm@8.10.4", | ||
"description": "define-emit feature from Vue Macros.", | ||
@@ -17,3 +17,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"homepage": "https://github.com/vue-macros/vue-macros#readme", | ||
"homepage": "https://vue-macros.dev", | ||
"bugs": { | ||
@@ -83,9 +83,8 @@ "url": "https://github.com/vue-macros/vue-macros/issues" | ||
"dependencies": { | ||
"rollup": "^3.29.1", | ||
"unplugin": "^1.4.0", | ||
"@vue-macros/api": "0.8.6", | ||
"@vue-macros/common": "1.8.0" | ||
"unplugin": "^1.5.1", | ||
"@vue-macros/api": "0.9.0", | ||
"@vue-macros/common": "1.9.0" | ||
}, | ||
"devDependencies": { | ||
"vue": "^3.3.4" | ||
"vue": "^3.3.8" | ||
}, | ||
@@ -92,0 +91,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
17484
4
392
+ Added@vue-macros/api@0.9.0(transitive)
+ Added@vue-macros/common@1.9.0(transitive)
+ Addedconfbox@0.1.8(transitive)
+ Addedlocal-pkg@0.5.1(transitive)
+ Addedmlly@1.7.3(transitive)
+ Addedpkg-types@1.2.1(transitive)
+ Addedufo@1.5.4(transitive)
- Removedrollup@^3.29.1
- Removed@vue-macros/api@0.8.6(transitive)
- Removed@vue-macros/common@1.8.0(transitive)
- Removedfsevents@2.3.3(transitive)
- Removedlocal-pkg@0.4.3(transitive)
- Removedrollup@3.29.5(transitive)
Updated@vue-macros/api@0.9.0
Updated@vue-macros/common@1.9.0
Updatedunplugin@^1.5.1