Socket
Socket
Sign inDemoInstall

cssstyle

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssstyle - npm Package Compare versions

Comparing version 0.2.29 to 0.2.30

2

package.json

@@ -5,3 +5,3 @@ {

"keywords": ["CSS", "CSSStyleDeclaration", "StyleSheet"],
"version": "0.2.29",
"version": "0.2.30",
"homepage": "https://github.com/chad3814/CSSStyleDeclaration",

@@ -8,0 +8,0 @@ "maintainers": [{

@@ -20,31 +20,6 @@ 'use strict';

dashed = camelToDashed(property);
out_file.write(' Object.defineProperty(prototype, \'' + property + '\', {\n');
out_file.write(' get: function () {\n');
out_file.write(' var definition = require(\'./properties/' + property + '\').definition;\n');
out_file.write(' Object.defineProperty(prototype, \'' + property + '\', definition);\n');
out_file.write(' return this.' + property + ';\n');
out_file.write(' },\n');
out_file.write(' set: function (v) {\n');
out_file.write(' var definition = require(\'./properties/' + property + '\').definition;\n');
out_file.write(' Object.defineProperty(prototype, \'' + property + '\', definition);\n');
out_file.write(' this.' + property + ' = v;\n');
out_file.write(' },\n');
out_file.write(' enumerable: true,\n');
out_file.write(' configurable: true\n');
out_file.write(' });\n');
out_file.write(' var '+property+' = require(\'./properties/' + property + '\').definition;\n');
out_file.write(' Object.defineProperty(prototype, \'' + property + '\', '+property+')\n');
if (property !== dashed) {
out_file.write(' Object.defineProperty(prototype, \'' + dashed + '\', {\n');
out_file.write(' get: function () {\n');
out_file.write(' var definition = require(\'./properties/' + property + '\').definition;\n');
out_file.write(' Object.defineProperty(prototype, \'' + property + '\', definition);\n');
out_file.write(' return this.' + property + ';\n');
out_file.write(' },\n');
out_file.write(' set: function (v) {\n');
out_file.write(' var definition = require(\'./properties/' + property + '\').definition;\n');
out_file.write(' Object.defineProperty(prototype, \'' + property + '\', definition);\n');
out_file.write(' this.' + property + ' = v;\n');
out_file.write(' },\n');
out_file.write(' enumerable: true,\n');
out_file.write(' configurable: true\n');
out_file.write(' });\n');
out_file.write(' Object.defineProperty(prototype, \'' + dashed + '\', '+property+')\n');
}

@@ -51,0 +26,0 @@ }

Sorry, the diff of this file is too big to display

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