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

contential

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contential - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3-test

.changeset/config.json

41

dist/index.js
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
Object.defineProperty(exports, "__esModule", {
value: true
// src/index.ts
var src_exports = {};
__export(src_exports, {
contential: () => contential,
default: () => src_default
});
exports.sayHello = void 0;
var sayHello = function sayHello() {
console.log('Hello!');
module.exports = __toCommonJS(src_exports);
var import_prompt = require("@contential/prompt");
var promptClient = (0, import_prompt.getClient)();
var prompt = promptClient.prompt;
var contential = {
prompt
};
exports.sayHello = sayHello;
var src_default = contential;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
contential
});

40

package.json
{
"name": "contential",
"version": "0.0.2",
"description": "JavaScript client for Contential.",
"author": "Tom Andre",
"license": "ISC",
"version": "0.0.3-test",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"private": false,
"main": "./dist/contential.js",
"scripts": {
"build": "babel src -d dist",
"test": "echo \"Error: no test specified\" && exit 1"
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
"clean": "rimraf dist",
"build": "npm-run-all clean build:main",
"build:main": "tsup src/index.ts --format cjs,esm --dts",
"lint": "eslint \"**/*.ts*\"",
"publish:prod": "changeset version && changeset publish"
},
"prepublish": "npm run build",
"repository": {
"type": "git",
"url": "git+https://github.com/contential/contential-js.git"
},
"bugs": {
"url": "https://github.com/contential/contential-js/issues"
},
"homepage": "https://github.com/contential/contential-js#readme",
"dependencies": {
"axios": "^0.19.1",
"querystring": "^0.2.0"
"@contential/prompt": "^0.0.1-test"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/node": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.7.7",
"nodemon": "^1.18.9"
}
"devDependencies": {}
}
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