nav tabs on admin dashboard
This commit is contained in:
94
node_modules/css-loader/node_modules/postcss/CHANGELOG.md
generated
vendored
94
node_modules/css-loader/node_modules/postcss/CHANGELOG.md
generated
vendored
@@ -1,7 +1,99 @@
|
||||
# Change Log
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## 5.1.18
|
||||
## 6.0.23
|
||||
* Fix parsing nested at-rules without semicolon, params, and spaces.
|
||||
|
||||
## 6.0.22
|
||||
* Fix `Node#prev` and `Node#next` on missed parent.
|
||||
|
||||
## 6.0.21
|
||||
* Rename Chinese docs to fix `yarnpkg.com` issue.
|
||||
|
||||
## 6.0.20
|
||||
* Better error message on `null` as input CSS.
|
||||
|
||||
## 6.0.19
|
||||
* Fix TypeScript definitions for source maps (by Oleh Kuchuk).
|
||||
* Fix `source` field in TypeScript definitions (by Sylvain Pollet-Villard).
|
||||
|
||||
## 6.0.18
|
||||
* Use primitive object in TypeScript definitions (by Sylvain Pollet-Villard).
|
||||
|
||||
## 6.0.17
|
||||
* Fix parsing comment in selector between word tokens (by Oleh Kuchuk).
|
||||
|
||||
## 6.0.16
|
||||
* Fix warning text (by Michael Keller).
|
||||
|
||||
## 6.0.15
|
||||
* Add warning about missed `from` option on `process().then()` call.
|
||||
* Add IE 10 support.
|
||||
|
||||
## 6.0.14
|
||||
* Fix TypeScript definitions (by Jed Mao).
|
||||
|
||||
## 6.0.13
|
||||
* Fix TypeScript definitions for case of multiple PostCSS versions
|
||||
in `node_modules` (by Chris Eppstein).
|
||||
* Use `source-map` 0.6.
|
||||
|
||||
## 6.0.12
|
||||
* Don’t copy `*` hack to declaration indent.
|
||||
|
||||
## 6.0.11
|
||||
* Add upper case `!IMPORTANT` support.
|
||||
|
||||
## 6.0.10
|
||||
* Reduce PostCSS size in webpack bundle.
|
||||
|
||||
## 6.0.9
|
||||
* Improve error message for plugin with old PostCSS (by Igor Adamenko).
|
||||
|
||||
## 6.0.8
|
||||
* Fix Node.js 4.2.2 support.
|
||||
|
||||
## 6.0.7
|
||||
* Fix base64 decoding for old Node.js and browser.
|
||||
|
||||
## 6.0.6
|
||||
* Fix `end` position in at-rule without semicolon (by Oleh Kuchuk).
|
||||
|
||||
## 6.0.5
|
||||
* Move Babel config from `package.json` for `node_modules` compiling cases.
|
||||
|
||||
## 6.0.4
|
||||
* Fix parsing `;;` after rules.
|
||||
* Use Chalk 2.0.
|
||||
|
||||
## 6.0.3
|
||||
* Fix escape sequences parsing (by Oleh Kuchuk).
|
||||
* Added ability to force disable colors with an environment variable.
|
||||
* Improved color detection of some terminal apps.
|
||||
|
||||
## 6.0.2
|
||||
* Keep `raws.before` on moving `Root` children to new `Root`.
|
||||
|
||||
## 6.0.1
|
||||
* Fix parser extensibility to use it in Safe Parser.
|
||||
|
||||
## 6.0 “Marquis Orias”
|
||||
* Remove node.js 0.12 support.
|
||||
* Remove deprecated method from PostCSS 4.
|
||||
* Insert methods remove child from previous parent, instead of closing.
|
||||
* Insert methods and cloning doesn’t clean `raws` anymore.
|
||||
* Methods `moveTo`, `moveAfter`, `moveBefore` were deprecated.
|
||||
* Options was changed in `Plugin#process(css, processOptions, pluginOptions)`.
|
||||
* Add stream parser to reduce memory usage (by Oleh Kuchuk).
|
||||
* Add `before()`/`after()` shortcuts for `node.parent.insertBefore(node, x)`.
|
||||
* Add `Rule#raws.ownSemicolon` for semicolon after templates for `@apply`.
|
||||
* Use `babel-preset-env` to compile npm package.
|
||||
* Remove `js-base64` from dependencies (by Roman Dvornov).
|
||||
* Fix error message on single `:` in CSS.
|
||||
* Move tests to Jest.
|
||||
* Clean up test (by Gabriel Kalani).
|
||||
|
||||
## 5.2.18
|
||||
* Fix TypeScript definitions for case of multiple PostCSS versions
|
||||
in `node_modules` (by Chris Eppstein).
|
||||
|
||||
|
||||
133
node_modules/css-loader/node_modules/postcss/README.md
generated
vendored
133
node_modules/css-loader/node_modules/postcss/README.md
generated
vendored
@@ -1,15 +1,11 @@
|
||||
# PostCSS [![Travis Build Status][travis-img]][travis] [![AppVeyor Build Status][appveyor-img]][appveyor] [![Gitter][chat-img]][chat]
|
||||
# PostCSS [![Gitter][chat-img]][chat]
|
||||
|
||||
<img align="right" width="95" height="95"
|
||||
title="Philosopher’s stone, logo of PostCSS"
|
||||
alt="Philosopher’s stone, logo of PostCSS"
|
||||
src="http://postcss.github.io/postcss/logo.svg">
|
||||
|
||||
[appveyor-img]: https://img.shields.io/appveyor/ci/ai/postcss.svg?label=windows
|
||||
[travis-img]: https://img.shields.io/travis/postcss/postcss.svg?label=unix
|
||||
[chat-img]: https://img.shields.io/badge/Gitter-Join_the_PostCSS_chat-brightgreen.svg
|
||||
[appveyor]: https://ci.appveyor.com/project/ai/postcss
|
||||
[travis]: https://travis-ci.org/postcss/postcss
|
||||
[chat]: https://gitter.im/postcss/postcss
|
||||
[chat-img]: https://img.shields.io/badge/Gitter-Join_the_PostCSS_chat-brightgreen.svg
|
||||
[chat]: https://gitter.im/postcss/postcss
|
||||
|
||||
PostCSS is a tool for transforming styles with JS plugins.
|
||||
These plugins can lint your CSS, support variables and mixins,
|
||||
@@ -19,15 +15,23 @@ PostCSS is used by industry leaders including Wikipedia, Twitter, Alibaba,
|
||||
and JetBrains. The [Autoprefixer] PostCSS plugin is one of the most popular
|
||||
CSS processors.
|
||||
|
||||
Twitter account: [@postcss](https://twitter.com/postcss).
|
||||
VK.com page: [postcss](https://vk.com/postcss).
|
||||
Support / Discussion: [Gitter](https://gitter.im/postcss/postcss).
|
||||
PostCSS takes a CSS file and provides an API to analyze and modify its rules
|
||||
(by transforming them into an [Abstract Syntax Tree]).
|
||||
This API can then be used by [plugins] to do a lot of useful things,
|
||||
e.g. to find errors automatically insert vendor prefixes.
|
||||
|
||||
**Support / Discussion:** [Gitter](https://gitter.im/postcss/postcss)<br>
|
||||
**Twitter account:** [@postcss](https://twitter.com/postcss)<br>
|
||||
**VK.com page:** [postcss](https://vk.com/postcss)<br>
|
||||
**中文翻译**: [`README-cn.md`](./README-cn.md)
|
||||
|
||||
For PostCSS commercial support (consulting, improving the front-end culture
|
||||
of your company, PostCSS plugins), contact [Evil Martians](https://evilmartians.com/?utm_source=postcss)
|
||||
at <surrender@evilmartians.com>.
|
||||
|
||||
[Autoprefixer]: https://github.com/postcss/autoprefixer
|
||||
[Abstract Syntax Tree]: https://en.wikipedia.org/wiki/Abstract_syntax_tree
|
||||
[Autoprefixer]: https://github.com/postcss/autoprefixer
|
||||
[plugins]: https://github.com/postcss/postcss#plugins
|
||||
|
||||
<a href="https://evilmartians.com/?utm_source=postcss">
|
||||
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg"
|
||||
@@ -62,9 +66,7 @@ If you have any new ideas, [PostCSS plugin development] is really easy.
|
||||
### Use Future CSS, Today
|
||||
|
||||
* [`autoprefixer`] adds vendor prefixes, using data from Can I Use.
|
||||
* [`postcss-cssnext`] allows you to use future CSS features today
|
||||
(includes `autoprefixer`).
|
||||
* [`postcss-image-set-polyfill`] emulates [`image-set`] function logic for all browsers
|
||||
* [`postcss-preset-env`] allows you to use future CSS features today.
|
||||
|
||||
### Better CSS Readability
|
||||
|
||||
@@ -97,35 +99,33 @@ If you have any new ideas, [PostCSS plugin development] is really easy.
|
||||
* [`lost`] is a feature-rich `calc()` grid system.
|
||||
* [`rtlcss`] mirrors styles for right-to-left locales.
|
||||
|
||||
[PostCSS plugin development]: https://github.com/postcss/postcss/blob/master/docs/writing-a-plugin.md
|
||||
[`postcss-inline-svg`]: https://github.com/TrySound/postcss-inline-svg
|
||||
[`react-css-modules`]: https://github.com/gajus/react-css-modules
|
||||
[`postcss-autoreset`]: https://github.com/maximkoretskiy/postcss-autoreset
|
||||
[`postcss-write-svg`]: https://github.com/jonathantneal/postcss-write-svg
|
||||
[`postcss-utilities`]: https://github.com/ismamz/postcss-utilities
|
||||
[`postcss-initial`]: https://github.com/maximkoretskiy/postcss-initial
|
||||
[`postcss-sprites`]: https://github.com/2createStudio/postcss-sprites
|
||||
[`postcss-modules`]: https://github.com/outpunk/postcss-modules
|
||||
[`postcss-sorting`]: https://github.com/hudochenkov/postcss-sorting
|
||||
[`postcss-cssnext`]: http://cssnext.io
|
||||
[`postcss-image-set-polyfill`]: https://github.com/SuperOl3g/postcss-image-set-polyfill
|
||||
[`postcss-assets`]: https://github.com/assetsjs/postcss-assets
|
||||
[`font-magician`]: https://github.com/jonathantneal/postcss-font-magician
|
||||
[`autoprefixer`]: https://github.com/postcss/autoprefixer
|
||||
[`cq-prolyfill`]: https://github.com/ausi/cq-prolyfill
|
||||
[`postcss-rtl`]: https://github.com/vkalinichev/postcss-rtl
|
||||
[`postcss-use`]: https://github.com/postcss/postcss-use
|
||||
[`css-modules`]: https://github.com/css-modules/css-modules
|
||||
[`colorguard`]: https://github.com/SlexAxton/css-colorguard
|
||||
[`stylelint`]: https://github.com/stylelint/stylelint
|
||||
[`stylefmt`]: https://github.com/morishitter/stylefmt
|
||||
[`cssnano`]: http://cssnano.co
|
||||
[`precss`]: https://github.com/jonathantneal/precss
|
||||
[`doiuse`]: https://github.com/anandthakker/doiuse
|
||||
[`rtlcss`]: https://github.com/MohammadYounes/rtlcss
|
||||
[`short`]: https://github.com/jonathantneal/postcss-short
|
||||
[`lost`]: https://github.com/peterramsing/lost
|
||||
[`image-set`]: https://drafts.csswg.org/css-images-3/#image-set-notation
|
||||
[PostCSS plugin development]: https://github.com/postcss/postcss/blob/master/docs/writing-a-plugin.md
|
||||
[`postcss-inline-svg`]: https://github.com/TrySound/postcss-inline-svg
|
||||
[`postcss-preset-env`]: https://github.com/jonathantneal/postcss-preset-env
|
||||
[`react-css-modules`]: https://github.com/gajus/react-css-modules
|
||||
[`postcss-autoreset`]: https://github.com/maximkoretskiy/postcss-autoreset
|
||||
[`postcss-write-svg`]: https://github.com/jonathantneal/postcss-write-svg
|
||||
[`postcss-utilities`]: https://github.com/ismamz/postcss-utilities
|
||||
[`postcss-initial`]: https://github.com/maximkoretskiy/postcss-initial
|
||||
[`postcss-sprites`]: https://github.com/2createStudio/postcss-sprites
|
||||
[`postcss-modules`]: https://github.com/outpunk/postcss-modules
|
||||
[`postcss-sorting`]: https://github.com/hudochenkov/postcss-sorting
|
||||
[`postcss-assets`]: https://github.com/assetsjs/postcss-assets
|
||||
[`font-magician`]: https://github.com/jonathantneal/postcss-font-magician
|
||||
[`autoprefixer`]: https://github.com/postcss/autoprefixer
|
||||
[`cq-prolyfill`]: https://github.com/ausi/cq-prolyfill
|
||||
[`postcss-rtl`]: https://github.com/vkalinichev/postcss-rtl
|
||||
[`postcss-use`]: https://github.com/postcss/postcss-use
|
||||
[`css-modules`]: https://github.com/css-modules/css-modules
|
||||
[`colorguard`]: https://github.com/SlexAxton/css-colorguard
|
||||
[`stylelint`]: https://github.com/stylelint/stylelint
|
||||
[`stylefmt`]: https://github.com/morishitter/stylefmt
|
||||
[`cssnano`]: http://cssnano.co
|
||||
[`precss`]: https://github.com/jonathantneal/precss
|
||||
[`doiuse`]: https://github.com/anandthakker/doiuse
|
||||
[`rtlcss`]: https://github.com/MohammadYounes/rtlcss
|
||||
[`short`]: https://github.com/jonathantneal/postcss-short
|
||||
[`lost`]: https://github.com/peterramsing/lost
|
||||
|
||||
## Syntaxes
|
||||
|
||||
@@ -134,6 +134,11 @@ If there is not yet support for your favorite syntax,
|
||||
you can write a parser and/or stringifier to extend PostCSS.
|
||||
|
||||
* [`sugarss`] is a indent-based syntax like Sass or Stylus.
|
||||
* [`postcss-syntax`] switch syntax automatically by file extensions.
|
||||
* [`postcss-html`] parsing styles in `<style>` tags of HTML-like files.
|
||||
* [`postcss-markdown`] parsing styles in code blocks of Markdown files.
|
||||
* [`postcss-jsx`] parsing CSS in template / object literals of source files.
|
||||
* [`postcss-styled`] parsing CSS in template literals of source files.
|
||||
* [`postcss-scss`] allows you to work with SCSS
|
||||
*(but does not compile SCSS to CSS)*.
|
||||
* [`postcss-sass`] allows you to work with Sass
|
||||
@@ -147,13 +152,18 @@ you can write a parser and/or stringifier to extend PostCSS.
|
||||
* [`postcss-safe-parser`] finds and fixes CSS syntax errors.
|
||||
* [`midas`] converts a CSS string to highlighted HTML.
|
||||
|
||||
[`sugarss`]: https://github.com/postcss/sugarss
|
||||
[`postcss-less-engine`]: https://github.com/Crunch/postcss-less
|
||||
[`postcss-safe-parser`]: https://github.com/postcss/postcss-safe-parser
|
||||
[`postcss-syntax`]: https://github.com/gucong3000/postcss-syntax
|
||||
[`postcss-html`]: https://github.com/gucong3000/postcss-html
|
||||
[`postcss-markdown`]: https://github.com/gucong3000/postcss-markdown
|
||||
[`postcss-jsx`]: https://github.com/gucong3000/postcss-jsx
|
||||
[`postcss-styled`]: https://github.com/gucong3000/postcss-styled
|
||||
[`postcss-scss`]: https://github.com/postcss/postcss-scss
|
||||
[`postcss-sass`]: https://github.com/AleshaOleg/postcss-sass
|
||||
[`postcss-less`]: https://github.com/webschik/postcss-less
|
||||
[`postcss-less-engine`]: https://github.com/Crunch/postcss-less
|
||||
[`postcss-js`]: https://github.com/postcss/postcss-js
|
||||
[`postcss-safe-parser`]: https://github.com/postcss/postcss-safe-parser
|
||||
[`sugarss`]: https://github.com/postcss/sugarss
|
||||
[`midas`]: https://github.com/ben-eb/midas
|
||||
|
||||
## Articles
|
||||
@@ -184,7 +194,7 @@ Use [`postcss-loader`] in `webpack.config.js`:
|
||||
```js
|
||||
module.exports = {
|
||||
module: {
|
||||
loaders: [
|
||||
rules: [
|
||||
{
|
||||
test: /\.css$/,
|
||||
exclude: /node_modules/,
|
||||
@@ -195,15 +205,11 @@ module.exports = {
|
||||
{
|
||||
loader: 'css-loader',
|
||||
options: {
|
||||
sourceMap: true,
|
||||
importLoaders: 1,
|
||||
}
|
||||
},
|
||||
{
|
||||
loader: 'postcss-loader',
|
||||
options: {
|
||||
sourceMap: 'inline',
|
||||
}
|
||||
loader: 'postcss-loader'
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -274,8 +280,8 @@ prefixer({ display: 'flex' }); //=> { display: ['-webkit-box', '-webkit-flex', '
|
||||
|
||||
[`postcss-js`]: https://github.com/postcss/postcss-js
|
||||
[Browserify]: http://browserify.org/
|
||||
[webpack]: https://webpack.github.io/
|
||||
[CSS-in-JS]: https://github.com/MicheleBertoli/css-in-js
|
||||
[webpack]: https://webpack.github.io/
|
||||
|
||||
### Runners
|
||||
|
||||
@@ -287,7 +293,7 @@ prefixer({ display: 'flex' }); //=> { display: ['-webkit-box', '-webkit-flex', '
|
||||
* **Broccoli**: [`broccoli-postcss`](https://github.com/jeffjewiss/broccoli-postcss)
|
||||
* **Meteor**: [`postcss`](https://atmospherejs.com/juliancwirko/postcss)
|
||||
* **ENB**: [`enb-postcss`](https://github.com/awinogradov/enb-postcss)
|
||||
* **Fly**: [`fly-postcss`](https://github.com/postcss/fly-postcss)
|
||||
* **Taskr**: [`taskr-postcss`](https://github.com/lukeed/taskr/tree/master/packages/postcss)
|
||||
* **Start**: [`start-postcss`](https://github.com/start-runner/postcss)
|
||||
* **Connect/Express**: [`postcss-middleware`](https://github.com/jedmao/postcss-middleware)
|
||||
|
||||
@@ -305,8 +311,10 @@ fs.readFile('src/app.css', (err, css) => {
|
||||
postcss([precss, autoprefixer])
|
||||
.process(css, { from: 'src/app.css', to: 'dest/app.css' })
|
||||
.then(result => {
|
||||
fs.writeFile('dest/app.css', result.css);
|
||||
if ( result.map ) fs.writeFile('dest/app.css.map', result.map);
|
||||
fs.writeFile('dest/app.css', result.css, () => true);
|
||||
if ( result.map ) {
|
||||
fs.writeFile('dest/app.css.map', result.map, () => true);
|
||||
}
|
||||
});
|
||||
});
|
||||
```
|
||||
@@ -338,17 +346,6 @@ Common options:
|
||||
[Midas]: https://github.com/ben-eb/midas
|
||||
[SCSS]: https://github.com/postcss/postcss-scss
|
||||
|
||||
### Node.js 0.10 and the Promise API
|
||||
|
||||
If you want to run PostCSS in Node.js 0.10, add the [Promise polyfill]:
|
||||
|
||||
```js
|
||||
require('es6-promise').polyfill();
|
||||
var postcss = require('postcss');
|
||||
```
|
||||
|
||||
[Promise polyfill]: https://github.com/jakearchibald/es6-promise
|
||||
|
||||
## Editors & IDE Integration
|
||||
|
||||
### Atom
|
||||
|
||||
2
node_modules/css-loader/node_modules/postcss/docs/source-maps.md
generated
vendored
2
node_modules/css-loader/node_modules/postcss/docs/source-maps.md
generated
vendored
@@ -68,5 +68,7 @@ option as an object with the following parameters:
|
||||
* `from` string: by default, PostCSS will set the `sources` property of the map
|
||||
to the value of the `from` option. If you want to override this behaviour, you
|
||||
can use `map.from` to explicitly set the source map's `sources` property.
|
||||
Path should be absolute or relative from generated file
|
||||
(`to` option in `process()` method).
|
||||
|
||||
[source maps]: http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/
|
||||
|
||||
2
node_modules/css-loader/node_modules/postcss/docs/syntax.md
generated
vendored
2
node_modules/css-loader/node_modules/postcss/docs/syntax.md
generated
vendored
@@ -104,7 +104,7 @@ next = string.indexOf('"', currentPosition + 1);
|
||||
|
||||
// Jump by RegExp
|
||||
regexp.lastIndex = currentPosion + 1;
|
||||
regexp.text(string);
|
||||
regexp.test(string);
|
||||
next = regexp.lastIndex;
|
||||
```
|
||||
|
||||
|
||||
184
node_modules/css-loader/node_modules/postcss/lib/at-rule.js
generated
vendored
184
node_modules/css-loader/node_modules/postcss/lib/at-rule.js
generated
vendored
File diff suppressed because one or more lines are too long
78
node_modules/css-loader/node_modules/postcss/lib/comment.js
generated
vendored
78
node_modules/css-loader/node_modules/postcss/lib/comment.js
generated
vendored
@@ -2,12 +2,6 @@
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
||||
|
||||
var _warnOnce = require('./warn-once');
|
||||
|
||||
var _warnOnce2 = _interopRequireDefault(_warnOnce);
|
||||
|
||||
var _node = require('./node');
|
||||
|
||||
var _node2 = _interopRequireDefault(_node);
|
||||
@@ -29,61 +23,39 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
||||
* @extends Node
|
||||
*/
|
||||
var Comment = function (_Node) {
|
||||
_inherits(Comment, _Node);
|
||||
_inherits(Comment, _Node);
|
||||
|
||||
function Comment(defaults) {
|
||||
_classCallCheck(this, Comment);
|
||||
function Comment(defaults) {
|
||||
_classCallCheck(this, Comment);
|
||||
|
||||
var _this = _possibleConstructorReturn(this, _Node.call(this, defaults));
|
||||
var _this = _possibleConstructorReturn(this, _Node.call(this, defaults));
|
||||
|
||||
_this.type = 'comment';
|
||||
return _this;
|
||||
}
|
||||
_this.type = 'comment';
|
||||
return _this;
|
||||
}
|
||||
|
||||
_createClass(Comment, [{
|
||||
key: 'left',
|
||||
get: function get() {
|
||||
(0, _warnOnce2.default)('Comment#left was deprecated. Use Comment#raws.left');
|
||||
return this.raws.left;
|
||||
},
|
||||
set: function set(val) {
|
||||
(0, _warnOnce2.default)('Comment#left was deprecated. Use Comment#raws.left');
|
||||
this.raws.left = val;
|
||||
}
|
||||
}, {
|
||||
key: 'right',
|
||||
get: function get() {
|
||||
(0, _warnOnce2.default)('Comment#right was deprecated. Use Comment#raws.right');
|
||||
return this.raws.right;
|
||||
},
|
||||
set: function set(val) {
|
||||
(0, _warnOnce2.default)('Comment#right was deprecated. Use Comment#raws.right');
|
||||
this.raws.right = val;
|
||||
}
|
||||
/**
|
||||
* @memberof Comment#
|
||||
* @member {string} text - the comment’s text
|
||||
*/
|
||||
|
||||
/**
|
||||
* @memberof Comment#
|
||||
* @member {string} text - the comment’s text
|
||||
*/
|
||||
/**
|
||||
* @memberof Comment#
|
||||
* @member {object} raws - Information to generate byte-to-byte equal
|
||||
* node string as it was in the origin input.
|
||||
*
|
||||
* Every parser saves its own properties,
|
||||
* but the default CSS parser uses:
|
||||
*
|
||||
* * `before`: the space symbols before the node.
|
||||
* * `left`: the space symbols between `/*` and the comment’s text.
|
||||
* * `right`: the space symbols between the comment’s text.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @memberof Comment#
|
||||
* @member {object} raws - Information to generate byte-to-byte equal
|
||||
* node string as it was in the origin input.
|
||||
*
|
||||
* Every parser saves its own properties,
|
||||
* but the default CSS parser uses:
|
||||
*
|
||||
* * `before`: the space symbols before the node.
|
||||
* * `left`: the space symbols between `/*` and the comment’s text.
|
||||
* * `right`: the space symbols between the comment’s text.
|
||||
*/
|
||||
|
||||
}]);
|
||||
|
||||
return Comment;
|
||||
return Comment;
|
||||
}(_node2.default);
|
||||
|
||||
exports.default = Comment;
|
||||
module.exports = exports['default'];
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbW1lbnQuZXM2Il0sIm5hbWVzIjpbIkNvbW1lbnQiLCJkZWZhdWx0cyIsInR5cGUiLCJyYXdzIiwibGVmdCIsInZhbCIsInJpZ2h0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7OztBQUNBOzs7Ozs7Ozs7Ozs7QUFFQTs7Ozs7Ozs7SUFRTUEsTzs7O0FBRUYscUJBQVlDLFFBQVosRUFBc0I7QUFBQTs7QUFBQSxxREFDbEIsaUJBQU1BLFFBQU4sQ0FEa0I7O0FBRWxCLGNBQUtDLElBQUwsR0FBWSxTQUFaO0FBRmtCO0FBR3JCOzs7OzRCQUVVO0FBQ1Asb0NBQVMsb0RBQVQ7QUFDQSxtQkFBTyxLQUFLQyxJQUFMLENBQVVDLElBQWpCO0FBQ0gsUzswQkFFUUMsRyxFQUFLO0FBQ1Ysb0NBQVMsb0RBQVQ7QUFDQSxpQkFBS0YsSUFBTCxDQUFVQyxJQUFWLEdBQWlCQyxHQUFqQjtBQUNIOzs7NEJBRVc7QUFDUixvQ0FBUyxzREFBVDtBQUNBLG1CQUFPLEtBQUtGLElBQUwsQ0FBVUcsS0FBakI7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Ki9cbmNsYXNzIENvbW1lbnQgZXh0ZW5kcyBOb2RlIHtcblxuICAgIGNvbnN0cnVjdG9yKGRlZmF1bHRzKSB7XG4gICAgICAgIHN1cGVyKGRlZmF1bHRzKTtcbiAgICAgICAgdGhpcy50eXBlID0gJ2NvbW1lbnQnO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEBtZW1iZXJvZiBDb21tZW50I1xuICAgICAqIEBtZW1iZXIge3N0cmluZ30gdGV4dCAtIHRoZSBjb21tZW504oCZcyB0ZXh0XG4gICAgICovXG5cbiAgICAvKipcbiAgICAgKiBAbWVtYmVyb2YgQ29tbWVudCNcbiAgICAgKiBAbWVtYmVyIHtvYmplY3R9IHJhd3MgLSBJbmZvcm1hdGlvbiB0byBnZW5lcmF0ZSBieXRlLXRvLWJ5dGUgZXF1YWxcbiAgICAgKiAgICAgICAgICAgICAgICAgICAgICAgICBub2RlIHN0cmluZyBhcyBpdCB3YXMgaW4gdGhlIG9yaWdpbiBpbnB1dC5cbiAgICAgKlxuICAgICAqIEV2ZXJ5IHBhcnNlciBzYXZlcyBpdHMgb3duIHByb3BlcnRpZXMsXG4gICAgICogYnV0IHRoZSBkZWZhdWx0IENTUyBwYXJzZXIgdXNlczpcbiAgICAgKlxuICAgICAqICogYGJlZm9yZWA6IHRoZSBzcGFjZSBzeW1ib2xzIGJlZm9yZSB0aGUgbm9kZS5cbiAgICAgKiAqIGBsZWZ0YDogdGhlIHNwYWNlIHN5bWJvbHMgYmV0d2VlbiBgLypgIGFuZCB0aGUgY29tbWVudOKAmXMgdGV4dC5cbiAgICAgKiAqIGByaWdodGA6IHRoZSBzcGFjZSBzeW1ib2xzIGJldHdlZW4gdGhlIGNvbW1lbnTigJlzIHRleHQuXG4gICAgICovXG59XG5cbmV4cG9ydCBkZWZhdWx0IENvbW1lbnQ7XG4iXX0=
|
||||
|
||||
160
node_modules/css-loader/node_modules/postcss/lib/container.js
generated
vendored
160
node_modules/css-loader/node_modules/postcss/lib/container.js
generated
vendored
File diff suppressed because one or more lines are too long
52
node_modules/css-loader/node_modules/postcss/lib/css-syntax-error.js
generated
vendored
52
node_modules/css-loader/node_modules/postcss/lib/css-syntax-error.js
generated
vendored
File diff suppressed because one or more lines are too long
151
node_modules/css-loader/node_modules/postcss/lib/declaration.js
generated
vendored
151
node_modules/css-loader/node_modules/postcss/lib/declaration.js
generated
vendored
File diff suppressed because one or more lines are too long
8
node_modules/css-loader/node_modules/postcss/lib/input.js
generated
vendored
8
node_modules/css-loader/node_modules/postcss/lib/input.js
generated
vendored
File diff suppressed because one or more lines are too long
11
node_modules/css-loader/node_modules/postcss/lib/lazy-result.js
generated
vendored
11
node_modules/css-loader/node_modules/postcss/lib/lazy-result.js
generated
vendored
File diff suppressed because one or more lines are too long
19
node_modules/css-loader/node_modules/postcss/lib/map-generator.js
generated
vendored
19
node_modules/css-loader/node_modules/postcss/lib/map-generator.js
generated
vendored
File diff suppressed because one or more lines are too long
307
node_modules/css-loader/node_modules/postcss/lib/node.js
generated
vendored
307
node_modules/css-loader/node_modules/postcss/lib/node.js
generated
vendored
File diff suppressed because one or more lines are too long
6
node_modules/css-loader/node_modules/postcss/lib/parse.js
generated
vendored
6
node_modules/css-loader/node_modules/postcss/lib/parse.js
generated
vendored
@@ -19,11 +19,9 @@ function parse(css, opts) {
|
||||
}
|
||||
|
||||
var input = new _input2.default(css, opts);
|
||||
|
||||
var parser = new _parser2.default(input);
|
||||
try {
|
||||
parser.tokenize();
|
||||
parser.loop();
|
||||
parser.parse();
|
||||
} catch (e) {
|
||||
if (e.name === 'CssSyntaxError' && opts && opts.from) {
|
||||
if (/\.scss$/i.test(opts.from)) {
|
||||
@@ -40,4 +38,4 @@ function parse(css, opts) {
|
||||
return parser.root;
|
||||
}
|
||||
module.exports = exports['default'];
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnNlLmVzNiJdLCJuYW1lcyI6WyJwYXJzZSIsImNz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AndHJ5IGFnYWluIHdpdGggdGhlIHBvc3Rjc3Mtc2NzcyBwYXJzZXInO1xuICAgICAgICAgICAgfSBlbHNlIGlmICggL1xcLnNhc3MvaS50ZXN0KG9wdHMuZnJvbSkgKSB7XG4gICAgICAgICAgICAgICAgZS5tZXNzYWdlICs9ICdcXG5Zb3UgdHJpZWQgdG8gcGFyc2UgU2FzcyB3aXRoICcgK1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAndGhlIHN0YW5kYXJkIENTUyBwYXJzZXI7ICcgK1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAndHJ5IGFnYWluIHdpdGggdGhlIHBvc3Rjc3Mtc2FzcyBwYXJzZXInO1xuICAgICAgICAgICAgfSBlbHNlIGlmICggL1xcLmxlc3MkL2kudGVzdChvcHRzLmZyb20pICkge1xuICAgICAgICAgICAgICAgIGUubWVzc2FnZSArPSAnXFxuWW91IHRyaWVkIHRvIHBhcnNlIExlc3Mgd2l0aCAnICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3RoZSBzdGFuZGFyZCBDU1MgcGFyc2VyOyAnICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3RyeSBhZ2FpbiB3aXRoIHRoZSBwb3N0Y3NzLWxlc3MgcGFyc2VyJztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB0aHJvdyBlO1xuICAgIH1cblxuICAgIHJldHVybiBwYXJzZXIucm9vdDtcbn1cbiJdfQ==
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhcnNlLmVzNiJdLCJuYW1lcyI6WyJwYXJzZSIsImNzcyIsIm9wdHMiLCJzYWZlIiwiRXJyb3IiLCJpbnB1dCIsIklucHV0IiwicGFyc2VyIiwiUGFyc2VyIiwiZSIsIm5hbWUiLCJmcm9tIiwidGVzdCIsIm1lc3NhZ2UiLCJyb290Il0sIm1hcHBpbmdzIjoiO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Fyc2UgU2FzcyB3aXRoICcgK1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAndGhlIHN0YW5kYXJkIENTUyBwYXJzZXI7ICcgK1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAndHJ5IGFnYWluIHdpdGggdGhlIHBvc3Rjc3Mtc2FzcyBwYXJzZXInO1xuICAgICAgICAgICAgfSBlbHNlIGlmICggL1xcLmxlc3MkL2kudGVzdChvcHRzLmZyb20pICkge1xuICAgICAgICAgICAgICAgIGUubWVzc2FnZSArPSAnXFxuWW91IHRyaWVkIHRvIHBhcnNlIExlc3Mgd2l0aCAnICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3RoZSBzdGFuZGFyZCBDU1MgcGFyc2VyOyAnICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3RyeSBhZ2FpbiB3aXRoIHRoZSBwb3N0Y3NzLWxlc3MgcGFyc2VyJztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICB0aHJvdyBlO1xuICAgIH1cblxuICAgIHJldHVybiBwYXJzZXIucm9vdDtcbn1cbiJdfQ==
|
||||
|
||||
122
node_modules/css-loader/node_modules/postcss/lib/parser.js
generated
vendored
122
node_modules/css-loader/node_modules/postcss/lib/parser.js
generated
vendored
File diff suppressed because one or more lines are too long
202
node_modules/css-loader/node_modules/postcss/lib/postcss.d.ts
generated
vendored
202
node_modules/css-loader/node_modules/postcss/lib/postcss.d.ts
generated
vendored
@@ -1,3 +1,5 @@
|
||||
import * as mozilla from 'source-map';
|
||||
|
||||
/**
|
||||
* @param plugins Can also be included with the Processor#use method.
|
||||
* @returns A processor that will apply plugins as CSS processors.
|
||||
@@ -139,7 +141,7 @@ declare namespace postcss {
|
||||
* @param defaults Properties for the new Root node.
|
||||
* @returns The new node.
|
||||
*/
|
||||
function root(defaults?: Object): Root;
|
||||
function root(defaults?: object): Root;
|
||||
interface SourceMapOptions {
|
||||
/**
|
||||
* Indicates that the source map should be embedded in the output CSS as a
|
||||
@@ -399,21 +401,7 @@ declare namespace postcss {
|
||||
* @param mapping
|
||||
* @returns {}
|
||||
*/
|
||||
addMapping(mapping: {
|
||||
generated: {
|
||||
line: number;
|
||||
column: number;
|
||||
};
|
||||
original: {
|
||||
line: number;
|
||||
column: number;
|
||||
};
|
||||
/**
|
||||
* The original source file (relative to the sourceRoot).
|
||||
*/
|
||||
source: string;
|
||||
name?: string;
|
||||
}): void;
|
||||
addMapping(mapping: mozilla.Mapping): void;
|
||||
/**
|
||||
* Set the source content for an original source file.
|
||||
* @param sourceFile The URL of the original source file.
|
||||
@@ -436,11 +424,15 @@ declare namespace postcss {
|
||||
* If omitted, it is assumed that both SourceMaps are in the same directory;
|
||||
* thus, not needing any rewriting (Supplying '.' has the same effect).
|
||||
*/
|
||||
applySourceMap(sourceMapConsumer: any, sourceFile?: string, sourceMapPath?: string): void;
|
||||
applySourceMap(
|
||||
sourceMapConsumer: mozilla.SourceMapConsumer,
|
||||
sourceFile?: string,
|
||||
sourceMapPath?: string
|
||||
): void;
|
||||
/**
|
||||
* Renders the source map being generated to JSON.
|
||||
*/
|
||||
toJSON: () => any;
|
||||
toJSON: () => mozilla.RawSourceMap;
|
||||
/**
|
||||
* Renders the source map being generated to a string.
|
||||
*/
|
||||
@@ -573,12 +565,15 @@ declare namespace postcss {
|
||||
text: string;
|
||||
file: string;
|
||||
constructor(css: any, opts: any);
|
||||
consumer(): any;
|
||||
consumer(): mozilla.SourceMapConsumer;
|
||||
withContent(): boolean;
|
||||
startWith(string: any, start: any): boolean;
|
||||
loadAnnotation(css: any): void;
|
||||
decodeInline(text: any): any;
|
||||
loadMap(file: any, prev: any): any;
|
||||
startWith(string: string, start: string): boolean;
|
||||
loadAnnotation(css: string): void;
|
||||
decodeInline(text: string): string;
|
||||
loadMap(
|
||||
file: any,
|
||||
prev: string | Function | mozilla.SourceMapConsumer | mozilla.SourceMapGenerator | mozilla.RawSourceMap
|
||||
): string;
|
||||
isMap(map: any): boolean;
|
||||
}
|
||||
/**
|
||||
@@ -611,16 +606,9 @@ declare namespace postcss {
|
||||
*/
|
||||
origin(line: number, column: number): InputOrigin;
|
||||
}
|
||||
interface Node {
|
||||
/**
|
||||
* Returns a string representing the node's type. Possible values are
|
||||
* root, atrule, rule, decl or comment.
|
||||
*/
|
||||
type: string;
|
||||
/**
|
||||
* Returns the node's parent node.
|
||||
*/
|
||||
parent: Container;
|
||||
type ChildNode = AtRule | Rule | Declaration | Comment;
|
||||
type Node = Root | ChildNode;
|
||||
interface NodeBase {
|
||||
/**
|
||||
* Returns the input source of the node. The property is used in source
|
||||
* map generation. If you create a node manually
|
||||
@@ -666,12 +654,34 @@ declare namespace postcss {
|
||||
* @returns The next child of the node's parent; or, returns undefined if
|
||||
* the current node is the last child.
|
||||
*/
|
||||
next(): Node;
|
||||
next(): ChildNode | void;
|
||||
/**
|
||||
* @returns The previous child of the node's parent; or, returns undefined
|
||||
* if the current node is the first child.
|
||||
*/
|
||||
prev(): Node;
|
||||
prev(): ChildNode | void;
|
||||
/**
|
||||
* Insert new node before current node to current node’s parent.
|
||||
*
|
||||
* Just an alias for `node.parent.insertBefore(node, newNode)`.
|
||||
*
|
||||
* @returns this node for method chaining.
|
||||
*
|
||||
* @example
|
||||
* decl.before('content: ""');
|
||||
*/
|
||||
before(newNode: Node | object | string | Node[]): this;
|
||||
/**
|
||||
* Insert new node after current node to current node’s parent.
|
||||
*
|
||||
* Just an alias for `node.parent.insertAfter(node, newNode)`.
|
||||
*
|
||||
* @returns this node for method chaining.
|
||||
*
|
||||
* @example
|
||||
* decl.after('color: black');
|
||||
*/
|
||||
after(newNode: Node | object | string | Node[]): this;
|
||||
/**
|
||||
* @returns The Root instance of the node's tree.
|
||||
*/
|
||||
@@ -686,52 +696,27 @@ declare namespace postcss {
|
||||
* Inserts node(s) before the current node and removes the current node.
|
||||
* @returns This node for chaining.
|
||||
*/
|
||||
replaceWith(...nodes: (Node | Object)[]): this;
|
||||
replaceWith(...nodes: (Node | object)[]): this;
|
||||
/**
|
||||
* @param overrides New properties to override in the clone.
|
||||
* @returns A clone of this node. The node and its (cloned) children will
|
||||
* have a clean parent and code style properties.
|
||||
*/
|
||||
clone(overrides?: Object): this;
|
||||
clone(overrides?: object): this;
|
||||
/**
|
||||
* Shortcut to clone the node and insert the resulting cloned node before
|
||||
* the current node.
|
||||
* @param overrides New Properties to override in the clone.
|
||||
* @returns The cloned node.
|
||||
*/
|
||||
cloneBefore(overrides?: Object): this;
|
||||
cloneBefore(overrides?: object): this;
|
||||
/**
|
||||
* Shortcut to clone the node and insert the resulting cloned node after
|
||||
* the current node.
|
||||
* @param overrides New Properties to override in the clone.
|
||||
* @returns The cloned node.
|
||||
*/
|
||||
cloneAfter(overrides?: Object): this;
|
||||
/**
|
||||
* Removes the node from its current parent and inserts it at the end of
|
||||
* newParent. This will clean the before and after code style properties
|
||||
* from the node and replace them with the indentation style of newParent.
|
||||
* It will also clean the between property if newParent is in another Root.
|
||||
* @param newParent Where the current node will be moved.
|
||||
* @returns This node for chaining.
|
||||
*/
|
||||
moveTo(newParent: Container): this;
|
||||
/**
|
||||
* Removes the node from its current parent and inserts it into a new
|
||||
* parent before otherNode. This will also clean the node's code style
|
||||
* properties just as it would in node.moveTo(newParent).
|
||||
* @param otherNode Will be after the current node after moving.
|
||||
* @returns This node for chaining.
|
||||
*/
|
||||
moveBefore(otherNode: Node): this;
|
||||
/**
|
||||
* Removes the node from its current parent and inserts it into a new
|
||||
* parent after otherNode. This will also clean the node's code style
|
||||
* properties just as it would in node.moveTo(newParent).
|
||||
* @param otherNode Will be before the current node after moving.
|
||||
* @returns This node for chaining.
|
||||
*/
|
||||
moveAfter(otherNode: Node): this;
|
||||
cloneAfter(overrides?: object): this;
|
||||
/**
|
||||
* @param prop Name or code style property.
|
||||
* @param defaultType Name of default value. It can be easily missed if the
|
||||
@@ -744,6 +729,7 @@ declare namespace postcss {
|
||||
raw(prop: string, defaultType?: string): any;
|
||||
}
|
||||
interface NodeNewProps {
|
||||
source?: NodeSource;
|
||||
raws?: NodeRaws;
|
||||
}
|
||||
interface NodeRaws {
|
||||
@@ -842,38 +828,35 @@ declare namespace postcss {
|
||||
*/
|
||||
raws?: NodeRaws;
|
||||
}
|
||||
type Container = Root | AtRule | Rule;
|
||||
/**
|
||||
* Containers can store any content. If you write a rule inside a rule,
|
||||
* PostCSS will parse it.
|
||||
*/
|
||||
interface Container extends Node {
|
||||
/**
|
||||
* Returns the container's parent node.
|
||||
*/
|
||||
parent: Container;
|
||||
interface ContainerBase extends NodeBase {
|
||||
/**
|
||||
* Contains the container's children.
|
||||
*/
|
||||
nodes?: Node[];
|
||||
nodes?: ChildNode[];
|
||||
/**
|
||||
* @returns The container's first child.
|
||||
*/
|
||||
first?: Node;
|
||||
first?: ChildNode;
|
||||
/**
|
||||
* @returns The container's last child.
|
||||
*/
|
||||
last?: Node;
|
||||
last?: ChildNode;
|
||||
/**
|
||||
* @param overrides New properties to override in the clone.
|
||||
* @returns A clone of this node. The node and its (cloned) children will
|
||||
* have a clean parent and code style properties.
|
||||
*/
|
||||
clone(overrides?: Object): this;
|
||||
clone(overrides?: object): this;
|
||||
/**
|
||||
* @param child Child of the current container.
|
||||
* @returns The child's index within the container's "nodes" array.
|
||||
*/
|
||||
index(child: Node | number): number;
|
||||
index(child: ChildNode | number): number;
|
||||
/**
|
||||
* Determines whether all child nodes satisfy the specified test.
|
||||
* @param callback A function that accepts up to three arguments. The
|
||||
@@ -882,7 +865,7 @@ declare namespace postcss {
|
||||
* @returns True if the callback returns true for all of the container's
|
||||
* children.
|
||||
*/
|
||||
every(callback: (node: Node, index: number, nodes: Node[]) => any, thisArg?: any): boolean;
|
||||
every(callback: (node: ChildNode, index: number, nodes: ChildNode[]) => any, thisArg?: any): boolean;
|
||||
/**
|
||||
* Determines whether the specified callback returns true for any child node.
|
||||
* @param callback A function that accepts up to three arguments. The some
|
||||
@@ -894,7 +877,7 @@ declare namespace postcss {
|
||||
* @returns True if callback returns true for (at least) one of the
|
||||
* container's children.
|
||||
*/
|
||||
some(callback: (node: Node, index: number, nodes: Node[]) => boolean, thisArg?: any): boolean;
|
||||
some(callback: (node: ChildNode, index: number, nodes: ChildNode[]) => boolean, thisArg?: any): boolean;
|
||||
/**
|
||||
* Iterates through the container's immediate children, calling the
|
||||
* callback function for each child. If you need to recursively iterate
|
||||
@@ -906,7 +889,7 @@ declare namespace postcss {
|
||||
* will adjust the current index to match the mutations.
|
||||
* @returns False if the callback returns false during iteration.
|
||||
*/
|
||||
each(callback: (node: Node, index: number) => any): boolean | void;
|
||||
each(callback: (node: ChildNode, index: number) => any): boolean | void;
|
||||
/**
|
||||
* Traverses the container's descendant nodes, calling `callback` for each
|
||||
* node. Like container.each(), this method is safe to use if you are
|
||||
@@ -914,7 +897,7 @@ declare namespace postcss {
|
||||
* the container's immediate children, use container.each().
|
||||
* @param callback Iterator.
|
||||
*/
|
||||
walk(callback: (node: Node, index: number) => any): boolean | void;
|
||||
walk(callback: (node: ChildNode, index: number) => any): boolean | void;
|
||||
/**
|
||||
* Traverses the container's descendant nodes, calling `callback` for each
|
||||
* declaration. Like container.each(), this method is safe to use if you
|
||||
@@ -1003,7 +986,7 @@ declare namespace postcss {
|
||||
* @param nodes New nodes.
|
||||
* @returns This container for chaining.
|
||||
*/
|
||||
prepend(...nodes: (Node | Object | string)[]): this;
|
||||
prepend(...nodes: (Node | object | string)[]): this;
|
||||
/**
|
||||
* Inserts new nodes to the end of the container.
|
||||
* Because each node class is identifiable by unique properties, use the
|
||||
@@ -1019,19 +1002,19 @@ declare namespace postcss {
|
||||
* @param nodes New nodes.
|
||||
* @returns This container for chaining.
|
||||
*/
|
||||
append(...nodes: (Node | Object | string)[]): this;
|
||||
append(...nodes: (Node | object | string)[]): this;
|
||||
/**
|
||||
* Insert newNode before oldNode within the container.
|
||||
* @param oldNode Child or child's index.
|
||||
* @returns This container for chaining.
|
||||
*/
|
||||
insertBefore(oldNode: Node | number, newNode: Node | Object | string): this;
|
||||
insertBefore(oldNode: ChildNode | number, newNode: ChildNode | object | string): this;
|
||||
/**
|
||||
* Insert newNode after oldNode within the container.
|
||||
* @param oldNode Child or child's index.
|
||||
* @returns This container for chaining.
|
||||
*/
|
||||
insertAfter(oldNode: Node | number, newNode: Node | Object | string): this;
|
||||
insertAfter(oldNode: ChildNode | number, newNode: ChildNode | object | string): this;
|
||||
/**
|
||||
* Removes the container from its parent and cleans the parent property in the
|
||||
* container and its children.
|
||||
@@ -1044,7 +1027,7 @@ declare namespace postcss {
|
||||
* @param child Child or child's index.
|
||||
* @returns This container for chaining.
|
||||
*/
|
||||
removeChild(child: Node | number): this;
|
||||
removeChild(child: ChildNode | number): this;
|
||||
/**
|
||||
* Removes all children from the container and cleans their parent
|
||||
* properties.
|
||||
@@ -1056,7 +1039,7 @@ declare namespace postcss {
|
||||
/**
|
||||
* Contains the container's children.
|
||||
*/
|
||||
nodes?: Node[];
|
||||
nodes?: ChildNode[];
|
||||
raws?: ContainerRaws;
|
||||
}
|
||||
interface ContainerRaws extends NodeRaws {
|
||||
@@ -1066,30 +1049,31 @@ declare namespace postcss {
|
||||
/**
|
||||
* Contains the container's children.
|
||||
*/
|
||||
nodes?: Node[];
|
||||
nodes?: ChildNode[];
|
||||
/**
|
||||
* @returns The container's first child.
|
||||
*/
|
||||
first?: Node;
|
||||
first?: ChildNode;
|
||||
/**
|
||||
* @returns The container's last child.
|
||||
*/
|
||||
last?: Node;
|
||||
last?: ChildNode;
|
||||
}
|
||||
/**
|
||||
* Represents a CSS file and contains all its parsed nodes.
|
||||
*/
|
||||
interface Root extends Container {
|
||||
interface Root extends ContainerBase {
|
||||
type: 'root';
|
||||
/**
|
||||
* Inherited from Container. Should always be undefined for a Root node.
|
||||
*/
|
||||
parent: Container;
|
||||
parent: void;
|
||||
/**
|
||||
* @param overrides New properties to override in the clone.
|
||||
* @returns A clone of this node. The node and its (cloned) children will
|
||||
* have a clean parent and code style properties.
|
||||
*/
|
||||
clone(overrides?: Object): this;
|
||||
clone(overrides?: object): this;
|
||||
/**
|
||||
* @returns A Result instance representing the root's CSS.
|
||||
*/
|
||||
@@ -1101,17 +1085,13 @@ declare namespace postcss {
|
||||
to?: string;
|
||||
map?: SourceMapOptions;
|
||||
}): Result;
|
||||
/**
|
||||
* Deprecated. Use Root#removeChild.
|
||||
*/
|
||||
remove(child?: Node | number): this;
|
||||
/**
|
||||
* Removes child from the root node, and the parent properties of node and
|
||||
* its children.
|
||||
* @param child Child or child's index.
|
||||
* @returns This root node for chaining.
|
||||
*/
|
||||
removeChild(child: Node | number): this;
|
||||
removeChild(child: ChildNode | number): this;
|
||||
}
|
||||
interface RootNewProps extends ContainerNewProps {
|
||||
}
|
||||
@@ -1121,7 +1101,12 @@ declare namespace postcss {
|
||||
* Represents an at-rule. If it's followed in the CSS by a {} block, this
|
||||
* node will have a nodes property representing its children.
|
||||
*/
|
||||
interface AtRule extends Container {
|
||||
interface AtRule extends ContainerBase {
|
||||
type: 'atrule';
|
||||
/**
|
||||
* Returns the atrule's parent node.
|
||||
*/
|
||||
parent: Container;
|
||||
/**
|
||||
* The identifier that immediately follows the @.
|
||||
*/
|
||||
@@ -1136,7 +1121,7 @@ declare namespace postcss {
|
||||
* @returns A clone of this node. The node and its (cloned) children will
|
||||
* have a clean parent and code style properties.
|
||||
*/
|
||||
clone(overrides?: Object): this;
|
||||
clone(overrides?: object): this;
|
||||
}
|
||||
interface AtRuleNewProps extends ContainerNewProps {
|
||||
/**
|
||||
@@ -1167,7 +1152,8 @@ declare namespace postcss {
|
||||
/**
|
||||
* Represents a CSS rule: a selector followed by a declaration block.
|
||||
*/
|
||||
interface Rule extends Container {
|
||||
interface Rule extends ContainerBase {
|
||||
type: 'rule';
|
||||
/**
|
||||
* Returns the rule's parent node.
|
||||
*/
|
||||
@@ -1187,7 +1173,7 @@ declare namespace postcss {
|
||||
* @returns A clone of this node. The node and its (cloned) children will
|
||||
* have a clean parent and code style properties.
|
||||
*/
|
||||
clone(overrides?: Object): this;
|
||||
clone(overrides?: object): this;
|
||||
}
|
||||
interface RuleNewProps extends ContainerNewProps {
|
||||
/**
|
||||
@@ -1224,7 +1210,12 @@ declare namespace postcss {
|
||||
/**
|
||||
* Represents a CSS declaration.
|
||||
*/
|
||||
interface Declaration extends Node {
|
||||
interface Declaration extends NodeBase {
|
||||
type: 'decl';
|
||||
/**
|
||||
* Returns the declaration's parent node.
|
||||
*/
|
||||
parent: Container;
|
||||
/**
|
||||
* The declaration's property name.
|
||||
*/
|
||||
@@ -1245,7 +1236,7 @@ declare namespace postcss {
|
||||
* @returns A clone of this node. The node and its (cloned) children will
|
||||
* have a clean parent and code style properties.
|
||||
*/
|
||||
clone(overrides?: Object): this;
|
||||
clone(overrides?: object): this;
|
||||
}
|
||||
interface DeclarationNewProps {
|
||||
/**
|
||||
@@ -1281,7 +1272,12 @@ declare namespace postcss {
|
||||
* Comments inside selectors, at-rule parameters, or declaration values will
|
||||
* be stored in the Node#raws properties.
|
||||
*/
|
||||
interface Comment extends Node {
|
||||
interface Comment extends NodeBase {
|
||||
type: 'comment';
|
||||
/**
|
||||
* Returns the comment's parent node.
|
||||
*/
|
||||
parent: Container;
|
||||
/**
|
||||
* The comment's text.
|
||||
*/
|
||||
@@ -1291,7 +1287,7 @@ declare namespace postcss {
|
||||
* @returns A clone of this node. The node and its (cloned) children will
|
||||
* have a clean parent and code style properties.
|
||||
*/
|
||||
clone(overrides?: Object): this;
|
||||
clone(overrides?: object): this;
|
||||
}
|
||||
interface CommentNewProps {
|
||||
/**
|
||||
|
||||
14
node_modules/css-loader/node_modules/postcss/lib/postcss.js
generated
vendored
14
node_modules/css-loader/node_modules/postcss/lib/postcss.js
generated
vendored
File diff suppressed because one or more lines are too long
32
node_modules/css-loader/node_modules/postcss/lib/previous-map.js
generated
vendored
32
node_modules/css-loader/node_modules/postcss/lib/previous-map.js
generated
vendored
File diff suppressed because one or more lines are too long
8
node_modules/css-loader/node_modules/postcss/lib/processor.js
generated
vendored
8
node_modules/css-loader/node_modules/postcss/lib/processor.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/css-loader/node_modules/postcss/lib/result.js
generated
vendored
2
node_modules/css-loader/node_modules/postcss/lib/result.js
generated
vendored
File diff suppressed because one or more lines are too long
24
node_modules/css-loader/node_modules/postcss/lib/root.js
generated
vendored
24
node_modules/css-loader/node_modules/postcss/lib/root.js
generated
vendored
File diff suppressed because one or more lines are too long
155
node_modules/css-loader/node_modules/postcss/lib/rule.js
generated
vendored
155
node_modules/css-loader/node_modules/postcss/lib/rule.js
generated
vendored
File diff suppressed because one or more lines are too long
11
node_modules/css-loader/node_modules/postcss/lib/stringifier.js
generated
vendored
11
node_modules/css-loader/node_modules/postcss/lib/stringifier.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/css-loader/node_modules/postcss/lib/stringify.js
generated
vendored
2
node_modules/css-loader/node_modules/postcss/lib/stringify.js
generated
vendored
@@ -14,4 +14,4 @@ function stringify(node, builder) {
|
||||
str.stringify(node);
|
||||
}
|
||||
module.exports = exports['default'];
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0cmluZ2lmeS5lczYiXSwibmFtZXMiOlsic3RyaW5naWZ5Iiwibm9kZSIsImJ1aWxkZXIiLCJzdHIiXSwibWFwcGluZ3MiOiI7OztrQkFFd0JBLFM7O0FBRnhCOzs7Ozs7QUFFZSxTQUFTQSxTQUFULENBQW1CQyxJQUFuQixFQUF5QkMsT0FBekIsRUFBa0M7QUFDN0MsUUFBSUMsTUFBTSwwQkFBZ0JELE9BQWhCLENBQVY7QUFDQUMsUUFBSUgsU0FBSixDQUFjQyxJQUFkO0FBQ0giLCJmaWxlIjoic3RyaW5naWZ5LmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFN0cmluZ2lmaWVyIGZyb20gJy4vc3RyaW5naWZpZXInO1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBzdHJpbmdpZnkobm9kZSwgYnVpbGRlcikge1xuICAgIGxldCBzdHIgPSBuZXcgU3RyaW5naWZpZXIoYnVpbGRlcik7XG4gICAgc3RyLnN0cmluZ2lmeShub2RlKTtcbn1cbiJdfQ==
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0cmluZ2lmeS5lczYiXSwibmFtZXMiOlsic3RyaW5naWZ5Iiwibm9kZSIsImJ1aWxkZXIiLCJzdHIiLCJTdHJpbmdpZmllciJdLCJtYXBwaW5ncyI6Ijs7O2tCQUV3QkEsUzs7QUFGeEI7Ozs7OztBQUVlLFNBQVNBLFNBQVQsQ0FBbUJDLElBQW5CLEVBQXlCQyxPQUF6QixFQUFrQztBQUM3QyxRQUFJQyxNQUFNLElBQUlDLHFCQUFKLENBQWdCRixPQUFoQixDQUFWO0FBQ0FDLFFBQUlILFNBQUosQ0FBY0MsSUFBZDtBQUNIIiwiZmlsZSI6InN0cmluZ2lmeS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBTdHJpbmdpZmllciBmcm9tICcuL3N0cmluZ2lmaWVyJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gc3RyaW5naWZ5KG5vZGUsIGJ1aWxkZXIpIHtcbiAgICBsZXQgc3RyID0gbmV3IFN0cmluZ2lmaWVyKGJ1aWxkZXIpO1xuICAgIHN0ci5zdHJpbmdpZnkobm9kZSk7XG59XG4iXX0=
|
||||
|
||||
63
node_modules/css-loader/node_modules/postcss/lib/terminal-highlight.js
generated
vendored
63
node_modules/css-loader/node_modules/postcss/lib/terminal-highlight.js
generated
vendored
@@ -16,27 +16,25 @@ var _input2 = _interopRequireDefault(_input);
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
var colors = new _chalk2.default.constructor({ enabled: true });
|
||||
|
||||
var HIGHLIGHT_THEME = {
|
||||
'brackets': colors.cyan,
|
||||
'at-word': colors.cyan,
|
||||
'call': colors.cyan,
|
||||
'comment': colors.gray,
|
||||
'string': colors.green,
|
||||
'class': colors.yellow,
|
||||
'hash': colors.magenta,
|
||||
'(': colors.cyan,
|
||||
')': colors.cyan,
|
||||
'{': colors.yellow,
|
||||
'}': colors.yellow,
|
||||
'[': colors.yellow,
|
||||
']': colors.yellow,
|
||||
':': colors.yellow,
|
||||
';': colors.yellow
|
||||
'brackets': _chalk2.default.cyan,
|
||||
'at-word': _chalk2.default.cyan,
|
||||
'call': _chalk2.default.cyan,
|
||||
'comment': _chalk2.default.gray,
|
||||
'string': _chalk2.default.green,
|
||||
'class': _chalk2.default.yellow,
|
||||
'hash': _chalk2.default.magenta,
|
||||
'(': _chalk2.default.cyan,
|
||||
')': _chalk2.default.cyan,
|
||||
'{': _chalk2.default.yellow,
|
||||
'}': _chalk2.default.yellow,
|
||||
'[': _chalk2.default.yellow,
|
||||
']': _chalk2.default.yellow,
|
||||
':': _chalk2.default.yellow,
|
||||
';': _chalk2.default.yellow
|
||||
};
|
||||
|
||||
function getTokenType(_ref, index, tokens) {
|
||||
function getTokenType(_ref, processor) {
|
||||
var type = _ref[0],
|
||||
value = _ref[1];
|
||||
|
||||
@@ -49,28 +47,37 @@ function getTokenType(_ref, index, tokens) {
|
||||
}
|
||||
}
|
||||
|
||||
var nextToken = tokens[index + 1];
|
||||
if (nextToken && (nextToken[0] === 'brackets' || nextToken[0] === '(')) {
|
||||
return 'call';
|
||||
if (!processor.endOfFile()) {
|
||||
var next = processor.nextToken();
|
||||
processor.back(next);
|
||||
if (next[0] === 'brackets' || next[0] === '(') return 'call';
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
function terminalHighlight(css) {
|
||||
var tokens = (0, _tokenize2.default)(new _input2.default(css), { ignoreErrors: true });
|
||||
return tokens.map(function (token, index) {
|
||||
var color = HIGHLIGHT_THEME[getTokenType(token, index, tokens)];
|
||||
var processor = (0, _tokenize2.default)(new _input2.default(css), { ignoreErrors: true });
|
||||
var result = '';
|
||||
|
||||
var _loop = function _loop() {
|
||||
var token = processor.nextToken();
|
||||
var color = HIGHLIGHT_THEME[getTokenType(token, processor)];
|
||||
if (color) {
|
||||
return token[1].split(/\r?\n/).map(function (i) {
|
||||
result += token[1].split(/\r?\n/).map(function (i) {
|
||||
return color(i);
|
||||
}).join('\n');
|
||||
} else {
|
||||
return token[1];
|
||||
result += token[1];
|
||||
}
|
||||
}).join('');
|
||||
};
|
||||
|
||||
while (!processor.endOfFile()) {
|
||||
_loop();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
exports.default = terminalHighlight;
|
||||
module.exports = exports['default'];
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlcm1pbmFsLWhpZ2hsaWdodC5lczYiXSwibmFtZXMiOlsiY29sb3JzIiwiY29uc3RydWN0b3IiLCJlbmFibGVkIiwiSElHSExJR0hUX1RIRU1FIiwiY3lhbiIsImdyYXkiLCJncmVlbiIsInllbGxvdyIsIm1hZ2VudGEiLCJnZXRUb2tlblR5cGUiLCJpbmRleCIsInRva2VucyIsInR5cGUiLCJ2YWx1ZSIsIm5leHRUb2tlbiIsInRlcm1pbmFsSGlnaGxpZ2h0IiwiY3NzIiwiaWdub3JlRXJyb3JzIiwibWFwIiwidG9rZW4iLCJjb2xvciIsInNwbGl0IiwiaSIsImpvaW4iXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTs7OztBQUVBOzs7O0FBQ0E7Ozs7OztBQUVBLElBQUlBLFNBQVMsSUFBSSxnQkFBTUMsV0FBVixDQUFzQixFQUFFQyxTQUFTLElBQVgsRUFBdEIsQ0FBYjs7QUFFQSxJQUFNQyxrQkFBa0I7QUFDcEIsZ0JBQVlILE9BQU9JLElBREM7QUFFcEIsZUFBWUosT0FBT0ksSUFGQztBQUdwQixZQUFZSixPQUFPSSxJQUhDO0FBSXBCLGVBQVlKLE9BQU9LLElBSkM7QUFLcEIsY0F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G9ycy5jeWFuLFxuICAgICcpJzogICAgICAgIGNvbG9ycy5jeWFuLFxuICAgICd7JzogICAgICAgIGNvbG9ycy55ZWxsb3csXG4gICAgJ30nOiAgICAgICAgY29sb3JzLnllbGxvdyxcbiAgICAnWyc6ICAgICAgICBjb2xvcnMueWVsbG93LFxuICAgICddJzogICAgICAgIGNvbG9ycy55ZWxsb3csXG4gICAgJzonOiAgICAgICAgY29sb3JzLnllbGxvdyxcbiAgICAnOyc6ICAgICAgICBjb2xvcnMueWVsbG93XG59O1xuXG5mdW5jdGlvbiBnZXRUb2tlblR5cGUoW3R5cGUsIHZhbHVlXSwgaW5kZXgsIHRva2Vucykge1xuICAgIGlmICh0eXBlID09PSAnd29yZCcpIHtcbiAgICAgICAgaWYgKHZhbHVlWzBdID09PSAnLicpIHtcbiAgICAgICAgICAgIHJldHVybiAnY2xhc3MnO1xuICAgICAgICB9XG4gICAgICAgIGlmICh2YWx1ZVswXSA9PT0gJyMnKSB7XG4gICAgICAgICAgICByZXR1cm4gJ2hhc2gnO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgbGV0IG5leHRUb2tlbiA9IHRva2Vuc1tpbmRleCArIDFdO1xuICAgIGlmIChuZXh0VG9rZW4gJiYgKG5leHRUb2tlblswXSA9PT0gJ2JyYWNrZXRzJyB8fCBuZXh0VG9rZW5bMF0gPT09ICcoJykpIHtcbiAgICAgICAgcmV0dXJuICdjYWxsJztcbiAgICB9XG5cbiAgICByZXR1cm4gdHlwZTtcbn1cblxuZnVuY3Rpb24gdGVybWluYWxIaWdobGlnaHQoY3NzKSB7XG4gICAgbGV0IHRva2VucyA9IHRva2VuaXplKG5ldyBJbnB1dChjc3MpLCB7IGlnbm9yZUVycm9yczogdHJ1ZSB9KTtcbiAgICByZXR1cm4gdG9rZW5zLm1hcCgodG9rZW4sIGluZGV4KSA9PiB7XG4gICAgICAgIGxldCBjb2xvciA9IEhJR0hMSUdIVF9USEVNRVtnZXRUb2tlblR5cGUodG9rZW4sIGluZGV4LCB0b2tlbnMpXTtcbiAgICAgICAgaWYgKCBjb2xvciApIHtcbiAgICAgICAgICAgIHJldHVybiB0b2tlblsxXS5zcGxpdCgvXFxyP1xcbi8pXG4gICAgICAgICAgICAgIC5tYXAoIGkgPT4gY29sb3IoaSkgKVxuICAgICAgICAgICAgICAuam9pbignXFxuJyk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW5bMV07XG4gICAgICAgIH1cbiAgICB9KS5qb2luKCcnKTtcbn1cblxuZXhwb3J0IGRlZmF1bHQgdGVybWluYWxIaWdobGlnaHQ7XG4iXX0=
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlcm1pbmFsLWhpZ2hsaWdodC5lczYiXSwibmFtZXMiOlsiSElHSExJR0hUX1RIRU1FIiwiY2hhbGsiLCJjeWFuIiwiZ3JheSIsImdyZWVuIiwieWVsbG93IiwibWFnZW50YSIsImdldFRva2VuVHlwZSIsInByb2Nlc3NvciIsInR5cGUiLCJ2YWx1ZSIsImVuZE9mRmlsZSIsIm5leHQiLCJuZXh0VG9rZW4iLCJiYWNrIiwidGVybWluYWxIaWdobGlnaHQiLCJjc3MiLCJJbnB1dCIsImlnbm9yZUVycm9ycyIsInJlc3VsdCIsInRva2VuIiwiY29sb3IiLCJzcGxpdCIsIm1hcCIsImkiLCJqb2luIl0sIm1hcHBpbmdzIjoiOzs7O0FBQUE7Ozs7QUFFQTs7OztBQUNBOzs7Ozs7QUFFQSxJQUFNQSxrQkFBa0I7QUFDcEIsZ0JBQVlDLGdCQUFNQyxJQURFO0FBRXBCLGVBQVlELGdCQUFNQyxJQUZFO0FBR3BCLFlBQVlELGdCQUFNQyxJQUhFO0FBSXBCLGVBQVlELGdCQUFNRSxJQUpFO0FBS3BCLGNBQVlGLGdCQUFNRyxLQUxFO0FBTXBCLGFBQVlILGdCQUFNSSxNQU5FO0FBT3BCLFlBQ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kge1xuICAgICAgICBsZXQgdG9rZW4gPSBwcm9jZXNzb3IubmV4dFRva2VuKCk7XG4gICAgICAgIGxldCBjb2xvciA9IEhJR0hMSUdIVF9USEVNRVtnZXRUb2tlblR5cGUodG9rZW4sIHByb2Nlc3NvcildO1xuICAgICAgICBpZiAoIGNvbG9yICkge1xuICAgICAgICAgICAgcmVzdWx0ICs9IHRva2VuWzFdLnNwbGl0KC9cXHI/XFxuLylcbiAgICAgICAgICAgICAgICAubWFwKCBpID0+IGNvbG9yKGkpIClcbiAgICAgICAgICAgICAgICAuam9pbignXFxuJyk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXN1bHQgKz0gdG9rZW5bMV07XG4gICAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIHJlc3VsdDtcbn1cblxuZXhwb3J0IGRlZmF1bHQgdGVybWluYWxIaWdobGlnaHQ7XG4iXX0=
|
||||
|
||||
87
node_modules/css-loader/node_modules/postcss/lib/tokenize.js
generated
vendored
87
node_modules/css-loader/node_modules/postcss/lib/tokenize.js
generated
vendored
File diff suppressed because one or more lines are too long
75
node_modules/css-loader/node_modules/postcss/package.json
generated
vendored
75
node_modules/css-loader/node_modules/postcss/package.json
generated
vendored
@@ -1,32 +1,34 @@
|
||||
{
|
||||
"_from": "postcss@^5.0.6",
|
||||
"_id": "postcss@5.2.18",
|
||||
"_from": "postcss@^6.0.23",
|
||||
"_id": "postcss@6.0.23",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
|
||||
"_integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==",
|
||||
"_location": "/css-loader/postcss",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "postcss@^5.0.6",
|
||||
"raw": "postcss@^6.0.23",
|
||||
"name": "postcss",
|
||||
"escapedName": "postcss",
|
||||
"rawSpec": "^5.0.6",
|
||||
"rawSpec": "^6.0.23",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^5.0.6"
|
||||
"fetchSpec": "^6.0.23"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/css-loader"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
|
||||
"_shasum": "badfa1497d46244f6390f58b319830d9107853c5",
|
||||
"_spec": "postcss@^5.0.6",
|
||||
"_resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz",
|
||||
"_shasum": "61c82cc328ac60e677645f979054eb98bc0e3324",
|
||||
"_spec": "postcss@^6.0.23",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\css-loader",
|
||||
"author": {
|
||||
"name": "Andrey Sitnik",
|
||||
"email": "andrey@sitnik.ru"
|
||||
},
|
||||
"browser": {
|
||||
"supports-color": false,
|
||||
"chalk": false,
|
||||
"fs": false
|
||||
},
|
||||
"bugs": {
|
||||
@@ -34,47 +36,16 @@
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"chalk": "^1.1.3",
|
||||
"js-base64": "^2.1.9",
|
||||
"source-map": "^0.5.6",
|
||||
"supports-color": "^3.2.3"
|
||||
"chalk": "^2.4.1",
|
||||
"source-map": "^0.6.1",
|
||||
"supports-color": "^5.4.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Tool for transforming styles with JS plugins",
|
||||
"devDependencies": {
|
||||
"ava": "^0.17.0",
|
||||
"babel-core": "^6.24.0",
|
||||
"babel-eslint": "^7.1.1",
|
||||
"babel-plugin-add-module-exports": "^0.2.1",
|
||||
"babel-plugin-precompile-charcodes": "^1.0.0",
|
||||
"babel-preset-es2015": "^6.24.0",
|
||||
"chalk": "^1.1.3",
|
||||
"concat-with-sourcemaps": "^1.0.4",
|
||||
"del": "^2.2.2",
|
||||
"docdash": "^0.4.0",
|
||||
"eslint": "^3.18.0",
|
||||
"eslint-config-postcss": "^2.0.2",
|
||||
"fs-extra": "^1.0.0",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-ava": "^0.15.0",
|
||||
"gulp-babel": "^6.1.2",
|
||||
"gulp-changed": "^1.3.2",
|
||||
"gulp-eslint": "^3.0.1",
|
||||
"gulp-run": "^1.7.1",
|
||||
"gulp-sourcemaps": "^2.4.1",
|
||||
"jsdoc": "^3.4.3",
|
||||
"lint-staged": "^3.4.0",
|
||||
"postcss-parser-tests": "^5.0.11",
|
||||
"pre-commit": "^1.2.2",
|
||||
"run-sequence": "^1.2.2",
|
||||
"sinon": "^2.0.0",
|
||||
"strip-ansi": "^3.0.1",
|
||||
"yaspeller-ci": "^0.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.12"
|
||||
"node": ">=4.0.0"
|
||||
},
|
||||
"homepage": "http://postcss.org/",
|
||||
"homepage": "https://postcss.org/",
|
||||
"keywords": [
|
||||
"css",
|
||||
"postcss",
|
||||
@@ -87,24 +58,12 @@
|
||||
"transpiler"
|
||||
],
|
||||
"license": "MIT",
|
||||
"lint-staged": {
|
||||
"test/*.js": "eslint",
|
||||
"lib/*.es6": "eslint",
|
||||
"*.md": "yaspeller-ci"
|
||||
},
|
||||
"main": "lib/postcss",
|
||||
"name": "postcss",
|
||||
"pre-commit": [
|
||||
"lint-staged"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/postcss/postcss.git"
|
||||
},
|
||||
"scripts": {
|
||||
"lint-staged": "lint-staged",
|
||||
"test": "gulp"
|
||||
},
|
||||
"types": "lib/postcss.d.ts",
|
||||
"version": "5.2.18"
|
||||
"version": "6.0.23"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user