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

@adonisjs/encryption

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/encryption - npm Package Compare versions

Comparing version 2.0.6 to 3.0.0

6

build/providers/EncryptionProvider.d.ts

@@ -1,2 +0,2 @@

import { IocContract } from '@adonisjs/fold';
import { ApplicationContract } from '@ioc:Adonis/Core/Application';
/**

@@ -6,5 +6,5 @@ * Encryption provider to binding encryption class to the container

export default class EncryptionProvider {
protected container: IocContract;
constructor(container: IocContract);
protected app: ApplicationContract;
constructor(app: ApplicationContract);
register(): void;
}

@@ -15,8 +15,8 @@ "use strict";

class EncryptionProvider {
constructor(container) {
this.container = container;
constructor(app) {
this.app = app;
}
register() {
this.container.singleton('Adonis/Core/Encryption', () => {
const Config = this.container.use('Adonis/Core/Config');
this.app.container.singleton('Adonis/Core/Encryption', () => {
const Config = this.app.container.use('Adonis/Core/Config');
const { Encryption } = require('../src/Encryption');

@@ -23,0 +23,0 @@ return new Encryption({ secret: Config.get('app.appKey') });

@@ -11,3 +11,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Encryption = void 0;
var Encryption_1 = require("./src/Encryption");
Object.defineProperty(exports, "Encryption", { enumerable: true, get: function () { return Encryption_1.Encryption; } });
{
"name": "@adonisjs/encryption",
"version": "2.0.6",
"version": "3.0.0",
"description": "Encryption provider for AdonisJs",

@@ -43,22 +43,22 @@ "main": "build/providers/EncryptionProvider.js",

"devDependencies": {
"@adonisjs/config": "^1.1.0",
"@adonisjs/fold": "^6.3.5",
"@adonisjs/application": "^3.0.5",
"@adonisjs/mrm-preset": "^2.4.0",
"@types/node": "^14.0.23",
"commitizen": "^4.1.2",
"cz-conventional-changelog": "^3.2.0",
"@adonisjs/require-ts": "^1.0.0",
"@poppinss/dev-utils": "^1.0.10",
"@types/node": "^14.11.2",
"commitizen": "^4.2.1",
"cz-conventional-changelog": "^3.3.0",
"del-cli": "^3.0.1",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-adonis": "^1.0.14",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-adonis": "^1.0.15",
"eslint-plugin-prettier": "^3.1.4",
"github-label-sync": "^2.0.0",
"husky": "^4.2.5",
"husky": "^4.3.0",
"japa": "^3.1.1",
"mrm": "^2.3.3",
"np": "^6.3.2",
"npm-audit-html": "^1.4.1",
"prettier": "^2.0.5",
"ts-node": "^8.10.2",
"typescript": "^3.9.7"
"mrm": "^2.5.1",
"np": "^6.5.0",
"npm-audit-html": "^1.4.3",
"prettier": "^2.1.2",
"typescript": "^4.0.3"
},

@@ -85,4 +85,7 @@ "nyc": {

"dependencies": {
"@poppinss/utils": "^2.3.0"
"@poppinss/utils": "^2.5.7"
},
"peerDependencies": {
"@adonisjs/application": "^3.0.0"
},
"np": {

@@ -94,3 +97,7 @@ "contents": ".",

"exceptions": "./build/exceptions.json"
},
"publishConfig": {
"access": "public",
"tag": "next"
}
}
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