index.js 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var _exportNames = {
  6. addEmptyLineBefore: true,
  7. atRuleBaseName: true,
  8. atRuleParamIndex: true,
  9. beforeBlockString: true,
  10. blockString: true,
  11. declarationValueIndex: true,
  12. eachRoot: true,
  13. findCommentsInRaws: true,
  14. hasBlock: true,
  15. hasEmptyLine: true,
  16. hasInterpolatingAmpersand: true,
  17. isInlineComment: true,
  18. isNativeCssFunction: true,
  19. isSingleLineString: true,
  20. isStandardRule: true,
  21. isStandardSelector: true,
  22. isStandardSyntaxProperty: true,
  23. isWhitespace: true,
  24. namespace: true,
  25. optionsHaveException: true,
  26. optionsHaveIgnored: true,
  27. parseFunctionArguments: true,
  28. parseNestedPropRoot: true,
  29. parseSelector: true,
  30. rawNodeString: true,
  31. removeEmptyLinesBefore: true,
  32. findOperators: true,
  33. whitespaceChecker: true,
  34. hasNestedSibling: true,
  35. isType: true,
  36. moduleNamespace: true
  37. };
  38. Object.defineProperty(exports, "addEmptyLineBefore", {
  39. enumerable: true,
  40. get: function get() {
  41. return _addEmptyLineBefore.addEmptyLineBefore;
  42. }
  43. });
  44. Object.defineProperty(exports, "atRuleBaseName", {
  45. enumerable: true,
  46. get: function get() {
  47. return _atRuleBaseName["default"];
  48. }
  49. });
  50. Object.defineProperty(exports, "atRuleParamIndex", {
  51. enumerable: true,
  52. get: function get() {
  53. return _atRuleParamIndex["default"];
  54. }
  55. });
  56. Object.defineProperty(exports, "beforeBlockString", {
  57. enumerable: true,
  58. get: function get() {
  59. return _beforeBlockString["default"];
  60. }
  61. });
  62. Object.defineProperty(exports, "blockString", {
  63. enumerable: true,
  64. get: function get() {
  65. return _blockString["default"];
  66. }
  67. });
  68. Object.defineProperty(exports, "declarationValueIndex", {
  69. enumerable: true,
  70. get: function get() {
  71. return _declarationValueIndex["default"];
  72. }
  73. });
  74. Object.defineProperty(exports, "eachRoot", {
  75. enumerable: true,
  76. get: function get() {
  77. return _eachRoot["default"];
  78. }
  79. });
  80. Object.defineProperty(exports, "findCommentsInRaws", {
  81. enumerable: true,
  82. get: function get() {
  83. return _findCommentsInRaws["default"];
  84. }
  85. });
  86. Object.defineProperty(exports, "findOperators", {
  87. enumerable: true,
  88. get: function get() {
  89. return _sassValueParser["default"];
  90. }
  91. });
  92. Object.defineProperty(exports, "hasBlock", {
  93. enumerable: true,
  94. get: function get() {
  95. return _hasBlock["default"];
  96. }
  97. });
  98. Object.defineProperty(exports, "hasEmptyLine", {
  99. enumerable: true,
  100. get: function get() {
  101. return _hasEmptyLine["default"];
  102. }
  103. });
  104. Object.defineProperty(exports, "hasInterpolatingAmpersand", {
  105. enumerable: true,
  106. get: function get() {
  107. return _hasInterpolatingAmpersand["default"];
  108. }
  109. });
  110. Object.defineProperty(exports, "hasNestedSibling", {
  111. enumerable: true,
  112. get: function get() {
  113. return _hasNestedSibling["default"];
  114. }
  115. });
  116. Object.defineProperty(exports, "isInlineComment", {
  117. enumerable: true,
  118. get: function get() {
  119. return _isInlineComment["default"];
  120. }
  121. });
  122. Object.defineProperty(exports, "isNativeCssFunction", {
  123. enumerable: true,
  124. get: function get() {
  125. return _isNativeCssFunction["default"];
  126. }
  127. });
  128. Object.defineProperty(exports, "isSingleLineString", {
  129. enumerable: true,
  130. get: function get() {
  131. return _isSingleLineString["default"];
  132. }
  133. });
  134. Object.defineProperty(exports, "isStandardRule", {
  135. enumerable: true,
  136. get: function get() {
  137. return _isStandardRule["default"];
  138. }
  139. });
  140. Object.defineProperty(exports, "isStandardSelector", {
  141. enumerable: true,
  142. get: function get() {
  143. return _isStandardSelector["default"];
  144. }
  145. });
  146. Object.defineProperty(exports, "isStandardSyntaxProperty", {
  147. enumerable: true,
  148. get: function get() {
  149. return _isStandardSyntaxProperty["default"];
  150. }
  151. });
  152. Object.defineProperty(exports, "isType", {
  153. enumerable: true,
  154. get: function get() {
  155. return _isType["default"];
  156. }
  157. });
  158. Object.defineProperty(exports, "isWhitespace", {
  159. enumerable: true,
  160. get: function get() {
  161. return _isWhitespace["default"];
  162. }
  163. });
  164. Object.defineProperty(exports, "moduleNamespace", {
  165. enumerable: true,
  166. get: function get() {
  167. return _moduleNamespace.moduleNamespace;
  168. }
  169. });
  170. Object.defineProperty(exports, "namespace", {
  171. enumerable: true,
  172. get: function get() {
  173. return _namespace["default"];
  174. }
  175. });
  176. Object.defineProperty(exports, "optionsHaveException", {
  177. enumerable: true,
  178. get: function get() {
  179. return _optionsHaveException["default"];
  180. }
  181. });
  182. Object.defineProperty(exports, "optionsHaveIgnored", {
  183. enumerable: true,
  184. get: function get() {
  185. return _optionsHaveIgnored["default"];
  186. }
  187. });
  188. Object.defineProperty(exports, "parseFunctionArguments", {
  189. enumerable: true,
  190. get: function get() {
  191. return _parseFunctionArguments.parseFunctionArguments;
  192. }
  193. });
  194. Object.defineProperty(exports, "parseNestedPropRoot", {
  195. enumerable: true,
  196. get: function get() {
  197. return _parseNestedPropRoot["default"];
  198. }
  199. });
  200. Object.defineProperty(exports, "parseSelector", {
  201. enumerable: true,
  202. get: function get() {
  203. return _parseSelector["default"];
  204. }
  205. });
  206. Object.defineProperty(exports, "rawNodeString", {
  207. enumerable: true,
  208. get: function get() {
  209. return _rawNodeString["default"];
  210. }
  211. });
  212. Object.defineProperty(exports, "removeEmptyLinesBefore", {
  213. enumerable: true,
  214. get: function get() {
  215. return _removeEmptyLinesBefore.removeEmptyLinesBefore;
  216. }
  217. });
  218. Object.defineProperty(exports, "whitespaceChecker", {
  219. enumerable: true,
  220. get: function get() {
  221. return _whitespaceChecker["default"];
  222. }
  223. });
  224. var _addEmptyLineBefore = require("./addEmptyLineBefore");
  225. var _atRuleBaseName = _interopRequireDefault(require("./atRuleBaseName"));
  226. var _atRuleParamIndex = _interopRequireDefault(require("./atRuleParamIndex"));
  227. var _beforeBlockString = _interopRequireDefault(require("./beforeBlockString"));
  228. var _blockString = _interopRequireDefault(require("./blockString"));
  229. var _declarationValueIndex = _interopRequireDefault(require("./declarationValueIndex"));
  230. var _eachRoot = _interopRequireDefault(require("./eachRoot"));
  231. var _findCommentsInRaws = _interopRequireDefault(require("./findCommentsInRaws"));
  232. var _functions = require("./functions");
  233. Object.keys(_functions).forEach(function (key) {
  234. if (key === "default" || key === "__esModule") return;
  235. if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  236. if (key in exports && exports[key] === _functions[key]) return;
  237. Object.defineProperty(exports, key, {
  238. enumerable: true,
  239. get: function get() {
  240. return _functions[key];
  241. }
  242. });
  243. });
  244. var _hasBlock = _interopRequireDefault(require("./hasBlock"));
  245. var _hasEmptyLine = _interopRequireDefault(require("./hasEmptyLine"));
  246. var _hasInterpolatingAmpersand = _interopRequireDefault(require("./hasInterpolatingAmpersand"));
  247. var _isInlineComment = _interopRequireDefault(require("./isInlineComment"));
  248. var _isNativeCssFunction = _interopRequireDefault(require("./isNativeCssFunction"));
  249. var _isSingleLineString = _interopRequireDefault(require("./isSingleLineString"));
  250. var _isStandardRule = _interopRequireDefault(require("./isStandardRule"));
  251. var _isStandardSelector = _interopRequireDefault(require("./isStandardSelector"));
  252. var _isStandardSyntaxProperty = _interopRequireDefault(require("./isStandardSyntaxProperty"));
  253. var _isWhitespace = _interopRequireDefault(require("./isWhitespace"));
  254. var _namespace = _interopRequireDefault(require("./namespace"));
  255. var _optionsHaveException = _interopRequireDefault(require("./optionsHaveException"));
  256. var _optionsHaveIgnored = _interopRequireDefault(require("./optionsHaveIgnored"));
  257. var _parseFunctionArguments = require("./parseFunctionArguments");
  258. var _parseNestedPropRoot = _interopRequireDefault(require("./parseNestedPropRoot"));
  259. var _parseSelector = _interopRequireDefault(require("./parseSelector"));
  260. var _rawNodeString = _interopRequireDefault(require("./rawNodeString"));
  261. var _removeEmptyLinesBefore = require("./removeEmptyLinesBefore");
  262. var _ruleUrl = require("./ruleUrl");
  263. Object.keys(_ruleUrl).forEach(function (key) {
  264. if (key === "default" || key === "__esModule") return;
  265. if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  266. if (key in exports && exports[key] === _ruleUrl[key]) return;
  267. Object.defineProperty(exports, key, {
  268. enumerable: true,
  269. get: function get() {
  270. return _ruleUrl[key];
  271. }
  272. });
  273. });
  274. var _sassValueParser = _interopRequireDefault(require("./sassValueParser"));
  275. var _whitespaceChecker = _interopRequireDefault(require("./whitespaceChecker"));
  276. var _hasNestedSibling = _interopRequireDefault(require("./hasNestedSibling"));
  277. var _isType = _interopRequireDefault(require("./isType"));
  278. var _moduleNamespace = require("./moduleNamespace");
  279. var _validateTypes = require("./validateTypes");
  280. Object.keys(_validateTypes).forEach(function (key) {
  281. if (key === "default" || key === "__esModule") return;
  282. if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  283. if (key in exports && exports[key] === _validateTypes[key]) return;
  284. Object.defineProperty(exports, key, {
  285. enumerable: true,
  286. get: function get() {
  287. return _validateTypes[key];
  288. }
  289. });
  290. });
  291. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }