Comparing version 1.0.102-alpha.0 to 1.0.114-beta.15
"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 |
{ | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
393446
7278