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

parsel-ts

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

parsel-ts

Port of Parsel-js to TypeScript

latest
Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
12
-14.29%
Maintainers
1
Weekly downloads
 
Created
Source

parsel-ts

GitHub license Issues Build Status Coverage Status Code Size Weekly downloads

Summary

TypeScrpit port of the awesome library made by Lea Verou

You can find the original project here

Reason to do it is to learn more about CSS and its grammar but also to provide typings to another project I'm woring on and add some tweaks and fixes.

The idea is to remain consistent with the current API which you can read in the official website.

Release notes

[1.0.7]

  • Fix tokenization of pseudo-elements with arugments. See original issue 48

[1.0.6]

  • Fix types for universal selector token.

[1.0.5]

  • Fix for universal selector. See original issues 42 43 & 44
  • Add universal token type

[1.0.4]

  • Improved token types and export them.

[1.0.3]

  • Fix bad reference to TypeScript definition files.

[1.0.2]

  • Fix for attribute values trimmed if ending with i/s (case sensitive flags). See this issue

[1.0.1]

[1.0.0]

  • 1st version with parse, tokenize, specificity, specificityToNumber and walk APIs

Keywords

css

FAQs

Package last updated on 24 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts