Socket
Socket
Sign inDemoInstall

snake-case

Package Overview
Dependencies
4
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.3 to 3.0.4

3

dist.es2015/index.spec.js
import { snakeCase } from ".";
var TEST_CASES = [
["", ""],
["_id", "id"],
["test", "test"],

@@ -9,3 +10,3 @@ ["test string", "test_string"],

["version 1.2.10", "version_1_2_10"],
["version 1.21.0", "version_1_21_0"]
["version 1.21.0", "version_1_21_0"],
];

@@ -12,0 +13,0 @@ describe("snake case", function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.snakeCase = void 0;
var tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ var dot_case_1 = require("dot-case");

@@ -6,2 +6,3 @@ "use strict";

["", ""],
["_id", "id"],
["test", "test"],

@@ -12,3 +13,3 @@ ["test string", "test_string"],

["version 1.2.10", "version_1_2_10"],
["version 1.21.0", "version_1_21_0"]
["version 1.21.0", "version_1_21_0"],
];

@@ -15,0 +16,0 @@ describe("snake case", function () {

{
"name": "snake-case",
"version": "3.0.3",
"version": "3.0.4",
"description": "Transform into a lower case string with underscores between words",

@@ -74,4 +74,4 @@ "main": "dist/index.js",

"dependencies": {
"dot-case": "^3.0.3",
"tslib": "^1.10.0"
"dot-case": "^3.0.4",
"tslib": "^2.0.3"
},

@@ -88,5 +88,5 @@ "devDependencies": {

"tslint-config-standard": "^9.0.0",
"typescript": "^3.7.2"
"typescript": "^4.1.2"
},
"gitHead": "1c1377a692d328ae01221b2a1532bade38e1eaa3"
"gitHead": "76a21a7f6f2a226521ef6abd345ff309cbd01fb0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc