New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gmaps-css

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gmaps-css - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

10

lib/gmaps-css.js

@@ -9,12 +9,12 @@ var gcss = (function() {

var styles = [];
json.stylesheet.rules.forEach(function(rule) {
var selectors = rule.selectors.map(function(selector) {
(json.stylesheet.rules || []).forEach(function(rule) {
var selectors = (rule.selectors || []).map(function(selector) {
var parts = selector.split(':');
return {
elementType: parts[0] || 'all',
featureType: parts[1] || 'all'
featureType: parts[0] || 'all',
elementType: parts[1] || 'all'
};
});
var stylers = rule.declarations.map(function(declaration) {
var stylers = (rule.declarations || []).map(function(declaration) {
var styler = {};

@@ -21,0 +21,0 @@ styler[declaration.property] = declaration.value;

{
"name": "gmaps-css",
"description": "Write custom Google Maps styles in familiar CSS syntax.",
"version": "0.1.1",
"version": "0.1.2",
"author": "Dan Burzo",

@@ -6,0 +6,0 @@ "homepage": "http://danburzo.ro",

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