contential
Advanced tools
Comparing version 0.0.2 to 0.0.3-test
"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 | ||
}); |
{ | ||
"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": {} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
1
0
9
3084
7
63
2
1
1
+ Added@contential/prompt@0.0.1-test(transitive)
- Removedaxios@^0.19.1
- Removedquerystring@^0.2.0
- Removedaxios@0.19.2(transitive)
- Removedfollow-redirects@1.5.10(transitive)
- Removedquerystring@0.2.1(transitive)