Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@inox-tools/astro-when

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inox-tools/astro-when - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

8

dist/index.d.ts
/// <reference path="../virtual.d.ts" />
import * as astro from 'astro';
import { HookParameters } from 'astro-integration-kit';
type HookParams = HookParameters<'astro:config:setup'>;
declare const _default: (options?: undefined) => astro.AstroIntegration & {
hooks: {
'astro:config:setup': (params: HookParams) => void;
};
};
declare const _default: (options?: undefined) => astro.AstroIntegration & {};
export { _default as default };

4

package.json
{
"name": "@inox-tools/astro-when",
"version": "0.1.1",
"version": "0.1.2",
"description": "Integration that informs when in Astro's lifecycle the code is running",

@@ -27,3 +27,3 @@ "keywords": [

"dependencies": {
"astro-integration-kit": "^0.11.0"
"astro-integration-kit": "^0.13.0"
},

@@ -30,0 +30,0 @@ "devDependencies": {

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

import { defineIntegration, addVitePlugin, type HookParameters } from 'astro-integration-kit';
import { defineIntegration, addVitePlugin } from 'astro-integration-kit';
import { z } from 'astro/zod';
type HookParams = HookParameters<'astro:config:setup'>;
const VIRTUAL_MODULE_ID = '@it-astro:when';

@@ -17,3 +15,3 @@ const RESOLVED_MODULE_ID = `\x00${VIRTUAL_MODULE_ID}`;

hooks: {
'astro:config:setup': (params: HookParams) => {
'astro:config:setup': (params) => {
const outputMode = params.config.output;

@@ -20,0 +18,0 @@ const command = params.command;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc