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

@kdujs/compiler-sfc-canary

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kdujs/compiler-sfc-canary - npm Package Compare versions

Comparing version 3.20240325.0 to 3.20240401.0-minor.0

15

dist/compiler-sfc.d.ts

@@ -0,1 +1,2 @@

import * as lru_cache_min from 'lru-cache/min';
import * as _babel_types from '@babel/types';

@@ -104,3 +105,3 @@ import { Statement, Expression, TSType, Program, CallExpression, Node, ObjectPattern, TSModuleDeclaration, TSPropertySignature, TSMethodSignature, TSCallSignatureDeclaration, TSFunctionType } from '@babel/types';

* Generate the final component as a variable instead of default export.
* This is useful in e.g. @lahmjs/plugin-kdu where the script needs to be
* This is useful in e.g. @witejs/plugin-kdu where the script needs to be
* placed inside the main module.

@@ -147,6 +148,2 @@ */

reactivityTransform?: boolean;
/**
* Transform Kdu SFCs into custom elements.
*/
customElement?: boolean | ((filename: string) => boolean);
}

@@ -199,3 +196,3 @@ interface ImportBinding {

* Fully resolved dependency file paths (unix slashes) with imported types
* used in macros, used for HMR cache busting in @lahmjs/plugin-kdu and
* used in macros, used for HMR cache busting in @witejs/plugin-kdu and
* kdu-loader.

@@ -238,2 +235,3 @@ */

}
export declare const parseCache: Map<string, SFCParseResult> | lru_cache_min.LRUCache<string, SFCParseResult, unknown>;
export declare function parse(source: string, { sourceMap, filename, sourceRoot, pad, ignoreEmpty, compiler }?: SFCParseOptions): SFCParseResult;

@@ -365,3 +363,2 @@

isTS: boolean;
isCE: boolean;
scriptAst: Program | null;

@@ -467,3 +464,3 @@ scriptSetupAst: Program | null;

_resolvedElements?: ResolvedElements;
}, scope?: TypeScope, typeParameters?: Record<string, Node>): ResolvedElements;
}, scope?: TypeScope): ResolvedElements;
/**

@@ -481,5 +478,3 @@ * @private

export declare const parseCache: Map<string, SFCParseResult>;
export declare const walk: any;
{
"name": "@kdujs/compiler-sfc-canary",
"version": "3.20240325.0",
"version": "3.20240401.0-minor.0",
"description": "@kdujs/compiler-sfc",

@@ -35,18 +35,18 @@ "main": "dist/compiler-sfc.cjs.js",

"dependencies": {
"@babel/parser": "^7.23.5",
"@kdujs/compiler-core": "npm:@kdujs/compiler-core-canary@3.20240325.0",
"@kdujs/compiler-dom": "npm:@kdujs/compiler-dom-canary@3.20240325.0",
"@kdujs/compiler-ssr": "npm:@kdujs/compiler-ssr-canary@3.20240325.0",
"@kdujs/reactivity-transform": "npm:@kdujs/reactivity-transform-canary@3.20240325.0",
"@kdujs/shared": "npm:@kdujs/shared-canary@3.20240325.0",
"@babel/parser": "^7.23.0",
"@kdujs/compiler-core": "npm:@kdujs/compiler-core-canary@3.20240401.0-minor.0",
"@kdujs/compiler-dom": "npm:@kdujs/compiler-dom-canary@3.20240401.0-minor.0",
"@kdujs/compiler-ssr": "npm:@kdujs/compiler-ssr-canary@3.20240401.0-minor.0",
"@kdujs/reactivity-transform": "npm:@kdujs/reactivity-transform-canary@3.20240401.0-minor.0",
"@kdujs/shared": "npm:@kdujs/shared-canary@3.20240401.0-minor.0",
"estree-walker": "^2.0.2",
"magic-string": "^0.30.5",
"postcss": "^8.4.32",
"postcss": "^8.4.31",
"source-map-js": "^1.0.2"
},
"devDependencies": {
"@babel/types": "^7.23.5",
"@babel/types": "^7.23.0",
"@kdujs/consolidate": "^0.17.3",
"hash-sum": "^2.0.0",
"lru-cache": "^10.1.0",
"lru-cache": "^10.0.1",
"merge-source-map": "^1.1.0",

@@ -57,4 +57,4 @@ "minimatch": "^9.0.3",

"pug": "^3.0.2",
"sass": "^1.69.5"
"sass": "^1.69.4"
}
}

@@ -5,3 +5,3 @@ # @kdujs/compiler-sfc

This package contains lower level utilities that you can use if you are writing a plugin / transform for a bundler or module system that compiles Kdu Single File Components (SFCs) into JavaScript. It is used in `kdu-loader`, `rollup-plugin-kdu` and `lahm`.
This package contains lower level utilities that you can use if you are writing a plugin / transform for a bundler or module system that compiles Kdu Single File Components (SFCs) into JavaScript. It is used in `kdu-loader`, `rollup-plugin-kdu` and `wite`.

@@ -8,0 +8,0 @@ ## API

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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