Comparing version 0.0.2 to 0.0.3
@@ -12,2 +12,5 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -28,3 +31,3 @@ // Copyright 2023 Scape Agency BV | ||
const fs_1 = require("fs"); | ||
const path_1 = require("path"); | ||
const path_1 = __importDefault(require("path")); | ||
// ============================================================================ | ||
@@ -31,0 +34,0 @@ // Classes |
@@ -12,4 +12,20 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const path_1 = require("path"); | ||
// Copyright 2023 Scape Agency BV | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// ============================================================================ | ||
// Import | ||
// ============================================================================ | ||
const path_1 = __importDefault(require("path")); | ||
const fs_1 = require("fs"); | ||
@@ -16,0 +32,0 @@ // ============================================================================ |
@@ -12,2 +12,5 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -28,3 +31,3 @@ // Copyright 2023 Scape Agency BV | ||
const fs_1 = require("fs"); | ||
const path_1 = require("path"); | ||
const path_1 = __importDefault(require("path")); | ||
// ============================================================================ | ||
@@ -31,0 +34,0 @@ // Classes |
{ | ||
"name": "pack.gl", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Package Builder.", | ||
@@ -14,3 +14,4 @@ "keywords": [ | ||
"homepage": "https://www.pack.gl/", | ||
"main": "index.js", | ||
"main": "js/index.js", | ||
"types": "js/index.d.ts", | ||
"files": [ | ||
@@ -17,0 +18,0 @@ "svg/**/*.svg", |
@@ -22,3 +22,2 @@ // class/DirectoryCopier.ts | ||
import fs from 'fs'; | ||
import path from 'path'; | ||
@@ -60,3 +59,3 @@ import { promises as fsPromises } from 'fs'; | ||
*/ | ||
private async recursiveCopy(srcDir: string, destDir: string): Promise<void> { | ||
async recursiveCopy(srcDir: string, destDir: string): Promise<void> { | ||
await fsPromises.mkdir(destDir, { recursive: true }); | ||
@@ -63,0 +62,0 @@ const entries = await fsPromises.readdir(srcDir, { withFileTypes: true }); |
@@ -27,21 +27,21 @@ // script/index.ts | ||
import DirectoryCreator from './class/DirectoryCreator'; | ||
import FileCopier from './class/FileCopier.js'; | ||
import FileRenamer from './class/FileRenamer.js'; | ||
// import FileCopier from '../../tmp/FileCopier.js'; | ||
// import FileRenamer from './class/FileRenamer.js'; | ||
// Import | Internal Classes | ||
import FontGenerator from './class/FontGenerator.js'; | ||
import PackageCreator from './class/PackageCreator.js'; | ||
import SvgPackager from "./class/SvgPackager.js"; | ||
import StyleProcessor from "./class/StyleProcessor.js"; | ||
import SvgSpriteGenerator from "./class/SvgSpriteGenerator.js"; | ||
import VersionWriter from './class/VersionWriter.js'; | ||
import TypeScriptCompiler from './class/TypeScriptCompiler.js'; | ||
import JavaScriptMinifier from './class/JavaScriptMinifier.js'; | ||
// // Import | Internal Classes | ||
// import FontGenerator from './class/FontGenerator.js'; | ||
// import PackageCreator from './class/PackageCreator.js'; | ||
// import SvgPackager from "./class/SvgPackager.js"; | ||
// import StyleProcessor from "./class/StyleProcessor.js"; | ||
// import SvgSpriteGenerator from "./class/SvgSpriteGenerator.js"; | ||
// import VersionWriter from './class/VersionWriter.js'; | ||
// import TypeScriptCompiler from './class/TypeScriptCompiler.js'; | ||
// import JavaScriptMinifier from './class/JavaScriptMinifier.js'; | ||
// Import | Cconfigurations | ||
import { CONFIG } from './config/config.js'; | ||
import svgspriteConfig from "./config/svgsprite.config.js"; | ||
import packageConfig from "./config/package.config.js" | ||
import tsConfig from "./config/ts.config.js" | ||
import tensorConfig from "./config/terser.config.js" | ||
// // Import | Cconfigurations | ||
// import { CONFIG } from './config/config.js'; | ||
// import svgspriteConfig from "./config/svgsprite.config.js"; | ||
// import packageConfig from "./config/package.config.js" | ||
// import tsConfig from "./config/ts.config.js" | ||
// import tensorConfig from "./config/terser.config.js" | ||
@@ -59,14 +59,14 @@ | ||
DirectoryCreator, | ||
FileCopier, | ||
FileRenamer, | ||
// FileCopier, | ||
// FileRenamer, | ||
// Export | Internal Classes | ||
FontGenerator, | ||
PackageCreator, | ||
SvgPackager, | ||
StyleProcessor, | ||
SvgSpriteGenerator, | ||
VersionWriter, | ||
TypeScriptCompiler, | ||
JavaScriptMinifier, | ||
// // Export | Internal Classes | ||
// FontGenerator, | ||
// PackageCreator, | ||
// SvgPackager, | ||
// StyleProcessor, | ||
// SvgSpriteGenerator, | ||
// VersionWriter, | ||
// TypeScriptCompiler, | ||
// JavaScriptMinifier, | ||
}; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2
4
1
63201
21
1261