Skip to content

Commit

Permalink
chore: update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
David Luna authored and David Luna committed Sep 10, 2024
1 parent 1351eff commit bd51f01
Show file tree
Hide file tree
Showing 6 changed files with 5,460 additions and 78 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm install --save csset

## Requirements

Works in all modern browsers :)
Although this lib has been tested using the node's [test runner](https://nodejs.org/docs/latest/api/test.html#test-runner) it should work in all node and browser environments that support `Set` and `template literals`.

## Usage

Expand Down Expand Up @@ -62,6 +62,17 @@ console.assert(set1.intersection(set2) === undefined); // void means empty set

## Release notes

### [0.1.0]

- BREAKING CHANGE: the package has been migrated from TypeScript to
JavaScript + JsDocs for types. In this migration I've decided to make the
package ESM only so `require` would fail to load the lib. The new flag
`--experimental-require-module` can be used to load the lib if your app
is in `commonjs` format. Checkout [the docs](https://nodejs.org/docs/latest/api/modules.html#loading-ecmascript-modules-using-require).
- Embed the parser into the lib
- Add `intersection` API
- Update demos

### [0.0.10]

- Use `parsel-ts` to tokenize selectors
Expand Down
8 changes: 4 additions & 4 deletions demo/bundle.js

Large diffs are not rendered by default.

Loading

0 comments on commit bd51f01

Please sign in to comment.