Socket
Socket
Sign inDemoInstall

ember-cli-autoprefixer

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-autoprefixer - npm Package Compare versions

Comparing version 0.8.1 to 1.0.0-beta.0

6

CHANGELOG.md
## master
### 0.9.0
[BREAKING] - Will trigger deprecation warnings from autoprefixer if you still use the `browsers` key in `ember-cli-build`. To maintain this approach, change the key name to `overrideBrowserslist`. The preferred approach is now to use a `.browserlistrc` file, or add a `browserslist` item to your `package.json`. See https://github.com/browserslist/browserslist#readme for more information.
+ Upgrades Ember to 3.13
+ Upgrades broccoli-autoprofixer to `7.x`
### 0.8.1

@@ -5,0 +11,0 @@ + Fix issue with asset fingerprinting not taking autoprefixing into account [#39](https://github.com/kimroen/ember-cli-autoprefixer/pull/39)

1

config/environment.js

@@ -1,2 +0,1 @@

/*jshint node:true*/
'use strict';

@@ -3,0 +2,0 @@

@@ -1,10 +0,9 @@

/* jshint node: true */
'use strict';
var autoprefixer = require('broccoli-autoprefixer');
var defaults = require('lodash/defaults');
const Autoprefixer = require('broccoli-autoprefixer');
const treesToProcess = ['css', 'less', 'styl', 'scss', 'sass'];
module.exports = {
name: 'ember-cli-autoprefixer',
name: require('./package').name,
included: function(app) {

@@ -19,6 +18,8 @@ this.app = app;

this.options = defaults(this.app.options.autoprefixer || {}, {
browsers: this.project.targets && this.project.targets.browsers,
enabled: true
});
this.options = Object.assign(
{
enabled: true
},
this.app.options.autoprefixer || {}
);

@@ -30,4 +31,4 @@ this.enabled = this.options.enabled;

postprocessTree: function(type, tree) {
if ((type === 'all' || type === 'styles') && this.enabled) {
tree = autoprefixer(tree, this.options);
if (this.enabled && treesToProcess.includes(type)) {
tree = new Autoprefixer(tree, this.options);
}

@@ -34,0 +35,0 @@

The MIT License (MIT)
Copyright (c) 2016 Kim Røen
Copyright (c) 2019 Kim Røen

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

{
"name": "ember-cli-autoprefixer",
"version": "0.8.1",
"version": "1.0.0-beta.0",
"description": "Process styles in an ember-cli application using Autoprefixer",
"keywords": [
"ember-addon",
"autoprefixer",
"css",
"prefix",
"preprocess"
],
"repository": {
"type": "git",
"url": "git://github.com/kimroen/ember-cli-autoprefixer.git"
},
"license": "MIT",
"author": "Kim Røen",
"directories": {

@@ -10,10 +23,45 @@ "doc": "doc",

"scripts": {
"build": "ember build",
"start": "ember server",
"test": "ember try:testall"
"build": "ember build --environment=production",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"start": "ember serve",
"test": "ember test",
"test:all": "ember try:each"
},
"repository": {
"type": "git",
"url": "git://github.com/kimroen/ember-cli-autoprefixer.git"
"dependencies": {
"broccoli-autoprefixer": "^7.0.0",
"ember-cli-htmlbars": "^4.2.2"
},
"devDependencies": {
"@ember/optional-features": "^1.3.0",
"@glimmer/component": "^1.0.0",
"@glimmer/tracking": "^1.0.0",
"babel-eslint": "^10.0.3",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "^1.5.3",
"ember-cli": "~3.16.0",
"ember-cli-babel": "^7.17.2",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-eslint": "^5.1.0",
"ember-cli-inject-live-reload": "^2.0.2",
"ember-cli-sri": "^2.1.1",
"ember-cli-template-lint": "^1.0.0-beta.3",
"ember-cli-uglify": "^3.0.0",
"ember-disable-prototype-extensions": "^1.1.3",
"ember-export-application-global": "^2.0.1",
"ember-load-initializers": "^2.1.1",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-qunit": "^4.6.0",
"ember-resolver": "^7.0.0",
"ember-source": "~3.16.0",
"ember-source-channel-url": "^2.0.1",
"ember-try": "^1.4.0",
"eslint-plugin-ember": "^7.7.2",
"eslint-plugin-node": "^11.0.0",
"loader.js": "^4.7.0",
"qunit-dom": "^1.0.0"
},
"engines": {
"node": "10.* || >= 12"
},
"bugs": {

@@ -23,39 +71,5 @@ "url": "https://github.com/kimroen/ember-cli-autoprefixer/issues"

"homepage": "https://github.com/kimroen/ember-cli-autoprefixer",
"engines": {
"node": ">= 4"
"ember": {
"edition": "octane"
},
"author": "Kim Røen",
"license": "MIT",
"devDependencies": {
"broccoli-asset-rev": "^2.2.0",
"ember-cli": "2.3.0",
"ember-cli-app-version": "^1.0.0",
"ember-cli-babel": "^5.1.5",
"ember-cli-dependency-checker": "^1.2.0",
"ember-cli-htmlbars": "^1.0.1",
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
"ember-cli-inject-live-reload": "^1.3.1",
"ember-cli-qunit": "^1.2.1",
"ember-cli-release": "0.2.8",
"ember-cli-sri": "^2.0.0",
"ember-cli-uglify": "^1.2.0",
"ember-disable-prototype-extensions": "^1.1.0",
"ember-disable-proxy-controllers": "^1.0.1",
"ember-export-application-global": "^1.0.4",
"ember-load-initializers": "^0.5.0",
"ember-resolver": "^2.0.3",
"ember-try": "^0.1.2",
"loader.js": "^4.0.0"
},
"keywords": [
"ember-addon",
"autoprefixer",
"css",
"prefix",
"preprocess"
],
"dependencies": {
"broccoli-autoprefixer": "^5.0.0",
"lodash": "^4.0.0"
},
"ember-addon": {

@@ -66,4 +80,7 @@ "configPath": "tests/dummy/config",

"ember-cli-sri"
]
],
"versionCompatibility": {
"ember": ">3.8.0"
}
}
}

@@ -13,4 +13,5 @@ # Autoprefixer for Ember CLI [![Build Status](https://travis-ci.org/kimroen/ember-cli-autoprefixer.svg?branch=master)](https://travis-ci.org/kimroen/ember-cli-autoprefixer)

## Options
By default ember-cli-autoprefixer passes your projects target browsers (in Ember CLI >= 2.13.0)
to autoprefixer. However, you can manually configure what browsers to target and other options by
Add the target browsers to your package.json as per https://github.com/browserslist/browserslist#readme or use a `.browserslistrc` file.
You can manually configure what browsers to target and other options by
specifying them in your `ember-cli-build.js` (or `Brocfile.js`). An example:

@@ -21,3 +22,3 @@

autoprefixer: {
browsers: ['last 2 ios version'],
overrideBrowserslist: ['IE11'],
cascade: false

@@ -32,3 +33,3 @@ }

Other options would also go here along with `browsers`, `enabled` and `cascade`.
Other options would also go here along with `overrideBrowserslist`, `enabled` and `cascade`.

@@ -35,0 +36,0 @@ You can read more about these settings and others [over on the Autoprefixer page](https://github.com/postcss/autoprefixer#options).

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