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

@neo-one/smart-contract-compiler-node

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo-one/smart-contract-compiler-node - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.1.4](https://github.com/neo-one-suite/neo-one/compare/@neo-one/smart-contract-compiler-node@1.1.3...@neo-one/smart-contract-compiler-node@1.1.4) (2019-07-29)
**Note:** Version bump only for package @neo-one/smart-contract-compiler-node
## [1.1.3](https://github.com/neo-one-suite/neo-one/compare/@neo-one/smart-contract-compiler-node@1.1.2...@neo-one/smart-contract-compiler-node@1.1.3) (2019-06-20)

@@ -8,0 +16,0 @@

8

createCompilerHost.js

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

const appRootDir = tslib_1.__importStar(require("app-root-dir"));
// tslint:disable-next-line match-default-export-name
const glob_1 = tslib_1.__importDefault(require("glob"));

@@ -35,5 +34,3 @@ const path = tslib_1.__importStar(require("path"));

const mutableResolvedModules = [];
// tslint:disable-next-line no-loop-statement
for (const moduleName of moduleNames) {
// tslint:disable-next-line prefer-switch
if (moduleName === '@neo-one/smart-contract') {

@@ -50,3 +47,2 @@ mutableResolvedModules.push({ resolvedFileName: smartContractModule });

});
// tslint:disable-next-line no-non-null-assertion
mutableResolvedModules.push(result.resolvedModule);

@@ -61,7 +57,5 @@ }

getScriptSnapshot: (fileName) => {
// tslint:disable-next-line no-non-null-assertion
if (!servicesHost.fileExists(fileName)) {
return undefined;
}
// tslint:disable-next-line no-non-null-assertion
return typescript_1.default.ScriptSnapshot.fromString(servicesHost.readFile(fileName));

@@ -83,2 +77,2 @@ },

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNyZWF0ZUNvbXBpbGVySG9zdC50cyJd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ydmljZXNIb3N0LmZpbGVFeGlzdHMhKGZpbGVOYW1lKSkge1xuICAgICAgICAgIHJldHVybiB1bmRlZmluZWQ7XG4gICAgICAgIH1cblxuICAgICAgICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmUgbm8tbm9uLW51bGwtYXNzZXJ0aW9uXG4gICAgICAgIHJldHVybiB0cy5TY3JpcHRTbmFwc2hvdC5mcm9tU3RyaW5nKHNlcnZpY2VzSG9zdC5yZWFkRmlsZSEoZmlsZU5hbWUpISk7XG4gICAgICB9LFxuICAgICAgZ2V0Q3VycmVudERpcmVjdG9yeTogKCkgPT4gcHJvY2Vzcy5jd2QoKSxcbiAgICAgIGdldENvbXBpbGF0aW9uU2V0dGluZ3M6ICgpID0+IG9wdGlvbnMsXG4gICAgICBnZXREZWZhdWx0TGliRmlsZU5hbWU6IChvcHRzKSA9PiB0cy5nZXREZWZhdWx0TGliRmlsZVBhdGgob3B0cyksXG4gICAgICB1c2VDYXNlU2Vuc2l0aXZlRmlsZU5hbWVzOiAoKSA9PiB0cy5zeXMudXNlQ2FzZVNlbnNpdGl2ZUZpbGVOYW1lcyxcbiAgICAgIGdldE5ld0xpbmU6ICgpID0+IHRzLnN5cy5uZXdMaW5lLFxuICAgICAgZmlsZUV4aXN0czogdHMuc3lzLmZpbGVFeGlzdHMsXG4gICAgICByZWFkRmlsZTogdHMuc3lzLnJlYWRGaWxlLFxuICAgICAgcmVhZERpcmVjdG9yeTogdHMuc3lzLnJlYWREaXJlY3RvcnksXG4gICAgICByZXNvbHZlTW9kdWxlTmFtZXMsXG4gICAgfTtcblxuICAgIHJldHVybiBzZXJ2aWNlc0hvc3Q7XG4gIH0sXG59KTtcbiJdfQ==
{
"name": "@neo-one/smart-contract-compiler-node",
"version": "1.1.3",
"version": "1.1.4",
"author": "Alex DiCarlo <alexdicarlo@gmail.com>",

@@ -22,8 +22,6 @@ "description": "NEO•ONE TypeScript smart contract compiler node host.",

"dependencies": {
"@neo-one/utils": "^1.1.2",
"@types/app-root-dir": "^0.1.0",
"@types/glob": "^7.1.1",
"@neo-one/utils": "^1.1.3",
"app-root-dir": "^1.0.2",
"glob": "^7.1.4",
"typescript": "3.5.2"
"typescript": "3.5.3"
},

@@ -30,0 +28,0 @@ "publishConfig": {

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

const path = tslib_1.__importStar(require("path"));
// tslint:disable-next-line readonly-array
function pathResolve(...filePath) {

@@ -13,2 +12,2 @@ return utils_1.normalizePath(path.resolve(...filePath));

//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhdGhSZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDBDQUErQztBQUMvQyxtREFBNkI7QUFFN0IsMENBQTBDO0FBQzFDLFNBQWdCLFdBQVcsQ0FBQyxHQUFHLFFBQWtCO0lBQy9DLE9BQU8scUJBQWEsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLEdBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQztBQUNsRCxDQUFDO0FBRkQsa0NBRUMiLCJmaWxlIjoibmVvLW9uZS1zbWFydC1jb250cmFjdC1jb21waWxlci1ub2RlL3NyYy9wYXRoUmVzb2x2ZS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IG5vcm1hbGl6ZVBhdGggfSBmcm9tICdAbmVvLW9uZS91dGlscyc7XG5pbXBvcnQgKiBhcyBwYXRoIGZyb20gJ3BhdGgnO1xuXG4vLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmUgcmVhZG9ubHktYXJyYXlcbmV4cG9ydCBmdW5jdGlvbiBwYXRoUmVzb2x2ZSguLi5maWxlUGF0aDogc3RyaW5nW10pOiBzdHJpbmcge1xuICByZXR1cm4gbm9ybWFsaXplUGF0aChwYXRoLnJlc29sdmUoLi4uZmlsZVBhdGgpKTtcbn1cbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhdGhSZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDBDQUErQztBQUMvQyxtREFBNkI7QUFHN0IsU0FBZ0IsV0FBVyxDQUFDLEdBQUcsUUFBa0I7SUFDL0MsT0FBTyxxQkFBYSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxRQUFRLENBQUMsQ0FBQyxDQUFDO0FBQ2xELENBQUM7QUFGRCxrQ0FFQyIsImZpbGUiOiJuZW8tb25lLXNtYXJ0LWNvbnRyYWN0LWNvbXBpbGVyLW5vZGUvc3JjL3BhdGhSZXNvbHZlLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgbm9ybWFsaXplUGF0aCB9IGZyb20gJ0BuZW8tb25lL3V0aWxzJztcbmltcG9ydCAqIGFzIHBhdGggZnJvbSAncGF0aCc7XG5cbi8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZSByZWFkb25seS1hcnJheVxuZXhwb3J0IGZ1bmN0aW9uIHBhdGhSZXNvbHZlKC4uLmZpbGVQYXRoOiBzdHJpbmdbXSk6IHN0cmluZyB7XG4gIHJldHVybiBub3JtYWxpemVQYXRoKHBhdGgucmVzb2x2ZSguLi5maWxlUGF0aCkpO1xufVxuIl19
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