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

icss-replace-symbols

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icss-replace-symbols - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

6

lib/index.js
'use strict';
Object.defineProperty(exports, '__esModule', {
Object.defineProperty(exports, "__esModule", {
value: true

@@ -10,3 +10,3 @@ });

function replaceAll(replacements, text) {
var matches = undefined;
var matches = void 0;
while (matches = matchConstName.exec(text)) {

@@ -22,3 +22,3 @@ var replacement = replacements[matches[0]];

exports['default'] = function (css, translations) {
exports.default = function (css, translations) {
css.walkDecls(function (decl) {

@@ -25,0 +25,0 @@ return decl.value = replaceAll(translations, decl.value);

{
"name": "icss-replace-symbols",
"version": "1.0.2",
"version": "1.1.0",
"description": "Replacing symbols during the linking phase of ICSS",

@@ -10,3 +10,3 @@ "main": "lib/index.js",

"autotest": "chokidar src test -c 'npm test'",
"test": "mocha --compilers js:babel/register",
"test": "mocha --compilers js:babel-register",
"posttest": "npm run lint && npm run build",

@@ -33,8 +33,10 @@ "travis": "npm run test",

"devDependencies": {
"babel": "^5.8.23",
"chokidar": "^1.0.6",
"mocha": "^2.3.2",
"postcss": "^5.0.5",
"standard": "^5.3.1"
"babel-cli": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"babel-register": "^6.18.0",
"chokidar": "^1.3.0",
"mocha": "^3.1.2",
"postcss": "^6.0.1",
"standard": "^8.4.0"
}
}

@@ -0,1 +1,3 @@

[![Build Status](https://img.shields.io/travis/css-modules/icss-replace-symbols/master.svg?style=flat-square)]()
# ICSS — Replace Symbols

@@ -2,0 +4,0 @@

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