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

@marko/babel-utils

Package Overview
Dependencies
Maintainers
6
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marko/babel-utils - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

3

dist/tags.js

@@ -300,2 +300,3 @@ "use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule = true;exports.findAttributeTags = findAttributeTags;exports.findParentTag = findParentTag;exports.getArgOrSequence = getArgOrSequence;exports.getFullyResolvedTagName = getFullyResolvedTagName;exports.getMacroIdentifier = getMacroIdentifier;exports.getMacroIdentifierForName = getMacroIdentifierForName;exports.getTagDef = getTagDef;exports.getTemplateId = getTemplateId;exports.hasMacro = hasMacro;exports.isAttributeTag = isAttributeTag;exports.isDynamicTag = isDynamicTag;exports.isLoopTag = isLoopTag;exports.isMacroTag = isMacroTag;exports.isNativeTag = isNativeTag;exports.isTransparentTag = isTransparentTag;exports.loadFileForImport = loadFileForImport;exports.loadFileForTag = loadFileForTag;exports.registerMacro = registerMacro;exports.resolveTagImport = resolveTagImport;var _path = require("path");

const sourceFileName = (0, _path.basename)(filename);
const sourceRoot = (0, _path.dirname)(filename);
const filenameRelative = (0, _path.relative)(CWD, filename);

@@ -305,2 +306,3 @@ return {

filename,
sourceRoot,
sourceFileName,

@@ -315,2 +317,3 @@ filenameRelative,

filename,
sourceRoot,
sourceFileName

@@ -317,0 +320,0 @@ }

6

index.d.ts

@@ -22,6 +22,6 @@ import type { types as t } from "@marko/compiler";

}
export type PluginDefinition<T = any> = {
export interface PluginDefinition<T = any> {
path?: string;
hook: Plugin<T>;
};
}
export interface TagDefinition {

@@ -213,3 +213,3 @@ dir: string;

quasis: Array<string | t.TemplateElement>,
expressions: t.Expression[]
...expressions: t.Expression[]
): t.TemplateLiteral;

@@ -216,0 +216,0 @@

{
"name": "@marko/babel-utils",
"description": "Utilities for use with Marko babel plugins.",
"version": "6.2.0",
"version": "6.2.1",
"author": "Dylan Piercey <dpiercey@ebay.com>",

@@ -13,3 +13,3 @@ "bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md",

"devDependencies": {
"@marko/compiler": "^5.31.0"
"@marko/compiler": "^5.31.2"
},

@@ -16,0 +16,0 @@ "files": [

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