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

takin

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

takin - npm Package Compare versions

Comparing version 1.0.102-alpha.0 to 1.0.114-beta.15

31

lib/utils/readJsonLike.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -8,4 +31,4 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

const fs_extra_1 = __importDefault(require("fs-extra"));
const json5_1 = __importDefault(require("json5"));
const jsonc_parser_1 = __importDefault(require("jsonc-parser"));
const json5 = __importStar(require("json5"));
const jsoncParser = __importStar(require("jsonc-parser"));
const path_1 = __importDefault(require("path"));

@@ -26,7 +49,7 @@ const constants_1 = require("../constants");

if (extname === constants_1.SupportConfigExtensions.jsonc) {
return jsonc_parser_1.default.parse(fileContent);
return jsoncParser.parse(fileContent);
}
return json5_1.default.parse(fileContent);
return json5.parse(fileContent);
}
exports.readJsonLike = readJsonLike;
//# sourceMappingURL=readJsonLike.js.map

2

package.json
{
"name": "takin",
"version": "1.0.102-alpha.0",
"version": "1.0.114-beta.15",
"description": "Front end engineering base toolchain and scaffold",

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

Sorry, the diff of this file is not supported yet

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