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

@emmetio/extract-abbreviation

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emmetio/extract-abbreviation - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

12

dist/extract-abbreviation.cjs.js

@@ -257,2 +257,7 @@ 'use strict';

const defaultOptions = {
syntax: 'markup',
lookAhead: null
};
/**

@@ -283,8 +288,5 @@ * Extracts Emmet abbreviation from given string.

if (typeof options === 'boolean') {
options = { lookAhead: options };
options = Object.assign(defaultOptions, { lookAhead: options });
} else {
options = Object.assign({
syntax: 'markup',
lookAhead: null
}, options);
options = Object.assign(defaultOptions, options);
}

@@ -291,0 +293,0 @@

@@ -255,2 +255,7 @@ /**

const defaultOptions = {
syntax: 'markup',
lookAhead: null
};
/**

@@ -281,8 +286,5 @@ * Extracts Emmet abbreviation from given string.

if (typeof options === 'boolean') {
options = { lookAhead: options };
options = Object.assign(defaultOptions, { lookAhead: options });
} else {
options = Object.assign({
syntax: 'markup',
lookAhead: null
}, options);
options = Object.assign(defaultOptions, options);
}

@@ -289,0 +291,0 @@

{
"name": "@emmetio/extract-abbreviation",
"version": "0.1.5",
"version": "0.1.6",
"description": "Extracts Emmet abbreviation from string",

@@ -5,0 +5,0 @@ "main": "dist/extract-abbreviation.cjs.js",

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