Socket
Socket
Sign inDemoInstall

@emartech/angular-suite-flipper

Package Overview
Dependencies
4
Maintainers
20
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.1.0

dist/angular2-suite-flipper.d.ts

3

dist/index.d.ts
import { ModuleWithProviders } from '@angular/core';
export * from './pipe';
export * from './service';
export * from './src';
export declare class FlipperModule {
static create(flippers: string[]): ModuleWithProviders;
}
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
function __export(m) {

@@ -15,6 +6,4 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];

var core_1 = require('@angular/core');
__export(require('./pipe'));
__export(require('./service'));
var pipe_2 = require('./pipe');
var service_2 = require('./service');
var src_1 = require('./src');
__export(require('./src'));
var FlipperModule = (function () {

@@ -27,22 +16,22 @@ function FlipperModule() {

providers: [
{ provide: service_2.FlipperService, useValue: new service_2.FlipperService(flippers) }
{ provide: src_1.FlipperService, useValue: new src_1.FlipperService(flippers) }
]
};
};
FlipperModule = __decorate([
core_1.NgModule({
declarations: [
pipe_2.FlipperIsOffPipe,
pipe_2.FlipperIsOnPipe
],
exports: [
pipe_2.FlipperIsOffPipe,
pipe_2.FlipperIsOnPipe
]
}),
__metadata('design:paramtypes', [])
], FlipperModule);
FlipperModule.decorators = [
{ type: core_1.NgModule, args: [{
declarations: [
src_1.FlipperIsOffPipe,
src_1.FlipperIsOnPipe
],
exports: [
src_1.FlipperIsOffPipe,
src_1.FlipperIsOnPipe
]
},] },
];
/** @nocollapse */
FlipperModule.ctorParameters = function () { return []; };
return FlipperModule;
}());
exports.FlipperModule = FlipperModule;
//# sourceMappingURL=index.js.map
{
"name": "@emartech/angular-suite-flipper",
"version": "1.0.3",
"version": "1.1.0",
"description": "Angular module for Suite FLipper",

@@ -14,11 +14,8 @@ "keywords": [

"scripts": {
"test": "mocha --require core-js/shim --require reflect-metadata --require ts-node/register lib/**/*.spec.ts",
"prepublish": "typings install && rimraf dist && tsc",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"build": "rimraf dist && ngc",
"test": "mocha --require core-js/shim --require reflect-metadata --require ts-node/register src/**/*.spec.ts",
"prepublish": "typings install && npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"typings": "typings install"
},
"release": {
"verifyConditions": {
"path": "./node_modules/semantic-release/dist/lib/plugin-noop.js"
}
},
"repository": {

@@ -35,3 +32,9 @@ "type": "git",

"devDependencies": {
"@angular/core": "^2.0.0",
"@angular/compiler": "^2.3.0",
"@angular/compiler-cli": "^2.3.0",
"@angular/core": "^2.3.0",
"@angular/platform-server": "^2.3.0",
"@types/chai": "^3.4.34",
"@types/mocha": "^2.2.33",
"@types/node": "0.0.2",
"chai": "3.5.0",

@@ -43,14 +46,11 @@ "core-js": "2.4.1",

"rxjs": "5.0.0-rc.3",
"semantic-release": "6.2.1",
"semantic-release": "6.3.2",
"ts-node": "0.7.0",
"typescript": "2.0.10",
"typings": "2.0.0",
"zone.js": "0.6.26"
"typescript": "~2.0.3",
"typings": "^2.0.0",
"zone.js": "^0.7.2"
},
"peerDependencies": {
"@angular/core": "^2.0.0"
},
"dependencies": {
"suite-flipper-js": "^2.0.1"
"@angular/core": "^2.3.0"
}
}
{
"compilerOptions": {
"noImplicitAny": true,
"module": "commonjs",
"target": "ES5",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true,
"declaration": true,
"outDir": "dist/"
},
"exclude": [
"node_modules",
"./test/**/*.spec.ts"
"compilerOptions": {
"outDir": "dist",
"noImplicitAny": true,
"module": "commonjs",
"target": "ES5",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true,
"moduleResolution": "node",
"noUnusedLocals": true,
"types": [
"node",
"mocha",
"chai"
],
"filesGlob": [
"./lib/**/*.ts",
"!./node_modules/**/*.ts",
"typings/index.d.ts"
]
}
"lib": ["es2015", "dom"]
},
"files": [
"index.ts",
"angular2-suite-flipper.ts",
"src/errors.ts",
"src/flipper.service.ts",
"src/flipper.ts",
"src/index.ts",
"src/is-off.pipe.ts",
"src/is-on.pipe.ts"
],
"exclude": [
"node_modules"
],
"angularCompilerOptions": {
"strictMetadataEmit": true,
"skipTemplateCodegen": true
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc