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

@cpmech/basic

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cpmech/basic - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

1

dist/index.d.ts
export { camelize } from './camelize';
export { maybeWriteFile } from './maybeWriteFile';
export { initEnvars } from './initEnvars';

@@ -40,3 +40,20 @@ 'use strict';

const initEnvars = (envars) => {
Object.keys(envars).forEach(key => {
if (Object.prototype.hasOwnProperty.call(process.env, key)) {
if (process.env[key]) {
envars[key] = process.env[key];
}
else {
throw new Error(`envar ${key} must not be empty`);
}
}
else {
throw new Error(`cannot find envar ${key} from .env`);
}
});
};
exports.camelize = camelize;
exports.initEnvars = initEnvars;
exports.maybeWriteFile = maybeWriteFile;

2

package.json
{
"name": "@cpmech/basic",
"version": "0.2.1",
"version": "0.2.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": {

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