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

@spare/quote

Package Overview
Dependencies
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spare/quote - npm Package Compare versions

Comparing version 0.3.12 to 0.4.0

5

dist/index.cjs.js

@@ -21,9 +21,8 @@ 'use strict';

const Qt = (read, mode) => {
const qt = SelectQt(mode);
if (!mode) return read;
if (!read) return qt;
if (!read) return SelectQt(mode);
return x => {
var _ref, _x;
return _ref = (_x = x, read(_x)), qt(_ref);
return _ref = (_x = x, read(_x)), SelectQt(mode)(_ref);
};

@@ -30,0 +29,0 @@ };

@@ -17,9 +17,8 @@ import { APOS, DITTO } from '@spare/enum-quotes';

const Qt = (read, mode) => {
const qt = SelectQt(mode);
if (!mode) return read;
if (!read) return qt;
if (!read) return SelectQt(mode);
return x => {
var _ref, _x;
return _ref = (_x = x, read(_x)), qt(_ref);
return _ref = (_x = x, read(_x)), SelectQt(mode)(_ref);
};

@@ -26,0 +25,0 @@ };

6

package.json
{
"name": "@spare/quote",
"version": "0.3.12",
"version": "0.4.0",
"description": "Add quotation mark to string",

@@ -18,3 +18,3 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@spare/enum-quotes": "^0.3.12"
"@spare/enum-quotes": "^0.4.0"
},

@@ -37,3 +37,3 @@ "repository": {

"homepage": "https://github.com/hoyeungw/spare#readme",
"gitHead": "4f270028adc37143defa085cf074042cb7c4c195"
"gitHead": "3f8fe1e26e06ea8ab8597a9081249a303cb23a76"
}
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