Socket
Socket
Sign inDemoInstall

@adobe/css-tools

Package Overview
Dependencies
Maintainers
21
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/css-tools - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0-beta.1

dist/index.cjs

12

History.md

@@ -0,1 +1,13 @@

4.3.0 / 2023-03-07
==================
* Update build tools
* Update exports path and files
4.2.0 / 2023-02-21
==================
* Add @container support
* Add @layer support
4.1.0 / 2023-01-25

@@ -2,0 +14,0 @@ ==================

36

package.json
{
"name": "@adobe/css-tools",
"version": "4.1.0",
"version": "4.2.0-beta.1",
"description": "CSS parser / stringifier",
"main": "dist/umd/cssTools.js",
"module": "dist/cjs/cssTools.js",
"source": "src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/cssTools.js"
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"types": "dist/cjs/index.d.ts",
"types": "./dist/types.d.ts",
"type": "module",
"files": [

@@ -17,2 +19,4 @@ "dist",

"devDependencies": {
"@parcel/packager-ts": "2.8.3",
"@parcel/transformer-typescript-types": "2.8.3",
"@types/benchmark": "^2.1.1",

@@ -24,20 +28,16 @@ "@types/bytes": "^3.1.1",

"bytes": "^3.1.0",
"gts": "^4.0.0",
"gts": "^3.1.1",
"jest": "^28.1.1",
"parcel": "^2.8.3",
"ts-jest": "^28.0.4",
"ts-loader": "^9.3.0",
"ts-node": "^10.8.1",
"typescript": "^4.7.3",
"webpack": "^5.73.0",
"webpack-cli": "^5.0.1"
"typescript": "^4.7.3"
},
"scripts": {
"benchmark": "ts-node benchmark/index.ts",
"benchmark": "node benchmark/index.mjs",
"test": "jest",
"clean": "gts clean && rm -rf ./dist",
"build": "parcel build",
"fix": "gts fix",
"lint": "gts lint",
"clean": "gts clean",
"build": "npm run compile && npm run buildesm",
"buildesm": "tsc --project tsconfig.esm.json && node ./add_esm_import_extensions.mjs",
"compile": "set NODE_ENV=prod & webpack --mode production",
"fix": "gts fix",
"prepack": "npm run build",
"prepare": "npm run build",

@@ -44,0 +44,0 @@ "pretest": "npm run build",

@@ -231,2 +231,18 @@ # @adobe/css-tools

### container
The `@container` at-rule.
- conatiner: `String`. The part following `@container `.
- rules: `Array` of nodes with the types `rule`, `comment` and any of the
at-rule types.
### layer
The `@layer` at-rule.
- layer: `String`. The part following `@layer `.
- rules: `Array` of nodes with the types `rule`, `comment` and any of the
at-rule types. This may be null, if the rule did not contain any.
### Example

@@ -233,0 +249,0 @@

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