Socket
Socket
Sign inDemoInstall

j2c

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

j2c - npm Package Compare versions

Comparing version 0.11.1 to 0.11.2

gzip

5

HISTORY.md
# Change log
## v0.11.1
## v0.11.1 (2016-03-8) and v0.11.2
- patch bump to fix what `npm` installs by default (I erronously published `v1.0.0-0` on without `--tag next`)
- Patch bump to fix what `npm` installs by default (I erronously published `v1.0.0-x` on without `--tag next`, twice) Note to self, don't publish in the
wee hours.

@@ -7,0 +8,0 @@ ## v0.11.0

2

package.json
{
"name": "j2c",
"version": "0.11.1",
"version": "0.11.2",
"description": "A tiny CSS in JS solution.",

@@ -5,0 +5,0 @@ "main": "dist/j2c.commonjs.js",

@@ -15,7 +15,7 @@ # ./src

Regarding bugs, there's at this point a 3/1 test/code ratio, and 100% test coverage, which allows to catch a lot of possible mistakes. The RegExps are used wisely, mostly for pattern matching or for lexing. The most complex ones are built separately using a library that emulates multi-line regexps.
Regarding bugs, there's at this point a 2.5/1 test/code ratio (after .min.gzippification of both), and 100% test coverage, which allows to catch a lot of possible mistakes. The RegExps are used wisely, mostly for pattern matching or for lexing. The most complex ones are built separately using a library that emulates multi-line regexps.
But most of all, behind the raw for loops and repetitions lies a clean, functional architecture.
Including helpers, `j2c` is built around five almost pure, pattern matching (conceptually) functions that recursively walk down JS objects.
Excluding helpers, `j2c` is built around three almost pure, pattern matching (conceptually) functions that recursively walk down JS objects.

@@ -33,3 +33,3 @@ The side effects are well defined:

`main.js` contains the public API (`j2c.*` functions)
`main.js` and `extras.js` contain the public API (`j2c` and `j2c.*` functions, respectively)

@@ -36,0 +36,0 @@ `sheet.js` handles the selectors part of the tree and dispatch to `at-rules` and `declarations` when needed.

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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