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

rollup-plugin-sass

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-sass - npm Package Compare versions

Comparing version 1.2.9 to 1.2.10

CHANGELOG.md

0

dist/index.d.ts

@@ -0,0 +0,0 @@ import { RollupPluginSassOptions } from "./types";

37

dist/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
const util_1 = require("util");

@@ -42,5 +30,8 @@ const resolve_1 = __importDefault(require("resolve"));

};
util_1.promisify(resolve_1.default)(moduleUrl, resolveOptions)
.then(file => done({ file }))
.catch(err => {
let file;
try {
file = resolve_1.default.sync(moduleUrl, resolveOptions);
done({ file });
}
catch (err) {
utils_1.warn('[rollup-plugin-sass]: Recovered from error: ', err);

@@ -54,7 +45,3 @@ if (sassOptions.importer && sassOptions.importer.length > 1) {

});
})
.catch(err => {
utils_1.error(err);
done(new Error(err));
});
}
};

@@ -61,0 +48,0 @@ return [importer1].concat(sassOptions.importer || []);

export declare function insertStyle(css: any): any;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.insertStyle = void 0;
function insertStyle(css) {

@@ -5,0 +4,0 @@ if (!css || typeof window === 'undefined') {

@@ -0,0 +0,0 @@ import { types } from 'sass';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=types.js.map
export declare const log: any, warn: any, error: any, isset: (x: any) => boolean, isString: (x: any) => boolean, isObject: (x: any) => boolean, isFunction: (x: any) => boolean;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isFunction = exports.isObject = exports.isString = exports.isset = exports.error = exports.warn = exports.log = void 0;
exports.log = console.log.bind(console), exports.warn = console.warn.bind(console), exports.error = console.error.bind(console), exports.isset = x => x !== null && x !== undefined, exports.isString = x => exports.isset(x) && x.constructor === String, exports.isObject = x => typeof x === 'object', exports.isFunction = x => typeof x === 'function';
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ The MIT License (MIT)

{
"name": "rollup-plugin-sass",
"version": "1.2.9",
"version": "1.2.10",
"description": "Rollup Sass files.",

@@ -55,8 +55,4 @@ "main": "dist/index.js",

"devDependencies": {
"@ava/babel": "^2.0.0",
"@babel/core": "^7.14.8",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@rollup/plugin-babel": "^5.3.0",
"@types/node": "^16.6.1",
"@types/node": "^15.14.9",
"@types/resolve": "^0.0.8",
"@types/rollup": "^0.54.0",

@@ -72,3 +68,3 @@ "@types/sass": "^1.16.1",

"ts-node": "^10.2.0",
"typescript": "^3.9.10"
"typescript": "3.5.3"
},

@@ -75,0 +71,0 @@ "engines": {

@@ -0,0 +0,0 @@ rollup-plugin-sass [![CircleCI](https://img.shields.io/circleci/project/github/differui/rollup-plugin-sass/master.svg?style=flat-square)](https://circleci.com/gh/differui/rollup-plugin-sass) [![issues](https://img.shields.io/github/issues/differui/rollup-plugin-sass.svg?style=flat-square)](https://www.npmjs.com/package/rollup-plugin-sass) [![npm](https://img.shields.io/npm/v/rollup-plugin-sass.svg?style=flat-square)](https://www.npmjs.com/package/rollup-plugin-sass) [![mit](https://img.shields.io/npm/l/rollup-plugin-sass.svg?style=flat-square)](https://opensource.org/licenses/MIT) [![Coverage Status](https://coveralls.io/repos/github/differui/rollup-plugin-sass/badge.svg?branch=master)](https://coveralls.io/github/differui/rollup-plugin-sass?branch=master)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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