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

aesthetic-adapter-glamor

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aesthetic-adapter-glamor - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 2.1.1 - 03/20/18
#### 🛠 Internal
* Updated dependencies.
# 2.1.0 - 01/13/18

@@ -2,0 +6,0 @@ #### 🚀 New

10

package.json
{
"name": "aesthetic-adapter-glamor",
"version": "2.1.0",
"version": "2.1.1",
"description": "Glamor support for Aesthetic.",

@@ -18,4 +18,4 @@ "keywords": [

"babel-runtime": "^6.26.0",
"lodash.merge": "^4.6.0",
"prop-types": "^15.6.0"
"lodash.merge": "^4.6.1",
"prop-types": "^15.6.1"
},

@@ -27,6 +27,6 @@ "peerDependencies": {

"devDependencies": {
"@milesj/build-tool-config": "^0.48.0",
"aesthetic": "^2.2.0",
"@milesj/build-tool-config": "^0.50.0",
"aesthetic": "^2.2.2",
"glamor": "^2.20.40"
}
}

@@ -19,36 +19,1 @@ # Aesthetic with Glamor

```
## Usage
More information on how to get started can be found in the
[official documentation](https://github.com/milesj/aesthetic).
```javascript
import Aesthetic from 'aesthetic';
import GlamorAdapter from 'aesthetic-adapter-glamor';
const aesthetic = new Aesthetic(new GlamorAdapter());
```
### Unified Syntax
To make use of the unified syntax, simply import the adapter from the unified path.
```javascript
import GlamorAdapter from 'aesthetic-adapter-glamor/unified';
```
### Plugins
[Glamor plugins](https://github.com/threepointone/glamor/blob/master/docs/plugins.md)
can be added before the adapter is instantiated.
```javascript
import Aesthetic from 'aesthetic';
import GlamorAdapter from 'aesthetic-adapter-glamor';
import { plugins } from 'glamor';
plugins.add(plugin); // ...
const aesthetic = new Aesthetic(new GlamorAdapter());
```
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