New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@emmetio/action-utils

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emmetio/action-utils - npm Package Compare versions

Comparing version
1.2.0
to
1.2.1
+4
-1
dist/action-utils.cjs.js

@@ -1035,3 +1035,6 @@ 'use strict';

else {
return { syntax, type: 'markup' };
return {
syntax,
type: editor.syntaxType(syntax)
};
}

@@ -1038,0 +1041,0 @@ }

@@ -1028,3 +1028,6 @@ import { scan, attributes, createOptions } from '@emmetio/html-matcher';

else {
return { syntax, type: 'markup' };
return {
syntax,
type: editor.syntaxType(syntax)
};
}

@@ -1031,0 +1034,0 @@ }

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

import { UserConfig, MarkupAbbreviation, Options } from 'emmet';
import { UserConfig, MarkupAbbreviation, Options, SyntaxType } from 'emmet';
import { CSSContext } from './context';

@@ -55,4 +55,10 @@ import { TextRange } from './utils';

/**
* Check if given syntax is a CSS dialect (including SCSS, LESS etc)
* Returns Emmet abbreviation type for given syntax
*/
syntaxType(syntax: string): SyntaxType;
/**
* Check if given syntax is a CSS dialect, e.g. has similar to CSS syntax.
* For example, SCSS has the same syntax as CSS, but Sass isn’t since it’s
* indent-based.
*/
isCSS(syntax: string): boolean;

@@ -59,0 +65,0 @@ /**

+1
-1
{
"name": "@emmetio/action-utils",
"version": "1.2.0",
"version": "1.2.1",
"description": "Utilities for Emmet actions",

@@ -5,0 +5,0 @@ "main": "./dist/action-utils.cjs.js",

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

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