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

@practicaloptimism/program-utility

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@practicaloptimism/program-utility - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

compiled/data-structures/demos/import-with-typescript/index.js

11

package.json
{
"name": "@practicaloptimism/program-utility",
"version": "0.0.10",
"version": "0.0.11",
"description": "A set of useful algorithms and data structures for computer programs",

@@ -29,3 +29,5 @@ "keywords": [

"watch:http-server": "./node_modules/.bin/webpack --config ./project-configuration/webpack.node.config.js --watch",
"build": "npm run build:javascript",
"build": "./node_modules/.bin/rollup --config ./project-configuration/rollup.config.js",
"build:webpack": "npm run build:javascript && npm run build:demos",
"build:demos": "./node_modules/.bin/webpack --config ./project-configuration/webpack.node.config.js",
"build:javascript": "./node_modules/.bin/webpack --config ./project-configuration/webpack.javascript.config.js",

@@ -46,2 +48,4 @@ "build:http-server": "./node_modules/.bin/webpack --config ./project-configuration/webpack.node.config.js",

"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@types/chai": "^4.1.7",

@@ -56,2 +60,5 @@ "@types/express": "^4.17.6",

"nyc": "^15.0.1",
"rollup": "^2.23.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-typescript2": "^0.27.1",
"source-map-support": "^0.5.18",

@@ -58,0 +65,0 @@ "ts-loader": "^7.0.1",

11

precompiled/javascript.ts
import * as javascriptConsumer from './consumer/javascript/@architecture'
// import * as javascriptConsumer from './consumer/javascript/@architecture'
javascriptConsumer.algorithms.addMainJavascriptLibraryToGlobalEnvironment.function()
// javascriptConsumer.algorithms.addMainJavascriptLibraryToGlobalEnvironment.function()
// const javascriptLibrary = javascriptConsumer.variables.javascript.mainJavascriptLibrary
import * as usecase from './usecase/@architecture'
export {
javascriptConsumer
usecase
}

@@ -14,4 +14,9 @@

test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/
loader: 'ts-loader',
exclude: /node_modules/,
options: {
compilerOptions: {
// outDir: path.resolve(__dirname, `../compiled`)
}
}
}]

@@ -22,4 +27,4 @@ },

alias: {
'precompiled': path.resolve(__dirname, '../precompiled'),
'@': path.resolve(__dirname, '../precompiled')
// 'precompiled': path.resolve(__dirname, '../precompiled'),
// '@': path.resolve(__dirname, '../precompiled')
}

@@ -26,0 +31,0 @@ },

@@ -6,6 +6,6 @@

...webpackCommonConfig,
target: 'node',
target: 'web',
mode: 'development',
entry: {
javascript: './precompiled/javascript.ts',
'data-structures/javascript-library/javascript': './precompiled/javascript.ts'
}

@@ -12,0 +12,0 @@ }

@@ -17,3 +17,3 @@

##### This Documentation Page was last Updated on Thu Jun 25 2020 03:04:57 GMT-0500 (Central Daylight Time)
##### This Documentation Page was last Updated on Sun Aug 02 2020 22:43:31 GMT-0500 (Central Daylight Time)

@@ -20,0 +20,0 @@ ### Installation

@@ -13,12 +13,9 @@ {

"sourceMap": true,
"declaration": true,
"removeComments": true,
"baseUrl": ".",
"types": ["node", "mocha"],
"outDir": "dist",
"outDir": "compiled/data-structures/javascript-library",
"lib": ["esnext", "dom", "dom.iterable"],
"paths": {
"@/*": [
"precompiled/*"
]
},
"paths": {}
},

@@ -28,4 +25,6 @@ "exclude": [

"node_modules",
"demos",
"expectation-definitions",
"./precompiled/usecase/documentation-utility/algorithms/html/constants/vuetify-troy-starter/**"
]
}
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