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

co2-data

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

co2-data - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

8

CHANGELOG.md

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

## 0.0.27 (2022-06-06)
**Note:** Version bump only for package co2-data
## 0.0.26 (2022-05-23)

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

2

dist/cjs/country-names.d.ts

@@ -7,3 +7,3 @@ import { CountryNames } from './types';

}[];
export declare const findKeysByCode: (code?: string | undefined) => string[];
export declare const findKeysByCode: (code?: string) => string[];
//# sourceMappingURL=country-names.d.ts.map
import { ElectricityMapDataResponse, ElectricityMapResult } from '../types';
export declare const getDataByCode: (dataResponse: ElectricityMapDataResponse, code?: string | undefined) => ElectricityMapResult;
export declare const getDataByCode: (dataResponse: ElectricityMapDataResponse, code?: string) => ElectricityMapResult;
//# sourceMappingURL=data-helpers.d.ts.map
import { getCountries } from './country-names';
import { co2Data } from './data/co2-data';
import type { ElectricityMapDataResponse, ElectricityMapDataComputed, ElectricityMapCountry, CountryNames, EnergySources, ElectricityMapResult, EnergyDataSources, Co2Data } from './types';
declare const getFactor: (co2Data: Co2Data[], code?: string | undefined) => number;
declare const getFactor: (co2Data: Co2Data[], code?: string) => number;
export { co2Data, getFactor, getCountries, ElectricityMapDataResponse, ElectricityMapDataComputed, ElectricityMapCountry, CountryNames, EnergySources, ElectricityMapResult, EnergyDataSources, Co2Data, };
//# sourceMappingURL=index.d.ts.map

@@ -7,3 +7,3 @@ import { CountryNames } from './types';

}[];
export declare const findKeysByCode: (code?: string | undefined) => string[];
export declare const findKeysByCode: (code?: string) => string[];
//# sourceMappingURL=country-names.d.ts.map
import { ElectricityMapDataResponse, ElectricityMapResult } from '../types';
export declare const getDataByCode: (dataResponse: ElectricityMapDataResponse, code?: string | undefined) => ElectricityMapResult;
export declare const getDataByCode: (dataResponse: ElectricityMapDataResponse, code?: string) => ElectricityMapResult;
//# sourceMappingURL=data-helpers.d.ts.map
import { getCountries } from './country-names';
import { co2Data } from './data/co2-data';
import type { ElectricityMapDataResponse, ElectricityMapDataComputed, ElectricityMapCountry, CountryNames, EnergySources, ElectricityMapResult, EnergyDataSources, Co2Data } from './types';
declare const getFactor: (co2Data: Co2Data[], code?: string | undefined) => number;
declare const getFactor: (co2Data: Co2Data[], code?: string) => number;
export { co2Data, getFactor, getCountries, ElectricityMapDataResponse, ElectricityMapDataComputed, ElectricityMapCountry, CountryNames, EnergySources, ElectricityMapResult, EnergyDataSources, Co2Data, };
//# sourceMappingURL=index.d.ts.map

@@ -7,3 +7,3 @@ import { CountryNames } from './types';

}[];
export declare const findKeysByCode: (code?: string | undefined) => string[];
export declare const findKeysByCode: (code?: string) => string[];
//# sourceMappingURL=country-names.d.ts.map
import { ElectricityMapDataResponse, ElectricityMapResult } from '../types';
export declare const getDataByCode: (dataResponse: ElectricityMapDataResponse, code?: string | undefined) => ElectricityMapResult;
export declare const getDataByCode: (dataResponse: ElectricityMapDataResponse, code?: string) => ElectricityMapResult;
//# sourceMappingURL=data-helpers.d.ts.map
import { getCountries } from './country-names';
import { co2Data } from './data/co2-data';
import type { ElectricityMapDataResponse, ElectricityMapDataComputed, ElectricityMapCountry, CountryNames, EnergySources, ElectricityMapResult, EnergyDataSources, Co2Data } from './types';
declare const getFactor: (co2Data: Co2Data[], code?: string | undefined) => number;
declare const getFactor: (co2Data: Co2Data[], code?: string) => number;
export { co2Data, getFactor, getCountries, ElectricityMapDataResponse, ElectricityMapDataComputed, ElectricityMapCountry, CountryNames, EnergySources, ElectricityMapResult, EnergyDataSources, Co2Data, };
//# sourceMappingURL=index.d.ts.map
{
"name": "co2-data",
"version": "0.0.26",
"version": "0.0.27",
"main": "dist/cjs/index.js",

@@ -19,3 +19,3 @@ "module": "dist/esm/index.js",

],
"gitHead": "7351c806f78f077f663e31707afb0ff6e69b8339"
"gitHead": "259ff60df64ce1bf2acb3bf5a912145315328848"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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