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

create-goji-app

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-goji-app - npm Package Compare versions

Comparing version 0.11.1 to 0.11.2

dist/cjs/__tests__/index.test.d.ts

6

dist/cjs/generator.js

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

const mkdirp_1 = tslib_1.__importDefault(require("mkdirp"));
const globby_1 = require("globby");
const globby_1 = tslib_1.__importDefault(require("globby"));
const path_1 = tslib_1.__importDefault(require("path"));

@@ -23,3 +23,3 @@ const ejs_1 = tslib_1.__importDefault(require("ejs"));

try {
for (var _b = tslib_1.__asyncValues(globby_1.globbyStream(path_1.default.join(sourcePath, '**'))), _c; _c = yield _b.next(), !_c.done;) {
for (var _b = tslib_1.__asyncValues(globby_1.default.stream(path_1.default.join(sourcePath, '**'))), _c; _c = yield _b.next(), !_c.done;) {
const sourceFileBuf = _c.value;

@@ -31,2 +31,4 @@ const sourceFile = sourceFileBuf.toString();

projectName,
// eslint-disable-next-line global-require, import/no-unresolved
version: require('../../package.json').version,
});

@@ -33,0 +35,0 @@ }

import { __asyncValues, __awaiter } from "tslib";
import mkdirp from 'mkdirp';
import { globbyStream } from 'globby';
import globby from 'globby';
import path from 'path';

@@ -19,3 +19,3 @@ import ejs from 'ejs';

try {
for (var _b = __asyncValues(globbyStream(path.join(sourcePath, '**'))), _c; _c = yield _b.next(), !_c.done;) {
for (var _b = __asyncValues(globby.stream(path.join(sourcePath, '**'))), _c; _c = yield _b.next(), !_c.done;) {
const sourceFileBuf = _c.value;

@@ -27,2 +27,4 @@ const sourceFile = sourceFileBuf.toString();

projectName,
// eslint-disable-next-line global-require, import/no-unresolved
version: require('../../package.json').version,
});

@@ -29,0 +31,0 @@ }

{
"name": "create-goji-app",
"version": "0.11.1",
"version": "0.11.2",
"description": "Create GojiJS App",

@@ -23,7 +23,7 @@ "main": "index.js",

"ejs": "^3.1.3",
"globby": "^12.0.0",
"globby": "^11.0.1",
"mkdirp": "^1.0.4",
"tslib": "^2.3.0"
},
"gitHead": "c91cbfd4548aec7783d45346c5b79a1e1e40f635"
"gitHead": "eb02139aab6f5ac43f0101cdc6b3a10e9f2f0510"
}
import mkdirp from 'mkdirp';
import { globbyStream } from 'globby';
import globby from 'globby';
import path from 'path';

@@ -18,3 +18,3 @@ import ejs from 'ejs';

export const generateProject = async (projectName, sourcePath: string, destPath: string) => {
for await (const sourceFileBuf of globbyStream(path.join(sourcePath, '**'))) {
for await (const sourceFileBuf of globby.stream(path.join(sourcePath, '**'))) {
const sourceFile = sourceFileBuf.toString();

@@ -25,4 +25,6 @@ const relativePath = path.relative(sourcePath, sourceFile);

projectName,
// eslint-disable-next-line global-require, import/no-unresolved
version: require('../../package.json').version,
});
}
};

@@ -15,3 +15,3 @@ {

"dependencies": {
"@goji/core": "^0.7.6",
"@goji/core": "^<%= version %>",
"classnames": "^2.2.6",

@@ -22,3 +22,9 @@ "core-js": "^3.6.5",

"devDependencies": {
"@goji/cli": "^0.7.6",
"@babel/core": "^7.15.0",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"babel-plugin-macros": "^3.1.0",
"@goji/cli": "^<%= version %>",
"@types/classnames": "^2.2.10",

@@ -25,0 +31,0 @@ "@types/css-modules": "^1.0.0",

@@ -15,5 +15,6 @@ {

"moduleResolution": "node",
"jsx": "react"
"jsx": "react",
"resolveJsonModule": true
},
"include": ["./src/**/*"]
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc