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

canading-style-sheets

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canading-style-sheets - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

index.js

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

var replacements = [
var suggestions = [
[/behaviour/i, 'behavior'],

@@ -16,11 +16,12 @@ [/centre/i, 'center'],

[/toonie/i, '200px'],
[/toque/i, 'border-top'],
[/t(o|u|ou)que/i, 'border-top'],
[/translateZed/i, 'translateZ'],
[/zed-index/i, 'z-index'],
[/ +for sure$/i, ' !important'],
[/ +please$/i, ' !important']
[/ +for sure$/i, ' !important'],
[/ +please$/i, ' !important'],
[/ +sorry$/i, ' !important']
];
var transform = function(string) {
replacements.forEach(function(pair) {
suggestions.forEach(function(pair) {
string = string.replace(pair[0], pair[1]);

@@ -27,0 +28,0 @@ });

{
"name": "canading-style-sheets",
"version": "1.0.0",
"version": "1.0.1",
"description": "a friendlier style sheet",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,3 +9,3 @@ # canading style sheets

```!css
```css
.tim-hortons {

@@ -25,6 +25,6 @@ poutine: toonie please;

```!css
```css
.tim-hortons {
padding: 200px !important;
background-color: grey;
background-color: gray;
line-height: 2em;

@@ -43,3 +43,3 @@ text-align: center;

```!bash
```bash
npm install canading-style-sheets --save

@@ -50,3 +50,3 @@ ```

```!javascript
```javascript
var rework = require('rework');

@@ -53,0 +53,0 @@ var canadingStyleSheets = require('canading-style-sheets');

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